/* LaFrenchConnect
   The page is built like a layered pour: foam, wine, night, wine, foam.
   Type: Bricolage Grotesque (display, UI) and Spectral (reading). Both drawn in France, both self-hosted. */

@font-face { font-family: "Bricolage"; src: url("../assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("../assets/fonts/spectral-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("../assets/fonts/spectral-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("../assets/fonts/spectral-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

@property --liq-a { syntax: "<color>"; inherits: true; initial-value: #7A1020; }
@property --liq-b { syntax: "<color>"; inherits: true; initial-value: #33060E; }

:root {
  --vin: #6B0F1A;
  --vin-deep: #4A0911;
  --nuit: #170A0D;
  --ecume: #FBF4EF;
  --cognac: #E39A33;
  --chartreuse: #D6DE72;
  --rose: #F3C3B4;
  --ink: #2A1216;
  --display: "Bricolage", "Arial Black", system-ui, sans-serif;
  --text: "Spectral", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ecume); color: var(--ink); font: 400 1.125rem/1.62 var(--text); overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--chartreuse); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--vin); color: var(--ecume); padding: 10px 16px; border-radius: 999px; font-family: var(--display); }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display { font: 800 clamp(2.4rem, 6.2vw, 5.6rem)/0.94 var(--display); letter-spacing: -0.035em; max-width: 14ch; text-wrap: balance; }
.intro { max-width: 46ch; margin-top: clamp(18px, 2.4vw, 32px); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; }
.intro--onDark, .note--onDark { color: color-mix(in srgb, var(--ecume) 82%, transparent); }
h3 { font: 700 1.5rem/1.1 var(--display); letter-spacing: -0.02em; }
.note { font-size: 0.9rem; margin-top: 28px; max-width: 60ch; }
.link { text-decoration-color: var(--cognac); text-underline-offset: 4px; font-family: var(--display); font-weight: 500; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1 var(--display); text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, color .18s ease; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--vin { background: var(--vin); color: var(--ecume); }
.btn--vin:hover { background: var(--nuit); }
.btn--foam { background: var(--ecume); color: var(--vin-deep); }
.btn--foam:hover { background: var(--chartreuse); color: var(--nuit); }
.btn--ghost { border-color: color-mix(in srgb, var(--ecume) 55%, transparent); color: var(--ecume); background: transparent; }
.btn--ghost:hover { background: var(--ecume); color: var(--vin-deep); }

/* ---------- logo ---------- */
.logo { display: inline-grid; gap: 3px; text-decoration: none; color: var(--vin); }
.logo__word { font: 800 1.42rem/0.82 var(--display); letter-spacing: -0.045em; }
.logo__line { font: 500 0.5rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }

/* ---------- hero: the glass ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--ecume); color: var(--ecume); isolation: isolate; overflow: hidden; touch-action: pan-y; --liq-a: #7A1020; --liq-b: #33060E; transition: --liq-a .9s ease, --liq-b .9s ease; }
.hero[data-pour="spritz"] { --liq-a: #D9502B; --liq-b: #8E2412; }
.hero[data-pour="highball"] { --liq-a: #B26A16; --liq-b: #5E3207; }
.hero__liquid { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(120% 70% at 78% 18%, color-mix(in srgb, var(--liq-a) 70%, #fff 30%) 0%, transparent 55%),
  linear-gradient(180deg, var(--liq-a) 0%, var(--liq-b) 100%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.nav { display: flex; align-items: center; gap: 24px; padding: 18px var(--gutter) 0; min-height: 84px; color: var(--ink); }
.nav__links { display: none; gap: clamp(16px, 2.4vw, 36px); margin-left: auto; font: 500 1rem/1 var(--display); }
.nav__links a { text-decoration: none; padding: 10px 2px; border-bottom: 2px solid transparent; }
.nav__links a:hover { border-color: var(--vin); }
.nav__cta { margin-left: auto; min-height: 42px; padding: 0 18px; font-size: .92rem; }
@media (min-width: 900px) { .nav__links { display: flex; } .nav__cta { margin-left: 0; } }

.hero__body { margin-top: auto; padding: clamp(48px, 7vh, 96px) var(--gutter) clamp(28px, 5vh, 56px); max-width: calc(var(--max) + 2 * var(--gutter)); width: 100%; margin-inline: auto; }
.hero__title { font: 800 clamp(3.3rem, min(11.6vw, 16.5svh), 12.5rem)/0.84 var(--display); letter-spacing: -0.05em; max-width: 9.5ch; text-wrap: balance; user-select: none; -webkit-user-select: none; }
.hero__foot { display: grid; gap: 22px; margin-top: clamp(20px, 3.4vh, 44px); align-items: end; }
.hero__lede { max-width: 44ch; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1000px) { .hero__foot { grid-template-columns: minmax(0, 44ch) auto 1fr; column-gap: 40px; } .pours { justify-self: end; } }

.pours { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 500 .92rem/1 var(--display); }
.pours legend { float: left; width: 100%; margin-bottom: 10px; color: color-mix(in srgb, var(--ecume) 80%, transparent); }
.pours input { position: absolute; opacity: 0; }
.pours span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 8px; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--ecume) 40%, transparent); cursor: pointer; }
.pours span::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--sw); border: 2px solid var(--ecume); }
.pours input:checked + span { background: var(--ecume); color: var(--nuit); border-color: var(--ecume); }
.pours input:focus-visible + span { outline: 3px solid var(--chartreuse); outline-offset: 3px; }

.nav__login { margin-left: auto; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--vin); background: transparent; color: var(--vin); font: 600 .92rem/1 var(--display); cursor: pointer; white-space: nowrap; }
.nav__login:hover { background: var(--vin); color: var(--ecume); }
.nav__login + .nav__cta { margin-left: 0; }
.nav { gap: 10px; }
.nav__cta-long { display: none; }
@media (min-width: 560px) { .nav__cta-long { display: inline; } .nav__cta-short { display: none; } .nav { gap: 16px; } }
@media (min-width: 900px) { .nav__login { margin-left: 0; } .nav { gap: 24px; } }

.pitch { font: 700 clamp(1.2rem, 1.75vw, 1.6rem)/1.18 var(--display); letter-spacing: -0.02em; display: grid; gap: 6px; }
.pitch + p { margin-top: 14px; color: color-mix(in srgb, var(--ecume) 86%, transparent); }

/* ---------- the invitation and the keg ---------- */
.invite { margin-top: 36px; max-width: 340px; perspective: 1100px; }
.invite__tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .25s ease-out; animation: adrift 7s ease-in-out infinite; }
@keyframes adrift { 0%, 100% { translate: 0 0; rotate: -2.5deg; } 50% { translate: 0 -9px; rotate: -1deg; } }
.invite__card { --fill: 0; position: relative; display: grid; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, 1.3, .5, 1); }
.invite.is-open .invite__card { transform: rotateY(180deg); }
.invite__face { grid-area: 1 / 1; position: relative; overflow: hidden; border-radius: 26px; padding: 24px; background: var(--ecume); color: var(--vin-deep); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 60px -20px rgba(20, 2, 6, .65), 0 2px 0 rgba(255, 255, 255, .5) inset; min-height: 372px; display: flex; flex-direction: column; }
.invite__back { transform: rotateY(180deg); }
.invite__face > * { position: relative; }
.invite__fill { position: absolute !important; left: -10%; right: -10%; bottom: 0; height: calc(var(--fill) * 112%); background: linear-gradient(180deg, #F2C458 0%, #E39A33 100%); border-radius: 46% 54% 0 0 / 18px 22px 0 0; transition: height .25s ease-out; opacity: .92; }
.invite__kind { font: 600 .95rem/1.2 var(--display); display: flex; justify-content: space-between; gap: 12px; }
.invite__sample { font-weight: 500; font-style: normal; padding: 2px 8px; border-radius: 999px; border: 1.5px dashed currentColor; font-size: .78rem; }
.invite__date { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; font: 800 6.4rem/0.8 var(--display); letter-spacing: -0.06em; color: var(--vin); }
.invite__date span + span { font-size: 2.2rem; letter-spacing: -0.03em; }
.invite__title { font: 800 1.75rem/1 var(--display); letter-spacing: -0.03em; margin-top: 22px; }
.invite__where { font-style: italic; margin-top: 6px; }
.invite__hint { margin-top: auto; padding-top: 18px; font: 600 1rem/1.2 var(--display); }
.invite__form { display: grid; gap: 12px; align-content: start; height: 100%; }
.invite__poured { font: 800 1.45rem/1.05 var(--display); letter-spacing: -0.03em; color: var(--vin); }
.invite__form .field input { border-color: color-mix(in srgb, var(--vin) 35%, transparent); background: #fff; min-height: 46px; }
.invite__form .check { font-size: .9rem; }
.invite__form .check input { accent-color: var(--vin); }
.invite__form .form__status, .login .form__status { color: var(--vin); min-height: 0; font-size: .9rem; }
.invite__form .btn { justify-self: start; }

.invite__controls { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; margin-top: 18px; }
.keg { grid-row: span 2; display: grid; justify-items: center; gap: 6px; padding: 8px 10px; border: 0; border-radius: 18px; background: transparent; color: var(--ecume); font: 600 .85rem/1 var(--display); cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.keg svg { transition: transform .12s ease; transform-origin: 50% 100%; filter: drop-shadow(0 10px 14px rgba(20, 2, 6, .5)); }
.keg__body { fill: var(--ecume); }
.keg__tap { fill: var(--cognac); }
.keg__rib { stroke: var(--vin); stroke-width: 3; fill: none; }
.keg__dot { fill: var(--cognac); }
.keg:hover svg { transform: scale(1.06); }
.keg.is-pouring svg, .keg:active svg { transform: scale(.9, .84); }
.invite__help { font-size: .95rem; line-height: 1.35; color: color-mix(in srgb, var(--ecume) 88%, transparent); }
.invite__skip { justify-self: start; margin-top: 4px; padding: 6px 0; border: 0; background: none; color: var(--ecume); font: 500 .92rem/1.2 var(--display); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.invite.is-open .invite__help, .invite.is-open .invite__skip { visibility: hidden; }

@media (min-width: 1180px) {
  .hero__body { position: relative; }
  .invite { position: absolute; right: var(--gutter); bottom: clamp(150px, 21vh, 230px); width: 330px; margin: 0; transform-origin: 100% 100%; }
  .hero__title { max-width: min(9.5ch, calc(100% - 400px)); }
}
@media (min-width: 1180px) and (max-height: 900px) { .invite { scale: .84; } }
@media (min-width: 1180px) and (max-height: 760px) { .invite { scale: .7; } }

.cal { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font: 600 .9rem/1 var(--display); }
.cal[hidden] { display: none; }
.cal span { width: 100%; }
.cal a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--vin); color: var(--vin); text-decoration: none; }
.cal a:hover { background: var(--vin); color: var(--ecume); }
.cal--onDark a { border-color: var(--ecume); color: var(--ecume); min-height: 44px; }
.cal--onDark a:hover { background: var(--ecume); color: var(--vin-deep); }

/* ---------- demo login ---------- */
.login { border: 0; padding: 0; border-radius: 28px; background: var(--ecume); color: var(--ink); width: min(420px, calc(100vw - 32px)); box-shadow: 0 40px 90px -20px rgba(20, 2, 6, .7); }
.login::backdrop { background: rgba(23, 10, 13, .62); backdrop-filter: blur(6px); }
.login__form { display: grid; gap: 16px; padding: clamp(24px, 5vw, 36px); }
.login h2 { font: 800 2.2rem/1 var(--display); letter-spacing: -0.035em; color: var(--vin); }
.login .field input { border-color: color-mix(in srgb, var(--vin) 35%, transparent); background: #fff; }
.login .btn { justify-self: start; }
.login__close { justify-self: start; padding: 8px 0; border: 0; background: none; color: var(--ink); font: 500 .95rem/1 var(--display); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- layers ---------- */
.layer { position: relative; padding: clamp(72px, 11vw, 160px) 0; }
.layer--foam { background: var(--ecume); color: var(--ink); }
.layer--nuit { background: var(--nuit); color: var(--ecume); }
.layer--vin { background: var(--vin); color: var(--ecume); }
/* a meniscus where one liquid sits on the next */
.layer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(18px, 3vw, 44px); background: var(--above, transparent); clip-path: ellipse(62% 100% at 50% 0%); }
.services { --above: var(--liq-b, #33060E); }
.services::before { background: var(--hero-b, #33060E); transition: background-color .9s ease; }
.reel { --above: var(--ecume); padding-bottom: 0; }
.events { --above: var(--nuit); }
.notes { --above: var(--vin); }
.founders { --above: var(--ecume); }
.contact { --above: var(--nuit); }
.serves::before { display: none; }

/* ---------- services ---------- */
.sides { display: grid; gap: clamp(56px, 8vw, 120px); margin-top: clamp(48px, 7vw, 104px); }
.side { display: grid; gap: 28px; align-items: center; }
.side__photo { border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--nuit); max-width: 440px; }
.side__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.side h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.side h3 + p { margin-top: 14px; max-width: 42ch; font-size: 1.2rem; font-style: italic; }
.list { margin-top: 26px; border-top: 2px solid var(--vin); max-width: 60ch; }
.list li { padding: 13px 0; border-bottom: 1px solid color-mix(in srgb, var(--vin) 28%, transparent); line-height: 1.4; }
.list strong { font: 700 1.05rem/1.3 var(--display); color: var(--vin); margin-right: 4px; }
@media (min-width: 900px) {
  .side { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 96px); }
  .side--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .side--flip .side__photo { order: 2; justify-self: end; }
}

/* ---------- film ---------- */
.reel__frame { position: relative; max-width: 1680px; margin: 0 auto; }
.reel__video { width: 100%; aspect-ratio: 16 / 9; max-height: 86svh; object-fit: cover; background: #000; }
.reel__line { position: absolute; left: var(--gutter); bottom: clamp(20px, 5vw, 64px); max-width: 17ch; font: 800 clamp(1.5rem, 4.4vw, 4rem)/0.98 var(--display); letter-spacing: -0.035em; text-shadow: 0 2px 30px rgba(0,0,0,.55); pointer-events: none; }
.reel__toggle { position: absolute; right: var(--gutter); top: 20px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ecume); background: rgba(23,10,13,.55); color: var(--ecume); font: 600 .92rem/1 var(--display); cursor: pointer; }
.reel__toggle:hover { background: var(--ecume); color: var(--nuit); }

/* ---------- serves ---------- */
.strip { display: flex; gap: clamp(14px, 2vw, 28px); margin-top: clamp(40px, 6vw, 80px); padding: 0 var(--gutter) 24px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--vin) transparent; cursor: grab; align-items: flex-end; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging img { pointer-events: none; }
.serve { flex: 0 0 clamp(230px, 26vw, 380px); scroll-snap-align: start; }
.serve img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: #000; user-select: none; -webkit-user-drag: none; }
.serve--tall img { aspect-ratio: 9 / 16; }
.serve:nth-child(3n+2) { margin-bottom: clamp(20px, 4vw, 64px); }
.serve figcaption { margin-top: 12px; font-style: italic; color: color-mix(in srgb, var(--ecume) 78%, transparent); font-size: 1rem; line-height: 1.35; max-width: 26ch; }

/* ---------- events ---------- */
.events__list { margin-top: clamp(40px, 6vw, 88px); border-top: 2px solid var(--ecume); }
.event { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; padding: 22px 0; border-bottom: 1px solid color-mix(in srgb, var(--ecume) 30%, transparent); }
.event img { grid-row: 1 / span 4; width: 76px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 10px 10px; }
.event > :not(img) { grid-column: 2; }
.event__kind { font: 600 .92rem/1.2 var(--display); color: var(--rose); }
.event h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; }
.event__where { font-style: italic; }
.event__what { color: color-mix(in srgb, var(--ecume) 84%, transparent); max-width: 52ch; }
@media (min-width: 980px) {
  .event { grid-template-columns: 96px 11rem minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 32px; align-items: start; padding: 28px 0; }
  .event img { width: 96px; grid-row: 1 / span 2; }
  .event > :not(img) { grid-column: auto; }
  .event__kind { grid-column: 2; grid-row: 1 / span 2; padding-top: 8px; }
  .event h3 { grid-column: 3; grid-row: 1; }
  .event__where { grid-column: 3; grid-row: 2; }
  .event__what { grid-column: 4; grid-row: 1 / span 2; padding-top: 6px; }
}

/* the guest list, cut like a ticket: stub on the left, sign-up on the right */
.guest { margin-top: clamp(56px, 8vw, 112px); border-radius: 28px; background: var(--vin-deep); display: grid; overflow: hidden; }
.guest__stub { padding: clamp(24px, 4vw, 48px); background: var(--nuit); display: grid; align-content: start; gap: 6px; }
.guest__kind { font: 600 1rem/1.2 var(--display); color: var(--rose); display: flex; gap: 12px; align-items: center; }
.guest__date { display: flex; align-items: baseline; gap: 12px; font: 800 clamp(6rem, 13vw, 10.5rem)/0.8 var(--display); letter-spacing: -0.06em; color: var(--cognac); margin: 14px 0 10px; }
.guest__date span + span { font-size: .34em; letter-spacing: -0.03em; }
.guest__title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; }
.guest__where { font-style: italic; margin-bottom: 18px; }
.guest__form { padding: clamp(24px, 4vw, 48px); display: grid; gap: 16px; align-content: center; border-top: 3px dashed color-mix(in srgb, var(--ecume) 35%, transparent); }
.guest__lede { font-size: 1.15rem; line-height: 1.45; max-width: 40ch; }
@media (min-width: 900px) { .guest { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .guest__form { border-top: 0; border-left: 3px dashed color-mix(in srgb, var(--ecume) 35%, transparent); } }

.field { display: grid; gap: 6px; font: 500 .95rem/1.2 var(--display); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 2px solid transparent; background: var(--ecume); color: var(--ink); font: 400 1.05rem/1.4 var(--text); }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--chartreuse); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .98rem; line-height: 1.4; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--chartreuse); }
.form__status { min-height: 1.5em; font: 500 .98rem/1.4 var(--display); color: var(--chartreuse); }
.guest__form .btn, .brief .btn { justify-self: start; }

/* ---------- notes ---------- */
.notes__grid { display: grid; gap: clamp(36px, 5vw, 64px); margin-top: clamp(40px, 6vw, 88px); }
.noteCard figure { border-radius: 14px; overflow: hidden; background: var(--nuit); margin-bottom: 20px; }
.noteCard img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.noteCard h3 { font-size: clamp(1.4rem, 2.1vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; color: var(--vin); max-width: 18ch; }
.noteCard p { margin-top: 12px; max-width: 46ch; }
@media (min-width: 900px) { .notes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .noteCard:nth-child(2) { margin-top: 72px; } }

.shelf { margin-top: clamp(64px, 9vw, 128px); display: grid; gap: 28px; }
.shelf__title { font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; }
.shelf__lede { margin-top: 10px; font-style: italic; }
.shelf__items { border-top: 2px solid var(--vin); }
.shelf details { border-bottom: 1px solid color-mix(in srgb, var(--vin) 28%, transparent); }
.shelf summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font: 700 clamp(1.15rem, 1.8vw, 1.5rem)/1.2 var(--display); letter-spacing: -0.02em; list-style: none; }
.shelf summary::-webkit-details-marker { display: none; }
.shelf summary::after { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--vin); transition: background-color .2s ease; }
.shelf details[open] summary::after { background: var(--vin); }
.shelf details p { padding: 0 0 22px; max-width: 58ch; }
@media (min-width: 900px) { .shelf { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; } }

/* ---------- founders ---------- */
.founders__grid { display: grid; gap: clamp(40px, 5vw, 72px); margin-top: clamp(40px, 6vw, 88px); }
.founder__photo { border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--vin-deep); margin-bottom: 22px; max-width: 380px; aspect-ratio: 4 / 5; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__photo--empty { display: grid; place-items: center; background: var(--vin); }
.founder__photo--empty span { font: 800 clamp(4rem, 9vw, 7rem)/1 var(--display); letter-spacing: -0.06em; color: var(--rose); }
.founder h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; }
.founder__role { font-style: italic; color: var(--rose); margin: 4px 0 12px; }
.founder p { max-width: 40ch; }
.founder p + p { margin-top: 12px; }
.poured h3 { font-weight: 800; margin-bottom: 14px; }
.poured ul { border-top: 2px solid var(--ecume); }
.poured li { padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--ecume) 26%, transparent); font: 500 1.05rem/1.3 var(--display); }
@media (min-width: 760px) { .founders__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .poured { grid-column: 1 / -1; } .poured ul { columns: 2; column-gap: 48px; } .poured li { break-inside: avoid; } }
@media (min-width: 1100px) { .founders__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); } .poured { grid-column: auto; } .poured ul { columns: 1; } }

/* ---------- contact ---------- */
.contact__grid { display: grid; gap: 40px; }
.contact__photo { margin-top: 36px; max-width: 300px; border-radius: 999px 999px 24px 24px; overflow: hidden; display: none; }
.contact__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.brief { display: grid; gap: 24px; align-content: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { float: left; width: 100%; margin-bottom: 12px; font: 600 1.05rem/1.2 var(--display); }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--ecume) 45%, transparent); font: 500 .98rem/1 var(--display); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.chips input:checked + span { background: var(--ecume); color: var(--vin-deep); border-color: var(--ecume); }
.chips input:focus-visible + span { outline: 3px solid var(--chartreuse); outline-offset: 3px; }
.brief__send { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 980px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(48px, 7vw, 120px); } .contact__photo { display: block; } }

/* ---------- footer ---------- */
.footer { background: var(--ecume); color: var(--ink); padding: 56px 0 40px; position: relative; }
.footer__grid { display: grid; gap: 28px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 500 1rem/1 var(--display); }
.footer__links a { display: inline-block; padding: 10px 0; }
.footer__small { font-size: .92rem; line-height: 1.6; max-width: 70ch; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: auto 1fr; align-items: start; column-gap: 72px; } .footer__small { grid-column: 2; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
