/* Inter (self-hosted variable font, latin + latin-ext; other scripts fall back to system fonts) */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-latin-ext-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-latin-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-latin-ext-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-latin-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Ahmad Mukhtar — static site styles
   Direction: editorial "diplomatic dossier" — deep ink navy,
   warm parchment, brass accents, serif display type.
   ========================================================= */
:root {
  --ink: #14203a;          /* deep navy */
  --ink-2: #1c2b4a;
  --ink-soft: #3b4660;
  --brass: #a8935a;        /* refined take on the original gold */
  --brass-light: #d9c79a;
  --brass-dark: #7d6c3e;   /* AA on cream for text */
  --cream: #f6f1e6;
  --cream-2: #ede5d3;
  --paper: #fdfbf7;
  --text: #3a4256;
  --muted: #6b7286;
  --line: rgba(20, 32, 58, .12);
  --line-light: rgba(255, 255, 255, .14);

  --radius: 4px;
  --radius-lg: 14px;
  --header-h: 76px;
  --max-w: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -.025em;
}
h2 em, h1 em { font-style: italic; color: var(--brass-dark); }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
figure { margin: 0; }
::selection { background: var(--brass-light); color: var(--ink); }

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

.container { width: min(var(--max-w), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brass); color: var(--ink); padding: .5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Eyebrows, buttons, chips ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--brass-dark);
  margin-bottom: 1.25rem;
}
.eyebrow .num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 15px; letter-spacing: 0; text-transform: none;
  padding-right: .75rem; border-right: 1px solid currentColor;
}
.eyebrow .rule { width: 36px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--brass-light); }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem;
  font: 600 15px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; border-radius: 999px;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-light); }
.btn-ghost { color: #fff; border: 1px solid var(--line-light); }
.btn-ghost:hover { border-color: var(--brass-light); color: var(--brass-light); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }

.chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  font-size: 14px; font-weight: 500; color: var(--ink);
  padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.6);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: var(--ink);
  transition: background .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(20, 32, 58, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line-light);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 2rem;
}
.logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; }
.logo-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--brass); border-radius: 50%;
  font: 600 14px/1 var(--serif); color: var(--brass-light);
}
.logo-text { font: 600 18px/1 var(--serif); letter-spacing: .01em; }

.site-nav { display: flex; gap: 2.25rem; margin-left: auto; }
.site-nav a {
  position: relative;
  color: rgba(255,255,255,.78); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  padding: .4rem 0;
  transition: color .2s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brass-light); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }

.socials { display: flex; gap: .35rem; padding-left: 1.75rem; border-left: 1px solid var(--line-light); }
.socials a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s;
}
.socials a:hover { background: rgba(255,255,255,.1); }
.socials svg { width: 15px; height: 15px; fill: rgba(255,255,255,.8); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: .5rem;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 600px at 78% 35%, rgba(168,147,90,.16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(59,70,96,.55), transparent 60%),
    var(--ink);
  color: rgba(255,255,255,.82);
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + clamp(2rem, 4vw, 3.5rem)) 0 clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
}
.hero::before { /* faint grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5.4vw, 5.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-bottom: 1.75rem;
}
/* Rotating word always sits on its own (third) line, so the heading never jumps between 2 and 3 lines */
.rotator {
  display: block; white-space: nowrap; font-style: italic; color: var(--brass-light);
  font-weight: 400;
}
.rotator span { display: inline-block; animation: wordIn .7s var(--ease) both; }
@keyframes wordIn {
  from { opacity: 0; transform: translateY(.35em); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.hero-lede { font-size: clamp(1.05rem, 1.3vw, 1.175rem); line-height: 1.7; max-width: 32em; color: rgba(255,255,255,.74); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 2.75rem; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin: 0; padding-top: 1.75rem; border-top: 1px solid var(--line-light);
  max-width: 560px;
}
.hero-stats > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line-light); }
.hero-stats dt { font: 500 clamp(1.9rem, 3vw, 2.5rem)/1 var(--serif); color: #fff; margin-bottom: .5rem; letter-spacing: -.02em; }
.hero-stats dd { margin: 0; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.6); }

.hero-portrait {
  position: relative; justify-self: center; margin: 0;
  width: min(100%, 440px, 58svh);
}
.hero-portrait::before { /* offset brass frame, kept inside the column so it never clips */
  content: ""; position: absolute; inset: -1rem 1rem 1rem -1rem;
  border: 1px solid rgba(168,147,90,.55); border-radius: 240px 240px var(--radius) var(--radius);
}
.hero-portrait::after { /* soft glow behind the arch */
  content: ""; position: absolute; inset: 10% -10% -5% -10%; z-index: -1;
  background: radial-gradient(closest-side, rgba(168,147,90,.22), transparent 70%);
  filter: blur(20px);
}
.hero-portrait img {
  position: relative;
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%;
  border-radius: 240px 240px var(--radius) var(--radius);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.55);
}

/* hero load choreography */
.hero-text > * { animation: rise .9s var(--ease) both; }
.hero-text > *:nth-child(2) { animation-delay: .08s; }
.hero-text > *:nth-child(3) { animation-delay: .16s; }
.hero-text > *:nth-child(4) { animation-delay: .24s; }
.hero-text > *:nth-child(5) { animation-delay: .32s; }
.hero-portrait { animation: rise 1.1s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; position: relative; }
.section-cream { background: var(--cream); }
.section-ink { background: var(--ink); color: rgba(255,255,255,.75); }
.section-ink .section-title { color: #fff; }
.section-ink .section-title em { color: var(--brass-light); }

.section-title {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 500;
  max-width: 16em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-lede { margin: 0; max-width: 27em; color: var(--muted); font-size: 1.05rem; }
.section-head .section-title { margin-bottom: 0; }
.section-note { margin: 0; color: var(--muted); font-size: 14px; white-space: nowrap; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about-grid p:not(.eyebrow) { max-width: 34em; }
.about-image { position: relative; width: min(100%, 440px, 62svh); justify-self: end; }
.about-image img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-image::after {
  content: ""; position: absolute; z-index: -0; left: -1.5rem; bottom: -1.5rem;
  width: 45%; height: 45%;
  background-image: radial-gradient(var(--brass) 1.2px, transparent 1.3px);
  background-size: 14px 14px; opacity: .45; pointer-events: none;
}
.about-image img { position: relative; z-index: 1; }

/* ---------- Professional ---------- */
.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.journey-photos {
  display: grid; gap: 1rem;
  position: sticky; top: calc(var(--header-h) + 2rem);
}
.journey-photos img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 25%;
  border-radius: var(--radius-lg);
}

.jw-all {
  display: inline-block; margin-top: 1.25rem;
  font: 600 14px/1 var(--sans); color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--brass); padding-bottom: .3rem;
}
.jw-all:hover { color: var(--brass-dark); }

/* Vertical timeline: a hairline with a dot per role */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: .6rem; bottom: .6rem;
  width: 1px; background: var(--line);
}
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 1fr;
  padding: 0 0 2rem 2.25rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .3rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--brass);
}
.timeline li:first-child::before { background: var(--brass); box-shadow: 0 0 0 5px rgba(168,147,90,.2); }
.t-year {
  font: 600 12.5px/1.6 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--brass-dark); margin-bottom: .3rem;
}
.t-role { font: 600 1.15rem/1.35 var(--serif); color: var(--ink); }
.t-org { font-size: 15px; color: var(--muted); margin-top: .2rem; }
.t-badge {
  display: inline-block; margin-left: .5rem; vertical-align: 2px;
  font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--brass-light);
  padding: .35rem .55rem; border-radius: 999px;
}

.journey-film { margin-top: clamp(4rem, 7vw, 6rem); }
.feature-video {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  background: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.feature-video-head { padding-left: clamp(0rem, 1.5vw, 1rem); }
.feature-video-head .eyebrow { margin-bottom: .75rem; }
.feature-video h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; margin: 0; text-wrap: balance; }

.video {
  position: relative; aspect-ratio: 16/9;
  border-radius: 10px; overflow: hidden;
  background: #0b1222;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Click-to-play YouTube thumbnail (the player loads only when clicked) */
.yt-facade { position: absolute; inset: 0; display: block; cursor: pointer; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.yt-facade:hover img { transform: scale(1.03); filter: brightness(.85); }
.yt-play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; translate: -50% -50%;
  border-radius: 14px; background: rgba(15,15,15,.8); transition: background .2s;
}
.yt-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%;
  border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
}
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { background: #f00; }

/* ---------- Creatives ---------- */
.creatives-head .section-title { margin-bottom: 1rem; }
.section-ink .section-lede { color: rgba(255,255,255,.65); }
.media-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.media-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 3vw, 2.5rem); }
.media-col-title {
  margin: 0; padding-bottom: 1rem; border-bottom: 1px solid var(--line-light);
  font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light);
}
.media-item { margin: 0; }
.section-ink .video { box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px var(--line-light); }
.media-caption {
  display: flex; align-items: center; gap: .75rem; margin: 1.1rem 0 0;
  font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.75);
}
.media-tag {
  font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-light); padding: .4rem .6rem; border: 1px solid rgba(217,199,154,.35); border-radius: 999px;
}
.media-empty {
  margin: 0; padding: 2rem 1.5rem; text-align: center; aspect-ratio: 16/9;
  display: grid; place-items: center;
  border: 1px dashed var(--line-light); border-radius: var(--radius-lg);
  color: rgba(255,255,255,.6); font-size: 1.05rem;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 220px);
  gap: .75rem; grid-auto-flow: dense;
}
.gallery a {
  position: relative; display: block; border-radius: 10px; overflow: hidden; cursor: zoom-in;
}
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(6) { grid-row: span 2; }
.gallery a:nth-child(8),
.gallery a:nth-child(10) { grid-column: span 2; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.gallery a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,32,58,.45), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.gallery a:hover img { transform: scale(1.05); }
.gallery a:hover::after { opacity: 1; }

/* ---------- Blogs ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.blog-card a { text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.blog-img { overflow: hidden; border-radius: var(--radius-lg); }
.blog-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s var(--ease); }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-body { padding: 1.5rem .25rem 0; display: flex; flex-direction: column; flex: 1; }
.blog-meta {
  display: flex; gap: .75rem; align-items: center; margin-bottom: .75rem;
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.blog-meta { flex-wrap: wrap; row-gap: .25rem; }
.blog-meta .blog-source { color: var(--brass-dark); }
.blog-meta > * + *::before {
  content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--muted); opacity: .5; margin-right: .75rem; vertical-align: middle;
}
.blog-body h3 { font-size: clamp(1.25rem, 1.6vw, 1.45rem); font-weight: 500; line-height: 1.25; margin-bottom: .75rem; transition: color .25s; text-wrap: balance; }
.blog-card:hover h3 { color: var(--brass-dark); }
.blog-excerpt {
  font-size: 15.5px; color: var(--muted); margin-bottom: 1.25rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.read-more {
  align-self: flex-start;
  font-weight: 600; font-size: 15px; color: var(--ink);
  padding-bottom: .2rem; border-bottom: 1px solid var(--brass);
  margin-top: auto;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding: clamp(4rem, 8vw, 6rem) 0 2rem; }
.footer-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  padding-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line-light);
}
.footer-cta h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 500; margin: 0; max-width: 14em; text-wrap: balance; }
.footer-cta h2 em { color: var(--brass-light); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-top: 2rem; }
.footer-nav { display: flex; gap: 1.75rem; }
.footer-nav a { text-decoration: none; font-size: 14.5px; transition: color .2s; }
.footer-nav a:hover { color: var(--brass-light); }
.site-footer p { margin: 0; font-size: 14px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,16,30,.95);
  display: flex; align-items: center; justify-content: center;
  animation: fade .3s ease;
}
@keyframes fade { from { opacity: 0; } }
.lightbox[hidden] { display: none; }
.lightbox figure { text-align: center; }
.lightbox img { max-width: 88vw; max-height: 80vh; border-radius: 6px; margin: 0 auto; }
.lb-caption { margin-top: 1rem; color: rgba(255,255,255,.7); font: italic 400 16px/1.4 var(--serif); }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.06); border: 1px solid var(--line-light); color: #fff;
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 1.75rem; cursor: pointer; line-height: 1; display: grid; place-items: center;
  transition: background .2s;
}
.lightbox button:hover { background: rgba(255,255,255,.15); }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-text > *, .hero-portrait, .rotator span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 1.5rem; }
  .socials { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .gallery a:nth-child(8) { grid-column: auto; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--ink);
    flex-direction: column; gap: 0; margin: 0;
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .site-nav.open { max-height: 400px; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
  .site-nav a { padding: 1rem var(--gutter); border-top: 1px solid var(--line-light); font-size: 16px; }
  .site-nav a::after { display: none; }
  .site-header:has(.site-nav.open) { background: var(--ink); }

  .hero-grid, .about-grid, .journey-grid, .feature-video { grid-template-columns: 1fr; }
  .media-split { grid-template-columns: 1fr; row-gap: 3.5rem; }
  .hero { min-height: 0; }
  .hero-portrait { justify-self: start; width: min(100% - 1rem, 340px); margin-left: 1rem; order: -1; }
  .about-image { justify-self: start; width: min(100%, 420px); margin-left: 1.5rem; }
  .journey-photos { position: static; grid-template-columns: 1fr 1fr; }
  .feature-video-head { padding-left: 0; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; --gutter: 1.25rem; }
  body { font-size: 16px; }
  .logo-mark { width: 34px; height: 34px; font-size: 14px; }
  .logo-text { font-size: 17px; }
  .hero-actions { margin: 1.75rem 0 2.25rem; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .hero-stats { gap: 1rem; }
  .hero-stats dd { font-size: 12px; }
  .hero-portrait { width: min(72%, 260px); }
  .hero-portrait::before { inset: -.75rem .75rem .75rem -.75rem; }
  .hero-stats > div + div { padding-left: 1rem; }
  .about-image { margin-left: 1rem; }
  .about-image::after { left: -1rem; bottom: -1rem; }
  .journey-photos { gap: .5rem; }
  .timeline li { padding-bottom: 1.6rem; }
  .blog-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: .5rem; }
  .gallery a:nth-child(6) { grid-row: auto; }
  .footer-cta .btn { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: 1.25rem; flex-wrap: wrap; }
}

/* =========================================================
   Blog pages (blog.php, post.php)
   ========================================================= */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(168,147,90,.16), transparent 60%),
    var(--ink);
  color: rgba(255,255,255,.8);
  padding: calc(var(--header-h) + clamp(3rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero h1 {
  color: #fff; font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -.03em;
  max-width: 18em; margin-bottom: 1.25rem; text-wrap: balance;
}
.page-hero h1 em { color: var(--brass-light); }
.page-hero-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 36em; margin: 0; color: rgba(255,255,255,.72); }
.page-hero--404 { min-height: 70svh; display: flex; align-items: center; }
.page-hero--404 .hero-actions { margin-bottom: 0; }

/* Listing */
.blog-section { padding-top: clamp(3rem, 6vw, 5rem); }
.blog-card--featured { margin-bottom: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.blog-card--featured a {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
}
.blog-card--featured .blog-img img { aspect-ratio: 16/10; }
.blog-card--featured .blog-body { padding: 0; }
.blog-card--featured h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.025em; }
.blog-card--featured .blog-excerpt { font-size: 1.05rem; -webkit-line-clamp: 4; }
.blog-flag {
  align-self: flex-start; margin-bottom: 1rem;
  font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); background: var(--brass-light); padding: .45rem .7rem; border-radius: 999px;
}

/* Article */
.read-progress { position: fixed; inset: var(--header-h) 0 auto; height: 3px; z-index: 99; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; }

.post-container { max-width: 720px; }
.post-container--wide { max-width: 1000px; }
.post-hero { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.post-hero.has-cover { padding-bottom: clamp(7rem, 14vw, 11rem); }
.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.1; }
.back-link {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  font: 500 14px/1 var(--sans); color: rgba(255,255,255,.7); text-decoration: none;
  transition: color .2s;
}
.back-link span { transition: transform .25s var(--ease); }
.back-link:hover { color: var(--brass-light); }
.back-link:hover span { transform: translateX(-3px); }

.post-byline {
  display: flex; align-items: center; gap: .9rem;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light);
}
.post-byline .logo-mark, .author-card .logo-mark { flex: none; }
.post-author { margin: 0; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.3; }
.post-meta { margin: .15rem 0 0; font-size: 14px; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; }
.post-meta > * + *::before { content: "·"; margin: 0 .5rem; opacity: .6; }

.post-section { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.post-hero:not(.has-cover) + .post-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.post-cover {
  margin: calc(-1 * clamp(5rem, 11vw, 8.5rem)) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  box-shadow: 0 30px 60px -30px rgba(20,32,58,.45);
}
.post-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.preview-badge {
  display: inline-block; margin: 0 0 1.25rem; padding: .35rem .9rem; border-radius: 999px;
  background: var(--brass); color: var(--ink); font-size: 13px; font-weight: 600;
}

.post-body { font-size: 1.125rem; line-height: 1.8; color: var(--text); }
.post-body > * + * { margin-top: 1.4em; }
.post-body > :first-child { margin-top: 0; }
.post-body > p:first-child { font-size: 1.25rem; line-height: 1.7; color: var(--ink-soft); }
.post-body p { margin-bottom: 0; }
.post-body h2, .post-body h3, .post-body h4 { font-weight: 600; letter-spacing: -.02em; margin: 2.2em 0 0; }
.post-body h2 + *, .post-body h3 + *, .post-body h4 + * { margin-top: .75em; }
.post-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); }
.post-body h3 { font-size: clamp(1.25rem, 2vw, 1.4rem); }
.post-body a { color: var(--brass-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body a:hover { color: var(--ink); }
.post-body img {
  display: block; height: auto; width: auto; max-width: 100%; max-height: 70vh;
  margin: 2.5rem auto; border-radius: var(--radius-lg);
}
.post-body blockquote {
  margin: 2.25em 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--brass);
  font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.5; font-weight: 500; color: var(--ink);
  letter-spacing: -.01em;
}
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li + li { margin-top: .5em; }
.post-body li::marker { color: var(--brass-dark); }
.post-body pre { background: var(--cream); padding: 1rem 1.25rem; border-radius: var(--radius); overflow-x: auto; font-size: .9em; }
.post-body iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-lg); }
.post-body .ql-align-center { text-align: center; }
.post-body .ql-align-right { text-align: right; }
.post-body .ql-align-justify { text-align: justify; }
.post-body .ql-indent-1 { padding-left: 3em; }
.post-body .ql-indent-2 { padding-left: 6em; }
.post-source { margin: 3rem 0 0; padding: 1.25rem 1.5rem; background: var(--cream); border-radius: var(--radius-lg); color: var(--muted); font-size: 15px; }
.post-source a { color: var(--ink); font-weight: 600; }

.post-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.post-footer .jw-all { margin-top: 0; }
.post-share { display: flex; align-items: center; gap: .5rem; }
.post-share-label { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: .35rem; }
.post-share a, .post-share button {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: none; border: 1px solid var(--line); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.post-share a:hover, .post-share button:hover, .post-share button.copied { border-color: var(--brass); background: var(--cream); }
.post-share svg { width: 16px; height: 16px; fill: currentColor; }
.copy-done {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 12px; font-weight: 600; color: #fff; background: var(--ink);
  padding: .3rem .6rem; border-radius: 6px; opacity: 0; transition: opacity .2s; pointer-events: none;
}
.copied .copy-done { opacity: 1; }

.author-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  margin-top: 2.5rem; padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--cream); border-radius: var(--radius-lg);
}
.author-card .logo-mark { width: 52px; height: 52px; font-size: 16px; color: var(--brass-dark); background: var(--paper); }
.author-card p { margin: 0 0 .5rem; font-size: 15.5px; color: var(--muted); }
.author-card .author-card-name { color: var(--ink); font-weight: 600; font-size: 1.05rem; margin-bottom: .35rem; }
.author-card .jw-all { margin-top: .5rem; }

@media (max-width: 900px) {
  .blog-card--featured a { grid-template-columns: 1fr; }
  .blog-card--featured .blog-body { padding: .5rem .25rem 0; }
}
@media (max-width: 600px) {
  .post-body { font-size: 1.0625rem; }
  .post-body > p:first-child { font-size: 1.15rem; }
  .post-cover img { aspect-ratio: 4/3; }
  .author-card { flex-direction: column; }
  .read-progress { top: var(--header-h); }
}

.blog-img-placeholder {
  display: grid; place-items: center; aspect-ratio: 4/3;
  background: var(--cream-2); color: var(--brass-dark); font: 600 2rem/1 var(--serif);
}
.blog-empty { color: var(--muted); font-size: 1.1rem; text-align: center; padding: 3rem 0; }
.blog-empty .btn { margin-top: .5rem; }
.section-head .jw-all { margin-top: 0; white-space: nowrap; }

.pagination { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 1rem; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink);
}
.pagination a:hover { border-color: var(--brass); color: var(--brass-dark); }
.pagination span[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
