/* ============================================================
   DREKYR shared stylesheet
   Palette (locked): #FAF9F5 #EAE7E0 #141B2D #1E2B8A #45C3D4 #C9A84C
   Type (locked): Outfit (display), Inter (body)
   Contrast rule: no teal or gold text on the off-white background;
   teal and gold text sit on charcoal only (WCAG AA).
   ============================================================ */

:root {
  --bg:       #FAF9F5;
  --surface:  #EAE7E0;
  --charcoal: #141B2D;
  --navy:     #1E2B8A;
  --teal:     #45C3D4;
  --gold:     #C9A84C;

  --ink:      #141B2D;
  --ink-80:   rgba(20, 27, 45, 0.82);
  --ink-70:   rgba(20, 27, 45, 0.72);
  --ink-55:   rgba(20, 27, 45, 0.64); /* v6: was 0.58 (4.2:1), now 5.1:1 on --bg, WCAG AA */
  --line:     rgba(20, 27, 45, 0.14);

  --paper:    #FAF9F5;
  --paper-85: rgba(250, 249, 245, 0.86);
  --paper-70: rgba(250, 249, 245, 0.72);
  --paper-line: rgba(250, 249, 245, 0.16);

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* Topographic texture across the whole canvas, very quiet */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('Drekyr_pattern.webp');
  background-repeat: repeat;
  background-size: 420px 420px;
  opacity: 0.065;
  pointer-events: none;
  z-index: 0;
}
body.subdir::before { background-image: url('../Drekyr_pattern.webp'); }

main, header, footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }

::selection { background: var(--gold); color: var(--charcoal); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--charcoal); color: var(--paper); padding: 0.6rem 1rem;
}
.skip-link:focus { left: 0; }

/* ---------- Type helpers ---------- */

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; letter-spacing: -0.015em; }

.label {
  font-family: var(--font-body);
  font-variant: small-caps;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 1.1rem;
}
.label-on-dark { color: var(--teal); }

.standfirst {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.85;
  color: var(--ink-80);
  max-width: 66ch;
}

.prose p { margin-bottom: 1.4rem; color: var(--ink-80); max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .wrap { padding: 0 3rem; } }

section { padding: 5rem 0; }
@media (min-width: 768px) { section { padding: 6.5rem 0; } }

.section-tight { padding: 3.5rem 0; }

.rule-gold { width: 44px; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.6rem; }
.rule-gold.centered { margin: 0 auto 1.6rem; }

/* ---------- Header / nav ---------- */

.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(20, 27, 45, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-nav .nav-texture {
  position: absolute; inset: 0;
  background-image: url('Drekyr_pattern.webp');
  background-size: 680px 680px;
  background-repeat: repeat;
  filter: invert(1) sepia(1) saturate(2.5) hue-rotate(155deg) brightness(1.2);
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
}
body.subdir .site-nav .nav-texture { background-image: url('../Drekyr_pattern.webp'); }
.site-nav .nav-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--teal) 25%, var(--gold) 75%, transparent 100%);
  opacity: 0.7;
}
.nav-inner {
  position: relative;
  max-width: 1240px; margin: 0 auto;
  padding: 0 1.25rem;
  height: 4rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) { .nav-inner { padding: 0 2rem; } }

.nav-brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.nav-brand img { height: 44px; width: auto; filter: invert(1); mix-blend-mode: screen; }
.nav-brand span {
  font-family: var(--font-display); font-weight: 700; color: var(--paper);
  letter-spacing: 0.22em; font-size: 1.05rem;
}

.nav-links { display: none; align-items: center; gap: 0.15rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  font-variant: small-caps; letter-spacing: 0.07em;
  font-size: 0.86rem; color: var(--paper-85);
  text-decoration: none; padding: 0.4rem 0.7rem;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a[aria-current="page"] { color: var(--paper); border-bottom: 2px solid var(--gold); }
.nav-links .nav-cta {
  margin-left: 0.8rem;
  background: var(--gold); color: var(--charcoal);
  font-weight: 600; font-variant: normal;
  padding: 0.5rem 1.15rem; border-radius: 2px;
  transition: filter 0.2s ease;
}
.nav-links .nav-cta:hover { filter: brightness(1.08); color: var(--charcoal); border-bottom: none; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 2.4rem; height: 2.4rem;
  background: none; border: none; cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--paper); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 4rem; left: 0; right: 0; z-index: 49;
  background: rgba(20, 27, 45, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--paper-line);
  padding: 1rem 1.5rem 1.75rem;
}
.mobile-menu a {
  display: block; padding: 0.9rem 0;
  color: var(--paper-85); text-decoration: none;
  font-variant: small-caps; letter-spacing: 0.08em; font-size: 1rem;
  border-bottom: 1px solid rgba(250, 249, 245, 0.08);
}
.mobile-menu a:hover { color: var(--paper); }
.mobile-menu .nav-cta {
  margin-top: 1.1rem; text-align: center;
  background: var(--gold); color: var(--charcoal);
  font-weight: 600; font-variant: normal;
  border-radius: 2px; border-bottom: none;
  padding: 0.8rem 1rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 2.1rem;
  border-radius: 2px; text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.btn-gold { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.btn-gold:hover { filter: brightness(1.08); color: var(--charcoal); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20, 27, 45, 0.35); }
.btn-ghost:hover { border-color: var(--charcoal); background: rgba(20, 27, 45, 0.05); color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--paper); border-color: rgba(250, 249, 245, 0.45); }
.btn-ghost-dark:hover { border-color: var(--paper); background: rgba(250, 249, 245, 0.08); color: var(--paper); }

.cta-sub { font-size: 0.9rem; color: var(--ink-55); margin-top: 0.9rem; }
.cta-sub-dark { color: var(--paper-70); }

/* ---------- Availability status ---------- */

.availability {
  display: inline-flex; align-items: center; gap: 0.65rem;
  border: 1px solid var(--gold);
  background: rgba(201, 168, 76, 0.09);
  padding: 0.6rem 1.15rem;
  border-radius: 2px;
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
}
.availability::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.availability-dark { border-color: var(--gold); background: rgba(201, 168, 76, 0.14); color: var(--paper); }

/* ---------- Home hero ---------- */

.hero { padding: 7.5rem 0 4.5rem; text-align: center; }
@media (min-width: 768px) { .hero { padding: 8.5rem 0 5rem; } }

.hero-lockup { display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; }
.hero-lockup .logo-wrap { background: var(--bg); display: inline-flex; }
.hero-lockup img { height: 150px; width: auto; object-fit: contain; mix-blend-mode: darken; }
@media (min-width: 768px) { .hero-lockup img { height: 190px; } }
.hero-lockup .tagline {
  font-variant: small-caps; font-weight: 600;
  letter-spacing: 0.38em; font-size: 0.78rem;
  color: var(--navy); margin-top: 0.5rem;
  padding-left: 0.38em; /* optically centre the tracked text */
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 4.1rem);
  font-weight: 700;
  max-width: 18ch;
  margin: 0 auto 1.6rem;
}
.hero .hero-body {
  max-width: 62ch; margin: 0 auto 1.4rem;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.85; color: var(--ink-80);
}
.hero .hero-status { margin: 1.4rem 0 2.2rem; }
.hero .hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Inner page head ---------- */

.page-head { padding: 8.5rem 0 3.5rem; }
.page-head h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); font-weight: 700; max-width: 24ch; margin-bottom: 1.4rem; }
.page-head .standfirst { margin-top: 0.2rem; }

/* ---------- Dark panels ---------- */

.panel-dark {
  background: var(--charcoal);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.panel-dark .panel-texture {
  position: absolute; inset: 0;
  background-image: url('Drekyr_pattern.webp');
  background-size: 680px 680px;
  background-repeat: repeat;
  filter: invert(1) sepia(1) saturate(2.5) hue-rotate(155deg) brightness(1.2);
  mix-blend-mode: screen;
  opacity: 0.24;
  pointer-events: none;
}
body.subdir .panel-dark .panel-texture { background-image: url('../Drekyr_pattern.webp'); }
.panel-dark > .wrap { position: relative; }
.panel-dark h2, .panel-dark h3 { color: var(--paper); }
.panel-dark p { color: var(--paper-85); }

/* ---------- Proof band ---------- */

.proof-band { padding: 3.5rem 0; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 1.5rem; text-align: center; }
@media (min-width: 900px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof-grid .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  color: var(--gold); line-height: 1.1; display: block;
}
.proof-grid .what { font-size: 0.92rem; color: var(--paper-85); margin-top: 0.45rem; display: block; }
.proof-grid .who { font-size: 0.8rem; color: var(--paper-70); display: block; }

/* ---------- Names band ---------- */

.names-band { padding: 3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.names-band .label { margin-bottom: 1.3rem; }
.names-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.9rem 1.1rem; list-style: none; }
.names-list li { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--ink-80); display: flex; align-items: baseline; gap: 1.1rem; }
.names-list li + li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); align-self: center; }

/* ---------- Quote treatments ---------- */

.quote-band { background: var(--surface); }
.big-quote { max-width: 54rem; margin: 0 auto; text-align: center; }
.big-quote .qmark { font-family: var(--font-display); font-size: 4.2rem; line-height: 0.5; color: var(--gold); display: block; margin-bottom: 1.4rem; }
.big-quote blockquote p {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  line-height: 1.55; color: var(--ink);
}
.quote-attr { margin-top: 1.6rem; font-size: 0.88rem; color: var(--ink-70); }
.quote-attr strong { display: block; font-variant: small-caps; letter-spacing: 0.12em; font-size: 0.95rem; color: var(--ink); font-weight: 600; }

.quote-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: var(--bg);
  padding: 2rem 2.2rem;
}
.quote-card blockquote p { color: var(--ink-80); font-size: 1rem; line-height: 1.85; }
.quote-card .quote-attr { margin-top: 1.2rem; }
.quote-card .relationship { font-size: 0.8rem; color: var(--ink-55); }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 700px)  { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }

.service-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 1.9rem 1.9rem 1.7rem;
  display: block; text-decoration: none; color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--ink); }
.service-card .num { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--navy); letter-spacing: 0.15em; display: block; margin-bottom: 0.8rem; }
.service-card h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 0.6rem; }
.service-card .for { font-size: 0.92rem; color: var(--ink-70); line-height: 1.7; margin-bottom: 0.9rem; }
.service-card .proof { font-size: 0.83rem; font-weight: 600; color: var(--navy); }

.insight-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 1.9rem 2rem;
}
.insight-card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 0.7rem; }
.insight-card .hook { font-size: 0.98rem; color: var(--ink-80); line-height: 1.75; margin-bottom: 1rem; }
.insight-card .meta { font-size: 0.82rem; color: var(--ink-55); }

.case-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 2rem 2.1rem;
  display: block; text-decoration: none; color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.case-card:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--ink); }
.case-card h3 { font-size: 1.25rem; font-weight: 600; margin: 0.9rem 0 0.7rem; }
.case-card p { font-size: 0.94rem; color: var(--ink-70); line-height: 1.75; }
.case-card .more { display: inline-block; margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--navy); }

/* ---------- Draft banner (legal gate) ---------- */

.draft-banner {
  display: inline-block;
  font-variant: small-caps; letter-spacing: 0.18em;
  font-size: 0.72rem; font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--gold);
  background: rgba(201, 168, 76, 0.14);
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
}

/* ---------- TBC marker ---------- */

.tbc {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; font-variant: small-caps;
  color: var(--paper);
  background: var(--navy);
  padding: 0.18rem 0.55rem;
  border-radius: 2px;
  vertical-align: middle;
}

/* ---------- Services page ---------- */

.service-block { border-top: 1px solid var(--line); padding: 3.2rem 0; }
.service-block:last-of-type { border-bottom: 1px solid var(--line); }
.service-block .num { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--navy); letter-spacing: 0.15em; display: block; margin-bottom: 0.7rem; }
.service-block h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 600; margin-bottom: 0.9rem; max-width: 30ch; }
.service-block .for { font-size: 1.05rem; color: var(--ink); font-weight: 500; margin-bottom: 1rem; max-width: 60ch; }
.service-block .body { color: var(--ink-80); max-width: 68ch; margin-bottom: 1.5rem; }
.evidence { list-style: none; display: grid; gap: 0.7rem; max-width: 68ch; }
.evidence li {
  font-size: 0.92rem; color: var(--ink-80); line-height: 1.7;
  padding-left: 1.2rem; position: relative;
}
.evidence li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; background: var(--gold);
}
.evidence-label { font-variant: small-caps; letter-spacing: 0.2em; font-size: 0.76rem; font-weight: 600; color: var(--ink-55); display: block; margin-bottom: 0.7rem; }

.wedge {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  padding: 2.6rem 2.4rem;
  margin: 4rem 0;
}
.wedge h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.wedge p { color: var(--ink-80); max-width: 66ch; }

.fitmap table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.fitmap th, .fitmap td { text-align: left; padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.65; }
.fitmap th { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--ink); border-bottom: 2px solid var(--charcoal); }
.fitmap td:first-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 700px) {
  .fitmap table, .fitmap thead, .fitmap tbody, .fitmap tr, .fitmap th, .fitmap td { display: block; }
  .fitmap thead { position: absolute; left: -9999px; }
  .fitmap td { border-bottom: none; padding: 0.35rem 0; }
  .fitmap td:first-child { padding-top: 1.2rem; font-family: var(--font-display); }
  .fitmap tr { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
  .fitmap td:first-child { white-space: normal; }
}

/* ---------- About page ---------- */

.about-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 2fr 3fr; gap: 4.5rem; } }

.portrait-frame { position: relative; padding-right: 14px; padding-bottom: 14px; max-width: 420px; }
.portrait-frame .img-wrap { overflow: hidden; aspect-ratio: 3 / 4; position: relative; z-index: 1; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait-frame::after {
  content: ''; position: absolute; top: 14px; left: 14px; right: 0; bottom: 0;
  border: 2px solid var(--gold); z-index: 0; pointer-events: none;
}

.credentials { list-style: none; margin: 2.2rem 0 1.8rem; border-bottom: 1px solid var(--line); }
.credentials li { padding: 0.8rem 0; border-top: 1px solid var(--line); font-size: 0.92rem; line-height: 1.6; color: var(--ink-80); }
.credentials li strong { color: var(--ink); font-weight: 600; display: block; }

.stats-line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--navy); line-height: 1.65;
}

.name-aside {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  padding: 2.2rem 2.4rem;
  max-width: 54rem;
}
.name-aside h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.9rem; font-variant: small-caps; letter-spacing: 0.18em; }
.name-aside p { font-size: 0.95rem; color: var(--ink-80); line-height: 1.85; }

/* ---------- Case pages ---------- */

.case-stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin: 2.2rem 0 0; }
.case-stats div .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--navy); line-height: 1.15; display: block; }
.case-stats div .what { font-size: 0.85rem; color: var(--ink-70); display: block; margin-top: 0.2rem; }

.locked-note {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 2.4rem 2.4rem;
  max-width: 46rem;
}

/* ---------- Contact ---------- */

.contact-details { list-style: none; margin: 2rem 0; max-width: 34rem; }
.contact-details li { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.contact-details li:first-child { border-top: 1px solid var(--line); }
.contact-details .k { font-weight: 600; color: var(--ink); }
.contact-details .v { color: var(--ink-70); text-align: right; }

/* ---------- CTA block ---------- */

.cta-block { text-align: center; }
.cta-block h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; margin-bottom: 0.9rem; }
.cta-block .cta-lead { max-width: 46ch; margin: 0 auto 1.9rem; }
.cta-block .availability { margin-bottom: 1.9rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: var(--paper-85);
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--teal) 25%, var(--gold) 75%, transparent 100%);
  opacity: 0.7;
}
.footer-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem 2.5rem; }
@media (min-width: 768px) { .footer-inner { padding: 4.5rem 3rem 2.5rem; } }

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 1.6rem; }
.footer-brand img { height: 56px; width: auto; filter: invert(1); mix-blend-mode: screen; }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.22em; font-size: 1.15rem; color: var(--paper); margin-top: 0.4rem; }
.footer-brand .tagline { font-variant: small-caps; font-weight: 600; letter-spacing: 0.32em; font-size: 0.68rem; color: var(--teal); margin-top: 0.35rem; }

.footer-line { font-size: 0.92rem; color: var(--paper-70); max-width: 52ch; margin-bottom: 2.2rem; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; margin-bottom: 2.4rem; }
.footer-nav a { color: var(--paper-85); text-decoration: none; font-size: 0.88rem; font-variant: small-caps; letter-spacing: 0.08em; }
.footer-nav a:hover { color: var(--paper); }

.footer-small { font-size: 0.8rem; color: var(--paper-70); border-top: 1px solid var(--paper-line); padding-top: 1.6rem; }

/* ---------- Fade-up on scroll (progressive enhancement) ---------- */

html.js .fade { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .fade.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .fade { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* v6, 24 Sep 2026 */
.cta-block h2.cta-line { font-size: clamp(1.35rem, 2.5vw, 1.85rem); font-weight: 600; max-width: 34ch; margin: 0 auto 1.9rem; line-height: 1.3; }
.footer-legal { margin-top: 0; padding-top: 0; border-top: none; }
.page-head h1.label { font-family: var(--font-body); font-variant: small-caps; letter-spacing: 0.28em; font-size: 0.8rem; font-weight: 600; color: var(--navy); line-height: 1.4; max-width: none; margin-bottom: 1.1rem; }
.service-group { border-top: 2px solid var(--charcoal); padding-top: 2.6rem; margin-top: 2.4rem; }
.service-group:first-child { margin-top: 0; }
.service-group > .num { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--navy); letter-spacing: 0.15em; display: block; margin-bottom: 0.5rem; }
.service-group > h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; margin-bottom: 0.4rem; }
.service-group .service-block h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); font-weight: 600; margin-bottom: 0.9rem; max-width: 34ch; }
.service-card .services-in { font-size: 0.92rem; color: var(--ink-70); line-height: 1.6; margin-bottom: 0.9rem; }
.contact-form { max-width: 36rem; margin-bottom: 3rem; }
.contact-form label { display: block; font-weight: 600; font-size: 0.92rem; margin: 1.1rem 0 0.4rem; color: var(--ink); }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.75rem 0.9rem; border: 1px solid rgba(20, 27, 45, 0.35); border-radius: 4px; font: inherit; background: #fff; color: var(--ink); }
.contact-form textarea { min-height: 9rem; resize: vertical; }
.contact-form .btn { margin-top: 1.4rem; }
.contact-form .form-note { font-size: 0.85rem; color: var(--ink-70); margin-top: 1rem; }
.contact-form .hp { position: absolute; left: -9999px; }
.prose .prose-list { margin: -0.6rem 0 1.4rem 1.2rem; max-width: 66ch; color: var(--ink-80); list-style: disc; }
.prose .prose-list li { margin-bottom: 0.5rem; line-height: 1.75; }
