/* Mosso Coffee — site styles
   Palette and tone follow the brand's own deck: near-black espresso, deep Brazilian
   green, warm gold. Basketball shows up as structure (court lines, box scores, a
   shot-clock reel), not as clip art. */

:root {
  --ink: #0b0906;
  --ink-2: #13100b;
  --ink-3: #1d1810;
  --green: #0f2a1c;
  --green-2: #1f5237;
  --gold: #d6ab52;
  --gold-2: #ecd7a5;
  --cream: #f4ecdd;
  --mute: #b5a993;
  --cherry: #b22a22;
  --line: rgba(236, 215, 165, 0.18);
  --line-strong: rgba(236, 215, 165, 0.42);

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700;
}
.skip:focus { top: 12px; }

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

/* Film grain over everything, so flat colour and footage sit in the same world. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.display {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  line-height: 0.9; letter-spacing: 0.005em;
  font-size: clamp(52px, 9.2vw, 148px);
}
.display em, .h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: -0.01em; color: var(--gold-2);
}
.display em { display: block; font-size: 0.62em; line-height: 1.05; margin-top: 0.12em; }

.h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  line-height: 0.95; font-size: clamp(36px, 5vw, 68px);
}
.h3 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  line-height: 1; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: 0.02em;
}
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--cream); max-width: 56ch; }
.copy { color: var(--mute); max-width: 60ch; }
.copy + .copy { margin-top: 1em; }
.copy strong { color: var(--cream); font-weight: 600; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--ink); background: var(--gold);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(236, 215, 165, 0.1); color: var(--gold-2); border-color: var(--gold); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(11, 9, 6, 0.9); backdrop-filter: blur(14px); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; color: var(--gold); }
.brand__word { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; }
.brand__sub { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-2); margin-left: -4px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav a:not(.btn) {
  position: relative; padding: 8px 0;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-2); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 12px; }

.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--cream); position: relative; transition: background 0.2s; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--cream);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-btn span::before { top: -8px; }
.menu-btn span::after { top: 8px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .menu-btn { display: inline-flex; position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 6px; padding: 96px var(--gutter) 40px; background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 12vw, 64px); letter-spacing: 0.02em; line-height: 1.1; padding: 4px 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 24px; min-height: 52px; padding: 0 26px; font-size: 13px; }
  .menu-open { overflow: hidden; }
}

/* ---------- Home hero: the reel ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; isolation: isolate; overflow: hidden;
  background: var(--ink) center / cover no-repeat;
}
.reel { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 9, 6, 0.62) 0%, rgba(11, 9, 6, 0.08) 26%, rgba(11, 9, 6, 0.22) 52%, rgba(11, 9, 6, 0.93) 100%),
    linear-gradient(90deg, rgba(11, 9, 6, 0.62) 0%, rgba(11, 9, 6, 0) 62%);
}
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(24px, 4vh, 48px); }
.hero__copy { max-width: 980px; }
.hero .display { margin-top: 18px; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45); }
.hero .lede { margin-top: 22px; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.6); }
.hero .btn-row { margin-top: 30px; }

/* Stage ticker: each stage of the coffee gets a "shot clock" bar. */
.stages {
  display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: clamp(8px, 1.4vw, 20px); align-items: end;
  margin-top: clamp(28px, 5vh, 56px); padding-top: 18px; border-top: 1px solid var(--line);
}
.stage { display: block; width: 100%; text-align: left; padding: 6px 0 0; color: var(--mute); transition: color 0.3s; }
.stage:hover, .stage.is-on { color: var(--cream); }
.stage__n { display: block; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; color: var(--gold); }
.stage__t { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 2px; }
.stage__bar { display: block; height: 2px; margin-top: 10px; background: var(--line); position: relative; overflow: hidden; }
/* --p is the stage's progress (0 to 1), written from the video's playhead. */
.stage__bar::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; }

.reel-toggle {
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--cream);
  transition: border-color 0.25s, color 0.25s;
}
.reel-toggle:hover { border-color: var(--gold); color: var(--gold); }
.reel-toggle svg { width: 14px; height: 14px; }
.reel-toggle .i-play { display: none; }
.is-paused .reel-toggle .i-play { display: block; }
.is-paused .reel-toggle .i-pause { display: none; }

@media (max-width: 640px) {
  /* Copy covers most of a phone screen, so the footage needs more shade behind it. */
  .hero::before {
    background: linear-gradient(180deg, rgba(11, 9, 6, 0.62) 0%, rgba(11, 9, 6, 0.3) 22%, rgba(11, 9, 6, 0.55) 50%, rgba(11, 9, 6, 0.95) 100%);
  }
  .stages { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stage__t { font-size: 10px; letter-spacing: 0.1em; }
  .reel-toggle { position: absolute; top: calc(var(--header-h) + 10px); right: var(--gutter); }
  .hero .btn { flex: 1 1 100%; }
}

@media (max-width: 380px) {
  .stages { gap: 6px; }
  .stage__t { font-size: 8.5px; letter-spacing: 0.04em; }
}

/* ---------- Home: scoreboard + five doors ---------- */

.board { border-bottom: 1px solid var(--line); background: var(--ink-2); }
.board dl { display: grid; grid-template-columns: repeat(4, 1fr); }
.board dl > div { padding: 26px clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.board dl > div:first-child { border-left: 0; padding-left: 0; }
.board dt { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.board dd { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.05; margin-top: 6px; }
@media (max-width: 760px) {
  .board dl { grid-template-columns: repeat(2, 1fr); }
  .board dl > div { padding: 20px 16px; border-top: 1px solid var(--line); }
  .board dl > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .board dl > div:nth-child(-n + 2) { border-top: 0; }
}

.doors { display: grid; grid-template-columns: repeat(5, 1fr); }
.door {
  position: relative; min-height: clamp(280px, 38vw, 460px); display: flex; align-items: flex-end;
  padding: clamp(18px, 2vw, 30px); overflow: hidden; isolation: isolate; border-left: 1px solid var(--line);
}
.door:first-child { border-left: 0; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 9, 6, 0.25), rgba(11, 9, 6, 0.9)); transition: background 0.4s; }
.door:hover img { transform: scale(1.06); }
.door:hover::before { background: linear-gradient(180deg, rgba(15, 42, 28, 0.25), rgba(11, 9, 6, 0.88)); }
.door__n { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; color: var(--gold); }
.door__t { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 3vw, 44px); line-height: 0.95; margin-top: 6px; }
.door__d { color: var(--gold-2); font-size: 14px; margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.door__d svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.door:hover .door__d svg { transform: translateX(6px); }
/* five tiles in a row: when a subtitle wraps, every tile keeps two lines so the titles stay level */
@media (min-width: 901px) and (max-width: 1279px) { .door__d { min-height: 3.3em; align-items: flex-start; } }
@media (max-width: 900px) {
  .doors { grid-template-columns: repeat(2, 1fr); }
  .door:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .door { min-height: 240px; }
  .door:nth-child(odd) { border-left: 0; }
  .door:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 180px; border-left: 0; border-top: 1px solid var(--line); }
  .door:first-child { border-top: 0; }
}

/* ---------- Inner pages: video masthead ---------- */

.masthead {
  position: relative; min-height: min(72vh, 680px); display: flex; align-items: flex-end;
  isolation: isolate; overflow: hidden; background: var(--ink) center / cover no-repeat;
}
.masthead video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.masthead::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 9, 6, 0.6) 0%, rgba(11, 9, 6, 0.15) 34%, rgba(11, 9, 6, 0.96) 100%);
}
.masthead .wrap { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(32px, 6vh, 64px); }
.masthead .display { font-size: clamp(46px, 7.6vw, 118px); margin-top: 16px; max-width: 14ch; }
.hero .eyebrow, .masthead .eyebrow { color: var(--gold-2); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85); }
.masthead .lede { margin-top: 20px; }

/* ---------- Sections ---------- */

.section { position: relative; padding: clamp(56px, 9vw, 120px) 0; overflow: hidden; }
.section--green { background: var(--green); }
.section--raise { background: var(--ink-2); }
.section > .wrap { position: relative; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .h2 { margin: 16px 0 24px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Court lines, drawn faint behind a section. */
.court { position: absolute; z-index: 0; color: var(--gold); opacity: 0.13; pointer-events: none; }
.court--right { right: -180px; top: 50%; width: 620px; transform: translateY(-50%); }
.court--left { left: -220px; bottom: -160px; width: 640px; }

/* Box score: facts set like a stat sheet. */
.box { border: 1px solid var(--line); background: rgba(11, 9, 6, 0.5); }
.box__head {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 20px;
  border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
}
.box__row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); align-items: baseline; }
.box__row:last-child { border-bottom: 0; }
.box__row dt { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.box__row dd { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.02em; }
.box__row dd small { display: block; font-family: var(--body); font-weight: 500; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--mute); margin-top: 4px; }

/* Route: farm to shop on one line. */
.route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(32px, 5vw, 56px); counter-reset: stop; }
.route li { position: relative; padding: 28px 20px 0 0; border-top: 1px solid var(--line-strong); }
.route li::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--gold);
}
.route li:last-child::before { background: var(--gold); }
.route__k { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.route__v { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); line-height: 1.05; margin-top: 6px; }
.route__d { color: var(--mute); font-size: 14px; margin-top: 6px; max-width: 26ch; }
.route__d a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .route { grid-template-columns: 1fr; }
  .route li { border-top: 0; border-left: 1px solid var(--line-strong); padding: 0 0 28px 26px; }
  .route li:last-child { padding-bottom: 0; }
  .route li::before { top: 0; left: -7px; }
}

/* The route animation sits beside the route heading and melts into the green. */
.route-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 360px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.route-film { margin: 0; }
.route-film video {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0d271c;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 90%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 90%, transparent 100%);
}
.route-film figcaption { margin-top: 6px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold-2); }
@media (max-width: 760px) {
  .route-head { grid-template-columns: 1fr; }
  .route-film { width: min(100%, 320px); margin: 0 auto; }
}

/* Farm photos */
.gallery { display: grid; grid-template-columns: 1.5625fr 1fr 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(32px, 5vw, 56px); align-items: start; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink-3); border: 1px solid var(--line); }
.gallery__wide img { aspect-ratio: 5 / 4; }
.gallery figcaption { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--mute); }
.gallery figcaption span { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(181, 169, 147, 0.7); }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery__wide { grid-column: 1 / -1; }
  .gallery__wide img { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery img, .gallery__wide img { aspect-ratio: 4 / 3; }
}

/* ---------- Coffee: the four stages ---------- */

.plays { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.plays__screen { position: relative; aspect-ratio: 16 / 10; background: var(--ink-3); overflow: hidden; border: 1px solid var(--line); }
.plays__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plays__count {
  position: absolute; left: 18px; bottom: 12px; font-family: var(--display); font-weight: 900;
  font-size: clamp(56px, 8vw, 110px); line-height: 1; color: var(--cream); opacity: 0.92; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}
.plays__tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.plays__tab {
  flex: 1; padding: 14px 4px; text-align: left; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; transition: color 0.25s, border-color 0.25s;
}
.plays__tab b { display: block; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; color: var(--gold); }
.plays__tab:hover { color: var(--cream); }
.plays__tab[aria-selected="true"] { color: var(--cream); border-color: var(--gold); }
.plays__panel[hidden] { display: none; }
.plays__panel .h2 { margin-bottom: 18px; }
@media (max-width: 900px) { .plays { grid-template-columns: 1fr; } }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.trio > * { padding: 28px clamp(16px, 2.4vw, 36px) 0; border-left: 1px solid var(--line); }
.trio > *:first-child { border-left: 0; padding-left: 0; }
.trio .h3 { margin: 10px 0 10px; }
.trio__n { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; color: var(--gold); }
@media (max-width: 760px) {
  .trio { grid-template-columns: 1fr; border-top: 0; }
  .trio > * { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 24px; }
}

/* ---------- Wholesale form ---------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--cream);
  background: rgba(11, 9, 6, 0.55); border: 1px solid var(--line-strong); border-radius: 0; appearance: none;
  transition: border-color 0.2s, background 0.2s;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23d6ab52' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field select option { background: var(--ink-2); color: var(--cream); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(11, 9, 6, 0.8); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form__note { color: var(--mute); font-size: 14px; max-width: 46ch; }
.form__done { grid-column: 1 / -1; padding: 16px 18px; border: 1px solid var(--gold); color: var(--gold-2); background: rgba(214, 171, 82, 0.08); }
.form__done[hidden] { display: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- Story: player card ---------- */

.card { position: relative; border: 1px solid var(--line-strong); background: linear-gradient(160deg, var(--green) 0%, var(--ink-2) 70%); overflow: hidden; }
.card__top { position: relative; padding: 28px 26px 150px; overflow: hidden; }
.card__role { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.card__name { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.88; font-size: clamp(54px, 6.4vw, 92px); margin-top: 10px; position: relative; z-index: 1; }
.card__name span { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; font-size: 0.5em; line-height: 1; color: var(--gold-2); }
.card__ball { position: absolute; right: -50px; bottom: -80px; width: 280px; color: var(--gold); opacity: 0.2; }
.card__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.card__stats div { padding: 16px 14px; border-left: 1px solid var(--line); }
.card__stats div:first-child { border-left: 0; }
.card__stats dt { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.card__stats dd { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2vw, 26px); line-height: 1.05; text-transform: uppercase; margin-top: 4px; }

/* ---------- Closing call + footer ---------- */

.closer {
  position: relative; padding: clamp(64px, 9vw, 120px) 0; text-align: center; overflow: hidden;
  background: radial-gradient(ellipse at center, #1a4a31 0%, var(--green) 62%);
  border-top: 1px solid var(--line);
}
.closer .h2 { max-width: 18ch; margin: 16px auto 28px; }
.closer .btn-row { justify-content: center; }
.closer .court { left: 50%; top: 50%; width: 760px; transform: translate(-50%, -50%); opacity: 0.1; }

.site-footer { border-top: 1px solid var(--line); background: var(--ink); padding: 44px 0 36px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: start; }
.site-footer p { color: var(--mute); font-size: 14px; max-width: 34ch; margin-top: 12px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.foot-nav a, .foot-mail { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); }
.foot-nav a:hover, .foot-mail:hover { color: var(--gold); }
.foot-meta { text-align: right; }
.foot-meta small { display: block; color: var(--mute); font-size: 12px; margin-top: 10px; }
@media (max-width: 760px) {
  .site-footer .wrap { grid-template-columns: 1fr; }
  .foot-meta { text-align: left; }
}

/* ---------- 404 ---------- */

.lost { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; text-align: center; }
.lost .display { font-size: clamp(64px, 14vw, 200px); }
.lost .btn-row { justify-content: center; margin-top: 30px; }
.lost .lede { margin: 18px auto 0; }

/* ---------- Motion ---------- */

.rise { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .door img, .btn { transition: none; }
}

/* ---------- available coffees (coffee page) ---------- */
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.facts li { font-size: 14px; color: var(--cream); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: clamp(28px, 4vw, 44px); }
.lot { border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px 22px; background: rgba(236, 215, 165, 0.03); display: flex; flex-direction: column; }
.lot:first-child { border-color: var(--line-strong); }
.lot__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.lot__score { font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 0.9; color: var(--gold); }
.lot__tag { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.35; color: var(--mute); }
.lot .h3 { margin: 0 0 10px; }
.lot .copy { font-size: 15px; }
.lot__meta { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); }
.lot .copy + .lot__meta { margin-top: 16px; }
.lots__cta { margin-top: 32px; }
