/* Campbell H&W Consulting
   White canvas, the logo's navy, one grotesque from 13px to poster size, mono for labels.
   Flat: no shadows, no radius. Hairlines do the dividing. */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Inter Tight (SIL Open Font License), Latin subset from Google Fonts. Headline sizes only. */
@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --blue is the navy sampled from logo.png. --bone is the page white; --paper is a light tint of the navy for alternate bands and cards. */
  --bone: #ffffff;
  --paper: #eef2f7;
  --ink: #0a1a31;
  --blue: #081e3b;
  --blue-2: #15335c;
  --pale: #d5dce8;
  --hair: rgba(8, 30, 59, 0.34);
  --hair-on-blue: rgba(255, 255, 255, 0.42);
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Headlines. Inter Tight is already set close, so it takes less negative tracking than Inter did. */
  --display: "Inter Tight", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --dls: -0.028em;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --g: clamp(14px, 1.1vw, 20px);
  --d1: clamp(2.6rem, 11.6vw, 12.5rem);
  --d2: clamp(2.5rem, 7.2vw, 7rem);
  --h1: clamp(1.7rem, 3.3vw, 2.9rem);
  --h2: clamp(1.45rem, 2.5vw, 2.25rem);
  --h3: clamp(1.25rem, 2.1vw, 1.9rem);
  --sec: clamp(56px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
/* Past 1600px wide the base size grows with the window, so labels and body text keep pace with the headlines. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: clamp(1rem, 0.42vw + 0.58rem, 1.3rem); }
html.menu-open { overflow: hidden; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
::selection { background: var(--blue); color: var(--bone); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--g); top: -80px; z-index: 100; background: var(--bone); box-shadow: 0 0 0 2px var(--blue); color: var(--ink); padding: 12px 16px; font-family: var(--mono); font-size: 0.8125rem; text-transform: uppercase; }
.skip:focus { top: var(--g); }
.wrap { padding-inline: var(--g); }

/* Type */
.d1, .d2 { font-family: var(--display); font-weight: 460; letter-spacing: var(--dls); line-height: 0.94; color: var(--blue); }
.d1 { font-size: var(--d1); }
.d2 { font-size: var(--d2); }
.d1 .ln, .d2 .ln { display: block; }
.say { font-size: var(--h1); line-height: 1.08; letter-spacing: -0.025em; font-weight: 420; max-width: 24em; }
.big { font-size: var(--h2); line-height: 1.12; letter-spacing: -0.022em; font-weight: 420; color: var(--blue); }
.h3 { font-size: var(--h3); line-height: 1.12; letter-spacing: -0.02em; font-weight: 440; color: var(--blue); }
.mono, .caps { font-family: var(--mono); font-size: 0.8125rem; line-height: 1.5; letter-spacing: 0.02em; text-transform: uppercase; }
.caps { color: var(--blue); max-width: 34ch; }
.prose { max-width: 60ch; }
.prose + .prose { margin-top: 1em; }

/* Header: fixed pieces that carry their own fill, so they read over any band */
.site-header { position: fixed; z-index: 50; top: var(--g); left: var(--g); right: var(--g); display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.chip, .site-nav ul, .talk, .menu-toggle { height: 2.875rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.chip { display: inline-flex; align-items: center; gap: 12px; padding: 0 18px 0 14px; background: var(--blue); color: var(--bone); text-decoration: none; box-shadow: inset 0 0 0 1px var(--hair-on-blue); white-space: nowrap; }
.chip img { width: 1.375rem; height: 1.3125rem; }
.site-nav { display: flex; }
.site-nav ul { display: flex; align-items: stretch; background: var(--bone); padding: 0 8px; box-shadow: inset 0 0 0 1px var(--hair); }
.site-nav li a { display: flex; align-items: center; height: 100%; padding: 0 12px; text-decoration: none; color: var(--ink); }
.site-nav li a:hover, .site-nav li a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 0.5em; }
.talk { display: inline-flex; align-items: center; padding: 0 18px; background: var(--blue); color: var(--bone); text-decoration: none; box-shadow: inset 0 0 0 1px var(--hair-on-blue); white-space: nowrap; }
.chip:hover { background: var(--blue-2); }
.menu-toggle { display: none; align-items: stretch; padding: 0; border: 0; box-shadow: inset 0 0 0 1px var(--hair); background: var(--bone); color: var(--ink); cursor: pointer; }
.menu-toggle .mt-label { display: flex; align-items: center; padding: 0 16px; }
.menu-toggle .mt-glyph { display: flex; align-items: center; justify-content: center; width: 2.875rem; background: var(--blue); color: var(--bone); font-size: 1rem; box-shadow: inset 0 0 0 1px var(--hair-on-blue); }
/* site.js sets html.nav-away while the page is being scrolled down, and clears it on the first scroll up. */
html.nav-away .site-header > * { translate: 0 calc(-100% - var(--g) - 6px); }
html.nav-away .site-header:focus-within > * { translate: none; }
.site-header :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--bone); }

/* Buttons and links */
.bar { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 14px 24px; background: var(--blue); color: var(--bone); font-family: var(--mono); font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; text-align: center; }
.bar, .talk { position: relative; isolation: isolate; overflow: hidden; }
.bar::before, .talk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: translateY(101%); }
.bar { box-shadow: inset 0 0 0 1px var(--blue); }
.bar.light { background: var(--bone); color: var(--blue); box-shadow: inset 0 0 0 1px var(--bone); }
.bar.light::before { background: var(--blue-2); }
@media (hover: hover) {
  .bar:hover, .talk:hover { color: var(--blue); }
  .bar:hover::before, .talk:hover::before { transform: none; }
  .bar.light:hover { color: var(--bone); }
}
.bar:active, .talk:active { background: var(--blue-2); }
.bar.inline { display: inline-flex; min-width: min(100%, 320px); }
.brk { display: inline-block; padding: 12px 0; font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: inherit; }
.brk::before { content: "[ "; } .brk::after { content: " ]"; }
.brk::before, .brk::after { display: inline-block; white-space: pre; }
.brk:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(24px, 3vw, 40px); }

/* Hero */
.hero { --hero-top: 120px; position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--hero-top) var(--g) clamp(18px, 2.4vw, 36px); overflow: hidden; }
.hero.short { min-height: min(72svh, 700px); }
.hero.blue { background: var(--blue); color: var(--bone); }
.hero.blue .d1, .hero.blue .d2 { color: var(--bone); }
/* The dot image fills the whole hero. A navy veil thickens toward the bottom, so the ridges stay visible behind the text without competing with it. */
.hero .halftone { position: absolute; inset: 0; background: url("hero-contour.webp") center top / cover no-repeat; }
.hero .halftone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8, 30, 59, 0) 24%, rgba(8, 30, 59, 0.74) 50%, rgba(8, 30, 59, 0.9) 100%); }
.hero .rules { position: absolute; inset: 0; pointer-events: none; }
.hero .rules::before, .hero .rules::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--hair-on-blue); }
.hero:not(.blue) .rules::before, .hero:not(.blue) .rules::after { background: var(--hair); }
.hero .rules::before { left: 50%; } .hero .rules::after { left: 75%; }
.hero > :not(.rules):not(.halftone) { position: relative; }
.hero-note { margin-left: calc(75% + var(--g)); max-width: 15em; font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.14; letter-spacing: -0.015em; margin-bottom: clamp(20px, 3vw, 48px); }
.hero:not(.blue) .hero-note { color: var(--blue); }
.hero .d1 { margin-left: -0.04em; }
/* Home, first screen: one row above the firm name, set on the hero's own column lines (50% and 75%).
   Who the firm is for, the firm total, and the button. */
.hero-row { display: grid; grid-template-columns: 50% 25% 25%; align-items: end; margin: 0 calc(-1 * var(--g)) clamp(22px, 3.2vw, 52px); }
.hero-row > * { padding-inline: var(--g); min-width: 0; }
.hero-row .say { font-family: var(--display); font-size: clamp(1.45rem, 2.7vw, 2.6rem); line-height: 1.06; letter-spacing: -0.02em; max-width: 15em; }
.hero-row .fig { font-size: clamp(3rem, 6.2vw, 6.4rem); line-height: 0.9; color: var(--bone); margin: 0 0 0.16em -0.03em; }
.hero-row .caps { color: var(--bone); max-width: 26ch; }
.hero-row .bar { width: 100%; }
/* Sector pages with a total: name and note in the left half, figure and its sentence in the right half. */
.hero.sector .rules::after { display: none; }
.sector-top { display: grid; grid-template-columns: 50% 50%; align-items: end; margin-inline: calc(-1 * var(--g)); }
.sector-top > * { padding-inline: var(--g); min-width: 0; }
.sector-top .say { font-family: var(--display); font-size: clamp(1.25rem, 2.1vw, 2rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--blue); max-width: 16em; margin-bottom: clamp(18px, 2.6vw, 40px); }
.sector-top .say.sum { margin-bottom: 0; }
.sector-top .hero-proof { display: flex; flex-direction: column-reverse; }
.sector-top .fig { font-size: clamp(4rem, 11.4vw, 12rem); line-height: 0.84; margin: clamp(14px, 1.8vw, 28px) 0 0 -0.04em; }
.sector-top .caps.src { color: var(--blue); opacity: 0.7; margin-bottom: 1em; }
.side-label { position: absolute !important; right: var(--g); top: 50%; writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%); font-size: 1.0625rem; }

/* Bands */
.sec { padding-block: var(--sec); }
/* A navy band. --hair is swapped for the light hairline, so every line inside follows without its own rule. */
.sec.blue { background: var(--blue); color: var(--bone); --hair: var(--hair-on-blue); }
.sec.blue :is(.caps, .big, .h3, .d2, .pw, .say, .label-row, .tag, .brk) { color: var(--bone); }
.sec.blue .card { --hair: rgba(8, 30, 59, 0.34); background: var(--bone); box-shadow: none; }
.sec.blue .card .caps { color: var(--blue); }
.sec.paper { background: var(--paper); }
.sec.tight-top { padding-top: clamp(28px, 4vw, 56px); }
.label-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; background: linear-gradient(var(--hair), var(--hair)) left top / 100% 1px no-repeat; margin-bottom: clamp(32px, 5vw, 72px); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); }
.sec.paper .label-row { background: none; }

/* Statement band with the stepped lower edge */
/* The band is at least a screen tall on wide windows only. In a tall or narrow window it takes the height of its content, so no empty navy opens up between the text and the steps. */
.statement { background: var(--blue); color: var(--bone); padding-top: calc(var(--sec) + 3rem); min-height: min(100svh, 76vw); display: flex; flex-direction: column; justify-content: space-between; }
.statement .say { font-family: var(--display); font-size: clamp(1.9rem, 4.2vw, 4.6rem); line-height: 1.06; letter-spacing: -0.016em; max-width: 20em; }
.stairs { position: relative; min-height: clamp(180px, 26vw, 380px); margin-top: clamp(36px, 5vw, 72px); }
.stairs i { position: absolute; bottom: 0; background: var(--bone); }
.stairs i:nth-child(1) { left: 0; width: 4%; height: 100%; }
.stairs i:nth-child(2) { left: 4%; width: 14%; height: 66%; }
.stairs i:nth-child(3) { left: 18%; width: 20%; height: 33%; }
.stairs .notes { margin-left: 50%; padding: 0 var(--g) clamp(40px, 6vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--g) clamp(20px, 3vw, 48px); }
.stairs .caps { color: var(--bone); }

/* Split: two columns with a hairline between, opened by a two-word heading */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > .r { background: linear-gradient(var(--hair), var(--hair)) left top / 1px 100% no-repeat; padding-left: var(--g); }
.split > .l { padding-right: var(--g); }
.fig { display: block; font-family: var(--display); font-size: clamp(5rem, 16vw, 17rem); font-weight: 460; letter-spacing: var(--dls); line-height: 0.86; color: var(--blue); margin-left: -0.04em; }
.fig.counting { font-variant-numeric: tabular-nums; }
.index { list-style: none; margin: 0; padding: 0; }
.index > li { font-family: var(--display); font-size: clamp(1.6rem, 2.9vw, 2.6rem); font-weight: 440; letter-spacing: -0.02em; line-height: 1.1; color: var(--blue); padding: 0.4em 0 0.46em; border-top: 1px solid var(--hair); }
.index > li:last-child { border-bottom: 1px solid var(--hair); }
.index.sm { margin: 4px 0 22px; }
.index.sm > li { font-family: var(--sans); font-size: 1.0625rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; padding: 0.62em 0 0.68em; }
.sec.blue .index > li { color: var(--bone); }
.index > li:has(> a) { padding: 0; }
.index > li > a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 0.4em 0 0.46em; color: inherit; text-decoration: none; }
.index.sm > li > a { padding: 0.62em 0 0.68em; }
.index.sm > li > a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.index .go { flex: none; font-family: var(--mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; }
.index .go::before { content: "[ "; } .index .go::after { content: " ]"; }
.index .go::before, .index .go::after { display: inline-block; white-space: pre; }
.index > li > a:hover .go { text-decoration: underline; text-underline-offset: 0.35em; }
.sectors > .l { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(32px, 5vw, 72px); }
.pairnotes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g) clamp(20px, 3vw, 48px); }
.pw { display: block; font-family: var(--display); font-size: clamp(2.6rem, 9.6vw, 9.5rem); font-weight: 460; letter-spacing: var(--dls); line-height: 0.94; color: var(--blue); margin: 0 0 clamp(40px, 7vw, 110px) -0.04em; }
.pair-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.l-inset { margin-left: 26%; max-width: max(30ch, 24vw); }
.plate-img { width: min(100%, clamp(220px, 24vw, 560px)); margin-bottom: 20px; }

/* Accordion rows */
.acc { border-top: 1px solid var(--hair); }
.acc details { border-bottom: 1px solid var(--hair); }
.acc summary { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0 14px; cursor: pointer; list-style: none; font-size: var(--h3); line-height: 1.12; letter-spacing: -0.02em; font-weight: 440; color: var(--blue); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: none; font-weight: 300; line-height: 1; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 14px 0 34px; margin-left: 50%; }
.acc .body .brk { margin-top: 10px; color: var(--blue); }
.acc .body .prose { max-width: 46ch; }

/* Columns divided by hairlines */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--hair); }
.cols.two { grid-template-columns: repeat(2, 1fr); }
.cols > * { border-left: 1px solid var(--hair); padding: 0 var(--g) clamp(28px, 4vw, 56px); min-width: 0; }
.cols .tag { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); margin-bottom: clamp(40px, 6vw, 88px); }
.cols .h3 { margin-bottom: 14px; }
.cols p + p { margin-top: 0.9em; }
.cols .fill { background: var(--blue); color: var(--bone); padding-top: var(--g); margin-top: calc(-1 * var(--g)); }
.cols .fill .tag, .cols .fill .h3 { color: var(--bone); }
.cols.flush .tag { margin-bottom: clamp(20px, 3vw, 40px); }
.center-head { text-align: center; margin-bottom: clamp(40px, 7vw, 110px); }
.portrait { width: 100%; max-width: 26.25rem; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 22px; background: var(--pale); }

/* Step cards: white plates, slightly off square */
.steps { display: grid; grid-template-columns: 1fr 1fr; }
.steps > .l { padding-right: var(--g); }
.steps > .r { background: linear-gradient(var(--hair), var(--hair)) left top / 1px 100% no-repeat; padding: 0 var(--g) 0 clamp(20px, 6vw, 110px); display: grid; gap: clamp(28px, 5vw, 72px); align-content: start; }
.steps .caps { margin: clamp(28px, 5vw, 72px) 0 0 22%; }
.card { background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair); padding: 18px 22px 22px; color: var(--blue); max-width: 28.75rem; text-decoration: none; display: block; }
.card:nth-child(4n+2) { transform: rotate(2.4deg) translateX(6%); }
.card:nth-child(4n+3) { transform: rotate(-3.6deg) translateX(11%); }
.card:nth-child(4n+4) { transform: rotate(2.8deg) translateX(15%); }
.card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--hair); font-size: var(--h3); letter-spacing: -0.02em; line-height: 1.1; font-weight: 440; }
.card .caps { margin: 22px 0 0; padding-bottom: 30px; border-bottom: 1px solid var(--hair); max-width: none; padding-right: 20%; }
a.card:hover .top { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* Plate: an illustrative working document */
.plate { background: var(--bone); padding: clamp(20px, 2.6vw, 36px); color: var(--blue); }
.sec:not(.paper) .plate { background: var(--paper); }
.plate .flag { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.plate h3 { font-size: var(--h3); line-height: 1.1; letter-spacing: -0.02em; font-weight: 440; margin: 22px 0 22px; max-width: 18em; }
.plate dt { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; padding-top: 12px; border-top: 1px solid var(--hair); }
.plate dd { color: var(--ink); padding: 6px 0 18px; max-width: 52ch; }
.plate dd ul, .plate dd ol { display: grid; gap: 4px; }
.plate dd li { padding-left: 1.4em; position: relative; }
.plate dd ul li::before { content: "/"; position: absolute; left: 0; color: var(--blue); font-family: var(--mono); }
.plate dd ol { counter-reset: n; } .plate dd ol li { counter-increment: n; }
.plate dd ol li::before { content: counter(n); position: absolute; left: 0; color: var(--blue); font-family: var(--mono); font-size: 0.8125rem; top: 0.2em; }
.plate .foot { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.02em; text-transform: uppercase; padding-top: 14px; border-top: 1px solid var(--hair); max-width: 60ch; }
.show { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.show .big + .prose { margin-top: clamp(20px, 3vw, 36px); }

.worklist { width: 100%; border-collapse: collapse; margin-top: 8px; }
.worklist caption { text-align: left; font-size: var(--h3); letter-spacing: -0.02em; line-height: 1.1; font-weight: 440; padding: 22px 0; }
.worklist th { text-align: left; font-family: var(--mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; padding: 10px 14px 10px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.worklist td { vertical-align: top; padding: 14px 14px 16px 0; border-bottom: 1px solid var(--hair); color: var(--ink); }
.worklist td:first-child { color: var(--blue); font-weight: 500; }

/* Duo: heading left, text right */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); padding-block: clamp(28px, 4vw, 56px); background: linear-gradient(var(--hair), var(--hair)) left top / 100% 1px no-repeat; }
.duo .say { color: var(--blue); max-width: 14em; }
.duo .r > .caps { margin-top: 1.6em; }
.details > div { display: grid; grid-template-columns: 30% 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.details dt { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); padding-top: 0.3em; }
.details dd { overflow-wrap: anywhere; }
.details { border-top: 1px solid var(--hair); margin-top: 2em; }
.mail { font-size: var(--h2); letter-spacing: -0.02em; line-height: 1.1; color: var(--blue); overflow-wrap: anywhere; display: inline-block; padding: 10px 0; min-height: 44px; }
.links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 14px; color: var(--blue); }
.note-sign { margin-top: clamp(24px, 3vw, 40px); color: var(--blue); }
/* A .duo that follows a label row: the label row draws the rule, so this one draws none. */
.duo.plain { background: none; padding-top: 0; }
/* The note from Michael on Contact: his portrait in the left half, the note in the right. */
.duo.note { align-items: start; }
.duo.note .portrait, html.anim .duo.note .iw.iw-portrait { margin-bottom: 0; }

/* Closing and footer */
.closing { padding-block: var(--sec) clamp(28px, 4vw, 56px); }
.closing .d2 { max-width: 9em; }
.closing .prose { margin: clamp(24px, 3vw, 40px) 0 clamp(28px, 4vw, 56px) 50%; padding-right: var(--g); max-width: 34em; }
.closing .after { display: flex; justify-content: flex-end; color: var(--blue); }
/* Footer: the mark on the left, four ruled cells on the right, one line across the bottom. */
.site-footer { background: var(--blue); color: var(--bone); padding: var(--g) var(--g) 20px; display: grid; grid-template-columns: 1fr 1fr; }
.site-footer .mark { display: flex; align-items: center; justify-content: center; padding: clamp(40px, 7vw, 110px) 0; }
.site-footer .mark img { width: min(66%, 30rem); }
.site-footer .fgrid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; min-height: clamp(380px, 40vw, 720px); }
.site-footer .fcell { border-left: 1px solid var(--hair-on-blue); border-top: 1px solid var(--hair-on-blue); padding: 12px 12px clamp(28px, 4vw, 64px); min-width: 0; }
.site-footer .fl { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.7; margin-bottom: clamp(16px, 2.2vw, 36px); }
.site-footer a { display: block; padding: 13px 0; overflow-wrap: break-word; font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.site-footer .fbig a { padding: 10px 0; font-family: var(--sans); font-size: var(--h2); line-height: 1.1; letter-spacing: -0.022em; text-transform: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.site-footer .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; border-top: 1px solid var(--hair-on-blue); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; padding-top: 16px; }

/* Legal and notice pages */
.legal-page { padding: clamp(120px, 14vw, 200px) 0 var(--sec); }
.legal-text { max-width: 72ch; }
.legal-text h1 { font-family: var(--display); font-size: var(--d2); font-weight: 460; letter-spacing: var(--dls); line-height: 0.94; color: var(--blue); margin-bottom: 0.4em; }
.legal-text h2 { font-size: var(--h3); letter-spacing: -0.02em; line-height: 1.15; font-weight: 440; color: var(--blue); margin: 2em 0 0.6em; }
.legal-text p, .legal-text ul { margin-bottom: 1em; }
.legal-text ul { list-style: disc; padding-left: 1.3em; }
.legal-text li { margin-bottom: 0.4em; }
.legal-text .eff { font-family: var(--mono); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blue); }
.legal-text a { color: var(--blue); overflow-wrap: anywhere; }
.notice { min-height: 80svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px var(--g) var(--sec); }
.notice .prose { margin-top: clamp(24px, 3vw, 40px); font-size: 1.125rem; }
.notice a:not(.bar):not(.brk) { color: var(--blue); overflow-wrap: anywhere; }

/* ---------- Motion ----------
   Everything here is keyed to html.anim, which a one-line script in the head sets only when
   the visitor has not asked for reduced motion. site.js then tags elements with data-rv and
   adds .in as each one scrolls into view. Without that class the page is simply static. */
@keyframes failsafe { to { opacity: 1; } }
@keyframes pre-out { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes pre-mark { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { transform: translateY(-160%); } to { transform: none; } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: none; } }
@keyframes settle { from { scale: 1.12; } to { scale: 1; } }
@keyframes vt-out { to { clip-path: inset(0 0 100% 0); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: no-preference) {
  /* Moving between pages: the old page lifts away to navy, then the new one rises over it. Browsers without this simply load the page. */
  @view-transition { navigation: auto; }
  ::view-transition { background: #081e3b; }
  ::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
  ::view-transition-old(root) { animation: vt-out 0.45s cubic-bezier(0.7, 0, 0.2, 1) both; }
  ::view-transition-new(root) { animation: vt-in 0.6s cubic-bezier(0.7, 0, 0.2, 1) 0.3s both; }
  /* Phone menu: the navy screen drops in, then the links rise one after another. */
  @media (max-width: 900px) {
    .js .site-nav { clip-path: inset(0 0 100% 0); transition: clip-path 0.6s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s linear 0.6s; }
    .js .site-nav[data-open="true"] { clip-path: inset(0 0 0 0); transition-delay: 0s; }
    .js .site-nav li a, .js .site-nav .talk { translate: 0 44px; opacity: 0; transition: translate 0.25s ease, opacity 0.2s ease, color 0.3s ease; }
    .js .site-nav[data-open="true"] li a, .js .site-nav[data-open="true"] .talk { translate: 0 0; opacity: 1; transition: translate 0.8s cubic-bezier(0.19, 0.8, 0.22, 1), opacity 0.5s ease, color 0.3s ease; transition-delay: calc(0.2s + var(--n, 0) * 70ms), calc(0.2s + var(--n, 0) * 70ms), 0s; }
    .js .site-nav[data-open="true"] li a[aria-current="page"] { opacity: 0.55; }
    .js .site-nav li:nth-child(2) a { --n: 1; } .js .site-nav li:nth-child(3) a { --n: 2; } .js .site-nav li:nth-child(4) a { --n: 3; } .js .site-nav .talk { --n: 4; }
  }
  .bar::before, .talk::before { transition: transform 0.5s cubic-bezier(0.19, 0.8, 0.22, 1); }
  .bar, .talk { transition: color 0.3s ease; }
  .brk::before, .brk::after { transition: transform 0.3s cubic-bezier(0.19, 0.8, 0.22, 1); }
  .brk:hover::before { transform: translateX(-5px); }
  .brk:hover::after { transform: translateX(5px); }
  .card { transition: scale 0.45s cubic-bezier(0.19, 0.8, 0.22, 1); }
  a.card:hover { scale: 1.025; }
  .site-nav li a { transition: color 0.2s ease; }
  .site-header > .chip, .site-header > .menu-toggle, .site-header > .site-nav { transition: translate 0.5s cubic-bezier(0.19, 0.8, 0.22, 1); }

  /* Accordion rows open and close smoothly where the browser can animate to auto height. */
  :root { interpolate-size: allow-keywords; }
  .acc details::details-content { block-size: 0; overflow: clip; transition: block-size 0.5s cubic-bezier(0.19, 0.8, 0.22, 1), content-visibility 0.5s allow-discrete; }
  .acc details[open]::details-content { block-size: auto; }
  .acc summary::after { transition: transform 0.4s cubic-bezier(0.19, 0.8, 0.22, 1); }
  .acc summary { transition: padding-left 0.35s cubic-bezier(0.19, 0.8, 0.22, 1); }
  .index > li > a { transition: padding-left 0.35s cubic-bezier(0.19, 0.8, 0.22, 1); }
  @media (hover: hover) { .acc summary:hover, .index > li > a:hover { padding-left: 10px; } }

  /* First visit of a session: a navy screen with the mark, which lifts away. */
  html.pre { --t0: 1.25s; }
  html.pre body::before { content: ""; position: fixed; inset: 0; z-index: 200; background: var(--blue); animation: pre-out 0.8s cubic-bezier(0.7, 0, 0.2, 1) 1s forwards; }
  html.pre body::after { content: ""; position: fixed; z-index: 201; left: 50%; top: 50%; width: 76px; height: 72px; margin: -36px 0 0 -38px; background: url("monogram-white.svg") center / contain no-repeat; animation: pre-mark 0.6s cubic-bezier(0.19, 0.8, 0.22, 1) 0.1s both, pre-out 0.8s cubic-bezier(0.7, 0, 0.2, 1) 1s forwards; }
  html.pre .site-header > * { animation: drop 0.8s cubic-bezier(0.19, 0.8, 0.22, 1) calc(var(--t0) + 0.15s) both; }
  html.pre .site-header > :last-child { animation-delay: calc(var(--t0) + 0.25s); }

  /* Before site.js has run, hold the text back so nothing flashes. If the script never arrives, it shows itself. */
  html.anim:not(.anim-on) main :is(h1, h2, h3, p, img, figure, details, dl, table, .card, .bar, .pw) { opacity: 0; animation: failsafe 0.01s linear 3s forwards; }

  /* Hero */
  html.anim .hero .halftone { animation: settle 2.2s cubic-bezier(0.19, 0.8, 0.22, 1) var(--t0, 0s) both; translate: 0 calc(var(--sy, 0) * 0.28px); }
  html.anim .hero .rules::before, html.anim .hero .rules::after { transform-origin: top; animation: grow-y 1.4s cubic-bezier(0.19, 0.8, 0.22, 1) calc(var(--t0, 0s) + 0.2s) both; }
  html.anim .hero .rules::after { animation-delay: calc(var(--t0, 0s) + 0.35s); }

  /* Scroll reveals run both ways. Each plain rule below carries the timing for leaving (quick, when you
     scroll back up past an element); the matching .in rule carries the timing for arriving. */

  /* Headlines: each letter rises out of its word. */
  html.anim [data-rv="chars"] { font-kerning: none; }
  html.anim [data-rv="chars"] .wd { display: inline-block; white-space: nowrap; clip-path: inset(-0.25em -0.14em -0.2em -0.14em); }
  html.anim [data-rv="chars"] .ch { display: inline-block; translate: 0 116%; opacity: 0; transition: translate 0.5s cubic-bezier(0.6, 0, 0.8, 0.3), opacity 0.3s ease; transition-delay: calc(var(--i) * 5ms), calc(0.2s + var(--i) * 5ms); }
  html.anim [data-rv="chars"].in .ch { translate: 0 0; opacity: 1; transition: translate 1s cubic-bezier(0.19, 0.8, 0.22, 1), opacity 0.55s ease; transition-delay: calc(var(--t0, 0s) + var(--i) * 22ms); }

  /* Statements: words rise line by line. */
  html.anim [data-rv="lines"] .lw { display: inline-block; clip-path: inset(-0.2em -0.2em -0.26em -0.2em); }
  html.anim [data-rv="lines"] .lwi { display: inline-block; translate: 0 125%; opacity: 0; transition: translate 0.45s cubic-bezier(0.6, 0, 0.8, 0.3), opacity 0.3s ease; transition-delay: calc(var(--i) * 30ms), calc(0.15s + var(--i) * 30ms); }
  html.anim [data-rv="lines"].in .lwi { translate: 0 0; opacity: 1; transition: translate 0.85s cubic-bezier(0.19, 0.8, 0.22, 1), opacity 0.5s ease; transition-delay: calc(var(--t0, 0s) + var(--d, 0) * 90ms + var(--i) * 75ms); }

  /* Mono labels resolve out of scrambled characters (the script swaps the letters). */
  html.anim [data-rv="scr"] { opacity: 0; transition: opacity 0.3s ease; }
  html.anim [data-rv="scr"].in { opacity: 1; transition-duration: 0s; }

  /* Everything else lifts into place. */
  html.anim [data-rv="count"] { opacity: 0; translate: 0 26px; transition: opacity 0.35s ease, translate 0.45s cubic-bezier(0.6, 0, 0.8, 0.3); }
  html.anim [data-rv="count"].in { opacity: 1; translate: 0 0; transition: opacity 0.5s ease, translate 0.95s cubic-bezier(0.19, 0.8, 0.22, 1); }
  html.anim [data-rv="up"] { opacity: 0; translate: 0 26px; transition: opacity 0.35s ease, translate 0.45s cubic-bezier(0.6, 0, 0.8, 0.3), color 0.3s ease; }
  html.anim [data-rv="up"].in { opacity: 1; translate: 0 0; transition: opacity 0.7s ease, translate 0.95s cubic-bezier(0.19, 0.8, 0.22, 1), color 0.3s ease; transition-delay: calc(var(--d, 0) * 85ms), calc(var(--d, 0) * 85ms), 0s; }
  /* Photos and plates sit behind a navy block that lifts away. The block is on a wrapper the script adds, so the image itself is never clipped and still lazy-loads. */
  html.anim .iw { display: block; position: relative; overflow: hidden; }
  html.anim .iw.iw-portrait { width: 100%; max-width: 26.25rem; margin-bottom: 22px; }
  html.anim .iw.iw-plate { width: min(100%, clamp(220px, 24vw, 560px)); margin-bottom: 20px; }
  html.anim .iw > img { width: 100%; max-width: none; margin-bottom: 0; scale: 1.14; transition: scale 0.7s ease; }
  html.anim .iw::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: top; transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1); }
  html.anim .iw.in > img { scale: 1; transition: scale 1.8s cubic-bezier(0.19, 0.8, 0.22, 1); transition-delay: calc(var(--d, 0) * 140ms); }
  html.anim .iw.in::after { transform: scaleY(0); transition: transform 1.15s cubic-bezier(0.7, 0, 0.2, 1); transition-delay: calc(var(--d, 0) * 140ms); }
  /* Cards are tied to the scroll position, not a timer: the script sets --p from 0 (just entering) to 1 (in place),
     and each card straightens and rises as --p grows. Scroll back and it tilts away again. */
  html.anim [data-rv="card"] { --tilt: -9deg; --rise: 120px; opacity: 0; translate: 0 calc((1 - var(--p, 0)) * var(--rise)); rotate: calc((1 - var(--p, 0)) * var(--tilt)); transition: opacity 0.4s ease, translate 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), rotate 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), scale 0.45s cubic-bezier(0.19, 0.8, 0.22, 1); }
  html.anim [data-rv="card"]:nth-child(even) { --tilt: 8deg; }
  html.anim [data-rv="card"].in { opacity: 1; }
  /* On phones a card nearly fills the width, so it tilts less and stays inside the screen. */
  @media (max-width: 760px) { html.anim [data-rv="card"] { --tilt: -1.5deg; --rise: 60px; } html.anim [data-rv="card"]:nth-child(even) { --tilt: 1.5deg; } }
  html.anim [data-rv="mark"] { opacity: 0; scale: 0.8; rotate: -12deg; transition: opacity 0.4s ease, scale 0.5s ease, rotate 0.5s ease; }
  html.anim [data-rv="mark"].in { opacity: 1; scale: 1; rotate: 0deg; transition: opacity 0.8s ease, scale 1.3s cubic-bezier(0.19, 0.8, 0.22, 1), rotate 1.3s cubic-bezier(0.19, 0.8, 0.22, 1); }

  /* The steps under a statement band rise one after another. */
  html.anim .stairs[data-rl] i { transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1); }
  html.anim .stairs[data-rl].in i { transform: none; transition: transform 1.1s cubic-bezier(0.19, 0.8, 0.22, 1); }
  html.anim .stairs[data-rl].in i:nth-child(2) { transition-delay: 0.12s; }
  html.anim .stairs[data-rl].in i:nth-child(3) { transition-delay: 0.24s; }

  /* Dividing lines draw themselves. */
  html.anim .label-row[data-rl], html.anim .duo[data-rl] { background-size: 0% 1px; transition: background-size 0.6s cubic-bezier(0.7, 0, 0.2, 1); }
  html.anim .label-row[data-rl].in, html.anim .duo[data-rl].in { background-size: 100% 1px; transition: background-size 1.3s cubic-bezier(0.19, 0.8, 0.22, 1); }
  html.anim .split > .r[data-rl], html.anim .steps > .r[data-rl] { background-size: 1px 0%; transition: background-size 0.6s cubic-bezier(0.7, 0, 0.2, 1); }
  html.anim .split > .r[data-rl].in, html.anim .steps > .r[data-rl].in { background-size: 1px 100%; transition: background-size 1.6s cubic-bezier(0.19, 0.8, 0.22, 1); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  html.anim [data-rv], html.anim [data-rv] .ch, html.anim [data-rv] .lwi, html.anim .stairs i { opacity: 1 !important; translate: none !important; rotate: none !important; scale: none !important; transform: none !important; clip-path: none !important; }
}

/* Tablet and down */
@media (max-width: 1100px) {
  .site-nav li a { padding: 0 9px; }
  .card:nth-child(n) { transform: none; }
  .card:nth-child(even) { transform: rotate(1.6deg); }
  .card:nth-child(4n+3) { transform: rotate(-2deg); }
}
@media (max-width: 900px) {
  /* The menu opens as a full navy screen with large links. The wordmark and the Close button stay on top of it. */
  .js .menu-toggle { display: inline-flex; position: relative; z-index: 2; }
  .js .chip { position: relative; z-index: 2; }
  .js .site-nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: flex-end; gap: clamp(20px, 5vw, 36px); padding: 110px var(--g) max(var(--g), env(safe-area-inset-bottom)); background: var(--blue); visibility: hidden; overflow-y: auto; }
  .js .site-nav[data-open="true"] { visibility: visible; }
  html.nav-away.js .site-header > .site-nav { translate: none; }
  .js .site-nav ul { flex-direction: column; height: auto; padding: 0; background: none; box-shadow: none; border-top: 1px solid var(--hair-on-blue); }
  .js .site-nav li a { height: auto; padding: 0.14em 0 0.2em; font-family: var(--display); font-size: clamp(2.6rem, 13vw, 5.5rem); font-weight: 460; letter-spacing: var(--dls); line-height: 1; text-transform: none; color: var(--bone); border-bottom: 1px solid var(--hair-on-blue); }
  .js .site-nav li a:hover, .js .site-nav li a[aria-current="page"] { color: var(--bone); text-decoration: none; }
  .js .site-nav li a[aria-current="page"] { opacity: 0.55; }
  .js .site-nav .talk { height: 64px; justify-content: center; font-size: 0.875rem; background: var(--bone); color: var(--blue); box-shadow: none; }
  .js .site-nav .talk::before { background: var(--blue-2); }
  .js .site-nav .talk:hover { color: var(--bone); }
  .js .site-nav :focus-visible { outline-color: var(--bone); box-shadow: none; }
  html:not(.js) .site-header { position: absolute; flex-wrap: wrap; gap: 8px; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
  .hero-note { margin-left: 50%; padding-left: var(--g); }
  .hero-row { grid-template-columns: 50% 50%; row-gap: clamp(22px, 4vw, 36px); }
  .hero-row .say { grid-column: 1 / -1; max-width: 17em; }
  .hero .rules::after { display: none; }
  .stairs .notes { grid-template-columns: 1fr; margin-left: 42%; }
  .show { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; border-bottom: 0; }
  .cols.two { grid-template-columns: 1fr; }
  .cols > * { border-left: 0; border-top: 1px solid var(--hair); padding: 14px 0 clamp(36px, 7vw, 56px); }
  .cols .tag { margin-bottom: 28px; }
  .cols .fill { margin-top: 0; padding: var(--g); }
  .portrait, html.anim .iw.iw-portrait { max-width: 300px; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  :root { --d1: 13.2vw; --d2: clamp(2.3rem, 11.4vw, 4.6rem); }
  .chip span { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
  .hero { --hero-top: 96px; }
  .hero.short { min-height: min(62svh, 560px); }
  .hero-note { margin-left: 0; padding-left: 0; max-width: 16em; }
  .hero-row { grid-template-columns: 1fr; margin-inline: 0; row-gap: 20px; }
  .hero-row > * { padding-inline: 0; }
  .hero-row .fig { font-size: 17vw; margin-bottom: 0.14em; }
  .hero-row .caps { max-width: 34ch; }
  .sector-top { grid-template-columns: 1fr; margin-inline: 0; row-gap: 26px; }
  .sector-top > * { padding-inline: 0; }
  .sector-top .hero-proof { flex-direction: column; }
  .sector-top .fig { font-size: 25vw; margin: 0 0 0.14em -0.04em; }
  .sector-top .caps.src { margin: 0.9em 0 0; }
  .duo.note { row-gap: 24px; }
  .duo.note .portrait, html.anim .duo.note .iw.iw-portrait { max-width: 168px; }
  .hero .rules { display: none; }
  .side-label { display: none; }
  .split, .steps, .duo, .site-footer { grid-template-columns: 1fr; }
  .split > .r, .steps > .r { background: none; padding-left: 0; }
  .split > .l { padding-right: 0; margin-bottom: 28px; }
  .pw { display: none; }
  .fig { font-size: 27vw; }
  .pairnotes { grid-template-columns: 1fr; }
  .pair-h { position: static; width: auto; height: auto; clip: auto; white-space: normal; display: block; font-family: var(--display); font-size: var(--d1); font-weight: 460; letter-spacing: var(--dls); line-height: 0.94; color: var(--blue); margin: 0 0 32px -0.04em; }
  .l-inset { margin-left: 0; }
  .acc .body { margin-left: 0; padding-right: 10%; }
  .steps > .r { padding: 40px 0 0; }
  .steps .caps { margin-left: 0; }
  .card { max-width: none; }
  .card:nth-child(n) { transform: none; }
  .card:nth-child(even) { transform: rotate(1.2deg); }
  .stairs .notes { margin-left: 40%; }
  .closing .prose { margin-left: 0; }
  .closing .after { justify-content: flex-start; }
  .site-footer .mark { justify-content: flex-start; padding: 40px 0 48px; }
  .site-footer .mark img { width: 44%; }
  .details > div { grid-template-columns: 1fr; gap: 2px; }
  .worklist thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .worklist, .worklist caption, .worklist tbody, .worklist tr, .worklist td { display: block; }
  .worklist tr { border-top: 1px solid var(--hair); padding: 12px 0; }
  .worklist td { border: 0; padding: 4px 0; }
  .worklist td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); margin-top: 8px; }
}
@media (max-width: 380px) {
  .chip { padding: 0 12px 0 10px; gap: 8px; font-size: 0.6875rem; }
  .menu-toggle .mt-label { padding: 0 12px; }
}
@media print {
  .site-header, .site-footer .mark { display: none; }
  .hero { min-height: 0; }
}

/* Phones: the footer cells stack, so the email address has a full line to itself. */
@media (max-width: 560px) {
  .site-footer .fgrid { grid-template-columns: 1fr; min-height: 0; }
}
