/* ==========================================================================
   AARCUBE — Kitchens and Cabinets
   Design system + site styles
   Palette derived from the Aarcube logo:
     yellow #FFDE59 · blue #0025CC · red #FF3131 · grey #545454
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand-blue:        #0025CC;
  --brand-blue-deep:   #001B99;
  --brand-blue-tint:   #EEF1FF;
  --brand-yellow:      #FFDE59;
  --brand-red:         #FF3131;
  --brand-grey:        #545454;

  /* Neutrals — warm off-white paper, neutral ink */
  --paper:      #FBFAF8;
  --surface:    #FFFFFF;
  --surface-2:  #F4F2EE;
  --surface-3:  #EBE7E1;
  --ink:        #1B1A18;
  --ink-2:      #545454;
  --ink-3:      #857F78;
  --line:       #E4E0DA;
  --line-strong:#CFC9C1;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing — spacious scale */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;
  --sp-9: 6rem;   --sp-10: 8rem;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1280px;

  /* Shape + depth */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(27,26,24,.05), 0 2px 8px rgba(27,26,24,.04);
  --shadow-2: 0 2px 6px rgba(27,26,24,.06), 0 12px 28px rgba(27,26,24,.07);
  --shadow-3: 0 8px 20px rgba(27,26,24,.08), 0 28px 60px rgba(27,26,24,.10);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 240ms;

  /* Layers.
     The sticky .header creates its own stacking context at --z-header, so the
     nav drawer inside it can never paint above a sibling of <header>. The scrim
     must therefore sit BELOW --z-header, or it swallows every click on the
     mobile menu. */
  --z-scrim: 95; --z-header: 100; --z-menu: 110; --z-fab: 90; --z-modal: 200;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

/* Focus — always visible, never removed */
:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px;
  z-index: 999; padding: .75rem 1.25rem;
  background: var(--brand-blue); color: #fff;
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1560px; }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--surface { background: var(--surface); }
.section--stone { background: var(--surface-2); }

.stack > * + * { margin-top: var(--sp-4); }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Type scale ---------- */
.display   { font-family: var(--font-display); font-size: clamp(2.4rem, 5.1vw, 4.25rem); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; line-height: 1.06; letter-spacing: -.022em; }
.h1        { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.h2        { font-size: clamp(1.9rem, 3.8vw, 3rem); font-variation-settings: "opsz" 72, "SOFT" 0, "WONK" 0; }
.h3        { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.h4        { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.lede      { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); line-height: 1.7; max-width: 62ch; }
.body-lg   { font-size: 1.075rem; color: var(--ink-2); }
.muted     { color: var(--ink-2); }
.small     { font-size: .875rem; color: var(--ink-2); }

/* Eyebrow with the Aarcube 2x2 cube mark */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--sp-4);
}
.cube-mark {
  display: grid; grid-template-columns: 6px 6px; grid-template-rows: 6px 6px;
  gap: 2px; flex: none;
}
.cube-mark i { display: block; border-radius: 1px; }
.cube-mark i:nth-child(1) { background: var(--brand-yellow); }
.cube-mark i:nth-child(2) { background: var(--brand-blue); }
.cube-mark i:nth-child(3) { background: var(--brand-red); }
.cube-mark i:nth-child(4) { background: var(--line-strong); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head .lede { margin-top: var(--sp-4); }

.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-6); max-width: none;
}
@media (max-width: 780px) { .section-head--split { flex-direction: column; align-items: flex-start; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.6rem;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font-size: .95rem; font-weight: 600; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }

.btn--primary { background: var(--brand-blue); color: #fff; box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--brand-blue-deep); box-shadow: var(--shadow-2); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--wa { background: #1FA855; color: #fff; }
.btn--wa:hover { background: #17853F; }

.btn--sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .875rem; }
.btn--block { width: 100%; }

/* Text link with animated arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  color: var(--brand-blue); padding-block: .35rem;
}
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: var(--z-header); background: var(--surface); border-bottom: 1px solid var(--line); }

.utility-bar {
  background: var(--ink); color: rgba(255,255,255,.9);
  font-size: .8rem; letter-spacing: .01em;
}
.utility-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 40px; }
.utility-bar__note { display: flex; align-items: center; gap: .5rem; }
.utility-bar__links { display: flex; align-items: center; gap: var(--sp-5); }
.utility-bar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; padding-block: .5rem; }
.utility-bar a:hover { color: var(--brand-yellow); }
@media (max-width: 860px) { .utility-bar__note { display: none; } .utility-bar__inner { justify-content: center; } }
@media (max-width: 480px) { .utility-bar__links { gap: var(--sp-4); font-size: .75rem; } }

.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: 100px; }

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
/* Sized so the "KITCHENS AND WARDROBES" strapline under the wordmark stays
   readable — it is the smallest text in the logo and sets the floor here. */
.brand img { width: auto; height: 96px; }
@media (max-width: 1080px) { .brand img { height: 84px; } }
@media (max-width: 480px)  { .brand img { height: 68px; } }

.nav { display: flex; align-items: center; gap: var(--sp-2); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  min-height: 44px; padding: .5rem .9rem; border-radius: var(--r-sm);
  font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--ink);
  background: none; border: 0; cursor: pointer;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover { color: var(--brand-blue); background: var(--brand-blue-tint); }
.nav__link[aria-current="page"] { color: var(--brand-blue); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: -2px;
  height: 2px; background: var(--brand-blue); border-radius: 2px;
}
.nav__chev { transition: transform var(--dur) var(--ease); }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0;
  width: min(760px, calc(100vw - 2rem));
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-3);
  padding: var(--sp-6); z-index: var(--z-menu);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__item[data-open="true"] .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.mega__title { font-family: var(--font-sans); font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-3); }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__list a { display: block; padding: .55rem .7rem; margin-left: -.7rem; border-radius: var(--r-sm); text-decoration: none; font-size: .95rem; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.mega__list a:hover { background: var(--brand-blue-tint); color: var(--brand-blue); }
.mega__feature { border-radius: var(--r-md); overflow: hidden; position: relative; text-decoration: none; display: block; }
.mega__feature img { width: 100%; height: 190px; object-fit: cover; transition: transform 500ms var(--ease); }
.mega__feature:hover img { transform: scale(1.05); }
.mega__feature figcaption { position: absolute; inset: auto 0 0 0; padding: var(--sp-5) var(--sp-4) var(--sp-4); color: #fff; font-weight: 600; background: linear-gradient(to top, rgba(0,0,0,.72), transparent); }

/* Mobile nav */
.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }

/* Drawer close button — hidden by default, revealed once the nav goes
   off-canvas below. Declared BEFORE the media query so the override wins. */
.nav-close {
  display: none; position: absolute; top: 1.15rem; right: 1.15rem;
  width: 48px; height: 48px; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer; color: var(--ink);
  transition: background var(--dur) var(--ease);
}
.nav-close:hover { background: var(--surface-3); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(400px, 88vw);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); padding: 5.5rem var(--sp-5) var(--sp-6);
    overflow-y: auto; box-shadow: var(--shadow-3); z-index: var(--z-menu);
    transform: translateX(100%); visibility: hidden;
    transition: transform 320ms var(--ease), visibility 320ms;
  }
  .nav[data-open="true"] { transform: translateX(0); visibility: visible; }
  .nav__link { width: 100%; justify-content: space-between; min-height: 56px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"]::after { display: none; }
  .mega { position: static; width: 100%; transform: none; translate: none; box-shadow: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: var(--sp-4) 0 var(--sp-5); display: none; opacity: 1; visibility: visible; }
  .nav__item[data-open="true"] .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .mega__feature { display: none; }
  .nav-actions .btn--consult { display: none; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(20,18,16,.5); opacity: 0; visibility: hidden; transition: opacity 320ms var(--ease), visibility 320ms; z-index: var(--z-scrim); }
  .nav-scrim[data-open="true"] { opacity: 1; visibility: visible; }
  .nav-close { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__poster { width: 100%; height: 100%; object-fit: cover; }
.hero__vid {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 900ms var(--ease); pointer-events: none;
}
.hero__vid.is-active { opacity: 1; }
/* Lighter scrim so the video stays vibrant — darker only on the left where the
   text sits, clearing to almost nothing on the right, plus a soft foot at the
   bottom to hold the buttons. */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(12,11,10,.68) 0%, rgba(12,11,10,.42) 34%, rgba(12,11,10,.10) 62%, rgba(12,11,10,0) 100%),
    linear-gradient(to top, rgba(12,11,10,.34) 0%, rgba(12,11,10,0) 30%);
}
.hero__inner { position: relative; display: flex; align-items: center; min-height: clamp(540px, 74vh, 720px); padding-block: clamp(4rem, 9vw, 6.5rem); }
/* Text-shadow lets the overlay stay light without losing legibility. */
.hero__content { max-width: 660px; color: #fff; text-shadow: 0 1px 24px rgba(8,7,6,.45), 0 1px 3px rgba(8,7,6,.35); }
.hero__content .eyebrow { color: rgba(255,255,255,.9); }
.hero__content .display { color: #fff; }
.hero__content p { color: #fff; margin-top: var(--sp-5); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-7); }
/* Sits between the headline and the body copy, as a colour rule. */
.hero__cube { display: flex; gap: 6px; margin: 1.85rem 0 0; }
.hero__cube span { width: 34px; height: 5px; border-radius: 3px; }
.hero__cube span:nth-child(1) { background: var(--brand-yellow); }
.hero__cube span:nth-child(2) { background: var(--brand-blue); }
.hero__cube span:nth-child(3) { background: var(--brand-red); }

/* Hero tab card (Wren-style category switcher) */
.hero-tabs {
  position: relative; margin-top: -46px; z-index: 5;
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-3); padding: var(--sp-2);
  display: flex; gap: var(--sp-1); max-width: 640px; margin-inline: auto;
}
.hero-tabs a {
  flex: 1; text-align: center; padding: .95rem .5rem; border-radius: var(--r-md);
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.hero-tabs a:hover { background: var(--brand-blue-tint); color: var(--brand-blue); }
@media (max-width: 560px) { .hero-tabs { flex-direction: column; margin-top: -30px; } }

/* Page hero (interior pages) */
.page-hero { position: relative; background: var(--ink); color: #fff; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,11,10,.82), rgba(12,11,10,.42)); }
.page-hero__inner { position: relative; padding-block: clamp(4.5rem, 11vw, 8rem); max-width: 720px; }
.page-hero .eyebrow { color: rgba(255,255,255,.8); }
.page-hero p { color: rgba(255,255,255,.9); margin-top: var(--sp-4); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; list-style: none; margin: 0 0 var(--sp-5); padding: 0; color: rgba(255,255,255,.7); }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .5rem; opacity: .5; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card__body h3 { font-size: 1.3rem; }
.card__body p { color: var(--ink-2); font-size: .95rem; }
.card__body .link-arrow { margin-top: auto; }

/* Category showcase card — image and title only, so the room is the hero. */
.showcase { position: relative; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; display: block; min-height: 460px; }
.showcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform 700ms var(--ease); }
/* Gradient weighted to the bottom third only — just enough to carry the title. */
.showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,9,8,.86) 0%, rgba(10,9,8,.55) 26%, rgba(10,9,8,.12) 55%, rgba(10,9,8,0) 100%); }
.showcase:hover img { transform: scale(1.05); }
.showcase__body {
  position: relative; z-index: 2; height: 100%; min-height: 460px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-6); color: #fff;
}
.showcase__title {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem); color: #fff; line-height: 1.15;
  text-wrap: balance;
}
.showcase__arrow {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(6px);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.showcase:hover .showcase__arrow { background: #fff; color: var(--ink); border-color: #fff; transform: translateX(4px); }

/* ---------- Bento (factory / "the Aarcube edge") ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 720px) { .bento { grid-template-columns: 1fr; } }
.bento__cell {
  display: grid; grid-template-columns: 40% 1fr; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.bento__cell:hover { box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.bento__cell img { width: 100%; height: 100%; object-fit: cover; min-height: 168px; }
.bento__text { padding: var(--sp-5); display: flex; flex-direction: column; justify-content: center; gap: .4rem; }
.bento__text h3 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 650; letter-spacing: -.01em; }
.bento__text p { font-size: .9rem; color: var(--ink-2); line-height: 1.6; }
.bento__cell:nth-child(1) .bento__text { background: #FFFCF0; }
.bento__cell:nth-child(2) .bento__text { background: #F4F6FF; }
.bento__cell:nth-child(3) .bento__text { background: #FFF5F5; }
.bento__cell:nth-child(4) .bento__text { background: var(--surface-2); }
@media (max-width: 460px) { .bento__cell { grid-template-columns: 1fr; } .bento__cell img { min-height: 150px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }
.stat { display: flex; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-5) var(--sp-5) var(--sp-5) 0; border-bottom: 1px solid var(--line); }
.stats > .stat:nth-child(odd) { padding-right: var(--sp-7); }
.stats > .stat:nth-child(even) { padding-left: var(--sp-7); border-left: 1px solid var(--line); }
@media (max-width: 720px) {
  .stats > .stat:nth-child(even) { padding-left: 0; border-left: 0; }
  .stats > .stat:nth-child(odd) { padding-right: 0; }
}
.stat__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--surface-2); color: var(--brand-blue); }
.stat__value { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.stat__label { font-size: .9rem; color: var(--ink-2); }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: var(--sp-1); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-7); }
.tabs__tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: .85rem 1.15rem; min-height: 48px;
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--brand-blue); border-bottom-color: var(--brand-blue); font-weight: 650; }
.tabs__panel[hidden] { display: none; }

/* Vertical tabs (Sleek "Units & accessories" pattern) */
.vtabs { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .vtabs { grid-template-columns: 1fr; } }
.vtabs__list { display: flex; flex-direction: column; gap: var(--sp-1); }
@media (max-width: 860px) { .vtabs__list { flex-direction: row; overflow-x: auto; padding-bottom: var(--sp-2); scrollbar-width: thin; } }
.vtabs__tab {
  appearance: none; border: 1px solid transparent; background: none; cursor: pointer;
  text-align: left; padding: .95rem 1.15rem; min-height: 52px; border-radius: var(--r-md);
  font-size: 1rem; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.vtabs__tab:hover { background: var(--surface-2); color: var(--ink); }
.vtabs__tab[aria-selected="true"] { background: var(--surface); border-color: var(--line-strong); color: var(--ink); font-weight: 650; box-shadow: var(--shadow-1); }
.vtabs__panel[hidden] { display: none; }

/* Finish swatch */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-4); }
.swatch { border-radius: var(--r-md); overflow: hidden; }
.swatch__chip { aspect-ratio: 4/3; border-radius: var(--r-md); border: 1px solid var(--line); position: relative; }
.swatch__chip span { position: absolute; top: .5rem; right: .6rem; font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(0,0,0,.45); font-style: italic; }
.swatch__chip--gloss::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); background: linear-gradient(115deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 42%); }
.swatch__name { margin-top: .6rem; font-size: .9rem; font-weight: 500; }
.swatch__meta { font-size: .8rem; color: var(--ink-3); }

/* ---------- Before / after slider ---------- */
.ba {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 5; max-width: 620px; margin-inline: auto;
  background: var(--surface-2); box-shadow: var(--shadow-2);
  touch-action: pan-y; cursor: ew-resize; user-select: none;
}
@media (min-width: 900px) { .ba { max-width: none; aspect-ratio: 4 / 5; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__label {
  position: absolute; bottom: 1rem; padding: .4rem .85rem; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(12,11,10,.72); color: #fff; backdrop-filter: blur(6px); pointer-events: none;
}
.ba__label--before { left: 1rem; }
.ba__label--after { right: 1rem; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 3px; background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.14); pointer-events: none;
}
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 52px; height: 52px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231B1A18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 8-4 4 4 4'/%3E%3Cpath d='m14 8 4 4-4 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}
.ba__range:focus-visible ~ .ba__handle::after { outline: 3px solid var(--brand-blue); outline-offset: 3px; }

/* ---------- Gallery ---------- */
.gallery { columns: 3; column-gap: clamp(.75rem, 1.6vw, 1.25rem); }
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }
.gallery figure { break-inside: avoid; margin: 0 0 clamp(.75rem, 1.6vw, 1.25rem); border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--surface-2); }
.gallery img { width: 100%; transition: transform 600ms var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
/* Even grid variant — for a handful of same-subject photos (the factory, the
   showroom) that should line up in tidy rows. Masonry columns leave ragged
   gaps when the set is small or the aspect ratios are mixed. */
.gallery--even {
  columns: auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}
@media (max-width: 900px) { .gallery--even { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery--even { grid-template-columns: 1fr; } }
.gallery--even figure { margin: 0; }
.gallery--even img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: var(--sp-6) var(--sp-4) var(--sp-4);
  color: #fff; font-size: .9rem; font-weight: 500;
  background: linear-gradient(to top, rgba(10,9,8,.8), transparent);
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; transform: translateY(0); }

/* ---------- Process ---------- */
/* auto-fit so three or four steps fill the row evenly instead of leaving a
   phantom column at the end. */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); counter-reset: step; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process__step { position: relative; padding-top: var(--sp-6); border-top: 2px solid var(--line); counter-increment: step; }
.process__step::before {
  content: "0" counter(step);
  position: absolute; top: -.9rem; left: 0; padding-right: .7rem;
  font-family: var(--font-display);
  font-size: 1.05rem; color: var(--brand-blue); font-variation-settings: "wght" 500;
  /* The number sits on the rule, so its backdrop must match the section tone. */
  background: var(--paper);
}
.section--stone   .process__step::before { background: var(--surface-2); }
.section--surface .process__step::before { background: var(--surface); }
.process__step h3 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 650; margin-bottom: .5rem; }
.process__step p { font-size: .9rem; color: var(--ink-2); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split--reverse .split__media { order: 0; } }
.split__media { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3/4; }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 700px) { .founders { grid-template-columns: 1fr; } }
.founder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); }
.founder__initial {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--ink);
  margin-bottom: var(--sp-4);
}
.founder:nth-child(1) .founder__initial { background: var(--brand-yellow); }
.founder:nth-child(2) .founder__initial { background: var(--brand-blue-tint); color: var(--brand-blue); }
.founder h3 { font-size: 1.35rem; }
.founder__role { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: .4rem 0 var(--sp-4); }
.founder p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: 1.4rem 0; min-height: 60px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.2rem); text-align: left;
  color: var(--ink); transition: color var(--dur) var(--ease);
}
.accordion__btn:hover { color: var(--brand-blue); }
.accordion__icon { flex: none; width: 22px; height: 22px; position: relative; }
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.accordion__icon::before { width: 16px; height: 2px; }
.accordion__icon::after { width: 2px; height: 16px; }
.accordion__btn[aria-expanded="true"] .accordion__icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.accordion__panel { padding-bottom: 1.5rem; max-width: 68ch; }
.accordion__panel p { color: var(--ink-2); }
.accordion__panel[hidden] { display: none; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--sp-5); }
.field { display: grid; gap: .45rem; }
.field label { font-size: .9rem; font-weight: 600; }
.field .req { color: var(--brand-red); margin-left: .15rem; }
.field__hint { font-size: .82rem; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 1rem; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23545454' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px var(--brand-blue-tint);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--brand-red); }
.field__error { font-size: .85rem; color: #C51616; display: none; align-items: center; gap: .35rem; }
.field__error[data-show="true"] { display: flex; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.form__status { padding: var(--sp-4); border-radius: var(--r-sm); font-size: .95rem; display: none; }
.form__status[data-show="true"] { display: block; }
.form__status[data-kind="ok"] { background: #EAF7EF; color: #14532D; border: 1px solid #B7E4C7; }
.form__status[data-kind="err"] { background: #FEF0F0; color: #9B1C1C; border: 1px solid #F5C2C2; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(0,37,204,.5), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); margin: var(--sp-4) auto 0; max-width: 54ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-7); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(3.5rem, 7vw, 5.5rem) var(--sp-6); font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h3 { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #fff; margin-bottom: var(--sp-4); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
.footer a:hover { color: var(--brand-yellow); }
/* White-text logo sits straight on the dark footer — no white plate needed. */
.footer__logo { height: 76px; width: auto; margin-bottom: var(--sp-5); }
.footer__blurb { max-width: 34ch; line-height: 1.7; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact svg { flex: none; margin-top: .25rem; color: var(--brand-yellow); }
.footer__social { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; transition: all var(--dur) var(--ease); }
.footer__social a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; font-size: .85rem;
}
.footer__areas { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: var(--sp-4); line-height: 1.8; }

/* ---------- Floating contact ---------- */
.fab { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: var(--z-fab); display: flex; flex-direction: column; gap: .7rem; }
.fab a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-2); text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.fab a:hover { transform: scale(1.08); box-shadow: var(--shadow-3); }
.fab__wa { background: #25D366; }
.fab__call { background: var(--brand-blue); }
@media (min-width: 1081px) { .fab__call { display: none; } }

/* ---------- Reveal on scroll ----------
   Gated on .js so that if JavaScript never runs, every section stays
   visible rather than the whole page rendering blank. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.js .reveal[data-visible="true"] { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
.js .reveal-stagger[data-visible="true"] > * { opacity: 1; transform: none; }
.js .reveal-stagger[data-visible="true"] > *:nth-child(1) { transition-delay: 0ms; }
.js .reveal-stagger[data-visible="true"] > *:nth-child(2) { transition-delay: 70ms; }
.js .reveal-stagger[data-visible="true"] > *:nth-child(3) { transition-delay: 140ms; }
.js .reveal-stagger[data-visible="true"] > *:nth-child(4) { transition-delay: 210ms; }
.js .reveal-stagger[data-visible="true"] > *:nth-child(5) { transition-delay: 280ms; }
.js .reveal-stagger[data-visible="true"] > *:nth-child(6) { transition-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  /* No autoplaying video for people who ask for reduced motion — the poster
     photo stays put behind it. */
  .hero__vid { display: none !important; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.flex-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem;
  border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 500; color: var(--ink-2);
}
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.tick-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .97rem; color: var(--ink-2); }
.tick-list svg { flex: none; margin-top: .3rem; color: var(--brand-blue); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Home page type balance ----------
   On the landing page the section label leads and the headline sits under it,
   so the label steps up two sizes and the headline steps down one.
   Scoped to <body class="home"> — remove the scope to apply site-wide. */
.home .eyebrow { font-size: 1rem; letter-spacing: .11em; margin-bottom: var(--sp-3); }
.home .eyebrow .cube-mark { grid-template-columns: 7px 7px; grid-template-rows: 7px 7px; }
.home .h2 { font-size: clamp(1.6rem, 3.05vw, 2.4rem); }

/* Spacing utilities stay last so component margin resets can't cancel them. */
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mt-8 { margin-top: var(--sp-8); }
.mb-0 { margin-bottom: 0; }

/* ==========================================================================
   PRICE CALCULATOR
   ========================================================================== */

/* Sticky running estimate */
.calc-bar {
  /* --header-h is measured in calculator.js; the site header is sticky at
     top:0, so the bar must dock beneath it rather than slide underneath. */
  position: sticky; bottom: 0; z-index: 60;
  background: var(--ink); color: #fff;
  border-top: 3px solid var(--brand-yellow);
  padding: .85rem var(--gutter);
  box-shadow: 0 2px 12px rgba(27,26,24,.14);
}
.calc-bar__inner {
  max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap;
}
.calc-bar__label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.calc-bar__value { color: var(--brand-yellow); font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.2; }
.calc-bar__hint { font-size: .82rem; opacity: .85; }
@media (max-width: 620px) {
  .calc-bar__inner { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .calc-bar__hint { display: none; }
}

/* Accordion step */
.calc-step { border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--sp-3); }
.calc-step__btn {
  width: 100%; display: flex; align-items: center; gap: var(--sp-4);
  padding: 1.1rem 1.35rem; min-height: 64px;
  background: var(--ink); color: #fff; border: 0; cursor: pointer;
  font-size: .95rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  text-align: left; transition: background var(--dur) var(--ease);
}
.calc-step__btn:hover { background: #000; }
.calc-step__btn[aria-expanded="true"] { background: var(--brand-grey); }
.calc-step__num {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: .78rem; letter-spacing: 0;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
}
.calc-step__btn[data-done="true"] .calc-step__num { background: var(--brand-yellow); color: var(--ink); border-color: var(--brand-yellow); }
.calc-step__title { flex: 1; }
.calc-step__pick {
  font-size: .8rem; font-weight: 500; letter-spacing: 0; text-transform: none;
  opacity: .9; text-align: right; max-width: 45%;
}
.calc-step__chev { flex: none; transition: transform var(--dur) var(--ease); }
.calc-step__btn[aria-expanded="true"] .calc-step__chev { transform: rotate(180deg); }
.calc-step__panel { background: var(--surface); border: 1px solid var(--line); border-top: 0; padding: clamp(1.25rem, 3vw, 2rem); }
.calc-step__panel[hidden] { display: none; }
.calc-step__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.calc-step__q p { font-size: 1.05rem; color: var(--ink); }
.calc-info {
  position: relative;
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: none; border: 1.5px solid var(--brand-grey); color: var(--brand-grey);
  font-family: var(--font-display); font-size: .95rem; line-height: 1;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
/* Keep the mark small but give it a full 44px tap target. */
.calc-info::after { content: ""; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; }
.calc-info:hover, .calc-info[aria-expanded="true"] { background: var(--brand-grey); color: #fff; }
.calc-note {
  background: #FFFBEC; border: 1px solid #F2E4B4;
  border-radius: var(--r-sm); padding: var(--sp-4); margin-bottom: var(--sp-5);
  font-size: .92rem; color: var(--ink-2);
}
.calc-note[hidden] { display: none; }

/* Option cards */
.calc-options { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.calc-options--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
/* Group subheadings inside a step (used to cluster the eight shutters). The
   grid-column span makes each one start a fresh row across the whole grid. */
.calc-group {
  grid-column: 1 / -1; margin: var(--sp-2) 0 calc(-1 * var(--sp-1));
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3);
}
.calc-group:first-child { margin-top: 0; }
.calc-opt { position: relative; display: block; cursor: pointer; }
.calc-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.calc-opt__inner {
  height: 100%; display: flex; flex-direction: column; gap: .55rem;
  background: var(--surface); border: 2px solid var(--line);
  border-radius: var(--r-md); padding: var(--sp-4); overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.calc-opt:hover .calc-opt__inner { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.calc-opt input:focus-visible + .calc-opt__inner { outline: 3px solid var(--brand-blue); outline-offset: 3px; }
.calc-opt input:checked + .calc-opt__inner {
  border-color: var(--brand-grey); background: #FFFBEC; box-shadow: var(--shadow-2);
}
.calc-opt__media { margin: calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)) 0; background: var(--surface-2); }
.calc-opt__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.calc-opt__media--tall img { aspect-ratio: 3 / 4; }
.calc-opt__head { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.calc-opt__name { font-weight: 650; font-size: 1.02rem; letter-spacing: -.01em; }
.calc-opt__meta { font-size: .88rem; color: var(--brand-grey); font-weight: 600; }
.calc-opt__desc { font-size: .89rem; color: var(--ink-2); line-height: 1.55; }
.calc-opt__rate { margin-top: auto; font-size: .84rem; color: var(--ink-3); padding-top: .35rem; }
.calc-opt__badge {
  display: inline-block; align-self: flex-start;
  background: var(--brand-yellow); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .22rem .55rem; border-radius: var(--r-pill);
}
.calc-opt__tick {
  position: absolute; top: .7rem; right: .7rem; width: 26px; height: 26px;
  border-radius: 50%; background: var(--brand-yellow); color: var(--ink);
  display: none; place-items: center; z-index: 2;
}
.calc-opt input:checked ~ .calc-opt__tick { display: grid; }

/* Rupee price-tier indicator */
.tier { display: inline-flex; gap: 3px; flex: none; }
.tier svg { display: block; }
.tier__dot { color: var(--line-strong); }
.tier__dot--on { color: var(--ink); }
.calc-opt input:checked + .calc-opt__inner .tier__dot--on { color: var(--brand-grey); }
/* On cards with no image the name+tier row sits at the very top, right where the
   checked-state tick is. Reserve room on the right so the rupee icons never sit
   under the tick. (Cards with a picture keep the tick over the image, clear of
   the tier below.) */
.calc-opt:not(:has(.calc-opt__media)) .calc-opt__head { padding-right: 2.1rem; }
/* A "Most popular" badge on a no-image card sits on its own line above the name,
   so it also clears the tick. */
.calc-opt:not(:has(.calc-opt__media)) .calc-opt__badge { margin-bottom: .1rem; }

/* Result panel */
.calc-result {
  background: var(--ink); color: #fff; border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; margin-top: var(--sp-7);
}
.calc-result[hidden] { display: none; }
.calc-result h2 { color: #fff; }
.calc-result__figure {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1; margin: var(--sp-5) 0 var(--sp-3); color: var(--brand-yellow);
}
.calc-result__rate { font-size: .95rem; color: rgba(255,255,255,.72); }
.calc-result__summary {
  display: grid; gap: .5rem; max-width: 460px; margin: var(--sp-6) auto 0;
  text-align: left; font-size: .92rem;
}
.calc-result__summary div { display: flex; justify-content: space-between; gap: var(--sp-4); padding-bottom: .5rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.calc-result__summary dt { color: rgba(255,255,255,.62); }
.calc-result__summary dd { margin: 0; text-align: right; font-weight: 500; }
.calc-result__note { font-size: .85rem; color: rgba(255,255,255,.66); max-width: 52ch; margin: var(--sp-5) auto 0; line-height: 1.6; }
.calc-result__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-7); }
.calc-disclaimer { font-size: .85rem; color: var(--ink-3); max-width: 62ch; margin: var(--sp-6) auto 0; text-align: center; }

/* ==========================================================================
   NEW COMPONENTS (icons, circle bullets, mobile menu, back-to-top, video)
   ========================================================================== */

/* ---------- Line icons ----------
   These are plain <img> tags pointing at pre-coloured PNGs in
   assets/img/icons/tinted/. We used to ship one grey PNG per icon and paint it
   with CSS mask-image, but masking renders as nothing at all in some browsers
   — the icon silently disappears — so the brand colour is now baked into the
   file. See the README for how to add a new colour. */
.ico {
  display: inline-block; flex: none;
  width: var(--ico-size, 44px); height: var(--ico-size, 44px);
  object-fit: contain;
}
.ico--sm { --ico-size: 30px; }
.ico--lg { --ico-size: 56px; }

/* Calculator range cards ship two copies of each icon and show the darker one
   once that range is selected. */
.ico-swap { display: inline-flex; }
.ico-swap .ico--on { display: none; }
.calc-opt input:checked + .calc-opt__inner .ico-swap .ico { display: none; }
.calc-opt input:checked + .calc-opt__inner .ico-swap .ico--on { display: inline-block; }

/* Icon on top of a feature (the "Example 1 / 2" pattern) */
.icon-feature { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.icon-feature h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; }
.icon-feature p { font-size: .92rem; color: var(--ink-2); }

/* Icons inside the process steps and the "why us" cards. No filled disc behind
   them, so the line drawing reads as a drawing rather than a coloured dot.
   The four logo colours rotate blue -> red -> yellow -> grey across the steps
   and cards; that rotation is baked into which tinted PNG each one points at,
   so if you reorder the steps, swap the src to match. Brand yellow is far too
   pale for a hairline icon on off-white, so the yellow slot uses a deepened
   version of it (#B8860B) that still reads as the same colour. */
.process__badge {
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.process__badge .ico { --ico-size: 42px; margin: 0; }

/* ---------- Circled tick bullets ---------- */
.tick-list li { align-items: center; gap: .8rem; }
.tick-list .tick-circle {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1.6px solid var(--brand-blue); color: var(--brand-blue);
  display: grid; place-items: center; margin-top: 0;
}
.tick-list .tick-circle svg { width: 13px; height: 13px; }
.calc-opt .tick-list .tick-circle { border-color: var(--brand-grey); color: var(--brand-grey); }

/* ---------- Mobile menu: arrows, explore label, appointment button ---------- */
.nav__cta { display: none; }
.nav__label {
  display: none; font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3); padding: var(--sp-5) 0 var(--sp-2);
}
.nav__arrow { display: none; flex: none; color: var(--brand-blue); }

@media (max-width: 1080px) {
  .nav { padding-top: 6.5rem; }
  .nav__cta { display: flex; width: 100%; margin-bottom: var(--sp-3); }
  .nav__label { display: block; }
  .nav__arrow { display: block; }
  /* Arrow first, label second, chevron last */
  .nav__link { justify-content: flex-start; gap: .9rem; padding-left: 0; }
  .nav__link .nav__chev { margin-left: auto; }
  .nav__item--has-menu .nav__link { font-weight: 500; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; left: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: var(--z-fab);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--ink); color: #fff; border: 0;
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), visibility var(--dur), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.to-top[data-show="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-blue); }

/* ---------- Home video band ---------- */
.video-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
@media (max-width: 780px) { .video-band { grid-template-columns: 1fr; } }
.video-band figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); position: relative; }
.video-band video { width: 100%; height: 100%; display: block; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }
@media (min-width: 781px) { .video-band video { aspect-ratio: 4 / 5; } }
.video-band figcaption {
  position: absolute; inset: auto 0 0 0; padding: var(--sp-6) var(--sp-4) var(--sp-4);
  color: #fff; font-size: .92rem; font-weight: 500;
  background: linear-gradient(to top, rgba(10,9,8,.8), transparent); pointer-events: none;
}

/* ---------- Quick Quote unit strip (home) ---------- */
.quote-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 2vw, 1.5rem); }
@media (max-width: 900px) { .quote-units { grid-template-columns: repeat(2, 1fr); } }
.quote-unit {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; text-align: center; text-decoration: none; display: block;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.quote-unit:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.quote-unit img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; background: #fff; padding: .4rem; }
/* These are spans inside an <a>; without display:block the border-top draws
   straight through the wrapped text. */
.quote-unit__body { display: block; padding: var(--sp-4); border-top: 1px solid var(--line); }
.quote-unit__name { display: block; font-weight: 650; font-size: 1rem; line-height: 1.3; }
.quote-unit__meta { display: block; font-size: .84rem; color: var(--ink-2); margin-top: .3rem; line-height: 1.45; }

/* ---------- Range cards (calculator: text + icon only) ---------- */
.range-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.range-card__tag { font-size: .95rem; font-style: italic; color: var(--ink-2); }

/* ==========================================================================
   MOBILE POLISH — 360px to 430px is where most visitors will be
   ========================================================================== */
@media (max-width: 480px) {
  :root { --gutter: 1.15rem; --section-y: 3.25rem; }
  .display { font-size: clamp(2rem, 9.2vw, 2.5rem); }
  .h1 { font-size: clamp(1.85rem, 8.2vw, 2.25rem); }
  .home .h2, .h2 { font-size: clamp(1.5rem, 6.6vw, 1.9rem); }
  .lede { font-size: 1rem; line-height: 1.65; }
  .section-head { margin-bottom: 1.75rem; }

  /* Roomier tap targets, tighter rhythm */
  .btn { width: 100%; }
  .flex-actions .btn, .cta-band__actions .btn, .hero__cta .btn { width: 100%; }
  .hero__inner { min-height: auto; padding-block: 3.5rem 2.5rem; }
  .hero__cube span { width: 26px; }

  .showcase, .showcase__body { min-height: 300px; }
  .showcase__title { font-size: 1.35rem; }

  .gallery { columns: 1; }
  .process { gap: 1.5rem; }
  .bento__cell { grid-template-columns: 1fr; }
  .founders, .split, .stats { gap: 1.5rem; }
  .cta-band { padding: 1.75rem 1.25rem; border-radius: var(--r-lg); }
  .footer__grid { gap: 1.75rem; }

  /* Calculator */
  .calc-step__btn { padding: .9rem 1rem; gap: .7rem; font-size: .82rem; letter-spacing: .08em; }
  .calc-step__pick { max-width: 38%; font-size: .72rem; }
  .calc-step__panel { padding: 1rem; }
  .calc-options { grid-template-columns: 1fr; }
  .calc-bar { padding: .7rem 1.15rem; }
  .calc-bar__value { font-size: 1.15rem; }
  .calc-result { padding: 1.75rem 1.25rem; }
  .calc-result__figure { font-size: 1.75rem; }

  /* Keep the floating buttons from crowding a small screen */
  .fab a { width: 50px; height: 50px; }
  .to-top { width: 44px; height: 44px; }
}

/* Icon masks — one class per supplied icon */

/* ---------- Range cards (three ranges) ---------- */
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 980px) { .range-grid { grid-template-columns: 1fr; } }
.range-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.range-card:hover { box-shadow: var(--shadow-2); border-color: var(--line-strong); transform: translateY(-3px); }
.range-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 981px) { .range-card__media img { aspect-ratio: 5 / 4; } }
.range-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.range-card__body .calc-opt__badge { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; }
.range__star { color: var(--ink); }
.range-card__tagline { font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); }
.range-card__desc { font-size: .93rem; color: var(--ink-2); line-height: 1.6; }
.range-card__list { margin-top: auto; padding-top: var(--sp-3); }
.range-card__list li { font-size: .9rem; }

/* Floating buttons must clear the calculator's sticky bottom bar. */
.calc-page .fab { bottom: calc(clamp(1rem, 3vw, 1.75rem) + 84px); }
.calc-page .to-top { bottom: calc(clamp(1rem, 3vw, 1.75rem) + 84px); }
@media (max-width: 480px) {
  .calc-page .fab { bottom: calc(1rem + 76px); }
  .calc-page .to-top { bottom: calc(1rem + 76px); }
}

/* Comfortable tap targets on phones — footer and inline links are the worst
   offenders at default type sizes. */
@media (max-width: 700px) {
  .footer ul li a,
  .footer__contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer ul { gap: .1rem; }
  .footer__contact li { align-items: center; }
  .link-arrow { min-height: 44px; }
  .utility-bar a { min-height: 44px; }
  .mega__list a { min-height: 44px; display: flex; align-items: center; }
  .footer__bottom { gap: .6rem; }
}

/* ==========================================================================
   Picture carousel
   Swipe on touch, arrows on desktop. Built on native scroll-snap so the
   swipe gesture and momentum come from the browser rather than JavaScript —
   it keeps the markup meaningful and works if the script never loads.
   ========================================================================== */
.carousel { position: relative; }
.carousel__viewport {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; border-radius: inherit;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 100%; scroll-snap-align: center; position: relative;
  display: block; min-width: 0;
}
.carousel__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Arrows sit centred on the image edges. */
.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--ink);
  box-shadow: 0 2px 10px rgba(10,9,8,.22);
  transition: opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}
.carousel__nav:hover { background: #fff; }
.carousel__nav--prev { left: .6rem; }
.carousel__nav--next { right: .6rem; }
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }
.carousel__nav svg { width: 19px; height: 19px; }

/* Counter pill, so it's obvious there is more than one picture. */
.carousel__count {
  position: absolute; right: .6rem; bottom: .6rem; z-index: 3;
  padding: .2rem .55rem; border-radius: 999px;
  background: rgba(10,9,8,.62); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  pointer-events: none;
}

/* Variant: controls sit under the picture instead of over it. */
.carousel--below .carousel__nav {
  position: static; transform: none; background: var(--surface-2);
  box-shadow: none; border: 1px solid var(--line);
}
.carousel--below .carousel__nav[disabled] { opacity: .35; pointer-events: none; }
.carousel__controls {
  display: none; align-items: center; justify-content: center;
  gap: var(--sp-3); margin-top: var(--sp-4);
}
.carousel--below .carousel__controls { display: flex; }
.carousel--below .carousel__count {
  position: static; background: none; color: var(--ink-soft);
  font-size: .85rem; letter-spacing: .06em;
}

/* Only one picture in this set — hide the controls entirely. */
.carousel[data-count="1"] .carousel__nav,
.carousel[data-count="1"] .carousel__count,
.carousel[data-count="1"] .carousel__controls { display: none; }

@media (max-width: 560px) {
  .carousel__nav { width: 34px; height: 34px; }
  .carousel__nav--prev { left: .4rem; }
  .carousel__nav--next { right: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__viewport { scroll-behavior: auto; }
}

/* Carousel inside a showcase card (home "Where would you like to start?").
   The card's own absolute-image scheme is replaced by an in-flow carousel,
   with the caption bar floated back over the bottom of the picture. */
.showcase--carousel { min-height: 0; }
.showcase--carousel::after { display: none; }
.showcase--carousel .carousel { border-radius: inherit; }
.showcase--carousel .carousel__viewport { height: 460px; }
.showcase--carousel .carousel__slide img { position: static; inset: auto; height: 100%; }
.showcase--carousel .showcase__body {
  position: absolute; inset: auto 0 0 0; min-height: 0; z-index: 4;
  pointer-events: none;
  /* Lighter than before so more of the picture reads through the caption. */
  background: linear-gradient(to top, rgba(10,9,8,.66) 0%, rgba(10,9,8,.32) 55%, rgba(10,9,8,0) 100%);
}
.showcase--carousel .showcase__link {
  pointer-events: auto; display: flex; align-items: flex-end;
  justify-content: space-between; gap: var(--sp-4);
  width: 100%; text-decoration: none; color: #fff;
}
.showcase--carousel:hover .carousel__slide img { transform: none; }
@media (max-width: 900px) { .showcase--carousel .carousel__viewport { height: 400px; } }
@media (max-width: 560px) { .showcase--carousel .carousel__viewport { height: 340px; } }

/* Carousel inside a range card / custom category card. */
.range-card__media .carousel__slide img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 981px) { .range-card__media .carousel__slide img { aspect-ratio: 5 / 4; } }

/* Arrows-only variant: used where a horizontal drag already means something
   else (the before/after handle), so touch must not also scroll the track. */
.carousel--arrows-only .carousel__viewport { touch-action: pan-y; }

/* Custom category heading: label first, icon sitting beside it. */
.range-card__tagline { display: flex; align-items: center; gap: .55rem; }
.range-card__tagline .ico { --ico-size: 26px; flex: none; }

/* Wide showroom carousel — taller, fills the content column. */
.carousel--wide .carousel__viewport { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.carousel--wide .carousel__slide img { height: 100%; }
@media (max-width: 560px) { .carousel--wide .carousel__viewport { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   Our Story — founder's note
   ========================================================================== */
/* Two columns: Jenitha's portrait travels alongside the note, which keeps the
   prose to a comfortable measure and stops it reading as one wall of text. */
.founder-note {
  display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 38rem);
  gap: clamp(2rem, 5vw, 4.5rem); justify-content: center; align-items: start;
}
@media (max-width: 940px) {
  .founder-note { grid-template-columns: minmax(0, 38rem); justify-content: center; }
}

/* ---- Portrait column ---- */
.founder-note__side { position: sticky; top: 7.5rem; }
@media (max-width: 940px) { .founder-note__side { position: static; max-width: 22rem; } }
.founder-note__portrait {
  margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2);
}
.founder-note__portrait img { display: block; width: 100%; height: auto; }
.founder-note__id { margin-top: var(--sp-5); }
.founder-note__name {
  display: block; font-family: var(--font-display);
  font-size: 1.3rem; color: var(--ink);
}
.founder-note__role {
  display: block; margin-top: .2rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3);
}
/* Three plain facts, so the eye has somewhere to rest before the prose. */
.founder-facts {
  margin: var(--sp-5) 0 0; padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  display: grid; gap: var(--sp-3);
}
.founder-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); }
.founder-facts dt {
  font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-3);
}
.founder-facts dd { margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink); text-align: right; }

/* ---- The note ---- */
/* One typeface, one colour, one size throughout — the pull-quote below is the
   single deliberate exception. */
.founder-note__body .section-head { margin-bottom: var(--sp-6); max-width: none; }
.founder-note__body p {
  font-family: var(--font-sans);
  font-size: 1.02rem; line-height: 1.78; color: var(--ink-2);
}
.founder-note__body p + p { margin-top: var(--sp-5); }

/* The one highlighted passage — why Aarcube exists at all. */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.35; color: var(--ink);
  margin: var(--sp-7) 0; padding: var(--sp-5) var(--sp-6);
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--brand-blue-tint);
  text-wrap: balance;
}

.founder-note__aside {
  margin-top: var(--sp-7); padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}
.founder-note__aside h3 {
  font-family: var(--font-sans); font-weight: 650;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: var(--sp-4);
}

/* ==========================================================================
   Blog — index cards and article pages
   ========================================================================== */

/* ---------- Post cards (blog index + "keep reading") ---------- */
.post-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.post-card { display: flex; flex-direction: column; gap: var(--sp-4); }
.post-card__media {
  display: block; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface-2);
}
.post-card__media img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform 600ms var(--ease);
}
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; gap: var(--sp-3); }
.post-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--ink-3);
}
.post-card__kicker {
  font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
  font-size: .72rem; color: var(--brand-blue);
}
.post-card__title { font-size: 1.35rem; line-height: 1.25; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--brand-blue); }
/* The whole card is clickable via the title link's stretched hit area. */
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card__excerpt { color: var(--ink-2); font-size: .95rem; }
.post-card .link-arrow { margin-top: auto; }

/* Featured card — image beside the words on wide screens. */
@media (min-width: 860px) {
  .post-card--featured { flex-direction: row; align-items: center; gap: clamp(2rem, 4vw, 3.5rem); }
  .post-card--featured .post-card__media { flex: 1 1 58%; }
  .post-card--featured .post-card__media img { aspect-ratio: 16 / 10; }
  .post-card--featured .post-card__body { flex: 1 1 42%; }
  .post-card--featured .post-card__title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-family: var(--font-display); font-weight: 400; }
  .post-card--featured .post-card__excerpt { font-size: 1.05rem; }
}

/* ---------- Article page ---------- */
.post-hero { background: var(--ink); color: #fff; padding-top: clamp(2.5rem, 6vw, 4rem); }
.post-hero .h1 { color: #fff; max-width: 20ch; }
.post-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.66); margin-bottom: var(--sp-4);
}
.post-hero__meta .post-card__kicker { color: var(--brand-yellow); }
.breadcrumb--dark { color: rgba(255,255,255,.7); }
/* The photo straddles the dark hero and the page below it. */
.post-hero__media {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0; border-radius: var(--r-lg); overflow: hidden;
  transform: translateY(clamp(2rem, 5vw, 4rem));
}
.post-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.section--post { padding-top: clamp(5rem, 10vw, 8rem); }

/* Prose. One typeface, one colour, generous line height — the pull-quote is
   the only thing allowed to break out. */
.post > p, .post > ul, .post > ol {
  font-size: 1.05rem; line-height: 1.8; color: var(--ink-2);
}
.post > p + p { margin-top: var(--sp-5); }
.post__lead { font-size: 1.18rem !important; color: var(--ink) !important; }
.post h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 1.95rem); line-height: 1.25; color: var(--ink);
  margin: var(--sp-8) 0 var(--sp-4); text-wrap: balance;
}
.post h2:first-child { margin-top: 0; }
.post strong { color: var(--ink); font-weight: 650; }
.post .tick-list { margin-bottom: var(--sp-6); }
.post .tick-list li { color: var(--ink-2); line-height: 1.65; align-items: flex-start; }
.post .tick-list .tick-circle { margin-top: .18rem; }
.post .pull-quote { margin-block: var(--sp-8); }

/* Byline at the foot of each article. */
.post__sign {
  display: flex; gap: var(--sp-5); align-items: flex-start;
  margin-top: var(--sp-8); padding-top: var(--sp-7);
  border-top: 1px solid var(--line);
}
.post__sign img {
  flex: none; width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; object-position: 50% 18%;
}
.post__sign-name { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.post__sign-role {
  display: block; margin-top: .15rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-3);
}
.post__sign p { margin-top: var(--sp-3); font-size: .95rem; color: var(--ink-2); }
@media (max-width: 560px) {
  .post__sign { flex-direction: column; }
}
