/* Typography from the supplied school prototype, within the warm ivory palette. */
:root {
  --ui-font: 'Segoe UI', system-ui, sans-serif;
  font-synthesis: none;
  --serif: var(--ui-font);
  --sans: var(--ui-font);
  --paper: #f8f6f1;
  --ivory: #fffdf9;
  --ink: #2d2926;
  --muted: #655b52;
  --line: #d9cfc2;
  --surface: #f0ebe3;
  --lilac: var(--surface);
  --plum: var(--ink);
  --rose: var(--line);
  --wash: var(--surface);
  --tape: var(--surface);
  --action: #59483f;
  --action-hover: #4b3b33;
  --action-pressed: #3e3029;
  --on-action: #fffdf9;
  --link-color: #76513d;
  --field-border: #8f7b6d;
  --pressed-surface: #e7ded1;
  --error-color: #9b3024;
  --radius-image: 24px;
  --radius-panel: 28px;
  --radius-field: 14px;
  --radius-control: 16px;
  --control-shadow: 0 2px 6px rgb(45 41 38 / .06);
  --control-highlight: inset 0 1px 0 rgb(255 253 249 / .18);
  --type-body: 1.1875rem;
  --type-article: 1.25rem;
  --type-detail: 1rem;
  --type-caption: 1.0625rem;
  --type-control: 1.125rem;
  --type-label: 1rem;
  --type-title: clamp(3rem, 4.6vw, 3.75rem);
  --type-section: clamp(2rem, 3.3vw, 2.5rem);
  --type-subtitle: clamp(1.5rem, 2.3vw, 1.875rem);
  --type-article-heading: clamp(2rem, 3vw, 2.375rem);
  --type-lead: 1.375rem;
  --type-copy-color: #554c45;
  --focus-ring: #76513d;
  --footer-surface: #ece4d9;
  --table-surface: #f0ebe3;
  --header-height: 88px;
  --section-space: clamp(36px, 3.3vw, 56px);
  --page-gutter: clamp(2rem, 4vw, 5rem);
  --reading-width: 740px;
  --article-frame-width: 1100px;
  --space-heading: 1.5rem;
  --space-paragraph: 1.5rem;
}
html { scroll-padding-top: calc(var(--header-height) + 24px); }
body { font: 400 var(--type-body)/1.7 var(--ui-font); }
main { overflow: visible; }
main > *, section, article, figure, nav, form, .footer-top > *,
.project-title > *, .story-copy, .article-reading { min-width: 0; }
h1, h2, h3 { font-family: var(--ui-font); font-weight: 700; letter-spacing: -.025em; overflow-wrap: break-word; hyphens: none; }
h1 { font-size: var(--type-title); line-height: 1.12; }
h2 { font-size: var(--type-section); line-height: 1.22; }
h3 { font-size: var(--type-subtitle); line-height: 1.3; }
h1 em, h2 em { font-weight: 500; font-style: normal; }
p { font: 400 var(--type-body)/1.7 var(--ui-font); overflow-wrap: break-word; }
small { font-size: var(--type-detail); line-height: 1.65; }
.type-lead, .section-heading > p, .section-heading > div > p,
.collection-heading > p, .journal-hero > p, .inner-intro > p,
.developer-title > p, .city-hero-panel > p, .contact-copy > p,
.story-intro, .project-story-copy .editorial-lead, .person-copy > p,
.enquiry-section > div > p, .final-invitation > p {
  font: 400 var(--type-lead)/1.55 var(--ui-font); letter-spacing: 0;
  color: var(--type-copy-color); max-width: var(--reading-width);
}
.eyebrow, .chapter-kicker, .section-index, .image-label, .photo-caption, .aside-index {
  font: 500 var(--type-label)/1.5 var(--ui-font); letter-spacing: .015em; text-transform: none;
}
.chapter-kicker { color: var(--type-copy-color); flex-wrap: wrap; gap: 12px; }
.chapter-number { font: 600 1.25rem/1.4 var(--ui-font); letter-spacing: 0; }
.chapter-rule { flex-shrink: 0; }
.chapter-kicker > span:last-child { min-width: 0; }
figcaption, .gallery-source, .project-card > small, .about-field-notes a > span,
.photo-rail, .hero-endline, .editorial-note, .privacy-note {
  font: 500 var(--type-caption)/1.6 var(--ui-font); letter-spacing: 0;
  color: var(--type-copy-color); overflow-wrap: break-word;
}
figcaption { margin-top: 14px; }
.article-meta, .stats-strip span, .developer-metrics span, .career-languages,
.biography-rail, .biography-copy p span, .story-number, .form-note, .form-error {
  font: 400 var(--type-detail)/1.65 var(--ui-font); letter-spacing: .015em; color: var(--type-copy-color);
}
.section { padding: var(--section-space) var(--page-gutter); }
.section-heading { margin: 0 0 32px; gap: 24px; }
.section-heading h2 { margin-top: 16px; }
.section-heading > p { margin: 0; }
.article-reading p, .analysis-page .analysis-body p { font: 400 var(--type-article)/1.75 var(--ui-font); }
.article-reading h2, .analysis-page .analysis-body h2 { font: 700 var(--type-article-heading)/1.25 var(--ui-font); letter-spacing: -.025em; }
.article-reading h3, .project-story-copy h3 { font: 700 var(--type-subtitle)/1.3 var(--ui-font); margin: 32px 0 16px; }
.article-reading p { margin: 0 0 var(--space-paragraph); }
.article-reading section + section { margin-top: 44px; }
.article-reading a:not(.button):not(.text-link), .project-story-copy a:not(.button) { text-decoration: underline; text-underline-offset: 4px; }
.longform-article { display: block; max-width: calc(var(--article-frame-width) + var(--page-gutter) * 2); margin-inline: auto; padding-block: 48px; }
.longform-article .article-meta { margin-bottom: 24px; }
.article-reading { width: 100%; max-width: none; }

/* The homepage introduces Angelica before her market commentary and projects. */
.home-introduction, .home-recognition { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; align-items: center; }
.home-introduction { border-top: 1px solid var(--line); }
.home-introduction h2, .home-recognition h2 { margin-block: 20px 24px; }
.home-introduction p, .home-recognition p, .home-travel-card p { margin-bottom: 20px; }
.home-introduction .stats-strip { margin-block: 24px; }
.home-recognition-photo, .home-travel-photo { display: block; width: fit-content; max-width: 100%; }
.home-recognition-photo { width: 100%; max-width: 520px; margin-inline: auto; }
.home-recognition-photo img, .home-travel-photo img { width: auto; height: auto; max-width: 100%; max-height: 560px; object-fit: contain; border-radius: var(--radius-image); }
.home-recognition-photo img { width: 100%; max-height: none; }
.home-travel-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
.home-travel-card { min-width: 0; }
.home-travel-card h3 { margin-block: 24px 16px; }
@media (max-width: 760px) {
  .home-introduction, .home-recognition, .home-travel-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-recognition-photo { margin-inline: 0; }
}

/* Stable, readable controls. Hover never changes the width of a label. */
.button, .editorial-headline .button, .contact-channel-link,
.footer-contact .contact-channel-link, .project-filters > button {
  font: 600 var(--type-control)/1.45 var(--ui-font); min-height: 52px;
  width: fit-content; max-width: 100%; min-width: 0; padding: 12px 20px;
  gap: 12px; border-radius: var(--radius-control); border: 1px solid transparent; letter-spacing: 0; white-space: normal; overflow-wrap: anywhere;
}
.button > span[aria-hidden] { display: none; }
.contact-channel-link > span[aria-hidden] { font-size: 1rem; font-weight: 400; flex: 0 0 auto; }
.contact-channel-link .contact-email-address { font: inherit; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.button { transition: background-color .18s, color .18s; }
.button, .contact-channel-link, .project-filters > button { box-shadow: var(--control-shadow); }
.button:hover { transform: none; }
.button-dark, .contact-channel-link-primary { background: var(--action); border-color: var(--action); color: var(--on-action); }
.button-dark:hover, .contact-channel-link-primary:hover { background: var(--action-hover); border-color: var(--action-hover); }
.text-link, .back-link, .official-link, .city-card-link, .reference-link, .article-source {
  font: 500 var(--type-control)/1.5 var(--ui-font); color: var(--link-color); border-bottom: 0;
  min-height: 44px; padding-block: 10px; gap: 16px; max-width: 100%; min-width: 0;
  overflow-wrap: anywhere; transition: color .18s;
}
.text-link:hover, .back-link:hover, .reference-link:hover, .city-card-link:hover, .official-link:hover, .article-source:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link span { font-size: 1.125rem; flex-shrink: 0; }
.reference-link { padding-block: 16px; }
.article-source { font-size: var(--type-detail); }
.button:disabled { opacity: .6; }
:focus-visible, .contact-channel-link:focus-visible, .contact-number:focus-visible,
.city-card a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
.skip-link { font: 700 var(--type-control)/1.5 var(--ui-font); }
.principle-section, .final-invitation, .city-end {
  color: var(--ink); background: var(--surface);
}
.principle-section .text-link, .final-invitation .text-link, .city-end .text-link { color: var(--link-color); border-color: transparent; }
.final-invitation .button, .city-end .button { background: var(--action); color: var(--on-action); }

/* One header system for every page, with visible parent-section context. */
.site-header, .home-page .site-header { position: sticky; inset: 0 0 auto; width: 100%; background: var(--paper); border-bottom: 1px solid var(--line); z-index: 20; }
.header-inner, .home-page .header-inner { max-width: 1720px; height: auto; min-height: 88px; padding: 12px clamp(24px,4vw,60px); gap: 24px; margin: auto; }
.wordmark, .home-page .wordmark { font: 500 1.5rem/1.2 var(--ui-font); letter-spacing: .12em; flex-shrink: 0; }
.desktop-nav, .home-page .desktop-nav { gap: clamp(16px,1.6vw,24px); min-width: 0; }
.desktop-nav a, .home-page .desktop-nav a { font: 400 1.375rem/1.3 var(--ui-font); letter-spacing: -.01em; padding: 10px 12px; border-radius: var(--radius-control); }
.desktop-nav a::after { display: none; }
.desktop-nav a[aria-current], .desktop-nav a[data-section-current] { border-bottom: 0; background: var(--surface); color: var(--ink); }
.header-actions { flex-shrink: 0; }
.language { gap: 4px; }
.language a, .language > span { font: 500 1rem/1.4 var(--ui-font); color: var(--ink); letter-spacing: 0; }
.language a { min-width: 44px; min-height: 44px; }
.language a { border-radius: var(--radius-control); }
.language a[aria-current] { font-weight: 500; text-decoration: none; background: var(--surface); }
.mobile-nav, .home-page .mobile-nav { position: absolute; inset: 100% 0 auto; min-height: 0; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 24px var(--page-gutter); background: var(--paper); overscroll-behavior: contain; }
.mobile-nav > a { font: 500 1.625rem/1.4 var(--ui-font); padding: 14px 16px; border: 0; border-radius: 14px; }
.mobile-nav > a[aria-current], .mobile-nav > a[data-section-current] { text-decoration: none; background: var(--surface); color: var(--link-color); }
.nav-open { overflow: hidden; }

/* Portrait, paper and architecture remain the visual anchors of the journal. */
.editorial-hero { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: clamp(24px,3vw,48px); min-height: 0 !important; height: auto; padding: 72px var(--page-gutter) 80px; }
.hero-wash { display: none; }
.editorial-rail, .chapter-marker, .hero-signature { display: none; }
.editorial-portrait { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: auto; clip-path: none; align-self: center; }
.editorial-portrait > img { width: 100%; height: auto; object-fit: contain; transform: none; }
.editorial-headline, body[data-lang] .editorial-headline { position: relative; inset: auto; width: 100%; padding: 0; }
.editorial-headline::before { display: none; }
.editorial-headline h1 em { display: block; white-space: normal; font-style: normal; color: var(--type-copy-color); }
.editorial-headline p { padding-top: 0; margin: 28px 0; border-top: 0; }
.editorial-aside, body[data-lang] .editorial-aside { display: none; position: relative; inset: auto; width: 100%; transform: none; margin: 0; }
.paper-frame img { height: auto; width: 100%; object-fit: contain; }
.editorial-aside figcaption { font: 500 1.375rem/1.5 var(--ui-font); transform: none; max-width: none; margin: 16px 0 0; }
.architectural-scene { display: none; }
.editorial-notes { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; padding: 56px var(--page-gutter); }
.notes-heading, .notes-copy { padding: 0; min-width: 0; }
.notes-heading { grid-column: 1/-1; max-width: var(--reading-width); }
.notes-heading > .chapter-kicker { position: static; display: flex; margin-bottom: 16px; }
.notes-heading .chapter-kicker > span:not(.chapter-number) { display: inline; }
.notes-heading .chapter-rule { display: none; width: 30px; height: 1px; margin: 0; }
.notes-heading h2 { margin: 0 0 24px; }
.notes-photo { display: block; position: relative; height: auto; aspect-ratio: auto; align-self: center; background: transparent; }
.notes-photo img { height: auto; width: 100%; object-fit: contain; }
.notes-watch { position: static; display: block; padding: 14px 0 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.5 var(--ui-font); }
.notes-copy { align-self: center; }
.notes-copy h3 { margin: 16px 0; }
.notes-copy p { margin-bottom: 24px; }
.notes-actions, .project-actions, .hero-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 24px; }
.notes-architecture { display: none; }

/* Free columns preserve whole photographs and keep each caption attached. */
.project-grid { display: block; column-count: 2; column-gap: 36px; }
.project-card { display: inline-flex; flex-direction: column; width: 100%; min-width: 0; margin: 0 0 48px; break-inside: avoid; vertical-align: top; }
.project-card-image { aspect-ratio: auto; width: 100%; flex-shrink: 0; background: transparent; }
.project-card-image img, .project-cover img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; transform: none; }
.project-card-title { padding-top: 20px; }
.project-card-title h3 { margin: 10px 0 16px; }
.project-card > p { max-width: 65ch; color: var(--type-copy-color); margin-bottom: 20px; }
.project-card > .text-link { align-self: flex-start; margin: 0 0 16px; }
.project-counter { font: 500 1rem/1.4 var(--ui-font); padding: 7px 12px; }
.collection-heading { padding-bottom: 24px; }
.collection-heading h1 { margin: 24px 0; }
.collection-body { padding-top: 24px; }
.project-title { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 36px; margin: 32px 0; }
.project-title h1 { margin-top: 18px; }
.project-title > p { max-width: 60ch; padding: 0; }
.project-opening { padding-top: 36px; padding-bottom: 32px; }
.project-cover .image-button { background: transparent; }
.project-at-a-glance { padding: 32px 0; }
.project-at-a-glance dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; margin: 0; }
.project-at-a-glance dt { font: 700 1rem/1.5 var(--ui-font); color: var(--type-copy-color); letter-spacing: .025em; }
.project-at-a-glance dd { margin: 12px 0 0; font: 600 1.5625rem/1.4 var(--ui-font); }
.project-story, .project-questions, .project-references { gap: 48px; }
.project-story { padding-top: 48px; }
.project-story h2, .project-consider h2, .project-questions h2 { margin-top: 24px; }
.project-story-copy > p, .project-questions > div > p, .editorial-faq details > p,
.career-context p, .career-practice-heading > p, .about-journey article > p,
.about-services article > p, .developer-detail p, .developer-detail li,
.process-step p, .focus-grid p, .notes-copy p, .city-card-copy p { color: var(--type-copy-color); }
.project-story-copy h3 + h3 { margin-top: 0; }
.project-consider { gap: 48px; padding-block: 56px; }
.project-consider li > p { font: 400 var(--type-lead)/1.55 var(--ui-font); }
.project-consider li > span, .process-step > span, .focus-grid article > span { font: 500 1rem/1.6 var(--ui-font); }
.gallery-grid, .story-gallery .gallery-grid { gap: 32px; }
.gallery-grid .gallery-item:nth-child(even), .story-gallery .gallery-grid > figure:nth-child(even) { padding-top: 0; }
.project-gallery { padding-block: 48px; }
.project-gallery .gallery-grid { display: block; column-count: 2; column-gap: 32px; }
.project-gallery .gallery-item { display: inline-block; width: 100%; margin: 0 0 40px; vertical-align: top; break-inside: avoid; }
.project-gallery .image-button, .story-gallery .image-button { height: auto; aspect-ratio: auto; overflow: visible; background: transparent; }
.project-gallery .image-button img, .story-gallery .image-button img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; transform: none; }
.project-gallery h2 { margin: 0; }
.editorial-faq summary { font: 500 var(--type-subtitle)/1.3 var(--ui-font); }
.editorial-faq summary::after { top: 27px; }
.project-questions { padding-top: 48px; }
.project-references { padding-top: 24px; }
.project-references p { font-size: 1.125rem; color: var(--type-copy-color); }
.project-references small { display: block; margin-top: 16px; }

/* Biographical and developer content uses the same reading roles. */
.inner-visual, .contact-image { height: auto; min-height: 0; overflow: visible; align-self: center; }
.inner-visual img, .contact-image img, .recognition-image img,
.about-field-notes img, .principle-section img, .person-preview .person-image img,
.developer-cover img, .developer-detail > div:first-child img {
  width: 100%; height: auto; min-height: 0; max-height: none;
  aspect-ratio: auto; object-fit: contain; transform: none;
}
/* Fit the complete opening portrait to the visible window, without cropping it. */
.about-hero .inner-visual { display: flex; justify-content: center; padding-inline: 24px; }
.about-hero .inner-visual img { width: auto; max-width: 100%; max-height: calc(100svh - var(--header-height) - 48px); }
.opening-contacts { width: 100%; min-width: 0; }
.opening-contact-label { display: block; margin-bottom: 12px; font: 600 var(--type-control)/1.5 var(--ui-font); }
.opening-contacts .contact-channels { margin-top: 0; gap: 12px; }
.opening-contacts .contact-channel-link { padding-inline: 18px; }
@media (min-width: 1001px) {
  .about-hero { min-height: 0; padding-block: 24px; align-items: center; }
  .about-hero .inner-intro { min-height: 0; padding: 24px clamp(28px,4vw,64px); }
  .about-hero .inner-intro h1 { font-size: clamp(2.25rem,3.4vw,3.25rem); margin-block: 24px; }
  .about-hero .inner-intro > p { margin-bottom: 24px; }
}
@media (min-width: 1001px) and (max-height: 800px) {
  .about-hero .inner-intro { padding-block: 16px; }
  .about-hero .inner-intro h1 { font-size: var(--type-section); margin-block: 18px; }
  .about-hero .inner-intro > p { font-size: 1.25rem; margin-bottom: 20px; }
}
.biography .section-heading { margin-bottom: 32px; }
.biography-grid { grid-template-columns: minmax(0,.3fr) minmax(0,1fr); gap: 32px; }
.biography-copy { max-width: var(--reading-width); }
.biography-copy p { grid-template-columns: 36px minmax(0,1fr); gap: 16px; padding-block: 24px; letter-spacing: 0; }
.biography-copy p span { padding-top: 0; }
.biography .stats-strip { margin-top: 48px; }
.recognition-copy h2, .principle-copy h2 { margin-block: 24px; }
.recognition-copy p, .principle-copy p { max-width: var(--reading-width); margin-bottom: 24px; }
.recognition-image, .principle-section > div:first-child { height: auto; align-self: start; overflow: visible; }
.principle-copy { padding: 56px var(--page-gutter); }
.about-journey > div, .about-services > div:last-child { margin-top: 32px; gap: 32px; }
.about-journey h3, .about-services h3 { margin: 24px 0 16px; }
.stats-strip { gap: 24px; }
.stats-strip strong { font: 600 3rem/1.2 var(--ui-font); letter-spacing: -.02em; }
.stats-strip span { max-width: 25ch; }
.developer-title { gap: 48px; margin-block: 32px; align-items: start; }
.developer-title > p { padding: 0; }
.developer-metrics strong { font: 600 2.75rem/1.25 var(--ui-font); white-space: normal; overflow-wrap: break-word; }
.developer-essays > article { gap: 48px; padding-block: 48px; }
.developer-essays p { max-width: var(--reading-width); }
.developer-detail { align-items: start; }
.developer-detail > div:first-child { padding: 0; }
.developer-detail figcaption { padding-inline: 24px; margin-bottom: 24px; }
.developer-detail > div:last-child { padding: 48px var(--page-gutter); }
.developer-detail h2 { margin-block: 24px; }
.developer-bridge p { font: 400 var(--type-lead)/1.55 var(--ui-font); }
.person-preview { padding-top: 64px; padding-bottom: 64px; align-items: center; gap: 40px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.person-copy { padding: 48px; border-radius: var(--radius-panel); }
.person-preview .person-image { height: auto; align-self: start; overflow: visible; }
.career-languages, .career-context p, .career-practice-heading > p { max-width: var(--reading-width); }

/* Journal photography grows with its contents rather than clipping portraits. */
.journal-hero { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); column-gap: 48px; row-gap: 24px; min-height: 0; padding: 56px var(--page-gutter); overflow: visible; }
.journal-hero > .chapter-kicker, .journal-hero > h1, .journal-hero > p { grid-column: 1; margin: 0; }
.journal-hero h1 { max-width: 16ch; }
.journal-hero-photo { position: static; grid-column: 2; grid-row: 1 / span 3; width: 100%; height: auto; min-height: 0; align-self: center; margin: 0; transform: none; box-shadow: none; opacity: 1; overflow: visible; }
.journal-hero-photo img { width: 100%; height: auto; object-fit: contain; filter: none; }
.story-row { grid-template-columns: minmax(80px,.35fr) minmax(0,.9fr) minmax(0,1.25fr); gap: 32px; align-items: start; padding-block: 40px; }
.story-number { grid-column: auto; padding: 0; text-transform: none; }
.story-photo { display: block; height: auto; overflow: visible; }
.story-photo img, .story-photo:hover img { width: 100%; height: auto; object-fit: contain; transform: none; }
.story-copy { padding: 0; }
.story-copy h2 { font-size: var(--type-subtitle); margin: 16px 0; }
.story-copy p { margin-bottom: 24px; }
.story-opening { padding-bottom: 32px; }
.story-opening, .story-gallery { max-width: calc(var(--article-frame-width) + var(--page-gutter) * 2); margin-inline: auto; }
.story-opening h1, .story-opening .story-intro, .story-gallery .gallery-grid { max-width: none; }
.story-opening h1 { margin-block: 24px; }

/* City panels participate in layout, so long translated text can grow. */
.city-hero { display: grid; grid-template-columns: minmax(0,1fr); min-height: 0; }
.city-hero::after { display: none; }
.city-hero-photo { position: relative; inset: auto; grid-area: 1 / 1; min-height: 46rem; height: 100%; }
.city-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.city-hero-panel { position: relative; inset: auto; grid-area: 1 / 1; align-self: end; width: min(740px,70%); margin: 48px var(--page-gutter); padding: 36px; background: var(--ivory); backdrop-filter: none; }
.city-hero-panel h1 { margin: 24px 0; }
.city-hero-panel > p { margin-bottom: 24px; }
.city-card-copy { padding: 28px; min-width: 0; }
.city-card-copy h3 { font-size: var(--type-subtitle); line-height: 1.3; }
.city-card-copy p { max-width: 28ch; }
.city-podcast .podcast-frame { height: auto; overflow: visible; }
.city-podcast .podcast-frame img { width: 100%; height: auto; object-fit: contain; transform: none; }
.podcast-intro h2 { margin: 24px 0; }
.podcast-intro p { color: var(--type-copy-color); }
.final-invitation, .city-end { padding: 64px var(--page-gutter); }
.final-invitation h2 { margin: 24px auto; }

/* Forms and footer retain the same legible scale as the rest of the site. */
.enquiry-form label { font: 500 var(--type-control)/1.5 var(--ui-font); }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { font: 400 var(--type-body)/1.6 var(--ui-font); min-height: 56px; border-color: var(--muted); }
.form-note a { text-decoration: underline; text-underline-offset: 4px; }
.form-error { color: var(--error-color); font-weight: 500; }
.contact-number { font: 500 1.375rem/1.5 var(--ui-font); letter-spacing: 0; }
.contact-person { font: 600 1.5rem/1.5 var(--ui-font); }
.site-footer { background: var(--footer-surface); padding-inline: var(--page-gutter); }
.footer-top { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr); gap: 40px; }
.footer-top > div:first-child p { font: 400 1.125rem/1.7 var(--ui-font); letter-spacing: .015em; color: var(--type-copy-color); }
.footer-top > div:first-child .footer-person { font: 600 1.5rem/1.5 var(--ui-font); color: var(--ink); }
.footer-map { gap: 12px 24px; align-content: start; }
.footer-map a, .footer-link { font: 500 var(--type-control)/1.5 var(--ui-font); min-height: 44px; padding-block: 8px; }
.footer-contact h2 { font-size: var(--type-subtitle); margin-top: 16px; }
.footer-contact .contact-channels { margin-top: 24px; gap: 12px; }
.footer-contact .contact-channel-link { padding-inline: 16px; }
.footer-bottom { font: 400 1rem/1.7 var(--ui-font); color: var(--type-copy-color); gap: 18px 28px; }
.footer-privacy { min-height: 44px; }
.lightbox-count { font: 400 1rem/1.5 var(--ui-font); }
.lightbox-toolbar button, .lightbox-controls button { font-size: 1.625rem; }
.lightbox { --focus-ring: var(--paper); }
.lightbox :focus-visible { outline-color: var(--focus-ring); }

/* Restrained Web surfaces; all images retain their original proportions. */
.inner-hero, .contact-hero, .person-copy, .journal-hero, .project-consider,
.career-practice, .developer-detail, .process-section, .city-card { background: var(--surface); }
.inner-visual, .contact-image, .recognition-image, .person-image { background: transparent; }
.about-services, .enquiry-section { background: var(--paper); }
.paper-frame { padding: 0; background: transparent; box-shadow: none; }
.paper-frame::before, .paper-frame::after, .paper-edge { display: none; }
.editorial-hero { max-width: 1440px; }
.editorial-portrait { max-width: 480px; justify-self: center; }
.editorial-portrait > img, .paper-frame img, .notes-photo img,
.project-card-image img, .project-cover img, .gallery-grid img,
.inner-visual img, .contact-image img, .recognition-image img,
.about-field-notes img, .principle-section img, .person-image img,
.developer-cover img, .developer-detail img, .journal-hero-photo img,
.story-photo img, .podcast-frame img { border-radius: var(--radius-image); }
.project-card-image:hover img, .project-gallery .image-button:hover img { transform: none; }
.project-counter { background: var(--paper); color: var(--ink); border-radius: var(--radius-control); }
.chapter-rule { display: none; }
.chapter-number, .chapter-kicker { color: var(--type-copy-color); }
.image-label { background: var(--paper); color: var(--ink); border-radius: 10px; }
.stats-strip, .recognition-copy .rule, .process-grid, .process-step,
.focus-grid article, .footer-bottom { border-color: var(--line); }
.city-card-rule { background: var(--line); }
.inner-intro h1 em, .journal-hero h1 em, .city-hero-panel h1 em { color: var(--type-copy-color); }
.city-hero-panel { border-radius: var(--radius-panel); box-shadow: 0 8px 32px rgb(0 0 0 / .06); }
.button-outline, .button-light, .contact-channel-link { background: var(--ivory); border-color: var(--line); color: var(--ink); }
.button-outline:hover, .button-light:hover, .contact-channel-link:hover { background: var(--pressed-surface); }
.button-dark, .contact-channel-link-primary { background: var(--action); border-color: var(--action); color: var(--on-action); }
.button-dark, .contact-channel-link-primary, .final-invitation .button, .city-end .button { box-shadow: var(--control-highlight), var(--control-shadow); }
.button-dark:hover, .contact-channel-link-primary:hover,
.final-invitation .button:hover, .city-end .button:hover { background: var(--action-hover); border-color: var(--action-hover); }
.button:active, .contact-channel-link:active { background: var(--pressed-surface); }
.button-dark:active, .contact-channel-link-primary:active,
.final-invitation .button:active, .city-end .button:active { background: var(--action-pressed); }
.project-filters { gap: 8px; padding-bottom: 0; border-bottom: 0; margin-bottom: 40px; }
.project-filters > button { background: var(--ivory); color: var(--ink); border: 1px solid var(--line); font-weight: 600; }
.project-filters > button:hover { background: var(--pressed-surface); }
.project-filters > button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.desktop-nav a:hover, .mobile-nav > a:hover { background: var(--surface); }
.desktop-nav a[aria-current], .desktop-nav a[data-section-current] { box-shadow: inset 0 0 0 1px var(--line); }
.mobile-nav > a[aria-current], .mobile-nav > a[data-section-current] { text-decoration: underline; text-underline-offset: 5px; }
.language a[aria-current] { box-shadow: inset 0 0 0 1px var(--line); }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { background: var(--paper); border: 1px solid var(--field-border); border-radius: var(--radius-field); padding: 14px 16px; }
.enquiry-form input[aria-invalid=true] { border-color: var(--error-color); }
.enquiry-form label { font-weight: 500; }
.footer-map a, .footer-link { font-weight: 400; }
.footer-map a:hover, .footer-privacy:hover { color: var(--link-color); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact .contact-channels { align-items: flex-start; }
.lightbox { background: var(--ink); color: var(--paper); border-radius: var(--radius-panel); }
.lightbox-toolbar > button, .lightbox-controls > button { border-radius: var(--radius-control); border-color: var(--field-border); }
::selection { background: var(--pressed-surface); color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .button, .text-link, .contact-channel-link { transition: none; }
}

@media (min-width: 1361px) {
  :root { --type-title: clamp(3.5rem,4vw,4.25rem); --type-section: clamp(2.5rem,2.8vw,3rem); --type-subtitle: clamp(1.625rem,2vw,2rem); --type-article-heading: clamp(2.125rem,2.5vw,2.5rem); --type-lead: 1.5rem; }
  .desktop-nav, .home-page .desktop-nav { display: flex; }
  .menu-toggle, .home-page .menu-toggle { display: none; }
}
@media (max-width: 1360px) {
  .desktop-nav, .home-page .desktop-nav { display: none; }
  .menu-toggle, .home-page .menu-toggle { display: flex; }
  .editorial-hero { grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); }
  .editorial-aside, body[data-lang] .editorial-aside { display: none; }
  .footer-top { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .footer-contact { grid-column: 1/-1; }
}
@media (max-width: 1100px) {
  .editorial-notes { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .notes-heading { grid-column: 1/-1; }
  .notes-heading p { max-width: 60ch; }
  .project-at-a-glance dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .journal-hero { grid-template-columns: minmax(0,1fr) minmax(0,.7fr); gap: 24px; }
}
@media (max-width: 1000px) {
  .inner-hero, .contact-hero { display: flex; flex-direction: column; min-height: 0; }
  .inner-intro, .contact-copy { min-height: 0; padding: 48px var(--page-gutter); }
  .inner-visual, .contact-image { height: auto; max-width: 640px; width: 100%; margin-inline: auto; }
  .longform-article { display: block; }
  .article-meta { margin-bottom: 24px; }
  .article-reading { margin-inline: auto; }
  .story-row { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 24px; }
  .story-number { grid-column: 1/-1; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-journey > div, .about-services > div:last-child { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --type-body: 1.125rem; --type-article: 1.125rem; --type-title: clamp(2.25rem,9vw,2.875rem); --type-section: clamp(1.75rem,5vw,2.125rem); --type-subtitle: clamp(1.5rem,4vw,1.75rem); --type-article-heading: 1.875rem; --type-lead: 1.375rem; --section-space: 3rem; --page-gutter: 24px; --radius-image: 18px; --radius-panel: 20px; }
  .header-inner, .home-page .header-inner { gap: 20px; }
  .section-heading { display: block; }
  .section-heading > p, .section-heading > a { margin-top: 20px; }
  .editorial-hero { display: flex; flex-direction: column; padding: 36px var(--page-gutter) 48px; gap: 32px; }
  .editorial-headline, body[data-lang] .editorial-headline { order: 0; width: 100%; }
  .editorial-portrait { order: 1; width: 100%; max-width: 460px; }
  .hero-wash { width: 100%; }
  .editorial-notes { grid-template-columns: 1fr; padding: 48px var(--page-gutter); gap: 24px; }
  .notes-heading { grid-column: auto; }
  .notes-photo { max-width: 520px; width: 100%; }
  .project-title { grid-template-columns: 1fr; gap: 20px; margin-block: 28px; }
  .project-grid { column-count: 1; }
  .project-card { display: flex; margin-bottom: 40px; }
  .project-story, .project-consider, .project-questions, .project-references { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid, .story-gallery .gallery-grid { grid-template-columns: 1fr; gap: 28px; }
  .project-gallery .gallery-grid { column-count: 1; }
  .project-gallery .gallery-item { display: block; margin-bottom: 28px; }
  .biography-grid { grid-template-columns: 1fr; gap: 16px; }
  .biography-copy p { grid-template-columns: 28px minmax(0,1fr); gap: 12px; }
  .recognition, .city-podcast { display: flex; flex-direction: column; gap: 32px; }
  .recognition-image { width: 100%; }
  .principle-section { display: flex; flex-direction: column; }
  .principle-copy { padding: 48px var(--page-gutter); }
  .process-grid, .focus-grid { grid-template-columns: 1fr; }
  .process-step, .focus-grid article { min-height: 0; margin: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step h3, .focus-grid h3 { margin: 24px 0 16px; }
  .developer-title { gap: 24px; }
  .developer-essays > article { gap: 24px; }
  .developer-essays article > div:last-child { padding-top: 0; }
  .person-copy { padding: 36px var(--page-gutter); }
  .person-preview { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .journal-hero { display: flex; flex-direction: column; padding: 48px var(--page-gutter); }
  .journal-hero-photo { width: 100%; max-width: 520px; }
  .story-row { grid-template-columns: 1fr; gap: 24px; }
  .story-number { grid-column: auto; }
  .story-copy { padding: 0; }
  .city-hero-photo { grid-area: auto; height: auto; min-height: 0; }
  .city-hero-photo img { height: auto; }
  .city-hero-panel { grid-area: auto; width: 100%; margin: 0; padding: 32px var(--page-gutter); background: var(--paper); }
  .city-podcast .podcast-frame { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-contact { grid-column: auto; }
  .footer-map { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-bottom { flex-direction: column; }
  .contact-channel-link, .footer-contact .contact-channel-link { flex: 1 1 auto; }
}
@media (max-width: 540px) {
  :root { --header-height: 110px; }
  .header-inner, .home-page .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 110px; height: auto; gap: 4px 12px; padding: 12px 20px; }
  .wordmark, .home-page .wordmark { font-size: 1.375rem; grid-column: 1; grid-row: 1; }
  .header-actions { display: contents; }
  .menu-toggle { grid-column: 2; grid-row: 1; justify-self: end; }
  .language { grid-column: 1/-1; grid-row: 2; justify-content: flex-end; gap: 4px; }
  .mobile-nav > a { font-size: 1.5rem; }
  .project-at-a-glance dl { grid-template-columns: 1fr; gap: 24px; }
  .stats-strip { grid-template-columns: 1fr; gap: 22px; }
  .stats-strip span { max-width: none; }
  .button, .editorial-headline .button { padding-inline: 18px; }
}
@media (max-width: 359px) { :root { --page-gutter: 20px; } }

/* Audit corrections retain the existing type, surfaces and full photographs. */
.project-opening-contact { margin-bottom: 28px; }
.filter-results { margin: 0 0 24px; font: 400 var(--type-detail)/1.65 var(--ui-font); color: var(--type-copy-color); }

/* Homepage spacing checked in the live browser; keep original photo frames. */
.home-page { --home-section-space: clamp(36px, 3.3vw, 56px); }
.home-page > .section { padding-block: var(--home-section-space); }
.home-page > .section + .section { padding-top: 24px; }
.home-page > .section.bot-promo { padding-top: var(--home-section-space); }
.home-page .home-recognition-photo { width: fit-content; }
.home-page .home-recognition-photo img { width: auto; max-height: 740px; }
.home-page > .editorial-notes { padding-block: var(--home-section-space); }
.home-page .notes-photo { width: fit-content; max-width: 100%; justify-self: center; }
.home-page .notes-photo img { width: auto; max-width: 100%; max-height: 640px; }
.home-page .home-projects { padding-bottom: 24px; }
@media (min-width: 761px) {
  .home-page .editorial-notes { grid-template-rows: auto auto; gap: 24px 40px; }
  .home-page .notes-photo { grid-column: 1; grid-row: 1 / 3; }
  .home-page .notes-heading { grid-column: 2; grid-row: 1; align-self: end; }
  .home-page .notes-heading p { margin-bottom: 0; }
  .home-page .notes-copy { grid-column: 2; grid-row: 2; align-self: start; }
}
@media (min-width: 1280px) {
  .home-page .home-travel-card { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: 24px; }
  .home-page .home-travel-copy h3 { margin-top: 0; }
}
@media (max-width: 760px) {
  .home-page .home-recognition-photo img, .home-page .notes-photo img { max-height: 600px; }
  .home-page .notes-photo { justify-self: start; }
}

/* Shared refinements after inspecting every Russian page in Chrome. */
main > .section + .section { padding-top: 24px; }
.home-page > .section.bot-promo { padding-top: var(--home-section-space); }
.recognition-image img, .about-field-notes img,
.principle-section img, .city-podcast .podcast-frame img {
  display: block; width: auto; max-width: 100%; height: auto;
  max-height: 680px; margin-inline: auto; object-fit: contain;
}
.recognition-image, .principle-section > div:first-child { align-self: center; }
.journal-hero-photo img, .story-photo img { width: auto; max-width: 100%; max-height: 640px; margin-inline: auto; }
.story-row { align-items: center; }
.project-cover img, .developer-cover img,
.project-gallery .image-button img, .story-gallery .image-button img {
  width: auto; max-width: 100%; height: auto; max-height: 800px;
  margin-inline: auto; object-fit: contain;
}
@media (min-width: 1001px) {
  .inner-hero:not(.about-hero), .contact-hero { min-height: 0; padding-block: 24px; align-items: center; }
  .inner-hero:not(.about-hero) .inner-visual, .contact-image { display: flex; justify-content: center; padding-inline: 24px; }
  .inner-hero:not(.about-hero) .inner-visual img, .contact-image img {
    width: auto; max-width: 100%; max-height: calc(100svh - var(--header-height) - 48px);
  }
  .inner-hero:not(.about-hero) .inner-intro, .contact-copy { padding: 24px clamp(28px,4vw,64px); }
  .inner-hero:not(.about-hero) .inner-intro h1, .contact-copy h1 { font-size: clamp(2.25rem,3.4vw,3.25rem); margin-block: 24px; }
  .city-hero-photo { height: clamp(600px, calc(100svh - var(--header-height)), 800px); min-height: 0; }
}
@media (max-width: 760px) {
  .story-photo img, .journal-hero-photo img { margin-inline: 0; }
}

.project-grid:has(> .project-card:only-child) { column-count: 1; max-width: 1000px; margin-inline: auto; }
@media (min-width: 1001px) {
  .journal-hero { grid-template-rows: 1fr auto 1fr; }
  .journal-hero > .chapter-kicker { align-self: end; }
  .journal-hero > p { align-self: start; }
}

/* A direct, localized bot invitation beside Angelica's opening contacts. */
.contact-bot-invite { display: flex; flex-direction: column; gap: 5px; width: 100%; max-width: 580px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.contact-bot-invite strong { color: var(--link-color); font-size: 18px; line-height: 1.4; }
.contact-bot-invite > span { font-size: 16px; line-height: 1.5; }
.contact-bot-invite:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* Mobile editorial audit: keep the established palette, type and original photos. */
@media(max-width:760px){
 .about-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:24px var(--page-gutter);}
 .about-hero .inner-intro{display:contents;}
 .about-hero .chapter-kicker{grid-row:1;margin-bottom:12px;}
 .about-hero .inner-intro h1{grid-row:2;font-size:clamp(1.75rem,6vw,2.125rem);margin:0 0 20px;}
 .about-hero .inner-visual{grid-row:3;padding:0;margin:0 0 20px;}
 .about-hero .inner-visual img{height:300px;width:auto;max-height:none;max-width:100%;object-fit:contain;border-radius:var(--radius-image);}
 .about-hero .inner-intro>p{grid-row:4;font-size:18px;line-height:1.6;margin:0 0 20px;}
 .about-hero .opening-contacts{grid-row:5;}
 .opening-contacts .contact-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .opening-contacts .contact-channel-link{width:100%;min-width:0;gap:6px;padding:10px 12px;font-size:15px;}
 .opening-contacts .contact-channel-email{grid-column:1/-1;}
 .opening-contacts .contact-bot-invite{margin:12px 0;padding-top:12px;}
 .home-page .section,.home-page>.editorial-notes{padding-block:32px;}
 .home-page .home-introduction{gap:12px;}
 .home-page .home-introduction .stats-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
 .home-page .stats-strip strong{font-size:2rem;}
 .home-page .stats-strip span{font-size:14px;line-height:1.45;overflow-wrap:anywhere;}
 .home-travel-copy p{display:none;}
 .home-travel-grid{gap:28px;}
 .home-travel-card h3{margin-block:16px 12px;}
}
@media(max-width:540px){
 :root{--header-height:96px;}
 .header-inner,.home-page .header-inner{min-height:96px;padding-block:4px;gap:0 12px;}
 .opening-contacts .contact-channel-link:nth-child(2){font-size:14px;}
}
@media(max-width:760px){.opening-contacts .contact-channel-link,.opening-contacts .contact-channel-link:nth-child(2){font-size:16px;}}
@media(max-width:760px){.opening-contacts .contact-channel-link,.opening-contacts .contact-channel-link:nth-child(2){font-size:18px;min-height:52px;}}
@media(max-width:540px){.opening-contacts .contact-channels{grid-template-columns:minmax(0,1fr)}.opening-contacts .contact-channel-link{padding-block:10px;min-height:52px}}
