/* L&K Design — site styles
   Layout: a drawing set. Each section is a "sheet" with a title-block label (sheet no. + title)
   on a quiet structural grid; bands alternate charcoal and façade stone, like the building's two materials. */
:root {
  /* color */
  --ink: #121214;        /* deepest — footer, utility bar */
  --char: #1B1C1F;       /* logo-wall charcoal — main dark ground */
  --char-2: #24252A;     /* raised surfaces on charcoal */
  --line-d: #34353B;     /* hairlines on charcoal */
  --steel: #4A4A4E;      /* ampersand gray */
  --mist: #A4A5AD;       /* secondary text on charcoal */
  --fg-d: #EDEBE7;       /* primary text on charcoal */
  --stone: #E8E5DF;      /* façade stone — light ground */
  --stone-2: #DCD8D0;    /* hairlines / fills on stone */
  --paper: #F5F3EF;      /* raised surfaces on stone */
  --fg-l: #1B1C1F;       /* primary text on stone */
  --muted-l: #5D5B57;    /* secondary text on stone */
  --blue: #5E74CF;       /* brand periwinkle */
  --blue-hi: #8395E3;    /* blue for text/marks on charcoal */
  --blue-deep: #4357B4;  /* blue for buttons + text on stone */
  --ok: #6FAF8C;
  --warn: #C9A25B;
  /* type */
  --f-display: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* scale */
  --t-xs: 0.75rem; --t-sm: 0.875rem; --t-md: 1rem; --t-lg: 1.1875rem;
  --t-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --t-h2: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --t-h1: clamp(2.75rem, 1.6rem + 5.2vw, 6rem);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --maxw: 1240px;
  --radius: 2px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--char); color: var(--fg-d);
  font-family: var(--f-body); font-size: var(--t-md); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--blue-deep); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue-deep); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.band { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.light { background: var(--stone); color: var(--fg-l); color-scheme: light; }
.dark { background: var(--char); color: var(--fg-d); }
.deep { background: var(--ink); color: var(--fg-d); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 300; letter-spacing: -0.01em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 400; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: var(--t-lg); color: var(--mist); max-width: 60ch; }
.light .lede { color: var(--muted-l); }
.caps { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.26em; font-size: var(--t-xs); }
.mono { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.accent { color: var(--blue-hi); }
.light .accent { color: var(--blue-deep); }

/* sheet label: title-block eyebrow — sheet no. + section name */
.sheet { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sheet .no { white-space: nowrap; flex-shrink: 0; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.06em; padding: 3px 7px; border: 1px solid var(--line-d); color: var(--mist); }
.light .sheet .no { border-color: var(--stone-2); color: var(--muted-l); background: var(--paper); }
.sheet .name { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.75rem; color: var(--blue-hi); }
.light .sheet .name { color: var(--blue-deep); }
.rule { width: 56px; height: 3px; background: var(--blue); border: 0; margin: 0; }

.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head > div { min-width: 0; max-width: 760px; }
.sec-head h2 + p { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius); cursor: pointer;
  font-family: var(--f-display); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--blue); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-ghost { border-color: rgba(237,235,231,.32); color: var(--fg-d); background: transparent; }
.btn-ghost:hover { border-color: var(--fg-d); }
.light .btn-ghost { border-color: rgba(27,28,31,.3); color: var(--fg-l); }
.light .btn-ghost:hover { border-color: var(--fg-l); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.75rem; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; color: var(--blue-hi); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.light .link-arrow { color: var(--blue-deep); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- utility bar + header ---------- */
.util { background: var(--ink); color: var(--mist); font-size: 0.75rem; }
.util .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-block: 9px; }
.util a { color: var(--fg-d); text-decoration: none; }
.util a:hover { color: var(--blue-hi); }
.util .caps { font-size: 0.6875rem; letter-spacing: 0.2em; }
.util .contact { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--f-mono); letter-spacing: 0.02em; }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(27,28,31,.94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line-d); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--fg-d); flex-shrink: 0; }
.brand svg { width: 64px; height: 40px; }
.brand .wm { display: flex; flex-direction: column; line-height: 1.1; }
.brand .wm b { font-family: var(--f-display); font-weight: 400; letter-spacing: 0.34em; font-size: 0.9375rem; }
.brand .wm span { font-family: var(--f-display); font-weight: 400; letter-spacing: 0.22em; font-size: 0.5625rem; color: var(--mist); text-transform: uppercase; margin-top: 4px; }
.mk-b { fill: var(--mk-b, var(--blue)); }
.mk-a { fill: var(--mk-a, #6A6A70); }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; min-width: 0; }
.nav a { font-family: var(--f-display); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg-d); border-bottom-color: var(--blue); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-d); background: transparent; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--fg-d); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--fg-d); transition: transform .2s; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { border-top: 1px solid var(--line-d); background: var(--char); }
.drawer .wrap { display: grid; gap: 2px; padding-block: 12px 20px; }
.drawer a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line-d); font-family: var(--f-display); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-d); text-decoration: none; }
.drawer .btn { margin-top: 16px; }
@media (max-width: 1320px) { .nav { gap: 16px; } .nav a { letter-spacing: 0.1em; } }
@media (max-width: 1180px) { .nav, .header-cta { display: none; } .menu-btn { display: inline-flex; } }
@media (min-width: 1181px) { .drawer { display: none !important; } }

/* ---------- photo backgrounds ---------- */
.has-photo { position: relative; overflow: hidden; isolation: isolate; }
.bgimg { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.bgimg img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.bgimg::after { content: ""; position: absolute; inset: 0; background: var(--ov, rgba(18,18,20,.82)); }

/* ---------- hero ---------- */
.hero { background: var(--ink); min-height: clamp(620px, 88vh, 920px); display: flex; align-items: flex-end; padding-block: clamp(120px, 16vh, 200px) clamp(40px, 6vw, 72px); }
.hero-bg { left: auto; right: 0; width: 66%; }
.hero-bg img { object-position: 42% 40%; }
.hero-bg { --ov: linear-gradient(90deg, var(--ink) 0%, rgba(18,18,20,.72) 16%, rgba(18,18,20,.18) 42%, rgba(18,18,20,0) 70%), linear-gradient(180deg, rgba(18,18,20,.2) 0%, rgba(18,18,20,0) 30%, rgba(18,18,20,.15) 62%, rgba(18,18,20,.85) 100%); }
.hero-inner { position: relative; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-copy { max-width: 720px; min-width: 0; }
.hero-copy h1 { max-width: 640px; }
.hero-copy .lede { max-width: 52ch; }
.hero .kicker { color: #C9CAD1; font-size: 0.6875rem; letter-spacing: 0.3em; line-height: 2; }
.hero .kicker em { font-style: normal; color: var(--blue-hi); padding: 0 2px; }
.hero h1 { margin-top: 18px; font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero h1 .accent { color: var(--blue-hi); }
.dim { display: flex; align-items: center; gap: 0; margin: 26px 0 22px; max-width: 440px; color: #B9BAC2; }
.dim b { flex: 1; height: 1px; background: currentColor; opacity: .5; }
.dim span { padding: 0 10px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .06em; }
.dim i { width: 1px; height: 11px; background: currentColor; opacity: .6; }
.hero .lede { color: #D3D4DA; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn-ghost { background: rgba(18,18,20,.35); }
.titleblock { display: grid; grid-template-columns: auto auto; background: rgba(18,18,20,.88); border: 1px solid var(--line-d); font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .06em; color: var(--mist); }
.titleblock div { padding: 7px 12px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.titleblock div:nth-child(2n) { border-right: 0; }
.titleblock div:nth-last-child(-n+2) { border-bottom: 0; }
.titleblock b { display: block; color: var(--fg-d); font-weight: 500; }
.hero-tb { flex-shrink: 0; }
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; padding-block: 0 48px; }
  .hero-tb { display: none; }
  .hero-bg { position: relative; inset: auto; width: 100%; z-index: 0; aspect-ratio: 1 / 1; max-height: 70vh; }
  .hero-bg img { position: absolute; inset: 0; object-position: 43% 30%; }
  .hero-bg { --ov: linear-gradient(180deg, rgba(18,18,20,.15) 0%, rgba(18,18,20,0) 40%, rgba(18,18,20,.7) 78%, var(--ink) 100%); }
  .hero-inner { margin-top: -88px; }
  .hero h1 { margin-top: 14px; }
}

/* ---------- visit the studio ---------- */
.visit { background: var(--ink); min-height: clamp(600px, 84vh, 860px); display: flex; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.visit-photo img { object-position: 40% 50%; }
.visit-photo { --ov: linear-gradient(90deg, rgba(18,18,20,0) 30%, rgba(18,18,20,.35) 60%, rgba(18,18,20,.6) 100%); }
.visit-inner { position: relative; width: 100%; display: flex; justify-content: flex-end; }
.visit-card { width: 100%; max-width: 500px; background: rgba(27,28,31,.93); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line-d); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; min-width: 0; }
.visit-card .sheet { margin-bottom: 0; }
.visit-card .lede { font-size: 1.0625rem; color: #C3C3C9; }
.visit-facts { margin: 0; display: grid; border-top: 1px solid var(--line-d); }
.visit-facts > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-d); }
.visit-facts dt { color: var(--mist); text-transform: uppercase; padding-top: 3px; }
.visit-facts dd { margin: 0; }
.visit-facts a { color: var(--fg-d); text-decoration: none; }
.visit-facts a:hover { color: var(--blue-hi); }
@media (max-width: 760px) {
  .visit { display: block; min-height: 0; padding-block: 0 56px; }
  .visit-photo { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; --ov: linear-gradient(180deg, transparent 60%, var(--ink)); }
  .visit-photo img { position: absolute; inset: 0; object-position: 42% 50%; }
  .visit-card { margin-top: -56px; position: relative; background: var(--char); }
}

/* photo bands behind content */
.proc .bgimg img { object-position: 50% 45%; }
.proc .bgimg { --ov: linear-gradient(90deg, rgba(18,18,20,.94) 30%, rgba(18,18,20,.78) 60%, rgba(18,18,20,.55)); }
.principals-bg img { object-position: 50% 30%; filter: grayscale(.2); }
.principals-bg { --ov: linear-gradient(180deg, rgba(27,28,31,.88), rgba(27,28,31,.95)); }
.contact-bg { --ov: linear-gradient(90deg, rgba(27,28,31,.84) 0%, rgba(27,28,31,.97) 42%, rgba(27,28,31,.98) 100%); }
.photo-hero { padding-block: clamp(96px, 14vw, 180px) clamp(44px, 6vw, 72px); }
.photo-hero .bgimg { --ov: linear-gradient(180deg, rgba(18,18,20,.45), rgba(18,18,20,.9) 75%, var(--char)); }
.photo-hero .bgimg img { object-position: 50% 40%; }
@media (max-width: 900px) { .proc .bgimg { --ov: rgba(18,18,20,.9); } }

/* sector strip */
.sectors { border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); background: var(--ink); }
.sectors ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sectors li { border-right: 1px solid var(--line-d); min-width: 0; }
.sectors li:last-child { border-right: 0; }
.sectors a { display: block; height: 100%; padding: 20px 18px 20px 0; text-decoration: none; color: var(--fg-d); transition: background .2s; }
.sectors li + li a { padding-left: 20px; }
.sectors a:hover strong { color: var(--blue-hi); }
.sectors strong { display: block; font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; transition: color .2s; }
.sectors span { display: block; margin-top: 4px; color: var(--mist); font-size: 0.8125rem; }
@media (max-width: 980px) {
  .sectors ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors li { border-bottom: 1px solid var(--line-d); }
  .sectors li:nth-child(2n) { border-right: 0; }
  .sectors li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .sectors a, .sectors li + li a { padding: 16px 12px 16px 0; }
  .sectors li:nth-child(2n) a { padding-left: 16px; }
}

/* sector rows */
.sector-list { border-top: 1px solid var(--line-d); }
.sector { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 24px clamp(28px, 5vw, 72px); padding-block: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line-d); }
.s-main { display: grid; gap: 14px; align-content: start; min-width: 0; }
.s-main h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 300; }
.s-main > p { color: #C3C3C9; max-width: 48ch; }
.s-pri { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 0.9375rem; }
.s-pri li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; }
.s-pri li::before { content: ""; width: 8px; height: 1px; background: var(--blue-hi); margin-top: 12px; }
.s-main .link-arrow { justify-self: start; margin-top: 6px; background: none; border: 0; padding: 0; cursor: pointer; }
.s-types { display: grid; gap: 12px; align-content: start; min-width: 0; }
.tags-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags-list li { padding: 7px 12px; border: 1px solid var(--line-d); background: var(--char-2); font-size: 0.875rem; color: var(--fg-d); }
@media (max-width: 860px) { .sector { grid-template-columns: 1fr; } }

/* ---------- services ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; cursor: pointer;
  border: 1px solid var(--stone-2); border-radius: 100px; background: var(--paper); color: var(--fg-l);
  font-family: var(--f-display); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.chip:hover { border-color: var(--fg-l); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--fg-l); color: var(--stone); border-color: var(--fg-l); }
.dark .chip, .modal .chip { background: transparent; border-color: var(--line-d); color: var(--fg-d); }
.dark .chip:hover, .modal .chip:hover { border-color: var(--mist); }
.dark .chip[aria-pressed="true"], .modal .chip[aria-pressed="true"], .modal .chip[aria-checked="true"] { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--stone-2); border: 1px solid var(--stone-2); }
.svc { background: var(--paper); padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; transition: background .2s; }
.svc[hidden] { display: none !important; }
.svc:hover { background: #FBFAF7; }
.svc .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.svc .code { font-family: var(--f-mono); font-size: 0.6875rem; color: var(--muted-l); letter-spacing: .05em; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 4px 10px; font-family: var(--f-mono); font-size: 0.6875rem; color: var(--blue-deep); text-transform: uppercase; letter-spacing: .04em; }
.svc h3 { font-size: 1.5rem; }
.svc p { color: var(--muted-l); font-size: 0.9375rem; }
.svc ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--stone-2); display: grid; gap: 7px; font-size: 0.875rem; }
.svc li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; }
.svc li::before { content: ""; width: 8px; height: 1px; background: var(--blue-deep); margin-top: 11px; }
.svc .foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: center; }
.svc .foot .mono { color: var(--muted-l); }
.svc .btn { min-height: 40px; }
.empty-note { grid-column: 1 / -1; background: var(--paper); padding: 28px; color: var(--muted-l); }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } .svc { padding: 26px 20px; } }

/* ---------- calendar ---------- */
.cal-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .cal-layout { grid-template-columns: 1fr; } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.8125rem; color: var(--mist); margin-bottom: 16px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border: 1px solid var(--line-d); display: inline-block; }
.legend .l-open { background: var(--char-2); border-color: #4A4B53; }
.legend .l-closed { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--line-d) 3px 4px); }
.legend .l-booked { background: #3A2F22; border-color: var(--warn); }
.legend .l-pick { background: var(--blue-deep); border-color: var(--blue-deep); }
.cal { border: 1px solid var(--line-d); background: var(--char-2); }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line-d); }
.cal-head h3 { font-size: 1.125rem; font-weight: 400; letter-spacing: .02em; }
.cal-nav { display: flex; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--line-d); background: transparent; color: var(--fg-d); border-radius: var(--radius); cursor: pointer; font-size: 1rem; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover:not(:disabled) { border-color: var(--mist); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-grid .dow { padding: 10px 0; text-align: center; font-family: var(--f-mono); font-size: 0.6875rem; color: var(--mist); border-bottom: 1px solid var(--line-d); letter-spacing: .06em; }
.day {
  position: relative; aspect-ratio: 1 / 0.86; min-height: 44px; border: 0; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d);
  background: transparent; color: var(--fg-d); cursor: pointer; font-family: var(--f-mono); font-size: 0.8125rem; font-variant-numeric: tabular-nums;
  display: flex; align-items: flex-start; justify-content: flex-start; padding: 8px 9px; text-align: left;
}
.day:nth-child(7n) { border-right: 0; }
.day:hover:not(:disabled) { background: #2C2D33; }
.day.blank { cursor: default; background: transparent; }
.day.closed { background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(52,53,59,.7) 5px 6px); color: #6B6C73; cursor: not-allowed; }
.day.past { color: #55565C; cursor: not-allowed; }
.day.booked { background: #2E271E; color: var(--warn); cursor: not-allowed; }
.day.today::after { content: ""; position: absolute; left: 9px; bottom: 8px; width: 14px; height: 2px; background: var(--blue-hi); }
.day.picked { background: var(--blue-deep); color: #fff; }
.day.picked:hover { background: var(--blue); }
.day .ord { position: absolute; right: 7px; bottom: 6px; font-size: 0.625rem; padding: 0 4px; background: rgba(255,255,255,.18); }
.cal-side { display: grid; gap: 20px; min-width: 0; }
.cal-side .picks { border: 1px solid var(--line-d); padding: 18px 18px 6px; }
.cal-side ol { list-style: none; margin: 10px 0 0; padding: 0; }
.cal-side ol li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-d); font-size: 0.9375rem; }
.cal-side ol li .mono { color: var(--mist); }
.cal-side .none { color: var(--mist); padding: 10px 0 14px; font-size: 0.9375rem; }
.cal-side .note { color: var(--mist); font-size: 0.875rem; }
.text-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--blue-hi); font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; }
.modal .cal .day { aspect-ratio: auto; min-height: 42px; padding: 6px 7px; }

/* ---------- process (how we work) ---------- */
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.track { background: var(--paper); border: 1px solid var(--stone-2); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.track .caps { color: var(--blue-deep); }
.track h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 300; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--stone-2); counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--f-mono); font-size: 0.8125rem; width: 32px; height: 32px; border: 1px solid var(--fg-l); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.steps b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.0625rem; margin-bottom: 4px; }
.steps p { color: var(--muted-l); font-size: 0.9375rem; }
.track .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) { .tracks { grid-template-columns: 1fr; } }

/* ---------- procurement band ---------- */
.proc { background: var(--ink); }
.proc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.cats div { background: rgba(27,28,31,.92); padding: 20px; min-width: 0; }
.cats b { display: block; font-family: var(--f-display); font-weight: 500; letter-spacing: .02em; font-size: 1.0625rem; }
.cats span { display: block; color: var(--mist); font-size: 0.875rem; margin-top: 4px; }
.callout { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; border: 1px solid var(--line-d); padding: 22px 24px; background: rgba(27,28,31,.85); }
.callout p { max-width: 52ch; color: var(--mist); }
.callout strong { color: var(--fg-d); font-weight: 600; }
@media (max-width: 900px) { .proc-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cats { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.shot { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line-d); background: var(--char-2); cursor: zoom-in; padding: 0; text-align: left; color: inherit; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.03); }
.shot figcaption, .shot .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(to top, rgba(18,18,20,.88), transparent); display: flex; justify-content: space-between; gap: 10px; font-size: 0.8125rem; color: var(--fg-d); }
.shot .cap .mono { color: var(--mist); }
.g1 { grid-column: span 4; aspect-ratio: 3 / 2; }
.g2 { grid-column: span 2; aspect-ratio: auto; }
.g3, .g4, .g5 { grid-column: span 2; aspect-ratio: 5 / 4; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g1 { grid-column: span 2; } .g2, .g3, .g4, .g5 { grid-column: span 1; aspect-ratio: 4 / 5; }
  .shot .cap .mono { display: none; }
}
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12,12,14,.96); display: grid; grid-template-rows: auto 1fr auto; padding: calc(12px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.lightbox .lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--mist); }
.lightbox .lb-img { min-height: 0; display: flex; align-items: center; justify-content: center; padding: 12px 0; }
.lightbox img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.lightbox .lb-bot { display: flex; justify-content: center; gap: 10px; }

/* ---------- partners ---------- */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.partner { background: var(--paper); border: 1px solid var(--stone-2); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.partner .mono { color: var(--muted-l); text-transform: uppercase; }
.partner h3 { font-size: 1.375rem; }
.partner p { color: var(--muted-l); font-size: 0.9375rem; }
.partner .link-arrow { margin-top: auto; }
.partner.invite { background: transparent; border-style: dashed; border-color: #B9B4AA; }
@media (max-width: 900px) { .partners { grid-template-columns: 1fr; } }

/* ---------- principals ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.person { border: 1px solid var(--line-d); background: var(--char-2); display: grid; grid-template-columns: 168px minmax(0, 1fr); min-width: 0; }
.person .mono-tile { background: var(--ink); border-right: 1px solid var(--line-d); display: flex; align-items: center; justify-content: center; position: relative; min-height: 200px; }
.person .mono-tile span { font-family: var(--f-display); font-weight: 300; font-size: 6rem; line-height: 1; color: var(--blue-hi); }
.person .mono-tile small { position: absolute; left: 10px; bottom: 9px; font-family: var(--f-mono); font-size: 0.625rem; color: var(--mist); }
.person .body { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.person .role { color: var(--blue-hi); }
.person h3 { font-size: 1.625rem; font-weight: 300; }
.person p { color: #C3C3C9; font-size: 0.9375rem; }
.person blockquote { margin: 4px 0 0; padding-left: 16px; border-left: 2px solid var(--blue); font-family: var(--f-display); font-weight: 300; font-size: 1.0625rem; color: var(--fg-d); }
.person blockquote cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--f-mono); font-size: 0.6875rem; color: var(--mist); }
.person .reach { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--f-mono); font-size: 0.8125rem; padding-top: 14px; border-top: 1px solid var(--line-d); margin-top: auto; }
.person .reach a { color: var(--fg-d); text-decoration: none; }
.person .reach a:hover { color: var(--blue-hi); }
.ph { background: rgba(201,162,91,.16); outline: 1px dashed rgba(201,162,91,.55); outline-offset: 1px; padding: 0 3px; }
@media (max-width: 1000px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .person { grid-template-columns: 1fr; } .person .mono-tile { min-height: 140px; border-right: 0; border-bottom: 1px solid var(--line-d); } .person .mono-tile span { font-size: 4.5rem; } }

/* ---------- approach ---------- */
.approach-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); }
.approach-grid .copy { display: grid; gap: 20px; font-size: 1.0625rem; color: var(--muted-l); max-width: 62ch; }
.approach-grid .copy p:first-child { color: var(--fg-l); font-size: 1.25rem; line-height: 1.55; }
.motto { margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--stone-2); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: baseline; }
.motto .caps { color: var(--fg-l); font-size: 0.8125rem; }
.motto .caps em { font-style: normal; color: var(--blue-deep); }
@media (max-width: 860px) { .approach-grid { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line-d); }
.contact-list > div { padding: 18px 0; border-bottom: 1px solid var(--line-d); display: grid; gap: 4px; }
.contact-list .mono { color: var(--mist); text-transform: uppercase; }
.contact-list a { color: var(--fg-d); text-decoration: none; font-size: 1.0625rem; }
.contact-list a:hover { color: var(--blue-hi); }
form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .fs-label { font-family: var(--f-display); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist); }
.field label .req { color: var(--blue-hi); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--line-d); background: var(--char-2); color: var(--fg-d); font-size: 1rem;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-hi); box-shadow: 0 0 0 3px rgba(131,149,227,.18); }
.field input::placeholder, .field textarea::placeholder { color: #6E6F77; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #D27A6E; }
.form-stack { display: grid; gap: 16px; }
.form-note { font-size: 0.8125rem; color: var(--mist); }
.form-note a { color: var(--blue-hi); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 0.875rem; color: #C3C3C9; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.check a { color: var(--blue-hi); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border: 1px solid var(--line-d); font-size: 0.9375rem; }
.form-status.ok { border-color: var(--ok); color: #CFE6D9; background: rgba(111,175,140,.08); }
.form-status.err { border-color: #D27A6E; color: #F0D2CD; background: rgba(210,122,110,.08); }

/* ---------- project request modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: rgba(10,10,12,.78); padding: calc(24px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal-card { width: 100%; max-width: 1080px; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--char); border: 1px solid var(--line-d); position: relative; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line-d); position: sticky; top: 0; background: var(--char); z-index: 2; }
.modal-head h2 { font-size: 1.625rem; }
.modal-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.modal-main { padding: 22px; display: grid; gap: 28px; min-width: 0; }
.modal-side { padding: 22px; border-left: 1px solid var(--line-d); background: var(--char-2); min-width: 0; }
.modal-side .sticky { position: sticky; top: 92px; display: grid; gap: 16px; }
.fs { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.fs legend { padding: 0; margin-bottom: 12px; font-family: var(--f-display); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-d); }
.fs legend .mono { color: var(--blue-hi); margin-right: 8px; font-size: 0.75rem; }
.fs[data-error] legend { color: #F0B4AA; }
.fs[data-error] .chips { outline: 1px dashed #D27A6E; outline-offset: 6px; }
.fs-error { margin: -4px 0 4px; color: #F0B4AA; font-size: 0.875rem; }
.modal .fs { scroll-margin-top: 96px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stepper { display: flex; align-items: stretch; border: 1px solid var(--line-d); width: max-content; max-width: 100%; }
.stepper button { width: 48px; background: transparent; border: 0; color: var(--fg-d); font-size: 1.25rem; cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--char-2); }
.stepper button:disabled { opacity: .35; }
.stepper output { min-width: 150px; padding: 12px 10px; text-align: center; border-left: 1px solid var(--line-d); border-right: 1px solid var(--line-d); font-family: var(--f-mono); font-size: 1rem; font-variant-numeric: tabular-nums; }
.summary dl { margin: 0; display: grid; }
.summary dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-d); font-size: 0.9375rem; }
.summary dt { font-family: var(--f-mono); font-size: 0.6875rem; color: var(--mist); text-transform: uppercase; padding-top: 3px; }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.summary .fee { font-size: 0.875rem; color: var(--mist); }
.summary .fee b { color: var(--fg-d); font-weight: 500; }
@media (max-width: 860px) {
  .modal { padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
  .modal-card { border: 0; height: 100%; max-height: none; }
  .modal-head { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .modal-body { grid-template-columns: 1fr; }
  .modal-main, .modal-side { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .modal-side { border-left: 0; border-top: 1px solid var(--line-d); }
}
body.locked { overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--mist); border-top: 1px solid var(--line-d); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 64px 48px; }
.foot-grid .foot-h { font-family: var(--f-display); font-weight: 500; font-size: 0.6875rem; line-height: 1.4; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-d); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 0.875rem; }
.foot-grid a { color: var(--mist); text-decoration: none; }
.foot-grid a:hover { color: var(--fg-d); }
.foot-brand p { margin-top: 18px; font-size: 0.875rem; max-width: 34ch; }
.foot-brand .social { margin-top: 18px; display: inline-flex; flex-direction: column; border: 1px solid var(--line-d); padding: 10px 14px; text-decoration: none; }
.foot-brand .social b { font-family: var(--f-display); font-weight: 500; letter-spacing: .2em; font-size: .6875rem; color: var(--fg-d); }
.foot-legal { border-top: 1px solid var(--line-d); }
.foot-legal .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-block: 18px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .06em; text-transform: uppercase; }
.foot-legal a { color: var(--mist); text-decoration: none; }
.foot-legal a:hover { color: var(--fg-d); }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- development page ---------- */
.hero-sub { min-height: clamp(540px, 74vh, 780px); }
.hero-sub h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); }
.hero-sub .sheet { margin-bottom: 0; }
.stats { background: var(--ink); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.stats dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats dl > div { padding: 22px 20px 24px 0; border-right: 1px solid var(--line-d); min-width: 0; }
.stats dl > div + div { padding-left: 24px; }
.stats dl > div:last-child { border-right: 0; }
.stats dt { font-family: var(--f-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mist); }
.stats dd { margin: 6px 0 0; }
.stats b { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.625rem); line-height: 1.1; color: var(--fg-d); font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 4px; color: var(--mist); font-size: 0.8125rem; }
@media (max-width: 860px) {
  .stats dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats dl > div, .stats dl > div + div { padding: 18px 12px 18px 0; }
  .stats dl > div:nth-child(2n) { border-right: 0; padding-left: 16px; }
  .stats dl > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-d); }
}
.offer { gap: 18px; }
.offer .ideal { display: grid; gap: 8px; }
.offer .ideal p { color: var(--fg-l); font-size: 1rem; }
.light .fs-label { color: var(--muted-l); }
.light .s-pri li::before { background: var(--blue-deep); }
.light .tags-list li { background: var(--stone); border-color: var(--stone-2); color: var(--fg-l); }
.person-wide { grid-template-columns: 300px minmax(0, 1fr); }
.person-wide .mono-tile span { font-size: 5.5rem; letter-spacing: -0.02em; }
.person-wide .visit-facts { margin-top: 4px; }
/* headshot over the monogram; monogram shows if the photo can't load */
.photo-tile { overflow: hidden; }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 22%; }
.photo-tile small { z-index: 1; background: rgba(18,18,20,.75); padding: 2px 6px; }
@media (max-width: 560px) { .person-wide .photo-tile { aspect-ratio: 1 / 1; max-height: 380px; } }
@media (max-width: 560px) { .person-wide { grid-template-columns: 1fr; } .person-wide .mono-tile { min-height: 170px; } .person-wide .mono-tile span { font-size: 4rem; margin-bottom: 14px; } }

.proj-wrap { overflow-x: auto; border: 1px solid var(--stone-2); background: var(--paper); }
.proj { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 640px; }
.proj th, .proj td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--stone-2); vertical-align: top; }
.proj thead th { font-family: var(--f-mono); font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-l); background: var(--stone); }
.proj tbody th { font-family: var(--f-display); font-weight: 500; font-size: 1.0625rem; }
.proj tbody tr:last-child th, .proj tbody tr:last-child td { border-bottom: 0; }
.proj td:nth-child(3) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.proj .status { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 0.6875rem; font-weight: 400; color: var(--blue-deep); text-transform: uppercase; letter-spacing: .04em; }
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: c; border-top: 1px solid var(--line-d); }
.chain li { counter-increment: c; padding: 28px 28px 8px 0; display: grid; gap: 8px; align-content: start; position: relative; min-width: 0; }
.chain li + li { padding-left: 28px; border-left: 1px solid var(--line-d); }
.chain li::before { content: counter(c); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--blue-hi); color: var(--blue-hi); font-family: var(--f-mono); font-size: 0.8125rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.chain b { font-family: var(--f-display); font-weight: 400; font-size: 1.375rem; }
.chain p { color: var(--mist); }
@media (max-width: 860px) { .chain { grid-template-columns: 1fr; } .chain li, .chain li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line-d); } }

@media (max-width: 640px) {
  .proj-wrap { overflow: visible; border: 0; background: transparent; }
  .proj { min-width: 0; }
  .proj thead { display: none; }
  .proj, .proj tbody, .proj tr, .proj th, .proj td { display: block; }
  .proj tr { background: var(--paper); border: 1px solid var(--stone-2); padding: 14px 16px; margin-bottom: 10px; }
  .proj th, .proj td { padding: 0; border: 0; }
  .proj tbody th { margin-bottom: 8px; }
  .proj td { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 4px 0; white-space: normal !important; }
  .proj td::before { content: attr(data-label); font-family: var(--f-mono); font-size: 0.6875rem; text-transform: uppercase; color: var(--muted-l); padding-top: 3px; }
}

/* ---------- blueprint sheets (team profiles) ---------- */
.bp {
  --bp: #1F2E66; --bp-2: #263877; --bp-ink: #EEF1FC; --bp-dim: #B4BFE8; --bp-line: rgba(214,223,255,.22);
  background-color: var(--bp); color: var(--bp-ink); position: relative;
  background-image:
    linear-gradient(rgba(214,223,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,223,255,.10) 1px, transparent 1px),
    linear-gradient(rgba(214,223,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,223,255,.045) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
section.bp { padding-block: clamp(64px, 8vw, 112px); }
.bp .sheet .no { border-color: var(--bp-line); color: var(--bp-dim); background: transparent; }
.bp .sheet .name, .bp .caps.role { color: #C9D2FF; }
.bp .lede, .bp p { color: var(--bp-dim); }
.bp-nick { color: #AFC0FF; font-weight: 300; }
.bp h1, .bp h2, .bp h3 { color: var(--bp-ink); }
.btn-light { background: var(--bp-ink); color: var(--bp); }
.btn-light:hover { background: #fff; }
.bp .btn-ghost { border-color: rgba(238,241,252,.4); color: var(--bp-ink); background: transparent; }
.bp .btn-ghost:hover { border-color: var(--bp-ink); }
.bp-dims { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.bp-dims > div { min-width: 0; padding-top: 14px; position: relative; }
.bp-dims > div::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--bp-line); }
.bp-dims > div::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 9px; background: var(--bp-dim); }
.bp-dims dt { font-family: var(--f-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bp-dim); }
.bp-dims dd { margin: 4px 0 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem); line-height: 1.1; color: var(--bp-ink); font-variant-numeric: tabular-nums; }
.bp .titleblock { background: rgba(20,30,70,.85); border-color: var(--bp-line); color: var(--bp-dim); }
.bp .titleblock div { border-color: var(--bp-line); }
.bp .titleblock b { color: var(--bp-ink); }
.bp .tags-list li { background: rgba(255,255,255,.06); border-color: var(--bp-line); color: var(--bp-ink); }
.bp .fs-label { color: var(--bp-dim); }
.bp blockquote { margin: 0; padding-left: 16px; border-left: 2px solid #AFC0FF; font-family: var(--f-display); font-weight: 300; font-size: 1.125rem; color: var(--bp-ink); }
.bp blockquote cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--f-mono); font-size: 0.6875rem; color: var(--bp-dim); }
.bp .reach { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--f-mono); font-size: 0.8125rem; }
.bp .reach a { color: var(--bp-ink); text-decoration: none; }
.bp .reach a:hover { text-decoration: underline; }
.bp :focus-visible { outline-color: #fff; }

/* profile hero sheet */
.bp-hero { padding-block: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--bp-line); }
.bp-sheet { position: relative; border: 1px solid var(--bp-line); padding: clamp(24px, 4vw, 56px); padding-bottom: clamp(80px, 9vw, 104px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.bp-sheet::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(214,223,255,.1); pointer-events: none; }
.bp-hero h1 { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem); margin-top: 14px; }
.bp-role { margin-top: 12px; font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; font-size: .8125rem; color: #C9D2FF !important; }
.bp-hero .lede { margin-top: 20px; color: #D3DAF5; }
.bp-call { margin-top: 18px; align-items: baseline; gap: 12px !important; font-size: 1rem !important; }
.bp-call .mono { color: var(--bp-dim); font-size: .6875rem; }
.bp-tb { position: absolute; right: -1px; bottom: -1px; }
@media (max-width: 860px) {
  .bp-sheet { grid-template-columns: 1fr; padding-bottom: 24px; }
  .bp-tb { position: static; margin-top: 4px; }
}

/* home card */
.people:has(.bp-card) { grid-template-columns: 1fr; }
.bp-card { border: 1px solid var(--bp-line); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3.5vw, 44px); padding-bottom: clamp(72px, 7vw, 84px); }
.bp-card-main, .bp-card-side { display: grid; gap: 16px; align-content: start; min-width: 0; }
.bp-card h3 { font-size: clamp(1.875rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 300; }
.bp-card p { font-size: 0.9375rem; color: #CDD5F3; }
.bp-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.bp-mini ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.bp-mini li { padding: 9px 0; border-top: 1px solid var(--bp-line); font-size: 0.9375rem; display: grid; gap: 2px; }
.bp-mini li span { font-family: var(--f-mono); font-size: 0.6875rem; color: var(--bp-dim); }
.bp-card .bp-tb { grid-template-columns: auto auto; }
@media (max-width: 860px) { .bp-card { grid-template-columns: 1fr; padding-bottom: 24px; } .bp-card .bp-tb { justify-self: start; } }
.people .person { grid-template-columns: 168px minmax(0, 1fr); }
@media (max-width: 560px) { .people .person { grid-template-columns: 1fr; } }

/* profile page parts */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-d); }
.timeline li { padding: 24px 24px 8px 0; display: grid; gap: 8px; align-content: start; position: relative; min-width: 0; }
.timeline li + li { padding-left: 24px; border-left: 1px solid var(--line-d); }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--char); border: 1px solid var(--blue-hi); }
.timeline li + li::before { left: 24px; }
.timeline li.now::before { background: var(--blue-hi); }
.timeline .mono { color: var(--blue-hi); }
.timeline b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; line-height: 1.25; }
.timeline p { color: var(--mist); font-size: 0.9375rem; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-d); } .timeline li, .timeline li + li { padding: 4px 0 26px 22px; border-left: 0; } .timeline li::before, .timeline li + li::before { top: 9px; left: -5px; } }
.does { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--stone-2); border: 1px solid var(--stone-2); }
.does > div { background: var(--paper); padding: 24px; display: grid; gap: 8px; align-content: start; }
.does b { font-family: var(--f-display); font-weight: 500; font-size: 1.125rem; }
.does p { color: var(--muted-l); font-size: 0.9375rem; }
@media (max-width: 900px) { .does { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .does { grid-template-columns: 1fr; } }
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(24px, 4vw, 48px); }
.kit > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr; } }
.bp-table { border-color: var(--bp-line); background: rgba(16,25,60,.55); }
.bp-table .proj th, .bp-table .proj td { border-color: var(--bp-line); color: var(--bp-ink); }
.bp-table .proj thead th { background: rgba(16,25,60,.8); color: var(--bp-dim); }
.bp-table .proj td { color: #D3DAF5; }
@media (max-width: 640px) { .bp-table { background: transparent; } .bp-table .proj tr { background: rgba(16,25,60,.75); border-color: var(--bp-line); } .bp-table .proj td::before { color: var(--bp-dim); } }

/* ---------- projects tab ---------- */
.pr-sheet { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); padding-bottom: clamp(24px, 4vw, 56px); }
.pr-count { color: var(--muted-l); margin: 0 0 14px; text-transform: uppercase; }
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.pr-card { background: var(--paper); border: 1px solid var(--stone-2); display: flex; flex-direction: column; min-width: 0; }
.pr-card[hidden] { display: none !important; }
.pr-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; overflow: hidden; background: var(--char-2); }
button.pr-media { cursor: zoom-in; }
a.pr-media:hover img { transform: scale(1.03); }
a.pr-media:focus-visible { outline-offset: -3px; }
.pr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
button.pr-media:hover img { transform: scale(1.03); }
.pr-photos { position: absolute; right: 10px; bottom: 10px; background: rgba(18,18,20,.82); color: var(--fg-d); padding: 3px 8px; }
.pr-plan {
  background-color: #1F2E66; color: #EEF1FC; display: grid; align-content: end; gap: 4px; padding: 18px;
  background-image: linear-gradient(rgba(214,223,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(214,223,255,.10) 1px, transparent 1px), linear-gradient(rgba(214,223,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(214,223,255,.045) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
}
.pr-plan::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(214,223,255,.2); pointer-events: none; }
.pr-plan .mono { position: absolute; top: 18px; left: 18px; color: #B4BFE8; font-size: .6875rem; }
.pr-plan b { font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1; }
.pr-plan i { font-style: normal; font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: #B4BFE8; }
.pr-body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pr-tag { color: var(--blue-deep); text-transform: uppercase; font-size: .6875rem; }
.pr-body h3 { font-size: 1.25rem; font-weight: 400; line-height: 1.25; }
.pr-body p { color: var(--muted-l); font-size: .9375rem; }
.pr-meta { margin: 4px 0 0; display: grid; border-top: 1px solid var(--stone-2); }
.pr-meta div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--stone-2); font-size: .875rem; }
.pr-meta dt { font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; color: var(--muted-l); padding-top: 2px; }
.pr-meta dd { margin: 0; font-variant-numeric: tabular-nums; }
.pr-credit { margin-top: auto; padding-top: 6px; color: var(--muted-l); font-size: .6875rem; text-transform: uppercase; }
@media (max-width: 1000px) { .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pr-grid { grid-template-columns: 1fr; } .pr-sheet { grid-template-columns: 1fr; } .pr-media { aspect-ratio: 3 / 2; } }

/* ---------- portfolio ---------- */
.pf-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.pf-card { display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit; min-width: 0; }
.pf-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--stone-2); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pf-card:hover img { transform: translateY(-3px); }
.pf-card .mono { color: var(--blue-deep); text-transform: uppercase; margin-top: 6px; }
.pf-card b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; line-height: 1.25; }
.pf-card .pf-meta { color: var(--muted-l); font-size: 0.875rem; }
.dark .pf-card img, .deep .pf-card img { border-color: var(--line-d); }
.dark .pf-card .mono, .deep .pf-card .mono { color: var(--blue-hi); }
.dark .pf-card .pf-meta, .deep .pf-card .pf-meta { color: var(--mist); }
@media (max-width: 980px) { .pf-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pf-index { grid-template-columns: 1fr; } }
.pf-project { scroll-margin-top: 80px; }
.pf-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px clamp(28px, 5vw, 72px); align-items: start; }
.pf-title h2 { font-size: clamp(1.875rem, 1.3rem + 2vw, 3rem); }
.pf-place { margin-top: 12px; font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; color: var(--blue-hi); }
.pf-title .lede { margin-top: 16px; }
.pf-facts { display: grid; gap: 22px; padding-top: 6px; }
.pf-facts > div { display: grid; gap: 10px; }
.pf-facts .s-pri { color: #D3D4DA; }
@media (max-width: 860px) { .pf-head { grid-template-columns: 1fr; } }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: clamp(28px, 4vw, 44px); }
.pshot { aspect-ratio: 4 / 3; }
.pshot.lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.pgrid.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgrid.n4 .pshot.lead { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
.pshot .cap { font-size: 0.8125rem; }
@media (max-width: 700px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pshot.lead { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .pgrid.n4 .pshot.lead { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .pgrid:not(.n4) > .pshot:last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .pgrid.n4 > .pshot:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
.pf-credit { background: var(--ink); border-top: 1px solid var(--line-d); }
.pf-credit .wrap { padding-block: 18px; }
.pf-credit p { color: var(--mist); font-size: 0.75rem; }

/* project index: photo cards */
.pr-card .pr-media.shot { border: 0; background: var(--char-2); }
.pr-card .pr-media.shot .cap { padding: 22px 12px 10px; font-size: 0.8125rem; }
.pr-card .pr-media.shot .cap .mono { color: var(--fg-d); opacity: .8; }
.pr-meta dd { overflow-wrap: anywhere; }
.pr-credit { display: grid; gap: 3px; }
.pr-photo-credit { text-transform: none; letter-spacing: 0; color: var(--muted-l); }
.pr-photo-credit a { color: var(--blue-deep); text-decoration: none; }
.pr-photo-credit a:hover { text-decoration: underline; }
.pf-credit a { color: var(--blue-hi); }

/* ---------- inner pages ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line-d); }
.page-hero h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.75rem); margin-top: 18px; }
.page-hero .lede { margin-top: 22px; }
.prose { max-width: 70ch; display: grid; gap: 18px; font-size: 1rem; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 22px; }
.prose h3 { margin-top: 8px; font-size: 1.125rem; font-weight: 500; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose a { color: var(--blue-deep); }
.light .prose { color: #2E2F33; }
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--stone-2); border: 1px solid var(--stone-2); counter-reset: ph; }
.phases li { background: var(--paper); padding: 24px; counter-increment: ph; display: grid; gap: 8px; align-content: start; }
.phases li::before { content: "PH-0" counter(ph); font-family: var(--f-mono); font-size: 0.6875rem; color: var(--blue-deep); letter-spacing: .06em; }
@media (max-width: 900px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .phases { grid-template-columns: 1fr; } }
.phases b { font-family: var(--f-display); font-weight: 500; font-size: 1.125rem; }
.phases p { color: var(--muted-l); font-size: 0.9375rem; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.values > div { padding: 22px 0; border-top: 1px solid var(--line-d); display: grid; gap: 6px; }
.values b { font-family: var(--f-display); font-weight: 400; font-size: 1.375rem; }
.values p { color: var(--mist); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.cta-band { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }

@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: 10px; }
  .callout .btn, .track .btn { width: 100%; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .32s; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
  .hero-bg img { animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- client brand wall (development) ---------- */
.brand-wall { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0 1px 1px 0; display: flex; flex-wrap: wrap; justify-content: center; }
.brand-wall li { flex: 0 0 calc(100% / 6); min-height: 128px; display: flex; align-items: center; justify-content: center; padding: 20px 18px; border: 1px solid var(--line-d); margin: 0 -1px -1px 0; }
.brand-wall img { max-width: 100%; height: auto; opacity: .82; transition: opacity .2s; }
.brand-wall li:hover img { opacity: 1; }
.brand-more { margin-top: 20px; color: var(--mist); font-size: var(--t-sm); line-height: 1.6; }
.brand-more .mono { color: var(--blue-hi); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; margin-right: 10px; }
@media (max-width: 1100px) { .brand-wall li { flex-basis: calc(100% / 4); } }
@media (max-width: 760px) { .brand-wall li { flex-basis: calc(100% / 3); min-height: 104px; } }
@media (max-width: 520px) { .brand-wall li { flex-basis: 50%; min-height: 92px; padding: 16px 14px; } .brand-wall img { width: auto; max-width: 74%; max-height: 40px; } }

/* ---------- team headshots (matching 4:5 portraits) ---------- */
.bp-head { display: flex; align-items: flex-end; gap: clamp(18px, 2.4vw, 28px); margin-bottom: 4px; }
.bp-head > div { display: grid; gap: 10px; min-width: 0; }
.bp-photo { margin: 0; flex: 0 0 200px; aspect-ratio: 4 / 5; border: 1px solid var(--bp-line); padding: 6px; background: rgba(255,255,255,.04); }
.bp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.people .person.person-wide { grid-template-columns: 200px minmax(0, 1fr); }
.person-wide .photo-tile { aspect-ratio: 4 / 5; min-height: 0; align-self: start; }
.person-wide .photo-tile img { object-position: 50% 50%; }
@media (max-width: 560px) {
  .bp-head { flex-direction: column; align-items: flex-start; }
  .bp-photo { flex-basis: auto; width: 160px; }
  .people .person.person-wide { grid-template-columns: 1fr; }
  .person-wide .photo-tile { width: 160px; aspect-ratio: 4 / 5; max-height: none; margin: 22px 0 0 22px; border: 1px solid var(--line-d); }
}

/* ---------- Justin's card: key numbers beside the bio (charcoal "dimension" style) ---------- */
.people .person.person-wide { grid-template-columns: 200px minmax(0, 1.3fr) minmax(0, 1fr); }
.jr-dims { margin: 0; padding: 26px 26px 24px; border-left: 1px solid var(--line-d); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; align-content: center; }
.jr-dims > div { min-width: 0; padding-top: 14px; position: relative; }
.jr-dims > div::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line-d); }
.jr-dims > div::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 9px; background: var(--blue-hi); }
.jr-dims dt { font-family: var(--f-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mist); }
.jr-dims dd { margin: 4px 0 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem); line-height: 1.1; color: var(--fg-d); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 1100px) {
  .people .person.person-wide { grid-template-columns: 200px minmax(0, 1fr); }
  .jr-dims { grid-column: 2; border-left: 0; border-top: 1px solid var(--line-d); padding-top: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) { .jr-dims { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .people .person.person-wide { grid-template-columns: 1fr; }
  .jr-dims { grid-column: 1; padding: 20px 22px 24px; }
}
@media (min-width: 1101px) {
  .person-wide .photo-tile { aspect-ratio: auto; align-self: stretch; min-height: 250px; }
  .person-wide .photo-tile img { object-position: 50% 30%; }
}

/* =========================================================
   Partner pages: category list (gc-*) and partner profile (pp-*)
   Each partner sets --partner (its brand colour) on <main> / its card.
   ========================================================= */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mist); margin-bottom: 18px; }
.crumbs a { color: var(--fg-d); text-decoration: none; border-bottom: 1px solid rgba(237,235,231,.3); }
.crumbs a:hover { border-color: var(--fg-d); }
.crumbs [aria-current] { color: var(--blue-hi); }

/* profile hero */
.pp-logo { margin: 4px 0 22px; }
.pp-logo img { display: block; width: clamp(220px, 30vw, 320px); height: auto; }
.pp-hero h1 { max-width: 15ch; }
.pp-motto { margin-top: 14px; font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; font-size: .8125rem; color: var(--fg-d); display: flex; align-items: center; gap: 12px; }
.pp-motto::before { content: ""; width: 28px; height: 3px; background: var(--partner, var(--blue)); }
.partner-page .stats dl > div { position: relative; }
.partner-page .stats dl > div::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--partner, var(--blue)); }
.partner-page .stats dl > div + div::before { left: 24px; }

/* about + company structure */
.pp-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pp-copy { margin-top: 18px; display: grid; gap: 14px; color: var(--muted-l); font-size: 1.0625rem; max-width: 60ch; }
.org { margin: 0; background: var(--paper); border: 1px solid var(--stone-2); padding: clamp(20px, 3vw, 32px); }
.org .fs-label { display: block; margin-bottom: 18px; color: var(--muted-l); }
.org .node { display: inline-block; border: 1px solid var(--partner, var(--blue-deep)); background: #fff; padding: 9px 12px; font-size: .875rem; line-height: 1.3; color: var(--fg-l); }
.org .node.top { background: var(--partner, var(--blue-deep)); color: #fff; font-family: var(--f-display); font-size: 1.0625rem; letter-spacing: .02em; padding: 12px 16px; }
.org .node.sub { border-color: var(--stone-2); color: var(--muted-l); font-size: .8125rem; }
.org-top { padding-bottom: 14px; border-left: 2px solid var(--partner, var(--blue-deep)); margin-left: 20px; padding-left: 0; }
.org-top .node { margin-left: -20px; }
.org ul { list-style: none; margin: 0; padding: 0; }
.org-branches { margin-left: 20px; border-left: 2px solid var(--partner, var(--blue-deep)); }
.org-branches > li { position: relative; padding: 10px 0 10px 22px; }
.org-branches > li:last-child { border-left: 2px solid var(--paper); margin-left: -2px; }
.org-branches li::before { content: ""; position: absolute; left: 0; top: 28px; width: 16px; height: 2px; background: var(--partner, var(--blue-deep)); }
.org-branches li ul { margin: 8px 0 0 18px; border-left: 1px solid var(--stone-2); }
.org-branches li ul li { position: relative; padding: 6px 0 6px 18px; }
.org-branches li ul li::before { top: 22px; width: 12px; height: 1px; background: var(--stone-2); }

/* services */
.pp-tight { padding-top: 0; }
.pp-svcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--stone-2); border: 1px solid var(--stone-2); }
.pp-svc { background: var(--paper); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; position: relative; }
.pp-svc::before { content: ""; position: absolute; top: -1px; left: -1px; width: 48px; height: 3px; background: var(--partner, var(--blue)); }
.pp-svc .mono { color: var(--muted-l); }
.pp-svc h3 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); font-weight: 300; }
.pp-svc .fs-label { color: var(--blue-deep); margin-top: 4px; }
.pp-svc p { color: var(--muted-l); }
.pp-svc ul { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--stone-2); display: grid; gap: 8px; font-size: .9375rem; }
.pp-svc li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; }
.pp-svc li::before { content: ""; width: 8px; height: 1px; background: var(--partner, var(--blue-deep)); margin-top: 12px; }

/* featured project */
.pp-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.pp-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-d); }
.pp-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--partner, var(--blue)); box-shadow: 0 0 0 4px rgba(192,40,30,.18); }
.pp-feature h2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); }
.pp-feature .lede { margin-top: 14px; }
.pp-facts { margin: 0; display: grid; border-top: 1px solid var(--line-d); }
.pp-facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-d); }
.pp-facts dt { font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mist); padding-top: 3px; }
.pp-facts dd { margin: 0; color: var(--fg-d); }
.partner-page .pgrid.n6 .pshot.lead { grid-column: span 2; grid-row: span 2; }
.partner-page .pgrid.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.partner-page .pgrid.n4 .pshot { aspect-ratio: 4 / 3; }
.partner-page .pr-grid .pr-media img { object-position: 50% 50%; }

/* leader */
.pp-leader { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--paper); border: 1px solid var(--stone-2); padding: clamp(18px, 2.4vw, 28px); max-width: 980px; }
.pp-leader img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.pp-leader .role { color: var(--blue-deep); }
.pp-leader h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); font-weight: 300; margin-top: 6px; }
.pp-also { display: inline-block; margin-top: 6px; color: var(--muted-l); }
.pp-leader p { margin-top: 14px; color: var(--muted-l); max-width: 62ch; }
.pp-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-family: var(--f-mono); font-size: .8125rem; }
.pp-links a { color: var(--fg-l); text-decoration: none; border-bottom: 1px solid var(--stone-2); }
.pp-links a:hover { border-color: var(--fg-l); }

/* contact */
.pp-contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pp-contact h2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); }
.pp-contact .lede { margin-top: 14px; }
.pp-contact .hero-ctas { margin-top: 22px; }

/* category list */
.gc-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.gc-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: var(--paper); border: 1px solid var(--stone-2); position: relative; min-width: 0; }
.gc-card::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--partner, var(--blue)); }
.gc-logo { display: flex; align-items: center; justify-content: center; background: #fff; border-right: 1px solid var(--stone-2); padding: clamp(24px, 3vw, 40px); }
.gc-logo img { width: 100%; max-width: 300px; height: auto; }
.gc-body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gc-type { color: var(--muted-l); text-transform: uppercase; }
.gc-body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 300; }
.gc-body h3 a { color: inherit; text-decoration: none; }
.gc-body h3 a:hover { color: var(--blue-deep); }
.gc-motto { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--fg-l); }
.gc-body p { color: var(--muted-l); font-size: .9375rem; }
.gc-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gc-tags li { border: 1px solid var(--stone-2); padding: 4px 9px; font-size: .75rem; color: var(--fg-l); background: #fff; }
.gc-stats { margin: 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; padding-top: 14px; border-top: 1px solid var(--stone-2); }
.gc-stats dt { font-family: var(--f-mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-l); }
.gc-stats dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: 300; font-size: 1.5rem; line-height: 1.15; color: var(--fg-l); white-space: nowrap; }
.gc-links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.gc-invite { min-height: 100%; }
.partner .link-arrow + .link-arrow { margin-top: 0; }
.partner .p-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 1000px) {
  .pp-about, .pp-feature, .pp-contact { grid-template-columns: 1fr; }
  .gc-grid { grid-template-columns: 1fr; }
  .partner-page .pgrid.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pp-svcs { grid-template-columns: 1fr; }
  .gc-card { grid-template-columns: 1fr; }
  .gc-logo { border-right: 0; border-bottom: 1px solid var(--stone-2); }
  .partner-page .pgrid.n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-page .pgrid.n6 .pshot.lead { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .pp-facts div { grid-template-columns: 104px minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pp-leader { grid-template-columns: 1fr; }
  .pp-leader img { width: 160px; }
}
.partner h3 a.plain { color: inherit; text-decoration: none; } .partner h3 a.plain:hover { color: var(--blue-deep); }
.partner-page .pr-media .cap { display: none; }
@media (max-width: 700px) {
  .partner-page .pgrid.n4 > .pshot, .partner-page .pgrid.n4 > .pshot:last-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
}
