/* ═══════════════════════════════════════════════════════════
   R.D.T.H CONSULTING — premium dark editorial theme
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #0b0e13;            /* page background */
  --ink-2: #10141b;          /* raised surface */
  --ink-3: #171c25;          /* card surface */
  --line: rgba(255, 255, 255, 0.09);
  --text: #e9e7e2;
  --text-dim: #a7a49d;
  --gold: #c9a25a;
  --gold-soft: #e2c489;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* ── Typography helpers ─────────────────────────────── */

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.8rem;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}
.section-title em {
  font-style: italic;
  color: var(--gold-soft);
}

/* ── Buttons ────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
}
.btn--gold {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #14100a;
  border: none;
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(201, 162, 90, 0.28);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: translateY(-2px);
}
.btn--full { width: 100%; text-align: center; }

.link-arrow {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.link-arrow:hover { border-color: var(--gold-soft); }

/* ── Reveal animations ──────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }
.reveal.d5 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__fallback,
  .page-hero__bg { animation: none; transform: none; }
  .services,
  .clients { background-attachment: scroll, scroll; }
}

/* ═══════════ NAVIGATION ═══════════ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(11, 14, 19, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  width: min(1280px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav__brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.nav__logo {
  display: block;
  width: auto;
  height: 40px;
  transition: height 0.4s var(--ease);
}
.nav.is-scrolled .nav__logo { height: 32px; }
.nav__brand-mark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.nav__brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}
.nav__links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.3s, color 0.3s;
}
.nav__links a:hover { opacity: 1; color: var(--gold-soft); }
.nav__cta {
  border: 1px solid var(--gold);
  padding: 0.6rem 1.3rem;
  border-radius: 2px;
  color: var(--gold-soft) !important;
  opacity: 1 !important;
  transition: background 0.3s, color 0.3s;
}
.nav__cta:hover {
  background: var(--gold);
  color: #14100a !important;
}
.nav__toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 34px;
  position: relative;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 7px;
  right: 7px;
  height: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav__toggle span:first-child { top: 12px; }
.nav__toggle span:last-child { top: 20px; }
.nav__toggle.is-open span:first-child { top: 16px; transform: rotate(45deg); }
.nav__toggle.is-open span:last-child { top: 16px; transform: rotate(-45deg); }

/* ═══════════ HERO ═══════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video,
.hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__fallback {
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
  animation: slowPan 26s ease-in-out infinite alternate;
  display: none;
}
.hero__media.no-video .hero__video { display: none; }
.hero__media.no-video .hero__fallback { display: block; }

@keyframes slowPan {
  from { transform: scale(1.06) translateX(-1.2%); }
  to   { transform: scale(1.12) translateX(1.2%); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,14,19,0.55) 0%, rgba(11,14,19,0.35) 40%, rgba(11,14,19,0.92) 100%),
    radial-gradient(ellipse at 25% 55%, rgba(11,14,19,0.55) 0%, rgba(11,14,19,0.25) 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, 92vw);
  margin-inline: auto;
  padding-top: 6rem;
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.9rem, 7.4vw, 6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
}
.hero__title span { display: block; }
.hero__title em {
  font-style: italic;
  color: var(--gold-soft);
}
.hero__lede {
  max-width: 34rem;
  font-size: 1.08rem;
  font-weight: 400;
  color: rgba(233, 231, 226, 0.85);
  margin-bottom: 2.6rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.hero__scroll-line {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollDrip 2.2s var(--ease) infinite;
}
@keyframes scrollDrip {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}
.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(233,231,226,0.6);
}

/* ═══════════ IMPACT / STATS ═══════════ */

.impact {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  padding: 3.6rem 0;
}
.impact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat { text-align: center; position: relative; }
.stat:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--line);
}
.stat__number {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--gold-soft);
  line-height: 1.1;
}
.stat__label {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ═══════════ ABOUT ═══════════ */

.about { padding: 7.5rem 0; }
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.about__frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 2px;
  pointer-events: none;
}
.about__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1.4s var(--ease);
}
.about__media:hover .about__frame img { transform: scale(1.04); }
.about__badge {
  position: absolute;
  left: 1.4rem;
  bottom: -1.4rem;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 0.9rem 1.4rem;
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}
.about__badge-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
}
.about__badge-sub {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 0.2rem;
}
.about__copy p { color: var(--text-dim); margin-bottom: 1.2rem; }
.about__copy p strong { color: var(--text); font-weight: 600; }
.about__pull {
  margin: 1.8rem 0 0.4rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text);
}
.about__pull cite {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ═══════════ SERVICES ═══════════ */

.services {
  position: relative;
  padding: 7.5rem 0;
  background-image:
    linear-gradient(to bottom, rgba(11,14,19,0.88) 0%, rgba(11,14,19,0.80) 50%, rgba(11,14,19,0.90) 100%),
    url("../assets/images/media/media-mpls-paradox.jpg");
  background-repeat: no-repeat;
  background-position: center, center 42%;
  background-size: cover;
  background-attachment: scroll, fixed;
  background-color: var(--ink-2);
  border-block: 1px solid var(--line);
}
/* iOS/Android don't support fixed attachment reliably — keep it static there. */
@media (hover: none), (pointer: coarse) {
  .services { background-attachment: scroll, scroll; }
}
.services .container { position: relative; z-index: 1; }
.services__head { max-width: 42rem; margin-bottom: 3.6rem; }
.services__head .section-title { text-shadow: 0 10px 34px rgba(0, 0, 0, 0.45); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.service {
  position: relative;
  background: rgba(24, 29, 37, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2.4rem 2rem 2.2rem;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.service:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 90, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}
.service:hover::before { opacity: 1; }
.service__num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0.9rem 0 0.8rem;
}
.service p {
  font-size: 0.93rem;
  color: var(--text-dim);
}

/* ═══════════ TESTIMONIALS ═══════════ */

.quotes { padding: 7.5rem 0; }
.quotes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.quote { position: relative; padding-top: 2.4rem; }
.quote__mark {
  position: absolute;
  top: -1.2rem;
  left: -0.4rem;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
  color: rgba(201, 162, 90, 0.22);
  pointer-events: none;
}
.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.45;
  margin-bottom: 1.6rem;
}
.quote__by {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.quote__avatar {
  flex: 0 0 auto;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201, 162, 90, 0.55);
  box-shadow: 0 0 0 4px rgba(201, 162, 90, 0.12);
}
.quote__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--gold-soft);
  background: rgba(201, 162, 90, 0.1);
}
.quote__name {
  display: block;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.quote__role {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 0.2rem;
}

/* ═══════════ PAST CLIENTS ═══════════ */

.clients {
  position: relative;
  padding: 7.5rem 0;
  background-image:
    linear-gradient(to bottom, rgba(11,14,19,0.91) 0%, rgba(11,14,19,0.84) 50%, rgba(11,14,19,0.93) 100%),
    url("../assets/images/media/media-augsburg-graduation.jpg");
  background-repeat: no-repeat;
  background-position: center, center 42%;
  background-size: cover;
  background-attachment: scroll, fixed;
  background-color: var(--ink);
}
@media (hover: none), (pointer: coarse) {
  .clients { background-attachment: scroll, scroll; }
}
.clients .container { position: relative; z-index: 1; }
.clients__head { max-width: 46rem; margin-bottom: 3.2rem; }
.clients__head .section-title { text-shadow: 0 10px 34px rgba(0, 0, 0, 0.45); }
.clients__head .link-arrow { margin-top: 0.4rem; }
.clients__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 150px;
  padding: 1.6rem 1.5rem;
  background: #f4f2ee;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.client-card img {
  width: auto;
  max-width: 88%;
  max-height: 72px;
  object-fit: contain;
}
.client-card span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #5c5852;
  line-height: 1.35;
}
.clients--page {
  padding: 5.5rem 0 7.5rem;
  background-image: none;
}
.clients--page .client-card { min-height: 180px; padding: 1.8rem 1.4rem 1.5rem; }
.clients--page .client-card img { max-height: 78px; }

/* ═══════════ MEDIA / GALLERY ═══════════ */

.media {
  padding: 7.5rem 0;
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.media__head { max-width: 46rem; margin-bottom: 3.4rem; }
.media__lede { color: var(--text-dim); }
.media__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.media__item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.media__item--wide {
  grid-column: span 2;
  aspect-ratio: 8 / 5;
}
.media__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias the crop upward so faces stay in frame when the tile is short. */
  object-position: center 26%;
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
  filter: saturate(0.92);
}
.media__item--wide img { object-position: center 40%; }
.media__item:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}
.media__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.1rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(233,231,226,0.92);
  background: linear-gradient(to top, rgba(11,14,19,0.85), transparent);
}

/* ═══════════ CTA BAND ═══════════ */

.band {
  position: relative;
  padding: 7rem 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(201,162,90,0.14), transparent 55%),
    var(--ink);
  text-align: center;
}
.band__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.12;
  margin-bottom: 2.2rem;
}
.band__title em { font-style: italic; color: var(--gold-soft); }

/* ═══════════ CONTACT ═══════════ */

.contact {
  padding: 7.5rem 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact__copy p { color: var(--text-dim); }
.contact__details {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact__line {
  color: var(--text);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 600;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
a.contact__line:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.contact__line--muted { color: var(--text-dim); font-weight: 400; }

.contact__form {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(167,164,157,0.55); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,90,0.15);
}
.contact__note {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
}

/* ═══════════ FOOTER ═══════════ */

.footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid var(--line);
}
.footer__lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.footer__logo {
  display: block;
  width: auto;
  height: 44px;
}
.footer__tag {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 22rem;
}
.footer__links,
.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer__links a,
.footer__meta a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  width: fit-content;
  transition: color 0.3s;
}
.footer__links a:hover,
.footer__meta a:hover { color: var(--gold-soft); }
.footer__legal {
  padding-top: 1.6rem;
  font-size: 0.78rem;
  color: rgba(167,164,157,0.7);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ═══════════ SUBPAGE HERO (media.html) ═══════════ */

.page-hero {
  position: relative;
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 4.5rem;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.06);
  animation: slowPan 26s ease-in-out infinite alternate;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,14,19,0.68) 0%, rgba(11,14,19,0.45) 45%, rgba(11,14,19,0.96) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
}
.page-hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}
.page-hero__title span { display: block; }
.page-hero__title em { font-style: italic; color: var(--gold-soft); }

.nav__links a.is-active {
  color: var(--gold-soft);
  opacity: 1;
}

/* ═══════════ PRESS FEATURES ═══════════ */

.press { padding: 7.5rem 0; }
.press__head { max-width: 42rem; margin-bottom: 3.4rem; }
.press__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.press-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.press-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 90, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}
.press-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.press-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
  filter: saturate(0.92);
}
.press-card:hover .press-card__media img {
  transform: scale(1.05);
  filter: saturate(1.05);
}
.press-card__media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f2ee;
  padding: 2rem;
}
.press-card__media--logo img {
  width: auto;
  max-height: 70%;
  object-fit: contain;
  filter: none;
}
.press-card:hover .press-card__media--logo img { transform: none; filter: none; }
.press-card__body {
  padding: 1.7rem 1.7rem 1.9rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.press-card__tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.press-card__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.3;
  margin-bottom: 0.7rem;
}
.press-card__body p {
  font-size: 0.92rem;
  color: var(--text-dim);
  flex: 1;
}
.press-card__body .link-arrow { margin-top: 1.1rem; }

/* ═══════════ RESPONSIVE ═══════════ */

@media (max-width: 960px) {
  .about__grid,
  .contact__grid,
  .quotes__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .press__grid { grid-template-columns: 1fr 1fr; }
  .impact__grid { grid-template-columns: 1fr 1fr; row-gap: 2.6rem; }
  .stat:nth-child(3)::before { display: none; }
  .media__grid { grid-template-columns: 1fr 1fr; }
  .about__media { max-width: 30rem; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { padding: 1rem 0; }
  .nav.is-scrolled { padding: 0.7rem 0; }
  /* Keep the brand and toggle above the fullscreen menu overlay. */
  .nav__brand,
  .nav__toggle { position: relative; z-index: 2; }
  .nav__brand { gap: 0.55rem; }
  .nav__brand-sub { display: none; }
  .nav__brand-mark { font-size: 1.15rem; }
  .nav__logo { height: 34px; }
  .nav.is-scrolled .nav__logo { height: 30px; }
  .nav__toggle { display: block; width: 44px; height: 40px; }
  .nav__toggle span { left: 10px; right: 10px; }
  .nav__toggle span:first-child { top: 15px; }
  .nav__toggle span:last-child { top: 23px; }
  .nav__toggle.is-open span:first-child,
  .nav__toggle.is-open span:last-child { top: 19px; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(11, 14, 19, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }
  .nav__links.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a { font-size: 1.05rem; }
  .services__grid { grid-template-columns: 1fr; }
  .press__grid { grid-template-columns: 1fr; }
  .press { padding: 5rem 0; }
  .media__grid { grid-template-columns: 1fr; }
  /* Portrait tiles keep a portrait crop here; only the landscape ones stay wide. */
  .media__item { grid-column: span 1; aspect-ratio: 4 / 5; }
  .media__item--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .about { padding: 5rem 0; }
  .services, .quotes, .media, .contact, .clients { padding: 5rem 0; }
  .contact__form { padding: 1.6rem; }
}
