/* =========================================================
   Gleam & Sip — website redesign
   Shared stylesheet. Built on colors_and_type.css tokens.
   Focus: booking the seasonal matcha cart across the GTA.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper-0);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  text-wrap: pretty;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
::selection { background: var(--matcha-4); color: var(--ink-0); }

/* image treatment — warm, slight grain, never clinical */
.warm { filter: saturate(0.92) contrast(0.98) brightness(1.02); }

/* ---------- shared type helpers ---------- */
.eyebrow {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  font-weight: 500;
}
.jp { font-family: var(--font-jp); font-weight: 300; color: var(--ink-3); letter-spacing: 0.4em; }
.jp-rail {
  writing-mode: vertical-rl;
  font-family: var(--font-jp);
  font-weight: 300;
  color: var(--ink-3);
  letter-spacing: 0.6em;
}
.lede {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: var(--t-body-l);
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}
.seal-jp { color: var(--seal-1); }
.measure { max-width: 60ch; }

/* ---------- layout container ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 56px; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-body); font-weight: 400; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  text-decoration: none;
}
.btn-pill { padding: 15px 32px; border-radius: var(--radius-pill); background: var(--ink-0); color: var(--paper-0); }
.btn-pill:hover { background: var(--matcha-0); }
.btn-accent { padding: 15px 32px; border-radius: var(--radius-pill); background: var(--matcha-1); color: var(--paper-0); }
.btn-accent:hover { background: var(--matcha-0); }
.btn-ghost { padding: 14px 28px; border-radius: var(--radius-pill); background: transparent; color: var(--ink-0); border: 1px solid var(--rule-strong); }
.btn-ghost:hover { background: rgba(34,31,24,0.04); border-color: var(--ink-3); }
.btn-light { background: var(--paper-0); color: var(--ink-0); }
.btn-light:hover { background: var(--paper-1); }

.textlink {
  font-family: var(--font-italic); font-style: italic; font-size: 17px;
  color: var(--ink-1); text-decoration: underline;
  text-decoration-color: rgba(107,128,64,0.5); text-underline-offset: 5px;
  text-decoration-thickness: 1px; cursor: pointer;
}
.textlink:hover { text-decoration-color: var(--matcha-1); }
.textlink .arr { font-style: normal; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  padding: 20px 56px;
  background: rgba(246, 241, 230, 0.74);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-wm { font-family: var(--font-display); font-weight: 400; font-size: 21px; letter-spacing: 0.04em; color: var(--ink-0); white-space: nowrap; }
.nav-wm em { color: var(--matcha-1); font-style: italic; font-family: var(--font-italic); }
.nav-wm-jp { font-family: var(--font-jp); font-size: 11px; color: var(--ink-3); letter-spacing: 0.5em; padding-left: 12px; border-left: 1px solid var(--rule); }
.nav-links { display: flex; gap: 36px; justify-self: center; }
.nav-link { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.nav-link:hover { color: var(--matcha-0); }
.nav-link.is-active { color: var(--ink-0); border-bottom: 1px solid var(--matcha-1); padding-bottom: 4px; }
.nav-cta { justify-self: end; padding: 11px 24px; font-size: 12px; }

/* =========================================================
   STATS BAND — the trust signal
   ========================================================= */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.stat { padding: 40px 32px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-display); font-weight: 200; font-size: 52px; line-height: 1; color: var(--ink-0); letter-spacing: -0.01em; }
.stat-num em { font-family: var(--font-italic); font-style: italic; color: var(--matcha-1); }
.stat-label { font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--ink-3); margin-top: 14px; max-width: 22ch; }

/* =========================================================
   SECTION SCAFFOLD
   ========================================================= */
.section { padding-block: 112px; }
.section-head { display: grid; grid-template-columns: 56px 1fr; gap: 44px; margin-bottom: 56px; }
.section-head--plain { grid-template-columns: 1fr; }
/* Service-page FAQ (shared) */
.svc-faq { background: var(--paper-1); border-top: 1px solid var(--rule); padding-block: 104px; }
.svc-faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.svc-faq-item { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.svc-faq-q { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--ink-0); margin: 0 0 10px; }
.svc-faq-a { font-family: var(--font-body); font-weight: 300; font-size: 15px; line-height: 1.7; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .svc-faq-list { grid-template-columns: 1fr; } }
.section-head-rail { display: flex; flex-direction: column; gap: 16px; padding-top: 6px; }
.section-head-jp { writing-mode: vertical-rl; font-family: var(--font-jp); font-weight: 300; font-size: 15px; color: var(--ink-3); letter-spacing: 0.55em; }
.section-title { font-family: var(--font-display); font-size: var(--t-display-m); font-weight: 200; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink-0); margin: 12px 0 0; max-width: 18ch; }
.section-title em { font-family: var(--font-italic); font-style: italic; color: var(--matcha-1); font-weight: 400; }
.section-intro { font-family: var(--font-italic); font-style: italic; font-size: var(--t-body-l); line-height: 1.6; color: var(--ink-2); max-width: 46ch; margin: 22px 0 0; }

/* =========================================================
   ROSTER — "where we've poured"
   ========================================================= */
.roster { border-top: 1px solid var(--rule); }
.roster-row {
  display: grid; grid-template-columns: 1.4fr 1fr 120px; gap: 32px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--rule);
  transition: background var(--dur) var(--ease);
}
.roster-row:hover { background: var(--paper-1); }
.roster-client { font-family: var(--font-display); font-size: 24px; font-weight: 300; color: var(--ink-0); letter-spacing: -0.005em; }
.roster-client .repeat { font-family: var(--font-accent); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--matcha-0); vertical-align: middle; margin-left: 14px; border: 1px solid var(--matcha-3); border-radius: var(--radius-pill); padding: 3px 10px; white-space: nowrap; }
.roster-detail { font-family: var(--font-body); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.roster-year { font-family: var(--font-accent); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); text-align: right; }

/* sector chips */
.sectors { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.chip {
  font-family: var(--font-accent); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--rule-strong); border-radius: var(--radius-pill);
  padding: 9px 20px; background: transparent;
}

/* =========================================================
   SERVICE CARDS — corporate / wedding / private
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule); }
.service {
  padding: 44px 40px; border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 18px; background: var(--paper-1);
}
.service:last-child { border-right: 0; }
.service-jp { font-family: var(--font-jp); font-size: 22px; color: var(--matcha-1); font-weight: 300; letter-spacing: 0.2em; }
.service-name { font-family: var(--font-display); font-size: 26px; font-weight: 300; color: var(--ink-0); margin: 0; }
.service-desc { font-family: var(--font-body); font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0; flex: 1; }
.service-meta { font-family: var(--font-accent); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); padding-top: 18px; border-top: 1px solid var(--rule); }

/* =========================================================
   PROCESS / how it works
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-num { font-family: var(--font-display); font-weight: 200; font-size: 40px; color: var(--matcha-2); line-height: 1; }
.step-title { font-family: var(--font-display); font-size: 21px; font-weight: 400; color: var(--ink-0); margin: 0; }
.step-desc { font-family: var(--font-body); font-size: 14px; line-height: 1.65; color: var(--ink-2); margin: 0; }

/* =========================================================
   CEREMONY block (weekly Annex)
   ========================================================= */
.ceremony { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; border: 1px solid var(--rule); }
.ceremony-media { position: relative; overflow: hidden; background: var(--paper-2); min-height: 420px; }
.ceremony-media img { width: 100%; height: 100%; object-fit: cover; }
.ceremony-body { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; gap: 22px; background: var(--paper-bone); }

/* =========================================================
   BOOKING BAND
   ========================================================= */
.booking { background: var(--ink-0); color: var(--paper-0); padding-block: 104px; }
.booking .eyebrow { color: var(--matcha-3); }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.booking-title { font-family: var(--font-display); font-size: var(--t-display-m); font-weight: 200; line-height: 1.08; letter-spacing: -0.01em; color: var(--paper-0); margin: 16px 0 0; }
.booking-title em { font-family: var(--font-italic); font-style: italic; color: var(--matcha-2); font-weight: 400; }
.booking-sub { font-family: var(--font-italic); font-style: italic; font-size: var(--t-body-l); line-height: 1.6; color: var(--paper-3); margin: 24px 0 0; max-width: 42ch; }
.booking-contact { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; }
.booking-contact a { font-family: var(--font-body); font-size: 15px; color: var(--paper-1); text-decoration: none; display: inline-flex; gap: 12px; align-items: baseline; }
.booking-contact a:hover { color: var(--matcha-2); }
.booking-contact .k { font-family: var(--font-accent); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--matcha-3); width: 84px; flex: none; }

.form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 9px; padding-block: 16px; }
.field label { font-family: var(--font-accent); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--matcha-3); }
.field input, .field select, .field textarea {
  font-family: var(--font-display); font-size: 17px; font-weight: 300;
  padding: 8px 0; background: transparent; border: 0;
  border-bottom: 1px solid rgba(246,241,230,0.28); color: var(--paper-0);
  border-radius: 0; transition: border-color var(--dur) var(--ease);
}
.field textarea { font-family: var(--font-body); font-size: 15px; line-height: 1.6; resize: vertical; min-height: 56px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--matcha-2); }
.field input::placeholder, .field textarea::placeholder { color: rgba(246,241,230,0.4); font-style: italic; }
.field select { color: var(--paper-0); }
.field select option { color: var(--ink-0); }
.form .btn { margin-top: 28px; align-self: start; }
.form-note { font-family: var(--font-italic); font-style: italic; font-size: 13px; color: var(--paper-3); margin: 18px 0 0; }
.form-success {
  font-family: var(--font-italic); font-style: italic; font-size: var(--t-body-l);
  line-height: 1.6; color: var(--matcha-2); padding: 32px 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 88px 56px 48px; }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 56px; }
.footer-mark { width: 52px; height: 52px; margin-bottom: 18px; opacity: 0.85; }
.footer-wm { font-family: var(--font-display); font-weight: 400; font-size: 25px; letter-spacing: 0.04em; color: var(--ink-0); margin: 0 0 6px; }
.footer-wm em { color: var(--matcha-1); font-style: italic; font-family: var(--font-italic); }
.footer-jp { font-family: var(--font-jp); font-size: 12px; letter-spacing: 0.5em; color: var(--ink-3); }
.footer-col h4 { font-family: var(--font-accent); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 18px; font-weight: 500; }
.footer-col a, .footer-col p { display: block; font-family: var(--font-body); font-size: 14px; line-height: 1.5; color: var(--ink-1); text-decoration: none; margin: 0 0 12px; }
.footer-col a:hover { color: var(--matcha-0); }
.footer-fine { max-width: 1240px; margin: 56px auto 0; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 24px; font-family: var(--font-body); font-size: 12px; color: var(--ink-3); }

/* =========================================================
   DIRECTION SWITCHER (floating)
   ========================================================= */
.switcher {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 80; display: flex; align-items: center; gap: 6px;
  padding: 7px 8px; border-radius: var(--radius-pill);
  background: rgba(20,18,14,0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2);
}
.switcher-label { font-family: var(--font-accent); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--paper-3); padding: 0 10px 0 12px; }
.switcher a {
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.06em;
  color: var(--paper-2); text-decoration: none; padding: 7px 16px; border-radius: var(--radius-pill);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.switcher a:hover { background: rgba(246,241,230,0.12); color: var(--paper-0); }
.switcher a.is-current { background: var(--matcha-1); color: var(--paper-0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .wrap { padding-inline: 40px; }
  .nav { padding-inline: 40px; }
  .booking-grid { gap: 56px; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .services { grid-template-columns: 1fr; }
  .service { border-right: 0; border-bottom: 1px solid var(--rule); }
  .service:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .ceremony { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .roster-row { grid-template-columns: 1fr; gap: 8px; }
  .roster-year { text-align: left; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 22px; }
  .nav { padding-inline: 22px; }
  .section { padding-block: 72px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-head-rail { flex-direction: row; align-items: center; }
  .section-head-jp { writing-mode: horizontal-tb; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .switcher-label { display: none; }
}
