/* ============================================================
   CHINO USA — coffee-first direction
   Dark roast base · cream · crema amber · one cold cue
   ============================================================ */

:root {
  --roast:      #1E1209;
  --roast-deep: #120A04;
  --espresso:   #3A2416;
  --crema:      #D9A24B;
  --crema-lt:   #EFC07A;
  --cream:      #F4EADA;
  --milk:       #FCF8F1;
  --frost:      #D6E3E6;   /* cold cue — product only */
  --muted:      #7A6A58;
  --line:       #E0D2BC;

  --display: "Fraunces", Georgia, serif;
  --body:    "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono:    "DM Mono", ui-monospace, Menlo, monospace;

  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--roast);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 40;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.0;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(33px, 5.6vw, 62px); }
h3 { font-size: clamp(20px, 2.3vw, 26px); line-height: 1.15; }

p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--espresso);
  margin: 0 0 18px;
}
.eyebrow--light { color: var(--crema); }

.lede { font-size: clamp(17px, 1.9vw, 20px); max-width: 56ch; color: var(--muted); }
.lede--light { color: rgba(244, 234, 218, .74); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--crema); outline-offset: 3px; }

.btn--primary { background: var(--crema); color: var(--roast-deep); }
.btn--primary:hover { background: var(--crema-lt); }

.btn--dark { background: var(--roast); color: var(--cream); }
.btn--dark:hover { background: var(--espresso); }

.btn--ghost { border-color: rgba(244,234,218,.5); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--roast); border-color: var(--cream); }

.btn--ghost-dark { border-color: var(--roast); color: var(--roast); }
.btn--ghost-dark:hover { background: var(--roast); color: var(--cream); }

/* ---------- Header ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 10, 4, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(244, 234, 218, .1);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 66px;
}
.logo {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 20;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-decoration: none;
}
.logo span { color: var(--crema); }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  color: rgba(244, 234, 218, .8);
  text-decoration: none;
  font-size: 14.5px;
}
.nav__links a:hover { color: var(--crema); }
.nav__cta {
  background: var(--crema);
  color: var(--roast-deep) !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 600;
}
/* Mobile: links collapse into a panel behind the Menu button */
.nav__toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid rgba(244, 234, 218, .3);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 9px 14px;
  cursor: pointer;
}
.nav__toggle:focus-visible { outline: 3px solid var(--crema); outline-offset: 3px; }

@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--roast-deep);
    border-bottom: 1px solid rgba(244, 234, 218, .12);
    padding: 8px var(--pad) 20px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    font-size: 17px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(244, 234, 218, .1);
  }
  .nav__links .nav__cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
    padding: 14px 20px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--roast-deep);
  color: var(--cream);
  overflow: hidden;
  padding: clamp(54px, 8vw, 104px) 0 clamp(48px, 7vw, 92px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -35% -20% auto -20%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(217, 162, 75, .22), transparent 72%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }

/* SIGNATURE: the wordmark is poured — cream on top, frozen at the fill line */
.hero h1 {
  font-size: clamp(64px, 15vw, 168px);
  font-weight: 900;
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 144;
  letter-spacing: -0.04em;
  line-height: 0.85;
  margin: 0;
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    var(--cream) 54%,
    var(--frost) 54.5%,
    #A9C3C8 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-family: var(--mono);
  font-size: clamp(13px, 2.3vw, 19px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--crema);
  margin: 16px 0 0;
}
.hero__tag {
  font-size: clamp(18px, 2.2vw, 23px);
  color: rgba(244, 234, 218, .78);
  margin: 26px 0 30px;
  max-width: 33ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 234, 218, .5);
}

/* ---------- Photo placeholders ---------- */

.shot {
  position: relative;
  border-radius: 6px;
  border: 1.5px dashed rgba(217, 162, 75, .5);
  background: linear-gradient(150deg, rgba(217, 162, 75, .12), rgba(58, 36, 22, .18));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px;
  min-height: 220px;
  overflow: hidden;
}
.shot--tall { aspect-ratio: 4 / 5; }
.shot--wide { aspect-ratio: 16 / 9; }
.shot--square { aspect-ratio: 1 / 1; }
.shot--light {
  border-color: rgba(58, 36, 22, .3);
  background: linear-gradient(150deg, rgba(217, 162, 75, .16), rgba(58, 36, 22, .07));
}
.shot__label {
  font-family: var(--mono);
  font-size: 11px; line-height: 1.55;
  letter-spacing: 0.04em;
  color: rgba(244, 234, 218, .8);
  margin: 0;
}
.shot--light .shot__label { color: var(--muted); }
.shot__label strong {
  display: block;
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--crema);
  margin-bottom: 5px;
}
.shot--light .shot__label strong { color: var(--espresso); }

/* ---------- Sections ---------- */

.section { padding: clamp(62px, 8.5vw, 124px) 0; }
.section--dark { background: var(--roast); color: var(--cream); }
.section--espresso { background: var(--espresso); color: var(--cream); }
.section--milk { background: var(--milk); }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section__head { max-width: 62ch; margin-bottom: clamp(34px, 5vw, 58px); }

/* ---------- "Not / Is" ---------- */

.define { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 56px); align-items: start; }
@media (max-width: 820px) { .define { grid-template-columns: 1fr; } }

.define__list { list-style: none; margin: 0; padding: 0; }
.define__list li {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 40;
  font-weight: 700;
  font-size: clamp(25px, 3.6vw, 42px);
  line-height: 1.1;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.define__list--no li { color: #B9A98F; text-decoration: line-through; text-decoration-thickness: 2px; }
.define__list--yes li { color: var(--roast); }
.define__note {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}

/* ---------- Steps ---------- */

.pour { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .pour { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pour { grid-template-columns: 1fr; } }

.step { border-top: 1px solid rgba(217, 162, 75, .45); padding-top: 16px; }
.step__n {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .16em;
  color: var(--crema);
  display: block; margin-bottom: 10px;
}
.step h3 { color: var(--cream); margin-bottom: 8px; }
.step p { color: rgba(244, 234, 218, .68); font-size: 15px; margin: 0; }

/* ---------- Grids ---------- */

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 44px); }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card__rule { width: 34px; height: 2px; background: var(--crema); margin-bottom: 18px; }

/* ---------- Deal panel ---------- */

.deal { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(244, 234, 218, .18); border-radius: 6px; overflow: hidden; }
@media (max-width: 760px) { .deal { grid-template-columns: 1fr; } }
.deal__col { background: var(--espresso); padding: clamp(26px, 4vw, 44px); }
.deal__col:last-child { background: #2C1B10; }
.deal__col h3 { color: var(--cream); margin-bottom: 18px; }
.deal__col ul { list-style: none; margin: 0; padding: 0; }
.deal__col li {
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid rgba(244, 234, 218, .13);
  font-size: 16px;
  color: rgba(244, 234, 218, .9);
}
.deal__col li::before {
  content: "";
  position: absolute; left: 0; top: 19px;
  width: 11px; height: 2px; background: var(--crema);
}

/* ---------- Form ---------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 16px;
  color: var(--roast);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 13px 15px;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--espresso);
  box-shadow: 0 0 0 3px rgba(217, 162, 75, .3);
}
.form__note { font-size: 13px; color: var(--muted); grid-column: 1 / -1; margin: 0; }

/* ---------- FAQ ---------- */

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 30;
  font-weight: 700;
  font-size: clamp(18px, 2.1vw, 23px);
  list-style: none;
  display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--crema); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--muted); max-width: 70ch; }

/* ---------- CTA band ---------- */

.band { background: var(--crema); color: var(--roast-deep); padding: clamp(52px, 7vw, 94px) 0; text-align: center; }
.band h2 { margin-bottom: 18px; }
.band p { color: rgba(30, 18, 9, .74); max-width: 50ch; margin: 0 auto 30px; }
.band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.footer {
  background: var(--roast-deep);
  color: rgba(244, 234, 218, .66);
  padding: 60px 0 40px;
  font-size: 14px;
}
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--crema);
  margin: 0 0 14px; font-weight: 400;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--crema); }
.footer__bottom {
  margin-top: 46px; padding-top: 22px;
  border-top: 1px solid rgba(244, 234, 218, .12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(244, 234, 218, .4);
}

/* ---------- Legal ---------- */

.legal { max-width: 74ch; padding-top: 60px; padding-bottom: 90px; }
.legal h1 { font-size: clamp(38px, 6vw, 58px); margin-bottom: 8px; }
.legal h2 { font-size: clamp(21px, 2.5vw, 27px); margin: 40px 0 12px; }
.legal p, .legal li { color: #4A3B2C; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Find us ---------- */

.finder {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 14px;
  margin-bottom: 26px;
}
@media (max-width: 700px) { .finder { grid-template-columns: 1fr; } }
.finder input, .finder select {
  font-family: var(--body);
  font-size: 16px;
  color: var(--roast);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  width: 100%;
}
.finder input:focus, .finder select:focus {
  outline: none;
  border-color: var(--espresso);
  box-shadow: 0 0 0 3px rgba(217, 162, 75, .3);
}

.count {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.stores { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.store {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.store b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 30;
  font-weight: 700;
  font-size: clamp(19px, 2.1vw, 23px);
  display: block;
}
.store span { color: var(--muted); font-size: 15px; }
.store a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--espresso);
  white-space: nowrap;
}

.empty {
  border: 1.5px dashed rgba(58, 36, 22, .3);
  border-radius: 6px;
  background: linear-gradient(150deg, rgba(217, 162, 75, .14), rgba(58, 36, 22, .05));
  padding: clamp(28px, 5vw, 52px);
  text-align: center;
}
.empty h3 { margin-bottom: 12px; }
.empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 22px; }

/* ---------- Existing partners strip ---------- */

.strip {
  background: var(--roast);
  color: var(--cream);
  border-radius: 6px;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.strip h3 { color: var(--cream); margin-bottom: 8px; }
.strip p { color: rgba(244, 234, 218, .7); margin: 0; max-width: 46ch; font-size: 15.5px; }

/* ---------- Real media in a shot slot ---------- */

.shot--media {
  border: none;
  padding: 0;
  background: var(--roast-deep);
}
.shot--media video,
.shot--media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Map ---------- */

.map {
  height: clamp(300px, 46vh, 460px);
  border-radius: 6px;
  border: 1.5px solid var(--line);
  margin-bottom: 22px;
  background: var(--cream);
  z-index: 0;                 /* stay under the sticky header */
}
.map .leaflet-container { font-family: var(--body); }
.map .leaflet-popup-content-wrapper {
  border-radius: 5px;
  font-family: var(--body);
}
.map .leaflet-popup-content { margin: 12px 14px; font-size: 14px; line-height: 1.45; }
.map .leaflet-popup-content b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  font-size: 16px;
  display: block;
  margin-bottom: 3px;
}
.map .leaflet-popup-content a {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--espresso);
  display: inline-block;
  margin-top: 7px;
}
.pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--crema);
  border: 3px solid var(--roast-deep);
  box-shadow: 0 2px 8px rgba(18, 10, 4, .35);
}

/* ---------- Sending overlay ---------- */

.sending {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(18, 10, 4, .93);
  backdrop-filter: blur(6px);
  padding: 24px;
  text-align: center;
}
.sending.is-on { display: grid; }
.sending video {
  width: min(300px, 62vw);
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 22px;
}
.sending p {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--crema);
  margin: 0;
}

.sent {
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--milk);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}
.sent h3 { margin-bottom: 12px; }
.sent p { color: var(--muted); max-width: 46ch; margin: 0 auto; }
.sent__warn { color: var(--warn, #B4552B); font-size: 14px; margin-top: 16px; }
