/* ==========================================================================
   GlobalTek Construction — site styles
   Brand, typography, layout, components, motion. Mobile-first.
   Edit brand tokens in :root. See README.md for content-editing notes.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (from PRD §3) */
  --blue: #2862A2;          /* Primary */
  --blue-dark: #1f4e82;     /* Hover/darker primary */
  --orange: #C7692B;        /* Secondary accent (use sparingly) */
  --orange-dark: #a9551f;
  --ink: #1F2933;           /* Body copy */
  --slate: #52606D;         /* Muted text, captions */
  --offwhite: #F4F6F8;      /* Alternating section bg */
  --white: #FFFFFF;
  --line: #e2e7ec;          /* Hairline borders */

  /* Type — Montserrat sitewide (single cohesive family) */
  --font-head: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(31, 41, 51, .08);
  --shadow-md: 0 12px 30px rgba(31, 41, 51, .10);
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--blue); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--orange);
}
.section-title {
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  margin: .5rem 0 1rem;
}
.section-intro { color: var(--slate); max-width: 60ch; font-size: 1.05rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--offwhite); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.text-center { text-align: center; }
.text-center .section-intro { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
  font-size: .92rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--accent { background: var(--orange); color: var(--white); }
.btn--accent:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: var(--white); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--offwhite); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }

/* "View all" stubs disabled in v1 (shelved pages) */
.btn[aria-disabled="true"], .link-stub[aria-disabled="true"] {
  opacity: .45; pointer-events: none; cursor: not-allowed;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.nav {
  height: 100%;
  display: flex; align-items: center;
  gap: 1.25rem;
}
/* Logo lockup on the LEFT; nav links + Contact Us pushed to the right */
.nav__brand { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; order: -1; }
.nav__menu { display: flex; align-items: center; gap: clamp(.55rem, 1.5vw, 1.4rem); margin-left: auto; }
.nav__cta-btn { flex: 0 0 auto; order: 1; }
.nav__brand .lockup-icon { height: 44px; width: auto; transition: height .25s var(--ease); }
.nav__brand .lockup-text { height: 30px; width: auto; transition: opacity .2s var(--ease); }
/* Full lockup (icon + wordmark) stays visible on scroll */
/* In-menu CTA appears only inside the mobile dropdown */
.nav__menu .nav__cta { display: none; }
.nav__link {
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 500;
  font-size: .92rem; color: var(--ink);
  padding: .4rem 0; position: relative;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 0;
  align-items: center; justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--blue);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -7px; left: 0; }
.nav__toggle span::after { position: absolute; top: 7px; left: 0; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: inline-flex; order: 2; margin-left: auto; }  /* hamburger on the right */
  .nav__cta-btn { display: none; }                      /* desktop CTA hidden on mobile */
  .nav__brand { margin-left: 0; }                       /* logo stays on the left */
  .nav__brand .lockup-text { display: none; }           /* icon-only lockup on mobile */
  .nav__brand .lockup-icon { height: 40px; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    padding: .5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    margin-left: 0;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s;
  }
  .nav__menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link { padding: .9rem .25rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav__menu .nav__cta { display: block; margin: 1rem 0 0; }
  .nav__menu .nav__cta .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; }
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,41,51,.55) 0%, rgba(31,41,51,.45) 40%, rgba(31,41,51,.72) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  align-self: center;
  padding-block: clamp(4rem, 10vw, 7rem);
  color: var(--white);
  max-width: 760px;
}
.hero__eyebrow { color: #f4c9a8; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 7vw, 5rem);
  text-transform: uppercase; letter-spacing: .01em;
  margin: .75rem 0 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: #eef1f4; max-width: 52ch; }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Slideshow controls */
.hero__controls { position: absolute; z-index: 3; bottom: clamp(1rem, 3vw, 1.75rem); right: var(--gutter); display: flex; align-items: center; gap: .75rem; }
.hero__dots { display: flex; gap: .5rem; }
.hero__dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.45); transition: background .2s var(--ease), transform .2s var(--ease);
}
.hero__dot.is-active { background: var(--orange); transform: scale(1.2); }
.hero__arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.5);
  color: var(--white); display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.hero__arrow:hover { background: rgba(255,255,255,.3); }

/* Metrics bar */
.metrics {
  position: relative; z-index: 4;
  background: var(--blue); color: var(--white);
}
.metrics__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.metric { padding: clamp(1.5rem, 3vw, 2.25rem) 1rem; border-left: 1px solid rgba(255,255,255,.16); }
.metric:first-child { border-left: 0; }
.metric__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1; }
.metric__value .accent { color: #f3b184; }
.metric__label { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: #cfe0f1; margin-top: .5rem; }
@media (max-width: 560px) {
  .metrics__grid { grid-template-columns: 1fr; }
  .metric { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .metric:first-child { border-top: 0; }
}

/* ==========================================================================
   Services & Expertise — photographic gallery tiles
   ========================================================================== */
.svc-group + .svc-group { margin-top: clamp(2rem, 4vw, 3rem); }
.svc-group__label {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em;
  font-size: 1.05rem; font-weight: 700; color: var(--blue);
  margin-bottom: 1.25rem;
}
.svc-group__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.85rem, 1.8vw, 1.25rem); }
@media (max-width: 820px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } }

.tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--ink);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img, .tile:focus-within img { transform: scale(1.06); }
.tile__grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,41,51,0) 38%, rgba(31,41,51,.85) 100%); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(.9rem, 2vw, 1.2rem); color: var(--white); }
.tile__name { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 1.12rem; line-height: 1.1; }
.tile__desc {
  font-size: .85rem; color: #e6eaef; margin-top: 0;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .35s var(--ease), opacity .3s var(--ease), margin-top .35s var(--ease);
}
.tile:hover .tile__desc, .tile:focus-within .tile__desc { max-height: 4.5em; opacity: 1; margin-top: .3rem; }

/* ==========================================================================
   Industries Served — reuses the Services gallery components
   (.svc-group, .tile-grid, .tile): each sector is a group label, its
   sub-categories are tiles, with a short sector description under the label.
   ========================================================================== */
.svc-group__desc { color: var(--slate); margin: 0 0 1.25rem; max-width: 72ch; font-size: .98rem; }
.svc-group__label:has(+ .svc-group__desc) { margin-bottom: .5rem; }

/* ==========================================================================
   Recent Work
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
.work-grid .project:first-child { grid-column: span 2; grid-row: span 2; }
.project {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-sm);
  min-height: 220px; display: block;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s var(--ease); }
.project:first-child img { aspect-ratio: 4 / 3.4; }
.project:hover img { transform: scale(1.04); }
.project__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,41,51,0) 40%, rgba(31,41,51,.82) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1rem, 2.5vw, 1.5rem); color: var(--white);
}
.project__name { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .03em; font-size: 1.25rem; }
.project__scope { font-size: .9rem; color: #e3e8ee; margin-top: .25rem; }
@media (max-width: 860px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid .project:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 520px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-grid .project:first-child { grid-column: auto; }
}

/* ==========================================================================
   Our Approach — horizontal-scroll gallery
   ========================================================================== */
.approach-hint { color: var(--slate); font-size: .85rem; margin: -1rem 0 1.25rem; display: inline-flex; align-items: center; gap: .45rem; }
.approach-hint svg { width: 18px; height: 18px; color: var(--orange); }
.approach-gallery {
  display: flex; gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto; scroll-snap-type: x proximity;
  padding-bottom: 1.25rem;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--blue) var(--line);
}
.approach-gallery::-webkit-scrollbar { height: 8px; }
.approach-gallery::-webkit-scrollbar-track { background: var(--line); border-radius: 999px; }
.approach-gallery::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 999px; }
.approach-card {
  flex: 0 0 clamp(290px, 80vw, 380px);
  scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.approach-card__num {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  box-shadow: 0 0 0 6px rgba(40,98,162,.10);
}
.approach-card h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .02em; }
.approach-card p { color: var(--slate); margin-top: .55rem; font-size: .96rem; }
.promise {
  margin-top: clamp(2rem, 5vw, 3rem); text-align: center;
  background: var(--blue); color: var(--white);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem);
}
.promise p { font-family: var(--font-head); font-size: clamp(1.15rem, 2.4vw, 1.6rem); letter-spacing: .01em; }
.promise .accent { color: #f3b184; }

/* ==========================================================================
   Contact + Inquiry form
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__lead { font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--ink); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.contact__list { margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.contact__item { display: flex; gap: .9rem; align-items: flex-start; }
.contact__item svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--orange); margin-top: 2px; }
.contact__item .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); }
.contact__item .value { color: var(--ink); font-weight: 500; }
.contact__item a.value:hover { color: var(--blue); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* Form (injected by js/form.js) */
.inquiry-form { display: grid; gap: 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.section--alt .inquiry-form { box-shadow: var(--shadow-md); }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--orange); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40,98,162,.15);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--orange); }
.field .error { font-size: .8rem; color: var(--orange-dark); min-height: 1em; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--orange); }
/* Honeypot — visually hidden, off-screen */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-note { font-size: .82rem; color: var(--slate); }
.form-status { font-size: .95rem; font-weight: 500; }
.form-status.is-success { color: #1e7a4d; }
.form-status.is-error { color: var(--orange-dark); }
.form-success {
  display: none; text-align: center; padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
}
.form-success.is-shown { display: block; }
.form-success .check {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%;
  background: rgba(30,122,77,.12); color: #1e7a4d; display: grid; place-items: center;
}
.form-success h3 { color: var(--ink); }
.form-success p { color: var(--slate); margin-top: .5rem; }

/* ==========================================================================
   About page bits
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-copy p + p { margin-top: 1rem; }
.about-copy p { color: var(--slate); }
.about-copy .lead { font-size: 1.2rem; color: var(--ink); }
.license-badge {
  display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.5rem;
  background: var(--offwhite); border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: .9rem 1.2rem;
}
.license-badge .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); }
.license-badge .num { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--blue); }
.about-figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.leader { text-align: center; }
.leader__photo {
  aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--offwhite); border: 1px solid var(--line); margin-bottom: 1rem;
}
.leader__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader h3 { color: var(--ink); font-size: 1.25rem; text-transform: none; letter-spacing: 0; }
.leader .role { color: var(--orange); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.leader .bio { color: var(--slate); font-size: .95rem; margin-top: .6rem; }
@media (max-width: 760px) { .leaders { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

.placeholder-note {
  font-size: .78rem; color: var(--slate); background: rgba(199,105,43,.08);
  border: 1px dashed rgba(199,105,43,.45); border-radius: 6px;
  padding: .2rem .55rem; display: inline-block; margin-top: .5rem;
}

/* ==========================================================================
   Footer  (light surface so color logo reads correctly — PRD §3 note)
   ========================================================================== */
.site-footer { background: var(--offwhite); border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.footer__brand img { height: 96px; width: auto; margin-bottom: 1rem; }
.footer__desc { color: var(--slate); max-width: 38ch; font-size: .95rem; }
.footer__tag { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--blue); font-size: .85rem; margin-top: 1rem; font-weight: 600; }
.footer__tag .sep { color: var(--orange); margin-inline: .4rem; }
.footer-col h4 { color: var(--ink); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a, .footer-col .muted { color: var(--slate); font-size: .95rem; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--slate); font-size: .85rem;
}
.footer-bottom .license { font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Social links */
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); color: var(--blue);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.social a:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }

/* ==========================================================================
   Scroll reveal motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* Skip link for a11y */
.skip-link {
  position: absolute; left: .5rem; top: -3rem; z-index: 200;
  background: var(--blue); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: .5rem; }

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

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__slide { transition: opacity .001ms; }
}
