/* ============================================================
   MR CABINETS — Premium monochrome site
   Black & white. Australian-made joinery since 1979.
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-r12.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("/assets/fonts/fraunces-normal-latin-r12.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin-r12.woff2") format("woff2");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
img, picture, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  --black:   #000000;
  --ink:     #0a0a0a;
  --ink-2:   #161616;
  --white:   #ffffff;
  --paper:   #f6f5f3;   /* barely-warm white for large fields */
  --g-50:    #f3f3f1;
  --g-100:   #e9e9e6;
  --g-200:   #d8d8d4;
  --g-400:   #9a9a96;
  --g-500:   #6e6e6a;
  --g-600:   #4a4a47;
  --line:    rgba(10,10,10,.12);
  --line-2:  rgba(10,10,10,.07);
  --line-d:  rgba(255,255,255,.16);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(4.5rem, 11vw, 9.5rem);
  --radius: 2px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --header-h: 84px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 999;
  padding: .75rem 1rem;
  background: #fff;
  color: #000;
  font-weight: 600;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

h1, h2, h3, h4 { line-height: 1.04; font-weight: 600; letter-spacing: -0.02em; }

.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; }
em { font-style: italic; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1480px; }
.section { padding-block: var(--section-y); }
.bleed { padding-inline: var(--gutter); }

.eyebrow {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-weight: 600;
  color: var(--g-500);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5;
}
.eyebrow--center { justify-content: center; }
.eyebrow--bare::before { display: none; }
.section-links { margin-top: 2rem; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.6rem);
}
.h-section {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem);
}
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--g-600); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1.05em 1.9em;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform .5s var(--ease-out), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .5s var(--ease-out);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn .ico { transition: transform .45s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -20px rgba(0,0,0,.55); }
.btn:hover .ico { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn--light { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn--outline-light { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.5); }
.btn--outline-light:hover { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn--block { width: 100%; }

.txtlink {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
  transition: gap .4s var(--ease-out), opacity .3s;
}
.txtlink:hover { gap: 1em; }

/* ---------- Logo wordmark ---------- */
.logo {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.045em;
  font-size: 1.5rem;
  line-height: 1;
  color: currentColor;
  display: inline-flex;
  align-items: flex-start;
  text-transform: lowercase;
  white-space: nowrap;
}
.logo sup { font-size: .42em; font-weight: 700; letter-spacing: 0; margin-left: .12em; margin-top: .15em; }
.logo--lg { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.logo--xl { font-size: clamp(3rem, 14vw, 11rem); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--ink); color: var(--white);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar__list { display: flex; gap: 1.6rem; color: rgba(255,255,255,.72); }
.topbar__list li { display: flex; align-items: center; gap: .5em; }
.topbar a:hover { color: #fff; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); }

.header {
  position: sticky; top: 0; z-index: 100;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
body.nav-open .header { z-index: 120; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: clamp(1rem, 2.5vw, 2.5rem); flex-wrap: nowrap; }
.header__brand { color: var(--white); transition: color .45s var(--ease); z-index: 2; flex: none; }
.nav { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(.85rem, 1.7vw, 1.9rem); }
.nav a {
  font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.85);
  position: relative; padding-block: .4rem; white-space: nowrap; transition: color .35s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: currentColor;
  transition: width .4s var(--ease-out);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: clamp(.9rem, 1.5vw, 1.4rem); flex: none; }
.header__phone { color: rgba(255,255,255,.85); font-weight: 600; font-size: .85rem; letter-spacing: .02em; display: flex; align-items: center; gap: .5em; white-space: nowrap; }
.header__phone:hover { color: #fff; }

/* scrolled / solid state */
.header.is-solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.header.is-solid .header__brand { color: var(--ink); }
.header.is-solid .nav a { color: var(--g-600); }
.header.is-solid .nav a:hover { color: var(--ink); }
.header.is-solid .header__phone { color: var(--g-600); }
.header.is-solid .header__phone:hover { color: var(--ink); }
.header.is-solid .btn--outline-light { --fg: var(--ink); --bd: var(--line); }
.header.is-solid .btn--outline-light:hover { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.header.is-solid .burger span { background: var(--ink); }

/* burger */
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), opacity .3s, top .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.nav-open .burger span { background: #fff; }
body.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* mobile nav panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: 110; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav ul { display: flex; flex-direction: column; gap: .2rem; }
.mobile-nav a { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -.02em; padding-block: .25rem; opacity: .9; }
.mobile-nav a:hover { opacity: 1; padding-left: .4rem; transition: padding .35s var(--ease-out); }
.mobile-nav__foot { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid var(--line-d); padding-top: 1.8rem; }
.mobile-nav__foot a { font-size: .95rem; letter-spacing: .04em; opacity: .8; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; margin-top: calc(var(--header-h) * -1); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.18) 50%, rgba(0,0,0,0) 78%),
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.16) 30%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.88) 100%);
}
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 2rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero__eyebrow { color: rgba(255,255,255,.82); margin-bottom: 1.6rem; }
.hero__eyebrow::before { background: rgba(255,255,255,.7); }
.hero h1 { font-family: var(--serif); font-weight: 300; letter-spacing: -.03em; line-height: .98; font-size: clamp(2.7rem, 1rem + 7.2vw, 6.4rem); max-width: 16ch; text-shadow: 0 2px 44px rgba(0,0,0,.45); }
.hero h1 em { font-style: italic; }
.hero__sub { margin-top: 1.6rem; max-width: 46ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.28rem); color: rgba(255,255,255,.94); line-height: 1.55; text-shadow: 0 1px 26px rgba(0,0,0,.45); }
.hero__cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__foot { margin-top: clamp(2.5rem, 6vw, 4.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.4rem; border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.6rem; }
.hero__tv { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.hero__tv-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .26em; color: rgba(255,255,255,.6); }
.hero__tv-names { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.hero__tv-names span { font-weight: 600; font-size: .95rem; letter-spacing: .02em; color: rgba(255,255,255,.92); }
.scrollcue { margin-left: auto; display: inline-flex; align-items: center; gap: .7em; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.scrollcue .line { width: 46px; height: 1px; background: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.scrollcue .line::after { content: ""; position: absolute; left: -40%; top: 0; width: 40%; height: 100%; background: #fff; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { left: -40%; } 60%,100% { left: 110%; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--ink); color: rgba(255,255,255,.85); border-block: 1px solid var(--line-d); overflow: hidden; }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item { display: inline-flex; align-items: center; gap: .9rem; padding: 1.15rem 2.2rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 500; white-space: nowrap; }
.marquee__item .star { font-size: 1.1em; color: rgba(255,255,255,.45); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   INTRO + STATS
   ============================================================ */
.intro__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); }
.intro__statement { max-width: 22ch; }
.intro__statement .h-section { font-size: clamp(1.8rem, 1.1rem + 3.4vw, 3.6rem); }
.intro__body { max-width: 52ch; display: flex; flex-direction: column; gap: 1.4rem; }
.intro__body p { color: var(--g-600); }
.sign { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.stat { background: var(--white); padding: clamp(1.6rem, 3vw, 2.6rem); }
.stat__num { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); line-height: 1; letter-spacing: -.03em; }
.stat__num .unit { font-size: .42em; vertical-align: super; margin-left: .05em; }
.stat__label { margin-top: .8rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--g-500); font-weight: 600; }

/* ============================================================
   SECTION HEADER (shared)
   ============================================================ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.sec-head__main { max-width: 40ch; }
.sec-head .eyebrow { margin-bottom: 1.2rem; }
.sec-head__lead { max-width: 42ch; color: var(--g-600); }

/* ============================================================
   CRAFT (categories)
   ============================================================ */
.craft__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.craft-card {
  position: relative; overflow: hidden; background: var(--g-50); border-radius: var(--radius);
  display: flex; flex-direction: column; min-height: 420px; color: #fff; isolation: isolate;
}
.craft-card__img { position: absolute; inset: 0; z-index: -2; }
.craft-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.craft-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.0) 35%, rgba(0,0,0,.78) 100%); transition: background .5s var(--ease); }
.craft-card:hover .craft-card__img img { transform: scale(1.05); }
.craft-card:hover::after { background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,.85) 100%); }
.craft-card__body { margin-top: auto; padding: clamp(1.5rem, 2.5vw, 2.2rem); }
.craft-card__index { font-size: .72rem; letter-spacing: .2em; opacity: .7; font-weight: 600; }
.craft-card__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-top: .4rem; }
.craft-card__desc { margin-top: .7rem; font-size: .95rem; color: rgba(255,255,255,.82); max-width: 34ch; line-height: 1.5; }
.craft-card__more { margin-top: 1.2rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; display: inline-flex; align-items: center; gap: .5em; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease-out); }
.craft-card:hover .craft-card__more { opacity: 1; transform: none; }
.craft-card--tall { min-height: 540px; }
.craft-card--wide { grid-column: 1 / -1; }

/* ============================================================
   FEATURE (split blocks)
   ============================================================ */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; }
.feature__media { position: relative; overflow: hidden; min-height: 420px; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__media .tag { position: absolute; left: 1.4rem; top: 1.4rem; background: rgba(0,0,0,.7); color: #fff; backdrop-filter: blur(4px); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; padding: .5em .9em; border-radius: var(--radius); }
.feature__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.2rem, 6vw, 5.5rem); background: var(--paper); }
.feature--dark .feature__body { background: var(--ink); color: #fff; }
.feature--dark .feature__body .lead, .feature--dark .feature__body p { color: rgba(255,255,255,.78); }
.feature--dark .eyebrow { color: rgba(255,255,255,.6); }
.feature--flip .feature__media { order: 2; }
.feature__body h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); margin-block: 1.1rem 1.2rem; }
.feature__list { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .9rem; }
.feature__list li { display: flex; gap: .9rem; align-items: flex-start; font-size: .98rem; }
.feature__list .chk { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; opacity: .8; margin-top: 2px; }
.feature__list .chk svg { width: 11px; height: 11px; }
.feature__cta { margin-top: 2.2rem; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--ink); color: #fff; }
.process .eyebrow { color: rgba(255,255,255,.6); }
.process .sec-head__lead { color: rgba(255,255,255,.7); }
.process__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.pstep { background: var(--ink); padding: clamp(1.6rem, 2.4vw, 2.4rem); display: flex; flex-direction: column; gap: 1rem; min-height: 260px; transition: background .5s var(--ease); }
.pstep:hover { background: var(--ink-2); }
.pstep__num { font-family: var(--serif); font-weight: 300; font-size: 1.4rem; color: rgba(255,255,255,.4); }
.pstep__icon { width: 34px; height: 34px; color: #fff; }
.pstep__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; }
.pstep__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; margin-top: auto; }
.pstep__desc { font-size: .88rem; color: rgba(255,255,255,.62); line-height: 1.5; }

/* ============================================================
   HERITAGE
   ============================================================ */
.heritage__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.heritage__media { position: relative; }
.heritage__media img { width: 100%; height: auto; filter: grayscale(1) contrast(1.04); border-radius: var(--radius); }
.heritage__badge { position: absolute; right: -10px; bottom: -10px; background: var(--ink); color: #fff; padding: 1.2rem 1.5rem; border-radius: var(--radius); max-width: 200px; }
.heritage__badge .y { font-family: var(--serif); font-weight: 300; font-size: 2.4rem; line-height: 1; }
.heritage__badge .t { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7); margin-top: .4rem; }
.timeline { margin-top: 2.4rem; display: flex; flex-direction: column; }
.tl-item { display: grid; grid-template-columns: 84px 1fr; gap: 1.4rem; padding-block: 1.2rem; border-top: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year { font-family: var(--serif); font-weight: 300; font-size: 1.5rem; letter-spacing: -.02em; }
.tl-text h4 { font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
.tl-text p { font-size: .92rem; color: var(--g-600); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--paper); }
.gallery__grid { columns: 3; column-gap: clamp(.8rem, 1.5vw, 1.2rem); }
.gitem { break-inside: avoid; margin-bottom: clamp(.8rem, 1.5vw, 1.2rem); position: relative; overflow: hidden; border-radius: var(--radius); display: block; background: var(--g-100); }
.gitem img { width: 100%; transition: transform 1s var(--ease-out); }
.gitem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.6) 100%); opacity: 0; transition: opacity .45s var(--ease); }
.gitem__cap { position: absolute; left: 1.1rem; bottom: 1rem; right: 1.1rem; color: #fff; z-index: 2; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .5s var(--ease-out); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gitem__cap .name { font-weight: 600; letter-spacing: .02em; font-size: .95rem; }
.gitem__cap .arrow { width: 18px; height: 18px; }
.gitem:hover img { transform: scale(1.05); }
.gitem:hover::after { opacity: 1; }
.gitem:hover .gitem__cap { opacity: 1; transform: none; }

/* ============================================================
   TV / PRESS
   ============================================================ */
.press { background: var(--ink); color: #fff; }
.press__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.press__media { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-d); }
.press__media--video { aspect-ratio: 16 / 9; background: #000; isolation: isolate; }
.press__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.press__media iframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; }
.press__media .play { position: absolute; inset: 0; z-index: 2; display: grid; width: 100%; height: 100%; place-items: center; color: #fff; transition: opacity .25s var(--ease); }
.press__media .play span { width: 74px; height: 74px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; background: rgba(0,0,0,.32); backdrop-filter: blur(2px); transition: transform .25s var(--ease), background .25s var(--ease); }
.press__media .play:hover span { transform: scale(1.06); background: rgba(0,0,0,.5); }
.press__media .play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.press__media.is-loading .play span { animation: press-play-pulse 1s ease-in-out infinite alternate; }
.press__media.is-playing .play { opacity: 0; pointer-events: none; }
.press__video-fallback { position: absolute; inset: auto 1rem 1rem; z-index: 2; display: block; padding: .7rem 1rem; background: rgba(0,0,0,.8); color: #fff; text-align: center; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@keyframes press-play-pulse { to { transform: scale(.92); background: rgba(0,0,0,.55); } }
.press__shows { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2rem; }
.press__show { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem,1rem+1.4vw,2rem); opacity: .9; }
.press .eyebrow { color: rgba(255,255,255,.6); }
.press p { color: rgba(255,255,255,.74); }
.press__awards { margin-top: 2.6rem; padding-top: 1.9rem; border-top: 1px solid var(--line-d); }
.press .press__awards-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .24em; color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: .9rem; }
.award { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding-block: .6rem; }
.award + .award { border-top: 1px solid rgba(255,255,255,.08); }
.award__t { font-weight: 600; font-size: 1.02rem; color: rgba(255,255,255,.92); letter-spacing: -.01em; }
.award__y { font-family: var(--serif); font-weight: 300; font-size: 1.35rem; color: rgba(255,255,255,.85); flex: none; }
.press .award__note { margin-top: .9rem; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ============================================================
   VALUE / WHY
   ============================================================ */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-card { background: var(--white); padding: clamp(1.8rem, 3vw, 2.8rem); display: flex; flex-direction: column; gap: 1rem; min-height: 240px; transition: background .4s var(--ease); }
.why-card:hover { background: var(--g-50); }
.why-card__icon { width: 36px; height: 36px; color: var(--ink); }
.why-card__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; }
.why-card h4 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; margin-top: .4rem; }
.why-card p { font-size: .93rem; color: var(--g-600); line-height: 1.55; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { background: var(--paper); }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.4rem; }
.quote__stars { display: flex; gap: .2rem; color: var(--ink); }
.quote__stars svg { width: 16px; height: 16px; }
.quote__text { font-family: var(--serif); font-weight: 300; font-size: 1.2rem; line-height: 1.45; letter-spacing: -.01em; }
.quote__by { margin-top: auto; display: flex; align-items: center; gap: .9rem; }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.quote__by .n { font-weight: 600; font-size: .9rem; }
.quote__by .l { font-size: .78rem; color: var(--g-500); }

/* proof / verifiable trust block */
.proof { max-width: 880px; margin-inline: auto; text-align: center; }
.proof__rating { display: inline-flex; align-items: center; gap: 1rem; padding: .85rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 100px; }
.proof__stars { display: inline-flex; gap: .15rem; color: var(--ink); }
.proof__stars svg { width: 18px; height: 18px; }
.proof__rating-text { text-align: left; line-height: 1.25; }
.proof__rating-text strong { display: block; font-weight: 700; font-size: .95rem; letter-spacing: -.01em; }
.proof__rating-text > span { font-size: .8rem; color: var(--g-500); }
.proof__rating-text a { color: var(--g-600); border-bottom: 1px solid var(--line); }
.proof__rating-text a:hover { color: var(--ink); border-color: var(--ink); }
.proof__quote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3rem); line-height: 1.22; letter-spacing: -.02em; margin-top: clamp(2rem, 4vw, 3rem); }
.proof__by { margin-top: 1.6rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: var(--g-500); font-weight: 600; }
.proof__cta { margin-top: 2.4rem; }
.proof__cta .txtlink { color: var(--ink); }

/* reviews header + badge */
.sec-head--reviews { align-items: center; }
.reviews-badge { display: inline-flex; align-items: center; gap: .9rem; padding: .8rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: 100px; flex: none; }
.reviews-badge__text { line-height: 1.25; }
.reviews-badge__text strong { display: block; font-weight: 700; font-size: .92rem; letter-spacing: -.01em; }
.reviews-badge__text > span { font-size: .78rem; color: var(--g-500); }
.reviews-badge__text a { color: var(--g-600); border-bottom: 1px solid var(--line); }
.reviews-badge__text a:hover { color: var(--ink); border-color: var(--ink); }

/* review cards — masonry */
.reviews-grid { columns: 3; column-gap: clamp(1rem, 2vw, 1.5rem); }
.rcard { break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 2.4vw, 2.1rem); display: flex; flex-direction: column; gap: 1.2rem; transition: border-color .4s var(--ease), transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.rcard:hover { border-color: var(--g-400); transform: translateY(-3px); box-shadow: 0 24px 50px -34px rgba(0,0,0,.5); }
.rcard__top { display: flex; align-items: center; justify-content: space-between; }
.rcard__stars { display: inline-flex; gap: .15rem; color: var(--ink-2); }
.rcard__stars svg { width: 15px; height: 15px; }
.rcard__g { width: 20px; height: 20px; color: var(--g-500); flex: none; }
.rcard__lead { font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); line-height: 1.25; letter-spacing: -.015em; color: var(--ink); }
.rcard__lead + .rcard__text { margin-top: -.4rem; }
.rcard__text { font-size: .94rem; line-height: 1.6; color: var(--g-600); }
.rcard__by { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.rcard__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; flex: none; }
.rcard__id { display: flex; flex-direction: column; line-height: 1.3; }
.rcard__id .n { font-weight: 600; font-size: .92rem; letter-spacing: -.01em; }
.rcard__id .m { font-size: .76rem; color: var(--g-500); }
.reviews-foot { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; margin-top: clamp(2rem, 4vw, 3rem); }
.reviews-foot .txtlink { color: var(--ink); }

@media (max-width: 1024px) { .reviews-grid { columns: 2; } }
@media (max-width: 640px) {
  .reviews-grid { columns: 1; }
  .sec-head--reviews .reviews-badge { margin-top: .4rem; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.5rem 0; font-size: clamp(1.02rem,1rem+.3vw,1.18rem); font-weight: 600; letter-spacing: -.01em; }
.faq-q .pm { flex: none; width: 24px; height: 24px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--ink); transition: transform .4s var(--ease); }
.faq-q .pm::before { top: 11px; left: 3px; right: 3px; height: 1.5px; }
.faq-q .pm::after { left: 11px; top: 3px; bottom: 3px; width: 1.5px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.faq-a__inner { padding-bottom: 1.6rem; color: var(--g-600); max-width: 60ch; }

/* ============================================================
   CTA / LEAD
   ============================================================ */
.cta { position: relative; color: #fff; overflow: hidden; }
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.45) 100%); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.cta h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); line-height: 1.02; }
.cta__sub { margin-top: 1.4rem; color: rgba(255,255,255,.82); max-width: 42ch; font-size: 1.1rem; }
.cta__points { margin-top: 2rem; display: flex; flex-direction: column; gap: .8rem; }
.cta__points li { display: flex; gap: .8rem; align-items: center; color: rgba(255,255,255,.9); font-size: .98rem; }
.cta__points svg { width: 18px; height: 18px; flex: none; }

/* form card */
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(1.8rem, 3vw, 2.6rem); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.form-card h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.form-card p.sm { color: var(--g-500); font-size: .9rem; margin-top: .4rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--g-500); margin-bottom: .5rem; }
.field-help { margin-top: .45rem; color: var(--g-500); font-size: .76rem; line-height: 1.45; }
.field-status { display: none; margin-top: .45rem; color: #a33e1b; font-size: .78rem; line-height: 1.45; }
.field-status:not(:empty) { display: block; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9em 1em; background: var(--g-50); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .98rem; transition: border-color .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input[aria-invalid="true"] { border-color: #a33e1b; }
.field textarea { resize: vertical; min-height: 96px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .76rem; color: var(--g-500); margin-top: 1rem; text-align: center; }
.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success.show { display: block; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin: 0 auto 1.4rem; }
.form-success h3 { margin-bottom: .6rem; }
.form-success p { color: var(--g-600); }
form.sent .form-body { display: none; }
form.sent .form-success { display: block; }

/* ============================================================
   SHOWROOMS
   ============================================================ */
.showrooms__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem,2vw,1.5rem); }
.showroom { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; gap: 1rem; transition: border-color .4s, transform .5s var(--ease-out); }
.showroom:hover { border-color: var(--ink); transform: translateY(-3px); }
.showroom__tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; color: var(--g-500); }
.showroom h3 { font-family: var(--serif); font-weight: 300; font-size: 1.7rem; }
.showroom__addr { color: var(--g-600); font-size: .98rem; line-height: 1.5; }
.showroom__meta { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; color: var(--g-600); margin-top: .4rem; }
.showroom__meta strong { color: var(--ink); font-weight: 600; }
.showroom .txtlink { margin-top: auto; }
.showroom--coming-soon { background: rgba(0, 0, 0, .025); }
.showroom--coming-soon .showroom__addr { max-width: 28ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: rgba(255,255,255,.7); }
.footer__top { padding-block: clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line-d); }
.footer__wordmark { color: #fff; line-height: .8; }
.footer__lead { max-width: 32ch; margin-top: 1.6rem; color: rgba(255,255,255,.6); }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer__heading { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.55); margin-bottom: 1.3rem; font-weight: 600; }
.footer__col ul { display: flex; flex-direction: column; gap: .8rem; }
.footer__col a, .footer__col li { font-size: .92rem; color: rgba(255,255,255,.72); }
.footer__col a:not(.btn):hover { color: #fff; }
.footer__col a.btn { color: var(--fg); font-size: .82rem; }
.footer__made { display: inline-flex; align-items: center; gap: .6em; border: 1px solid var(--line-d); border-radius: 100px; padding: .5em 1em; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-top: 1.6rem; }
.footer__made .au { font-weight: 700; color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 2rem; font-size: .8rem; color: rgba(255,255,255,.55); }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__credit { color: rgba(255,255,255,.48); font-size: .61rem; letter-spacing: .08em; white-space: nowrap; }
.footer__credit a { color: rgba(255,255,255,.72); font-weight: 600; }
.footer__credit a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .hero__media img { animation: none; transform: none; }
  .marquee__track { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { columns: 2; }
}
/* collapse the horizontal nav to the burger before it gets cramped */
@media (max-width: 1100px) {
  :root { --header-h: 74px; }
  .nav, .header__phone { display: none; }
  .header .btn { display: none; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .topbar__list li:not(:first-child):not(:last-child) { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__media { min-height: 320px; }
  .heritage__grid, .press__grid, .cta__grid, .faq__grid { grid-template-columns: 1fr; }
  .cta__grid { gap: 2.5rem; }
  .quotes__grid { grid-template-columns: 1fr; }
  .showrooms__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .heritage__media { order: -1; max-width: 460px; }
  .press__media { order: -1; }
}
@media (max-width: 600px) {
  :root { --section-y: 4rem; }
  .topbar__list { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar { font-size: .68rem; }
  .craft__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery__grid { columns: 1; }
  .field--row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .hero__foot { gap: 1rem; }
  .scrollcue { display: none; }
  .pstep { min-height: auto; }
  .craft-card, .craft-card--tall { min-height: 380px; }
}

/* Official Mr Cabinets wordmark lockups */
.brand-lockup {
  width: 126px;
  height: 64px;
  display: flex;
  align-items: center;
  flex: none;
}
.brand-lockup__mark {
  width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}
.brand-lockup__mark--dark { display: none; }
.header.is-solid .brand-lockup__mark--light { display: none; }
.header.is-solid .brand-lockup__mark--dark { display: block; }

.footer__brand-lockup {
  display: block;
  width: min(290px, 70vw);
  line-height: 0;
}
.footer__brand-mark {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .brand-lockup { width: 126px; height: 62px; }
  .brand-lockup__mark { max-height: 62px; }
}
