/* ============================================================
   SEAHOOD — look of senvietnamesekitchen.ca on the TF base (Rakesh 2026-11-06 16:39)
   Capture doc m979q0mm. Loaded LAST on every page. Layout, typography feel, colour
   treatment, hero, cards and motion from the capture; colours come from theme.css
   (Brandy). Seahood's own content only. No preloader. Motion off under reduced motion.
   ============================================================ */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-600-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(assets/fonts/outfit-var-latin.woff2) format("woff2");
}

:root {
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --sv-page: color-mix(in srgb, var(--canvas) 70%, #ffffff);
  --sv-body: color-mix(in srgb, var(--ink) 72%, #ffffff);
  --sv-rule: var(--brand-3);
  --sv-footer: var(--brand-2);
  --sv-footer-2: color-mix(in srgb, var(--brand-2) 82%, #000000);
  --sv-ease: cubic-bezier(0.165, 0.84, 0.44, 1);
  --sv-card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --sv-card-shadow-hover: 0 25px 60px rgba(0, 0, 0, 0.14);
}

body {
  font-family: var(--font-body);
  background: var(--sv-page);
}

/* ---------- typography (A: serif headings, Outfit body) ---------- */
h1, h2, h3, h4, .display, .menu-title, .page-hero h1, .hero-full h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}
.display em, .menu-band h2 em, .menu-title em { font-style: normal; color: var(--brand); }
.lede, .prose, p { line-height: 1.75; }
.lede { color: var(--sv-body); }

/* topper: Outfit uppercase, wide tracking, thin rules both sides (Sen hero subtitle) */
.kicker {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.kicker::before, .kicker::after {
  content: "";
  display: inline-block;
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  position: static;
}
.kicker--light { color: #fff; }

/* ---------- buttons (A6/A7: lift + glow, 0.4s Sen curve) ---------- */
.btn, .btn-line, .btn-ghost {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 10px;
  transition: transform 0.4s var(--sv-ease), box-shadow 0.4s var(--sv-ease), background-color 0.4s var(--sv-ease), color 0.4s var(--sv-ease);
}
.btn:hover, .btn-line:hover, .btn-ghost:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--brand) 30%, transparent);
}

/* ---------- header (fixed white bar, soft shadow, centred nav) ---------- */
.site-topline { background: #f8f8f8; color: color-mix(in srgb, var(--ink) 75%, #fff); border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.site-topline a { color: inherit; }
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: 0 5px 15px rgba(152, 152, 152, 0.35);
}
.site-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
  position: relative;
  transition: color 0.3s ease;
}
.site-nav a:hover { color: var(--brand); background: transparent; }
.site-nav a.active { color: var(--brand); font-weight: 700; background: transparent; }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.1rem;
  height: 2px;
  background: var(--brand);
}

/* ---------- home hero (A1-A5) ---------- */
.hero-full h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: #fff;
  margin: 0.75rem 0 1rem;
}
.hero-full__tag {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  padding: 1.25rem 1.5rem;
  line-height: 1.8;
  max-width: 40rem;
}
.hero-full .btn { padding: 1rem 2.5rem; }
.hero-full__bg img { transform: scale(1.05); }
@media (prefers-reduced-motion: no-preference) {
  .hero-full__bg img { animation: sv-kenburns 20s ease-in-out infinite alternate; will-change: transform; }
}
@keyframes sv-kenburns { from { transform: scale(1.05); } to { transform: scale(1.15); } }
.store-bar { border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); }

/* ---------- section heads: centred serif + 60x3 accent rule ---------- */
.sec-head, .faq-intro, .quotes-intro { text-align: center; justify-content: center; }
.sec-head { flex-direction: column; align-items: center; }
.sec-head > div, .faq-intro { display: flex; flex-direction: column; align-items: center; }
.sec-head h2, .faq-intro h2, .quotes-intro h2, .story-copy h2, .cta-band h2, .section__header {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  color: var(--ink);
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.sec-head h2::after, .faq-intro h2::after, .quotes-intro h2::after, .story-copy h2::after, .cta-band h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60px;
  height: 3px;
  transform: translateX(-50%);
  background: var(--sv-rule);
}
.sec-head .sec-tools { display: none; }

/* ---------- popular dishes: 3x2 white cards (A8) ---------- */
.plates { background: linear-gradient(180deg, var(--sv-page) 0%, #ffffff 100%); }
.plates-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 1.25rem;
  overflow: visible;
  scroll-snap-type: none;
  padding: 0.5rem 0 1rem;
}
@media (max-width: 900px) { .plates-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plates-track { grid-template-columns: minmax(0, 1fr); } }
.plate {
  width: auto;
  min-width: 0;
  flex: none;
  background: #fff;
  border-radius: 12px;
  border: 0;
  box-shadow: var(--sv-card-shadow);
  padding: 1rem 1rem 1.5rem;
  text-align: center;
  transition: transform 0.4s var(--sv-ease), box-shadow 0.4s var(--sv-ease);
}
.plate:hover { transform: translateY(-10px); box-shadow: var(--sv-card-shadow-hover); }
.plate a:first-child, .plate figure, .plate .plate-img { display: block; overflow: hidden; border-radius: 1rem; }
.plate img {
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.5s ease;
}
.plate:hover img { transform: scale(1.05); }
.plate .plate-no { display: none; }
.plate h3 { font-size: 1.45rem; margin-top: 1rem; color: var(--ink); }
.plate p { color: var(--sv-body); }
.plate .plate-foot { justify-content: center; }

/* ---------- specialties / story split (A9) ---------- */
.story { background: var(--sv-page); }
.story-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.story-copy .chip-row { justify-content: center; }
.story-collage img, .explore__image img, .page-hero--split .ph-img img {
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}
.story-collage:hover img, .explore__image:hover img { transform: scale(1.02); }

/* ---------- menu band: light card on cream (Sen has no dark bands mid-page) ---------- */
.menu-band { background: var(--sv-page); }
.menu-band .wrap {
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--sv-card-shadow);
}
.menu-band h2, .menu-band p { color: var(--ink); }
.menu-band p { color: var(--sv-body); }
.menu-band .kicker { color: var(--brand); }
.menu-band [data-band-word], .menu-band .band-word { color: color-mix(in srgb, var(--ink) 8%, transparent); -webkit-text-stroke: 0; }
.cat-tile {
  background: var(--sv-page);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: 8px;
  transition: transform 0.4s var(--sv-ease), box-shadow 0.4s var(--sv-ease);
}
.cat-tile:hover { background: #fff; color: var(--ink); transform: translateY(-3px); box-shadow: var(--sv-card-shadow); }
.cat-tile .arrow { color: var(--brand); }

/* ---------- reviews ---------- */
.quotes { background: linear-gradient(180deg, #ffffff 0%, var(--sv-page) 100%); }
.quote-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--sv-card-shadow);
  transition: transform 0.4s var(--sv-ease), box-shadow 0.4s var(--sv-ease);
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--sv-card-shadow-hover); }
.quote-card blockquote { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; color: var(--ink); }

/* ---------- FAQ: centred head, white rows, + rotates 45deg (A10) ---------- */
.faq { background: var(--sv-page); }
.faq .wrap { display: block; }
.faq-intro { max-width: 44rem; margin: 0 auto 2rem; }
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
@media (max-width: 900px) { .faq-list { grid-template-columns: minmax(0, 1fr); } }
.qa {
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}
.qa[open] { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.qa summary { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.qa summary .qa-ico { background: transparent; color: var(--brand); transition: transform 0.3s ease; }
.qa[open] summary .qa-ico { transform: rotate(45deg); }
.qa .qa-body { color: var(--sv-body); line-height: 1.8; }

/* ---------- visit / CTA band ---------- */
.cta-band { background: linear-gradient(180deg, #ffffff 0%, var(--sv-page) 100%); text-align: center; }
.cta-band .hero-actions, .cta-chips { justify-content: center; }

/* ---------- inner pages: same card language ---------- */
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.12; }
.bd-card, .value-card, .info-card, .related-dish-card, .delivery-area-card, .order-step, .gallery-wall figure {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--sv-card-shadow);
  transition: transform 0.4s var(--sv-ease), box-shadow 0.4s var(--sv-ease);
}
.bd-card:hover, .value-card:hover, .info-card:hover, .related-dish-card:hover, .delivery-area-card:hover, .gallery-wall figure:hover {
  transform: translateY(-8px);
  box-shadow: var(--sv-card-shadow-hover);
}
.bd-img, .gallery-wall figure, .snap-grid { overflow: hidden; }
.bd-img img, .gallery-wall img, .snap-grid img { transition: transform 0.6s ease; }
.bd-card:hover .bd-img img, .gallery-wall figure:hover img, .snap-grid img:hover { transform: scale(1.06); }
.menu-item { border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease-in-out; }
.menu-item:hover { transform: translateY(-5px); }
.hours-table, .map-frame { border-radius: 12px; }

/* ---------- footer: dark charcoal, darker legal bar ---------- */
.site-footer { background: var(--sv-footer); color: rgba(255, 255, 255, 0.82); }
.site-footer h4 { font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.foot-legal { background: var(--sv-footer-2); }
.foot-social a { transition: transform 0.3s ease, background-color 0.3s ease; }
.foot-social a:hover { transform: translateY(-3px); }

/* ---------- scroll reveals (A16: Sen's intended ScrollReveal, done with IO) ----------
   Only elements motion-sen.js marks (below the fold at load) start hidden; everything is
   visible without JS and under reduced motion. Transform only: no layout shift. */
[data-sv-reveal] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s var(--sv-ease);
  transition-delay: var(--sv-d, 0s);
}
[data-sv-reveal="left"] { transform: translateX(-50px); }
[data-sv-reveal="right"] { transform: translateX(50px); }
[data-sv-reveal].is-in { opacity: 1; transform: none; }
.plate[data-sv-reveal].is-in:hover { transform: translateY(-10px); }

/* TF [data-reveal]: visible when JS is off (html gets .sv-js from the inline head script) */
html:not(.sv-js) [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-sv-reveal], [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-full__bg img { transform: none; }
}

/* ---------- contrast on dark grounds (Brandy's red seal is for light grounds only) ---------- */
.hero-full__tag em { color: color-mix(in srgb, var(--brand) 35%, #ffffff); }
.foot-legal .credit a, .site-footer .credit a { color: color-mix(in srgb, var(--brand) 30%, #ffffff); }

/* ---------- QA F1 (Dennis 88b8be1): keep the fixed back-to-top button off the legal row ----------
   .to-top is fixed at right 1.4rem, 3rem wide on <=768px; reserve that strip so
   "Powered by iOrders.ca" never sits under it. */
@media (max-width: 768px) {
  .foot-legal { padding-right: calc(1.4rem + 3rem + 0.75rem); }
}
