/* ─────────────────────────────────────────────────────────────
   ARL ELEVATE - Components
   Reusable patterns: header, footer, buttons, cards, etc.
   ───────────────────────────────────────────────────────────── */

/* ─── FULL-WIDTH SECTION BANDS ─────────────────────────────── */

.band { width: 100%; }

.band--deep { background: var(--cream-warm); }

.band--ink  { background: var(--aubergine-mid); }

.band--ink .hero__title,
.band--ink h2               { color: var(--cream-warm); }
.band--ink .accent,
.band--ink .hero__title .accent { color: var(--gold-bright); font-style: italic; }
.band--ink p                { color: var(--cream-deep); }
.band--ink .btn--primary    { background: var(--gold); border-color: var(--gold); color: var(--cream-warm); }
.band--ink .btn--primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }


/* ─── SITE HEADER ──────────────────────────────────────────── */

.site-header {
  padding: var(--space-5) 0 var(--space-4);
  border-bottom: 1px solid var(--rule-soft);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.site-header__brand {
  font-family: var(--serif-display);
  font-weight: 400;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-size: var(--type-lg);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
}

.site-header__brand em {
  font-style: italic;
  color: var(--aubergine);
  font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1;
}

.site-nav {
  display: flex;
  gap: var(--space-5);
  align-items: center;
}

.site-nav a {
  font-family: var(--serif-body);
  font-size: var(--type-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

.site-nav a:hover { color: var(--aubergine); }
.site-nav a:hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }

@media (max-width: 680px) {
  .site-header__inner { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .site-nav { flex-wrap: wrap; gap: var(--space-4); }
}

/* ─── SITE FOOTER ──────────────────────────────────────────── */

.site-footer {
  margin-top: 0;
  padding: var(--space-7) 0 var(--space-6);
  border-top: 1px solid var(--rule);
  background: var(--cream);
  font-family: var(--serif-body);
  font-size: var(--type-sm);
  color: var(--stone);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.site-footer__brand {
  font-family: var(--serif-display);
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 60, "WONK" 1;
  font-weight: 400;
  font-size: var(--type-base);
  color: var(--ink);
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* The actual brand-mark logo (PNG with the modern sans-serif lockup),
   placed in the footer as a secondary brand mark. Toned down with
   reduced opacity and a subtle multiply blend so it harmonizes with
   the editorial register without dominating it. */
.site-footer__logo {
  display: block;
  width: 140px;
  height: auto;
  opacity: 0.78;
  mix-blend-mode: multiply;
  margin-bottom: var(--space-1);
}

.site-footer__caption {
  font-family: var(--serif-display);
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 60, "WONK" 1;
  font-size: var(--type-sm);
  color: var(--stone);
  letter-spacing: 0;
}

.site-footer__meta { line-height: 1.8; }
.site-footer__meta a { color: var(--charcoal); text-decoration-color: var(--gold); }

/* ─── BUTTONS ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-family: var(--serif-body);
  font-size: var(--type-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}

.btn:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn--primary {
  background: var(--aubergine);
  color: var(--cream);
  border-color: var(--aubergine);
}

.btn--primary:hover {
  background: var(--aubergine-deep);
  border-color: var(--aubergine-deep);
  color: var(--cream-warm);
  text-decoration: none;
}

.btn--ghost {
  border-color: var(--rule);
  color: var(--charcoal);
}

/* ─── EYEBROW / KICKER ──────────────────────────────────────── */

.eyebrow {
  font-family: var(--serif-body);
  font-size: var(--type-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
  margin-bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* ─── HERO ──────────────────────────────────────────────────── */

.hero {
  padding: var(--space-10) 0 var(--space-9);
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero--compact {
  min-height: auto;
  padding: var(--space-9) 0 var(--space-8);
}

.hero__title {
  font-family: var(--serif-display);
  font-variation-settings: "opsz" 144, "SOFT" 15, "WONK" 0;
  font-weight: 260;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 1.1;
  letter-spacing: -0.036em;
  max-width: 16ch;
}

.hero__title em {
  font-style: italic;
  color: var(--aubergine);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  font-weight: 320;
}

/* Two-line stack treatment for hero titles that read as a beat-pause-beat.
   Use a <br> inside the .hero__title with this class on the first half. */
.hero__title-line + .hero__title-line { margin-top: var(--space-2); }
.accent {
  color: var(--aubergine);
}

.hero__title .accent {
  color: var(--aubergine);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  font-weight: 320;
}

.hero__title--about {
  font-size: clamp(48px, 6.5vw, 104px);
}

.hero__lede {
  font-size: var(--type-lg);
  color: var(--espresso);
  max-width: 60ch;
  margin-top: var(--space-6);
  line-height: 1.55;
}

.hero__cta {
  margin-top: var(--space-7);
}

/* Sub-hero / supporting block under hero, before main sections begin */
.hero__sub {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--rule-soft);
  max-width: 60ch;
  font-size: var(--type-base);
  color: var(--charcoal);
  line-height: 1.65;
}

/* ─── SECTION ──────────────────────────────────────────────── */

.section {
  padding-block: 90px; /* --space-10 (128px) × 0.7 */
}

.section--tight  { padding-block: 45px;  } /* --space-8 (64px) × 0.7 */
.section--loose  { padding-block: 80px; }
.section--top    { padding-top: 0; }
.section--bottom { padding-bottom: 0; }

/* Editorial section break: a tight centered soft-tone rule between
   sections. Small and quiet so it does not compete with the marginal
   vine on the right. */
.section + .section { border-top: none; }
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: var(--rule);
}

/* The break can be hidden on adjacent sections that should flow as one
   visual block (use .section--continuous on the second of the pair). */
.section--continuous::before { display: none; }

/* ─── VINE ────────────────────────────────────────────────── */
/* A line-art vine in the right margin. The stem draws progressively as
   the visitor scrolls, and JS anchors individual leaves to measured
   points on the curve. At narrower desktop-preview widths it tucks
   partly offscreen so it stays inspectable without crowding the text. */

.vine {
  position: absolute;
  top: 0;
  bottom: 0;
  right: max(36px, calc((100% - var(--container-base)) / 2 - 120px));
  width: 132px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  mix-blend-mode: normal;
  transition: opacity 0.35s var(--ease-out);
}

.vine.is-ready.is-active {
  opacity: 1;
}

.vine__svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--vine-height, 100%);
  min-height: 100%;
  overflow: hidden;
  clip-path: inset(0 0 var(--vine-reveal, 100%) 0);
}

.vine__stem {
  fill: none;
  stroke: url(#vine-gradient) var(--violet);
  stroke-width: 2.75;
  opacity: 0.62;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.vine__leaf {
  position: absolute;
  top: var(--top);
  left: var(--x);
  width: 72px;
  height: 38px;
  overflow: visible;
  transform-origin: 1px 50%;
  transform: translateY(-50%) rotate(var(--rot)) scale(0.28);
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

.vine__leaf[hidden] {
  display: none;
}

.vine__leaf.is-revealed {
  opacity: 1;
  transform: translateY(-50%) rotate(var(--rot)) scale(var(--scale, 1));
}

.vine__leaf-shape {
  fill: rgba(107, 31, 140, 0.095);
  stroke: var(--violet);
  stroke-width: 1.3;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill 0.6s ease, stroke 0.6s ease;
}

.vine__leaf-vein {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.85;
  stroke-linecap: round;
  opacity: 0.7;
  vector-effect: non-scaling-stroke;
}

.vine__leaf-vein--side {
  stroke: var(--violet);
  stroke-width: 0.62;
  opacity: 0.42;
  transition: stroke 0.6s ease;
}

/* Leaves over band--ink sections turn gold */
.vine__leaf--on-ink .vine__leaf-shape {
  fill: rgba(201, 169, 97, 0.18);
  stroke: var(--gold-bright);
}
.vine__leaf--on-ink .vine__leaf-vein--side {
  stroke: var(--gold);
  opacity: 0.5;
}

@media (max-width: 1359px) {
  .vine {
    right: -24px;
  }

  .vine.is-ready.is-active {
    opacity: 0.76;
  }
}

@media (max-width: 859px) {
  .vine { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vine { transition: none; }
  .vine__stem {
    transition: none;
  }
  .vine__svg {
    clip-path: inset(0 0 0 0);
  }
  .vine__leaf {
    transition: none;
    opacity: 1;
    transform: translateY(-50%) rotate(var(--rot)) scale(var(--scale, 1));
  }
}

/* Big slide-style number anchor (lifted from the walkthrough deck) */
.slide-number {
  font-family: var(--serif-display);
  font-variation-settings: "opsz" 144, "SOFT" 10, "WONK" 1;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(44px, 5vw, 72px);
  color: var(--gold);
  line-height: 1;
  display: block;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-2);
}

/* Bottomline block - dark ink card, used for takeaway moments */
.bottomline {
  margin-top: var(--space-7);
  padding: var(--space-6) var(--space-7);
  background: var(--ink);
  color: var(--cream-warm);
  max-width: 60ch;
}

.bottomline__label {
  font-family: var(--serif-body);
  font-size: var(--type-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: var(--space-2);
  display: block;
}

.bottomline__text {
  font-family: var(--serif-display);
  font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 0;
  font-size: var(--type-2xl);
  font-weight: 320;
  line-height: 1.2;
  color: var(--cream-warm);
  letter-spacing: -0.015em;
  margin: 0;
}

.bottomline__text em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  color: var(--gold-bright);
}

.section-head {
  margin-bottom: var(--space-7);
  max-width: 56ch;
}

.section-head__title {
  font-size: var(--type-3xl);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 22ch;
}

.section-head__lede {
  margin-top: var(--space-4);
  font-size: var(--type-lg);
  color: var(--espresso);
  line-height: 1.55;
  max-width: 56ch;
}

/* ─── PROSE ─────────────────────────────────────────────────── */
/* Long-form text wrapper. Used on About, How We Work narrative blocks. */

.prose {
  max-width: 64ch;
  font-size: var(--type-lg);
  line-height: 1.65;
  color: var(--espresso);
}

.prose p { margin: 0 0 1.1em 0; }
.prose p:last-child { margin-bottom: 0; }

.prose h2 {
  margin: var(--space-7) 0 var(--space-4);
  font-size: var(--type-2xl);
  font-weight: 320;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.prose h3 {
  margin: var(--space-6) 0 var(--space-3);
  font-size: var(--type-xl);
  font-weight: 360;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 60, "WONK" 1;
}

.prose strong { color: var(--ink); font-weight: 600; }
.prose em { color: var(--aubergine); }

/* ─── WORK TYPES (home page three-column) ───────────────────── */

.work-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-6);
}

@media (max-width: 880px) {
  .work-types { grid-template-columns: 1fr; gap: var(--space-7); }
}

.work-type {
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
}

.work-type__kicker {
  font-family: var(--serif-display);
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1;
  font-weight: 360;
  font-size: var(--type-sm);
  letter-spacing: 0.02em;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.work-type__title {
  font-family: var(--serif-display);
  font-size: var(--type-2xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--space-3);
  line-height: 1.05;
}

.work-type__body {
  font-family: var(--serif-body);
  font-size: var(--type-base);
  color: var(--charcoal);
  line-height: 1.6;
  margin: 0;
}

/* ─── FIGURE / PORTRAIT ─────────────────────────────────────── */

.figure {
  margin: 0;
}

.figure__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.figure__caption {
  margin-top: var(--space-3);
  font-family: var(--serif-display);
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1;
  font-size: var(--type-sm);
  color: var(--stone);
  text-align: left;
}

.split__media {
  position: relative;
  isolation: isolate;
}

.split__media::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -32px;
  height: 58px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center,
      rgba(61, 26, 61, 0.32) 0%,
      rgba(42, 30, 23, 0.18) 44%,
      rgba(42, 30, 23, 0) 72%);
  filter: blur(12px);
  opacity: 0.86;
  transform: scaleX(0.94);
}

.split__media .figure__img {
  position: relative;
  z-index: 1;
  box-shadow:
    0 36px 68px -36px rgba(61, 26, 61, 0.42),
    0 16px 32px -22px rgba(21, 17, 16, 0.36),
    0 2px 8px -5px rgba(21, 17, 16, 0.18);
}

/* Two-column layout for narrative + portrait */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-9);
  align-items: start;
}

.split--narrow { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-8); }

@media (max-width: 880px) {
  .split, .split--narrow {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
  .split__media { order: -1; max-width: 360px; }
}

/* ─── METHOD ────────────────────────────────────────────────── */

.method {
  margin-top: var(--space-7);
  display: grid;
  gap: var(--space-7);
}

.method__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
}

.method__step:first-child { border-top: 0; padding-top: 0; }

.method__num {
  font-family: var(--serif-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  font-weight: 320;
  font-size: var(--type-3xl);
  color: var(--gold);
  line-height: 1;
}

.method__body { min-width: 0; }

.method__title {
  font-family: var(--serif-display);
  font-size: var(--type-2xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: var(--space-3);
}

.method__text {
  font-family: var(--serif-body);
  font-size: var(--type-lg);
  color: var(--espresso);
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}

@media (max-width: 600px) {
  .method__step { grid-template-columns: 1fr; gap: var(--space-3); }
  .method__num { font-size: var(--type-2xl); }
}

/* ─── FORMATS (engagement formats list) ─────────────────────── */

.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-7);
}

.format {
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
}

.format__title {
  font-family: var(--serif-display);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 320;
  font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 0;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: var(--space-3);
}

.format__title em {
  font-style: italic;
  color: var(--aubergine);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}

.format__body {
  font-family: var(--serif-body);
  font-size: var(--type-base);
  color: var(--charcoal);
  line-height: 1.55;
  margin: 0;
}

/* ─── PULL QUOTE / LEAD ─────────────────────────────────────── */

.pull {
  margin: var(--space-8) 0;
  padding: 0 var(--space-6);
  border-left: 2px solid var(--gold);
}

.pull__text {
  font-family: var(--serif-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  font-weight: 320;
  font-size: var(--type-2xl);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.pull__attrib {
  margin-top: var(--space-3);
  font-family: var(--serif-body);
  font-size: var(--type-sm);
  color: var(--stone);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── FORM ──────────────────────────────────────────────────── */

.form {
  display: grid;
  gap: var(--space-5);
  max-width: 560px;
  margin-top: var(--space-7);
}

.form__field { display: grid; gap: var(--space-2); }

.form__label {
  font-family: var(--serif-body);
  font-size: var(--type-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
}

.form__input,
.form__textarea {
  font-family: var(--serif-body);
  font-size: var(--type-base);
  color: var(--ink);
  background: var(--cream-lift);
  border: 1px solid var(--rule);
  border-bottom: 1px solid var(--charcoal);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  width: 100%;
  transition: border-color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.form__textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.55;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--aubergine);
  background: var(--cream-warm);
}

.form__submit {
  justify-self: start;
  margin-top: var(--space-3);
}

.form__note {
  font-family: var(--serif-display);
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1;
  font-size: var(--type-sm);
  color: var(--stone);
  margin: var(--space-3) 0 0 0;
}

/* ─── MOMENT (typographic breath, one per page max) ─────────── */

.moment {
  margin: var(--space-10) auto;
  max-width: 56ch;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  text-align: center;
}

.moment__attrib {
  font-family: var(--serif-body);
  font-size: var(--type-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
  margin-bottom: var(--space-5);
  display: block;
}

.moment__text {
  font-family: var(--serif-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  font-weight: 320;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
}

.moment__text em {
  color: var(--aubergine);
}

/* ─── WORK CARD (grouped, flowing - Home page pattern) ─────── */

.work-cards {
  display: grid;
  gap: var(--space-9);
  margin-top: var(--space-8);
}

.work-cards--triad {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-7);
}

.work-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--space-6);
  align-items: start;
  padding-top: var(--space-7);
  border-top: 1px solid var(--rule);
}

.work-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.work-card__num {
  font-family: var(--serif-display);
  font-variation-settings: "opsz" 144, "SOFT" 10, "WONK" 1;
  font-style: italic;
  font-weight: 320;
  font-size: clamp(40px, 4.5vw, 64px);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
}

.work-card__body { min-width: 0; }

.work-card__title {
  font-family: var(--serif-display);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 320;
  font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 0;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 var(--space-4) 0;
  max-width: 22ch;
}

.work-card__title em {
  font-style: italic;
  color: var(--aubergine);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}

.work-card__text {
  font-family: var(--serif-body);
  font-size: var(--type-lg);
  color: var(--espresso);
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}

@media (min-width: 881px) {
  .work-cards--triad .work-card {
    display: block;
    padding-top: var(--space-5);
    border-top: 1px solid var(--rule);
  }

  .work-cards--triad .work-card:first-child {
    border-top: 1px solid var(--rule);
    padding-top: var(--space-5);
  }

  .work-cards--triad .work-card__num {
    display: block;
    font-size: clamp(34px, 3.1vw, 48px);
    margin-bottom: var(--space-4);
  }

  .work-cards--triad .work-card__title {
    font-size: clamp(26px, 2.2vw, 34px);
    line-height: 1.08;
    margin-bottom: var(--space-3);
    max-width: none;
  }

  .work-cards--triad .work-card__text {
    font-size: var(--type-base);
    line-height: 1.55;
    max-width: none;
  }
}

@media (max-width: 880px) {
  .work-cards--triad,
  .formats {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 600px) {
  .work-card {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .work-card__num { font-size: clamp(32px, 8vw, 44px); }
}

/* ─── MOTION SYSTEM ─────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {

  /* Hero load sequence - fires once on DOMContentLoaded */
  .hero .eyebrow,
  .hero__title,
  .hero__lede,
  .hero .figure {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.9s var(--ease-out),
      transform 0.9s var(--ease-out);
  }

  body.is-loaded .hero .eyebrow {
    opacity: 1; transform: translateY(0);
    transition-delay: 0.10s;
  }
  body.is-loaded .hero__title {
    opacity: 1; transform: translateY(0);
    transition-delay: 0.25s;
  }
  body.is-loaded .hero__lede {
    opacity: 1; transform: translateY(0);
    transition-delay: 0.50s;
  }
  body.is-loaded .hero .figure {
    opacity: 1; transform: translateY(0);
    transition-delay: 0.35s;
  }

  /* Section reveals - driven by IntersectionObserver in main.js */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 1s var(--ease-out),
      transform 1s var(--ease-out);
    will-change: opacity, transform;
  }

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

  /* Staggered children inside a revealed section */
  .reveal .eyebrow,
  .reveal .slide-number,
  .reveal .work-card__num,
  .reveal .section-head__title,
  .reveal h2,
  .reveal .work-card__title,
  .reveal .moment__text,
  .reveal .prose,
  .reveal .work-card__text,
  .reveal .btn {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.7s var(--ease-out),
      transform 0.7s var(--ease-out);
  }

  .reveal.is-visible .eyebrow,
  .reveal.is-visible .slide-number,
  .reveal.is-visible .work-card__num,
  .reveal.is-visible .moment__attrib {
    opacity: 1; transform: translateY(0);
    transition-delay: 0.05s;
  }
  .reveal.is-visible .section-head__title,
  .reveal.is-visible h2,
  .reveal.is-visible .work-card__title,
  .reveal.is-visible .moment__text {
    opacity: 1; transform: translateY(0);
    transition-delay: 0.18s;
  }
  .reveal.is-visible .prose,
  .reveal.is-visible .work-card__text {
    opacity: 1; transform: translateY(0);
    transition-delay: 0.28s;
  }
  .reveal.is-visible .btn {
    opacity: 1; transform: translateY(0);
    transition-delay: 0.42s;
  }

  /* Eyebrow gold rule draws in from 0 to 32px */
  .eyebrow::before {
    width: 0;
    transition: width 0.8s var(--ease-out);
  }
  body.is-loaded .hero .eyebrow::before {
    width: 32px;
    transition-delay: 0.30s;
  }
  .reveal.is-visible .eyebrow::before {
    width: 32px;
    transition-delay: 0.30s;
  }

  /* Work-card and method-step rows: each card stages in as a unit, but
     within the card the number moves independently from the body text.
     Number slides in from the left with a small overshoot; body text
     fades up. The two motions are deliberately different so the number
     reads as its own gesture. */
  .work-card,
  .method__step {
    /* The container itself doesn't animate; the children do. */
  }

  .work-card .work-card__num,
  .method__step .method__num {
    opacity: 0;
    transform: translateX(-24px) scale(0.92);
    transition:
      opacity 0.7s var(--ease-out),
      transform 0.9s var(--ease-snap);
  }

  .work-card.is-visible .work-card__num,
  .method__step.is-visible .method__num {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  .work-card .work-card__body,
  .method__step .method__body {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.8s var(--ease-out),
      transform 0.8s var(--ease-out);
    transition-delay: 0.12s;
  }

  .work-card.is-visible .work-card__body,
  .method__step.is-visible .method__body {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect reduced-motion preference: ship everything visible, no movement */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal .eyebrow,
  .reveal .slide-number,
  .reveal .work-card__num,
  .reveal .section-head__title,
  .reveal h2,
  .reveal .work-card__title,
  .reveal .moment__text,
  .reveal .prose,
  .reveal .work-card__text,
  .reveal .btn,
  .work-card,
  .method__step,
  .hero .eyebrow,
  .hero__title,
  .hero__lede,
  .hero .figure {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .eyebrow::before { width: 32px !important; transition: none !important; }
}

/* ─── DIRECT EMAIL CARD (contact page) ──────────────────────── */

.direct-line {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--rule);
}

.direct-line__label {
  font-family: var(--serif-body);
  font-size: var(--type-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
  margin-bottom: var(--space-3);
  display: block;
}

.direct-line__email {
  font-family: var(--serif-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  font-size: var(--type-2xl);
  color: var(--aubergine);
  text-decoration-color: var(--gold);
}

/* ─── DECORATIVE RULES ─────────────────────────────────────── */

.rule-gold {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: var(--space-5) 0;
}

.rule-thin {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--space-7) 0;
}

/* ─── COMING SOON BLOCK (placeholder, will be removed when content lands) ─── */

.coming-soon {
  padding: var(--space-9) 0 var(--space-9);
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: left;
}

.coming-soon__sigil {
  width: 56px;
  height: 48px;
  margin-bottom: var(--space-6);
}

.coming-soon__sigil line,
.coming-soon__sigil circle {
  stroke: var(--gold);
  stroke-width: 1.2;
  fill: none;
  stroke-linecap: square;
}

.coming-soon__title {
  font-size: var(--type-4xl);
  font-weight: 280;
}

.coming-soon__lede {
  font-size: var(--type-lg);
  color: var(--espresso);
  margin-top: var(--space-5);
  max-width: 52ch;
  line-height: 1.5;
}

.coming-soon__contact {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
  font-family: var(--serif-display);
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 60, "WONK" 1;
  font-size: var(--type-base);
  color: var(--charcoal);
}

.coming-soon__contact a { color: var(--aubergine); }

/* ─────────────────────────────────────────────────────────────
   MOBILE PASS
   Most of the site uses fluid clamp() type and grid-collapse media
   queries already, but a few patterns need explicit mobile sizing
   so the experience holds together on phone-sized screens.
   ───────────────────────────────────────────────────────────── */

@media (max-width: 720px) {

  /* Header: tighter padding, smaller brand mark */
  .site-header { padding: var(--space-3) 0 var(--space-3); }
  .site-header__brand { font-size: var(--type-base); }

  /* Sticky header is shorter on mobile, so adjust scroll-padding too */
  html { scroll-padding-top: 72px; }

  /* Hero: less aggressive min-height (phones have less vertical room) */
  .hero { min-height: 56vh; padding: var(--space-7) 0 var(--space-7); }
  .hero__title { font-size: clamp(40px, 11vw, 64px); max-width: 18ch; }
  .hero__lede {
    font-size: var(--type-base);
    margin-top: var(--space-5);
    line-height: 1.55;
  }

  /* Sections: pull padding way down - 128px top/bottom is a wall on phones */
  .section { padding-block: 34px; }  /* --space-7 (48px) × 0.7 */
  .section--loose { padding-block: 36px; }
  .section + .section::before {
    width: 48px;
  }

  /* Section heads: tighter scale */
  .section-head__title {
    font-size: clamp(26px, 6.5vw, 36px);
  }
  .section-head__lede {
    font-size: var(--type-base);
  }

  /* Work cards: tighter type, comfortable single column */
  .work-cards { gap: var(--space-7); }
  .work-card { padding-top: var(--space-5); }
  .work-card__num {
    font-size: clamp(32px, 9vw, 44px);
    margin-bottom: var(--space-2);
  }
  .work-card__title {
    font-size: clamp(26px, 7vw, 36px);
    margin-bottom: var(--space-3);
  }
  .work-card__text { font-size: var(--type-base); }

  /* Method steps: same single-column treatment, tighter */
  .method { gap: var(--space-6); }
  .method__step { padding-top: var(--space-5); }
  .method__title { font-size: clamp(24px, 6vw, 32px); }
  .method__text { font-size: var(--type-base); }

  /* Moment: less vertical breath on phones */
  .moment {
    margin: var(--space-7) auto;
    padding: var(--space-6) 0;
  }
  .moment__text {
    font-size: clamp(22px, 6vw, 32px);
  }
  .moment__attrib { margin-bottom: var(--space-4); }

  /* Prose: smaller type for comfortable reading on small screens */
  .prose {
    font-size: var(--type-base);
    line-height: 1.6;
  }

  /* Buttons: full-width on mobile for thumb-friendly tap targets */
  .btn {
    padding: var(--space-4) var(--space-6);
    min-height: 48px;
    font-size: var(--type-sm);
  }
  .btn--primary {
    /* Make CTAs more obviously tappable */
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Form: comfortable touch targets and full-width submit */
  .form { gap: var(--space-4); }
  .form__input,
  .form__textarea {
    font-size: 16px; /* Prevents iOS Safari from zooming on focus */
    padding: var(--space-4);
  }
  .form__textarea { min-height: 140px; }
  .form__submit { width: 100%; justify-self: stretch; }

  /* Footer: stack the brand and meta vertically with breath between */
  .site-footer { margin-top: 0; padding: var(--space-6) 0; }
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
  }
  .site-footer__logo { width: 120px; }
  .site-footer__meta { line-height: 1.9; }

  /* Direct line on Contact: sized for thumb */
  .direct-line__email { font-size: clamp(22px, 6vw, 32px); }
}

/* Very small phones (<400px): one more step down on the giant heros */
@media (max-width: 400px) {
  .hero__title { font-size: clamp(36px, 10vw, 52px); }
  .hero__title--about { font-size: clamp(36px, 10vw, 52px); }
  .section-head__title { font-size: clamp(24px, 7vw, 32px); }
  .work-card__title { font-size: clamp(24px, 7vw, 32px); }
  .moment__text { font-size: clamp(20px, 6.5vw, 28px); }
}

/* Touch devices: skip the gold rule draw-in animation that depends on
   ::before pseudo width. iOS often skips this anyway, but explicit. */
@media (hover: none) {
  /* Remove sticky header backdrop blur which can be glitchy on iOS scroll */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
