/* =========================================================
   ADVERTISING DIRECTIONS, INC.
   Campaign Atelier Visual System
   ========================================================= */

:root {
  --ink: #16171A;
  --paper: #E3E8E2;
  --ember: #C81E4A;
  --forest: #254038;
  --clay: #C5CDC2;
  --brass: #8F7A5F;
  --mist: #F3F5F2;
  --white: #FBFBFA;
  --muted: #5F6560;

  --canvas-max: 1600px;
  --main-max: 1380px;
  --editorial-max: 820px;
  --reading-max: 680px;

  --radius-btn: 9px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
}

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

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  letter-spacing: 0.012em;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-btn);
  transition: top 200ms var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* Width system */
.main-wrap {
  width: min(var(--main-max), calc(100% - 64px));
  margin-inline: auto;
}

.canvas-wrap {
  width: min(var(--canvas-max), calc(100% - 32px));
  margin-inline: auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.section-label.light {
  color: rgba(245, 240, 232, 0.65);
}

.section-heading {
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 16ch;
}

/* Title Case for titles and subtitles site-wide */
h1,
h2,
h3,
.section-heading,
.void-title,
.void-h2,
.portal-title,
.echo-title,
.sp-index,
.about-stage h3,
.about-expect h3,
.about-fit-list span,
.about-facts dt,
.contact-channels-label,
.void-kicker,
.echo-name,
.pyramid-tier-label,
.void-stamp,
.vfaq summary {
  text-transform: capitalize;
}

.section-lede {
  margin-top: 1.25rem;
  max-width: var(--reading-max);
  color: var(--muted);
  font-size: 1.05rem;
}

.section-intro {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 320ms var(--ease), background 320ms var(--ease), color 320ms var(--ease), opacity 320ms var(--ease);
}

.btn-icon {
  transition: transform 350ms var(--ease);
}

.btn:hover .btn-icon,
.btn:focus-visible .btn-icon {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--ember);
  color: var(--white);
}

.btn-primary:hover {
  background: #a5183c;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(21, 21, 21, 0.22);
}

.btn-ghost:hover {
  background: rgba(21, 21, 21, 0.04);
}

/* =========================================================
   FRAME NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  transition: padding 350ms var(--ease), background 350ms var(--ease);
}

.site-header.is-compact {
  padding: 8px 0;
}

.header-inner {
  width: min(var(--canvas-max), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-inc {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav-cluster {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  transform: translateX(-2%);
}

.frame-nav {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(21, 21, 21, 0.14);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 10px 0 0 10px;
  padding: 4px 6px;
}

.nav-item {
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 7px;
  transition: color 280ms var(--ease), background 280ms var(--ease), transform 280ms var(--ease), font-weight 280ms var(--ease);
}

.nav-item:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-item.is-active {
  color: var(--ink);
  font-weight: 600;
  background: rgba(197, 205, 194, 0.65);
}

.nav-rule {
  width: 1px;
  height: 16px;
  background: rgba(21, 21, 21, 0.12);
  flex-shrink: 0;
}

.nav-cta {
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--ink);
  border-radius: 0 10px 10px 0;
  border: 1px solid var(--ink);
  border-left: none;
  transition: background 280ms var(--ease), transform 280ms var(--ease);
}

.nav-cta:hover {
  background: var(--forest);
  border-color: var(--forest);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(21, 21, 21, 0.15);
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 280ms var(--ease), opacity 280ms var(--ease);
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  width: min(var(--main-max), calc(100% - 32px));
  margin: 12px auto 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 12px;
}

.mobile-nav-item {
  text-align: left;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--ink);
}

.mobile-nav-item:hover,
.mobile-nav-item:focus-visible {
  background: var(--clay);
}

.mobile-nav-cta {
  margin-top: 0.5rem;
  width: 100%;
}

/* =========================================================
   HERO - Kinetic Media Assembly
   ========================================================= */

.hero {
  padding: clamp(3rem, 5.5vw, 4.5rem) 0 0;
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.amb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  will-change: transform;
}

.amb-a {
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  background: rgba(200, 30, 74, 0.22);
  top: -12%;
  right: -8%;
  animation: ambDrift 14s ease-in-out infinite;
}

.amb-b {
  width: min(40vw, 420px);
  height: min(40vw, 420px);
  background: rgba(143, 122, 95, 0.32);
  bottom: 5%;
  left: -10%;
  animation: ambDrift 18s ease-in-out infinite reverse;
}

.amb-c {
  width: min(32vw, 340px);
  height: min(32vw, 340px);
  background: rgba(37, 64, 56, 0.2);
  top: 42%;
  left: 38%;
  animation: ambDrift 16s 1s ease-in-out infinite;
}

@keyframes ambDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, -6%) scale(1.08); }
  66% { transform: translate(-5%, 3%) scale(0.94); }
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(var(--canvas-max), calc(100% - 32px));
  margin-inline: auto;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.hero-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(20, 18, 16, 0.14);
  pointer-events: none;
  z-index: 0;
}

.route-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

.hero.is-live .route-a {
  animation: routeDraw 1600ms 400ms var(--ease) forwards;
}

.hero.is-live .route-b {
  animation: routeDraw 1600ms 700ms var(--ease) forwards;
  color: rgba(200, 30, 74, 0.35);
}

@keyframes routeDraw {
  to { stroke-dashoffset: 0; }
}

.route-node {
  fill: var(--ember);
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}

.hero.is-live .n1 { animation: nodePop 500ms 700ms var(--ease) forwards; }
.hero.is-live .n2 { animation: nodePop 500ms 950ms var(--ease) forwards; fill: var(--brass); }
.hero.is-live .n3 { animation: nodePop 500ms 1200ms var(--ease) forwards; fill: var(--forest); }
.hero.is-live .n4 { animation: nodePop 500ms 1100ms var(--ease) forwards; fill: var(--brass); }
.hero.is-live .n5 { animation: nodePop 500ms 1400ms var(--ease) forwards; }

@keyframes nodePop {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

.hero-board {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: min(72vh, 740px);
}

.hero-copy-stack {
  position: relative;
  z-index: 3;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1.15rem;
  opacity: 0;
  transform: translateY(18px);
}

.hero.is-live .hero-label {
  animation: riseSoft 650ms 280ms var(--ease) forwards;
}

.hero-heading {
  font-size: clamp(3.8rem, 7.2vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 9.5ch;
  margin-bottom: 1.75rem;
}

.hero-heading .kw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.22em;
}

.hero-heading .kw:last-child {
  margin-right: 0;
}

.hero-heading .kw-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.hero.is-live .hero-heading .kw-inner {
  animation: wordRise 780ms var(--ease) forwards;
}

.hero-heading .kw.is-accent .kw-inner {
  color: var(--forest);
}

.hero-lead {
  max-width: 42ch;
  opacity: 0;
  transform: translateY(24px);
}

.hero.is-live .hero-lead {
  animation: riseSoft 700ms 980ms var(--ease) forwards;
}

.hero-copy {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes riseSoft {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes wordRise {
  to { transform: translateY(0); opacity: 1; }
}

/* Media stack - overlapping diagonal strips */
.hero-media-stack {
  position: relative;
  height: min(68vh, 640px);
  min-height: 420px;
}

.media-strip {
  position: absolute;
  overflow: hidden;
  background: var(--clay);
  box-shadow: 0 24px 60px rgba(20, 18, 16, 0.14);
}

.media-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  filter: saturate(0.95) contrast(1.03);
}

.hero.is-live .media-strip img {
  animation: imgSettle 1400ms 500ms var(--ease) forwards;
}

@keyframes imgSettle {
  to { transform: scale(1); }
}

.strip-a {
  width: 78%;
  height: 72%;
  top: 4%;
  right: 0;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 88%);
  transform: translateX(18%) rotate(2deg);
  opacity: 0;
  z-index: 2;
}

.hero.is-live .strip-a {
  animation: stripInA 1000ms 320ms var(--ease) forwards;
}

@keyframes stripInA {
  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

.strip-b {
  width: 42%;
  height: 38%;
  left: 0;
  bottom: 8%;
  clip-path: polygon(0 12%, 100% 0, 92% 100%, 0 100%);
  transform: translateX(-30%) rotate(-4deg);
  opacity: 0;
  z-index: 4;
  border: 6px solid var(--mist);
}

.hero.is-live .strip-b {
  animation: stripInB 900ms 620ms var(--ease) forwards, stripFloat 7s 2s ease-in-out infinite;
}

@keyframes stripInB {
  to {
    opacity: 1;
    transform: translateX(0) rotate(-3deg);
  }
}

@keyframes stripFloat {
  0%, 100% { transform: translateX(0) rotate(-3deg) translateY(0); }
  50% { transform: translateX(0) rotate(-2deg) translateY(-10px); }
}

.strip-c {
  width: 34%;
  height: 28%;
  right: 8%;
  bottom: 0;
  clip-path: polygon(0 0, 100% 8%, 100% 100%, 10% 92%);
  transform: translateY(40%) rotate(3deg);
  opacity: 0;
  z-index: 3;
}

.hero.is-live .strip-c {
  animation: stripInC 900ms 780ms var(--ease) forwards;
}

@keyframes stripInC {
  to {
    opacity: 1;
    transform: translateY(0) rotate(2deg);
  }
}

.media-chip {
  position: absolute;
  z-index: 5;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  opacity: 0;
  transform: scale(0.85);
}

.chip-native {
  top: 10%;
  left: 8%;
  background: var(--ember);
  color: var(--white);
}

.chip-social {
  top: 48%;
  right: 2%;
  background: var(--forest);
  color: var(--paper);
}

.chip-search {
  bottom: 18%;
  left: 36%;
  background: var(--brass);
  color: var(--ink);
}

.hero.is-live .chip-native {
  animation: chipIn 550ms 900ms var(--ease) forwards, chipBob 4.5s 2s ease-in-out infinite;
}

.hero.is-live .chip-social {
  animation: chipIn 550ms 1050ms var(--ease) forwards, chipBob 5s 2.2s ease-in-out infinite;
}

.hero.is-live .chip-search {
  animation: chipIn 550ms 1200ms var(--ease) forwards, chipBob 4.8s 2.4s ease-in-out infinite;
}

@keyframes chipIn {
  to { opacity: 1; transform: scale(1); }
}

@keyframes chipBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =========================================================
   DISCIPLINES
   ========================================================= */
/* =========================================================
   DISCIPLINES
   ========================================================= */

.disciplines {
  padding: clamp(3rem, 5.5vw, 4.5rem) 0;
  background: var(--white);
}

.discipline {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.discipline + .discipline {
  border-top: 1px solid rgba(21, 21, 21, 0.08);
}

.discipline-grid {
  width: min(var(--main-max), calc(100% - 64px));
  margin-inline: auto;
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.discipline-grid-native {
  grid-template-columns: 1.38fr 1fr;
}

.discipline-grid-social {
  grid-template-columns: 0.9fr 1.48fr;
}

.discipline-grid-search {
  grid-template-columns: 0.85fr 1fr;
}

.discipline-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.discipline-copy p {
  max-width: 52ch;
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.capability-list li {
  font-size: 0.95rem;
  font-weight: 500;
  padding-left: 1rem;
  position: relative;
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1.5px;
  background: var(--forest);
}

/* Native editorial publication visual */
.pub-spread {
  background: var(--paper);
  border: 1px solid rgba(21, 21, 21, 0.08);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.pub-masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 2px solid var(--ink);
}

.pub-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pub-issue {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.pub-body {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 0.85rem;
}

.pub-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.15);
}

.pub-rail {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--white);
  padding: 0.75rem;
}

.pub-rail-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember);
}

.pub-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pub-thumb span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.pub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(21, 21, 21, 0.1);
}

.pub-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  background: var(--clay);
  color: var(--forest);
}

/* Paid social tower */
.social-tower {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, rgba(37, 64, 56, 0.12), transparent 50%),
    var(--paper);
  padding: 2rem 1.5rem;
}

.social-panel-main {
  width: min(58%, 280px);
  position: relative;
  z-index: 2;
}

.social-panel-main img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 4%, 96% 100%, 4% 96%);
  box-shadow: 0 24px 48px rgba(21, 21, 21, 0.18);
}

.social-badge {
  position: absolute;
  top: 12%;
  right: -18%;
  background: var(--ember);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  transform: rotate(90deg);
  transform-origin: center;
}

.social-stack {
  position: absolute;
  left: 6%;
  top: 18%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 1;
}

.social-stack span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  writing-mode: horizontal-tb;
  background: var(--white);
  padding: 0.4rem 0.7rem;
  border-left: 3px solid var(--forest);
  opacity: 0.92;
}

.social-chip {
  position: absolute;
  right: 8%;
  bottom: 14%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 0.9rem;
}

/* Search board */
.search-board {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.search-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
}

.search-query {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.45rem 0 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.18);
}

.search-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-meta span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  background: rgba(245, 240, 232, 0.08);
  color: var(--clay);
}

.search-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.search-col {
  padding: 0.9rem;
  background: rgba(245, 240, 232, 0.05);
  border-top: 2px solid rgba(245, 240, 232, 0.2);
}

.search-col.accent {
  background: rgba(37, 64, 56, 0.45);
  border-top-color: var(--ember);
}

.search-col-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.search-col p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(245, 240, 232, 0.72);
}

.search-footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.25rem;
}

.search-footer-bar span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
}

/* =========================================================
   CAMPAIGN COMPOSITION
   ========================================================= */

.composition {
  padding: clamp(3rem, 5.5vw, 4.5rem) 0;
  background: var(--paper);
  overflow: hidden;
}

.composition-canvas {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1.25rem 1.5rem;
  min-height: 640px;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.comp-layer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 700ms var(--ease), opacity 700ms var(--ease);
  opacity: 0.72;
  transform: translateY(28px);
}

.composition-canvas.is-aligned .comp-layer {
  opacity: 1;
  transform: translateY(0);
}

.layer-audience {
  grid-column: 1;
  grid-row: 1 / span 2;
  transform: translate(-18px, 36px);
}

.layer-placement {
  grid-column: 2;
  grid-row: 1;
  transform: translate(12px, -12px);
}

.layer-creative {
  grid-column: 3;
  grid-row: 1 / span 2;
  transform: translate(22px, 40px);
}

.layer-conversion {
  grid-column: 2;
  grid-row: 2;
  transform: translate(-8px, 24px);
}

.composition-canvas.is-aligned .layer-audience,
.composition-canvas.is-aligned .layer-placement,
.composition-canvas.is-aligned .layer-creative,
.composition-canvas.is-aligned .layer-conversion {
  transform: translate(0, 0);
}

.layer-label {
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.layer-visual {
  overflow: hidden;
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
}

.layer-visual img {
  width: 100%;
  aspect-ratio: 5 / 3.4;
  object-fit: cover;
}

.layer-visual.tall img {
  aspect-ratio: 3 / 4;
}

.layer-field {
  min-height: 140px;
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}

.layer-field.forest {
  background: linear-gradient(135deg, var(--forest), #1a2e28);
}

.layer-field.olive {
  background: linear-gradient(150deg, var(--brass), #6f5e48);
  min-height: 110px;
}

.layer-note {
  max-width: 34ch;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.comp-connector {
  position: absolute;
  height: 1px;
  background: rgba(21, 21, 21, 0.18);
  top: 28%;
  left: 28%;
  width: 18%;
  opacity: 0;
  transition: opacity 600ms var(--ease);
}

.comp-connector.wide {
  top: 62%;
  left: 36%;
  width: 24%;
}

.composition-canvas.is-aligned .comp-connector {
  opacity: 1;
}

.comp-aside {
  grid-column: 1 / -1;
  grid-row: 3;
  max-width: var(--editorial-max);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(21, 21, 21, 0.12);
}

.comp-aside p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: var(--reading-max);
}

/* =========================================================
   CLIENT PERSPECTIVE
   ========================================================= */

.perspective {
  padding: clamp(3rem, 5.5vw, 4.5rem) 0;
  background: var(--white);
}

.testimonial-spread {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.t-block {
  margin: 0;
  display: flex;
}

.t-large {
  grid-column: 1;
  grid-row: 1 / span 2;
  flex-direction: column;
  background: var(--paper);
  min-height: 100%;
}

.t-portrait {
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}

.t-portrait img {
  width: 100%;
  aspect-ratio: 5 / 5.5;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  transition: transform 700ms var(--ease), clip-path 700ms var(--ease);
  clip-path: inset(8% 8% 8% 8%);
}

.t-large.is-inview .t-portrait img {
  transform: scale(1);
  clip-path: inset(0 0 0 0);
}

.t-large .t-body {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.t-text {
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  justify-content: space-between;
  background: var(--forest);
  color: var(--paper);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  min-height: 280px;
}

.t-text .t-quote {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.t-text .t-role,
.t-text .t-mix {
  color: rgba(245, 240, 232, 0.7);
}

.t-text .t-mix span {
  color: var(--brass);
}

.t-landscape {
  grid-column: 2;
  grid-row: 2;
  flex-direction: column;
  background: var(--paper);
}

.t-crop {
  overflow: hidden;
}

.t-crop img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.t-landscape .t-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.t-quote {
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.t-large .t-quote {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.45;
}

.t-meta {
  margin-top: auto;
}

.t-name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.98rem;
}

.t-role {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.t-mix {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.t-mix span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.2rem;
}

/* =========================================================
   PROJECT INVITATION
   ========================================================= */

.invite {
  padding: clamp(3rem, 5.5vw, 4.5rem) 0;
  background: var(--ink);
  color: var(--paper);
}

.invite-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.invite-statement h2 {
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 10ch;
  margin-bottom: 1.25rem;
}

.invite-copy {
  max-width: 42ch;
  color: rgba(245, 240, 232, 0.72);
  margin-bottom: 2rem;
}

.invite-contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-link,
.contact-domain {
  font-size: 1rem;
  font-weight: 500;
  width: fit-content;
  transition: color 280ms var(--ease), opacity 280ms var(--ease);
}

.contact-link:hover {
  color: var(--clay);
}

.contact-domain {
  color: rgba(245, 240, 232, 0.5);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.brief-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: transparent;
  border-left: 2px solid rgba(245, 240, 232, 0.18);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
}

.form-row input,
.form-row select,
.form-row textarea {
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.16);
  border-radius: 8px;
  color: var(--paper);
  transition: border-color 280ms var(--ease), background 280ms var(--ease);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(245, 240, 232, 0.35);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--clay);
  background: rgba(245, 240, 232, 0.1);
}

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%F5F0E8' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-row select option {
  color: var(--ink);
  background: var(--white);
}

.btn-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.9rem;
  color: var(--brass);
}

.form-status.is-error {
  color: var(--ember);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: clamp(3rem, 5.5vw, 4.5rem) 0 0;
  background: var(--paper);
  border-top: 1px solid rgba(21, 21, 21, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
}

.footer-mark {
  width: 88px;
  color: var(--ink);
  overflow: hidden;
  clip-path: inset(0 18% 0 0);
}

.footer-mark svg {
  width: 120px;
  height: 120px;
}

.footer-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.footer-tag {
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: right;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-contact a {
  transition: color 280ms var(--ease);
}

.footer-contact a:hover {
  color: var(--forest);
}

.footer-contact span {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem 0 1.5rem;
  border-top: 1px solid rgba(21, 21, 21, 0.1);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.footer-legal a,
.footer-legal button {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 280ms var(--ease), opacity 280ms var(--ease);
}

.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--muted);
}

/* =========================================================
   MOTION
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .comp-layer {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-label,
  .hero-lead,
  .media-strip,
  .media-chip,
  .hero-heading .kw-inner,
  .route-path,
  .route-node {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }

  .media-strip img,
  .t-portrait img {
    transform: none !important;
  }

  .amb-blob {
    animation: none !important;
  }
}

/* =========================================================
   LEGAL PAGES
   ========================================================= */

.legal-page {
  padding: clamp(3rem, 5.5vw, 4.5rem) 0;
}

.legal-wrap {
  width: min(var(--editorial-max), calc(100% - 64px));
  margin-inline: auto;
}

.legal-wrap h1 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-wrap h2 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.75rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
  max-width: var(--reading-max);
  margin-bottom: 0.85rem;
}

.legal-wrap ul {
  padding-left: 1.15rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--forest);
  transition: opacity 280ms var(--ease);
}

.legal-back:hover {
  opacity: 0.75;
}

.nav-cta-solo {
  border-radius: 10px;
  border-left: 1px solid var(--ink);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .hero-board {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .hero-media-stack {
    height: 520px;
    min-height: 380px;
  }

  .hero-heading {
    font-size: clamp(3rem, 6.5vw, 5.5rem);
  }

  .discipline-grid-native,
  .discipline-grid-social,
  .discipline-grid-search {
    grid-template-columns: 1fr 1fr;
  }

  .composition-canvas {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .layer-audience {
    grid-column: 1;
    grid-row: 1;
  }

  .layer-placement {
    grid-column: 2;
    grid-row: 1;
  }

  .layer-creative {
    grid-column: 1;
    grid-row: 2;
  }

  .layer-conversion {
    grid-column: 2;
    grid-row: 2;
  }

  .comp-aside {
    grid-row: 3;
  }

  .testimonial-spread {
    grid-template-columns: 1fr 1fr;
  }

  .t-large {
    grid-row: 1;
  }

  .t-text {
    grid-row: 1;
  }

  .t-landscape {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .t-landscape .t-crop img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 220px;
  }
}

@media (max-width: 900px) {
  .nav-cluster {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }

  .hero-board {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-media-stack {
    height: 420px;
    order: -1;
  }

  .hero-routes {
    display: none;
  }

  .strip-a {
    width: 88%;
    height: 78%;
  }

  .strip-b {
    width: 48%;
  }

  .discipline-grid-native,
  .discipline-grid-social,
  .discipline-grid-search {
    grid-template-columns: 1fr;
  }

  .discipline-grid-social .discipline-copy {
    order: 1;
  }

  .discipline-grid-social .discipline-visual {
    order: 2;
  }

  .pub-body {
    grid-template-columns: 1fr;
  }

  .search-columns {
    grid-template-columns: 1fr;
  }

  .invite-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .brief-form {
    border-left: none;
    border-top: 2px solid rgba(245, 240, 232, 0.18);
    padding-left: 0;
    padding-top: 1.75rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-mark {
    clip-path: none;
    width: 72px;
  }

  .footer-mark svg {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 700px) {
  .main-wrap {
    width: min(var(--main-max), calc(100% - 40px));
  }

  .canvas-wrap {
    width: min(var(--canvas-max), calc(100% - 24px));
  }

  .hero-heading {
    font-size: clamp(2.8rem, 12vw, 3.8rem);
    line-height: 1;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media-stack {
    height: 340px;
    min-height: 300px;
  }

  .chip-search {
    display: none;
  }

  .social-tower {
    min-height: 420px;
  }

  .social-panel-main {
    width: min(70%, 240px);
  }

  .social-badge {
    right: -12%;
  }

  .composition-canvas {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .layer-audience,
  .layer-placement,
  .layer-creative,
  .layer-conversion {
    grid-column: 1;
    grid-row: auto;
  }

  .comp-connector {
    display: none;
  }

  .testimonial-spread {
    grid-template-columns: 1fr;
  }

  .t-large,
  .t-text,
  .t-landscape {
    grid-column: 1;
    grid-row: auto;
  }

  .t-landscape {
    display: flex;
  }

  .t-text {
    min-height: 0;
  }

  .footer-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .brand-text {
    display: none;
  }

  .strip-c {
    display: none;
  }
}
