@font-face {
  font-family: Fraunces; src: url('/assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 400; font-display: block;
}
@font-face {
  font-family: Jost; src: url('/assets/fonts/jost.woff2') format('woff2');
  font-weight: 100 900; font-display: block;
}
:root {
  --cream: #f5eedd; --sand: #eadfc6; --ink: #171a16; --muted: #4a4f45; --green: #005f38;
  --heading: Fraunces, Georgia, serif; --gutter: clamp(20px, 4vw, 56px); --section: clamp(56px, 7vw, 104px);
  background: var(--cream); color: var(--ink); font: 400 18px/1.6 Jost, sans-serif;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
h1, h2, .motto { font: 400 clamp(28px, 3vw, 40px)/1.15 var(--heading); }
h1, h2, h3, .motto { text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 68px); }
p { text-wrap: pretty; }
p + p, h2 + p, h1 + p { margin-top: .85em; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.wrap, .prose { width: min(calc(100% - 2 * var(--gutter)), 1120px); margin-inline: auto; }
.prose { max-width: 760px; }
.segment { padding-block: var(--section); }
header { padding: 16px var(--gutter); display: flex; align-items: center; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; background: var(--green); color: var(--cream); }
header .logo { width: 144px; }
.logo { display: block; height: auto; max-width: 100%; }
header nav { display: flex; gap: 4px clamp(14px, 2vw, 28px); flex-wrap: wrap; }
header nav a { text-decoration: none; font-size: 16px; font-weight: 500; padding-block: 8px; }
header nav a:hover, header nav [aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.home header { position: absolute; inset: 0 0 auto; z-index: 2; justify-content: flex-end; color: var(--ink); background: transparent; padding-block: 20px; }
.skip { position: absolute; top: 8px; left: 12px; z-index: 20; padding: 8px; background: var(--cream); transform: translateY(-160%); }
.skip:focus { transform: none; }
.photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 4px; }
.hero, .banner { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); background: var(--ink); }
.hero { display: grid; place-items: center; width: 100%; aspect-ratio: 16/9; min-height: 340px; max-height: 82svh; background: #d9b7a0; }
.backdrop { position: absolute; inset: 0; height: 100%; z-index: -2; border-radius: 0; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.hero .backdrop { width: 100%; object-fit: cover; object-position: center bottom; z-index: 0; }
.hero .logo { position: relative; width: clamp(220px, 44vw, 660px); max-width: 80%; transform: translateY(-12%); }
.home-opening { padding-top: var(--section); }
.home-opening h1 { font-size: clamp(24px, 3vw, 34px); }
.collection-photo { padding-bottom: var(--section); }
.collection-photo img { aspect-ratio: 16/9; }
.partner-strip { margin-bottom: var(--section); }
.partners { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; list-style: none; padding: 0; margin: 0; background: var(--sand); }
.partners li { display: grid; place-items: center; min-height: clamp(110px,13vw,178px); background: var(--cream); }
.partners img { display: block; width: 65%; height: 78px; max-width: 176px; object-fit: contain; }
.eyebrow, .details h3 { font: 600 13px/1.4 Jost,sans-serif; text-transform: uppercase; letter-spacing: .13em; color: var(--green); }
.eyebrow { display: block; margin-bottom: 20px; }
.home .prose h2 { font-size: clamp(25px,2.6vw,32px); }
.prose p:not(.eyebrow) p, .intro p { color: var(--muted); }
.banner { display: flex; align-items: flex-end; min-height: clamp(520px,56vw,810px); padding: var(--section) var(--gutter); }
.banner .backdrop { object-position: center top; }
.banner::before { background: linear-gradient(transparent,rgba(16,20,15,.83)); }
.banner-copy p, .intro p { max-width: 760px; font-size: clamp(18px,1.6vw,22px); }
.crumb { font-size: 15px; margin-bottom: clamp(24px,3vw,42px); }
.intro { padding-top: var(--section); padding-bottom: clamp(36px,5vw,72px); }
.pair, .details, .team, .foot-grid { display: grid; gap: clamp(18px,3vw,44px); }
.pair { grid-template-columns: repeat(2,minmax(0,1fr)); }

.portrait { aspect-ratio: 4/5; }
.standard { aspect-ratio: 5/4; }
.wide { aspect-ratio: 3/2; }
.unequal { grid-template-columns: 1.56fr 1fr; }
.cta .wrap, .dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ref-heading { margin-bottom: 24px; }
.team, .details, .foot-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.team { padding-bottom: var(--section); }
.team h2 { font-size: clamp(24px,2.2vw,32px); margin-top: 18px; }
.team p { margin-top: 6px; }
.team a { color: var(--green); }
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 99px; text-decoration: none; font-weight: 500; background: var(--green); color: var(--cream); border: 1px solid var(--green); }
.pill[hidden] { display: none; }
.pill:hover { background: var(--ink); color: var(--cream); }
.outline { background: transparent; color: var(--green); margin-top: 16px; }
.details { border-top: 1px solid var(--ink); padding-top: 24px; margin-top: 20px; overflow-wrap: anywhere; }
.details { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.details .billing-email { overflow-wrap: normal; }
.nav-toggle { display: none; }
.details p { margin: 0; }
.details h3 { margin-bottom: 12px; }
dialog { width: min(520px,94vw); max-height: 90dvh; border: none; background: var(--cream); color: var(--ink); padding: 24px; border-radius: 6px; }
dialog::backdrop { background: #171a16c9; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-head { margin-bottom: 16px; }
.dialog-head button { width: 44px; height: 44px; border: 1px solid; border-radius: 50%; background: transparent; color: var(--ink); font-size: 24px; line-height: 1; }
.bio-photo { max-height: 54dvh; object-fit: contain; }
dialog p { margin-top: 16px; }
.cta { padding-block: clamp(48px,6vw,96px); background: var(--sand); }
.cta h2 { font-size: clamp(34px,4vw,48px); }
footer { background: var(--green); color: var(--cream); padding: 64px 0 32px; font-size: 16px; }
.foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
footer .logo { width: 240px; }
footer nav a { display: block; width: fit-content; }
footer .motto { font-size: 20px; margin-top: 16px; }
.copyright { border-top: 1px solid #f5eedd55; margin-top: 40px; padding-top: 20px; padding-right: 46px; font-size: 14px; }
@media (max-width: 700px) {
  .team, .details, .foot-grid, .unequal { grid-template-columns: 1fr; }
  header { position: relative; z-index: 3; padding-block: 10px; }
  .home header { justify-content: flex-end; padding-block: 10px; }
  header .logo { width: 120px; }
  .nav-toggle:not([hidden]) {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
    border: 1px solid currentColor; border-radius: 24px; color: var(--cream); background: var(--green);
    font-size: 16px; margin-inline-start: auto;
  }
  .nav-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
  .nav-toggle:not([hidden]) + nav {
    position: absolute; inset: 100% var(--gutter) auto; z-index: 3; flex-direction: column;
    gap: 0; padding: 8px 16px; color: var(--cream); background: var(--green); border-radius: 4px;
    box-shadow: 0 6px 20px #171a1626;
  }
  .nav-toggle:not([hidden])[aria-expanded="false"] + nav { display: none; }
  .nav-toggle:not([hidden]) + nav a { display: flex; align-items: center; min-height: 44px; }

  header nav { justify-content: flex-start; column-gap: 16px; }
  header nav a { font-size: 15px; }
  .partners li { min-height: 84px; }
  .partners img { height: 48px; }
  .partner-strip.flowing { width: 100%; overflow: hidden; }
  .flowing .partner-track { display: flex; width: max-content; animation: partner-scroll 36s linear infinite; }
  .flowing .partners { display: flex; gap: 0; background: transparent; }
  .flowing .partners li { width: clamp(120px, 35vw, 175px); min-height: 96px; }
  .flowing .partners img { width: 74%; height: 60px; }
  .flowing:active .partner-track { animation-play-state: paused; }
  .banner { min-height: 460px; }
  .cta .wrap { align-items: flex-start; flex-direction: column; }
  .team { gap: 44px; }
  dialog { width: 100%; height: 100dvh; max-width: 100%; max-height: 100%; margin: 0; border-radius: 0; }
}

@keyframes partner-scroll {
  to { transform: translateX(-50%); }
}
