@charset "UTF-8";
/* ==========================================================================
   EmbroideryKent — stylesheet
   --------------------------------------------------------------------------
   Contents
     01  Fonts
     02  Design tokens
     03  Reset & base
     04  Typography primitives
     05  Layout primitives
     06  Buttons
     07  Header & navigation
     08  Hero
     09  Client strip
     10  Services
     11  Gallery & lightbox
     12  Process steps
     13  Craft / why us
     14  Pricing
     15  Testimonials
     16  FAQ
     16b Areas covered
     16c Multi-page components
     17  Quote form
     18  Footer
     19  Motion / reveal
   ========================================================================== */


/* 01 · Fonts ============================================================== */
/* Self-hosted variable fonts, latin subset only. Fraunces carries the
   personality (display); Inter does the reading work. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/fraunces-var.woff2) format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-var.woff2) format('woff2');
}


/* 02 · Design tokens ====================================================== */

:root {
  /* — Colour ————————————————————————————————————————
     Taken straight off the logo: its navy, its pink, and white.

     One catch worth knowing about. The logo pink (--accent-bright) is only
     3.8:1 on paper and 4.0:1 under white — fine for big display type, but it
     fails AA anywhere it has to carry reading-size text or button labels. So
     the pink exists twice: the real one for display moments, and a deepened
     sibling (--accent) that does all the accessible work. They read as the
     same colour; only one of them is safe to set 14px type in. */
  --ink:            #121A2B;   /* logo navy — all body text                */
  --ink-80:         #38415A;   /* secondary text                           */
  --ink-55:         #5D667E;   /* meta / captions                          */
  --paper:          #F8F8FA;   /* cool off-white — page ground             */
  --paper-2:        #F0F0F4;   /* tinted section ground                    */
  --paper-3:        #E2E2E9;   /* image placeholder / wells                */

  --accent:         #D40E4C;   /* 4.99:1 on paper, 5.29:1 under white      */
  --accent-bright:  #F5215F;   /* the logo pink — DISPLAY SIZES ONLY       */
  --accent-deep:    #AB0A3D;   /* hover / pressed                          */
  --accent-tint:    rgba(212, 14, 76, 0.10);

  --on-dark:        #EFF1F6;   /* text on the navy sections                */
  --accent-on-dark: #FF6E97;   /* lifted pink — 6.6:1 on ink               */

  /* Status colours are deliberately not pink. Signalling success in the
     brand colour makes success and error look like the same event. */
  --ok:             #12704A;
  --danger:         #B3261E;

  --line:         rgba(18, 26, 43, 0.13);
  --line-strong:  rgba(18, 26, 43, 0.26);

  /* On dark sections these flip. Scoped in §Layout. */
  --fg:           var(--ink);
  --fg-soft:      var(--ink-80);
  --fg-meta:      var(--ink-55);
  --bg:           var(--paper);

  /* — Type scale ————————————————————————————————————
     Fluid, ~1.25 ratio at small sizes opening to ~1.33 at the top end so
     display type gets genuinely large on desktop without wrecking mobile. */
  --t-xs:      0.75rem;
  --t-sm:      clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --t-base:    clamp(1rem,      0.97rem + 0.16vw, 1.0625rem);
  --t-md:      clamp(1.0625rem, 1.01rem + 0.28vw, 1.1875rem);
  --t-lg:      clamp(1.1875rem, 1.09rem + 0.44vw, 1.375rem);
  --t-xl:      clamp(1.5rem,    1.32rem + 0.9vw,  2rem);
  --t-2xl:     clamp(1.75rem,   1.5rem + 1.25vw,  2.5rem);
  --t-3xl:     clamp(2.25rem,   1.75rem + 2.5vw,  3.5rem);
  /* Display is capped well below its "as big as it can go" size on purpose:
     the hero CTA and the proof row have to stay above the fold at 1440×900,
     which is where most desktop visitors land. */
  --t-display: clamp(2.75rem,   2rem + 3.6vw,     4.75rem);

  /* — Spacing rhythm (4px base) ——————————————————————— */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 2.5rem;   --s-8: 3rem;
  --s-9: 4rem;     --s-10: 5rem;    --s-11: 6rem;    --s-12: 8rem;

  --section-y:   clamp(4.5rem, 9vw, 8.5rem);
  --shell:       76rem;   /* 1216px — comfortable measure at 3 columns */
  --gutter:      clamp(1.25rem, 5vw, 2.5rem);

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   14px;

  /* — Motion ————————————————————————————————————————
     One easing curve, three durations. Everything shares them, which is
     what makes the site feel like a single object rather than a pile of
     components. */
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-1:    140ms;
  --dur-2:    260ms;
  --dur-3:    520ms;

  --focus-ring: 0 0 0 2px var(--paper), 0 0 0 4.5px var(--accent);
}


/* 03 · Reset & base ======================================================= */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sticky header is ~96px; keep anchored sections clear of it. */
  scroll-padding-top: 7.5rem;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--t-base);
  line-height: 1.65;
  font-feature-settings: 'kern' 1, 'liga' 1, 'cv11' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

a { color: inherit; }

/* One focus treatment, applied everywhere. Visible on dark grounds too
   because the inner ring uses the local background colour. */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

::selection { background: var(--accent); color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -110%);
  z-index: 200;
  padding: var(--s-3) var(--s-5);
  background: var(--ink); color: var(--paper);
  font-size: var(--t-sm); font-weight: 500;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform var(--dur-2) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }


/* 04 · Typography primitives ============================================== */

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* The eyebrow: small caps label that opens most sections. The short rule
   before it is the only decorative flourish on the page — it echoes a
   stitch and ties the sections together. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  /* Font family and line-height are set explicitly rather than inherited:
     the hero eyebrow lives inside the <h1>, where it would otherwise pick up
     Fraunces and the display line-height. */
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--t-xs);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 1.75rem; height: 2px;
  flex: none;
  background-image: linear-gradient(to right, currentColor 55%, transparent 55%);
  background-size: 5px 2px;
}

.section__title { font-size: var(--t-3xl); }

.section__lede {
  max-width: 46ch;
  font-size: var(--t-md);
  color: var(--fg-soft);
}


/* 05 · Layout primitives ================================================== */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--tint { background: var(--paper-2); }

/* Dark sections just re-point the semantic colour tokens; every component
   inside adapts without needing its own dark variant. */
.section--dark {
  --fg:      var(--on-dark);
  --fg-soft: rgba(239, 241, 246, 0.72);
  --fg-meta: rgba(239, 241, 246, 0.55);
  --line:        rgba(239, 241, 246, 0.14);
  --line-strong: rgba(239, 241, 246, 0.3);
  --focus-ring: 0 0 0 2px #121A2B, 0 0 0 4.5px var(--accent-on-dark);
  background: var(--ink);
  color: var(--fg);
}
.section--dark .eyebrow { color: var(--accent-on-dark); }

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  gap: var(--s-5);
}

.section__head--split {
  max-width: none;
  grid-template-columns: 1fr;
}
@media (min-width: 60rem) {
  .section__head--split {
    grid-template-columns: 1fr minmax(0, 24rem);
    align-items: end;
    gap: var(--s-8);
  }
  .section__head--split .section__lede { padding-bottom: var(--s-2); }
}

/* Consistent image treatment: every photograph on the site sits in a frame
   with the same radius, the same subtle warm placeholder, and the same
   slight desaturation so a gallery of 12 different photographers' work
   still reads as one curated set. */
figure img {
  background: var(--paper-3);
  border-radius: var(--radius);
  filter: saturate(0.94) contrast(1.02);
}


/* 06 · Buttons ============================================================ */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-bd: var(--line-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.72rem 1.25rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 100px;
  font-size: var(--t-sm);
  font-weight: 550;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--dur-2) var(--ease),
    border-color     var(--dur-2) var(--ease),
    color            var(--dur-2) var(--ease),
    transform        var(--dur-1) var(--ease);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn svg { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  --btn-bd: var(--accent);
}
.btn--primary:hover { --btn-bg: var(--accent-deep); --btn-bd: var(--accent-deep); }

.btn--ghost:hover  { --btn-bd: var(--fg); background: var(--accent-tint); }

.btn--light {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-bd: var(--paper);
}
.btn--light:hover { --btn-bg: #fff; --btn-bd: #fff; }

.btn--sm  { padding: 0.55rem 1rem; }
.btn--lg  { padding: 0.95rem 1.6rem; font-size: var(--t-base); }
.btn--block { width: 100%; }


/* 07 · Header & navigation ================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--dur-2) var(--ease),
    border-color     var(--dur-2) var(--ease),
    box-shadow       var(--dur-2) var(--ease);
}
/* .is-stuck is toggled in JS once the page has scrolled past the fold edge. */
.site-header.is-stuck {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: 6rem;
}

/* The badge is a two-line stacked lockup, so it needs real height to stay
   legible — it is sized by height, never by width, and the header was opened
   up to make room for it. */
.logo {
  display: block;
  flex: none;
  line-height: 0;
  border-radius: var(--radius);
}
.logo img {
  height: 4.75rem;
  width: auto;
  transition: transform var(--dur-2) var(--ease);
}
.logo:hover img { transform: scale(1.03); }
.logo--lg img { height: 5.5rem; }

@media (max-width: 30rem) {
  /* Slightly smaller on phones: the sticky header eats viewport height that
     matters much more here than on a desktop. */
  .logo img { height: 3.5rem; }
}

.nav { margin-inline: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.9rem);
  list-style: none;
  padding: 0;
}
.nav__list a {
  position: relative;
  display: block;
  padding-block: 0.35rem;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-80);
  text-decoration: none;
  transition: color var(--dur-2) var(--ease);
}
/* Underline grows from the left on hover — small, cheap, and it makes the
   nav feel responsive rather than static. */
.nav__list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a:hover::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex: none;
}

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--t-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  color: var(--ink-80);
  transition: color var(--dur-2) var(--ease);
}
.tel-link:hover { color: var(--accent); }
.tel-link svg { color: var(--accent); }

/* — Mobile — */
.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  margin-right: -0.6rem;
  place-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}
.nav-toggle__bar {
  display: block;
  width: 20px; height: 1.75px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease);
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:first-child { transform: translateY(3.4px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:last-child  { transform: translateY(-3.4px) rotate(-45deg); }

.mobile-nav {
  padding: var(--s-2) var(--gutter) var(--s-6);
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__list { list-style: none; padding: 0; margin-bottom: var(--s-5); }
.mobile-nav__list a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-md);
  font-weight: 500;
  text-decoration: none;
}
.mobile-nav__tel {
  display: block;
  margin-top: var(--s-4);
  text-align: center;
  font-size: var(--t-sm);
  color: var(--ink-55);
  text-decoration: none;
}

@media (max-width: 61.99rem) {
  .nav { display: none; }
  .tel-link { display: none; }
  .nav-toggle { display: grid; }
  .site-header__inner { justify-content: space-between; }
}
/* Below this width the header can't hold wordmark + button + menu without
   crowding, so the primary CTA hands over to .mobile-cta. */
@media (max-width: 34rem) {
  .site-header__actions .btn { display: none; }
}

/* — Persistent mobile CTA bar — */
.mobile-cta {
  position: fixed;
  z-index: 90;
  left: 0; right: 0; bottom: 0;
  display: none;
  gap: var(--s-3);
  padding: var(--s-3) var(--gutter);
  padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform var(--dur-3) var(--ease-out);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta__main { flex: 1; }
.mobile-cta__tel { flex: none; aspect-ratio: 1; padding-inline: 0; width: 3.25rem; }
.mobile-cta__tel:hover svg { transform: none; }

@media (max-width: 34rem) {
  .mobile-cta { display: flex; }
  /* Keep the bar from covering the last line of the footer. */
  .site-footer { padding-bottom: 6rem; }
}


/* 08 · Hero =============================================================== */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 5.5rem);
}
/* Barely-there warm wash behind the hero, so the fold has a little depth
   without introducing a second background colour. */
.hero::before {
  content: '';
  position: absolute;
  inset: -6rem 0 auto;
  height: 46rem;
  background:
    radial-gradient(60% 55% at 78% 22%, rgba(245, 33, 95, 0.07), transparent 70%),
    radial-gradient(50% 50% at 8% 0%,  rgba(18, 26, 43, 0.06), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(3rem, 6vw, 5.5rem);
  }
}

.hero__copy { display: grid; gap: var(--s-5); max-width: 34rem; }

.hero__title {
  font-size: var(--t-display);
  letter-spacing: -0.035em;
  margin-top: var(--s-1);
}
/* Recreates the grid gap that used to separate the standalone eyebrow <p>
   from the headline, now that it is a child of the h1. */
.hero__eyebrow { margin-bottom: var(--s-5); }
/* The second line carries the promise, so it gets the accent and a heavier
   optical weight. One emphasised phrase, nothing more.

   This is the one place the true logo pink appears in type. At ~76px it's
   "large text" under WCAG, which needs 3:1 — it clears that at 3.76:1. Do not
   reuse --accent-bright at reading sizes. */
.hero__title-em {
  display: block;
  color: var(--accent-bright);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-weight: 700;
}

.hero__lede {
  max-width: 38ch;
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--ink-80);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-2);
}

/* Two overlapping frames. The offset is what stops the fold looking like a
   template: the smaller detail shot breaks the grid line deliberately. */
.hero__media {
  position: relative;
  justify-self: center;
  width: min(100%, 26rem);
  padding-bottom: 3.5rem;
}
.hero__frame img {
  width: 100%;
  /* Cropped to 4:5 rather than the source 3:4 so the fold stays compact. */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -28px rgba(18, 26, 43, 0.45);
}
.hero__frame--detail {
  position: absolute;
  right: -1.25rem;
  bottom: 0;
  width: 42%;
}
.hero__frame--detail img {
  border: 5px solid var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -20px rgba(18, 26, 43, 0.5);
}
@media (min-width: 56rem) {
  .hero__media { width: min(100%, 28rem); justify-self: end; padding-bottom: 4rem; }
  /* The overhang has to stay inside the page gutter — any further right and
     the card's corner and shadow get shaved off by overflow-x: hidden. */
  .hero__frame--detail { right: -1.5rem; width: 45%; }
}


/* 09 · Client strip ======================================================= */

.clients {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
}
.clients__label {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: var(--s-4);
}
.clients__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) clamp(1.5rem, 4vw, 3rem);
  list-style: none;
  padding: 0;
}
/* Set as restrained wordmarks rather than logo images: no mismatched
   lock-ups, no colour clashes, and it stays crisp at every size. */
.clients__list li {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-55);
  transition: color var(--dur-2) var(--ease);
}
.clients__list:hover li { color: color-mix(in srgb, var(--ink-55) 55%, transparent); }
.clients__list li:hover { color: var(--ink); }


/* 10 · Services =========================================================== */

.services {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}
@media (min-width: 40rem) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .services { grid-template-columns: repeat(3, 1fr); } }

.service__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--s-5);
}
.service__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 0;
  transition: transform 700ms var(--ease-out), filter var(--dur-3) var(--ease);
}
.service:hover .service__media img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.03);
}

.service__title {
  font-size: var(--t-xl);
  margin-bottom: var(--s-2);
}
/* Reserve two lines for every card heading once they sit side by side, so the
   body copy shares a baseline across the row instead of stepping. */
@media (min-width: 40rem) {
  .service__title { min-height: 2.08em; }
}
.service p {
  max-width: 32ch;
  color: var(--ink-80);
  font-size: var(--t-sm);
  line-height: 1.62;
}


/* 11 · Gallery & lightbox ================================================= */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}
@media (min-width: 40rem) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.gallery__item { margin: 0; }

.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}
/* Every tile is a square. Uniform crops are what turn a mixed bag of client
   snapshots into something that reads as a portfolio wall. */
.gallery__btn img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.9) contrast(1.03) brightness(0.97);
  transition: transform 800ms var(--ease-out), filter var(--dur-3) var(--ease);
}
.gallery__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 12, 20, 0.74) 0%, rgba(8, 12, 20, 0.12) 38%, transparent 62%);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease);
}
.gallery__btn figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: var(--s-5) var(--s-4) var(--s-4);
  text-align: left;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--on-dark);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease-out);
}
.gallery__btn:hover img,
.gallery__btn:focus-visible img { transform: scale(1.045); filter: saturate(1) contrast(1.03) brightness(1); }
.gallery__btn:hover::after,
.gallery__btn:focus-visible::after { opacity: 1; }
.gallery__btn:hover figcaption,
.gallery__btn:focus-visible figcaption { opacity: 1; transform: translateY(0); }

.gallery__foot { margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }

/* — Lightbox — */
.lightbox {
  width: min(92vw, 62rem);
  max-width: none;
  max-height: 92vh;
  /* Explicit auto margins: several engines don't centre a dialog whose width
     has been overridden. */
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(8, 12, 20, 0.88); }
.lightbox[open] { animation: lb-in var(--dur-2) var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.985); } }

.lightbox__figure { margin: 0; }
.lightbox__figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 0;
  background: #080C14;
  filter: none;
}
.lightbox__figure figcaption {
  padding: var(--s-4) var(--s-5);
  font-size: var(--t-sm);
  color: rgba(239, 241, 246, 0.75);
}
/* Sits inside the frame so it can never be pushed off-screen on a phone. */
.lightbox__close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  z-index: 2;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-content: center;
  border-radius: 100px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease);
}
.lightbox__close:hover { transform: rotate(90deg); background: #fff; }


/* 12 · Process steps ====================================================== */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8) clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  padding: 0;
  counter-reset: step;
}
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
/* Running-stitch connector between steps. Only on the wide layout, where
   the steps actually sit in a row. */
@media (min-width: 62rem) {
  .step::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 2px;
    background-image: linear-gradient(to right, var(--accent) 48%, transparent 48%);
    background-size: 9px 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 900ms var(--ease-out);
  }
  .step.is-visible::before { transform: scaleX(1); }
  .step:nth-child(2)::before { transition-delay: 120ms; }
  .step:nth-child(3)::before { transition-delay: 240ms; }
  .step:nth-child(4)::before { transition-delay: 360ms; }
}

.step__num {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--t-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  margin-bottom: var(--s-4);
}
.step__title { font-size: var(--t-lg); margin-bottom: var(--s-3); }
.step p { color: var(--ink-80); font-size: var(--t-sm); line-height: 1.62; max-width: 30ch; }


/* 13 · Craft / why us ===================================================== */

.craft__inner {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .craft__inner { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}

.craft__media {
  position: relative;
  width: min(100%, 30rem);
  justify-self: center;
  padding-bottom: 3rem;
  padding-right: 2rem;
}
.craft__frame img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -30px rgba(18, 26, 43, 0.5);
}
.craft__frame--inset {
  position: absolute;
  right: 0; bottom: 0;
  width: 52%;
}
.craft__frame--inset img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 5px solid var(--paper);
  box-shadow: 0 18px 40px -22px rgba(18, 26, 43, 0.55);
}

.craft__copy { display: grid; gap: var(--s-5); }

.ticks { list-style: none; padding: 0; display: grid; gap: var(--s-4); margin-top: var(--s-2); }
.ticks li {
  position: relative;
  padding-left: 2rem;
  font-size: var(--t-sm);
  line-height: 1.6;
  color: var(--ink-80);
}
.ticks li strong { display: block; color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.42em;
  width: 1rem; height: 0.55rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  border-radius: 1px;
  transform: rotate(-45deg);
}


/* 14 · Pricing ============================================================ */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.price-table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.price-table th,
/* "from" prefix: present for honesty, muted so the figure still leads. */
.price-table .from {
  font-size: var(--t-xs);
  font-weight: 400;
  color: var(--ink-55);
  margin-right: 0.15em;
}
.price-table tr > *:last-child .from { color: inherit; opacity: 0.7; }

.price-table td {
  padding: var(--s-5) var(--s-4);
  text-align: right;
  border-bottom: 1px solid var(--line);
}
.price-table thead th {
  padding-top: 0;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-55);
  border-bottom-color: var(--line-strong);
}
.price-table tbody th {
  text-align: left;
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.price-table tbody th span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-55);
  margin-top: 2px;
}
.price-table td {
  font-size: var(--t-md);
  color: var(--ink-80);
}
/* "Ask for a quote" is not a number — set it apart so the eye doesn't try to
   read it as one, and keep it from competing with the figures. */
.price-ask {
  font-size: var(--t-xs);
  color: var(--ink-55);
  white-space: nowrap;
}

/* Best-value column gets the accent — the only colour in the table. */
.price-table tr > *:last-child { color: var(--accent); font-weight: 600; }
.price-table thead tr > *:last-child { color: var(--accent); }
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }

.price-notes {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  list-style: none;
  padding-inline: 0;
  font-size: var(--t-sm);
  color: var(--ink-80);
}
@media (min-width: 48rem) {
  .price-notes { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
}
.price-notes strong { color: var(--ink); }


/* 15 · Testimonials ======================================================= */

.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  list-style: none;
  padding: 0;
}
@media (min-width: 52rem) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-6);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-3) var(--ease), background-color var(--dur-3) var(--ease);
}
.quote:hover {
  border-color: var(--line-strong);
  background: rgba(239, 241, 246, 0.04);
}
.quote blockquote p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--t-lg);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.quote__by {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--fg-soft);
}
.quote__by span { font-weight: 400; color: var(--fg-meta); }


/* 16 · FAQ ================================================================ */

.faq__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 56rem) {
  .faq__inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .faq__head { position: sticky; top: 7rem; }
}
.faq__head { display: grid; gap: var(--s-5); }
.faq__aside { font-size: var(--t-sm); color: var(--ink-55); }
.faq__aside a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  list-style: none;
  cursor: pointer;
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color var(--dur-2) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

/* Plus/minus built from pseudo-elements — no icon font, no extra markup. */
.faq-item summary::after {
  content: '';
  flex: none;
  width: 0.95rem; height: 0.95rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.6px 100% no-repeat;
  color: var(--accent);
  transition: transform var(--dur-2) var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item__body {
  padding-bottom: var(--s-5);
  max-width: 56ch;
  color: var(--ink-80);
  font-size: var(--t-sm);
  line-height: 1.68;
}
.faq-item[open] .faq-item__body { animation: faq-in var(--dur-2) var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }


/* 16b · Areas covered ===================================================== */

.areas { background: var(--paper-2); }

.areas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7) clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 40rem) { .areas__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .areas__grid { grid-template-columns: repeat(4, 1fr); } }

.area {
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-strong);
}

.area__title {
  font-size: var(--t-lg);
  margin-bottom: var(--s-3);
}

/* The town list is the part people scan for their own location, so it gets
   the accent and a slightly looser line than the note beneath it. */
.area__list {
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: 1.75;
  color: var(--accent);
  margin-bottom: var(--s-3);
}

.area__note {
  font-size: var(--t-sm);
  line-height: 1.62;
  color: var(--ink-80);
}


/* 16c · Multi-page components ============================================= */
/* Breadcrumb, service pages, CTA band, related links — everything that only
   exists now the site is more than one page. */

.breadcrumb {
  padding-block: var(--s-5) 0;
  font-size: var(--t-xs);
  color: var(--ink-55);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
}
.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.4rem;
  color: var(--line-strong);
}
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb [aria-current='page'] { color: var(--ink); font-weight: 500; }

/* A page whose first section follows the breadcrumb doesn't need its full
   top padding as well — the breadcrumb already provides the offset. */
.breadcrumb + main .page-intro,
.breadcrumb + main > .section:first-child { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* — Service page hero — */
.service-hero__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .service-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}
.service-hero__copy { display: grid; gap: var(--s-5); }
.service-hero__media { justify-self: center; width: min(100%, 30rem); }
.service-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -30px rgba(18, 26, 43, 0.5);
}

/* — Detail points — */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7) clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 44rem) { .detail-grid { grid-template-columns: repeat(2, 1fr); } }

.detail {
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-strong);
}
.detail__title { font-size: var(--t-lg); margin-bottom: var(--s-3); }
.detail p {
  font-size: var(--t-sm);
  line-height: 1.65;
  color: var(--ink-80);
  max-width: 46ch;
}

/* The garment list reuses the areas town-list treatment, but runs full width
   rather than sitting in a narrow column. */
.area__list--wide {
  max-width: 60ch;
  font-size: var(--t-md);
  line-height: 1.9;
  margin-bottom: var(--s-5);
}

/* — Related services — */
.related {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-4);
  list-style: none;
  padding: 0;
}
.related a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: var(--t-sm);
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--dur-2) var(--ease),
              background-color var(--dur-2) var(--ease),
              color var(--dur-2) var(--ease);
}
.related a::after {
  content: '\2192';
  transition: transform var(--dur-2) var(--ease-out);
}
.related a:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
  color: var(--accent);
}
.related a:hover::after { transform: translateX(3px); }

/* — Service cards become links — */
.service__link {
  text-decoration: none;
  transition: color var(--dur-2) var(--ease);
}
.service__link:hover { color: var(--accent); }
/* Stretch the link over the whole card so the image is clickable too, while
   the accessible name stays just the service title. */
.service { position: relative; }
.service__link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}

.steps__foot { margin-top: var(--s-8); }

.ticks--wide li { max-width: 68ch; }
@media (min-width: 56rem) {
  .ticks--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-5) clamp(2rem, 4vw, 3.5rem);
  }
}

/* — Spec list (badges page): the four facts that decide whether someone
     can even use the service, so they sit above the fold. — */
.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-2);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  list-style: none;
  padding-inline: 0;
}
.spec-list li { display: grid; gap: 2px; }
.spec-list span {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.spec-list strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Plain (non-lightbox) image grid, for pages that show work without the
   click-to-enlarge behaviour the portfolio has. */
.gallery--trio .gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.94) contrast(1.02);
}

/* — Closing CTA band — */
.cta-band {
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
}
.cta-band__inner {
  display: grid;
  gap: var(--s-5);
  justify-items: center;
  max-width: 44rem;
  margin-inline: auto;
}
.cta-band__title { font-size: var(--t-3xl); }
.cta-band__lede {
  font-size: var(--t-md);
  color: rgba(239, 241, 246, 0.72);
  max-width: 42ch;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}
.cta-band .btn--ghost {
  --btn-fg: var(--on-dark);
  --btn-bd: rgba(239, 241, 246, 0.3);
}
.cta-band .btn--ghost:hover {
  --btn-bd: var(--accent-on-dark);
  color: var(--accent-on-dark);
  background: rgba(255, 110, 151, 0.1);
}
.cta-band :focus-visible { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4.5px var(--accent-on-dark); }


/* 17 · Quote form ========================================================= */

.quote-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.quote__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 56rem) {
  .quote__inner { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}

.quote__copy { display: grid; gap: var(--s-5); }

.quote__direct {
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  font-size: var(--t-sm);
}
.quote__direct p { color: var(--ink-55); margin-bottom: var(--s-2); }
.quote__tel,
.quote__email {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  transition: color var(--dur-2) var(--ease);
}
.quote__tel:hover, .quote__email:hover { color: var(--accent); }

/* Address + opening hours. Sit below the tel/email lockup, set quieter than
   it so the two contact methods people actually use stay dominant. */
.quote__address {
  margin-top: var(--s-5);
  font-style: normal;
  line-height: 1.55;
  color: var(--ink-55);
}
.quote__hours {
  margin-top: var(--s-3);
  line-height: 1.55;
}
.quote__hours strong { color: var(--fg); font-weight: 600; }

/* — The form card — */
.quote-form {
  display: grid;
  gap: var(--s-4);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -50px rgba(18, 26, 43, 0.5);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field-row { display: grid; gap: var(--s-4); }
@media (min-width: 30rem) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 0.4rem; min-width: 0; }
.field > label {
  font-size: var(--t-sm);
  font-weight: 550;
  color: var(--ink-80);
}
.field .opt { font-weight: 400; color: var(--ink-55); }

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: var(--t-base);
  line-height: 1.45;
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field ::placeholder { color: var(--ink-55); opacity: 0.75; }

.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-55); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

/* Invalid state only appears after the user has attempted to submit, so
   the form never scolds someone mid-typing. */
.quote-form.is-validated :invalid { border-color: var(--danger); }

.select-wrap { position: relative; display: grid; }
.select-wrap select {
  appearance: none;
  padding-right: 2.25rem;
  cursor: pointer;
}
.select-wrap svg {
  position: absolute;
  right: 0.9rem; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--ink-55);
}

/* — Upload — */
.dropzone {
  position: relative;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease);
}
.dropzone input[type='file'] {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}
.dropzone__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: 1.15rem var(--s-4);
  font-size: var(--t-sm);
  color: var(--ink-55);
  text-align: center;
}
.dropzone__inner svg { flex: none; color: var(--accent); }
.dropzone__text u { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.dropzone:hover,
.dropzone.is-dragover { border-color: var(--accent); background: var(--accent-tint); }
.dropzone:has(input:focus-visible) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.dropzone.has-file { border-style: solid; border-color: var(--accent); }
.dropzone.has-file .dropzone__text { color: var(--ink); font-weight: 500; }

#quoteSubmit { margin-top: var(--s-2); }
.quote-form.is-sending #quoteSubmit { opacity: 0.7; pointer-events: none; }

.form-foot {
  font-size: var(--t-xs);
  color: var(--ink-55);
  text-align: center;
}

.form-status:empty { display: none; }
.form-status {
  padding: var(--s-4);
  border-radius: var(--radius);
  font-size: var(--t-sm);
  text-align: center;
}
.form-status[data-state='error']   { background: rgba(179, 38, 30, 0.09);  color: var(--danger); }
.form-status[data-state='success'] { background: rgba(18, 112, 74, 0.10); color: var(--ok); }
.form-status a { color: inherit; }


/* 18 · Footer ============================================================= */

.site-footer {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) var(--s-6);
  background: var(--ink);
  color: rgba(239, 241, 246, 0.7);
  font-size: var(--t-sm);
}

.site-footer__top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(239, 241, 246, 0.14);
}
@media (min-width: 40rem) { .site-footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .site-footer__top { grid-template-columns: 1.6fr repeat(3, 1fr); } }



.site-footer__blurb {
  max-width: 32ch;
  margin-top: var(--s-4);
  line-height: 1.6;
}

.site-footer__h {
  font-family: 'Inter', sans-serif;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--s-4);
}

.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.site-footer a { text-decoration: none; transition: color var(--dur-2) var(--ease); }
.site-footer a:hover { color: var(--on-dark); }
.site-footer :focus-visible { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4.5px var(--accent-on-dark); }

.socials { display: flex !important; gap: var(--s-3); margin-top: var(--s-5); }
.socials a {
  display: grid;
  place-content: center;
  width: 2.25rem; height: 2.25rem;
  border: 1px solid rgba(239, 241, 246, 0.2);
  border-radius: 100px;
  transition: border-color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.socials a:hover { border-color: var(--accent-on-dark); color: var(--accent-on-dark); background: rgba(255, 110, 151, 0.12); }

.site-footer__bottom {
  display: grid;
  gap: var(--s-3);
  padding-top: var(--s-6);
  font-size: var(--t-xs);
  color: rgba(239, 241, 246, 0.5);
}
@media (min-width: 48rem) {
  .site-footer__bottom { grid-template-columns: auto 1fr; align-items: center; }
  .site-footer__seo { text-align: right; }
}


/* 19 · Motion / reveal ==================================================== */
/* A single reveal primitive. JS adds .is-visible via IntersectionObserver;
   the delay steps are small and capped so nothing ever feels like it's
   waiting on an animation to finish. */

/* The hidden state is opt-in via .reveals-ready on <html> (see the watchdog
   in index.html). If main.js never runs, this block never applies and the
   page renders as plain, fully visible content. */
.reveals-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity   var(--dur-3) var(--ease-out),
    transform var(--dur-3) var(--ease-out);
  will-change: opacity, transform;
}
.reveals-ready .reveal--media { transform: translateY(24px) scale(0.985); }

.reveals-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* The fold plays faster and without a stagger on the two elements that can
   be the LCP candidate (the headline and the hero photograph) — a visitor
   should never be waiting on choreography to read what we do. */
.hero .reveal { transition-duration: 380ms; }

.reveal[data-reveal-delay='1'] { transition-delay: 55ms; }
.reveal[data-reveal-delay='2'] { transition-delay: 110ms; }
.reveal[data-reveal-delay='3'] { transition-delay: 165ms; }
.reveal[data-reveal-delay='4'] { transition-delay: 220ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveals-ready .reveal,
  .reveals-ready .reveal--media { opacity: 1; transform: none; transition: none; }
  .step::before { transform: scaleX(1); transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
