/* ============================================================================
   Cornerstone Web Co. — stylesheet

   Warm, bright, editorial. Ivory ground, serif headlines, one dark section
   near the end for contrast. Plain CSS, no build step.

   Order: fonts → tokens → reset → a11y → layout → components → motion.
   ========================================================================= */


/* ---------------------------------------------------------------------------
   1. FONTS — self-hosted, latin subset, variable
   Two files, ~93KB total, covering weights 400–700 with no extra requests
   and no third-party connection. font-display:swap so text paints immediately
   in the fallback and re-renders when the webfont lands.
   Both SIL Open Font License; see README.
   ------------------------------------------------------------------------ */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-latin-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}


/* ---------------------------------------------------------------------------
   2. TOKENS
   ------------------------------------------------------------------------ */
:root {

  /* -- Surfaces -------------------------------------------------------------
     Everything is warm. The base is ivory rather than white, and the greys
     are warm-shifted (more red than blue) — a neutral grey on ivory is what
     makes a page read cold and clinical. Only ONE dark region on the page,
     at the closing call to action, so it lands as emphasis and not as mood. */
  --paper:      #FAF7F2;   /* warm ivory — the page ground */
  --paper-warm: #F3EDE3;   /* deeper tint for alternating sections */
  --card:       #FFFFFF;   /* cards lift off the ivory */
  --ink-deep:   #211E1A;   /* the single dark section */

  /* -- Text -- */
  --ink:        #2A2724;   /* warm charcoal — headings and body */
  --ink-soft:   #635B52;   /* warm muted — secondary copy */
  --on-dark:    #F7F3EC;
  --on-dark-soft: #BCB3A7;

  /* -- Lines -- */
  --line:       #E5DDD1;
  --line-dark:  #3A342D;

  /* -- Accent ---------------------------------------------------------------
     Deep forest green. Warm-leaning rather than the cold blue-green of a
     "success" state, so it sits naturally on ivory instead of buzzing
     against it. Amber is a small secondary highlight only — never body text.
     Measured, all WCAG AA or better:
       --accent  #2D6A4F on --paper  → 6.15:1
       white     #FFFFFF on --accent → 6.09:1
       --amber-ink #8A5B14 on --paper → 5.81:1
     Re-measure before changing any of these. */
  --accent:      #2D6A4F;
  --accent-deep: #235340;
  --accent-tint: #EAF2ED;
  --accent-lift: #7FD0A4;  /* on dark/green sections only */

  /* Full-bleed green section — a darker shade of the brand accent, so it reads
     as the same colour family rather than a second green. Deliberately deeper
     than --accent: at accent strength a full-width block reads flat, and white
     cards need real separation to lift off it. */
  --green-deep:    #1F4A37;
  --on-green-soft: #B3CCBF;
  --amber:       #D9A03C;  /* decorative fills / rules only */
  --amber-ink:   #8A5B14;  /* amber as readable text */

  /* -- Type -- */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step--1: clamp(0.84rem, 0.81rem + 0.12vw, 0.92rem);
  --step-0:  clamp(1.05rem, 1.00rem + 0.22vw, 1.19rem);
  --step-1:  clamp(1.22rem, 1.12rem + 0.45vw, 1.48rem);
  --step-2:  clamp(1.55rem, 1.33rem + 1.00vw, 2.20rem);
  --step-3:  clamp(2.00rem, 1.58rem + 1.95vw, 3.30rem);
  --step-4:  clamp(2.55rem, 1.85rem + 3.20vw, 4.70rem);

  /* -- Space -- */
  --gap:       clamp(1.5rem, 1rem + 2vw, 2.75rem);
  --section-y: clamp(4.5rem, 3rem + 6.5vw, 8.5rem);
  --shell:     1180px;
  --shell-pad: clamp(1.25rem, 0.75rem + 2.5vw, 2.75rem);

  /* -- Shape — soft, not sharp. Rounded corners and pill buttons are most of
        what separates "welcoming" from "severe" at a glance. -- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* -- Shadow — warm-tinted, never neutral black -- */
  --shadow-sm: 0 1px 2px rgba(42, 39, 36, 0.04),
               0 2px 8px rgba(42, 39, 36, 0.04);
  --shadow-md: 0 2px 4px rgba(42, 39, 36, 0.04),
               0 12px 28px rgba(42, 39, 36, 0.07);
  --shadow-lg: 0 4px 8px rgba(42, 39, 36, 0.05),
               0 24px 56px rgba(42, 39, 36, 0.10);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}


/* ---------------------------------------------------------------------------
   3. RESET
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* sticky header clearance for anchor jumps */
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Headings are the serif. This is the single biggest change in feel — real
   typography instead of the operating system default. */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
}


/* ---------------------------------------------------------------------------
   4. ACCESSIBILITY PRIMITIVES
   ------------------------------------------------------------------------ */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark :where(a, button):focus-visible { outline-color: var(--accent-lift); }

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

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -110%);
  z-index: 200;
  padding: 0.75rem 1.4rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }


/* ---------------------------------------------------------------------------
   5. LAYOUT PRIMITIVES
   ------------------------------------------------------------------------ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

.section { padding-block: var(--section-y); }
.section--warm { background: var(--paper-warm); }
.section--dark {
  background: var(--ink-deep);
  color: var(--on-dark);
}

/* Green block, to break up the run of cream. White cards sit on top of it, so
   card interiors keep the normal light-background colours — only the section's
   own headings and lede need inverting. */
.section--green {
  background: var(--green-deep);
  color: var(--on-dark);
}
.section--green .eyebrow { color: var(--accent-lift); }
.section--green .section__lede { color: var(--on-green-soft); }
/* The warm hairline border disappears against green; the shadow does the
   lifting instead. */
.section--green .service {
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

/* Light cards declare their own text colour rather than inheriting it.
   A section that flips `color` for its own headings (--green, --dark) would
   otherwise leak ivory text into a white card and render it invisible. */
.service, .tier, .trust__item, .retainer { color: var(--ink); }

/* Eyebrow — letterspaced sans, not monospace. The mono was part of what read
   as technical and cold; small caps in the body face reads warmer. */
.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--accent-lift); }

.section__title { font-size: var(--step-3); }
.section__head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }

.section__head--split { display: grid; gap: var(--gap); align-items: end; }
@media (min-width: 860px) {
  .section__head--split { grid-template-columns: 1.15fr 0.85fr; }
}

.section__lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 40ch;
  text-wrap: pretty;
}
.section--dark .section__lede { color: var(--on-dark-soft); }

/* Accented phrase inside a headline. Colour rather than italic — the webfont
   ships upright only, so a synthesised italic would look slanted and cheap. */
.hl { color: var(--accent); }
.section--dark .hl { color: var(--accent-lift); }


/* ---------------------------------------------------------------------------
   6. BUTTONS — pill-shaped. Rounded reads friendly; square reads severe.
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: var(--step-0);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover { background: var(--accent-deep); box-shadow: var(--shadow-md); }

.btn--outline {
  border-color: var(--line);
  background: var(--card);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

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

.btn--ghost-dark {
  border-color: rgba(247, 243, 236, 0.30);
  color: var(--on-dark);
}
.btn--ghost-dark:hover { border-color: var(--accent-lift); color: var(--accent-lift); }


/* ---------------------------------------------------------------------------
   7. HEADER
   ------------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.wordmark__mark { width: 26px; height: 26px; color: var(--accent); flex: none; }
.wordmark__text { display: flex; align-items: baseline; gap: 0.35rem; line-height: 1; }
.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.wordmark__suffix {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.4rem + 1.3vw, 1.9rem);
}
.nav__list a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.nav__list a:hover { color: var(--accent); }

.nav__cta {
  padding: 0.6rem 1.25rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--r-pill);
  font-weight: 600;
}
.nav__cta:hover { background: var(--accent-deep); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  margin-right: -10px;
  color: var(--ink);
}
.nav-toggle__bars { display: block; width: 22px; height: 12px; position: relative; }
.nav-toggle__bars i {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.nav-toggle__bars i:nth-child(1) { top: 0; }
.nav-toggle__bars i:nth-child(2) { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }


/* ---------------------------------------------------------------------------
   8. HERO — split. Text on ivory, photograph in a soft rounded frame.
   No more white text fighting a dark full-bleed photo.
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--section-y);
  overflow: hidden;
}

/* Soft warm wash behind the hero so the ivory isn't flat. */
.hero::before {
  content: "";
  position: absolute;
  top: -25%; right: -10%;
  width: 65%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(217, 160, 60, 0.13) 0%, rgba(217, 160, 60, 0) 68%);
  pointer-events: none;
  z-index: -1;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero__title {
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin-bottom: 1.5rem;
  max-width: 15ch;
}
.hero__sub {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 2rem;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  max-width: 42ch;
}
.hero__note svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 0.15em; }

/* Photo frame */
.hero__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  rotate: 1.2deg;             /* a touch off-axis reads handmade, not rigid */
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
@media (max-width: 899px) {
  .hero__media { rotate: 0deg; }
  .hero__media img { aspect-ratio: 3 / 2; }
}

/* On a narrow screen the two CTAs wrap to their own lines anyway, so make
   them match width instead of sitting ragged at different lengths. */
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .contact__actions { flex-direction: column; align-items: stretch; }
  .contact__actions .btn { width: 100%; }
}


/* ---------------------------------------------------------------------------
   9. SERVICES — white cards on ivory
   ------------------------------------------------------------------------ */
.services { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .services { grid-template-columns: repeat(3, 1fr); } }

.service {
  padding: clamp(1.75rem, 1.2rem + 1.6vw, 2.4rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.service__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.25rem;
  background: var(--accent-tint);
  color: var(--accent);
  border-radius: var(--r-pill);
}
.service__icon svg { width: 22px; height: 22px; }

.service__title { font-size: var(--step-2); margin-bottom: 0.7rem; }
.service__copy { color: var(--ink-soft); text-wrap: pretty; }


/* ---------------------------------------------------------------------------
   10. WORK
   ------------------------------------------------------------------------ */
.work { display: grid; gap: clamp(2rem, 1rem + 3vw, 3rem); }
@media (min-width: 780px) {
  .work { grid-template-columns: repeat(2, 1fr); }
  .work__item:first-child { grid-column: 1 / -1; }
}

.work__link { display: block; text-decoration: none; }

.work__figure {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.work__link:hover .work__figure,
.work__link:focus-visible .work__figure {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.work__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Light browser chrome, to match the warm ground. */
.chrome {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 1rem;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}
.chrome__dots { display: flex; gap: 0.38rem; }
.chrome__dots i { width: 9px; height: 9px; border-radius: 50%; background: #D3C9B9; }
.chrome__url {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* The lead card is a real screenshot shown at true proportions, not cropped. */
.work__figure--framed img { aspect-ratio: auto; }

.work__title {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: var(--step-2);
  margin-bottom: 0.6rem;
  transition: color 0.25s var(--ease);
}
.work__link:hover .work__title { color: var(--accent); }
.work__ext { font-size: 0.62em; color: var(--accent); }

.work__desc {
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 0.9rem;
  text-wrap: pretty;
}
.work__tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--accent-tint);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}


/* ---------------------------------------------------------------------------
   11. PRICING
   ------------------------------------------------------------------------ */
.tiers { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.75rem, 1.2rem + 1.6vw, 2.4rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

/* The featured tier stays light — a black card in the middle of a warm page
   was a big part of what read cold. An accent border and a soft tint mark it
   instead. */
.tier--featured {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, var(--accent-tint) 0%, var(--card) 42%);
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) {
  .tier--featured { margin-block: -1.5rem; }
}

.tier__flag {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.35rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tier__head {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.4rem;
}
.tier__name {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.tier__price { margin-bottom: 0.7rem; }
.tier__amount {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.tier__for { font-size: var(--step--1); color: var(--ink-soft); max-width: 30ch; }

.tier__list {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.9rem;
  /* flex:1 lines the three buttons up along the bottom; align-content:start
     stops the rows themselves stretching to fill that slack, which would
     give a 4-item card a different rhythm from a 5-item one. */
  flex: 1;
  align-content: start;
}
.tier__list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.99rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.tier__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.16em;
  width: 1.15rem; height: 1.15rem;
  background: var(--accent-tint);
  border-radius: 50%;
}
.tier__list li::after {
  content: "";
  position: absolute;
  left: 0.36rem; top: 0.48em;
  width: 0.44rem; height: 0.24rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.tier__btn { width: 100%; }

/* -- Care plan band -- */
.retainer {
  display: grid;
  gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.75rem);
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) { .retainer { grid-template-columns: auto 1fr; } }

.retainer__price { color: var(--ink-soft); font-size: var(--step--1); white-space: nowrap; }
.retainer__price span {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--amber-ink);
}
.retainer__title { font-size: var(--step-1); margin-bottom: 0.45rem; }
.retainer__body p { color: var(--ink-soft); max-width: 62ch; text-wrap: pretty; }


/* ---------------------------------------------------------------------------
   12. TRUST
   ------------------------------------------------------------------------ */
.trust { display: grid; gap: clamp(1.25rem, 0.75rem + 2vw, 2rem); }
@media (min-width: 820px) { .trust { grid-template-columns: repeat(3, 1fr); } }

.trust__item {
  padding: clamp(1.5rem, 1.1rem + 1.3vw, 2rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.trust__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 1.1rem;
  background: var(--accent-tint);
  color: var(--accent);
  border-radius: var(--r-pill);
}
.trust__icon svg { width: 20px; height: 20px; }
.trust__title { font-size: var(--step-1); margin-bottom: 0.6rem; }
.trust__item p { color: var(--ink-soft); text-wrap: pretty; }


/* ---------------------------------------------------------------------------
   13. ABOUT — the portrait carries this section
   ------------------------------------------------------------------------ */
.about { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 880px) { .about { grid-template-columns: 0.8fr 1.2fr; } }

.about__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  rotate: -1.2deg;
}
.about__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  /* Top-weighted: on a standing portrait this keeps the face in frame
     when the box is shorter than the photograph. */
  object-position: center 22%;
}

.about__quote {
  margin: 1.5rem 0 1.75rem;
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
}
.about__quote p {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.about__body > p:not(.eyebrow) { color: var(--ink-soft); max-width: 58ch; text-wrap: pretty; }
.about__body > p + p { margin-top: 1rem; }

.about__sign {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.about__sign strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
}
.about__sign span { font-size: var(--step--1); color: var(--ink-soft); }


/* ---------------------------------------------------------------------------
   14. CONTACT — the one dark section
   ------------------------------------------------------------------------ */
.contact__head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 3.5rem); max-width: 46ch; }
.contact__title { font-size: var(--step-4); line-height: 1.03; margin-bottom: 1.25rem; }
.contact__lede { font-size: var(--step-1); line-height: 1.5; color: var(--on-dark-soft); text-wrap: pretty; }

.contact__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 3rem; }

.contact__details { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .contact__details { grid-template-columns: repeat(3, 1fr); } }

.contact__row {
  padding: 1.4rem 1.5rem;
  background: rgba(247, 243, 236, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
}
.contact__row dt {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: 0.5rem;
}
.contact__value {
  font-size: var(--step-1);
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-lift);
  transition: color 0.2s var(--ease);
}
a.contact__value:hover { color: #fff; }

/* Obvious placeholder — must never be mistaken for a working phone number. */
.contact__value.is-placeholder {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--on-dark-soft);
  border-bottom: 1px dashed var(--line-dark);
  cursor: not-allowed;
}


/* ---------------------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------------------ */
.site-footer {
  background: var(--ink-deep);
  color: var(--on-dark-soft);
  border-top: 1px solid var(--line-dark);
  padding-block: 2.25rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  font-size: var(--step--1);
}
.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--on-dark);
}


/* ---------------------------------------------------------------------------
   16. MOTION — content settles in; nothing showy.
   ------------------------------------------------------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

/* Hero entrance */
.js .hero__body > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.js .hero__body > *:nth-child(1) { transition-delay: 0.05s; }
.js .hero__body > *:nth-child(2) { transition-delay: 0.13s; }
.js .hero__body > *:nth-child(3) { transition-delay: 0.21s; }
.js .hero__body > *:nth-child(4) { transition-delay: 0.29s; }
.js .hero__body > *:nth-child(5) { transition-delay: 0.37s; }
.js .hero__media {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: 0.15s;
}
.js .hero.is-ready .hero__body > *,
.js .hero.is-ready .hero__media { opacity: 1; transform: none; }


/* ---------------------------------------------------------------------------
   17. REDUCED MOTION
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .js .hero__body > *,
  .js .hero__media {
    opacity: 1 !important;
    transform: none !important;
  }
  .btn:hover, .service:hover, .work__link:hover .work__figure { transform: none; }
  .hero__media, .about__media { rotate: 0deg; }
}


/* ---------------------------------------------------------------------------
   18. MOBILE NAV — last, so it overrides the desktop rules above.
   ------------------------------------------------------------------------ */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; }

  .nav__list { flex-direction: column; gap: 1.6rem; text-align: center; }
  .nav__list a { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); }
  .nav__cta {
    font-family: var(--font-sans);
    font-size: var(--step-0);
    padding: 0.85rem 1.9rem;
    margin-top: 0.5rem;
  }

  body.nav-open { overflow: hidden; }
}


/* ===========================================================================
   19. ADDED COMPONENTS
   Mockup offer, process steps, FAQ, contact form, sticky mobile CTA,
   hero trust line, service-area note.
   ======================================================================== */

/* -- Hero trust line: face + one sentence, high on the page ---------------- */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 42ch;
}
.hero__trust img {
  width: 76px; height: 76px;
  border-radius: var(--r-pill);
  object-fit: cover;
  /* Source is now a dedicated square face crop, so no repositioning needed. */
  object-position: center;
  flex: none;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line);
}
.hero__trust p { font-size: 0.97rem; line-height: 1.5; color: var(--ink-soft); }
.hero__trust strong { color: var(--ink); font-weight: 600; }

/* -- Mockup offer --------------------------------------------------------- */
.mockup {
  display: grid;
  gap: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) { .mockup { grid-template-columns: 0.95fr 1.05fr; } }

.mockup__steps { display: grid; gap: 1rem; }

.mockup__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.25rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.mockup__num {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mockup__step h3 { font-size: var(--step-1); margin-bottom: 0.25rem; }
.mockup__step p { color: var(--ink-soft); font-size: 0.98rem; }

.mockup__aside {
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  background: var(--accent-tint);
  border-radius: var(--r-md);
}
.mockup__aside h3 { font-size: var(--step-1); margin-bottom: 0.75rem; }
.mockup__aside p { color: var(--ink-soft); margin-bottom: 0.9rem; }
.mockup__aside p:last-child { margin-bottom: 0; }

/* -- Process timeline ----------------------------------------------------- */
.process { display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 860px) { .process { grid-template-columns: repeat(4, 1fr); } }

.process__item {
  position: relative;
  padding-top: 2.75rem;
  color: var(--ink);
}
.process__item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 700;
}
/* Connecting rule between steps — desktop only, and not after the last one. */
@media (min-width: 860px) {
  .process__item::after {
    content: "";
    position: absolute;
    top: 17px; left: 44px; right: -1.25rem;
    height: 1px;
    background: var(--line);
  }
  .process__item:last-child::after { display: none; }
}
.process__item h3 { font-size: var(--step-1); margin-bottom: 0.45rem; }
.process__item p { color: var(--ink-soft); font-size: 0.98rem; text-wrap: pretty; }
.process__when {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.22rem 0.7rem;
  background: var(--accent-tint);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* -- FAQ — native <details>, no JS ---------------------------------------- */
.faq { display: grid; gap: 0.85rem; max-width: 78ch; margin-inline: auto; }

.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { padding: 0 1.4rem 1.35rem; color: var(--ink-soft); }
.faq__answer p + p { margin-top: 0.75rem; }

/* -- Contact form --------------------------------------------------------- */
.contact__grid { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1.1fr 0.9fr; } }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 0.4rem; }
@media (min-width: 560px) { .form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }

.form label {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.form input, .form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--on-dark);
  background: rgba(247, 243, 236, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: #7E756A; }
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent-lift);
  background: rgba(247, 243, 236, 0.10);
}
.form input:focus-visible, .form textarea:focus-visible {
  outline: 2px solid var(--accent-lift);
  outline-offset: 2px;
}
.form textarea { resize: vertical; min-height: 130px; }

/* Honeypot: hidden from people, catches naive bots. Not display:none — some
   bots skip those. Off-screen and removed from the tab order instead. */
.form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__submit { justify-self: start; margin-top: 0.35rem; }
@media (max-width: 560px) { .form__submit { justify-self: stretch; width: 100%; } }

.form__note { font-size: var(--step--1); color: var(--on-dark-soft); }

.form__status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.96rem;
}
.form__status[hidden] { display: none; }
.form__status--ok {
  background: rgba(127, 208, 164, 0.14);
  border: 1px solid var(--accent-lift);
  color: var(--accent-lift);
}
.form__status--err {
  background: rgba(226, 130, 110, 0.12);
  border: 1px solid #E2826E;
  color: #F0A796;
}

/* -- Sticky mobile CTA ---------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; padding-inline: 0.75rem; font-size: 0.98rem; }
@media (max-width: 820px) {
  .sticky-cta { display: flex; }
  /* Keep the footer clear of the bar. */
  .site-footer { padding-bottom: 5.5rem; }
}

/* -- Service area note ---------------------------------------------------- */
.area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-top: 2rem;
  padding: 1.1rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.area svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.area strong { color: var(--ink); font-weight: 600; }

/* -- Pricing fine print --------------------------------------------------- */
.tier__note {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.included {
  display: grid;
  gap: 0.6rem 2rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .included { grid-template-columns: 1fr 1fr; } }
.included li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.included li::before {
  content: "";
  position: absolute;
  left: 0.28rem; top: 0.45em;
  width: 0.42rem; height: 0.22rem;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}

/* -- Simple prose pages (terms, location) --------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin: 2.25rem 0 0.75rem; }
.prose h3 { font-size: var(--step-1); margin: 1.75rem 0 0.5rem; }
.prose p, .prose li { color: var(--ink-soft); text-wrap: pretty; }
.prose p + p { margin-top: 0.9rem; }
.prose ul { margin: 0.75rem 0; display: grid; gap: 0.5rem; }
.prose ul li { position: relative; padding-left: 1.4rem; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0.25rem; top: 0.6em;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose__meta { font-size: var(--step--1); color: var(--ink-soft); }

/* <picture> is inline by default; block avoids a baseline gap inside the
   rounded, overflow-hidden photo frames. */
picture { display: block; }
