@font-face{font-family:DM Sans;src:url(assets/dm-sans.woff2) format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:Playfair Display;src:url(assets/playfair-normal.woff2) format("woff2");font-weight:600 700;font-display:swap}
@font-face{font-family:Playfair Display;src:url(assets/playfair-italic.woff2) format("woff2");font-weight:600;font-style:italic;font-display:swap}
:root{--paper:#f8f5ee;--cream:#fffdf8;--ink:#28271e;--muted:#625e50;--olive:#414730;--dark:#333923;--gold:#eed8ac;--rust:#854326;--line:#ddd6c7;--sans:"DM Sans",system-ui,sans-serif;--serif:"Playfair Display",Georgia,serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.55 var(--sans)}
figure,p,h1,h2,h3{margin:0}
img{display:block;width:100%;height:auto}
a{color:inherit;text-underline-offset:4px}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #a75a34;outline-offset:4px}
button,input{font:inherit}
[hidden]{display:none!important}
.wrap{width:min(1296px,calc(100% - 80px));margin-inline:auto}
.masthead{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:88px;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;white-space:nowrap}
.brand img{width:52px;height:52px}
.brand span{font:700 25px/1 var(--serif);letter-spacing:-.04em}
.masthead nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:700}
.masthead nav a{text-decoration:none}
.masthead nav a:hover{text-decoration:underline}
.nav-button{padding:9px 15px;border:1px solid #aaa88f;border-radius:50px}
.hero{min-height:555px;display:grid;grid-template-columns:.95fr 1.05fr;background:var(--dark);color:var(--cream);margin-top:25px;overflow:hidden}
.hero-copy{align-content:center;padding:60px clamp(28px,5vw,79px)}
.eyebrow{color:var(--rust);font:700 12px/1.45 var(--sans);letter-spacing:.14em;text-transform:uppercase}
.hero .eyebrow{color:var(--gold)}
h1,h2,h3{font-family:var(--serif);letter-spacing:-.035em;font-weight:650;line-height:1.07}
h1{font-size:clamp(49px,5.7vw,92px);margin:16px 0 19px}
h1 em{color:var(--gold);font-weight:600}
.hero-copy>p:not(.eyebrow){max-width:38ch;color:#f0ebdc;font-size:clamp(16px,1.45vw,19px)}
.primary{display:inline-flex;justify-content:center;align-items:center;min-height:45px;margin-top:26px;padding:9px 18px;border-radius:40px;background:var(--gold);color:#2b2c1e;font-size:14px;font-weight:700;text-decoration:none}
.primary:hover{background:#ffedca}
.hero-media{min-width:0;display:grid;grid-template-columns:1.41fr .84fr;gap:5px;background:var(--dark)}
.hero-media figure{position:relative;display:flex;min-width:0;min-height:0}
.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-media figure:first-child img{object-position:48% 55%}
.hero-media figure:last-child img{object-position:52% 47%}
.hero-media figcaption{position:absolute;inset:auto 0 0;padding:35px 14px 15px;color:white;background:linear-gradient(transparent,#1b160fd9);font-size:13px;font-weight:700}
.directory{padding:76px 0 80px;scroll-margin-top:20px}
.directory-title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:23px}
.directory h2{font-size:clamp(38px,5vw,63px);margin-top:5px}
.result{color:var(--muted);font-size:14px;font-weight:600;white-space:nowrap}
.controls{display:flex;flex-wrap:wrap;gap:15px;justify-content:space-between;align-items:center;margin-bottom:24px}
.categories{display:flex;flex-wrap:wrap;gap:8px}
.categories button,.empty button{min-height:42px;padding:7px 13px;border:1px solid #c9c4b4;border-radius:35px;background:var(--cream);color:var(--ink);cursor:pointer;font-size:13px;font-weight:700}
.categories button[aria-pressed=true]{background:var(--olive);border-color:var(--olive);color:white}
.search{display:flex;align-items:center;min-width:255px;min-height:43px;padding:0 13px;gap:8px;border:1px solid #cbc3b3;border-radius:8px;background:var(--cream)}
.search svg{flex:none;color:var(--olive)}
.search input{border:0;background:transparent;color:var(--ink);width:100%;min-width:0;font-size:14px}
.search input:focus-visible{outline-offset:0}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.card{min-width:0;display:flex;flex-direction:column;background:var(--cream);border:1px solid var(--line);border-radius:12px;overflow:hidden;text-decoration:none}
.card:hover{border-color:#877e67}
.card img{height:auto;aspect-ratio:1.63;object-fit:cover;object-position:var(--focus,center)}
.card-body{display:flex;flex:1;flex-direction:column;gap:9px;padding:17px 19px 18px}
.card .kind{color:var(--rust);font-size:12px;font-weight:700}
.card h3{font-size:clamp(24px,2.35vw,34px)}
.card p:not(.kind){color:var(--muted);font-size:14px}
.card .read{align-self:start;margin-top:auto;padding-top:8px;color:var(--olive);font-size:13px;font-weight:700;text-decoration:underline}
.empty{padding:28px 18px;background:var(--cream);border:1px solid var(--line);border-radius:12px}
.empty button{margin-top:9px}
footer{background:var(--olive);color:var(--cream)}
.footer-inner{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;min-height:105px;padding-block:16px}
.footer-inner .brand{justify-self:start}
.footer-inner .brand img{border:1px solid #7d8267;border-radius:17px}
.footer-tagline{text-align:center;font:650 clamp(19px,2vw,27px)/1.2 var(--serif)}
.footer-tagline em{color:var(--gold);font-weight:600}
.footer-inner>a:last-child{justify-self:end;font-size:14px}
@media(max-width:950px){
  .wrap{width:calc(100% - 54px)}
  .hero{min-height:450px}
  .hero-copy{padding:39px 30px}
  .hero-media{grid-template-columns:1.35fr .72fr}
  .cards{gap:14px}
  .card-body{padding:14px}
}
@media(max-width:680px){
  .wrap{width:calc(100% - 32px)}
  .masthead{flex-direction:column;justify-content:center;gap:8px;min-height:0;padding-block:13px}
  .masthead nav{gap:10px;font-size:12px}
  .masthead nav a:first-child{display:none}
  .brand{gap:7px}
  .brand img{width:40px;height:40px}
  .brand span{font-size:21px}
  .nav-button{padding:7px 9px}
  .hero{min-height:0;grid-template-columns:1fr;margin-top:13px}
  .hero-copy{padding:32px clamp(12px,4vw,20px) 30px;text-align:center}
  .hero-copy>p:not(.eyebrow){margin-inline:auto}
  h1{font-size:clamp(30px,9.8vw,64px);margin:12px 0 14px;text-wrap:balance}
  .primary{margin-top:19px}
  .hero-media figure{height:clamp(180px,55vw,315px)}
  .hero-media figcaption{font-size:11px;padding:23px 7px 8px;text-align:center}
  .directory{padding:46px 0}
  .directory-title{align-items:center;flex-direction:column;gap:6px;margin-bottom:16px;text-align:center}
  .directory h2{text-wrap:balance}
  .controls{justify-content:center;gap:10px;margin-bottom:16px}
  .categories{justify-content:center}
  .search{width:min(100%,420px);min-width:0}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .card-body,.empty{text-align:center}
  .card .read{align-self:center}
  .footer-inner{grid-template-columns:1fr;justify-items:center;gap:12px;padding-block:24px}
  .footer-inner .brand,.footer-inner>a:last-child{justify-self:center}
}
@media(max-width:450px){
  .cards{grid-template-columns:1fr}
  .card img{aspect-ratio:1.75}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
