/*
  Tizona Strategic Partners: the whole front-end system ("Stone and ink", see design-system.md).
  Plain CSS, no build, no inline style or script (CSP). Photographs are <img>/<picture> in positioned boxes, never CSS backgrounds.

  GRID. 12 columns, max content 1320px. Paired blocks: left = columns 1-6, right starts at column 7. Photo-and-text rows use
  1-5 / 7-12 so one empty column separates them. Navy and photo sections are full-bleed; their content stays on the grid.

  COMPONENT INDEX (reuse these; add nothing page-specific elsewhere)
  Layout      .container  .grid  .split (left 1-6, right 7-12)  .section (+ --plaster, --flush, --tight)  .row (photo 1-5 + text 7-12)
  Type        .label  .lede  .statement  .prose  .num  .muted  .note  .more  .visually-hidden
  Header      .site-header (+ .is-scrolled .is-open set by site.js)  body.has-dark-top  .lockup (+ __emblem __text __word __label, .lk-navy .lk-cream)
              .site-nav  .menu-btn  .skip
  Actions     .btn (terracotta)  .btn--quiet (outlined, for photographs)  .arrow-link (text + arrow; needs the #arr sprite, class .sprite)
  Photography .bleed (+ __media: full-bleed photo box with a scrim in --scrim)  .photo (framed photograph, --ar sets the shape)
  Home        .hero (.hero__body .hero__copy .hero__actions .hero__index .line)  .about  .services  .panels > .panel (+ __body)
              .approach  .audience  .tri > .tri__item (+ __cap)  .name (+ __emblem)  .invite (.invite--photo)
  Rows        .ruled-list (--3 --4 --col) > .ruled-row (+ __head, --inline)  .person  .timeline  .src
  Inner pages .page-intro (navy field; --tall)  .intro-cta (phone-only link)  .intro-photo (band photograph joined under the intro)
              .band (navy; .band__emblem .band__statement --sources)  .svcs > .svc (+ __text __scope: 2 x 2 service grid)
              .steps (numbered rows) + .steps-note (its final row)  .prose (--lg)  .figure (+ __credit)
              .anno  .evo  .sword-fig  .closing  .contact
  Forms       .field  .form-note
  Footer      .site-footer (+ __top __cols __legal __emblem)
  Motion      .reveal (+ --photo; .in set by site.js; hidden only while scripting is on and motion is allowed)
  Colour tokens on :root: --navy --navy-deep --cream --plaster --terracotta --gold --gold-light --olive --charcoal; one hairline token --rule
  and one secondary-text token --text-2 and one accent token --accent (all re-mapped on dark grounds).
  Type roles: h1 (display), h2, statement (= entry), h3, lede, body, label, num.
*/

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0A2540;
  --navy-deep: #071B30;
  --cream: #F7F3ED;
  --plaster: #EFE8DD;
  --terracotta: #A94F2F;
  --terracotta-dark: #8C3F24;
  --olive: #465548;
  --gold: #B6A16C;
  --gold-light: #C9B682;
  --charcoal: #2C3338;

  --rule: rgba(10, 37, 64, .18);
  --text-2: rgba(10, 37, 64, .72);
  --accent: var(--terracotta);
  --focus: var(--navy);

  --h1: clamp(2.75rem, 6vw, 5.5rem);
  --h2: clamp(2rem, 3.6vw, 3.25rem);
  --entry: clamp(1.6rem, 2.4vw, 2.25rem);
  --h3: clamp(1.25rem, 1.5vw, 1.375rem);
  --lede: clamp(1.125rem, 1.5vw, 1.3125rem);

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(20px, 5vw, 80px);
  --gap: clamp(20px, 5vw, 80px);
  --section: clamp(88px, 11vw, 168px);
  --block: clamp(48px, 6vw, 96px);
  --block-s: clamp(32px, 4vw, 64px);
  --header-h: 88px;

  /* cap-top offsets (first line's top to its cap height) from Manrope's metrics, used to align first lines across a split */
  --split-offset: calc(var(--h2) * .203 - var(--lede) * .413);
}
/* dark grounds: navy fields and photographs */
.bleed, .band, .site-footer, .page-intro, .name, .invite, .panel {
  --rule: rgba(247, 243, 237, .18);
  --text-2: rgba(247, 243, 237, .78);
  --accent: var(--gold-light);
  --focus: var(--gold-light);
  color: var(--cream);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  accent-color: var(--navy);
  caret-color: var(--navy);
  scrollbar-color: rgba(10, 37, 64, .45) var(--cream);
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font: 400 1.0625rem/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
::selection { background: var(--navy); color: var(--cream); }
.bleed ::selection, .band ::selection, .site-footer ::selection, .page-intro ::selection, .name ::selection, .invite ::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sprite { position: absolute; }

/* type */
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1; letter-spacing: -.035em; }
h2 { font-size: var(--h2); line-height: 1.08; letter-spacing: -.025em; max-width: 16em; }
h3 { font-weight: 600; font-size: var(--h3); line-height: 1.25; letter-spacing: -.01em; }
.label + h1, .label + h2, .label + .split { margin-top: 24px; }
h2 + .lede { margin-top: 24px; }
p { text-wrap: pretty; }
.lede { font-size: var(--lede); line-height: 1.5; }
.statement { font-size: var(--entry); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.3;
  color: var(--accent);
}
.label::before { content: ""; flex: none; width: 32px; height: 1px; background: currentColor; }
:where(.ruled-row, .anno__item) .label::before { content: none; }
.num { font-size: .8125rem; font-weight: 500; letter-spacing: .08em; color: var(--accent); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.note { margin-top: 24px; max-width: 40rem; line-height: 1.55; color: var(--text-2); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.25em; }
.prose .label { margin-top: 2.5em; }
.prose--lg { font-size: var(--lede); line-height: 1.55; max-width: 36em; }
.prose--lg > * + * { margin-top: 1.1em; }
.prose--lg .label { margin-top: 3em; }
.about-name h2 { font-size: var(--h1); line-height: 1; letter-spacing: -.035em; max-width: none; }
@media (min-width: 900px) { .about-name .split { align-items: end; } .about-name .split > :last-child { padding-top: 0; padding-bottom: .4em; } }
.prose .label + p { margin-top: 8px; }
.split--note { margin-top: var(--block-s); padding-top: var(--block-s); border-top: 1px solid var(--rule); align-items: baseline; }
@media (min-width: 900px) { .split.split--note > :last-child { padding-top: 0; } }
.more { display: flex; flex-wrap: wrap; gap: 0 32px; margin-top: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* layout */
.container { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gap); row-gap: 28px; }
.split, .row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px var(--gap); }
.section { padding-block: var(--section); }
.section--plaster { background: var(--plaster); }
.section--tight { padding-block: var(--block); }
.section--flush, .section:not(.section--plaster) + .section:not(.section--plaster), .section--plaster + .section--plaster { padding-top: 0; }
.statement:is(h2) { max-width: none; }
@media (min-width: 900px) {
  .grid, .split, .row { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .split > :first-child { grid-column: 1 / span 6; }
  .split > :last-child { grid-column: 7 / span 6; padding-top: var(--split-offset); }
  .split > .lede:first-child + * { padding-top: 0; }
  .split:has(.statement) { --split-offset: calc(var(--entry) * .238 - var(--lede) * .413); }
  .split:has(> :first-child > .label) > :last-child { padding-top: calc(.75rem * 1.3 + 24px + var(--split-offset)); }
}

.skip { position: absolute; left: var(--gutter); top: 0; z-index: 30; padding: 12px 20px; background: var(--navy); color: var(--cream); transform: translateY(-120%); }
.skip:focus { transform: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* 12px terracotta on plaster is 4.49:1; this shade clears 4.5:1 */
.section--plaster .label, .section--plaster .num { color: #9A4527; }

/* buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 32px;
  background: var(--terracotta); color: var(--cream);
  border: 1px solid var(--terracotta);
  font-weight: 600; font-size: 1.0625rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: scale(.97); }
.btn:disabled { background: rgba(10, 37, 64, .3); border-color: transparent; color: var(--cream); cursor: not-allowed; transform: none; }
.btn--quiet { background: transparent; border-color: rgba(247, 243, 237, .7); }
.arrow { width: 18px; height: 12px; flex: none; transition: transform 200ms var(--ease); }
.arrow-link { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; font-weight: 600; font-size: 1.0625rem; text-decoration: underline; }
@media (hover: hover) and (pointer: fine) {
  .btn:not(:disabled):hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); }
  .btn--quiet:not(:disabled):hover { background: rgba(247, 243, 237, .12); border-color: var(--cream); }
  .arrow-link:hover .arrow, .ruled-row:hover .arrow { transform: translateX(4px); }
}

/* header: solid cream by default and without JavaScript. With scripting it is sticky; on pages with a dark top (body.has-dark-top)
   it floats over the hero, transparent with a navy-deep scrim and a cream lockup, until the first scroll. */
.site-header { position: relative; z-index: 20; background: var(--cream); color: var(--navy); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .lockup { color: inherit; }
.site-header__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: var(--header-h); }
.site-nav ul { display: flex; align-items: center; gap: 4px 36px; flex-wrap: wrap; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .875rem; font-weight: 600; letter-spacing: .04em; text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-nav a[aria-current] { border-bottom-color: currentColor; }
.site-nav .btn { min-height: 44px; padding: 0 22px; font-size: .875rem; }
@media (hover: hover) and (pointer: fine) { .site-nav a:not(.btn):hover { border-bottom-color: currentColor; } }
.menu-btn { display: none; }

.lockup { --lw: 168px; display: inline-flex; align-items: center; gap: calc(var(--lw) * .1); text-decoration: none; color: var(--navy); }
.lockup__emblem { width: calc(var(--lw) * .34); height: auto; }
.lockup__text { display: flex; flex-direction: column; align-items: center; gap: calc(var(--lw) * .04); }
.lockup__word { width: var(--lw); height: auto; }
.lockup__label { font-size: calc(var(--lw) * .062); font-weight: 600; letter-spacing: .16em; padding-left: .16em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.lockup--cream { color: var(--cream); }
.lk-cream { display: none; }

@media (scripting: enabled) {
  .site-header { position: sticky; top: 0; }
  body.has-dark-top .site-header { position: fixed; top: 0; left: 0; right: 0; }
  body.has-dark-top .site-header:not(.is-scrolled) { background: transparent; color: var(--cream); }
  body.has-dark-top .site-header:not(.is-scrolled) :focus-visible { outline-color: var(--gold-light); }
  body.has-dark-top .site-header:not(.is-scrolled) .lk-navy { display: none; }
  body.has-dark-top .site-header:not(.is-scrolled) .lk-cream { display: block; }
  body.has-dark-top .site-header:not(.is-scrolled) .lockup__text .lk-cream { display: block; }
  body.has-dark-top .site-header::before {
    content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(100% + 48px); pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 27, 48, .66), rgba(7, 27, 48, 0));
  }
  body.has-dark-top .site-header.is-scrolled::before { content: none; }
}

@media (max-width: 899px) {
  :root { --header-h: 72px; }
  .lockup { --lw: 152px; }
}
@media (max-width: 899px) and (scripting: enabled) {
  .menu-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
    background: transparent; border: 1px solid var(--rule); color: inherit; cursor: pointer;
    font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    transition: transform 160ms var(--ease);
  }
  body.has-dark-top .site-header:not(.is-scrolled) .menu-btn { border-color: rgba(247, 243, 237, .5); }
  .menu-btn:active { transform: scale(.97); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); color: var(--cream); padding: 8px var(--gutter) 28px; }
  .site-nav :focus-visible { outline-color: var(--gold-light); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid rgba(247, 243, 237, .18); }
  .site-nav li:last-child { border: 0; padding-top: 20px; }
  .site-nav a:not(.btn) { display: flex; min-height: 56px; font-size: 1rem; border-bottom: 0; }
  .site-nav .btn { width: 100%; min-height: 52px; font-size: 1rem; }
  .site-header__bar, .site-header .container { position: static; }
  body.has-dark-top .site-header.is-open:not(.is-scrolled) { background: var(--navy); }
  body.has-dark-top .site-header.is-open::before { content: none; }
}

/* photography: full-bleed box with a scrim between photograph and text */
.bleed { position: relative; isolation: isolate; overflow: hidden; background-color: var(--navy); }
.bleed__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background-color: var(--navy); }
.bleed__media picture { display: block; height: 100%; }
.bleed__media img { width: 100%; height: 100%; object-fit: cover; }
.bleed__media::after { content: ""; position: absolute; inset: 0; background: var(--scrim, none); }
.photo { position: relative; overflow: hidden; background-color: var(--navy); aspect-ratio: var(--ar, 4 / 5); }
.photo picture { display: block; height: 100%; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the power photograph carries a thin dark frame in the source: scale it out */
.photo--trim img { inset: -2.5%; width: 105%; height: 105%; max-width: none; }

/* home hero */
.hero {
  --scrim:
    linear-gradient(0deg, rgba(7, 27, 48, .94) 0, rgba(7, 27, 48, .9) 24%, rgba(7, 27, 48, .3) 46%, rgba(7, 27, 48, .3) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(100svh, 920px);
  padding-top: calc(var(--header-h) + 40px);
}
.hero__body { padding-bottom: clamp(32px, 5vw, 64px); }
/* phones: the photograph stays light above the copy; a navy panel travels with the text so it keeps >= 78% navy under it */
@media (max-width: 1023px) {
  .hero__body { position: relative; isolation: isolate; }
  .hero__body::before {
    content: ""; position: absolute; z-index: -1; top: -120px; bottom: 0; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    background: linear-gradient(180deg, rgba(7, 27, 48, 0) 0, rgba(7, 27, 48, .74) 120px, rgba(7, 27, 48, .74) calc(100% - 28px), rgba(7, 27, 48, 0) 100%);
  }
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 100%; }
.hero .label + h1 { margin-top: 24px; }
.hero h1 { font-size: min(2.75rem, 9.3vw); }
.line { display: block; }
.hero .lede { max-width: 30em; margin-top: 28px; color: rgba(247, 243, 237, .92); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; margin-top: 36px; }
.hero__index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); padding-bottom: 24px; }
.hero__index a {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 12px 0;
  font-size: 1.0625rem; line-height: 1.3; text-decoration: none;
  border-top: 1px solid var(--rule);
}
.hero__index .num { font-size: .8125rem; }
@media (min-width: 600px) { .hero h1 { font-size: var(--h1); } }
@media (min-width: 640px) {
  .hero__index { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; padding-bottom: 28px; }
  .hero__index a { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 14px; min-height: 64px; padding: 20px 0 12px; }
}
@media (min-width: 1024px) {
  .hero {
    --scrim:
      linear-gradient(180deg, rgba(7, 27, 48, .82) 0, rgba(7, 27, 48, .6) 72px, rgba(7, 27, 48, 0) 150px),
      linear-gradient(0deg, rgba(7, 27, 48, .9) 0, rgba(7, 27, 48, .8) 70px, rgba(7, 27, 48, .4) 112px, rgba(7, 27, 48, 0) 140px),
      linear-gradient(90deg, rgba(7, 27, 48, .66) 0, rgba(7, 27, 48, .7) 36%, rgba(7, 27, 48, .8) 46%, rgba(7, 27, 48, .74) 52%, rgba(7, 27, 48, .44) 56%, rgba(7, 27, 48, .14) 60%, rgba(7, 27, 48, .06) 100%);
  }
  .hero__media img { object-position: 0 50%; }
  .hero h1 { max-width: 11em; font-size: clamp(2.75rem, 5vw, 4.5rem); } /* ends before the lit stone at x ~55% */
}
@media (hover: hover) and (pointer: fine) { .hero__index a:hover { color: var(--gold-light); } }

/* about: photograph (1-5), one empty column, text (7-12) */
.about { padding-block: var(--section); }
.about .row { align-items: center; }
.about .photo { --ar: 4 / 3; }
.about h2 + .lede { margin-top: 28px; }
.about .lede ~ p { margin-top: 20px; max-width: 34em; color: var(--charcoal); }
.about .lede { max-width: 27em; }
@media (min-width: 900px) {
  .about .photo { --ar: 4 / 5; grid-column: 1 / span 5; }
  .about__text { grid-column: 7 / span 6; }
}

/* services: heading, then four tall panels edge to edge separated by 2px of the page ground */
.services { padding-top: var(--section); }
.panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin-top: var(--block); background: var(--navy); }
.panel {
  --scrim: linear-gradient(0deg, rgba(7, 27, 48, .94) 0%, rgba(7, 27, 48, .88) 22%, rgba(7, 27, 48, .8) 46%, rgba(7, 27, 48, .12) 62%, rgba(7, 27, 48, 0) 100%);
  position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 3;
  background-color: var(--navy); text-decoration: none;
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--scrim); }
.panel::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease); }
.panel__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: clamp(20px, 2.2vw, 32px); }
.panel h3 { font-weight: 500; letter-spacing: -.015em; }
.panel p { max-width: 24em; line-height: 1.5; color: rgba(247, 243, 237, .88); }
@media (min-width: 600px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panel { aspect-ratio: 3 / 4; } }
@media (min-width: 1024px) { .panels { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (hover: hover) and (pointer: fine) {
  .panel:hover img { transform: scale(1.04); }
  .panel:hover::after { transform: scaleX(1); }
}
.panel:focus-visible::after { transform: scaleX(1); }

/* approach band on the stair photograph: text only in the dark left part */
.approach {
  --scrim:
    linear-gradient(0deg, rgba(7, 27, 48, .94) 0, rgba(7, 27, 48, .86) 40%, rgba(7, 27, 48, .6) 100%);
  padding-block: var(--section);
}
.approach .lede { max-width: 24em; margin-top: 28px; text-wrap: balance; }
.approach .more { margin-top: 32px; }
@media (min-width: 1024px) {
  .approach {
    --scrim:
      linear-gradient(90deg, rgba(7, 27, 48, .92) 0, rgba(7, 27, 48, .86) 36%, rgba(7, 27, 48, .72) 52%, rgba(7, 27, 48, .22) 76%, rgba(7, 27, 48, 0) 100%);
  }
  .approach .container > div { max-width: 40rem; }
  .approach .bleed__media img { position: absolute; right: 0; bottom: 0; width: 125%; max-width: none; height: auto; }
}

/* audience: three photographs, captions beneath on the ground colour */
.audience { padding-block: var(--section); }
.tri { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px var(--gap); margin-top: var(--block); }
.tri__item { display: block; }
.tri .photo { --ar: 4 / 3; }
.tri__cap { padding-top: 24px; max-width: 22em; }
.tri__cap p { margin-top: 8px; color: var(--text-2); }
@media (min-width: 760px) {
  .tri { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); }
  .tri .photo { --ar: 4 / 5; }
}

/* the name: navy field, gold emblem, no photograph */
.name { background: var(--navy); padding-block: var(--section); }
.name__emblem { width: clamp(64px, 6vw, 88px); height: auto; margin-bottom: 32px; }
.name h2 { max-width: none; font-size: var(--h1); line-height: 1; letter-spacing: -.035em; }
.name .lede { max-width: 24em; }
@media (min-width: 900px) {
  .name .split { align-items: end; }
  .name .split > :last-child { padding-top: 0; padding-bottom: .4em; }
}

/* closing invitation. On inner pages (no photograph yet) it is a plain navy field. */
.invite { position: relative; isolation: isolate; overflow: hidden; background-color: var(--navy); padding-block: clamp(96px, 12vw, 180px) clamp(72px, 8vw, 120px); }
.invite p { margin-bottom: 28px; max-width: 26em; color: rgba(247, 243, 237, .9); }
.invite--photo {
  --scrim:
    linear-gradient(0deg, rgba(7, 27, 48, .96) 0, rgba(7, 27, 48, .84) 55%, rgba(7, 27, 48, .6) 100%);
}
.invite--photo .container { max-width: 100%; }
.invite--photo h2 { margin-bottom: 24px; }
@media (min-width: 1024px) {
  .invite--photo {
    --scrim:
      linear-gradient(90deg, rgba(7, 27, 48, .9) 0, rgba(7, 27, 48, .84) 40%, rgba(7, 27, 48, .66) 62%, rgba(7, 27, 48, .2) 100%),
      linear-gradient(0deg, rgba(7, 27, 48, 1) 0, rgba(7, 27, 48, .7) 18%, rgba(7, 27, 48, 0) 50%);
  }
  .invite--photo .bleed__media img { object-position: 50% 70%; }
  .invite__body { max-width: 40rem; }
}

/* ruled rows */
.ruled-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gap); }
.split + .ruled-list, h2 + .ruled-list, .lede + .ruled-list { margin-top: var(--block-s); }
.ruled-row { position: relative; display: block; padding: 28px 0 32px; border-top: 1px solid var(--rule); text-decoration: none; }
.ruled-row .num { display: block; margin-bottom: 32px; }
.ruled-list--4 .ruled-row .num { margin-bottom: 28px; font-size: var(--entry); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.ruled-row h3 { margin-bottom: 12px; }
.ruled-row__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.ruled-row__head h3 { margin: 0; }
.ruled-row p { color: var(--text-2); }
.ruled-row .src-name { color: var(--navy); }
.band .src h3 { color: var(--accent); }
.band .ruled-row .src-name, .band .src a { color: var(--cream); }
.ruled-row--inline { display: flex; align-items: baseline; gap: 20px; min-height: 56px; padding: 16px 0; }
.ruled-row--inline > .num, .ruled-row--inline > .label { flex: 0 0 5rem; margin: 0; }
.ruled-row--inline > a[href^="mailto:"] { min-width: 0; overflow-wrap: anywhere; }
.ruled-list--col { grid-template-columns: minmax(0, 1fr); }
.ruled-list--col > :last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 600px) { .ruled-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ruled-list--col { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1000px) {
  .ruled-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ruled-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .container > .ruled-list:last-child > .ruled-row { padding-bottom: 0; }
}

/* principals: name at the entry size, title beneath, on hairlines */
.people { margin-top: var(--block-s); }
.person { padding: 24px 0 28px; border-top: 1px solid var(--rule); }
.person:last-child { border-bottom: 1px solid var(--rule); }
.person h3 { font-size: var(--entry); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.person p { margin-top: 6px; font-size: var(--lede); line-height: 1.5; color: var(--text-2); }
@media (min-width: 900px) { .split > .people { margin-top: 0; padding-top: calc(var(--h2) * .203); } }

/* band (inner pages): navy field with the cropped emblem */
.band { position: relative; overflow: hidden; background: var(--navy); padding-block: var(--section); }
.band > .container { position: relative; }
.band + .band { padding-top: 0; }
.band__emblem { display: none; position: absolute; left: min(calc(100% - 200px), calc(50% + 600px)); top: 50%; width: 440px; height: auto; opacity: .07; transform: translateY(-50%); pointer-events: none; }
.band .lede { max-width: 22em; text-wrap: balance; }
.band__statement { font-size: var(--h2); line-height: 1.12; letter-spacing: -.025em; }
@media (min-width: 900px) { .band__statement { max-width: calc((100% + var(--gap)) * 8 / 12 - var(--gap)); } }
.band--sources + .invite { border-top: 1px solid rgba(247, 243, 237, .18); }
@media (min-width: 900px) { .band__emblem { display: block; } }

/* page intro (inner pages): navy field, h1 in columns 1-6, the page's own line from the split line */
.page-intro { --split-offset: calc(var(--h1) * .163 - var(--lede) * .413); background: var(--navy); padding-block: clamp(56px, 7vw, 104px) clamp(56px, 7vw, 112px); }
.page-intro .container { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gap); }
.page-intro h1 { font-size: var(--h1); }
.page-intro .lede { margin-top: 24px; color: var(--text-2); }
.page-intro .line { display: block; }
@media (scripting: enabled) { body.has-dark-top .page-intro { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); } }
.page-intro--tall { padding-block: clamp(72px, 10vw, 140px) clamp(72px, 11vw, 160px); }
@media (scripting: enabled) { body.has-dark-top .page-intro--tall { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px)); } }
.page-intro .more { margin-top: 36px; }
/* phones: the header button is inside the menu, so the intro carries its own link */
.intro-cta { display: none; margin-top: 20px; }
@media (max-width: 899px) and (scripting: enabled) { .intro-cta { display: block; } }
@media (min-width: 900px) {
  .page-intro .container { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .page-intro .label, .page-intro h1 { grid-column: 1 / span 6; }
  .page-intro .container > :not(.label):not(h1) { grid-column: 7 / span 6; }
  .page-intro .lede { margin-top: 0; padding-top: var(--split-offset); }
  .page-intro .label ~ .lede { grid-row: 2; margin-top: 24px; }
  /* long titles: the h1 takes the full width, the lede follows from the split line */
  .page-intro--wide h1 { grid-column: 1 / -1; }
  .page-intro--wide .lede, .page-intro--wide .label ~ .lede { grid-row: auto; margin-top: 32px; padding-top: 0; }
}

/* photograph band joined under a page intro: 4:3 on phones, 21:9, then 3:1 on wide screens; no text on it */
.intro-photo { position: relative; overflow: hidden; background-color: var(--navy); aspect-ratio: 4 / 3; }
.intro-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
@media (min-width: 600px) { .intro-photo { aspect-ratio: 21 / 9; } }
@media (min-width: 1200px) { .intro-photo { aspect-ratio: 3 / 1; } }

/* figures */
.figure img { width: 100%; height: auto; }
.figure--wide { margin-block: var(--block); }
.figure--wide:last-child { margin-bottom: 0; }
.figure--wide img { aspect-ratio: 21 / 9; object-fit: cover; }
.figure__credit { margin-top: 12px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 599px) { .figure--wide img { aspect-ratio: 4 / 3; } }

/* forms */
.field { display: block; margin-bottom: 24px; }
.field label, .contact__aside > h2 { display: block; margin-bottom: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.3; max-width: none; color: var(--terracotta); }
.field label { color: var(--navy); }
.contact__aside > h2 { display: flex; align-items: center; gap: 14px; }
.contact__aside > h2::before { content: ""; flex: none; width: 32px; height: 1px; background: currentColor; }
.field input, .field textarea, .field select {
  display: block; width: 100%; min-height: 48px; padding: 12px 14px;
  background: transparent; border: 1px solid rgba(10, 37, 64, .6);
  transition: border-color 160ms var(--ease);
}
.field input, .field textarea { font-size: 1.0625rem; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--terracotta-dark); }
.field__error { margin-top: 8px; font-weight: 600; color: var(--terracotta-dark); }
.form-note { margin-top: 16px; color: var(--text-2); }

/* contact: form (1-6) and aside (7-12) */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px var(--gap); align-items: start; }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .contact__form { grid-column: 1 / span 6; }
  .contact__aside { grid-column: 8 / span 5; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.contact__notice { margin: 0 0 20px; padding-top: 12px; border-top: 1px solid var(--rule); color: var(--navy); }
.contact__status { color: var(--navy); font-weight: 600; }
.contact__aside .muted { margin-bottom: 20px; }
.contact-service { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .contact-service:hover > span:last-child, .contact-service:hover { text-decoration: underline; } }

/* services page: 2 x 2 grid on cream; each block = photograph 4:3, numeral, name, hairline, description. One column on phones. */
.svcs { padding-block: var(--section); }
.svcs .container { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gap); row-gap: clamp(64px, 7vw, 112px); }
@media (min-width: 700px) { .svcs .container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc .photo { --ar: 4 / 3; }
.svc .num { display: block; margin: 32px 0 16px; font-size: var(--entry); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.svc h2 { font-size: var(--entry); line-height: 1.15; letter-spacing: -.02em; max-width: none; }
.svc__scope { margin-top: 24px; border-top: 1px solid var(--rule); }
.svc__scope p { padding-top: 20px; font-size: var(--lede); line-height: 1.5; color: var(--navy); }
.svc__scope p + p { margin-top: 20px; border-top: 1px solid var(--rule); font-size: 1.0625rem; line-height: 1.55; color: var(--text-2); }

/* rails: one continuous hairline, a square node at each entry's left edge. Below 1000px the rail is vertical. */
.timeline { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: var(--block-s); padding-left: 28px; border-left: 1px solid var(--rule); }
.timeline > li { position: relative; padding: 0 0 44px; }
.timeline > li::before { content: ""; position: absolute; left: -32px; top: calc(var(--entry) * .5 - 3.5px); width: 7px; height: 7px; background: var(--navy); }
.timeline .num { display: block; margin-bottom: 24px; font-size: var(--entry); font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--navy); }
.timeline h3 { margin-bottom: 12px; }
.timeline p { font-size: var(--lede); line-height: 1.5; color: var(--text-2); }
@media (min-width: 1100px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: calc(var(--gap) * 1.25); padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .timeline > li { padding: 44px 0 0; }
  .timeline > li::before { left: 0; top: -4px; }
}
/* approach: four numbered rows, numeral (1-2), step (3-7), description (8-12) */
.steps { margin: 0; }
.steps li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px var(--gap); padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--rule); }
.steps .num { font-size: var(--entry); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.steps h3 { font-size: var(--entry); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.steps p { font-size: var(--lede); line-height: 1.5; color: var(--text-2); }
@media (min-width: 900px) {
  .steps li { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; }
  .steps .num { grid-column: 1 / span 2; }
  .steps h3 { grid-column: 3 / span 5; }
  .steps p { grid-column: 8 / span 5; }
}
.closing { margin-top: var(--block); max-width: 34em; }
@media (min-width: 900px) { .closing { margin-left: calc(50% + var(--gap) / 2); max-width: none; } }
/* the final ruled row of the steps list, kept outside the <ol>: description column, same row padding */
.steps-note { padding-block: clamp(32px, 4vw, 56px); border-block: 1px solid var(--rule); line-height: 1.5; color: var(--text-2); }
@media (min-width: 900px) { .steps-note { padding-left: calc((100% + var(--gap)) * 7 / 12); } }

/* the name page */
.sword-fig { margin-top: var(--block-s); }
.sword-fig img { width: 100%; height: auto; aspect-ratio: 2400 / 546; }
.sword-fig img.sword-fig__detail { margin-top: 12px; aspect-ratio: 900 / 596; }
@media (min-width: 600px) { .sword-fig__detail { display: none; } }
.sword-fig figcaption { margin-top: 12px; }
.band .figure__credit { margin-top: 4px; color: var(--text-2); }
.band .figure__credit:first-child { color: var(--cream); }
.band .figure__credit a { color: var(--cream); }
.sword-notes { margin-top: var(--block); }
.sword-claim { margin-top: var(--block); padding-top: 32px; border-top: 1px solid var(--rule); }

/* emblem figure: annotations lead to the mark with a hairline at the matching height */
.anno { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: var(--block-s); }
.anno__emblem { width: 220px; margin: 0 auto 32px; }
.anno__item { padding: 20px 0 24px; border-top: 1px solid var(--rule); }
.anno__item p { margin-top: 8px; color: var(--text-2); }
@media (min-width: 900px) {
  .anno { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .anno__emblem { grid-column: 5 / span 4; grid-row: 1; width: 100%; margin: 0; }
  .anno__col { position: relative; grid-row: 1; }
  .anno__col--l { grid-column: 1 / span 4; }
  .anno__col--r { grid-column: 9 / span 4; }
  .anno__item { position: absolute; left: 0; right: 0; padding: 0; border-top: 0; }
  .anno__item .label { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
  .anno__item .label::after, .anno__col--r .label::before { content: ""; flex: 1; width: auto; height: 1px; background: var(--rule); }
  .anno__col--r .label::after { display: none; }
  .anno__item p { margin-top: 0; max-width: 22em; }
  .anno__col--l .anno__item:nth-child(1) { top: calc(15% - 8px); }
  .anno__col--l .anno__item:nth-child(2) { top: calc(48% - 8px); }
  .anno__col--l .anno__item:nth-child(3) { top: calc(80% - 8px); }
  .anno__col--r .anno__item:nth-child(1) { top: calc(36% - 8px); }
  .anno__col--r .anno__item:nth-child(2) { top: calc(70% - 8px); }
}

/* evolution: four equal frames, drawings on one baseline */
.evo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: var(--block-s); }
.evo li { padding: 0 0 32px; }
.evo__img { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 200px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.evo__img > img { width: auto; height: 100%; max-width: 100%; }
.evo__short > .evo__img > img { height: 43.7%; }
.evo__logo > .evo__img > img { height: calc(100% - 28px); }
.evo__desc { margin-top: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; padding-left: .16em; text-transform: uppercase; line-height: 1; }
.evo h3 { margin-bottom: 4px; }
.evo p { color: var(--text-2); }
@media (min-width: 900px) {
  .evo { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .evo__img { height: clamp(220px, 22vw, 300px); }
}

/* sources: label (1-3), source and description (4-9), link (10-12) */
.src { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px var(--gap); overflow-wrap: anywhere; }
.src h3 { margin: 0; }
.src-name { font-weight: 600; }
.src p + p { margin-top: 4px; color: var(--text-2); }
@media (min-width: 900px) {
  .src { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; padding-bottom: 28px; }
  .src > :nth-child(1) { grid-column: 1 / span 3; }
  .src > :nth-child(2) { grid-column: 4 / span 6; }
  .src > :nth-child(3) { grid-column: 10 / span 3; }
}
.src-close { margin-top: 28px; max-width: 40em; }

/* footer: navy-deep, cream lockup, a large cropped emblem at 4% behind the right half */
.site-footer { position: relative; overflow: hidden; background: var(--navy-deep); padding-top: clamp(64px, 8vw, 112px); }
.site-footer > .container { position: relative; }
.site-footer__emblem { position: absolute; right: -6%; top: 50%; width: min(640px, 80vw); height: auto; opacity: .04; transform: translateY(-50%); pointer-events: none; }
.site-footer a { text-decoration: none; }
.site-footer .lockup { --lw: 200px; }
.site-footer__cols { display: grid; gap: 40px clamp(16px, 2vw, 32px); margin-top: clamp(40px, 6vw, 80px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__cols h2 { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; line-height: 1.3; }
.site-footer__cols a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }
/* block, not inline-flex: the <wbr> after "@" must stay a line-break point, not become a flex item */
.site-footer__cols a[href^="mailto:"] { display: block; padding-block: 10px; overflow-wrap: anywhere; }
.site-footer__cols p { font-size: 1rem; color: var(--text-2); }
.site-footer__legal { display: grid; gap: 12px 40px; margin-top: clamp(48px, 6vw, 88px); padding-block: 28px 36px; border-top: 1px solid var(--rule); font-size: .875rem; line-height: 1.55; color: var(--text-2); }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { text-decoration: underline; text-underline-offset: .25em; } }
@media (min-width: 900px) {
  .site-footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .site-footer__top .lockup { grid-column: 1 / span 4; align-self: start; }
  .site-footer__cols { grid-column: 7 / span 6; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
  .site-footer__legal { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .site-footer__legal p:first-child { grid-column: 1 / span 4; }
  .site-footer__legal p:not(:first-child) { grid-column: 7 / span 6; }
}
/* tablet widths: the Contact column must hold "tizonasp.com" on one line */
@media (min-width: 900px) and (max-width: 1199px) {
  .site-footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, .6fr); }
}

/* motion: hero is the one authored moment; below the fold, blocks rise once and photographs open from the bottom.
   Pre-reveal hidden states exist only while scripting is on and motion is allowed. */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes settle { from { transform: scale(1.06); } }
@keyframes fade { from { opacity: 0; } }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: settle 1600ms var(--ease) backwards; }
  .hero .label, .hero .lede, .hero__actions { animation: rise 800ms var(--ease) backwards; }
  .hero .label { animation-delay: 120ms; }
  .hero .line { animation: rise 900ms var(--ease) backwards; }
  .hero .line:nth-child(1) { animation-delay: 200ms; }
  .hero .line:nth-child(2) { animation-delay: 280ms; }
  .hero .lede { animation-delay: 440ms; }
  .hero__actions { animation-delay: 520ms; }
  .hero__index { animation: fade 900ms var(--ease) 800ms backwards; }
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal--photo { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 900ms var(--ease); }
  .reveal--photo.in { clip-path: inset(0); }
}

@media print {
  .site-header, .menu-btn, .skip, .invite .btn, .band__emblem, .site-footer__emblem { display: none; }
  body, .band, .site-footer, .section--plaster, .invite, .page-intro, .name, .bleed { background: #fff; color: #000; }
  .bleed__media { display: none; }
  .label, .num, .site-footer__cols h2, .muted, .site-footer p, .page-intro .lede { color: #000; }
  .reveal, .hero * { opacity: 1 !important; transform: none !important; animation: none !important; clip-path: none !important; }
  a { text-decoration: underline; }
}
