/* ==========================================================================
   AHMED ABDUL USMAN — SADAUKIN GWADABAWA
   Design system: deep navy / charcoal / off-white / restrained bronze
   Display: Fraunces (serif)  |  Body/UI: Inter (sans)
   ========================================================================== */

:root {
  /* Palette */
  --navy: #0b2035;
  --navy-deep: #071522;
  --charcoal: #15181c;
  --charcoal-soft: #202429;
  --off-white: #f6f3ec;
  --white: #ffffff;
  --paper: #fbfaf7;
  --bronze: #ab8752;
  --bronze-light: #c9a76c;
  --bronze-dim: rgba(171, 135, 82, 0.35);
  --olive: #4a5a44;
  --ink: #16191d;
  --ink-soft: #454b52;
  --line: rgba(21, 24, 28, 0.12);
  --line-on-dark: rgba(246, 243, 236, 0.16);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --gutter: clamp(1.5rem, 5vw, 4.5rem);
  --section-pad: clamp(4rem, 9vw, 8.5rem);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--narrow { max-width: 880px; }
.container--text { max-width: 720px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark p, .on-dark span { color: var(--off-white); }

h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.14; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.24; }
h4 { font-size: 1.05rem; letter-spacing: 0.02em; }

p { color: var(--ink-soft); }
.on-dark p { color: rgba(246, 243, 236, 0.78); }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

.body-copy p, .body-copy .justify {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  max-width: 68ch;
  margin-bottom: 1.35em;
  font-size: 1.04rem;
}
.body-copy p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--bronze);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--bronze);
}
.on-dark .eyebrow { color: var(--bronze-light); }

.section-number {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--bronze);
  opacity: 0.85;
}

/* ---------- Links / underline motion ---------- */
.link-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.15em;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.link-underline:hover::after,
.link-underline:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--bronze);
  color: var(--navy-deep);
}
.btn--gold:hover { background: var(--bronze-light); }

.btn--outline-dark {
  border-color: rgba(21,24,28,0.35);
  color: var(--ink);
}
.btn--outline-dark:hover { border-color: var(--bronze); color: var(--bronze); }

.btn--outline-light {
  border-color: var(--line-on-dark);
  color: var(--off-white);
}
.btn--outline-light:hover { border-color: var(--bronze-light); color: var(--bronze-light); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.35rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 21, 34, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  border-color: var(--line-on-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { height: 40px; width: auto; }
.brand-text { font-family: var(--font-display); font-size: 1rem; color: var(--off-white); letter-spacing: 0.02em; line-height: 1.15; }
.brand-text small { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--bronze-light); margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 2.3rem; }
.main-nav ul { display: flex; gap: 2.1rem; }
.main-nav a {
  position: relative;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: rgba(246, 243, 236, 0.82);
  padding: 0.3rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--bronze-light);
  transition: width 0.35s var(--ease);
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--off-white); }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--bronze-light); }

.lang-toggle {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(246,243,236,0.65);
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.lang-toggle button { color: inherit; opacity: 0.65; transition: opacity .3s ease, color .3s ease; }
.lang-toggle button.is-active { opacity: 1; color: var(--bronze-light); }

.menu-toggle {
  display: none;
  width: 30px; height: 22px;
  position: relative;
  z-index: 600;
}
.menu-toggle span {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: var(--off-white);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), top 0.4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; margin-top: -0.75px; }
.menu-toggle span:nth-child(3) { top: 100%; margin-top: -1.5px; }
.menu-toggle.is-open span:nth-child(1) { top: 50%; margin-top: -0.75px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 50%; margin-top: -0.75px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 480;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.6s var(--ease);
  pointer-events: none;
}
.mobile-nav.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.1rem; }
.mobile-nav a { font-family: var(--font-display); font-size: 2.1rem; color: var(--off-white); }
.mobile-nav .mobile-meta { margin-top: 2.5rem; display: flex; gap: 1.5rem; }
.mobile-nav .mobile-meta a { font-family: var(--font-body); font-size: 0.9rem; color: var(--bronze-light); }

@media (max-width: 900px) {
  .main-nav ul, .lang-toggle { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--off-white);
  background: var(--navy-deep);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: heroSettle 2.4s var(--ease) forwards;
}
@keyframes heroSettle { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,21,34,0.35) 0%, rgba(7,21,34,0.35) 40%, rgba(7,21,34,0.94) 100%),
    linear-gradient(90deg, rgba(7,21,34,0.78) 0%, rgba(7,21,34,0.15) 55%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) clamp(3.5rem, 8vw, 6rem);
  width: 100%;
}
.hero__title-lines span { display: block; overflow: hidden; }
.hero__title-lines span b {
  display: block;
  font-weight: 600;
  transform: translateY(110%);
  animation: lineUp 0.9s var(--ease) forwards;
}
.hero__title-lines span:nth-child(1) b { animation-delay: 0.15s; }
.hero__title-lines span:nth-child(2) b { animation-delay: 0.28s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__post {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--bronze-light);
  margin-top: 0.9rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.6s forwards;
}
.hero__creds {
  margin-top: 1.4rem;
  max-width: 62ch;
  font-size: 0.82rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: rgba(246,243,236,0.62);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.75s forwards;
}
.hero__title-role {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.9s forwards;
}
.hero__title-role span {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  padding: 0.5em 0.95em;
  border: 1px solid var(--line-on-dark);
  color: rgba(246,243,236,0.85);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(246,243,236,0.6);
  z-index: 2;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(var(--bronze-light), transparent);
  animation: cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove { 0%,100% { transform: scaleY(1); opacity: .8; } 50% { transform: scaleY(0.5); opacity: .3; } }

/* Page hero (secondary pages — shorter) */
.page-hero { min-height: 62svh; }
.page-hero .hero__content { padding-bottom: clamp(3rem, 7vw, 5rem); }

/* ---------- Sections / bands ---------- */
.section { padding: var(--section-pad) 0; position: relative; }
.section--navy { background: var(--navy); }
.section--charcoal { background: var(--charcoal); }
.section--off { background: var(--off-white); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 760px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .eyebrow { justify-content: center; }

.rule { height: 1px; background: var(--line); border: none; margin: var(--section-pad) 0 0; }
.rule--dark { background: var(--line-on-dark); }

/* ---------- Grid layouts ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Reveal image frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--charcoal-soft); }
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.frame:hover img { transform: scale(1.055); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 4 / 3; }
.frame--square { aspect-ratio: 1 / 1; }
.frame__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(0deg, rgba(7,21,34,0.85), transparent);
  transform: translateY(8px);
  opacity: 0;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.frame:hover .frame__caption, .frame:focus-within .frame__caption { transform: translateY(0); opacity: 1; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.23s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.41s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.5s; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.1rem 1.9rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -18px rgba(11,32,53,0.25); border-color: var(--bronze-dim); }
.card__icon { color: var(--bronze); margin-bottom: 1.1rem; }
.card--on-navy { background: rgba(246,243,236,0.04); border-color: var(--line-on-dark); }
.card--on-navy:hover { border-color: var(--bronze-dim); }

/* Key-areas pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.pill {
  border: 1px solid var(--line-on-dark);
  padding: 0.9rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--off-white);
  transition: border-color .35s ease, background .35s ease, transform .35s var(--ease);
}
.pill:hover { border-color: var(--bronze-light); background: rgba(171,135,82,0.08); transform: translateY(-3px); }

/* At-a-glance */
.glance { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.glance__item { padding: 2rem 1.8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glance__item:nth-child(3n) { border-right: none; }
.glance__label { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--bronze); margin-bottom: 0.6rem; }
.glance__value { font-family: var(--font-display); font-size: 1.25rem; }
@media (max-width: 760px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .glance__item:nth-child(3n) { border-right: 1px solid var(--line); }
  .glance__item:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px) {
  .glance { grid-template-columns: 1fr; }
  .glance__item { border-right: none !important; }
}

/* Quote blocks */
.quote {
  position: relative;
  padding-left: clamp(1.6rem, 4vw, 3rem);
  border-left: 2px solid var(--bronze);
}
.quote__mark { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--bronze); display: block; margin-bottom: 0.2rem; }
.quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.85rem); color: var(--ink); line-height: 1.4; }
.on-dark .quote p { color: var(--off-white); }
.quote cite { display: block; margin-top: 1.1rem; font-style: normal; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--bronze); }

.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; }
@media (max-width: 820px) { .quote-grid { grid-template-columns: 1fr; } }

/* Timeline (career) */
.timeline { position: relative; padding-left: 2.2rem; border-left: 1px solid var(--line-on-dark); }
.timeline__item { position: relative; padding-bottom: 3rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute; left: -2.44rem; top: 0.35rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bronze-light);
  box-shadow: 0 0 0 4px rgba(171,135,82,0.16);
}
.timeline__period { font-size: 0.76rem; letter-spacing: 0.08em; color: var(--bronze-light); margin-bottom: 0.4rem; }
.timeline__title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.55rem; }
.timeline__list { display: flex; flex-wrap: wrap; gap: 0.6rem 0; margin-top: 0.8rem; }
.timeline__list li { font-size: 0.86rem; color: rgba(246,243,236,0.68); position: relative; padding-left: 1.1rem; width: 100%; }
.timeline__list li::before { content: "—"; position: absolute; left: 0; color: var(--bronze); }

/* Principles list */
.principles { counter-reset: principle; display: grid; gap: 0; border-top: 1px solid var(--line); }
.principles li {
  counter-increment: principle;
  display: flex;
  gap: 1.6rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.principles li::before {
  content: counter(principle, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--bronze);
  flex: none;
  width: 2.2rem;
}

/* Stat / counters */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3.2rem); color: var(--bronze-light); }
.stat__label { font-size: 0.78rem; letter-spacing: 0.06em; color: rgba(246,243,236,0.65); margin-top: 0.4rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2,1fr); gap: 2.2rem; } }

/* ---------- Media / filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2.6rem; }
.filter-btn {
  padding: 0.6rem 1.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--bronze); color: var(--ink); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--off-white); }

.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 980px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .media-grid { grid-template-columns: 1fr; } }
.media-item { transition: opacity .4s ease, transform .4s ease; }
.media-item[hidden] { display: none; }
.media-item .frame { margin-bottom: 0.9rem; }
.media-item__cat { font-size: 0.68rem; letter-spacing: 0.09em; color: var(--bronze); margin-bottom: 0.35rem; display: block; }
.media-item__title { font-size: 0.98rem; color: var(--ink); font-weight: 600; }

/* Press list */
.press-list { border-top: 1px solid var(--line); }
.press-item {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.7rem 0; border-bottom: 1px solid var(--line);
}
.press-item__meta { font-size: 0.74rem; letter-spacing: 0.06em; color: var(--bronze); margin-bottom: 0.4rem; }
.press-item__title { font-family: var(--font-display); font-size: 1.15rem; }
.press-item__go { flex: none; font-size: 0.78rem; letter-spacing: 0.05em; color: var(--ink-soft); }
.press-item a.link-underline:hover .press-item__title { color: var(--bronze); }
.press-item--static { opacity: 0.7; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.76rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bronze); }
.field textarea { resize: vertical; min-height: 140px; }
.field-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.35rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-info__email {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--bronze-light); word-break: break-word;
}
.social-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-on-dark);
  transition: border-color .35s ease, background .35s ease, transform .35s var(--ease);
}
.social-btn:hover { border-color: var(--bronze-light); background: rgba(171,135,82,0.08); transform: translateY(-3px); }
.on-white .social-btn { border-color: var(--line); }
.on-white .social-btn:hover { border-color: var(--bronze); background: rgba(171,135,82,0.06); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--off-white); padding: 4.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-on-dark); }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; }
.footer-tag { font-size: 0.85rem; color: rgba(246,243,236,0.6); margin-top: 0.8rem; max-width: 34ch; }
.footer-heading { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--bronze-light); margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { font-size: 0.9rem; color: rgba(246,243,236,0.75); transition: color .3s ease; }
.footer-links a:hover { color: var(--bronze-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: 0.78rem; color: rgba(246,243,236,0.5); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--bronze); color: var(--navy-deep); padding: 1rem 1.4rem; font-size: 0.85rem;
}
.skip-link:focus { left: var(--gutter); top: var(--gutter); }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 16ch; margin: 0 auto 2rem; }

.lazy-fade { opacity: 0; transition: opacity 0.6s ease; }
.lazy-fade.is-loaded { opacity: 1; }

.form-status { font-size: 0.9rem; margin-top: 1rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { color: var(--olive); }
.form-status.is-error { color: #9a3b3b; }

::selection { background: var(--bronze); color: var(--navy-deep); }

/* ==========================================================================\n   FINAL ART-DIRECTION PASS — IMAGE, CONTRAST, HEADER & EDITORIAL LAYOUT\n   ========================================================================== */

/* Official logo only — the logo already carries the identity. */
.brand--logo-only {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand--logo-only img {
  width: 112px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

/* Keep the navigation readable over every hero photograph. */
.site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(7,21,34,0.74) 0%, rgba(7,21,34,0.22) 100%);
  backdrop-filter: blur(4px);
}
.site-header.is-scrolled {
  background: rgba(7,21,34,0.96);
  box-shadow: 0 12px 34px rgba(0,0,0,0.16);
}

/* Hero typography must never fall back to black on a photograph. */
.hero h1,
.hero h2,
.hero h3,
.hero .hero__title-lines b {
  color: var(--off-white);
}
.hero__post { color: var(--bronze-light) !important; }
.hero__creds { color: rgba(246,243,236,0.82) !important; }
.hero__title-role span { color: rgba(246,243,236,0.92); }
.page-hero .hero__content { max-width: 1120px; }
.page-hero .hero__content h1 { max-width: 18ch; }

/* Natural editorial photography: preserve the actual photograph rather than
   forcing portraits and documentary images into a fixed crop. */
.frame--natural {
  aspect-ratio: auto !important;
  height: auto !important;
  overflow: hidden;
}
.frame--natural img {
  width: 100%;
  height: auto !important;
  object-fit: contain;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.frame--natural:hover img {
  transform: translateY(-2px);
  filter: saturate(1.03) contrast(1.02);
}

/* The editorial media archive uses the photographs' natural proportions. */
.media-grid {
  align-items: start;
}
.media-item .frame--natural {
  background: #ece9e2;
}
.media-item .frame--natural img {
  background: #ece9e2;
}
.media-item__title {
  line-height: 1.35;
}

/* The career section now has a deliberate visual rhythm rather than one long
   stack of images and a large empty column. */
.career-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.25rem;
  align-items: start;
}
.career-media-grid .frame--natural {
  background: rgba(246,243,236,0.06);
}

/* Dark sections: never allow inherited ink-black text to disappear into navy. */
.on-dark .principles li,
.on-dark .principles li a,
.section--navy .principles li,
.section--charcoal .principles li {
  color: var(--off-white);
}
.on-dark .principles li::before,
.section--navy .principles li::before,
.section--charcoal .principles li::before {
  color: var(--bronze-light);
}
.on-dark .timeline__title,
.section--navy .timeline__title,
.section--charcoal .timeline__title {
  color: var(--off-white);
}
.on-dark .quote .justify,
.section--navy .quote .justify,
.section--charcoal .quote .justify {
  color: rgba(246,243,236,0.82) !important;
}

/* Social icons need clear contrast on dark sections. */
.on-dark .social-btn,
.section--navy .social-btn,
.section--charcoal .social-btn,
.site-footer .social-btn {
  color: var(--off-white);
  border-color: rgba(246,243,236,0.28);
  background: rgba(246,243,236,0.025);
}
.on-dark .social-btn:hover,
.section--navy .social-btn:hover,
.section--charcoal .social-btn:hover,
.site-footer .social-btn:hover {
  color: var(--bronze-light);
  border-color: var(--bronze-light);
  background: rgba(171,135,82,0.11);
}

/* Better editorial spacing on the About introduction. */
.about-intro {
  align-items: start;
}
.about-intro .body-copy {
  max-width: 68ch;
}
.about-intro .frame {
  align-self: start;
}

/* Press/archive links remain visibly interactive. */
.press-item a { color: var(--ink); }
.press-item a:hover { color: var(--bronze); }

@media (max-width: 900px) {
  .brand--logo-only img { width: 96px; max-height: 38px; }
}

@media (max-width: 760px) {
  .career-media-grid { grid-template-columns: 1fr; }
  .page-hero .hero__content h1 { max-width: 14ch; }
}

@media (max-width: 560px) {
  .brand--logo-only img { width: 88px; }
  .hero__content { padding-bottom: 3rem; }
  .hero__title-lines b { font-size: clamp(2.25rem, 11vw, 3.3rem); }
  .hero__creds { font-size: 0.76rem; line-height: 1.75; }
  .hero__title-role { gap: 0.45rem; }
  .hero__title-role span { font-size: 0.68rem; }
}

/* Portrait hero crops favour the subject's face rather than the centre of the file. */
.hero__media img { object-position: center 18%; }
.hero:not(.page-hero) .hero__media img { object-position: center 10%; }
