/* ============================================================
   OAK & SOLE LTD — oakandsole.co.uk
   Shared stylesheet for index.html and terms.html
   ============================================================ */

:root {
  --gold: #ffd166;
  --gold-deep: #e8b73f;
  --gold-text: #8a6410; /* accessible gold for text&icons on light surfaces */
  --cream: #f8f4ed;
  --mist: #c7c5d3;
  --navy: #171b35;
  --ink: #10111a;

  --text: #171b35;
  --text-soft: #4a4f6b;
  --on-dark: #f8f4ed;
  --on-dark-soft: #c7c5d3;

  --line: #e2ddd2;
  --line-dark: #2a2f4d;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(16, 17, 26, .06);
  --shadow: 0 12px 34px rgba(16, 17, 26, .10);
  --shadow-lg: 0 24px 60px rgba(16, 17, 26, .16);

  --maxw: 1200px;
  --gut: 20px;
  --section-y: 72px;

  --font-head: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--navy);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .45rem; }

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

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

.section--dark {
  background: var(--navy);
  color: var(--on-dark);
}
.section--dark h2,
.section--dark h3 { color: var(--on-dark); }
.section--dark p { color: var(--on-dark-soft); }

.section--alt { background: #fffdf8; }

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--gold); }

.lede { font-size: 1.06rem; color: var(--text-soft); }
.section--dark .lede { color: var(--on-dark-soft); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Scroll reveal ----------
   Only active when JS is present (html.js) so content is never trapped
   invisible. Stagger is driven by the --i index set per card. */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s cubic-bezier(.22, .61, .36, 1),
    transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--gold-deep); color: var(--ink); }

.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--cream); }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(248, 244, 237, .45);
  color: var(--cream);
}
.btn--ghost-light:hover { background: var(--cream); color: var(--navy); }

.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 237, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--navy);
  flex-shrink: 0;
}
.logo:hover { color: var(--navy); }
.logo svg { flex-shrink: 0; }
.logo span { white-space: nowrap; }
.logo em {
  font-style: normal;
  color: var(--gold-text);
  padding-inline: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
.site-nav a:hover { background: rgba(23, 27, 53, .06); color: var(--navy); }

.site-nav .nav-cta {
  background: var(--navy);
  color: var(--cream);
  padding: 11px 20px;
  border-radius: 999px;
  margin-left: 8px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--gold); color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(168deg, #fffdf8 0%, var(--cream) 46%, #efe9dd 100%);
  padding-block: 64px 76px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}

.hero h1 { margin-bottom: 18px; }
.hero h1 .accent {
  background: linear-gradient(transparent 62%, var(--gold) 62%);
  padding-inline: 2px;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 54ch;
  margin-bottom: 22px;
}

.hero-value {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.hero-value li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.hero-value svg { color: var(--gold-text); flex-shrink: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--text-soft);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.hero-trust svg { color: var(--navy); flex-shrink: 0; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  max-width: 260px;
}
.hero-badge svg { color: var(--gold-text); flex-shrink: 0; }
.hero-badge strong { display: block; font-size: 1.05rem; color: var(--navy); line-height: 1.2; }
.hero-badge span { font-size: .82rem; color: var(--text-soft); }

/* ---------- Generic card grids ---------- */

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body { padding: 24px; flex: 1; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--text-soft); font-size: .97rem; }

.card-tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 10px;
}

/* ---------- Service cards ---------- */

.service-card {
  position: relative;
  isolation: isolate;
  transition:
    transform .4s cubic-bezier(.22, .61, .36, 1),
    box-shadow .4s ease,
    border-color .4s ease;
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

/* Media frame: crops the zoom and hosts the overlay + index */
.card-media {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.card-media img {
  transition: transform .8s cubic-bezier(.22, .61, .36, 1);
}
.service-card:hover .card-media img,
.service-card:focus-within .card-media img {
  transform: scale(1.07);
}

/* Warm veil that recedes on hover, letting the photo come forward */
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 27, 53, .58) 0%, rgba(23, 27, 53, .06) 55%, transparent 100%);
  opacity: 1;
  transition: opacity .45s ease;
  pointer-events: none;
}
.service-card:hover .card-media::after,
.service-card:focus-within .card-media::after { opacity: .45; }

/* Numeral badge */
.card-index {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  letter-spacing: .02em;
  text-shadow: 0 2px 12px rgba(16, 17, 26, .55);
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.service-card:hover .card-index,
.service-card:focus-within .card-index { transform: translateY(-4px); }

/* Gold rule that draws under the heading */
.sweep {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 3px;
  transition: background-size .55s cubic-bezier(.22, .61, .36, 1);
  padding-bottom: 2px;
}
.service-card:hover .sweep,
.service-card:focus-within .sweep { background-size: 100% 3px; }

/* Per-card CTA — always visible on touch, slides up where hover exists */
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.card-cta svg { transition: transform .3s ease; }
.card-cta:hover { color: var(--gold-text); }
.card-cta:hover svg { transform: translateX(4px); }

@media (hover: hover) and (min-width: 641px) {
  .card-cta {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s ease, transform .4s ease, color .2s ease;
  }
  .service-card:hover .card-cta,
  .service-card:focus-within .card-cta {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Icon styling ---------- */

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 209, 102, .28);
  color: var(--navy);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.section--dark .icon-badge {
  background: rgba(255, 209, 102, .16);
  color: var(--gold);
}

/* ---------- Industries ---------- */

/* Asymmetric bento so this section reads differently from the uniform
   photo-card grid above. Areas are named explicitly at every breakpoint
   rather than relying on auto-placement, which leaves holes when spans
   do not divide evenly into the column count. */

.sector-mosaic {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "a a b b"
    "a a c d"
    "e e f f";
}

.sector {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Tiles are sized by the mosaic, not their content, so centre the copy
     rather than letting it strand at the top of a taller cell. */
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition:
    transform .4s cubic-bezier(.22, .61, .36, 1),
    box-shadow .4s ease,
    border-color .4s ease;
}
.sector:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

/* Gold rule that draws across the top edge on hover */
.sector::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  height: 3px;
  width: 0;
  background: var(--gold);
  transition: width .55s cubic-bezier(.22, .61, .36, 1);
}
.sector:hover::before { width: 100%; }

.sector h3 { font-size: 1.12rem; margin-bottom: 6px; }
.sector p { font-size: .94rem; color: var(--text-soft); margin: 0; }

.sector .icon-badge {
  transition:
    background-color .35s ease,
    color .35s ease,
    transform .45s cubic-bezier(.22, .61, .36, 1);
}
.sector:hover .icon-badge {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px) rotate(-6deg);
}

/* ---- Photo feature tiles ---- */

.sector--feature {
  padding: 0;
  border-color: transparent;
  background: var(--navy);
  min-height: 300px;
  justify-content: flex-end;
}
.sector--feature img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, .61, .36, 1);
}
.sector--feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(16, 17, 26, .93) 0%,
    rgba(16, 17, 26, .70) 42%,
    rgba(16, 17, 26, .30) 100%);
  transition: opacity .45s ease;
}
.sector--feature:hover img { transform: scale(1.06); }
.sector--feature:hover::after { opacity: .88; }

.sector-body {
  position: relative;
  z-index: 2;
  padding: 28px 26px;
}
.sector--feature h3 { color: var(--cream); }
.sector--feature p { color: var(--on-dark-soft); }
.sector--feature .icon-badge {
  background: rgba(255, 209, 102, .18);
  color: var(--gold);
}
.sector--feature:hover .icon-badge {
  background: var(--gold);
  color: var(--navy);
}

.sector--tall { min-height: 430px; }

/* ---------- Process ---------- */

.step {
  position: relative;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.step-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 2.3rem;
  font-weight: 600;
  color: rgba(255, 209, 102, .22);
  line-height: 1;
}
.step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.step p { font-size: .95rem; margin: 0; }

/* ---------- Case studies ---------- */

.case { }
.case img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.case-body { padding: 24px; }
.case-body h3 { font-size: 1.15rem; margin-bottom: 14px; }
.case-list { list-style: none; padding: 0; margin: 0 0 18px; }
.case-list li {
  font-size: .93rem;
  color: var(--text-soft);
  padding-left: 0;
  margin-bottom: 9px;
}
.case-list strong {
  display: block;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 2px;
}
.case-result {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 209, 102, .22);
  border-radius: 12px;
  padding: 14px 16px;
}
.case-result svg { color: var(--gold-text); flex-shrink: 0; }
.case-result span { font-size: .92rem; font-weight: 600; color: var(--navy); line-height: 1.4; }

/* ---------- Testimonials ---------- */

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.quote-mark { color: var(--gold); margin-bottom: 14px; }
.quote blockquote {
  margin: 0 0 20px;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}
.quote figcaption {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.quote-name { display: block; font-weight: 700; color: var(--navy); }
.quote-role { display: block; font-size: .87rem; color: var(--text-soft); }

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

/* The whole section sits on a raised "sheet" so it reads as a distinct
   chapter rather than another band of the page. */

.about-section {
  background: linear-gradient(180deg, #fffdf8 0%, #f2ebde 100%);
}

.about-canvas {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 58px;
  box-shadow: var(--shadow-lg);
}

/* Oversized brand monogram, clipped by the canvas */
.about-monogram {
  position: absolute;
  top: -30px;
  right: -12px;
  z-index: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 150px;
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(255, 209, 102, .17);
  pointer-events: none;
  user-select: none;
}

.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 58px;
  align-items: center;
}

/* ---- Photo collage ---- */

.about-media {
  position: relative;
  padding: 0 34px 44px 0;
}

/* Offset gold outline sitting behind the main photo */
.about-frame {
  position: absolute;
  left: -16px;
  top: -16px;
  right: 62px;
  bottom: 72px;
  z-index: 0;
  border: 2px solid var(--gold);
  border-radius: 24px;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.about-photo {
  display: block;
  object-fit: cover;
  /* Required: the width/height attributes map to presentational CSS, and a
     definite height makes the browser ignore aspect-ratio entirely. */
  height: auto;
}
.about-photo--main {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}
.about-photo--sub {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 56%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.about-media:hover .about-frame { transform: translate(-7px, -7px); }
.about-media:hover .about-photo--main { transform: scale(1.015); }
.about-media:hover .about-photo--sub { transform: translateY(-6px); }

.about-chip {
  position: absolute;
  left: -14px;
  top: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}
.about-chip svg { color: var(--gold-text); flex-shrink: 0; }
.about-chip strong {
  display: block;
  font-size: .92rem;
  color: var(--navy);
  line-height: 1.25;
}
.about-chip span { font-size: .78rem; color: var(--text-soft); }

/* ---- Copy ---- */

.about-lede {
  font-family: var(--font-head);
  font-size: 1.4rem;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 16px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0 4px;
}
.pillar {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 16px;
  padding: 20px 20px 22px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.pillar .icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.pillar h3 {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 7px;
}
.pillar p { font-size: .95rem; color: var(--text-soft); margin: 0; }

/* ---- Director sign-off ---- */

.about-sign {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about-sign-who { display: flex; align-items: center; gap: 16px; }
.about-rule {
  display: block;
  width: 42px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.about-sign strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.12rem;
  color: var(--navy);
  line-height: 1.3;
}
.about-sign span { font-size: .88rem; color: var(--text-soft); }

/* Full-width band across the canvas, so the copy column stays short enough
   to balance the photo collage beside it. */
.about-points {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 30px 0 0;
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.about-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0;
}
.about-points svg { color: var(--gold-text); flex-shrink: 0; margin-top: 3px; }
.about-points strong { display: block; color: var(--navy); }
.about-points span { font-size: .94rem; color: var(--text-soft); }

/* ---------- Achievements ---------- */

.stat {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
}
.stat .icon-badge { margin-inline: auto; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-label { display: block; font-size: .95rem; color: var(--on-dark-soft); }

/* ---------- Blog ---------- */

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.post-meta svg { color: var(--gold-text); flex-shrink: 0; }
.post-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.post-link:hover { color: var(--gold-text); gap: 11px; }
.post-link svg { transition: transform .18s ease; }

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; color: var(--gold-text); transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 22px; }
.faq-answer p { color: var(--text-soft); font-size: .97rem; }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}
.contact-list li { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.contact-list .icon-badge { margin-bottom: 0; width: 46px; height: 46px; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--on-dark); font-size: 1rem; text-decoration: none; }
.contact-list a:hover { color: var(--gold); }

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-lg);
}
/* The form card sits on a light surface inside a dark section, so it must
   opt out of the .section--dark heading/text colours. */
.section--dark .form-card h3,
.form-card h3 { color: var(--navy); margin-bottom: 6px; }
.section--dark .form-card p,
.form-card > p { color: var(--text-soft); font-size: .94rem; margin-bottom: 22px; }
.section--dark .form-card .form-note,
.section--dark .form-card .form-consent { color: var(--text-soft); }
.section--dark .form-card .form-status { color: var(--navy); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: #fdfcf9;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(255, 209, 102, .35);
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.form-consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }

.form-note {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--text-soft);
  text-align: center;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 209, 102, .28);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-size: .93rem;
  font-weight: 600;
}
.form-status.is-visible { display: block; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--ink); margin-bottom: 6px; }
.cta-band p { color: #3b3722; margin: 0; max-width: 56ch; }
.cta-band .btn--primary { background: var(--ink); color: var(--cream); }
.cta-band .btn--primary:hover { background: var(--navy); color: var(--cream); }

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

.site-footer {
  background: var(--ink);
  color: var(--on-dark-soft);
  padding-block: 62px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.site-footer .logo { color: var(--cream); margin-bottom: 16px; }
.site-footer .logo:hover { color: var(--gold); }
.site-footer p { font-size: .93rem; color: var(--on-dark-soft); }
.site-footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--on-dark-soft);
  text-decoration: none;
  font-size: .94rem;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .93rem;
  margin-bottom: 13px;
}
.footer-contact svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: var(--on-dark-soft); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(248, 244, 237, .14);
  padding-block: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .86rem;
}
.footer-bottom a { color: var(--on-dark-soft); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Legal page ---------- */

.page-hero {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: 62px 58px;
}
.page-hero h1 { color: var(--cream); margin-bottom: 12px; }
.page-hero p { color: var(--on-dark-soft); max-width: 60ch; }

.breadcrumb {
  font-size: .86rem;
  color: var(--on-dark-soft);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 52px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.legal-toc h2 {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.legal-toc ol { margin: 0; padding-left: 1.1rem; }
.legal-toc li { margin-bottom: 8px; font-size: .9rem; }
.legal-toc a { color: var(--text); text-decoration: none; }
.legal-toc a:hover { color: var(--gold-text); }

.legal-body { max-width: 780px; }
.legal-body h2 {
  font-size: 1.5rem;
  margin-top: 44px;
  padding-top: 8px;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin-top: 26px; }
.legal-body p, .legal-body li { color: var(--text-soft); font-size: 1rem; }

.legal-meta {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 34px;
}
.legal-meta dl {
  margin: 0;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 10px 18px;
}
.legal-meta dt { font-weight: 600; color: var(--navy); font-size: .93rem; }
.legal-meta dd { margin: 0; color: var(--text-soft); font-size: .93rem; }
.legal-meta a { color: var(--navy); }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: none;
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px 28px;
  max-width: 1160px;
  margin-inline: auto;
}
.cookie-banner.is-visible {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1 1 420px; }
.cookie-text strong {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-size: 1.03rem;
  margin-bottom: 6px;
}
.cookie-text strong svg { color: var(--gold); flex-shrink: 0; }
.cookie-text p { font-size: .9rem; color: var(--on-dark-soft); margin: 0; }
.cookie-text a { color: var(--gold); }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 24px; font-size: .92rem; }

/* ============================================================
   RESPONSIVE — Tablet landscape / small desktop
   ============================================================ */

@media (max-width: 1080px) {
  :root { --section-y: 64px; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero-grid { gap: 38px; }
  .about-inner { gap: 40px; }
  .about-canvas { padding: 44px; }
  .contact-grid { gap: 36px; }
  .site-nav a { padding: 9px 10px; font-size: .9rem; }
}

/* ---- Tablet: iPad portrait & landscape (768–1024px) ---- */

@media (max-width: 1024px) {
  html { scroll-padding-top: 80px; }

  .header-inner { min-height: 66px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  .site-nav.is-open { max-height: 560px; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gut) 22px;
  }
  .site-nav a { padding: 13px 14px; font-size: 1rem; }
  .site-nav .nav-cta {
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
  }

  /* Tablet gets its own 2-column rhythm */
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }

  /* Both photo tiles go full width so they keep their impact; the four
     icon tiles pair up. No gaps, because every row sums to 2 columns. */
  .sector-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "a a"
      "b c"
      "e e"
      "d f";
  }
  .sector--tall { min-height: 340px; }

  .hero { padding-block: 48px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-sub { max-width: none; }
  .hero-media { max-width: 640px; margin-inline: auto; width: 100%; }
  .hero-media img { aspect-ratio: 16 / 11; }
  .hero-badge { left: 16px; bottom: -16px; }

  .about-inner { grid-template-columns: 1fr; gap: 46px; }
  .about-canvas { padding: 38px; border-radius: 26px; }
  .about-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .about-monogram { font-size: 118px; top: -22px; right: -8px; }
  .about-points { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .legal-toc ol { columns: 2; column-gap: 30px; }
}

/* ---- Odd-count grids: last card spans both columns on tablet ---- */

@media (min-width: 641px) and (max-width: 1024px) {
  .grid--3 > .span-tablet,
  .grid--4 > .span-tablet { grid-column: 1 / -1; }
  .span-tablet.card { flex-direction: row; align-items: stretch; }

  /* Two shapes exist: a bare <img> (blog card) and a .card-media
     wrapper (service card). Both become the 42% side panel. */
  .span-tablet.card > img,
  .span-tablet.card > .card-media {
    width: 42%;
    flex-shrink: 0;
  }
  .span-tablet.card > img {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  /* Take the image out of flow so the text column governs card height,
     rather than the image's intrinsic ratio stretching the row. */
  .span-tablet.card > .card-media {
    position: relative;
    min-height: 250px;
  }
  .span-tablet.card > .card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }
  .span-tablet .card-body { display: flex; flex-direction: column; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤640px, incl. 375–428px phones)
   ============================================================ */

@media (max-width: 640px) {
  :root { --section-y: 52px; --gut: 18px; }

  body { font-size: 16px; }

  .grid { gap: 20px; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .sector-mosaic {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d" "e" "f";
  }

  .about-canvas { padding: 24px 20px 28px; border-radius: 22px; }
  .about-inner { gap: 34px; }
  .about-monogram { font-size: 120px; top: -22px; right: -8px; }
  /* Pull the collage inside the narrower canvas so nothing clips */
  .about-media { padding: 0 22px 34px 0; }
  .about-frame { left: -8px; top: -8px; right: 44px; bottom: 52px; }
  .about-photo--main { aspect-ratio: 4 / 4.4; }
  .about-photo--sub { width: 58%; border-width: 5px; }
  .about-chip { left: 0; top: 14px; padding: 10px 13px; }
  .about-lede { font-size: 1.22rem; }
  .about-pillars { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .about-points { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; padding-top: 24px; }
  .about-sign { gap: 18px; }
  .about-sign .btn { width: 100%; }
  .sector { padding: 24px 20px; }
  .sector-body { padding: 24px 20px; }
  .sector--feature,
  .sector--tall { min-height: 280px; }

  .logo { font-size: 1.06rem; }
  .logo svg { width: 30px; height: 30px; }

  .hero { padding-block: 36px 52px; }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-badge {
    position: static;
    margin-top: 16px;
    max-width: none;
  }

  .section-head { margin-bottom: 30px; }

  .card-body,
  .case-body { padding: 20px; }
  .quote { padding: 24px 22px; }
  .form-card { padding: 24px 20px; }

  .step { padding: 24px 20px; }
  .step-num { font-size: 1.9rem; top: 18px; right: 18px; }

  .cta-band { padding: 30px 24px; text-align: left; }
  .cta-band .btn { width: 100%; }
  .cta-band > div:last-child { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .legal-toc ol { columns: 1; }
  .legal-meta { padding: 18px 18px; }
  .legal-meta dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal-meta dd { margin-bottom: 10px; }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px 20px;
  }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

@media (max-width: 400px) {
  .hero-value { gap: 8px 14px; }
  .hero-value li { font-size: .88rem; }
  .stat-num { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  /* Belt-and-braces: content is visible from the start, independent of JS. */
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .service-card:hover { transform: none; }
  .service-card:hover .card-media img { transform: none; }
}
