/* ==========================================================================
   Trois Con International FZC — site stylesheet
   Light only. No build step. Edit directly.

   Colour rule: --brand is the logo blue (#0099CB, sampled from the artwork) and is
   for FILLS ONLY — it is 3.27:1 on white, below the 4.5:1 text minimum. Anything
   carrying text uses --brand-ink, the same hue darkened, at 6.55:1.

     1. Tokens          6. Hero            11. Contact & legal
     2. Reset & base    7. Media slots     12. Floating button
     3. Layout          8. Cards & lists   13. Reveal
     4. Utility bar     9. Steps & panels  14. Footer
     5. Header & nav   10. Table           15. Motion & print
   ========================================================================== */

/* 1. Tokens =============================================================== */

:root {
  /* Brand, taken from the TCI globe mark */
  --brand:       #0099CB;   /* sampled from the logo. Fills only — 3.27:1 on white */
  --brand-ink:   #046585;   /* same hue darkened for text/buttons — 6.55:1 on white */
  --brand-deep:  #0A3646;   /* footer band */
  --brand-wash:  #EAF6FB;   /* pale section tint */
  --brand-edge:  #CBE7F2;   /* borders on tinted surfaces */

  /* Neutrals */
  --n-0:   #FFFFFF;
  --n-50:  #F7F9FC;
  --n-100: #EFF3F8;
  --n-200: #DFE6EF;
  --n-300: #C3CEDB;
  --n-500: #5F6B7A;
  --n-700: #3A4552;
  --n-900: #16202B;

  /* Semantic */
  --bg:          var(--n-0);
  --bg-raised:   var(--n-0);
  --bg-sunken:   var(--brand-wash);
  --ink:         var(--n-900);
  --ink-muted:   var(--n-700);
  --ink-faint:   var(--n-500);
  --rule:        var(--n-200);
  --rule-strong: var(--n-300);

  /* Footer is the one dark surface on the page */
  --inv-ink:   #F3F7FB;
  --inv-muted: #B4D3DF;
  --inv-rule:  rgba(255, 255, 255, 0.15);

  /* Per-sector accent, set by a class on <body>. All cool, all AA on white. */
  --accent:      var(--brand-ink);
  --accent-soft: rgba(0, 153, 203, 0.12);

  /* Woven texture — a nod to the product, kept faint */
  --weave: repeating-linear-gradient(45deg,
    rgba(255, 255, 255, 0.55) 0 2px, rgba(0, 153, 203, 0.10) 2px 5px);

  /* Type */
  --font-display: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.90rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.06rem);
  --step-1:  clamp(1.18rem, 1.10rem + 0.40vw, 1.38rem);
  --step-2:  clamp(1.40rem, 1.25rem + 0.75vw, 1.80rem);
  --step-3:  clamp(1.65rem, 1.40rem + 1.25vw, 2.30rem);
  --step-4:  clamp(1.95rem, 1.55rem + 2.00vw, 2.90rem);

  /* Space */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;

  --radius:    10px;
  --radius-lg: 14px;
  --measure:   64ch;
  --container: 1140px;
  --shadow:      0 1px 2px rgba(22, 32, 43, .05), 0 6px 18px -10px rgba(22, 32, 43, .16);
  --shadow-lift: 0 2px 4px rgba(22, 32, 43, .06), 0 14px 32px -14px rgba(22, 32, 43, .24);

  --ease: cubic-bezier(.22,.68,.36,1);
  --dur-fast: 160ms;
  --dur: 300ms;
  --dur-slow: 520ms;
}

.t-school     { --accent: #00688C; --accent-soft: rgba(0,  153, 203, .12); }
.t-corporate  { --accent: #3A5670; --accent-soft: rgba(58,  86, 112, .10); }
.t-healthcare { --accent: #0E6470; --accent-soft: rgba(14, 100, 112, .10); }
.t-costumes   { --accent: #5A4E93; --accent-soft: rgba(90,  78, 147, .10); }

/* 2. Reset & base ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 var(--sp-3);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p, li { text-wrap: pretty; }
p { margin: 0 0 var(--sp-4); max-width: var(--measure); }

img, video { max-width: 100%; height: auto; display: block; }
/* Inline SVG must never be left unsized: with only a viewBox it has no intrinsic
   size and expands to its container. Components override this freely. */
svg { width: 1.25em; height: 1.25em; display: block; flex: 0 0 auto; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--brand); color: #fff; }

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 999;
  padding: var(--sp-3) var(--sp-5); background: var(--brand-ink); color: #fff;
  border-radius: 0 0 var(--radius) var(--radius); font-weight: 600;
  text-decoration: none; transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 0; }

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

/* 3. Layout =============================================================== */

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(2.75rem, 5vw, 4rem); }
.section--sunken { background: var(--bg-sunken); }

.section-head { max-width: var(--measure); margin-bottom: var(--sp-5); }
.section-head h2 { position: relative; padding-bottom: var(--sp-3); }
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 3rem; height: 3px; background: var(--brand); border-radius: 2px;
}
.section-head p { color: var(--ink-muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block; font-size: var(--step--1); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--sp-2);
}

.lede { font-size: var(--step-1); color: var(--ink-muted); line-height: 1.5; }
.split { display: grid; gap: var(--sp-6); align-items: center;
         grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

/* 4. Utility bar ========================================================== */

.utility-bar {
  background: var(--brand-wash);
  border-bottom: 1px solid var(--brand-edge);
  font-size: var(--step--1);
}
.utility-bar__inner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5); min-height: 40px; padding-block: var(--sp-2);
}
.utility-bar a {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: var(--ink-muted); text-decoration: none; font-weight: 600;
  transition: color var(--dur-fast) var(--ease);
}
.utility-bar a:hover { color: var(--brand-ink); }
.utility-bar svg { width: 15px; height: 15px; color: var(--brand-ink); }

@media (max-width: 719px) {
  .utility-bar__hide-sm { display: none; }
  .utility-bar__inner { justify-content: center; gap: var(--sp-4); }
}

/* 5. Header & nav ========================================================= */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner { display: flex; align-items: center; gap: var(--sp-4); min-height: 66px; }

.brand {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0;
}
.brand__logo { width: auto; height: 38px; flex: 0 0 auto; }
/* Placeholder mark, used only until the real logo file is dropped in. */
.brand__mark {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 8px;
  background: var(--brand-ink); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
}
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; line-height: 1; }
.brand__tag {
  display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px;
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  padding: var(--sp-2) var(--sp-3); font: inherit; font-size: var(--step--1);
  font-weight: 600; color: var(--ink); cursor: pointer;
}
.nav-toggle:hover { border-color: var(--brand-ink); }
.nav-toggle[hidden] { display: none; }
.nav-toggle svg { width: 17px; height: 17px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: block; padding: var(--sp-2) var(--sp-3); border-radius: var(--radius);
  color: var(--ink-muted); text-decoration: none; font-size: var(--step--1);
  font-weight: 600; white-space: nowrap;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.site-nav a:hover { color: var(--brand-ink); background: var(--brand-wash); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--brand-ink); background: var(--brand-wash); }

/* `.site-nav a` outranks `.btn`, so the CTA restates its own styling. */
.site-nav .btn { margin-left: var(--sp-2); }
.site-nav a.btn { padding: .65rem 1.15rem; }
.site-nav a.btn--primary,
.site-nav a.btn--primary:hover { color: #fff; background: var(--brand-ink); }
.site-nav a.btn--primary:hover { background: var(--brand-deep); }
.site-nav a.btn--primary[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--brand); }

@media (max-width: 899px) {
  .site-nav {
    display: none; position: absolute; inset: 66px 0 auto;
    background: #fff; border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow); padding: var(--sp-3) 0 var(--sp-5);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column; align-items: stretch; gap: 2px;
    width: min(100% - 2.5rem, var(--container)); margin-inline: auto;
  }
  .site-nav a { padding: var(--sp-3) var(--sp-4); font-size: var(--step-0); }
  .site-nav .btn { margin: var(--sp-3) 0 0; justify-content: center; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block !important; }
}
@media (max-width: 419px) {
  .site-header .brand__tag { display: none; }
  .site-header .brand__name { font-size: 1.05rem; }
}

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

a { color: var(--brand-ink); text-underline-offset: .18em; }
a:hover { color: var(--brand-deep); }

.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: .7rem 1.2rem; border-radius: var(--radius); border: 1px solid transparent;
  font: inherit; font-size: var(--step--1); font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--brand-ink); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); color: #fff; }
.btn--ghost { border-color: var(--rule-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

.arrow-link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 700; font-size: var(--step--1); text-decoration: none; color: var(--accent);
}
.arrow-link::after { content: "\2192"; transition: transform var(--dur-fast) var(--ease); }
.arrow-link:hover::after { transform: translateX(3px); }

/* 6. Hero (light) ========================================================= */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(170deg, var(--brand-wash), #fff 72%);
  border-bottom: 1px solid var(--brand-edge);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(60ch 40ch at 88% -10%,
              rgba(0, 153, 203, .22), transparent 70%);
}
.hero__inner { padding-block: clamp(2.5rem, 5vw, 4rem); }
.hero h1 { max-width: 20ch; }
.hero p { color: var(--ink-muted); font-size: var(--step-1); max-width: 54ch; }

/* Hero media. The image sits beside the copy rather than under it, so it adds
   almost nothing to page height at desktop widths. */
.hero__split { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .hero__split { grid-template-columns: 1.05fr .95fr; } }

.hero__media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--brand-edge); box-shadow: var(--shadow);
}
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Home page: four labelled tiles say what the business does before a word is read. */
.hero__mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.hero__mosaic figure {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--brand-edge);
  box-shadow: var(--shadow);
}
.hero__mosaic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hero__mosaic figcaption {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(10, 54, 70, .90));
  color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 1.5rem var(--sp-3) var(--sp-2);
}
@media (max-width: 559px) {
  .hero__mosaic figcaption { font-size: .6rem; letter-spacing: .04em; }
}

.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--brand-edge);
  font-size: var(--step--1); color: var(--ink-faint);
}
.hero__meta strong { color: var(--ink); display: block; font-size: var(--step-0); }

.crumbs { font-size: var(--step--1); color: var(--ink-faint); margin-bottom: var(--sp-3); }
.crumbs a { color: var(--ink-faint); }
.crumbs a:hover { color: var(--brand-ink); }
.crumbs span { margin-inline: var(--sp-2); opacity: .5; }

/* 7. Media slots ========================================================== */

.media-slot {
  position: relative; aspect-ratio: var(--slot-ratio, 4 / 3);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--weave), var(--brand-wash);
  border: 1px solid var(--brand-edge);
  display: grid; place-items: center; isolation: isolate;
  container-type: inline-size;
}
.media-slot::after {
  content: "TCI"; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 10cqi, 4rem); color: rgba(0, 153, 203, .38); line-height: 1;
}
.media-slot:has(img)::after { content: none; }
.media-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* 8. Cards & lists ======================================================== */

.grid { display: grid; gap: var(--sp-4);
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
/* Used for the four sector cards. auto-fit gave an unbalanced 3 + 1 wrap at
   desktop widths, so pin it to a clean 2 x 2. */
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } }

.card {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2);
}
.card h3 { margin-bottom: 0; }
.card p { color: var(--ink-muted); margin-bottom: 0; }
.card__icon {
  width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: var(--sp-1);
}
.card__icon svg { width: 21px; height: 21px; }

.card--link {
  text-decoration: none; color: inherit;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.card--link:hover {
  border-color: var(--brand); transform: translateY(-3px);
  box-shadow: var(--shadow-lift); color: inherit;
}
.card .arrow-link { margin-top: auto; padding-top: var(--sp-3); }

.feature-list, .check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.feature-list li { padding-left: 1.9rem; position: relative; max-width: var(--measure); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 1.1rem; height: 2px; background: var(--brand);
}
.feature-list strong { display: block; color: var(--ink); }
.feature-list span { color: var(--ink-muted); }

.check-list li { position: relative; padding-left: 1.8rem; color: var(--ink-muted); max-width: var(--measure); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .4em; width: 1.05rem; height: .55rem;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* 9. Steps & panels ======================================================= */

.steps { counter-reset: step; display: grid; gap: var(--sp-4);
         grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: var(--step-2);
  font-weight: 700; color: var(--brand); line-height: 1; margin-bottom: var(--sp-2);
}
.step h3 { margin-bottom: var(--sp-1); font-size: var(--step-0); }
.step p { margin-bottom: 0; color: var(--ink-muted); font-size: var(--step--1); }

.panel {
  background: var(--brand-wash); border: 1px solid var(--brand-edge);
  border-radius: var(--radius-lg); padding: var(--sp-6);
}
.panel__text {
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 700;
  line-height: 1.2; color: var(--ink); max-width: 28ch; margin: 0 0 var(--sp-3);
}

.callout {
  border-left: 3px solid var(--brand); background: var(--brand-wash);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-4) var(--sp-5); margin-block: var(--sp-5);
}
.callout p:last-child { margin-bottom: 0; }

/* 10. Table =============================================================== */

.table-wrap {
  overflow-x: auto; border: 1px solid var(--rule);
  border-radius: var(--radius-lg); background: #fff; -webkit-overflow-scrolling: touch;
}
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: var(--step--1); }
caption { caption-side: bottom; padding: var(--sp-4); color: var(--ink-faint); text-align: left; }
th, td { text-align: left; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--brand-wash); font-weight: 700; color: var(--ink); white-space: nowrap; }
tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
td { color: var(--ink-muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* 11. Contact rows & company information ================================== */

.contact-rows { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.contact-row {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); background: #fff;
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.contact-row:hover { border-color: var(--brand); transform: translateY(-2px); color: inherit; }
.contact-row__icon {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
}
.contact-row__icon svg { width: 20px; height: 20px; }
.contact-row__label {
  display: block; font-size: var(--step--1); font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint);
}
.contact-row__value {
  display: block; font-size: var(--step-1); font-weight: 700;
  color: var(--ink); overflow-wrap: anywhere;
}
.contact-row__note { display: block; font-size: var(--step--1); color: var(--ink-faint); }

.legal {
  background: #fff; border: 1px solid var(--rule-strong);
  border-radius: var(--radius-lg); padding: var(--sp-6);
}
.legal h2 { font-size: var(--step-2); }
.legal dl { margin: 0; display: grid; grid-template-columns: 1fr; }
.legal dt {
  font-size: var(--step--1); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-faint); padding-top: var(--sp-3);
}
.legal dd {
  margin: 0 0 var(--sp-3); padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--rule); color: var(--ink); overflow-wrap: anywhere;
}
.legal dd:last-of-type { border-bottom: 0; margin-bottom: 0; }
.legal .todo { color: var(--ink-faint); font-style: italic; }
.legal .todo::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); margin-right: var(--sp-2); vertical-align: .1em;
}
@media (min-width: 640px) {
  .legal dl { grid-template-columns: minmax(11rem, auto) 1fr; }
  .legal dt { padding-bottom: var(--sp-3); border-bottom: 1px solid var(--rule); }
  .legal dd { margin-bottom: 0; padding-top: var(--sp-3); }
  .legal dt:last-of-type, .legal dd:last-of-type { border-bottom: 0; }
}

/* 12. Floating contact button ============================================= */

.fab {
  position: fixed; right: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem);
  z-index: 90; display: inline-flex; align-items: center; gap: var(--sp-3);
  padding: .8rem 1.15rem; border-radius: 999px; background: #1FA855; color: #fff;
  font-weight: 700; font-size: var(--step--1); text-decoration: none;
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .35);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.fab:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45); }
.fab svg { width: 20px; height: 20px; }
.fab__label { display: none; }
@media (min-width: 560px) { .fab__label { display: inline; } }

/* 13. Reveal ==============================================================
   One gentle fade-up, no stagger. Content is visible by default: site.js adds
   .js-reveal to <html> (and skips it under reduced motion), and only then is
   anything hidden — so a script failure can never trap content invisible.
   Vertical movement only; a horizontal transform would widen the document.
   ------------------------------------------------------------------------ */

.js-reveal [data-reveal] {
  opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* 14. Footer — the one dark band ========================================== */

.site-footer {
  background: var(--brand-deep); color: var(--inv-muted);
  padding-block: var(--sp-7) var(--sp-5); font-size: var(--step--1);
}
.site-footer a { color: var(--inv-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 {
  font-family: var(--font-body); font-size: var(--step--1); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: var(--sp-3);
}
.footer-grid {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  padding-bottom: var(--sp-5); border-bottom: 1px solid var(--inv-rule);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.footer-grid p { margin-bottom: var(--sp-3); max-width: 32ch; }
.footer-grid address { font-style: normal; line-height: 1.7; }
.footer-brand .brand { color: var(--inv-ink); margin-bottom: var(--sp-3); }
.footer-brand .brand__mark { background: #fff; color: var(--brand-ink); }
.footer-brand .brand__tag { color: var(--inv-muted); }
/* The artwork is blue on white, so on the dark footer band it sits on a light
   chip rather than floating as a bare white square. */
.footer-brand .brand__logo {
  background: #fff; border-radius: 9px; padding: 3px;
}
.footer-legal {
  padding-top: var(--sp-4); display: flex; flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5); justify-content: space-between;
}
.footer-legal p { margin: 0; max-width: none; }
.footer-legal strong { color: var(--inv-ink); }

/* 15. Motion & print ====================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .btn:hover, .card--link:hover, .contact-row:hover, .fab:hover { transform: none; }
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .nav-toggle, .site-nav, .skip-link, .btn-row,
  .media-slot, .utility-bar, .fab { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
  .site-footer { background: #fff !important; color: #000 !important; }
  .site-footer a, .footer-legal strong { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
