/* ==========================================================================
   AMU CONSULTANTS — Core Stylesheet
   Design language: engineering drawing sheet
   Primary brand colour #3E4492 extracted from the AMU logo mark
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --ink:          #1B1E3D;   /* deep drafting navy — dark sections */
  --ink-soft:     #2A2E52;
  --indigo:       #3E4492;   /* AMU brand primary, from logo */
  --indigo-700:   #333870;
  --indigo-200:   #C3C7E4;
  --indigo-100:   #E4E6F3;
  --indigo-050:   #F0F1F9;
  --paper:        #F7F8FB;   /* cool drafting paper */
  --white:        #FFFFFF;
  --graphite:     #5A5F73;   /* body copy secondary */
  --rule:         #C9D2E8;   /* hairline / grid lines */
  --rule-soft:    #E3E8F3;
  --amber:        #F26722;   /* site hi-vis — used only for action */
  --amber-700:    #C94F13;
  --amber-050:    #FFF1E9;

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Scale */
  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0:  clamp(0.98rem, 0.95rem + 0.15vw, 1.06rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.7vw, 2rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.4vw, 2.9rem);
  --step-4:  clamp(2.4rem, 1.8rem + 2.8vw, 4.4rem);

  /* Space */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

  --shadow-sm: 0 1px 2px rgba(27, 30, 61, .06), 0 4px 14px rgba(27, 30, 61, .05);
  --shadow-md: 0 10px 40px rgba(27, 30, 61, .1);
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.68;
  color: var(--graphite);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0 0 .6em;
}

h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

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

a { color: var(--indigo); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--amber); }

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

ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.4rem;
  font-family: var(--mono); font-size: var(--step--1);
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.shell {
  width: min(1240px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}
.shell-narrow { width: min(880px, 100% - (var(--gutter) * 2)); margin-inline: auto; }

.band { padding-block: var(--section-y); position: relative; }
.band-paper { background: var(--paper); }
.band-white { background: var(--white); }
.band-tint  { background: var(--indigo-050); }
.band-ink   { background: var(--ink); color: rgba(255,255,255,.72); }
.band-ink h2, .band-ink h3, .band-ink h4 { color: #fff; }

.band-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Drafting grid backdrop — the sheet the site is drawn on */
.gridded::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--rule-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
  pointer-events: none;
}
.band-ink.gridded::before {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
}
.gridded > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   4. SECTION FURNITURE
   Sheet references and dimension rules borrowed from drawing conventions
   -------------------------------------------------------------------------- */
.sheet-ref {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 1.1rem;
}
.sheet-ref::before {
  content: ""; width: 30px; height: 1px; background: var(--indigo); opacity: .5;
}
.band-ink .sheet-ref { color: var(--indigo-200); }
.band-ink .sheet-ref::before { background: var(--indigo-200); }
.sheet-ref-amber { color: var(--amber-700); }
.sheet-ref-amber::before { background: var(--amber); opacity: 1; }

.band-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.band-head.is-centred { margin-inline: auto; text-align: center; }
.band-head p { font-size: var(--step-1); line-height: 1.55; color: var(--graphite); }
.band-ink .band-head p { color: rgba(255,255,255,.7); }

/* Dimension rule — hairline with end ticks, as on a dimensioned drawing */
.dim-rule {
  display: flex; align-items: center; gap: 1rem;
  margin: 2.6rem 0; color: var(--rule);
}
.dim-rule::before, .dim-rule::after {
  content: ""; height: 10px; width: 1px; background: currentColor; flex: none;
}
.dim-rule span {
  flex: 1; height: 1px; background: currentColor;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn-amu, .btn-amu-ghost, .btn-amu-line {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  font-family: var(--mono); font-size: var(--step--1); font-weight: 600;
  letter-spacing: .11em; text-transform: uppercase;
  padding: 1.05rem 1.9rem; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; transition: all .22s ease; text-align: center;
}
.btn-amu {
  background: var(--indigo); color: #fff; border-color: var(--indigo);
}
.btn-amu:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }

.btn-amu-ghost { background: var(--amber); color: #fff; border-color: var(--amber); }
.btn-amu-ghost:hover { background: var(--amber-700); border-color: var(--amber-700); color: #fff; transform: translateY(-2px); }

.btn-amu-line { background: transparent; color: var(--indigo); border-color: var(--rule); }
.btn-amu-line:hover { border-color: var(--indigo); color: var(--indigo); background: var(--white); }
.band-ink .btn-amu-line { color: #fff; border-color: rgba(255,255,255,.32); }
.band-ink .btn-amu-line:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: var(--step--1); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--indigo);
}
.arrow-link svg { transition: transform .22s ease; }
.arrow-link:hover svg { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   6. HEADER
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.66);
  font-family: var(--mono); font-size: .74rem; letter-spacing: .07em;
  padding: .55rem 0;
}
.topbar-in { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; align-items: center; justify-content: space-between; }
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: var(--amber); }
.topbar-list { display: flex; flex-wrap: wrap; gap: 1.4rem; }

.masthead {
  /* Sits above .nav-scrim (94): the mobile drawer is a child of this element,
     so the drawer cannot escape the masthead's stacking context. */
  position: sticky; top: 0; z-index: 96;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-soft);
  transition: box-shadow .25s ease;
}
.masthead.is-stuck { box-shadow: var(--shadow-sm); }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 82px; }

.brand { display: flex; align-items: center; gap: .8rem; flex: none; }
.brand img { height: 46px; width: auto; }

.nav-main { display: flex; align-items: center; gap: 2rem; }
.nav-main a {
  font-family: var(--mono); font-size: var(--step--1); font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink);
  padding: .4rem 0; position: relative;
}
.nav-main a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--amber); transition: width .24s ease;
}
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { width: 100%; }
.nav-main a[aria-current="page"] { color: var(--indigo); }

/* Header CTA — smaller than a body button, and amber so the action reads
   as an action rather than as another nav item. */
.nav-cta.btn-amu {
  padding: .7rem 1.25rem;
  font-size: .7rem;
  letter-spacing: .09em;
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  white-space: nowrap;
}
.nav-cta.btn-amu:hover {
  background: var(--amber-700);
  border-color: var(--amber-700);
}
.nav-cta.btn-amu::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule);
  border-radius: 2px; padding: .6rem .7rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

@media (max-width: 991px) {
  .nav-toggle { display: block; }
  /* backdrop-filter creates a containing block for fixed descendants, which
     would clip the drawer to the header's height — drop it at drawer widths. */
  .masthead { backdrop-filter: none; background: var(--white); }
  .nav-main {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: var(--white); flex-direction: column; align-items: flex-start;
    gap: .4rem; padding: 6rem 2rem 2rem; transform: translateX(100%);
    transition: transform .3s ease; box-shadow: var(--shadow-md); z-index: 95;
  }
  .nav-main.is-open { transform: translateX(0); }
  .nav-main a { font-size: 1rem; padding: .85rem 0; width: 100%; border-bottom: 1px solid var(--rule-soft); }
  .nav-cta { margin-top: 1rem; width: 100%; }
}

.nav-scrim {
  position: fixed; inset: 0; background: rgba(27,30,61,.5);
  opacity: 0; visibility: hidden; transition: .3s ease; z-index: 94;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   7. HERO — the plotter draws the AMU mark
   -------------------------------------------------------------------------- */
.hero {
  position: relative; background: var(--white);
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  border-bottom: 1px solid var(--rule-soft); overflow: hidden;
}
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 991px) { .hero-in { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 1.3rem; }
.hero h1 em {
  font-style: normal; color: var(--indigo);
  display: block;
}
.hero-lede { font-size: var(--step-1); line-height: 1.55; max-width: 46ch; margin-bottom: 2rem; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 2.6rem;
  padding-top: 2rem; border-top: 1px solid var(--rule-soft);
}
.hero-facts div strong {
  display: block; font-family: var(--display); font-size: var(--step-2);
  font-weight: 800; color: var(--ink); line-height: 1;
}
.hero-facts div span {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--graphite);
}

.hero-plate { position: relative; }
.hero-plate svg { width: 100%; height: auto; }

/* 3D stage — Three.js injects its canvas here */
.hero-stage {
  position: relative;
  width: 100%;
  min-height: 220px;
  cursor: grab;
}
.hero-stage canvas { display: block; width: 100% !important; height: auto !important; }
.hero-stage:active { cursor: grabbing; }

.stage-labels {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--graphite);
  pointer-events: none;
}
.stage-labels span:first-child { color: var(--indigo); }

/* Pen-plot animation on the nested-rectangle mark */
.plot path, .plot line, .plot rect, .plot circle {
  stroke-dasharray: var(--len, 1400);
  stroke-dashoffset: var(--len, 1400);
  animation: plot 1.5s cubic-bezier(.65,.02,.35,1) forwards;
}
.plot .p1 { animation-delay: .15s; }
.plot .p2 { animation-delay: .5s; }
.plot .p3 { animation-delay: .85s; }
.plot .p4 { animation-delay: 1.2s; }
.plot .tick { animation-duration: .5s; animation-delay: 1.7s; }
.plot .anno { opacity: 0; animation: fadeIn .6s ease 2s forwards; }

@keyframes plot { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.plate-tag {
  position: absolute; bottom: -16px; right: 0;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--graphite);
  border: 1px solid var(--rule); padding: .5rem .8rem; background: var(--white);
}

/* --------------------------------------------------------------------------
   8. AUTHORITY / STANDARDS STRIP
   -------------------------------------------------------------------------- */
.strip { border-block: 1px solid var(--rule-soft); background: var(--white); padding: 1.8rem 0; }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.6rem; }
.strip-label {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--graphite); flex: none;
}
.strip-item {
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  color: var(--ink); opacity: .55; letter-spacing: -.01em;
  transition: opacity .2s ease;
}
.strip-item:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--rule-soft);
  border-radius: 3px; padding: 2rem 1.8rem; position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--indigo-200); }
.card h3 { font-size: var(--step-1); margin-bottom: .7rem; }
.card p { font-size: .95rem; }
.card-num {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--indigo); opacity: .7; display: block; margin-bottom: 1.2rem;
}

.icon-plate {
  width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--indigo-050); border: 1px solid var(--indigo-100);
  border-radius: 3px; margin-bottom: 1.4rem; color: var(--indigo);
}
.icon-plate svg { width: 26px; height: 26px; }
.card:hover .icon-plate { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.icon-plate, .card:hover .icon-plate { transition: all .25s ease; }

.card-ink {
  background: var(--ink-soft); border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.72);
}

/* Service cards — the whole card is the link target */
.svc-card {
  display: flex; flex-direction: column;
  color: var(--graphite); text-decoration: none;
}
.svc-card h3 { color: var(--ink); transition: color .2s ease; }
.svc-card p { flex: 1; margin-bottom: 1.2rem; }
.svc-card:hover { color: var(--graphite); }
.svc-card:hover h3 { color: var(--indigo); }

.svc-more {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .11em; text-transform: uppercase; color: var(--indigo);
  margin-top: auto; padding-top: 1rem;
  border-top: 1px solid var(--rule-soft);
  width: 100%;
}
.svc-more svg { transition: transform .22s ease; }
.svc-card:hover .svc-more { color: var(--amber-700); }
.svc-card:hover .svc-more svg { transform: translateX(5px); }

/* Closing card — an action, not a service */
.svc-card-cta {
  background: var(--indigo-050);
  border-color: var(--indigo-100);
}
.svc-card-cta .card-num { color: var(--amber-700); }
.svc-card-cta:hover { border-color: var(--amber); }
.svc-card-cta .svc-more { color: var(--amber-700); border-top-color: var(--indigo-100); }
.card-ink h3 { color: #fff; }
.card-ink .card-num { color: var(--indigo-200); opacity: 1; }
.card-ink .icon-plate { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: var(--indigo-200); }

/* Tick list */
.ticks li {
  position: relative; padding-left: 1.9rem; margin-bottom: .7rem; font-size: .95rem;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 9px; height: 9px; border: 2px solid var(--amber);
  border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.band-ink .ticks li { color: rgba(255,255,255,.75); }

/* --------------------------------------------------------------------------
   10. SPLIT FEATURE ROWS
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-flip .split-media { order: -1; }
@media (max-width: 900px) { .split-flip .split-media { order: 0; } }

.split-media { position: relative; }
.spec-frame {
  border: 1px solid var(--rule); background: var(--white);
  padding: 1.6rem; border-radius: 3px; position: relative;
}
.spec-frame::after {
  content: attr(data-tag);
  position: absolute; top: -1px; right: -1px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--white); background: var(--indigo);
  padding: .35rem .7rem;
}

/* Spec table — reads like a drawing schedule */
.schedule { width: 100%; border-collapse: collapse; font-size: .9rem; }
.schedule th, .schedule td { text-align: left; padding: .85rem .6rem; border-bottom: 1px solid var(--rule-soft); }
.schedule th {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--graphite); font-weight: 600;
}
.schedule td { color: var(--ink); }
.schedule td:last-child { font-family: var(--mono); font-size: .82rem; color: var(--indigo); text-align: right; }
.schedule tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   11. STATS
   -------------------------------------------------------------------------- */
.stat { text-align: center; padding: 1.5rem .6rem; }
.stat strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; line-height: 1;
}
.stat span {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--indigo-200); display: block; margin-top: .7rem;
}
.stat-divide { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-divide .stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 767px) {
  .stat-divide { grid-template-columns: repeat(2, 1fr); }
  .stat-divide .stat:nth-child(3) { border-left: 0; }
  .stat-divide .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}

/* --------------------------------------------------------------------------
   12. PROCESS — a real sequence, so numbering carries meaning
   -------------------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
@media (max-width: 991px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

.step { padding: 2rem 1.5rem; border: 1px solid var(--rule-soft); margin: -1px 0 0 -1px; background: var(--white); }
.step-no {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em;
  color: var(--amber-700); display: block; margin-bottom: 1.3rem;
}
.step h4 { font-size: 1.08rem; margin-bottom: .55rem; }
.step p { font-size: .9rem; }

/* --------------------------------------------------------------------------
   13. PROJECTS
   -------------------------------------------------------------------------- */
.project {
  background: var(--white); border: 1px solid var(--rule-soft); border-radius: 3px;
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; height: 100%;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-art { background: var(--indigo-050); border-bottom: 1px solid var(--rule-soft); padding: 1.5rem; }
.project-art svg { width: 100%; height: auto; }
.project-body { padding: 1.6rem; }
.project-meta {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--indigo); margin-bottom: .7rem;
}
.project h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.project p { font-size: .92rem; }

/* --------------------------------------------------------------------------
   14. TESTIMONIALS / TEAM
   -------------------------------------------------------------------------- */
.quote {
  background: var(--white); border: 1px solid var(--rule-soft);
  border-top: 3px solid var(--indigo); padding: 2rem 1.8rem; border-radius: 3px; height: 100%;
}
.quote blockquote { margin: 0 0 1.5rem; font-size: 1.02rem; color: var(--ink); line-height: 1.62; }
.quote footer { display: flex; align-items: center; gap: .9rem; border-top: 1px solid var(--rule-soft); padding-top: 1.2rem; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--indigo);
  color: #fff; font-family: var(--display); font-weight: 700; font-size: .95rem;
}
.avatar-lg { width: 92px; height: 92px; font-size: 1.7rem; margin: 0 auto 1.2rem; }
.who strong { display: block; color: var(--ink); font-family: var(--display); font-size: .98rem; }
.who span { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--graphite); }

.person { text-align: center; background: var(--white); border: 1px solid var(--rule-soft); padding: 2rem 1.4rem; border-radius: 3px; height: 100%; transition: .25s ease; }
.person:hover { border-color: var(--indigo-200); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.person h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.person .role { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); margin-bottom: .8rem; }
.person p { font-size: .88rem; }

/* --------------------------------------------------------------------------
   15. FAQ (Bootstrap accordion overrides)
   -------------------------------------------------------------------------- */
.accordion { --bs-accordion-border-color: var(--rule-soft); --bs-accordion-border-radius: 3px; }
.accordion-item { background: var(--white); margin-bottom: .8rem; border-radius: 3px !important; }
.accordion-button {
  font-family: var(--display); font-weight: 700; color: var(--ink);
  font-size: 1.05rem; padding: 1.3rem 1.5rem; background: var(--white);
}
.accordion-button:not(.collapsed) { background: var(--indigo-050); color: var(--indigo); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--indigo-200); }
.accordion-button::after { width: .95rem; height: .95rem; background-size: .95rem; }
.accordion-body { padding: 0 1.5rem 1.5rem; font-size: .96rem; }

/* --------------------------------------------------------------------------
   16. FORMS
   -------------------------------------------------------------------------- */
.form-card { background: var(--white); border: 1px solid var(--rule-soft); border-radius: 3px; padding: clamp(1.6rem, 3vw, 2.6rem); }
.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--graphite); margin-bottom: .5rem;
}
.field label .req { color: var(--amber); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1rem; font-family: var(--body); font-size: .97rem;
  color: var(--ink); background: var(--paper); border: 1px solid var(--rule);
  border-radius: 2px; transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--indigo); background: var(--white);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-error { color: var(--amber-700); font-size: .82rem; margin-top: .4rem; display: none; font-family: var(--mono); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--amber-700); }
.field.is-invalid .field-error { display: block; }

.form-note { font-size: .84rem; color: var(--graphite); margin-top: 1rem; }
.form-status {
  display: none; padding: 1rem 1.2rem; border-radius: 2px; margin-top: 1.2rem;
  font-size: .93rem; background: var(--indigo-050); border: 1px solid var(--indigo-100); color: var(--indigo);
}
.form-status.is-shown { display: block; }

/* --------------------------------------------------------------------------
   17. CONTACT BLOCKS
   -------------------------------------------------------------------------- */
.contact-line { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule-soft); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .icon-plate { margin-bottom: 0; flex: none; width: 46px; height: 46px; }
.contact-line h4 { font-size: .98rem; margin-bottom: .25rem; }
.contact-line p, .contact-line a { font-size: .95rem; margin: 0; }
.band-ink .contact-line { border-color: rgba(255,255,255,.12); }
.band-ink .contact-line a { color: rgba(255,255,255,.8); }
.band-ink .contact-line a:hover { color: var(--amber); }

.map-frame { border: 1px solid var(--rule-soft); border-radius: 3px; overflow: hidden; line-height: 0; }
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* --------------------------------------------------------------------------
   18. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  background: var(--indigo); color: rgba(255,255,255,.82);
  padding: clamp(2.6rem, 5vw, 4rem); border-radius: 3px;
  display: grid; grid-template-columns: 1.3fr auto; gap: 2rem; align-items: center;
}
@media (max-width: 800px) { .cta-banner { grid-template-columns: 1fr; } }
.cta-banner h2 { color: #fff; margin-bottom: .6rem; }
.cta-banner .btn-amu-line { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-banner .btn-amu-line:hover { background: #fff; color: var(--indigo); border-color: #fff; }

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.foot { background: var(--ink); color: rgba(255,255,255,.6); padding-top: clamp(3.5rem, 6vw, 5rem); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

.foot img { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.3rem; }
.foot h5 {
  color: #fff; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 600;
}
.foot a { color: rgba(255,255,255,.6); font-size: .94rem; }
.foot a:hover { color: var(--amber); }
.foot li { margin-bottom: .6rem; }
.foot p { font-size: .94rem; }

.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: 2px; color: #fff;
  transition: .22s ease;
}
.socials a:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

.foot-base {
  margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.6rem 0; display: flex; flex-wrap: wrap; gap: .8rem 2rem;
  justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .06em;
}

/* --------------------------------------------------------------------------
   20. PAGE BANNER (inner pages)
   -------------------------------------------------------------------------- */
.page-banner {
  background: var(--ink); color: rgba(255,255,255,.7);
  padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden;
}
.page-banner h1 { color: #fff; margin-bottom: .8rem; }
.page-banner p { font-size: var(--step-1); max-width: 60ch; color: rgba(255,255,255,.7); }
.crumbs { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 1.6rem; }
.crumbs a { color: var(--indigo-200); }
.crumbs span { color: rgba(255,255,255,.4); margin: 0 .5rem; }

/* --------------------------------------------------------------------------
   21. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   22. UTILITIES
   -------------------------------------------------------------------------- */
.mono-label {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--graphite);
}

/* Defined locally as well as by Bootstrap, so screen-reader-only text stays
   hidden even if the CDN stylesheet fails to load. */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.lead { font-size: var(--step-1); line-height: 1.55; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1.1rem; }
.text-centre { text-align: center; }

.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 80;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--indigo); color: #fff; border: 0; border-radius: 2px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .25s ease; cursor: pointer;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); }

/* --------------------------------------------------------------------------
   23. ANCHOR OFFSET — clears the sticky masthead on in-page jumps
   -------------------------------------------------------------------------- */
[id] { scroll-margin-top: 100px; }

/* --------------------------------------------------------------------------
   24. SMALL-SCREEN TRIMS
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .topbar-list { gap: 1rem; justify-content: center; width: 100%; }
  .topbar-list li:first-child { display: none; }
  .hero-facts { gap: 1.5rem; }
  .plate-tag { position: static; display: inline-block; margin-top: 1rem; }
}

/* --------------------------------------------------------------------------
   25. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .plot path, .plot line, .plot rect, .plot circle { stroke-dashoffset: 0; }
  .plot .anno { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   24. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .masthead, .topbar, .to-top, .cta-banner, .foot { display: none; }
  body { background: #fff; color: #000; }
  .band { padding-block: 1.5rem; }
}
