/* ==========================================================================
   Left Bank Partners — Version B · Editorial Expression
   Pre-engagement design prototype · Splendid Systems
   Type: Cormorant (display) + Source Serif 4 (reading) + IBM Plex Sans (utility) — all OFL
   ========================================================================== */

:root {
  --ink: #0C0C0C;
  --ink-2: #141312;
  --ink-3: #1D1B19;
  --paper: #EFE8DC;
  --paper-2: #C9C1B3;
  --muted: #8C857A;         /* 5.3:1 on --ink */
  --ghost: rgba(239, 232, 220, 0.12);
  --rule: rgba(239, 232, 220, 0.14);
  --rule-strong: rgba(239, 232, 220, 0.3);
  --pink: #FFE8EF;
  --pink-line: rgba(255, 232, 239, 0.42);
  --error: #F4BFCC;

  --display: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 88px);
  --max: 1560px;
  --col-gap: clamp(16px, 2vw, 32px);
  --col: calc((100% - 11 * var(--col-gap)) / 12);
  --section-pad: clamp(112px, 16vw, 260px);

  --ease: cubic-bezier(0.19, 0.8, 0.12, 1);
  --ease-soft: cubic-bezier(0.33, 0, 0.15, 1);
  --ease-roll: cubic-bezier(0.7, 0, 0.2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--pink); color: var(--ink); }

h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
em { font-style: italic; }

:focus-visible {
  outline: 1px solid var(--pink);
  outline-offset: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--pink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 300ms var(--ease);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] { scroll-margin-top: 24px; }

/* ---------- Utility type ---------- */

.label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--muted);
}
.label__num {
  display: inline-block;
  min-width: 3.4em;
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--pink);
}

.display {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.022em;
}
.display em,
.opening__title em {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.arrow {
  display: inline-block;
  font-family: var(--sans);
  transition: transform 600ms var(--ease);
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
}
.text-cta > span:first-child {
  background-image: linear-gradient(var(--pink), var(--pink));
  background-size: 100% 1px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
  padding-bottom: 6px;
  transition: background-size 700ms var(--ease);
}
.text-cta:hover > span:first-child { background-size: 0% 1px; }
.text-cta:hover .arrow { transform: translateX(8px); }

/* ---------- Client lockup (Meghan Fort · Left Bank Partners) ----------
   Supplied artwork rendered to a transparent mask so it takes the ivory token
   (never pure white) and can be re-coloured in CSS. Swap for the SVG in production. */
.logo {
  display: block;
  aspect-ratio: 2400 / 383;
  background-color: var(--paper);
  -webkit-mask: url("assets/meghan-fort-lockup.png") center / contain no-repeat;
  mask: url("assets/meghan-fort-lockup.png") center / contain no-repeat;
}

/* ---------- Header (hides on scroll down, returns on scroll up) ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: transform 700ms var(--ease), background-color 600ms var(--ease-soft);
}
.site-header.is-scrolled { background-color: rgba(12, 12, 12, 0.97); }
.site-header.is-hidden { transform: translate3d(0, -100%, 0); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.wordmark .logo { width: clamp(176px, 17vw, 252px); }
.wordmark:hover .logo { background-color: var(--pink); }
.logo { transition: background-color 500ms var(--ease-soft); }

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--rule-strong);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  transition: background-color 500ms var(--ease-soft), color 500ms var(--ease-soft), border-color 500ms var(--ease-soft);
}
.header-cta:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }

/* ---------- 1 · Opening ---------- */

.opening {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
}
.opening__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-content: space-between;
  padding-top: clamp(140px, 20vh, 220px);
  padding-bottom: clamp(48px, 8vh, 96px);
}
.opening__rail {
  position: absolute;
  top: clamp(140px, 20vh, 220px);
  left: calc(var(--gutter) * 0.32);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.opening__title {
  grid-column: 1 / -1;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(54px, 9.2vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.028em;
}
.frag { display: block; }
.frag--2 { padding-left: calc(var(--col) + var(--col-gap)); }
.frag--3 { padding-left: calc(3 * (var(--col) + var(--col-gap))); margin-top: 0.12em; color: var(--paper-2); }
.frag--4 { padding-left: calc(7 * (var(--col) + var(--col-gap))); margin-top: -0.06em; }
.frag__in { display: inline-block; }
.accent { color: var(--pink); }

.js .frag__in {
  opacity: 0;
  transform: translate3d(0, 0.28em, 0);
}
.js .is-loaded .frag__in {
  opacity: 1;
  transform: none;
  transition: opacity 1400ms var(--ease-soft), transform 1600ms var(--ease);
}
.js .is-loaded .frag--1 .frag__in { transition-delay: 80ms; }
.js .is-loaded .frag--2 .frag__in { transition-duration: 1500ms, 2000ms; transition-delay: 260ms; }
.js .is-loaded .frag--3 .frag__in { transition-duration: 1300ms, 1500ms; transition-delay: 720ms; }
.js .is-loaded .frag--4 .frag__in { transition-duration: 1800ms, 2400ms; transition-delay: 1000ms; }

.opening__body {
  grid-column: 8 / span 4;
  margin-top: clamp(40px, 6vh, 96px);
}
.opening__label { margin-bottom: 20px; color: var(--paper-2); }
.opening__body p:not(.label) {
  font-size: clamp(16.5px, 1.2vw, 18.5px);
  font-weight: 300;
  line-height: 1.72;
  color: var(--paper-2);
  margin-bottom: 32px;
}
.js .opening__body {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}
.js .is-loaded .opening__body {
  opacity: 1;
  transform: none;
  transition: opacity 1400ms var(--ease-soft) 1400ms, transform 1600ms var(--ease) 1400ms;
}

/* ---------- Section scaffolding ---------- */

.section { padding-top: var(--section-pad); }
.conversation { padding-bottom: var(--section-pad); }

.section-head {
  position: relative;
  padding-top: 22px;
  margin-bottom: clamp(64px, 9vw, 140px);
}
.rule {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--rule-strong);
  transform-origin: 0 50%;
}
.section-head .label { display: inline-block; }

/* ---------- 2 · Meghan ---------- */

.meghan__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
}

.portrait {
  grid-column: 1 / span 5;
  grid-row: 1;
  position: relative;
  margin-left: calc(-1 * var(--gutter));
}
.portrait__offset {
  position: absolute;
  top: 72px; bottom: -72px;
  left: calc(var(--gutter) + 72px);
  right: 72px;
  border: 1px solid var(--pink-line);
  pointer-events: none;
}
.portrait__move { position: relative; z-index: 1; }
.portrait__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #161514;
  overflow: hidden;
}
.portrait__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait__note {
  position: absolute;
  right: 20px; bottom: 22px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.meghan__text {
  grid-column: 7 / span 5;
  grid-row: 1;
  position: relative;
  z-index: 2;
  padding-top: clamp(80px, 13vw, 220px);
}
.meghan__name {
  margin-left: calc(-1 * clamp(0px, 16vw, 260px));
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(64px, 9vw, 164px);
  line-height: 0.86;
  letter-spacing: -0.03em;
}
.meghan__first { display: block; }
.meghan__name em {
  display: block;
  padding-left: 1.1em;
  color: var(--pink);
}
.meghan__role { margin: 28px 0 clamp(48px, 5vw, 80px); }
.meghan__copy .lead {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(27px, 2.4vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 1.1em;
}
.meghan__copy p:not(.lead) {
  font-size: 17.5px;
  font-weight: 300;
  color: var(--paper-2);
  max-width: 32em;
}
.meghan__copy p + p:not(.lead) { margin-top: 1.1em; }

/* ---------- 3 · The Work ---------- */

.work__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 120px);
}
.work__title { grid-column: 1 / span 8; }
.work__title em { color: var(--pink); }
.work__intro {
  grid-column: 9 / span 4;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--paper-2);
  padding-bottom: 0.6em;
}

.work__list { border-bottom: 1px solid var(--rule); }
.work-item { border-top: 1px solid var(--rule); }
.work-item__heading { font-weight: inherit; }

.work-item__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: center;
  padding: clamp(24px, 2.6vw, 40px) 0;
  min-height: 44px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.work-item__trigger:focus-visible { outline-offset: -1px; }

.work-item__num {
  grid-column: 1;
  align-self: start;
  padding-top: 0.9em;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  transition: color 600ms var(--ease-soft);
}
.work-item__title {
  grid-column: 2 / span 10;
  display: grid;
  overflow: hidden;
  padding: 0.04em 0 0.1em;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(38px, 6.2vw, 108px);
  line-height: 1;
  letter-spacing: -0.024em;
  transition: transform 700ms var(--ease);
}
.t-roman, .t-italic {
  grid-area: 1 / 1;
  transition: transform 900ms var(--ease-roll), opacity 700ms var(--ease-soft);
}
.t-italic {
  font-style: italic;
  color: var(--pink);
  opacity: 0;
  transform: translate3d(0, 105%, 0);
}
.work-item__icon {
  grid-column: 12;
  justify-self: end;
  position: relative;
  width: 26px; height: 26px;
  transition: transform 800ms var(--ease);
}
.work-item__icon::before,
.work-item__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1px;
  background: var(--paper);
}
.work-item__icon::after { transform: rotate(90deg); }

@media (hover: hover) {
  .work-item__trigger:hover .work-item__title { transform: translate3d(14px, 0, 0); }
  .work-item__trigger:hover .work-item__num { color: var(--pink); }
}

.work-item.is-open .t-roman { opacity: 0; transform: translate3d(0, -105%, 0); }
.work-item.is-open .t-italic { opacity: 1; transform: none; }
.work-item.is-open .work-item__icon { transform: rotate(45deg); }
.work-item.is-open .work-item__num { color: var(--pink); }

.js .work-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 900ms var(--ease), visibility 0s linear 900ms;
}
.js .work-item.is-open .work-item__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 900ms var(--ease), visibility 0s;
}
.work-item__clip { overflow: hidden; min-height: 0; }
.work-item__body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  padding: 8px 0 clamp(48px, 5vw, 80px);
}
.work-item__body::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 48px;
  height: 1px;
  margin-top: 0.95em;
  background: var(--pink);
  transform-origin: 0 50%;
}
.work-item__body p {
  grid-column: 3 / span 6;
  grid-row: 1;
  font-weight: 300;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.7;
  color: var(--paper-2);
  max-width: 34em;
}
.js .work-item__body::before { transform: scaleX(0); transition: transform 500ms var(--ease-soft); }
.js .work-item__body p {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 400ms var(--ease-soft), transform 400ms var(--ease-soft);
}
.js .work-item.is-open .work-item__body::before { transform: scaleX(1); transition: transform 1200ms var(--ease) 200ms; }
.js .work-item.is-open .work-item__body p {
  opacity: 1;
  transform: none;
  transition: opacity 1000ms var(--ease-soft) 280ms, transform 1200ms var(--ease) 280ms;
}

/* ---------- 4 · Notes ---------- */

.notes__title {
  font-size: clamp(44px, 7vw, 128px);
  line-height: 0.96;
}
.notes__line { display: block; }
.notes__line--2 { padding-left: calc(var(--col) + var(--col-gap)); }
.notes__line--3 { padding-left: calc(4 * (var(--col) + var(--col-gap))); margin-top: 0.36em; color: var(--paper-2); }
.notes__line--4 { padding-left: calc(5 * (var(--col) + var(--col-gap))); }
.notes__line--5 { padding-left: calc(5 * (var(--col) + var(--col-gap)) - 0.06em); color: var(--pink); }

.notes__intro {
  margin: clamp(56px, 6vw, 96px) 0 clamp(80px, 9vw, 160px) calc(7 * (var(--col) + var(--col-gap)));
  max-width: 28em;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--paper-2);
}

.issues {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: clamp(48px, 5vw, 72px);
}
.issue { border-top: 1px solid var(--rule); }
.issue--feature { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.issue:nth-child(2) { grid-column: 9 / span 4; grid-row: 1; }
.issue:nth-child(3) { grid-column: 9 / span 4; grid-row: 2; }

.issue__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 28px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.issue__num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  color: var(--paper-2);
}
.issue--feature .issue__num { font-size: clamp(56px, 6vw, 104px); letter-spacing: -0.02em; }
.issue__meta {
  display: flex;
  gap: 1.6em;
  margin: 22px 0 18px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.issue__meta span:first-child { color: var(--pink); }
.issue__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--paper);
  transition: color 600ms var(--ease-soft);
}
.issue--feature .issue__title {
  font-weight: 300;
  font-size: clamp(40px, 4.8vw, 80px);
  line-height: 1;
  letter-spacing: -0.024em;
  max-width: 11em;
}
.issue__dek {
  margin-top: 18px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 30em;
}
.issue--feature .issue__dek { font-size: 18px; margin-top: 28px; color: var(--paper-2); }
.issue__go {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
}
.issue__link:hover .issue__title { color: var(--pink); }
.issue__link:hover .arrow { transform: translateX(8px); }

.notes__all { margin-top: clamp(64px, 7vw, 112px); }

/* ---------- 5 · Start a Conversation ---------- */

.conversation__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
}
.conversation__aside { grid-column: 1 / span 6; align-self: stretch; }
.conversation__sticky { position: sticky; top: 120px; }
.conversation__title span { display: block; }
.conversation__title em { display: block; padding-left: 0.5em; color: var(--pink); }
.conversation__main { grid-column: 8 / span 5; padding-top: clamp(0px, 4vw, 64px); }
.conversation__intro {
  margin-bottom: clamp(48px, 5vw, 80px);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.3;
  color: var(--paper);
}

.form { display: grid; gap: clamp(32px, 3vw, 44px); }
.field { display: flex; flex-direction: column; }
.field label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.req { color: var(--pink); margin-left: 2px; }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 0;
  background: transparent;
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.35;
  color: var(--paper);
  transition: border-color 400ms var(--ease-soft), box-shadow 400ms var(--ease-soft);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; font-size: 22px; line-height: 1.5; }
.field input:hover,
.field textarea:hover { border-bottom-color: rgba(239, 232, 220, 0.5); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--pink);
  box-shadow: 0 1px 0 0 var(--pink);
}
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.field__error {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--error);
}
.field__error:not(:empty) { margin-top: 10px; }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 8px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 30px;
  border: 1px solid var(--pink);
  border-radius: 0;
  background: var(--pink);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 500ms var(--ease-soft), color 500ms var(--ease-soft);
}
.button:hover { background: transparent; color: var(--pink); }
.button:hover .arrow { transform: translateX(6px); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.form__note { font-family: var(--sans); font-size: 12px; color: var(--muted); }

.form-success:focus { outline: none; }
.form-success__msg {
  margin: 20px 0 32px;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 3.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.form-success__msg em { color: var(--pink); }
.link-button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.link-button:hover { color: var(--paper); }

/* ---------- 6 · Footer ---------- */

.site-footer { padding-bottom: 88px; overflow: hidden; }
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 40px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.site-footer__domain {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--paper-2);
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 32px; }
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--paper-2);
  text-decoration: none;
  transition: color 400ms var(--ease-soft);
}
.site-footer__links a:hover { color: var(--pink); }
.site-footer__mark {
  margin: clamp(56px, 7vw, 120px) 0 clamp(40px, 4vw, 64px);
}
.site-footer__mark .logo {
  width: 100%;
  background-color: rgba(239, 232, 220, 0.2);
}
.site-footer__small {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- Prototype toast ---------- */

.toast {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 90;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  background: var(--ink-3);
  border: 1px solid var(--rule-strong);
  font-family: var(--sans);
  font-size: 13px;
  color: var(--paper);
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  pointer-events: none;
  transition: opacity 400ms var(--ease-soft), transform 400ms var(--ease-soft);
}
.toast.is-visible { opacity: 1; transform: none; }
.toast:empty { padding: 0; border: 0; }

/* ---------- Motion — scroll reveals (JS only) ---------- */

[data-drift] { will-change: transform; }

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 1200ms var(--ease-soft) var(--delay, 0ms),
    transform 1500ms var(--ease) var(--delay, 0ms);
}
.js .reveal--rise { transform: translate3d(0, 72px, 0); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .rule-draw {
  transform: scaleX(0);
  transition: transform 2000ms var(--ease) 80ms;
}
.js .rule-draw.is-in { transform: scaleX(1); }

/* ---------- Placeholder markers (toggled from feedback tool) ---------- */

.show-placeholders [data-placeholder] {
  outline: 1px dashed rgba(255, 232, 239, 0.65);
  outline-offset: 8px;
  background: rgba(255, 232, 239, 0.05);
}
.show-placeholders .portrait__frame { outline: 1px dashed rgba(255, 232, 239, 0.65); outline-offset: -1px; }

/* ==========================================================================
   Responsive — composition simplifies rather than shrinks
   ========================================================================== */

@media (max-width: 1100px) {
  .opening__rail { display: none; }
  .frag--4 { padding-left: calc(6 * (var(--col) + var(--col-gap))); }
  .opening__body { grid-column: 6 / span 6; }

  .portrait { grid-column: 1 / span 6; }
  .meghan__text { grid-column: 7 / span 6; }
  .meghan__name { margin-left: -12vw; }

  .work__title { grid-column: 1 / -1; }
  .work__intro { grid-column: 6 / span 7; margin-top: 32px; }

  .issue--feature { grid-column: 1 / -1; grid-row: auto; }
  .issue:nth-child(2) { grid-column: 1 / span 6; grid-row: auto; }
  .issue:nth-child(3) { grid-column: 7 / span 6; grid-row: auto; }

  .conversation__aside { grid-column: 1 / -1; }
  .conversation__sticky { position: static; margin-bottom: 64px; }
  .conversation__main { grid-column: 3 / -1; padding-top: 0; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .site-header__inner { height: 68px; }
  .wordmark .logo { width: 136px; }
  .header-cta { padding: 0 12px; font-size: 9.5px; letter-spacing: 0.1em; white-space: nowrap; }

  .opening__inner { padding-top: 128px; }
  .opening__title { font-size: clamp(48px, 13.4vw, 78px); line-height: 0.95; }
  .frag--2 { padding-left: 0; }
  .frag--3 { padding-left: 0; margin-top: 0.18em; }
  .frag--4 { padding-left: 1.6em; }
  .opening__body { grid-column: 1 / -1; }

  .meghan__grid { display: block; }
  .portrait { margin: 0 calc(-1 * var(--gutter)) 0 calc(-1 * var(--gutter)); width: auto; }
  .portrait__offset { display: none; }
  .meghan__text { padding-top: 40px; }
  .meghan__name { margin-left: 0; font-size: clamp(56px, 16vw, 88px); }

  .work__intro { grid-column: 1 / -1; }
  .work-item__trigger { padding: 22px 0; }
  .work-item__num { grid-column: 1 / span 2; padding-top: 0; align-self: center; }
  .work-item__title { grid-column: 1 / span 11; grid-row: 2; font-size: clamp(34px, 9.6vw, 52px); margin-top: 6px; }
  .work-item__icon { grid-column: 12; grid-row: 2; width: 20px; height: 20px; }
  .work-item__body::before { grid-column: 1 / span 2; }
  .work-item__body p { grid-column: 1 / -1; grid-row: 2; margin-top: 18px; }

  .notes__title { font-size: clamp(40px, 11.5vw, 64px); }
  .notes__line--2 { padding-left: 0; }
  .notes__line--3 { padding-left: 0; }
  .notes__line--4 { padding-left: 0; }
  .notes__line--5 { padding-left: 1.2em; }
  .notes__intro { margin-left: 0; }
  .issue:nth-child(2), .issue:nth-child(3) { grid-column: 1 / -1; }
  .issue--feature .issue__num { font-size: 56px; }

  .conversation__main { grid-column: 1 / -1; }
  .conversation__title { font-size: clamp(52px, 15vw, 88px); }
  .field input { font-size: 22px; }
  .field textarea { font-size: 20px; }

  .site-footer__links { flex-direction: column; gap: 0; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    animation-duration: 1ms !important;
  }
  .js .reveal, .js .rule-draw, .js .frag__in, .js .opening__body { opacity: 1; transform: none; }
  [data-drift] { transform: none !important; will-change: auto; }
  .site-header.is-hidden { transform: none; }
}

/* ==========================================================================
   Direction feedback tool — prototype UI, intentionally NOT brand-styled
   ========================================================================== */

.fb {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 150;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #1F1F1F;
  letter-spacing: 0;
  text-transform: none;
}
.fb *:focus-visible { outline: 2px solid #2F6FEB; outline-offset: 2px; }
.fb-launch, .fb-restore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 14px;
  border: 0;
  border-radius: 999px;
  background: #F3F2EF;
  color: #1F1F1F;
  font: 500 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.fb-launch::before, .fb-restore::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2F6FEB;
}
.fb-restore {
  width: 44px; padding: 0;
  justify-content: center;
  opacity: 0.55;
}
.fb-restore:hover, .fb-restore:focus-visible { opacity: 1; }
.fb-panel {
  position: absolute;
  right: 0; bottom: 56px;
  width: min(360px, calc(100vw - 32px));
  max-height: min(80vh, 680px);
  overflow: auto;
  padding: 18px 18px 16px;
  background: #F3F2EF;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}
.fb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.fb-kicker { margin: 0 0 2px; font-size: 11px; color: #6B6B6B; }
.fb-title { margin: 0; font-size: 15px; font-weight: 600; }
.fb-close {
  flex: none;
  width: 32px; height: 32px;
  border: 0; border-radius: 50%;
  background: #E4E2DD;
  font-size: 18px; line-height: 1;
  color: #1F1F1F;
  cursor: pointer;
}
.fb fieldset { margin: 0 0 14px; padding: 0; border: 0; }
.fb legend { margin-bottom: 6px; padding: 0; font-weight: 600; font-size: 12px; }
.fb-options { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-option { position: relative; }
.fb-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fb-option span {
  display: inline-flex; align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #D3D0CA;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 12.5px;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}
.fb-option input:checked + span { background: #1F1F1F; border-color: #1F1F1F; color: #FFFFFF; }
.fb-option input:focus-visible + span { outline: 2px solid #2F6FEB; outline-offset: 2px; }
.fb-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 12px; }
.fb textarea {
  width: 100%;
  min-height: 72px;
  padding: 8px 10px;
  border: 1px solid #D3D0CA;
  border-radius: 8px;
  background: #FFFFFF;
  font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1F1F1F;
  resize: vertical;
}
.fb-check { display: flex; align-items: center; gap: 8px; min-height: 36px; margin: 10px 0 4px; font-size: 12.5px; cursor: pointer; }
.fb-check input { width: 16px; height: 16px; margin: 0; }
.fb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fb-btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #1F1F1F;
  border-radius: 8px;
  background: #1F1F1F;
  color: #FFFFFF;
  font: 500 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  cursor: pointer;
}
.fb-btn--ghost { background: transparent; color: #1F1F1F; border-color: #C9C6BF; }
.fb-btn:disabled { opacity: .58; cursor: progress; }
.fb-status { min-height: 18px; margin: 8px 0 0; font-size: 12px; color: #2F6FEB; }
.fb-output { margin-top: 8px; min-height: 140px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; font-size: 11.5px !important; }
.fb-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid #DDDAD4;
}
.fb-foot a { color: #1F1F1F; font-weight: 500; }
.fb-foot button { min-height: 32px; padding: 0; border: 0; background: none; color: #6B6B6B; font: 12px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-decoration: underline; cursor: pointer; }

@media (max-width: 560px) {
  .fb { right: 12px; bottom: 12px; }
  .fb-panel { position: fixed; left: 8px; right: 8px; bottom: 68px; width: auto; max-height: 76vh; }
}
