/* ==========================================================================
   JR Carpentry — Jack Rayner, Chelmsford & Braintree, Essex
   Navy from Jack's logo for the dark bands, oak/tan accent, soft off-white ground.
   Type: Lora (sturdy, low-contrast serif) + Inter (body/UI).
   ========================================================================== */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: 'Lora';
  src: url('../assets/fonts/lora-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../assets/fonts/lora-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Dark: Jack's own logo navy. He asked for the near-black bands to go navy,
     and navy was already sitting in his logo (--navy below), so the page and the
     monogram now share one dark family instead of two. Lifted a little from the
     raw logo value, which is nearly black over a large area. */
  --ink:        #0A1E45;
  --ink-2:      #102A57;
  --ink-3:      #1A3768;
  --ink-deep:   #05132E;

  /* Accent: oak, used sparingly */
  --tan:        #B07F42;
  --tan-lt:     #DCC49B;
  --tan-dk:     #8A6330;

  /* Light: soft off-white rather than a yellow cream */
  --cream:      #F8F7F4;
  --cream-2:    #EFEDE8;
  --cream-3:    #E2DFD8;
  --white:      #FFFFFF;

  /* Jack's logo navy — used for the monogram on light backgrounds */
  --navy:       #041435;

  /* Semantic */
  --bg:         var(--cream);
  /* Body text and rules carry a trace of the same blue so the light sections
     don't read warm against navy bands. */
  --fg:         #1E2330;
  --muted:      #5C6070;
  --rule:       rgba(30, 35, 48, 0.14);
  --rule-soft:  rgba(30, 35, 48, 0.08);

  /* Type */
  --display: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Rhythm */
  --pad: clamp(1.25rem, 4.5vw, 4rem);
  --gap: clamp(1rem, 2vw, 1.75rem);
  --section-y: clamp(4rem, 9vh, 7.5rem);
  --maxw: 1400px;
  --radius: 14px;
  --radius-sm: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.3vw + 0.94rem, 1.0625rem);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

/* ---------- Type scale ---------- */
.display-xl {
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.display-lg {
  font-size: clamp(2rem, 3.9vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display-md {
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
/* Softer bronze for large display text — full-strength tan at 3rem+ reads as
   shouty orange. Buttons and links keep the stronger tone. */
.accent { color: #9C7C4F; }
.hero .accent, .section--ink .accent { color: var(--tan-lt); }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tan-dk);
  margin: 0 0 1rem;
}
.section--ink .eyebrow, .hero .eyebrow { color: var(--tan-lt); }
.eyebrow--center { text-align: center; }

.lede {
  font-size: clamp(1.0625rem, 0.5vw + 0.95rem, 1.1875rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 54ch;
}

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: var(--section-y); position: relative; }
.section--cream2 { background: var(--cream-2); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .lede { color: rgba(248, 247, 244, 0.7); }
/* Content-light bands (the service area list) don't need full section height. */
.section--tight { padding-block: clamp(3rem, 6vw, 4.75rem); }
/* Wherever two light bands meet, a hairline keeps them from reading as one
   continuous section. Ink bands already have a hard edge, so they're excluded. */
.section:not(.section--ink) + .section:not(.section--ink) {
  border-top: 1px solid var(--rule-soft);
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--split { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: clamp(2rem, 4vw, 4rem);
  }
}
.section-head--center { text-align: center; max-width: 44rem; margin-inline: auto; }
.section-head--center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--tan);
  --btn-fg: #fff;
  --btn-bd: var(--tan);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 1rem 1.75rem;
  border: 1px solid var(--btn-bd);
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.32s var(--ease), color 0.32s var(--ease),
              border-color 0.32s var(--ease), transform 0.2s var(--ease);
}
.btn:hover, .btn:focus-visible {
  background: var(--tan-dk);
  border-color: var(--tan-dk);
  color: #fff;
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.btn--ink:hover, .btn--ink:focus-visible { background: var(--tan); border-color: var(--tan); color: #fff; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--rule); }
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--ink); border-color: var(--ink); color: var(--cream);
}
.hero .btn--ghost, .section--ink .btn--ghost {
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.45);
}
.hero .btn--ghost:hover, .section--ink .btn--ghost:hover {
  background: #fff; border-color: #fff; color: var(--ink);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--tan-dk);
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.link:hover { color: var(--ink); }
.link:hover svg { transform: translateX(3px); }
.section--ink .link { color: var(--tan-lt); }
.section--ink .link:hover { color: #fff; }

/* ==========================================================================
   Intro reveal — timber boards sliding away
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; background: var(--ink); pointer-events: none;
}
.intro__slat {
  flex: 1 1 0;
  background: var(--ink);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  transform-origin: top;
  will-change: transform;
}
.intro__mark { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cream); }
.intro__mark svg { width: clamp(68px, 11vw, 118px); }
.intro.is-done { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 900;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.45s var(--ease);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap);
  padding-block: clamp(0.9rem, 1.8vw, 1.35rem);
}
.header.is-stuck {
  background: rgba(8, 24, 54, 0.94);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}
.header.is-hidden { transform: translateY(-102%); }

.logo { display: inline-flex; align-items: center; gap: 0.65rem; color: #fff; }
.logo__mark { width: 38px; flex: none; color: currentColor; }
.logo__type { display: grid; gap: 2px; }
.logo__name {
  font-family: var(--sans);
  font-size: 0.9375rem; font-weight: 600;
  letter-spacing: 0.17em; text-transform: uppercase; line-height: 1;
}
.logo__sub {
  font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--tan-lt); line-height: 1;
}
/* Logo on light backgrounds keeps Jack's brand navy */
.logo--ink { color: var(--navy); }
.logo--ink .logo__sub { color: var(--tan-dk); }

.nav { display: none; }
@media (min-width: 1060px) {
  .nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }
  .nav a {
    position: relative;
    font-size: 0.9375rem; font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    padding-block: 4px;
    transition: color 0.28s;
  }
  .nav a::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 2px; background: var(--tan);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.38s var(--ease);
  }
  .nav a:hover, .nav a[aria-current='true'] { color: #fff; }
  .nav a:hover::after, .nav a[aria-current='true']::after { transform: scaleX(1); }
}

.header__actions { display: flex; align-items: center; gap: 0.7rem; }
.header__phone {
  display: none; align-items: center; gap: 0.45rem;
  font-size: 0.9375rem; font-weight: 600; color: #fff;
}
.header__phone svg { color: var(--tan-lt); }
@media (min-width: 760px) { .header__phone { display: inline-flex; } }
.header .btn { padding: 0.7rem 1.3rem; font-size: 0.875rem; }
@media (max-width: 759px) { .header .btn--quote { display: none; } }

.burger {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%; background: transparent; cursor: pointer;
}
@media (min-width: 1060px) { .burger { display: none; } }
.burger__lines { display: grid; gap: 5px; width: 17px; }
.burger__lines i { height: 1.5px; background: #fff; transition: transform 0.35s var(--ease), opacity 0.25s; }
.burger[aria-expanded='true'] .burger__lines i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__lines i:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__lines i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 890;
  display: grid; align-content: center; gap: 0.35rem;
  padding: 5.5rem var(--pad) 3rem;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.62s var(--ease);
}
.drawer[hidden] { display: none; }
.drawer.is-open { clip-path: inset(0 0 0 0); }
.drawer a {
  font-family: var(--display);
  font-size: clamp(1.8rem, 8vw, 2.75rem);
  line-height: 1.25; color: #fff;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), color 0.28s;
}
.drawer.is-open a { opacity: 1; transform: none; }
.drawer a:hover { color: var(--tan-lt); }
.drawer__foot {
  margin-top: 2.25rem; display: grid; gap: 0.4rem;
  font-family: var(--sans); font-size: 0.9375rem;
  color: rgba(248, 247, 244, 0.6);
}
.drawer__foot a { font-family: var(--sans); font-size: 1.0625rem; opacity: 1; transform: none; }

/* ==========================================================================
   Hero — full-bleed photo, copy sitting on the image
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 900px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding-top: clamp(6rem, 12vh, 8rem);
  padding-bottom: clamp(9rem, 16vh, 12rem);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
/* Warm scrim: enough contrast for the words, light enough to keep the timber */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(5, 16, 38, 0.86) 0%, rgba(7, 20, 45, 0.64) 34%, rgba(10, 26, 56, 0.24) 64%, rgba(14, 32, 64, 0.06) 100%),
    linear-gradient(to top, rgba(5, 16, 38, 0.52), transparent 38%);
}
.hero__inner { position: relative; max-width: 52rem; }
.hero h1 {
  margin-bottom: 1.35rem;
  max-width: 20ch;
  text-wrap: balance;
  text-shadow: 0 2px 26px rgba(3, 12, 30, 0.5);
}
.hero__lede {
  font-size: clamp(1.0625rem, 0.6vw + 0.95rem, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__rating {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.6rem;
  margin-top: 2rem;
  font-size: 0.9375rem; color: rgba(255, 255, 255, 0.85);
}
.hero__stars { display: flex; gap: 3px; color: var(--tan-lt); }
.hero__stars svg { width: 16px; height: 16px; }

/* Stack the hero buttons to equal widths on narrow screens */
@media (max-width: 540px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* On a narrow screen a left-to-right scrim leaves the right edge too pale for
   white text, so switch to an even top-to-bottom one. */
@media (max-width: 760px) {
  .hero::before {
    background: linear-gradient(to bottom,
      rgba(5, 16, 38, 0.64) 0%,
      rgba(5, 16, 38, 0.74) 45%,
      rgba(5, 16, 38, 0.88) 100%);
  }
}

/* Feature cards straddling the bottom of the hero */
.pillars {
  position: relative;
  z-index: 5;
  margin-top: clamp(-7rem, -9vw, -5rem);
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  display: grid; gap: 0.55rem; align-content: start;
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -26px rgba(5, 16, 38, 0.55);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.pillar:hover { transform: translateY(-5px); background: var(--ink-2); }
.pillar__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: 0.3rem;
  border: 1px solid rgba(220, 196, 155, 0.38);
  border-radius: 50%;
  color: var(--tan-lt);
}
.pillar__icon svg { width: 20px; height: 20px; }
.pillar h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.005em; }
.pillar p { font-size: 0.9375rem; line-height: 1.55; color: rgba(248, 247, 244, 0.68); }

/* ==========================================================================
   Services — a fast text list, deliberately no photography
   --------------------------------------------------------------------------
   This section used to be six image cards, but every one of those photos also
   appears in the gallery below, so a visitor met the same shots twice and the
   portfolio didn't start until nearly seven screens down. The pictures moved
   out; this section now carries only the argument (can he do my job, and why
   does it matter to me) and the gallery is the only place the work is shown.
   ========================================================================== */
.svc { display: grid; }
@media (min-width: 800px) {
  .svc {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2rem, 4.5vw, 5rem);
  }
}
.svc__item {
  padding-block: clamp(1.25rem, 2.2vw, 1.75rem);
  border-top: 1px solid var(--rule);
}
.svc__item h3 {
  font-size: clamp(1.125rem, 1.35vw, 1.3125rem);
  margin-bottom: 0.4rem;
}
.svc__item p { font-size: 0.9375rem; line-height: 1.62; color: var(--muted); }
/* Lead benefit sits up in full-strength ink so the list can be skimmed on the
   bold alone; the joinery detail behind it stays muted. */
.svc__item p strong { font-weight: 600; color: var(--fg); }

.svc__cta { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

/* ==========================================================================
   Work — visible captions so the portfolio is scannable
   ========================================================================== */
.filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}
.filter {
  padding: 0.6rem 1.15rem;
  border: 1px solid rgba(248, 247, 244, 0.24);
  border-radius: 100px;
  background: transparent;
  font-size: 0.875rem; font-weight: 500;
  color: rgba(248, 247, 244, 0.78);
  cursor: pointer;
  transition: color 0.28s, border-color 0.28s, background 0.28s;
}
.filter:hover { color: #fff; border-color: rgba(248, 247, 244, 0.55); }
.filter[aria-pressed='true'] { background: var(--tan); border-color: var(--tan); color: #fff; }
.filter b { font-weight: 600; opacity: 0.6; margin-left: 0.4em; font-size: 0.8125rem; }

.grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1160px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.tile {
  display: flex; flex-direction: column;
  width: 100%; padding: 0; text-align: left;
  background: var(--ink-2);
  border: 1px solid rgba(248, 247, 244, 0.1);
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s var(--ease);
}
.tile:hover, .tile:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(224, 190, 147, 0.45);
  box-shadow: 0 26px 50px -28px rgba(3, 12, 30, 0.7);
}
.tile__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.85s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.06); }
.tile__zoom {
  position: absolute; top: 0.7rem; right: 0.7rem;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(248, 247, 244, 0.92);
  color: var(--ink);
  opacity: 0; transform: scale(0.82);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.tile:hover .tile__zoom, .tile:focus-visible .tile__zoom { opacity: 1; transform: none; }
.tile__zoom svg { width: 15px; height: 15px; }
/* Caption is always visible — the work should be readable at a glance */
.tile__body {
  display: grid; gap: 3px;
  padding: 0.95rem 1.1rem 1.05rem;
  flex: 1;
}
.tile__cat {
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tan-lt);
}
.tile__title {
  font-family: var(--display);
  font-size: 1.0625rem; font-weight: 600; line-height: 1.3;
  color: var(--cream);
}
.tile.is-hidden { display: none; }
.tile.is-filtering { opacity: 0; transform: scale(0.98); }

.gallery-note { margin-top: 2rem; font-size: 0.9375rem; color: rgba(248, 247, 244, 0.62); }
.gallery-note a { color: var(--tan-lt); font-weight: 600; }
.gallery-note a:hover { color: #fff; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lb {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; grid-template-rows: auto 1fr auto;
  /* Only a trace of navy here — a strong tint would cast colour over the photos. */
  background: rgba(4, 12, 28, 0.97);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb[hidden] { display: none; }
.lb__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem var(--pad);
  color: rgba(248, 247, 244, 0.7);
  font-size: 0.875rem; font-weight: 500;
}
.lb__stage {
  position: relative; display: grid; place-items: center;
  padding: 0 clamp(0.75rem, 4vw, 4.5rem);
  min-height: 0; overflow: hidden;
}
.lb__img {
  width: 100%; height: 100%;
  min-width: 0; min-height: 0;
  object-fit: contain;
  opacity: 0; transform: scale(0.985);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.lb__img.is-in { opacity: 1; transform: none; }
.lb__cap { display: grid; gap: 3px; padding: 1.1rem var(--pad) 1.9rem; text-align: center; color: #fff; }
.lb__cap b { font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.lb__cap small {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--tan-lt);
}
.lb__btn {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(248, 247, 244, 0.26);
  border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
  transition: background 0.28s, border-color 0.28s, color 0.28s;
}
.lb__btn:hover { background: var(--tan); border-color: var(--tan); }
.lb__btn svg { width: 16px; height: 16px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb__nav--prev { left: clamp(0.5rem, 1.5vw, 1.5rem); }
.lb__nav--next { right: clamp(0.5rem, 1.5vw, 1.5rem); }

/* ==========================================================================
   Process
   ========================================================================== */
.steps { display: grid; gap: clamp(1.75rem, 3vw, 2.25rem); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  display: grid; gap: 0.7rem; align-content: start;
  padding-top: 1.6rem;
  border-top: 2px solid var(--rule);
  transition: border-color 0.4s var(--ease);
}
.step:hover { border-color: var(--tan); }
.step__n {
  font-family: var(--display);
  font-size: 2.25rem; line-height: 1; color: var(--tan);
}
.step h3 { font-size: clamp(1.1875rem, 1.4vw, 1.3125rem); }
.step p { font-size: 0.9375rem; line-height: 1.6; color: var(--muted); }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { display: grid; gap: var(--gap); }
@media (min-width: 940px) { .reviews { grid-template-columns: 1.4fr 1fr; align-items: start; } }

.quote {
  position: relative; margin: 0;
  padding: clamp(1.85rem, 3.4vw, 3rem);
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
}
.quote__stars { display: flex; gap: 4px; margin-bottom: 1.35rem; color: var(--tan-lt); }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  line-height: 1.45; font-weight: 600;
  letter-spacing: -0.008em;
}
.quote__by {
  display: flex; align-items: center; gap: 0.8rem;
  margin-top: 1.6rem; padding-top: 1.35rem;
  border-top: 1px solid rgba(248, 247, 244, 0.16);
}
.quote__av {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--tan); color: #fff;
  font-size: 0.875rem; font-weight: 600; flex: none;
}
.quote__who { display: grid; gap: 1px; }
.quote__who b { font-size: 0.9375rem; font-weight: 600; }
.quote__who small { font-size: 0.8125rem; color: rgba(248, 247, 244, 0.6); }

.review-side { display: grid; gap: var(--gap); align-content: start; }
.rating-card {
  display: grid; gap: 0.6rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
}
.rating-card__k {
  display: flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--display);
  font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; color: var(--ink);
}
.rating-card__k span { font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.rating-card h3 { font-size: 1.25rem; }
.rating-card p { font-size: 0.9375rem; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   About
   ========================================================================== */
.about { display: grid; gap: clamp(2.25rem, 4.5vw, 4rem); align-items: center; }
@media (min-width: 940px) { .about { grid-template-columns: 0.95fr 1.05fr; } }
.about__media { display: grid; gap: var(--gap); grid-template-columns: 1fr 1fr; }
.about__media figure {
  margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream-3);
}
.about__media figure:first-child { grid-row: span 2; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__body { display: grid; gap: 1.35rem; }
.about__body p { color: var(--muted); max-width: 56ch; }
.about__list { display: grid; gap: 0.75rem; margin-top: 0.25rem; }
.about__list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.9375rem; }
.about__list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--tan); }
.about__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.5rem; }

/* ==========================================================================
   Areas
   ========================================================================== */
.areas { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.areas li {
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 100px;
  font-size: 0.875rem; color: var(--fg);
  transition: border-color 0.28s, color 0.28s, transform 0.28s var(--ease);
}
.areas li:hover { border-color: var(--tan); color: var(--tan-dk); transform: translateY(-2px); }
/* This section sits on an ink band, between About (cream-2) and Quote (cream). */
.section--ink .areas li {
  background: transparent;
  border-color: rgba(248, 247, 244, 0.2);
  color: rgba(248, 247, 244, 0.84);
}
.section--ink .areas li:hover { border-color: var(--tan-lt); color: #fff; }

/* ==========================================================================
   Quote form
   ========================================================================== */
.quote-wrap { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 1000px) { .quote-wrap { grid-template-columns: 0.8fr 1.2fr; } }
.quote-side { display: grid; gap: 1.5rem; align-content: start; }
.contact-rows {
  display: grid; gap: 0.75rem;
}
.contact-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.contact-row:hover { border-color: var(--tan); transform: translateX(3px); }
.contact-row svg { width: 20px; height: 20px; color: var(--tan); flex: none; }
.contact-row div { display: grid; gap: 1px; min-width: 0; }
.contact-row small { font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.contact-row b { font-size: 0.9375rem; font-weight: 600; overflow-wrap: anywhere; }

.form {
  display: grid; gap: 1.1rem;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
}
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field > label { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.field > label span { color: var(--tan-dk); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--fg);
  font-family: inherit; font-size: 0.9375rem;
  transition: border-color 0.28s, box-shadow 0.28s, background 0.28s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B5C4D' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 11px;
  padding-right: 2.4rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--tan);
  box-shadow: 0 0 0 3px rgba(176, 127, 66, 0.18);
}
.field .err { font-size: 0.8125rem; color: #A8392F; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; margin-top: 0.25rem; }
.form__note { font-size: 0.875rem; color: var(--muted); max-width: 34ch; line-height: 1.55; }

.form-sent {
  display: none; gap: 1rem;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
}
.form-sent.is-shown { display: grid; }
.form-sent h3 { font-size: 1.5rem; }
.form-sent p { color: var(--muted); }
.form-sent__alt { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.35rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink-deep);
  color: rgba(248, 247, 244, 0.68);
  padding-block: clamp(2.75rem, 5vw, 4.5rem) 1.85rem;
  font-size: 0.9375rem;
}
.footer__grid {
  display: grid; gap: clamp(1.85rem, 3.5vw, 3rem);
  padding-bottom: clamp(2.25rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(248, 247, 244, 0.1);
}
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } }
.footer h4 {
  font-family: var(--sans);
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem;
}
.footer ul { display: grid; gap: 0.55rem; }
.footer a { transition: color 0.28s; }
.footer a:hover { color: var(--tan-lt); }
.footer__brand { display: grid; gap: 1.1rem; align-content: start; }
.footer__brand p { max-width: 34ch; line-height: 1.65; }
.socials { display: flex; gap: 0.55rem; }
.socials a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(248, 247, 244, 0.2);
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}
.socials a:hover { background: var(--tan); border-color: var(--tan); color: #fff; transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.7rem; padding-top: 1.6rem;
  font-size: 0.8125rem; color: rgba(248, 247, 244, 0.45);
}

/* ==========================================================================
   Sticky mobile action bar
   ========================================================================== */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 880;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(8, 24, 54, 0.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(248, 247, 244, 0.12);
  transform: translateY(102%);
  transition: transform 0.42s var(--ease);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.dock.is-up { transform: none; }
@media (min-width: 860px) { .dock { display: none; } }
.dock a {
  display: grid; justify-items: center; gap: 4px;
  padding: 0.75rem 0.4rem;
  color: #fff; font-size: 0.75rem; font-weight: 600;
}
.dock a + a { border-left: 1px solid rgba(248, 247, 244, 0.12); }
.dock a:active { background: rgba(176, 127, 66, 0.25); }
.dock svg { width: 19px; height: 19px; color: var(--tan-lt); }
@media (max-width: 859px) { .footer { padding-bottom: calc(1.85rem + 74px); } }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.07s; }
.rv-d2 { transition-delay: 0.14s; }
.rv-d3 { transition-delay: 0.21s; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 9999;
  padding: 0.8rem 1.2rem;
  background: var(--tan); color: #fff;
  font-size: 0.875rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.28s;
}
.skip:focus { top: 1rem; }

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

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .intro { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .header, .dock, .intro, .lb, .drawer { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.25rem; break-inside: avoid; }
  .hero { min-height: auto; color: #000; }
  .hero::before, .hero__bg { display: none; }
}
