/* ==========================================================================
   Dovecote — Field
   A practice site: blue for the claim, paper for the work, ink for the close.
   The motif is the dovecote: many openings in one structure.
   ========================================================================== */

:root {
  --blue: #1b27d6;
  --cream: #f6f1e4;
  --ink: #0b0b0c;
  --soft: #6e6a5f;
  --copy: #3a3831;
  --rule: rgba(11, 11, 12, 0.18);
  --rule-soft: rgba(11, 11, 12, 0.12);
  --pad: clamp(22px, 4.6vw, 66px);
  --display: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--blue);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

section[id] {
  scroll-margin-top: 84px;
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--blue);
  border-bottom: 1px solid rgba(246, 241, 228, 0.18);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 15px var(--pad);
}

.wordmark {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--cream);
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.2vw, 32px);
}

.site-nav a {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 228, 0.72);
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cream);
}

.btn-small {
  padding: 9px 14px;
  background: var(--cream);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease;
}

.btn-small:hover {
  background: #ffffff;
}

.menu-toggle {
  display: none;
  padding: 8px 0;
  background: none;
  border: 0;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-panel {
  display: none;
  padding: 6px var(--pad) 16px;
  border-top: 1px solid rgba(246, 241, 228, 0.18);
}

.menu-panel a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(246, 241, 228, 0.14);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 241, 228, 0.85);
}

.menu-panel a:last-child {
  border-bottom: 0;
}

/* --------------------------------------------------------------- type kit */

.eyebrow {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}

.on-blue .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: rgba(246, 241, 228, 0.8);
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.04em;
}

.lede {
  margin: 24px 0 0;
  max-width: 50ch;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--copy);
  text-wrap: pretty;
}

.on-blue .lede,
.hero .lede,
.page-hero .lede {
  color: rgba(246, 241, 228, 0.84);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease;
}

.btn-primary:hover {
  background: #000000;
}

.on-blue .btn-primary,
.hero .btn-primary,
.page-hero .btn-primary,
.section--blue .btn-primary {
  background: var(--cream);
  color: var(--blue);
}

.on-blue .btn-primary:hover,
.hero .btn-primary:hover,
.page-hero .btn-primary:hover,
.section--blue .btn-primary:hover {
  background: #ffffff;
}

.btn-ghost {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 11, 12, 0.35);
  padding-bottom: 6px;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.btn-ghost:hover {
  border-bottom-color: var(--ink);
}

.on-blue .btn-ghost,
.hero .btn-ghost,
.page-hero .btn-ghost,
.section--blue .btn-ghost {
  color: var(--cream);
  border-bottom-color: rgba(246, 241, 228, 0.4);
}

.on-blue .btn-ghost:hover,
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover,
.section--blue .btn-ghost:hover {
  border-bottom-color: var(--cream);
}

/* ------------------------------------------------------------------ hero */

.hero-band {
  background: var(--blue);
  color: var(--cream);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: calc(100svh - 61px - 78px);
  padding: clamp(40px, 6vh, 72px) var(--pad) clamp(28px, 4vh, 48px);
  max-width: 1440px;
  margin: 0 auto;
}

.hero-foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 16px var(--pad) 20px;
  border-top: 1px solid rgba(246, 241, 228, 0.22);
}

.foot-item span:first-child {
  display: block;
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 228, 0.72);
}

.foot-item span:last-child {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(246, 241, 228, 0.84);
}

/* --------------------------------------------------------------- entries */

.entries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}

.entry {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 190px;
  padding: 26px 28px 24px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: color 0.18s ease;
}

.entry:nth-child(odd) {
  border-right: 1px solid var(--rule);
  padding-right: 32px;
}

.entry:nth-child(even) {
  padding-left: 32px;
}

.entry p {
  margin: 0;
  max-width: 26ch;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.entry span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

.entry:hover {
  color: var(--blue);
}

.entry:hover span {
  color: var(--blue);
}

.hero h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.9rem, 5.6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero .lede {
  margin-top: 24px;
  max-width: 42ch;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.motif {
  display: block;
  width: min(100%, 380px);
  height: auto;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--cream);
  padding: clamp(56px, 9vh, 100px) 0 clamp(52px, 8vh, 92px);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.page-hero .lede {
  max-width: 54ch;
}

.page-hero .motif {
  position: absolute;
  top: 50%;
  right: -40px;
  width: 300px;
  transform: translateY(-50%);
  opacity: 0.28;
  z-index: 0;
}

/* --------------------------------------------------------------- sections */

.section {
  padding: clamp(56px, 9vh, 104px) 0;
}

.section--cream {
  background: var(--cream);
  color: var(--ink);
}

.section--blue {
  background: var(--blue);
  color: var(--cream);
}

.section--ink {
  background: var(--ink);
  color: var(--cream);
}

.section--tight {
  padding: clamp(36px, 6vh, 64px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(32px, 5vh, 52px);
}

.section-head h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--copy);
  text-wrap: pretty;
}

.section--blue .section-head p,
.section--ink .section-head p {
  color: rgba(246, 241, 228, 0.72);
}

/* ------------------------------------------------------------------- rows */

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.rows--blue {
  border-top-color: rgba(246, 241, 228, 0.25);
}

.row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}

.rows--blue .row {
  border-bottom-color: rgba(246, 241, 228, 0.2);
}

.row h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.028em;
}

.row h3 a {
  text-decoration: none;
}

.row h3 a:hover {
  color: var(--blue);
}

.row .meta {
  justify-self: end;
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  white-space: nowrap;
}

.rows--blue .row .meta {
  color: rgba(246, 241, 228, 0.6);
}

.row p {
  margin: 0;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--copy);
  text-wrap: pretty;
}

.rows--blue .row p {
  color: rgba(246, 241, 228, 0.78);
}

.rows--text .row {
  grid-template-columns: 200px minmax(0, 1fr);
}

.row a {
  justify-self: end;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(11, 11, 12, 0.3);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.row a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.rows--blue .row a {
  color: var(--cream);
  border-bottom-color: rgba(246, 241, 228, 0.4);
}

/* ------------------------------------------------------------------ steps */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: clamp(28px, 5vh, 44px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(246, 241, 228, 0.25);
}

.steps li {
  padding: 18px 20px 0 0;
  border-right: 1px solid rgba(246, 241, 228, 0.14);
}

.steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.steps p {
  margin: 0;
  max-width: 22ch;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(246, 241, 228, 0.72);
  text-wrap: pretty;
}

.entry-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 241, 228, 0.2);
}

.entry-note p {
  margin: 0;
  max-width: 66ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(246, 241, 228, 0.78);
  text-wrap: pretty;
}

.entry-note strong {
  color: var(--cream);
  font-weight: 600;
}

.entry-note a {
  flex: none;
}

/* ------------------------------------------------------------------ prose */

.prose {
  max-width: 68ch;
}

.prose p {
  margin: 0 0 18px;
  font-size: 1.04rem;
  line-height: 1.62;
  color: var(--copy);
  text-wrap: pretty;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin: 36px 0 14px;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.prose h2:first-child {
  margin-top: 0;
}

.split {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.split:last-child {
  border-bottom: 1px solid var(--rule);
}

.split h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  padding-top: 4px;
}

.split .prose p {
  margin-bottom: 14px;
}

/* ------------------------------------------------------------------- list */

.bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.bullets li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--copy);
}

.section--blue .bullets,
.section--ink .bullets {
  border-top-color: rgba(246, 241, 228, 0.25);
}

.section--blue .bullets li,
.section--ink .bullets li {
  border-bottom-color: rgba(246, 241, 228, 0.2);
  color: rgba(246, 241, 228, 0.8);
}

/* ------------------------------------------------------------------ quote */

.pull {
  margin: 0;
  max-width: 24ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section--blue .pull,
.section--ink .pull {
  color: var(--cream);
}

/* ------------------------------------------------------------------ cases */

.cases-body {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 96px);
  margin-top: clamp(30px, 5vh, 54px);
  align-items: start;
}

.case-list {
  border-top: 1px solid var(--rule);
}

.case {
  display: block;
  width: 100%;
  padding: 20px 0 22px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-left: 2px solid transparent;
  padding-left: 0;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: #6b665b;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, padding-left 0.18s ease;
}

.case:hover {
  color: var(--ink);
}

.case[aria-pressed="true"] {
  color: var(--ink);
  border-left-color: var(--blue);
  padding-left: 14px;
}

.stage {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.stage-label {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.verdict {
  margin: 0;
  max-width: 21ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.build {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
}

.build-label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}

.build-copy {
  margin: 0;
  max-width: 46ch;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--copy);
  text-wrap: pretty;
}

.stage.swapping .verdict,
.stage.swapping .build-copy {
  opacity: 0;
  transform: translateY(5px);
}

/* -------------------------------------------------------------- call band */

.cta-band {
  padding: clamp(56px, 9vh, 96px) 0;
  background: var(--ink);
  color: var(--cream);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.cta-band h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.cta-band p {
  margin: 18px 0 0;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(246, 241, 228, 0.72);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.cta-band .btn-primary {
  background: var(--cream);
  color: var(--ink);
}

.cta-band .btn-primary:hover {
  background: #ffffff;
}

.cta-band .btn-ghost {
  color: rgba(246, 241, 228, 0.8);
  border-bottom-color: rgba(246, 241, 228, 0.58);
}

.contact-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 241, 228, 0.16);
}

.contact-steps span {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 241, 228, 0.5);
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink);
  color: rgba(246, 241, 228, 0.6);
  padding: 52px 0 28px;
  border-top: 1px solid rgba(246, 241, 228, 0.14);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.footer-glyph {
  width: 20px;
  height: 20px;
  flex: none;
  color: rgba(246, 241, 228, 0.58);
}

.footer-line {
  margin: 0;
  max-width: 34ch;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(246, 241, 228, 0.62);
}

.footer-label {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 241, 228, 0.62);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(246, 241, 228, 0.75);
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer a:hover {
  color: var(--cream);
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 241, 228, 0.12);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 241, 228, 0.58);
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.legal a {
  display: inline;
  margin: 0;
  font-size: 8.5px;
  color: rgba(246, 241, 228, 0.58);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 241, 228, 0.2);
}

.legal a:hover {
  color: rgba(246, 241, 228, 0.8);
}

/* ------------------------------------------------------------- skip link */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------------------------------------------------------------- article */

.article-head {
  background: var(--blue);
  color: var(--cream);
  padding: clamp(48px, 8vh, 88px) 0 clamp(40px, 6vh, 64px);
}

.article-head h1 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.article-meta {
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 228, 0.6);
}

.article-body {
  padding: clamp(48px, 8vh, 88px) 0;
}

.article-body .prose {
  max-width: 62ch;
}

.article-body .prose p:first-of-type {
  font-size: 1.16rem;
  color: var(--ink);
}

.back {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 5px;
}

/* --------------------------------------------------------------- post list */

.post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  column-gap: 32px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}

.post:last-child {
  border-bottom: 1px solid var(--rule);
}

.post h3 {
  grid-column: 1;
  margin: 0;
  max-width: 26ch;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.post p {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  max-width: 72ch;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--copy);
}

.post .post-date {
  justify-self: end;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}

.post:hover h3 {
  color: var(--blue);
}

/* ---------------------------------------------------------------- contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-mail {
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 6px;
}

/* ------------------------------------------------------------------- name */

.name-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.name-grid h2 {
  margin: 0 0 20px;
  max-width: 12ch;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 0.99;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.name-grid .prose p {
  max-width: 54ch;
}

.name-grid .motif {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
}

.motif--ink {
  color: var(--blue);
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 48px var(--pad) 40px;
  }

  .hero-foot {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .foot-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(246, 241, 228, 0.16);
  }

  .foot-item:last-child {
    border-bottom: 0;
  }

  .entries {
    grid-template-columns: 1fr;
  }

  .entry {
    min-height: 0;
    gap: 14px;
    padding: 20px 0;
    border-right: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .entry p {
    max-width: none;
    font-size: 1.15rem;
  }

  .hero h1 {
    max-width: 15ch;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
  }

  .hero-visual {
    justify-content: flex-end;
    margin-top: 24px;
  }

  .motif {
    width: min(62%, 320px);
  }

  .page-hero .motif {
    width: 220px;
    right: -60px;
    opacity: 0.2;
  }

  .section-head,
  .split,
  .cta-grid,
  .contact-grid {
    display: block;
  }

  .section-head p,
  .split .prose,
  .cta-band p {
    margin-top: 14px;
  }

  .split {
    padding: 22px 0;
  }

  .split h3 {
    margin-bottom: 10px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .rows--text .row {
    grid-template-columns: 1fr;
  }

  .row h3 {
    font-size: 1.2rem;
  }

  .row a {
    justify-self: start;
    margin-top: 4px;
  }

  .row .meta {
    justify-self: start;
    padding-top: 0;
  }

  .name-grid {
    display: block;
  }

  .name-grid .motif {
    margin: 28px auto 0;
    max-width: 300px;
  }

  .post {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .post p {
    grid-column: 1;
  }

  .post .post-date {
    justify-self: start;
    margin-top: 4px;
  }

  .steps {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .steps li {
    padding: 14px 0;
    border-right: 0;
    border-top: 1px solid rgba(246, 241, 228, 0.2);
  }

  .steps p {
    max-width: 44ch;
  }

  .cases-body {
    display: block;
  }

  .stage {
    min-height: 0;
    margin-top: 28px;
  }

  .verdict {
    max-width: none;
  }

  .entry-note {
    display: block;
    margin-top: 24px;
  }

  .entry-note a {
    display: inline-block;
    margin-top: 14px;
  }

  .contact-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta-actions {
    margin-top: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .bar {
    padding: 13px var(--pad);
    gap: 14px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-panel:not([hidden]) {
    display: block;
  }
}

@media (max-width: 600px) {
  .btn-small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }

  .bird-fly {
    display: none;
  }
}

/* Full-width flight layer keeps the illustration intact and links it to the sky. */
.hero { position: relative; overflow: hidden; }
.hero-flock { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; color: #273086; }
.dove-flight { opacity: 0; }
.dove-near-wing, .dove-far-wing { transform-origin: 0 1px; animation: dove-wingbeat var(--beat, .7s) ease-in-out infinite; }
.dove-far-wing { animation-delay: -.12s; }
@keyframes dove-wingbeat { 0%, 100% { transform: scaleY(1); } 48% { transform: scaleY(-.65); } 76% { transform: scaleY(.35); } }
.dove-resting { display: none; }
@media (prefers-reduced-motion: reduce) {
  .dove-flight { display: none; }
  .dove-resting { display: block; }
  .dove-near-wing, .dove-far-wing { animation: none; }
}

.motif { --nest-fill: #1b27d6; }
.nest-recess { fill: var(--nest-fill); }
.motif--ink { --nest-fill: #e5dfd0; }
.about-visual { position: relative; overflow: hidden; }
.about-flock { color: #252d65; --dove-body: #69719a; --dove-light: #7b82a6; --dove-shadow: #4b567d; }

/* The review reads as a scoped engagement, followed by a sample decision record. */
.opportunity .eyebrow { color: #bbb7ac; }
.review-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.review-heading h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.045em; }
.review-intro { max-width: 52ch; }
.review-intro p { margin: 0 0 20px; color: #cecabe; font-size: 1.05rem; line-height: 1.6; }
.review-intro .review-name { color: var(--cream); font-size: 1.5rem; line-height: 1.2; letter-spacing: -.025em; }
.review-intro .review-terms { color: var(--cream); padding-top: 18px; border-top: 1px solid #55534c; }
.review-terms span { display: block; color: #bbb7ac; font-size: 1rem; }
.review-work { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 44px; padding-top: 30px; border-top: 1px solid #55534c; }
.review-work h3, .review-delivery h3 { margin: 0; font-size: 1.25rem; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.review-work ol { list-style: none; counter-reset: review; padding: 0; margin: 0; }
.review-work li { counter-increment: review; position: relative; padding: 0 0 24px 34px; }
.review-work li::before { content: counter(review); position: absolute; left: 0; top: 2px; color: #bbb7ac; font-family: var(--mono); font-size: .85rem; }
.review-work h4 { margin: 0 0 7px; font-size: 1.05rem; font-weight: 500; }
.review-work p, .review-delivery p { margin: 0; color: #cecabe; font-size: 1rem; line-height: 1.6; max-width: 55ch; }
.review-delivery { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 28px 0 40px; border-top: 1px solid #55534c; }
.review-close { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-top: 28px; }
.review-close p { margin: 0; color: #cecabe; font-size: 1rem; }
.review-close .btn-primary { background: var(--cream); color: var(--ink); flex: 0 0 auto; }
.review-close .btn-primary:hover { background: #fff; }
.build { margin-top: 24px; }
.case-checks { margin: 22px 0 0; }
.case-checks > div { padding: 16px 0; border-top: 1px solid var(--rule-soft); }
.case-checks dt { margin-bottom: 7px; font-size: .9rem; font-weight: 600; }
.case-checks dd { margin: 0; color: var(--copy); font-size: 1rem; line-height: 1.6; max-width: 49ch; }
.name-grid .prose .name-story { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .96rem; color: var(--soft); }
.contact-reassurance { max-width: 30ch; margin: 0; color: #bbb7ac; font-size: .9rem; line-height: 1.5; }
.contact-steps strong { display: block; margin-bottom: 6px; color: var(--cream); font-weight: 500; font-size: 1rem; letter-spacing: 0; text-transform: none; }
.contact-steps span { font-family: var(--display); font-size: 1rem; line-height: 1.6; letter-spacing: 0; text-transform: none; }
@media (max-width: 900px) {
  .review-heading, .review-work, .review-delivery { grid-template-columns: .8fr 1.2fr; gap: 32px; }
  .review-heading h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
}
@media (max-width: 600px) {
  .review-heading, .review-work, .review-delivery { grid-template-columns: 1fr; gap: 24px; }
  .review-heading h2 { font-size: 2.65rem; }
  .review-work h3 br { display: none; }
  .review-work { margin-top: 24px; }
  .review-work li:last-child { padding-bottom: 0; }
  .review-delivery { margin-top: 28px; padding-top: 24px; }
  .review-close { align-items: flex-start; flex-direction: column; }
  .case-checks dd { font-size: 1rem; }
}

.review-close { border-top: 1px solid #55534c; }
