/* V.A.R Mart site. Theme comes from the V.A.R Mart logo (orange + green blocks, swash serif,
   spaced sans tagline). Only the motion patterns are taken from the esrbespoke replica. */

/* Fonts are self-hosted (assets/fonts, from Google Fonts, SIL Open Font License) so the page
   needs no third-party connection. latin-ext carries the ₹ sign. */
@font-face { font-family: "Cherry Swash"; font-weight: 700; font-display: swap; src: url("../assets/fonts/cherry-swash-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cherry Swash"; font-weight: 700; font-display: swap; src: url("../assets/fonts/cherry-swash-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --orange: #fc7002;
  --orange-dark: #d95f00;
  --green: #047633;
  --green-deep: #035a27;
  /* Warm beige page with a deeper sand band every other section; white is kept for cards */
  --paper: #f8f0e4;
  --cream: #f0e2cd;
  --white: #fff;
  --card: #fffbf5;
  --ink: #1e1e1c;
  --muted: #5f5c55;
  --rule: #e3d5bf;
  --pad: 2rem;
  --header-h: 5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Cherry Swash", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Grid: three anchor points at columns 1, 4 and 9 */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); padding-inline: var(--pad); }
.span-3 { grid-column: 1 / span 3; }
.col-4 { grid-column: 4 / span 5; }
.col-9 { grid-column: 9 / span 4; }

/* Type: spaced uppercase labels echo the logo's "Essence of Lifestyle" line */
.label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.45;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
/* The logo PNG has a white box; multiply lets the beige show through it */
img[src$="logo.png"] { mix-blend-mode: multiply; }
.kicker { color: var(--green); }
.muted { color: var(--muted); }
.large-body {
  font-size: clamp(1.375rem, 2.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
}
.link-arrow { border-bottom: 2px solid var(--orange); padding-bottom: 0.2rem; }

/* Orange/green paired blocks, like the logo's V.A.R | Mart */
.pair { display: inline-flex; }
.pair span { padding: 0.35rem 0.6rem; }
.pair span:first-child { background: var(--orange); color: var(--ink); }
.pair span:last-child { background: var(--green); color: var(--white); }
.stripe { height: 0.5rem; background: linear-gradient(90deg, var(--orange) 50%, var(--green) 50%); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-dark); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-deep); }
.btn--ghost { border: 1.5px solid currentColor; }
.btn--ghost:hover { background: var(--white); color: var(--green); border-color: var(--white); }

/* Intro (home only): the logo wipes in on white, then the overlay slides up */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2rem;
  padding: var(--pad);
}
.intro__logo { width: min(34rem, 80vw); }
.intro .stripe { position: absolute; left: 0; right: 0; bottom: 0; }

/* Green cover that wipes between pages */
.cover { position: fixed; inset: 0; z-index: 95; background: var(--green); pointer-events: none; }

/* Header: white bar with the logo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-inline: var(--pad);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.site-header.is-scrolled { border-color: var(--rule); box-shadow: 0 6px 24px rgba(30, 30, 28, 0.06); }
.site-header__logo img { height: 3.5rem; width: auto; }
.main-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.main-nav a {
  position: relative;
  font-weight: 500;
  font-size: 1rem;
  padding-block: 0.35rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: none; }
.main-nav a[aria-current="page"] { color: var(--green); }
.site-header .btn { padding: 0.65rem 1rem; font-size: 0.9375rem; }
.burger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--green);
  place-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--white);
  transition: transform 500ms var(--ease);
}
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Menu overlay (phones), under the header so the burger stays reachable */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 2rem) 0 2rem;
  clip-path: inset(0% 0% 100% 0%);
}
.menu__links { padding-inline: var(--pad); }
.menu__links li { overflow: hidden; }
.menu__links a {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.5rem, 11vw, 4rem);
  line-height: 1.15;
}
.menu__foot { row-gap: 1rem; }

/* Custom cursor for the slider */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.cursor__thumb {
  width: 13.5rem;
  aspect-ratio: 1;
  background: var(--bg, var(--green));
  border: 4px solid var(--white);
}
.cursor__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.35rem 0.5rem;
}

/* Main sits above the footer so it can slide off and reveal it */
main { position: relative; z-index: 1; background: var(--paper); }

/* Photo slots read their image from --bg (set inline on the slide or .media section).
   A url() inside a custom property resolves from this stylesheet's folder (css/), not the page,
   so inline values use '../assets/img/...'. The tones below are the fallback colours. */
.tone-green { --bg: #047633; }
.tone-orange { --bg: #fc7002; }
.tone-deep { --bg: #035a27; }
.tone-cream { --bg: #f3e6d4; }

/* ---------- Home ---------- */

/* Hero: green, falling rice grains, the logo's orange arc and dot */
.hero {
  position: relative;
  height: calc(100svh - var(--header-h));
  min-height: 34rem;
  overflow: hidden;
  background: var(--green);
  color: var(--white);
}
.hero__media { position: absolute; inset: -10% 0 0; }
.grains { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__arc {
  position: absolute;
  right: -16vw;
  bottom: -58vw;
  width: 72vw;
  aspect-ratio: 1;
  border: 3px solid var(--orange);
  border-radius: 50%;
}
.hero__sun {
  position: absolute;
  left: 50%;
  top: 7%;
  width: 3.5rem;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: var(--orange);
}
.hero__content {
  position: absolute;
  inset: 0;
  align-content: center;
  row-gap: 2rem;
  z-index: 1;
}
.hero__title {
  grid-column: 1 / span 8;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1;
}
.hero__title em { font-style: normal; color: var(--orange); }
.hero__blurb { grid-column: 1 / span 5; font-size: 1.25rem; line-height: 1.5; max-width: 34rem; }
.hero__cta { grid-column: 1 / span 8; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__rating { grid-column: 1 / span 8; justify-self: start; display: inline-flex; align-items: center; gap: 0.6rem; }
.hero__rating .g-logo { width: 1.25rem; height: 1.25rem; padding: 0.15rem; background: var(--white); border-radius: 50%; box-sizing: content-box; }
.hero__rating:hover { color: var(--orange); }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 2rem; z-index: 1; }

/* Statement (cream) */
.statement {
  background: var(--cream);
  padding: 3.5rem var(--pad) 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
/* Quick facts under the statement */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.facts a { display: grid; gap: 0.5rem; padding: 1.5rem 1.5rem 0.5rem 0; transition: color 300ms var(--ease); }
.facts li + li a { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.facts__big { font-family: var(--display); font-weight: 700; font-size: clamp(2.25rem, 3.6vw, 3.25rem); line-height: 1; color: var(--orange); }
.facts li:nth-child(even) .facts__big { color: var(--green); }
.facts a:hover .label { color: var(--orange); }

/* Slider */
.slider { position: relative; height: 90svh; overflow: hidden; cursor: none; outline-offset: -4px; color: var(--white); }
.slide {
  position: absolute;
  inset: 0;
  background: var(--bg);
  visibility: hidden;
  display: grid;
  place-items: center;
}
.slide.is-active { visibility: visible; z-index: 1; }
.slide.is-next { visibility: visible; z-index: 2; }
.slide__word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15vw;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.16);
}
.slide__caption { position: absolute; left: var(--pad); bottom: 2rem; }
.slide__note { position: absolute; right: var(--pad); bottom: 2rem; color: rgba(255, 255, 255, 0.7); }
/* Real photos: a soft shade along the bottom keeps the white caption readable */
.slide.has-photo::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}
.slide.has-photo .slide__caption { z-index: 1; }
.tone-orange.slide, .tone-cream.slide { color: var(--ink); }
.tone-orange .slide__word, .tone-cream .slide__word { color: rgba(30, 30, 28, 0.1); }
.tone-orange .slide__note, .tone-cream .slide__note { color: rgba(30, 30, 28, 0.6); }

/* Departments: the name at screen centre turns green, the card swaps */
.depts { padding: 3.5rem 0 14vh; }
.depts__head { margin-bottom: 4rem; }
.depts__head .col-9 { max-width: 18rem; }
.depts__list { grid-column: 1 / span 8; }
.depts__list a {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.75rem, 5.8vw, 5.5rem);
  line-height: 1.1;
  color: #e0d1bb;
  transition: color 500ms var(--ease);
}
.depts__list li.is-active a { color: var(--green); }
.depts__list .label { display: none; }
/* Photo card, 23rem x 28.75rem, held at screen centre */
.depts__media {
  position: sticky;
  top: calc(50vh - 14.375rem + var(--header-h) / 2);
  width: min(100%, 23rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.depts__frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  color: var(--white);
  /* --img is set inline per department; the shade keeps the white text readable */
  background: linear-gradient(transparent 45%, rgba(0, 0, 0, 0.68)), var(--img, none) center / cover, var(--green);
  opacity: 0;
  transform: scale(1.08);
  /* Outgoing card drops out fast so the two texts never sit on top of each other */
  transition: opacity 150ms ease-out, transform 900ms var(--ease);
}
.depts__frame.is-active { opacity: 1; transform: none; transition: opacity 500ms var(--ease) 100ms, transform 900ms var(--ease); }
/* Department name sits on a brand chip, orange and green in turn */
.depts__frame > .label:first-child { align-self: start; padding: 0.35rem 0.6rem; background: var(--green); }
.depts__frame:nth-child(even) > .label:first-child { background: var(--orange); color: var(--ink); }
.depts__frame > .depts__big { margin-top: auto; margin-bottom: 0.5rem; }
.depts__big { font-family: var(--display); font-weight: 700; font-size: 2.25rem; line-height: 1.05; }
.depts__more { margin-top: 3rem; }
.depts__more a { grid-column: 1 / span 4; justify-self: start; }

/* Reviews (cream): rating summary, then review cards in a sideways loop. Filled by js/reviews.js */
.reviews {
  background: linear-gradient(90deg, var(--orange) 50%, var(--green) 50%) 0 0 / 100% 0.5rem no-repeat, var(--cream);
  padding: 4rem 0 6rem;
}
.reviews__head { row-gap: 1.25rem; margin-bottom: 3.5rem; }
.reviews__head .h2 { grid-column: 1 / span 8; }
.stars {
  --r: 5;
  display: inline-block;
  width: max-content;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.04em;
  /* Gold up to the rating, grey after it, so 4.2 shows a partly filled fifth star */
  background: linear-gradient(90deg, var(--orange) calc(var(--r) / 5 * 100%), #d3c5b0 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.g-logo { width: 1.25rem; height: 1.25rem; flex: none; }
.jd-logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.3rem;
  background: #0076d7;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
}
.rv-summary { gap: 2rem 1.5rem; align-items: center; margin-bottom: 3.5rem; }
.rv-score {
  grid-column: span 3;
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--rule);
  transition: border-color 300ms var(--ease);
}
.rv-score:hover { border-color: var(--orange); }
.rv-score__src { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.rv-score__num { font-family: var(--display); font-weight: 700; font-size: 3.5rem; line-height: 1; }
.rv-bars { grid-column: span 3; display: grid; gap: 0.45rem; font-size: 0.9375rem; }
.rv-bars li { display: grid; grid-template-columns: 2.25rem 1fr 1.5rem; align-items: center; gap: 0.6rem; }
.rv-bars li span:last-child { text-align: right; color: var(--muted); }
.rv-bar { height: 0.5rem; background: var(--rule); border-radius: 1rem; overflow: hidden; }
.rv-bar i { display: block; height: 100%; background: var(--orange); }
.rv-links { grid-column: 10 / span 3; display: grid; gap: 1.25rem; justify-items: start; }

.rv-marquee {
  overflow: hidden;
  /* Fade the cards in and out at the screen edges */
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rv-track { display: flex; width: max-content; animation: rv-slide var(--dur, 60s) linear infinite; }
.rv-marquee:hover .rv-track, .rv-marquee:focus-within .rv-track { animation-play-state: paused; }
.rv-set { display: flex; gap: 1.25rem; padding-right: 1.25rem; align-items: stretch; }
@keyframes rv-slide { to { transform: translateX(-50%); } }
.rv-card {
  width: 22rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--rule);
  box-shadow: 0 8px 24px rgba(30, 30, 28, 0.05);
}
.rv-card__who { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; }
.rv-card__who b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.rv-card__meta { display: block; font-size: 0.875rem; color: var(--muted); }
.rv-avatar {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.125rem;
}
.rv-avatar--green { background: var(--green); color: var(--white); }
.rv-card blockquote { font-size: 1.0625rem; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) {
  .rv-marquee { overflow-x: auto; mask-image: none; }
  .rv-track { animation: none; }
  .rv-set[aria-hidden] { display: none; }
}

/* Services (green) */
.services {
  background: var(--green);
  color: var(--white);
  padding: 3.5rem 0 6rem;
}
.services > .label, .services > .large-body { padding-inline: var(--pad); }
.services > .large-body { margin: 3.5rem 0 5rem; max-width: 64rem; }
.services__wrap { border-top: 1px solid rgba(255, 255, 255, 0.25); margin-inline: var(--pad); padding-inline: 0; padding-top: 1.5rem; row-gap: 1.5rem; }
/* Photo fills the left side beside the list */
.services__photo { grid-column: 1 / span 7; grid-row: 2; min-height: 22rem; margin-right: 2rem; background: var(--bg); }
.services__list { grid-row: 1 / span 2; }
.services__list li { border-bottom: 1px solid rgba(255, 255, 255, 0.25); transition: opacity 500ms var(--ease); }
.services__list a {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 1.25rem;
  font-weight: 500;
}
.services__list li:first-child a { padding-top: 0; }
.services__list .num { justify-self: start; background: var(--orange); color: var(--ink); padding: 0.2rem 0.4rem; letter-spacing: 0.08em; }
.services__list:hover li { opacity: 0.45; }
.services__list li:hover { opacity: 1; }

/* Delivery call-out at the end of the green section */
.delivery { margin-top: 5rem; row-gap: 2rem; align-items: end; }
.delivery__big { grid-column: 1 / span 7; font-family: var(--display); font-weight: 700; font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 1; }
.delivery__big em { font-style: normal; color: var(--orange); }
.delivery__side { display: grid; gap: 1.25rem; justify-items: start; }

/* ---------- Inner pages ---------- */

/* Page header (cream): title bottom-left, blurb and arrow bottom-right */
.page-hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  row-gap: 1.5rem;
  min-height: calc(48svh - var(--header-h));
  padding: 3rem var(--pad) 2rem;
  background: var(--cream);
}
.page-hero > * { grid-row: 2; }
.page-hero > .pair.label { grid-row: 1; grid-column: 1 / -1; justify-self: start; align-self: start; max-width: none; }
.page-hero__title {
  grid-column: 1 / span 7;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
}
.page-hero > .label { grid-column: 9 / span 3; max-width: 18rem; }
.page-hero__arrow { grid-column: 12; justify-self: end; font-size: 1.5rem; line-height: 1; color: var(--orange); }

/* Full-bleed photo slot with parallax */
.media { position: relative; height: 70svh; overflow: hidden; color: var(--white); }
.media__img { position: absolute; inset: -10% 0; background: var(--bg); }
.media__word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13vw;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.16);
}
.media__note { position: absolute; right: var(--pad); bottom: 2rem; color: rgba(255, 255, 255, 0.7); }
.media.tone-orange, .media.tone-cream { color: var(--ink); }
.media.tone-orange .media__word, .media.tone-cream .media__word { color: rgba(30, 30, 28, 0.1); }
.media.tone-orange .media__note, .media.tone-cream .media__note { color: rgba(30, 30, 28, 0.6); }

/* Two-column blocks: heading or label left, content from column 7.
   Each block is a full-width band that starts with a short orange/green stripe,
   and every other band is sand-coloured so sections read apart. */
.block {
  padding-block: 3rem 5rem;
  row-gap: 2rem;
  background: linear-gradient(90deg, var(--orange) 50%, var(--green) 50%) var(--pad) 0 / 4rem 0.3rem no-repeat;
}
main > .block:nth-child(odd) { background-color: var(--cream); }
.block--plain { background-image: none; }
/* Section names in the left column read as headings and stay in view beside long content */
.block > .label.kicker {
  grid-column: 1 / span 5;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}
/* Department photo under the heading (shop page) */
.block:has(.block__photo) { grid-template-rows: auto 1fr; }
.block:has(.block__photo) > .right { grid-row: 1 / span 2; }
.block__photo { grid-column: 1 / span 4; grid-row: 2; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; mix-blend-mode: multiply; }
.h2 {
  grid-column: 1 / span 6;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
}
.block > .label, .block > .h3 { grid-column: 1 / span 3; }
.block > .addr { grid-column: 4 / span 3; }
.right { grid-column: 7 / -1; display: grid; gap: 1.5rem; align-content: start; justify-items: start; }
.right > * { width: 100%; }
.right > .btn, .right > .pair { width: auto; }
.text { font-size: 1.125rem; line-height: 1.6; }
.h3 { font-family: var(--display); font-size: 1.875rem; font-weight: 700; line-height: 1.1; }
.row .h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.tag { display: inline-block; background: var(--white); color: var(--ink); padding: 0.3rem 0.5rem; }
.tag--ended { background: var(--rule); color: var(--muted); }

/* Line masks from SplitText: leave room for descenders and swashes */
.hero__title > div, .page-hero__title > div, .reveal-lines > div { padding-bottom: 0.15em; margin-bottom: -0.15em; }

/* Label/value rows */
.rows { display: grid; }
.row {
  display: grid;
  grid-template-columns: 2fr 4fr;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding: 0.9rem 0 1rem;
}
.row:first-child { border-top: 0; padding-top: 0; }
.row .label { padding-top: 0.3rem; color: var(--green); }
.row a { border-bottom: 1px solid var(--orange); }
.row--price { grid-template-columns: 4fr 2fr; }
.row--price .text:last-child { text-align: right; font-weight: 600; }
.row--step { grid-template-columns: 3rem 1fr; }
.row--step .num { justify-self: start; align-self: start; background: var(--orange); color: var(--ink); padding: 0.2rem 0.4rem; }

/* Expanding lists */
.accordion__item { border-bottom: 1px solid var(--rule); }
.accordion__item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 1.1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
}
.accordion__item:first-child button { padding-top: 0; }
.accordion__caret {
  flex: none;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--orange);
  transition: transform 500ms var(--ease);
}
[aria-expanded="true"] .accordion__caret { transform: rotate(180deg); }
.accordion__panel { height: 0; overflow: hidden; }
.accordion__panel p { padding-bottom: 1.25rem; max-width: 36rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }

/* Map and contact form */
.map { width: 100%; aspect-ratio: 16 / 10; border: 0; background: var(--cream); }
.form { display: grid; gap: 1.5rem; }
.field { display: grid; gap: 0.5rem; }
.field .label { color: var(--green); }
.field input, .field textarea {
  width: 100%;
  border-bottom: 1.5px solid var(--rule);
  padding: 0.5rem 0;
  font-size: 1.125rem;
  outline: none;
  transition: border-color 300ms var(--ease);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--orange); }
.form .btn { justify-self: start; }

/* Footer (beige, revealed from under main) */
.footer {
  position: sticky;
  bottom: 0;
  z-index: 0;
  /* Shorter than the screen by the header, so the sticky header never covers it */
  min-height: calc(100svh - var(--header-h));
  background: var(--paper);
  padding-block: 2.5rem 2rem;
  grid-template-rows: auto 1fr auto;
  row-gap: 2rem;
}
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 0.5rem; background: linear-gradient(90deg, var(--orange) 50%, var(--green) 50%); }
/* Left 7 columns: the map, full height, with the logo card on top.
   Right 5 columns: menu and contact side by side, social links and the line about the store below. */
.f-meta { grid-row: 3; grid-column: 8 / span 5; align-self: end; }
.f-nav { grid-row: 1; grid-column: 8 / span 2; display: flex; flex-direction: column; gap: 2rem; }
.f-nav .nav-list { display: grid; gap: 0.4rem; }
.f-nav .nav-list a { transition: color 300ms var(--ease); }
.f-nav .nav-list a:hover { color: var(--orange); }
.f-order {
  display: flex;
  justify-content: space-between;
  max-width: 15rem;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 0.6rem;
  color: var(--green);
}
.f-map {
  grid-row: 1 / span 3;
  grid-column: 1 / span 7;
  position: relative;
  min-height: 26rem;
  margin-right: 2rem;
  overflow: hidden;
  background: var(--cream);
}
.f-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Sits over the map's own top-left place card; Google's logo and credits along the bottom stay visible */
.f-mark {
  position: absolute;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  width: min(calc(100% - 2rem), 21rem);
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(30, 30, 28, 0.18);
}
.f-mark img { width: 100%; }
.f-map__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; }
.f-map__links a { display: inline-flex; align-items: center; gap: 0.4rem; }
.f-map__links a:hover { color: var(--orange); }
.f-map .stars { font-size: 1rem; }
.f-contact { grid-row: 1 / span 2; grid-column: 10 / span 3; align-self: start; display: grid; gap: 0.75rem; }
.f-contact .kicker { margin-top: 1.25rem; }
.f-contact .kicker:first-child { margin-top: 0; }
.f-handle, .f-yt { grid-row: 2; grid-column: 8 / span 3; align-self: end; }
.f-yt { grid-column: 11 / span 2; }
.f-nav .f-order { max-width: 12.5rem; }
.f-handle:hover, .f-yt:hover, .f-contact a:hover { color: var(--orange); }

/* Tablet and phone: collapse the nav into the burger */
@media (max-width: 1023px) {
  .main-nav, .site-header .btn { display: none; }
  .burger { display: grid; margin-left: auto; }
  .rv-score { grid-column: span 6; }
  .rv-bars { grid-column: span 6; }
  .rv-links { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: center; }
}

/* Phone */
@media (max-width: 767px) {
  :root { --pad: 1.125rem; --header-h: 4.25rem; }
  .col-4, .col-9, .span-3 { grid-column: 1 / -1; }
  .site-header__logo img { height: 2.5rem; }
  .hero__title, .hero__blurb, .hero__cta { grid-column: 1 / -1; }
  .hero__foot { display: flex; justify-content: space-between; }
  .hero__foot .col-9 { display: none; }
  .hero__arc { right: -40vw; bottom: -115vw; width: 150vw; }
  .hero__sun { width: 2.5rem; }
  .depts__list { grid-column: 1 / -1; }
  .depts__list li a { font-size: clamp(2rem, 9vw, 2.75rem); }
  /* The sticky photo card is hidden on phones, so each name gets a small photo instead */
  .depts__list li + li { margin-top: 0.75rem; }
  .depts__list li a { display: flex; align-items: center; gap: 1rem; }
  .depts__list li a::before { content: ""; flex: none; width: 4rem; aspect-ratio: 1; background: var(--img) center / cover; }
  .depts__col { display: none; }
  .depts__head { row-gap: 1rem; margin-bottom: 4rem; }
  .depts__more a { grid-column: 1 / -1; }
  .reviews__head { row-gap: 0.75rem; margin-bottom: 2.5rem; }
  .reviews__head .h2 { grid-column: 1 / -1; }
  .hero__rating { grid-column: 1 / -1; }
  .rv-summary { row-gap: 1rem; margin-bottom: 2.5rem; }
  .rv-score, .rv-bars, .rv-links { grid-column: 1 / -1; }
  .rv-score { grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; }
  .rv-score__src { grid-column: 1 / -1; }
  .rv-score__num { grid-row: 2 / span 2; }
  .rv-links { grid-auto-flow: row; }
  .rv-card { width: 18rem; }
  .services > .large-body { margin: 4rem 0 5rem; }
  .services__wrap { row-gap: 1.5rem; }
  .delivery { margin-top: 5rem; }
  .delivery__big { grid-column: 1 / -1; }
  .page-hero { min-height: 40svh; }
  .block > .label.kicker { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) a { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) a { border-top: 1px solid var(--rule); }
  .services__photo { grid-column: 1 / -1; grid-row: auto; margin-right: 0; min-height: 15rem; }
  .services__list { grid-row: auto; }
  .page-hero > * { grid-row: auto; grid-column: 1 / -1; }
  .page-hero > .label { grid-column: 1 / -1; }
  .page-hero__arrow { justify-self: start; }
  .media { height: 50svh; }
  .block { padding-block: 2.25rem 3.5rem; row-gap: 1.5rem; }
  .block > * { grid-column: 1 / -1 !important; }
  .block:has(.block__photo) { grid-template-rows: none; }
  .block:has(.block__photo) > .right, .block__photo { grid-row: auto; }
  .row { grid-template-columns: 1fr; gap: 0.25rem; }
  .row--price { grid-template-columns: 1fr auto; }
  .row--step { grid-template-columns: 3rem 1fr; }
  /* Taller than the screen here, so a sticky reveal would hide its top; it scrolls normally instead */
  .footer { position: relative; min-height: 0; grid-template-rows: none; row-gap: 1.5rem; }
  .footer > * { grid-row: auto; }
  .f-meta, .f-nav, .f-contact, .f-handle, .f-yt { grid-column: 1 / -1; }
  .f-map { grid-column: 1 / -1; margin: 0.5rem 0; min-height: 30rem; }
  .f-mark { width: min(calc(100% - 2rem), 17rem); padding: 1rem; }
  .cursor { display: none; }
  .slider { cursor: pointer; height: 70svh; }
}
