:root {
  color-scheme: light;
  --ivory: #f4f0e8;
  --paper: #fffefa;
  --espresso: #2e261e;
  --muted: #64544a;
  --clay: #8c553b;
  --line: #dfd5c8;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--sans);
  color: var(--espresso);
  background: var(--ivory);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
.shell { width: min(100% - 112px, 1160px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; left: 16px; top: 12px; padding: 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-size: 43px; font-weight: 680; line-height: .95; letter-spacing: -.075em; padding: 0 .09em .08em 0; display: inline-block; }

nav { display: flex; align-items: center; gap: clamp(22px, 3.4vw, 54px); }
nav a, nav button, .menu-toggle { background: transparent; padding: 8px 0; font-size: 14px; font-weight: 600; }
nav a, nav button { border-bottom: 1px solid transparent; }
nav a:hover, nav button:hover, nav [aria-current] { border-bottom-color: var(--clay); }
.menu-toggle { display: none; }

.hero { padding-block: clamp(20px, 3vw, 42px) 30px; }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "copy art" "search search"; gap: 26px clamp(30px, 7vw, 96px); }
.hero-copy { grid-area: copy; align-self: center; padding-block: 18px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.4; text-transform: uppercase; font-weight: 550; letter-spacing: .055em; color: var(--muted); }
.eyebrow span { width: 25px; height: 1px; background: currentColor; }
h1, h2 { letter-spacing: -.055em; font-weight: 650; }
h1 { font-size: clamp(47px, 5.15vw, 76px); line-height: 1.025; margin: 22px 0 21px; }
.intro { font-size: clamp(16px, 1.45vw, 20px); line-height: 1.55; color: var(--muted); max-width: 440px; }
.hero-art { grid-area: art; justify-self: end; width: min(100%, 455px); height: clamp(320px, 36vw, 500px); border-radius: 22px; background: #c0ada0; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.search { grid-area: search; display: grid; padding: 13px; border-radius: 18px; background: var(--paper); border: 1px solid #5037240c; }
.field { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 10px; font-size: 15px; font-weight: 590; position: relative; }
.field > span { min-width: 0; flex: 1; }
.field svg { width: 21px; height: 21px; flex: 0 0 auto; color: #756456; }
.field .chevron { width: 17px; pointer-events: none; position: absolute; right: 12px; bottom: 15px; }
.field input, .field select { display: block; width: 100%; min-height: 25px; border: none; padding: 0; background: transparent; font-size: 16px; font-weight: 400; }
.field input::placeholder, .field select:invalid, .field select:has(option:first-child:checked) { color: #6b6158; opacity: 1; }
.field select { appearance: none; padding-right: 24px; }
.field.style { border-top: 1px solid var(--line); }
.submit { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; min-height: 48px; border-radius: 9px; color: #fffaf2; background: var(--espresso); font-size: 16px; font-weight: 580; transition: background .18s ease; }
.submit:hover { background: #573927; }

.categories { padding-block: clamp(35px, 4vw, 60px) clamp(50px, 6vw, 84px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 30px; margin-bottom: 24px; }
h2 { font-size: clamp(32px, 3.8vw, 53px); line-height: 1.06; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.style-card { text-align: left; padding: 0; background: transparent; min-width: 0; }
.photo { display: block; overflow: hidden; background: #ba9781; aspect-ratio: 1.08; border-radius: 12px; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 39%; transition: transform .45s ease; }
.style-card:hover img, .style-card:focus-visible img { transform: scale(1.045); }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-size: clamp(19px, 2.2vw, 30px); padding: 12px 0 10px; border-bottom: 1px solid var(--line); line-height: 1.05; letter-spacing: -.03em; }
.card-title span { font: 400 18px var(--sans); color: var(--clay); transition: transform .2s ease; }
.style-card:hover .card-title span { transform: rotate(90deg); }

.heritage { overflow: hidden; text-align: center; isolation: isolate; position: relative; background: #eee5d7; min-height: clamp(340px, 34vw, 500px); display: grid; place-items: start center; padding: 55px 20px 145px; }
.heritage-copy { position: relative; z-index: 1; }
.heritage .eyebrow { justify-content: center; margin-bottom: 12px; }
.heritage img { position: absolute; z-index: -1; bottom: 0; width: 100%; height: 74%; object-fit: cover; object-position: center bottom; mix-blend-mode: multiply; opacity: .60; mask-image: linear-gradient(transparent, #000 45%); }
.text-link { background: transparent; padding: 3px 0; border-bottom: 1px solid var(--clay); margin-top: 16px; font-size: 14px; font-weight: 650; }
.text-link:hover { color: var(--clay); }
.footer { min-height: 110px; display: flex; gap: 18px; justify-content: space-between; align-items: center; }
.footer .wordmark { font-size: 42px; }
.footer > span { font-size: 13px; color: var(--muted); }

dialog { width: min(480px, calc(100vw - 32px)); background: var(--paper); color: var(--espresso); border: 1px solid var(--line); padding: 42px 32px 32px; box-shadow: 0 12px 54px #291b1238; }
dialog::backdrop { background: #291b177a; }
dialog h2 { font-size: 47px; padding-right: 16px; }
dialog p { margin: 17px 0 24px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.close { position: absolute; right: 12px; top: 10px; background: transparent; font-size: 28px; width: 38px; height: 38px; line-height: 1; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .hero-layout { column-gap: 26px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; position: relative; }
  .wordmark { font-size: 37px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
  nav { display: none; position: absolute; z-index: 3; right: 0; top: 55px; width: min(280px, 100%); background: var(--paper); box-shadow: 0 8px 28px #291b1226; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; }
  nav.open { display: grid; gap: 2px; }
  nav a, nav button { text-align: left; min-height: 44px; padding: 11px 0; }
  .hero { padding-block: 6px 12px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "search" "art"; gap: 18px; }
  .hero-copy { padding-block: 12px 1px; }
  h1 { font-size: clamp(39px, 10.6vw, 62px); margin-block: 12px 10px; }
  .intro { font-size: 16px; }
  .hero-art { width: 100%; height: clamp(260px, 83vw, 430px); border-radius: 16px; }
  .search { padding: 9px; border-radius: 15px; }
  .field { padding-block: 9px; }
  .categories { padding-block: 34px 46px; }
  .section-head { margin-bottom: 16px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 12px; }
  .card-title { padding-top: 8px; }
  .heritage { padding-top: 45px; min-height: 300px; }
  .heritage img { width: 100%; height: 62%; }
  .footer { min-height: 85px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.field input:focus-visible, .field select:focus-visible {
  outline: none;
  box-shadow: inset 0 -2px var(--clay);
}
