:root {
  color-scheme: dark;
  --ink: #0b0c0d;
  --ink-soft: #121416;
  --paper: #f1eee7;
  --paper-dim: #d8d4cc;
  --stone: #a9a59d;
  --line: rgba(255, 255, 255, 0.16);
  --gold: #c7a56a;
  --wrap: min(1160px, calc(100% - 64px));
  --grid-gap: clamp(32px, 5vw, 72px);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
h1 > span, h1 > em, h2 > span, h2 > em, h3 > span, h3 > em { display: block; }
p { text-wrap: pretty; }
.wrap > *, .wrap > * > *, .service > *, .principle > *, .plan-toolbar > *, .footer-meta > * { min-width: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
button { font: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { position: relative; padding: clamp(96px, 12vw, 176px) 0; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; z-index: 1000; top: 16px; left: 16px; padding: 12px 16px;
  background: var(--paper); color: var(--ink); border-radius: 2px;
}

.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto; height: 92px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(32px, calc((100% - 1160px) / 2));
  border-bottom: 1px solid transparent;
  transition: height .35s ease, background .35s ease, border-color .35s ease;
}
.site-header.scrolled {
  height: 72px; background: rgba(11, 12, 13, .92); backdrop-filter: blur(18px);
  border-color: rgba(255,255,255,.1);
}
.brand { position: relative; z-index: 3; width: 160px; height: 69px; overflow: hidden; }
.brand-crop { display: block; width: 160px; height: 69px; overflow: hidden; position: relative; }
.brand-crop img {
  position: absolute; width: 217px; max-width: none; left: -32px; top: -55px;
}
.desktop-nav { display: flex; gap: 34px; align-items: center; }
.desktop-nav a {
  font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,.85); position: relative; padding-block: 12px;
}
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px;
  background: var(--gold); transition: right .25s ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.menu-button { display: none; position: relative; z-index: 3; width: 44px; height: 44px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 1px; background: #fff; margin: 7px auto; transition: transform .25s ease; }
.menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: 0; padding: 128px 24px 48px; background: var(--ink);
  flex-direction: column; gap: 12px; overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a { font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 4rem); text-decoration: none; }

.hero { position: relative; min-height: max(640px, 100svh); display: grid; align-items: end; overflow: hidden; background: #111; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: hero-in 2s cubic-bezier(.16,1,.3,1) both; translate: 0 var(--hero-drift, 0px); }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,6,7,.92) 0%, rgba(5,6,7,.7) 35%, rgba(5,6,7,.12) 70%),
              linear-gradient(0deg, rgba(5,6,7,.72) 0%, transparent 42%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; padding-top: 160px; padding-bottom: clamp(72px, 9vw, 118px); }
.eyebrow, .section-label, .project-kicker {
  margin: 0; font-size: .875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow { color: var(--gold); margin-bottom: 24px; }
.hero h1, .project h2, .contact h2 {
  margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.08;
}
.hero h1 { max-width: 1100px; font-size: clamp(2.5rem, 6.9vw, 6.5rem); }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.hero-intro { max-width: 500px; margin: 32px 0 30px; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.text-link { display: inline-flex; align-items: center; gap: 30px; font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 8px; }
.image-note { position: absolute; z-index: 2; right: 24px; bottom: 18px; margin: 0; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.scroll-cue { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1160px) / 2)); bottom: 84px; width: 1px; height: 84px; background: rgba(255,255,255,.22); }
.scroll-cue span { display: block; width: 1px; height: 26px; background: var(--gold); animation: scroll 2s ease-in-out infinite; }

.manifesto { background: var(--paper); color: var(--ink); }
.manifesto-grid, .project-grid, .contact-grid { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr); gap: var(--grid-gap); }
.section-label { display: flex; gap: 18px; color: #55544f; padding-top: 14px; }
.section-label span { color: var(--gold); }
.statement { margin: 0; max-width: 880px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 4.5vw, 4.5rem); line-height: 1.12; letter-spacing: -.035em; }
.statement em { color: #8b7045; font-weight: 400; }
.statement-copy { margin: 68px 0 0 auto; max-width: 650px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; color: #45443f; }
.statement-copy p { margin: 0; }

.expertise { background: #17191a; }
.section-heading { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr); gap: var(--grid-gap); margin-bottom: 78px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 4.6vw, 4.6rem); line-height: 1.1; font-weight: 400; letter-spacing: -.035em; }
.expertise .section-label { color: #aaa8a2; }
.services { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; gap: var(--grid-gap); padding: 38px 0 44px; border-bottom: 1px solid var(--line); }
.service-number { color: var(--gold); font-size: .875rem; letter-spacing: .14em; }
.service h3 { margin: -5px 0 0; font-family: var(--serif); font-size: clamp(1.85rem, 2.8vw, 2.75rem); line-height: 1.2; font-weight: 400; }
.service p { margin: 2px 0 0; max-width: 500px; color: #b5b4af; }

.project { background: var(--ink-soft); color: var(--paper); }
.project-heading { display:grid; grid-template-columns:minmax(160px,1fr) minmax(0,3fr); gap:var(--grid-gap); margin-bottom:64px; }
.project-copy { max-width:760px; }
.project-kicker { color:var(--gold); margin-bottom:22px; font-size:.875rem; }
.project h2 { font-size:clamp(2.5rem, 5vw, 5rem); }
.project-copy > p:not(.project-kicker) { max-width:580px; margin:32px 0 0; color:var(--paper-dim); }
.project-status { display:flex; align-items:center; gap:12px; margin-top:28px; font-size:.875rem; color:var(--stone); }
.project-status span { width:6px; height:6px; border-radius:50%; background:var(--gold); }
.project figure { margin:0; }
.image-expand { display:block; position:relative; width:100%; padding:0; border:0; background:transparent; cursor:zoom-in; color:var(--paper); }
.image-expand img { width:100%; height:auto; }
.image-expand:focus-visible, .plan-tabs button:focus-visible, .dialog-close:focus-visible { outline:2px solid var(--gold); outline-offset:5px; }
.expand-label { position:absolute; bottom:20px; right:20px; padding:9px 16px; font-size:.875rem; background:rgba(11,12,13,.88); border:1px solid rgba(255,255,255,.28); backdrop-filter:blur(8px); }
.project-aerial { border-bottom:1px solid var(--line); }
.project-aerial figcaption { display:flex; justify-content:space-between; gap:16px; padding:18px 0; color:var(--stone); font-size:.875rem; }
.project-siteplan { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.55fr); gap:var(--grid-gap); align-items:center; margin-top:96px; }
.project h3 { font-family:var(--serif); font-size:clamp(2.1rem,3.5vw,3.5rem); line-height:1.12; font-weight:400; letter-spacing:-.025em; margin:0; }
.project h3 em { font-weight:400; color:var(--gold); }
.siteplan-copy > p:not(.project-kicker) { color:var(--paper-dim); margin:28px 0 0; }
.siteplan-copy .drawing-note { font-size:.875rem; color:var(--stone); }
.drawing-expand { background:#fff; padding:18px; }
.siteplan-figure figcaption { font-size:.875rem; color:var(--stone); margin-top:16px; }
.project-plans { margin-top:100px; padding-top:70px; border-top:1px solid var(--line); }
.plans-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:40px; }
.plans-heading > p { max-width:280px; color:var(--stone); margin:0; }
.plan-viewer { background:#fff; color:var(--ink); }
.plan-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:1px solid #ddd; padding:0 28px; }
.plan-tabs { display:flex; flex-wrap:wrap; gap:0 28px; }
.plan-tabs button { color:#666; background:none; padding:22px 0; border:0; border-bottom:2px solid transparent; font-size:1rem; cursor:pointer; }
.plan-tabs button[aria-selected="true"] { color:var(--ink); border-bottom-color:#92713d; }
.plan-reference { font-size:.875rem; color:#666; }
.plan-expand { padding:24px; }
.plan-footer { display:flex; justify-content:space-between; gap:20px; padding:22px 28px; border-top:1px solid #ddd; font-size:.875rem; color:#555; }
.plan-footer a { color:#6b522d; text-underline-offset:4px; }
.image-dialog { width:calc(100% - 48px); max-width:1600px; max-height:calc(100dvh - 48px); background:#121416; color:var(--paper); border:1px solid var(--line); padding:0; }
.image-dialog::backdrop { background:rgba(0,0,0,.9); backdrop-filter:blur(8px); }
.dialog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 24px; border-bottom:1px solid var(--line); }
.dialog-toolbar p { margin:0; font-size:.875rem; }
.dialog-close { flex-shrink:0; background:none; color:var(--paper); border:0; cursor:pointer; padding:8px; }
.dialog-close span { font-size:1.5rem; margin-left:12px; }
.dialog-image { padding:16px; overflow:auto; }
.dialog-image img { width:100%; height:auto; max-height:calc(100dvh - 170px); object-fit:contain; }
body.image-open { overflow:hidden; }
@media (max-width:820px) {
 .project-heading, .project-siteplan { grid-template-columns:1fr; gap:36px; }
 .project-siteplan { margin-top:64px; }
 .project-copy { padding:0; }
 .project-plans { margin-top:64px; padding-top:48px; }
 .plans-heading { display:block; }
 .plans-heading > p { margin-top:24px; max-width:none; }
 .plan-toolbar { padding:0 16px; gap:10px; flex-wrap:wrap; }
 .plan-reference { display:none; }
 .plan-tabs { gap:24px; }
 .plan-tabs button { padding:18px 0; }
 .plan-expand, .drawing-expand { padding:8px; }
 .plan-footer { padding:18px 16px; flex-wrap:wrap; gap:8px; }
 .image-dialog { width:calc(100vw - 20px); max-height:calc(100dvh - 20px); }
 .dialog-toolbar { padding:10px 12px; }
 .expand-label { bottom:12px; right:12px; }
}

.principles { background: var(--paper); color: var(--ink); }
.principles-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--grid-gap); }
.principles .section-heading { display: block; margin: 0; align-self: start; }
.principles .section-heading h2 { margin-top: 36px; }
.sticky-heading { position: sticky; top: 120px; }
.principle { display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid rgba(11,12,13,.17); }
.principle > span { color: #8b7045; font-size: .875rem; letter-spacing: .12em; padding-top: 8px; }
.principle h3 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(1.65rem, 2.5vw, 2rem); line-height: 1.2; font-weight: 400; }
.principle p { margin: 0; color: #55544f; }

.contact { background: #0d0f10; overflow: hidden; }
.contact::before { content: "D"; position: absolute; right: -4vw; top: -15vw; font-family: var(--serif); font-size: 46vw; line-height: 1; color: rgba(255,255,255,.025); pointer-events: none; }
.contact-grid { position: relative; z-index: 1; }
.section-label.light { color: #aaa8a2; }
.contact h2 { font-size: clamp(2.5rem, 5.5vw, 5.5rem); }
.contact-intro { max-width: 600px; font-size: 1.08rem; color: #bbb9b3; margin: 36px 0 46px; }
.contact-email { display: inline-flex; flex-direction: column; gap: 8px; max-width: 100%; padding: 18px 24px; border: 1px solid rgba(199,165,106,.45); color: var(--gold); text-decoration: none; }
.contact-email span { font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-email strong { font-size: clamp(1rem, 4vw, 1.3rem); font-weight: 400; overflow-wrap: anywhere; }
.contact-email:hover { border-color: var(--gold); }
.contact-email:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }

.site-footer { background: #070808; padding: 58px 0 36px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.footer-brand { width: 160px; }
.footer-grid > p { margin: 0; text-align: right; color: #aaa8a2; font-family: var(--serif); font-size: 1.1rem; }
.footer-meta { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; color: #aaa8a2; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-meta a { text-decoration: none; }

.reveal { opacity: 1; transform: none; transition: opacity 1s ease, transform 1.2s cubic-bezier(.16,1,.3,1); }
.has-motion .reveal:not(.is-visible) { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.09); } to { opacity: 1; transform: scale(1.06); } }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(58px); opacity: 0; } }

@media (max-width: 820px) {
  :root { --wrap: min(680px, calc(100% - 40px)); --grid-gap: 32px; }
  .site-header { height: 76px; padding-inline: 20px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,6,7,.83), rgba(5,6,7,.2)), linear-gradient(0deg, rgba(5,6,7,.85), transparent 65%); }
  .hero-image { object-position: 63% center; }
  .hero h1 { font-size: clamp(2.3rem, 7.6vw, 3.8rem); }
  .hero { min-height: max(580px, 100svh); }
  .hero-content { padding-top: 132px; padding-bottom: 80px; }
  .section { padding-block: clamp(64px, 12vw, 100px); }
  .hero-intro { max-width: 34rem; }
  .scroll-cue { display: none; }
  .manifesto-grid, .project-grid, .contact-grid, .section-heading, .principles-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-label { padding-top: 0; }
  .statement-copy { grid-template-columns: 1fr; gap: 24px; margin-top: 46px; }
  .section-heading { margin-bottom: 46px; }
  .service { grid-template-columns: 34px 1fr; gap: 14px; padding: 30px 0; }
  .service p { grid-column: 2; }
  .project { min-height: auto; }
  .project-visual { inset: 42% 0 0 0; }
  .project-copy { padding: 0; }
  .sticky-heading { position: static; }
  .contact h2 { font-size: clamp(2.5rem, 8vw, 4rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .has-motion .reveal:not(.is-visible), .reveal { opacity: 1; transform: none; }
}

@media (min-width: 821px) and (max-width: 1050px) {
  .statement-copy { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
}
@media (max-width: 480px) {
  :root { --wrap: calc(100% - 32px); }
  .site-header { padding-inline: 16px; }
  .manifesto-grid, .contact-grid, .section-heading, .principles-grid { gap: 28px; }
  .statement { font-size: clamp(2rem, 8vw, 2.5rem); }
  .section-heading h2 { font-size: clamp(2.25rem, 8.5vw, 2.75rem); }
  .principle { grid-template-columns: 28px minmax(0,1fr); gap: 16px; padding-bottom: 28px; margin-bottom: 28px; }
  .project-aerial figcaption { flex-wrap: wrap; gap: 4px 16px; }
  .expand-label { padding: 8px 12px; bottom: 8px; right: 8px; }
  .contact-email { padding: 16px 18px; }
  .footer-grid { gap: 28px; }
}
@media (max-height: 600px) and (orientation: landscape) {
  .hero { min-height: 540px; }
  .hero-content { padding-top: 132px; padding-bottom: 64px; }
  .mobile-nav { padding-top: 92px; }
  .mobile-nav a { font-size: 2rem; }
}

/* Motion and surface details share the existing DEITO palette. */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
.site-header::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px;
  background: var(--gold); transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left; opacity: .75; pointer-events: none;
}
.site-header.scrolled { box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.desktop-nav a { transition: color .3s ease; }
.desktop-nav a.is-current { color: var(--gold); }
.desktop-nav a.is-current::after { right: 0; }
.desktop-nav a::after { bottom: 5px; transition: right .5s cubic-bezier(.16,1,.3,1); }
.text-link { position: relative; border-bottom-color: rgba(199,165,106,.4); transition: color .35s ease; }
.text-link::after {
  content: ""; position: absolute; inset: auto 0 -1px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.text-link:hover, .text-link:focus-visible { color: var(--gold); }
.text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); }
:is(h1,h2,h3).reveal > :is(span,em) {
  transition: opacity 1s ease, transform 1.2s cubic-bezier(.16,1,.3,1);
}
:is(h1,h2,h3).reveal > :nth-child(2) { transition-delay: .12s; }
.has-motion :is(h1,h2,h3).reveal:not(.is-visible) > :is(span,em) { opacity: 0; transform: translateY(12px); }
.service, .principle { position: relative; }
.service::after, .principle::after {
  content: ""; position: absolute; inset: auto 0 -1px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.image-expand { overflow: hidden; }
.project-aerial .image-expand img { transition: transform 1.5s cubic-bezier(.16,1,.3,1); }
.expand-label { transition: background .35s ease, border-color .35s ease, color .35s ease; }
.image-expand:hover .expand-label, .image-expand:focus-visible .expand-label { background: #0b0c0d; border-color: var(--gold); color: var(--gold); }
.plan-viewer { box-shadow: 0 24px 72px rgba(0,0,0,.2); }
.plan-tabs button { transition: color .3s ease, border-color .3s ease; }
.plan-tabs button:hover { color: #6b522d; }
.plan-viewer [role="tabpanel"]:not([hidden]) { animation: plan-in .5s cubic-bezier(.16,1,.3,1) both; }
.image-dialog[open] { animation: dialog-in .45s cubic-bezier(.16,1,.3,1) both; }
.image-dialog[open]::backdrop { animation: backdrop-in .45s ease both; }
.contact-email { position: relative; isolation: isolate; background: rgba(199,165,106,.025); transition: background .5s ease, border-color .5s ease, box-shadow .5s ease; }
.contact-email:hover, .contact-email:focus-visible { background: rgba(199,165,106,.09); box-shadow: 0 12px 40px rgba(199,165,106,.07); }
.footer-meta a { text-underline-offset: 6px; transition: color .3s ease; }
.footer-meta a:hover { color: var(--gold); }
.mobile-nav:not([hidden]) { animation: menu-in .45s cubic-bezier(.16,1,.3,1) both; }
.mobile-nav:not([hidden]) a { animation: menu-link-in .7s cubic-bezier(.16,1,.3,1) both; }
.mobile-nav:not([hidden]) a:nth-child(2) { animation-delay: .06s; }
.mobile-nav:not([hidden]) a:nth-child(3) { animation-delay: .12s; }
.mobile-nav a { transition: color .3s ease; }
.mobile-nav a:hover { color: var(--gold); }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-link-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes plan-in { from { opacity: .35; } to { opacity: 1; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
  .service:hover::after, .principle:hover::after { transform: scaleX(1); }
  .project-aerial .image-expand:hover img { transform: scale(1.025); }
}
@media (max-width: 820px) {
  .hero-image { translate: none; }
  .has-motion .reveal:not(.is-visible) { transform: translateY(16px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image { animation: none !important; translate: none; transform: none; }
  .has-motion :is(h1,h2,h3).reveal:not(.is-visible) > :is(span,em) { opacity: 1; transform: none; }
}
