/* DataPillars Global — site styles (light theme, animated) */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("fonts/source-sans-3.woff2") format("woff2-variations");
}

:root {
  /* Light theme built from the logo: navy #132d4f and blue #3b8bc2 */
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-2: #f7f9fc;
  --line: rgba(19, 45, 79, .10);
  --line-strong: rgba(19, 45, 79, .20);
  --text: #132d4f;
  --text-2: #2c4466;
  --muted: #55688a;
  --blue: #2b78b6;
  --blue-soft: rgba(59, 139, 194, .12);
  --amber: #f2b441;
  --amber-ink: #9a6200;
  --amber-soft: rgba(242, 180, 65, .18);
  --steel: #46628c;
  --shadow: 0 1px 2px rgba(19,45,79,.05), 0 8px 24px rgba(19,45,79,.07);
  --btn-ink: #132d4f;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-lg: 28px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color-scheme: light;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--amber); color: var(--btn-ink);
  padding: .6rem 1rem; font-weight: 700; text-decoration: none; border-radius: 6px;
}
.skip:focus { top: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--display); line-height: 1.04; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; font-stretch: 72%; }
h3 { font-size: 1.45rem; font-weight: 700; font-stretch: 85%; line-height: 1.2; }
p { margin: 0 0 1rem; max-width: 62ch; }

/* ---------- Header: floating glass bar ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding: .75rem var(--gutter) 0; }
.header-bar {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4rem; padding: 0 1.25rem;
  background: rgba(255, 255, 255, .82); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px;
  position: relative;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  color: var(--text); text-decoration: none;
  font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: 1.15rem;
}
.brand:hover { color: var(--text); }
.brand img { width: 46px; height: auto; flex: none; }
.brand-sub { color: var(--blue); font-weight: 600; }

.nav-toggle {
  display: none; cursor: pointer;
  background: none; border: 1px solid var(--line-strong); color: var(--text);
  font: inherit; font-size: 1rem; padding: .35rem .85rem; border-radius: 8px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 1rem; }
.site-nav a:hover { color: var(--text); }
.site-nav .nav-cta {
  color: var(--btn-ink); background: var(--amber); font-weight: 700;
  padding: .5rem 1.05rem; border-radius: 10px;
}
.site-nav .nav-cta:hover { color: var(--btn-ink); background: #ffc95e; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + .5rem);
    background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; }
  .site-nav li a { display: block; padding: .75rem 0; }
  .site-nav .nav-cta { text-align: center; margin-top: .5rem; }
}

/* ---------- Hero: framed panel with live data network ---------- */
.hero { padding: 1rem var(--gutter) 0; }
.hero-frame {
  position: relative; overflow: hidden;
  max-width: calc(var(--wrap) + 4rem); margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 70% at 80% 90%, rgba(59,139,194,.16), transparent 70%),
    radial-gradient(40% 50% at 8% 0%, rgba(242,180,65,.12), transparent 70%),
    linear-gradient(180deg, #ffffff, #eef4fa);
}
#network { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.25rem, 5vw, 4rem) 0;
}
.hero-copy { padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero-kicker { color: var(--steel); font-size: 1.1rem; margin-bottom: 1.25rem; }
.hero h1 {
  font-size: clamp(3rem, 8.5vw, 6.4rem);
  font-weight: 800; font-stretch: 64%; line-height: .94;
  margin-bottom: 1.5rem;
}
.hero-copy > p:not(.hero-kicker) { color: var(--text-2); font-size: 1.2rem; max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.btn {
  display: inline-block; text-decoration: none;
  font: inherit; font-weight: 700; font-size: 1.05rem;
  padding: .85rem 1.45rem; border-radius: 12px; border: 1px solid transparent;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.btn-primary { background: var(--amber); color: var(--btn-ink); box-shadow: 0 0 0 0 var(--amber-soft); }
.btn-primary:hover { background: #ffc95e; color: var(--btn-ink); box-shadow: 0 0 28px 4px var(--amber-soft); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: #ffffff; }
.btn-ghost:hover { border-color: var(--steel); color: var(--text); }

/* Pillars: the signature — each column is a practice area */
.pillars {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  gap: clamp(.4rem, 1.2vw, .9rem);
  height: clamp(18rem, 42vw, 29rem);
}
.pillar { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.pillar .col {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(19,45,79,.16), rgba(19,45,79,.04));
  border: 1px solid var(--line-strong); border-bottom: 0;
  border-radius: 10px 10px 0 0;
  transform-origin: bottom;
  animation: rise 1s cubic-bezier(.2,.7,.2,1) both;
}
/* a light pulse travelling up each pillar, like data flowing */
.pillar .col::after {
  content: ""; position: absolute; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.55), transparent);
  animation: flow 3.6s linear infinite;
  animation-delay: inherit;
}
.pillar .label {
  font-family: var(--display); font-stretch: 78%; font-weight: 600;
  font-size: clamp(.78rem, 1.5vw, 1rem); line-height: 1.2; color: var(--muted);
  min-height: 4.2em; padding: .65rem 0 1rem;
  border-top: 1px solid var(--line-strong);
}
.p1 .col { height: 58%; animation-delay: .05s; }
.p2 .col { height: 72%; animation-delay: .2s; }
.p3 .col {
  height: 92%; animation-delay: .35s;
  background: linear-gradient(180deg, #3b8bc2, #2b6fa6);
  border-color: #2b78b6;
  box-shadow: 0 18px 50px rgba(43,120,182,.30);
}
.p3 .col::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--amber); }
.p4 .col { height: 64%; animation-delay: .5s; }
.p5 .col { height: 46%; animation-delay: .65s; }
.p3 .label { color: var(--text); }

@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes flow { from { top: 110%; } to { top: -50%; } }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .pillars { height: 16rem; }
}

/* ---------- Capability strip with counters ---------- */
.stats { padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) 0; }
.stats-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel);
}
.stat { padding: 1.75rem 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .num {
  display: block;
  font-family: var(--display); font-stretch: 70%; font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.stat .what { display: block; color: var(--muted); margin-top: .5rem; font-size: 1rem; line-height: 1.35; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
section { scroll-margin-top: 6rem; }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 46rem; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.2rem; }

/* Services: glass panels with line icons and a cursor-following glow */
.services {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem;
}
.service {
  grid-column: span 2;
  position: relative; overflow: hidden;
  padding: 1.75rem;
  background: var(--panel); box-shadow: var(--shadow);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.service::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, -40%), rgba(59,139,194,.10), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.service:hover { border-color: rgba(43,120,182,.45); transform: translateY(-3px); }
.service:hover::before { opacity: 1; }
.service { grid-column: span 3; }
.service.core { grid-column: 1 / -1; border-color: rgba(242,180,65,.7); border-top: 4px solid var(--amber); }
.service.core:hover { border-color: var(--amber); }
.service .icon { width: 52px; height: 52px; margin-bottom: 1.25rem; color: var(--steel); }
.service.core .icon { color: var(--amber-ink); }
.service h3 { margin-bottom: .5rem; }
.service-lead {
  font-family: var(--display); font-stretch: 88%; font-weight: 600;
  font-size: 1.2rem; line-height: 1.3; color: var(--text);
  margin-bottom: 1rem; max-width: 46ch;
}
.service.core .service-lead { font-size: 1.55rem; max-width: 40ch; }
.service-body { display: grid; gap: 1.25rem; }
.service.core .service-body { grid-template-columns: 1.1fr 1fr; gap: 2rem; }
.service-copy, .service-deliver { min-width: 0; }
.service-copy p { margin-bottom: 0; }
.service-deliver { border-top: 1px solid var(--line); padding-top: 1rem; }
.service.core .service-deliver { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 2rem; }
.deliver-title { font-weight: 600; color: var(--steel); font-size: .95rem; margin-bottom: .6rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.checks li { position: relative; padding-left: 1.7rem; color: var(--text-2); font-size: 1rem; line-height: 1.4; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px rgba(43,120,182,.45);
}
.checks li::after {
  content: ""; position: absolute; left: .36rem; top: .42em;
  width: .3rem; height: .55rem; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.service.core .checks li::before { background: var(--amber-soft); box-shadow: inset 0 0 0 1px rgba(154,98,0,.4); }
.service.core .checks li::after { border-color: var(--amber-ink); }
.services-cta {
  margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.5rem 1.75rem; border: 1px dashed var(--line-strong); border-radius: var(--radius);
}
.services-cta p { margin: 0; color: var(--muted); }
.services-cta strong { color: var(--text); }
@media (max-width: 860px) {
  .service.core .service-body { grid-template-columns: 1fr; gap: 1.25rem; }
  .service.core .service-deliver { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
}
.service p { color: var(--muted); font-size: 1.05rem; }
.service .service-lead { color: var(--text); }
.service .deliver-title { color: var(--steel); font-size: .95rem; }
.tags { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li {
  font-size: .9rem; color: var(--text-2);
  background: var(--panel-2); border: 1px solid var(--line);
  padding: .2rem .65rem; border-radius: 999px;
}
.service.core .tags li { border-color: rgba(242,180,65,.6); background: #fff6e3; color: #6b4400; }
@media (max-width: 980px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service { grid-column: auto; }
  .service.core { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .service, .service:hover { transform: none; transition: none; } }

/* Approach: a real sequence, so it is numbered, joined by a line */
.steps {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  counter-reset: step;
}
.steps li { counter-increment: step; position: relative; padding-top: 5.25rem; min-width: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 3.75rem; height: 3.75rem; display: grid; place-items: center;
  font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: 1.7rem;
  color: var(--btn-ink); background: var(--amber);
  border: 0; border-radius: 50%;
  box-shadow: 0 6px 16px rgba(242,180,65,.35);
}
.steps li::after {
  content: ""; position: absolute; top: 1.875rem; left: 4.5rem; right: -1.5rem; height: 1px;
  background: linear-gradient(90deg, rgba(242,180,65,.8), var(--line-strong));
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: 1.05rem; }
.duration {
  display: inline-block; margin-bottom: .9rem;
  font-size: .9rem; font-weight: 600; color: var(--blue);
  background: var(--blue-soft); border: 1px solid rgba(43,120,182,.3);
  padding: .15rem .65rem; border-radius: 999px;
}
.steps .phase-out { color: var(--text-2); border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .4rem; }
.phase-out strong { color: var(--text); }
.steps-note { color: var(--muted); font-size: .95rem; margin-top: 2rem; }
@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .steps li::after { display: none; }
}
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* Free review offer band */
.offer { padding: 0 0 clamp(1rem, 3vw, 2rem); }
.offer-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(242,180,65,.6); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background:
    radial-gradient(60% 140% at 100% 50%, rgba(242,180,65,.20), transparent 70%),
    #fffdf8;
}
.offer-band > div { flex: 1 1 28rem; min-width: 0; }
.offer-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: .75rem; }
.offer-band p { color: var(--text-2); margin: 0; }

/* SAP migration paths: options, not a sequence */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.path {
  padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow);
  border-top: 3px solid var(--blue); min-width: 0;
}
.path h3 { margin-bottom: .6rem; }
.path p { color: var(--muted); font-size: 1.05rem; }
.path .path-lead { color: var(--text); font-weight: 600; }
.path strong { color: var(--text); }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line-strong); min-width: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-family: var(--display); font-stretch: 88%; font-weight: 600; font-size: 1.2rem; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: .4rem; top: 1.45rem;
  width: .6rem; height: .6rem; border: solid var(--blue); border-width: 0 2px 2px 0;
  transform: rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p { color: var(--muted); margin: 0 0 1.25rem; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .faq-list summary::after { transition: none; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-grid h2 { margin-bottom: 1.5rem; }
.about-grid p { color: var(--text-2); }
.facts {
  margin: 0; padding: .5rem 1.5rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

/* Contact: framed panel echoing the hero */
.contact-frame {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 4rem);
  background:
    radial-gradient(50% 80% at 100% 100%, rgba(242,180,65,.14), transparent 70%),
    radial-gradient(50% 80% at 0% 0%, rgba(59,139,194,.12), transparent 70%),
    #ffffff;
  box-shadow: var(--shadow);
}
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info, .enquiry { min-width: 0; }
.contact-people { display: grid; gap: 1.5rem; border-top: 1px solid var(--line-strong); padding-top: 1.75rem; }
.contact-people > div { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.contact-people h3 { font-size: 1.05rem; color: var(--steel); margin-bottom: .25rem; font-stretch: 90%; }
.contact-people a, .contact-people p { color: var(--text); font-size: 1.05rem; margin: 0; overflow-wrap: anywhere; }
.contact-people a:hover { color: var(--blue); }

.enquiry {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem;
}
.enquiry h3 { font-size: 1.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label { font-size: .95rem; font-weight: 600; color: var(--text); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: #ffffff; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: .7rem .85rem;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #8193ad; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: #c43c3c; }
.enquiry .btn { justify-self: start; cursor: pointer; }
.form-note { color: var(--muted); font-size: .92rem; margin: 0; }
.form-note.ok { color: #1f7a45; }
.form-note.err { color: #b02a2a; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Legal page */
.legal-nav ul { list-style: none; margin: 0; padding: 0; }
.legal-nav .nav-cta { color: var(--btn-ink); background: var(--amber); font-weight: 700; padding: .5rem 1.05rem; border-radius: 10px; text-decoration: none; }
.legal + .site-footer .footer-base { margin-top: 0; border-top: 0; padding-top: 0; }
.legal { padding: clamp(3rem, 8vw, 5rem) 0; }
.legal .wrap { max-width: 48rem; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); font-stretch: 70%; margin-bottom: .75rem; }
.legal h2 { font-size: 1.6rem; margin: 2.25rem 0 .75rem; font-stretch: 80%; }
.legal p, .legal li { color: var(--text-2); }
.legal .updated { color: var(--muted); }

/* Footer */
.site-footer { color: var(--muted); font-size: .98rem; padding: 3rem 0 2.5rem; border-top: 1px solid var(--line); background: #ffffff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-logo img { width: 150px; height: auto; }
.footer-col { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.footer-col a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--blue); }
.footer-title { font-family: var(--display); font-stretch: 85%; font-weight: 700; color: var(--steel); margin: 0 0 .25rem; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.socials a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .8rem; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #ffffff;
}
.socials a:hover { border-color: var(--blue); color: var(--text); }
.socials svg { width: 18px; height: 18px; color: var(--blue); }
.footer-base { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; }
.footer-base a { color: var(--muted); }
.footer-base a:hover { color: var(--text); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Scroll reveal: only active when JS adds .js and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transform: translateY(18px); transition: transform .7s ease; }
  .js .reveal.in { transform: none; }
}

/* 404 */
.notfound { min-height: 80vh; display: flex; align-items: center; }
.notfound h1 { font-size: clamp(3rem, 9vw, 6rem); font-stretch: 65%; margin-bottom: 1rem; }
.notfound p { color: var(--muted); }
