/* ============================================================
   Semiu Musa Bello — Modern Academic Editorial Design System
   ============================================================ */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0f172a;
  --slate: #1e293b;
  --amber: #d97706;
  --amber-strong: #b45309;
  --amber-deep: #92400e;
  --crimson: #991b1b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --maxw: 1200px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.22);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--amber-strong); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--amber-deep); }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
.text-justify { text-align: justify; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  margin: 0 0 .6em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1rem; }

::selection { background: var(--amber); color: #fff; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.section--navy { background: var(--navy); color: #e2e8f0; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--slate { background: linear-gradient(160deg, var(--navy), var(--slate)); color: #e2e8f0; }
.section--slate h1, .section--slate h2, .section--slate h3, .section--slate h4 { color: #fff; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Section heading ---------- */
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-strong);
  margin-bottom: .7rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--amber);
  vertical-align: middle;
  margin-right: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.25rem); margin-bottom: .5rem; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.section--navy .section-head p, .section--slate .section-head p { color: var(--muted-2); }
.section--navy .eyebrow, .section--slate .eyebrow { color: #fbbf24; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .78rem 1.4rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background-color .2s var(--ease),
    color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--primary { background: var(--amber); color: var(--navy); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--amber-strong); color: #fff; box-shadow: var(--shadow-hover); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--slate); color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--lg { padding: .95rem 1.8rem; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 20px -14px rgba(15, 23, 42, .45);
  background: rgba(248, 250, 252, .95);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--navy);
  line-height: 1.05;
}
.brand:hover { color: var(--navy); }
.brand img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-strong);
}
.nav-list { display: flex; align-items: center; gap: .35rem; }
.nav-list a {
  display: block;
  padding: .5rem .8rem;
  border-radius: var(--radius);
  color: var(--slate);
  font-size: .93rem;
  font-weight: 500;
  position: relative;
}
.nav-list a:hover { color: var(--navy); background: rgba(15,23,42,.05); }
.nav-list a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: .18rem;
  height: 2px; border-radius: 2px; background: var(--amber);
}
.nav-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle__bar {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 88% -10%, rgba(217, 119, 6, .10), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(30, 41, 59, .08), transparent 55%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.13;
  margin-bottom: 1rem;
}
.hero h1 .mark { color: var(--amber-strong); position: relative; white-space: nowrap; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--slate); max-width: 46ch; }
.hero__name {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.hero__name::before { content: ""; width: 30px; height: 2px; background: var(--crimson); }
.hero__roles {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--slate);
  margin: .4rem 0 1.6rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__stats {
  display: flex;
  gap: 1.8rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1;
}
.hero__stat span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.hero__portrait { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.hero__portrait picture { display: block; }
.hero__portrait img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__portrait::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid var(--amber);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.hero__badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .7rem .95rem;
  box-shadow: var(--shadow-hover);
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .55rem;
}
.hero__badge svg { color: var(--amber-strong); width: 20px; height: 20px; }

/* ---------- Impact metrics ---------- */
.metrics { background: var(--navy); color: #fff; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric {
  padding: clamp(1.6rem, 4vw, 2.6rem) 1rem;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.1);
}
.metric:first-child { border-left: 0; }
.metric__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  line-height: 1;
  color: #fff;
}
.metric__num .suffix { color: var(--amber); }
.metric__label {
  margin-top: .5rem;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }

/* Skill card */
.skill { display: flex; gap: 1rem; padding: 1.5rem; height: 100%; }
.skill__icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(217, 119, 6, .12);
  color: var(--amber-deep);
}
.skill__icon svg { width: 22px; height: 22px; }
.skill h3 { font-family: var(--sans); font-size: 1.06rem; font-weight: 600; margin-bottom: .35rem; }
.skill p { color: var(--muted); font-size: .92rem; margin: 0; }
.section--slate .card, .section--navy .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section--slate .skill h3, .section--navy .skill h3 { color: #fff; }
.section--slate .skill p, .section--navy .skill p { color: var(--muted-2); }

/* Award card */
.award { padding: 1.6rem; height: 100%; }
.award__icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--amber);
  margin-bottom: 1rem;
}
.award__icon svg { width: 24px; height: 24px; }
.award h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.award p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Client card */
.client {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.4rem;
}
.client img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.client span { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; color: var(--slate); line-height: 1.35; }

/* ---------- Testimonials ---------- */
.quote-card { padding: clamp(1.6rem, 3vw, 2.4rem); height: 100%; display: flex; flex-direction: column; }
.quote-card__mark { font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--amber); margin-bottom: 1rem; }
.quote-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate);
  flex: 1;
}
.quote-card__person { display: flex; align-items: center; gap: .85rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.quote-card__person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-card__person h3 { font-family: var(--sans); font-size: .98rem; font-weight: 600; margin: 0; }
.quote-card__person p { margin: 0; font-size: .82rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--slate);
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.82), rgba(15,23,42,0) 62%);
  opacity: .9;
  transition: opacity .3s var(--ease);
}
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .9rem 1rem;
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.35;
  z-index: 2;
  transform: translateY(0);
}
.gallery-item--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item--feature figcaption { font-size: 1rem; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15, 23, 42, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.is-open { display: flex; animation: fade .2s var(--ease); }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 3vh; left: 0; right: 0; text-align: center; color: #e2e8f0; font-size: .95rem; padding: 0 1rem; }
.lightbox__btn {
  position: absolute;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.4rem;
  transition: background .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 3vh; right: 3vw; }
.lightbox__prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* ---------- Timeline (Education / Experience) ---------- */
.timeline { position: relative; padding-left: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline__item { position: relative; padding: 0 0 1.7rem .4rem; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.6rem; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--amber);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: .3rem; color: var(--navy); }
.timeline__item .when {
  display: inline-block;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--amber-deep);
  background: rgba(217,119,6,.1);
  padding: .18rem .55rem;
  border-radius: 999px;
}

/* ---------- Post / article ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.post-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--slate); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__tag {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--crimson); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .3rem .6rem; border-radius: 4px;
}
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .78rem; color: var(--muted); margin-bottom: .5rem; font-family: var(--mono); }
.post-card h3 { font-family: var(--serif); font-size: 1.22rem; line-height: 1.35; margin-bottom: .6rem; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--amber-strong); }
.post-card p { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; }
.post-card .read-more { margin-top: auto; font-size: .86rem; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }

.article { max-width: 760px; margin-inline: auto; }
.article__header { text-align: center; margin-bottom: 2rem; }
.article__header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.article__meta { font-family: var(--mono); font-size: .82rem; color: var(--muted); }
.article__figure { margin: 0 0 2rem; }
.article__figure img { width: 100%; border-radius: var(--radius-lg); }
.article__body { font-size: 1.06rem; line-height: 1.8; color: #1f2937; }
.article__body h2, .article__body h3 { margin-top: 2rem; }
.article__body h2 { font-size: 1.6rem; }
.article__body h3 { font-size: 1.3rem; }
.article__body img { border-radius: var(--radius); margin: 1.5rem 0; }
.article__body a { text-decoration: underline; text-underline-offset: 2px; }
.article__body blockquote {
  border-left: 4px solid var(--amber);
  margin: 1.6rem 0;
  padding: .4rem 0 .4rem 1.3rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--slate);
}
.article__body ul, .article__body ol { margin: 1rem 0 1.4rem 1.3rem; list-style: revert; }
.article__body li { margin-bottom: .4rem; }
.article__body pre {
  background: var(--navy); color: #e2e8f0; padding: 1.1rem; border-radius: var(--radius);
  overflow-x: auto; font-family: var(--mono); font-size: .86rem;
}
.article__body code { font-family: var(--mono); font-size: .9em; background: rgba(15,23,42,.06); padding: .1em .35em; border-radius: 4px; }
.article__body pre code { background: none; padding: 0; }

/* Loading / states */
.spinner {
  width: 42px; height: 42px;
  border: 3px solid var(--border);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 2rem auto;
}
.state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.state svg { width: 46px; height: 46px; color: var(--border-strong); margin: 0 auto 1rem; }
.state h3 { font-family: var(--sans); font-size: 1.15rem; }
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, #eef2f7 25%, #e2e8f0 37%, #eef2f7 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.skeleton--card { height: 340px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 140%);
  background: var(--navy);
  color: #fff;
  padding: .8rem 1.3rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  z-index: 4000;
  font-size: .9rem;
  transition: transform .35s var(--ease);
  display: flex; align-items: center; gap: .5rem;
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3rem); }
.info-list { display: grid; gap: 1.1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(217,119,6,.12); color: var(--amber-deep);
}
.info-item__icon svg { width: 20px; height: 20px; }
.info-item h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.info-item p { margin: 0; font-weight: 500; }
.info-item a { color: var(--navy); }
.info-item a:hover { color: var(--amber-strong); }

.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  padding: .78rem .9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--navy);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--amber);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(217,119,6,.16);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* CTA strip */
.cta-strip { text-align: center; }
.cta-strip h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); max-width: 22ch; margin-inline: auto; }
.cta-strip p { color: var(--muted-2); max-width: 60ch; margin: 0 auto 1.6rem; }
.cta-strip .btn-row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cbd5e1; padding-top: 3.5rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { width: 48px; height: 48px; }
.footer-brand strong { font-family: var(--serif); font-size: 1.15rem; color: #fff; display: block; }
.footer-brand span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.footer-about { font-size: .92rem; color: var(--muted-2); max-width: 40ch; }
.site-footer h3 {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-links { display: grid; gap: .55rem; font-size: .93rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.4rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--muted-2);
}
.social { display: flex; gap: .6rem; }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.social a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy); transform: translateY(-2px); }
.social svg { width: 16px; height: 16px; }

/* Page banner (interior pages) */
.page-hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy), var(--slate));
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,6,.22), transparent 68%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .6rem; }
.page-hero p { color: var(--muted-2); max-width: 62ch; margin: 0; font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: var(--muted-2); margin-bottom: 1rem; font-family: var(--mono); }
.breadcrumb a { color: #fbbf24; }
.breadcrumb span { margin: 0 .5rem; opacity: .5; }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--slate);
  border-radius: 999px;
  padding: .45rem .95rem;
  font-size: .85rem;
  font-weight: 500;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Back to top */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy); color: #fff;
  border: 0;
  display: grid; place-items: center;
  box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all .3s var(--ease);
  z-index: 1200;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--amber-strong); }
.to-top svg { width: 20px; height: 20px; }

/* Reveal on scroll (progressive enhancement: only hidden when JS is active) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { order: -1; max-width: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-item--feature { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .nav-list, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-header.nav-open { background: var(--bg); }
  .nav-list.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    padding: .6rem 1.2rem 1.2rem;
  }
  .nav-list.is-open a { padding: .8rem .4rem; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-list.is-open a[aria-current="page"]::after { display: none; }
  .nav-actions .btn--mobile { display: inline-flex; width: 100%; margin-top: .7rem; }
}

@media (max-width: 760px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .field--row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .hero__stats { gap: 1.2rem; }
  .brand span { display: none; }
}

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

@media print {
  .site-header, .site-footer, .to-top, .hero__cta, .toast { display: none !important; }
  body { background: #fff; }
}
