/* Quality Manage — architectural editorial system. Static content is the default. */
:root {
  --paper: #fff;
  --soft: #f5f6f4;
  --ink: #182126;
  --muted: #5a625d;
  --line: #dce0db;
  --accent: #6a3d45;
  --gold: #cab58f;
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --gutter: clamp(24px, 5vw, 88px);
  --header: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Foundations */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--font-body); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
:where(a:not(.brand):not(.image-wrap):not(.skip)) { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 44px; padding: 10px 16px; border: 1px solid #cbd3d7; border-radius: 14px; background: #f5f7f8; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; box-shadow: inset 0 1px 0 #fff, 0 3px 10px #18212606; transition: background .2s, border-color .2s, box-shadow .2s; }
:where(a:not(.brand):not(.image-wrap):not(.skip)):hover { background: #e9eef0; border-color: #8c9da5; box-shadow: inset 0 1px 0 #fff, 0 5px 16px #18212612; }
button, input, select, textarea { font: inherit; }
a, button, input, select, textarea, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.13; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.3vw, 78px); margin-bottom: 24px; }
h2 { font-size: clamp(36px, 4vw, 58px); margin-bottom: 26px; }
h3 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 14px; }
p { margin-bottom: 22px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 10px; }
.frame { width: 100%; max-width: 1520px; padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: clamp(64px, 7.8vw, 112px); }
.soft { background: var(--soft); }
.overline { color: var(--muted); font: 600 11px/1.6 var(--font-body); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 22px; }
.red { color: var(--accent); }
.lead { color: var(--muted); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.65; max-width: 52ch; }
.small { color: var(--muted); font-size: 13px; }
.copy { max-width: 70ch; }
[hidden] { display: none !important; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; background: white; padding: 12px 20px; }
.skip:focus { top: 12px; }
.mobile-only { display: none; }

/* Consistent navigation, kept separate from the photographic hero. */
.site-header { position: sticky; top: 12px; z-index: 30; margin: 12px 18px; border: 1px solid rgb(255 255 255 / .85); border-radius: 28px; background: rgb(255 255 255 / .82); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); box-shadow: 0 8px 32px rgb(24 33 38 / .09), inset 0 1px 0 white; }
.site-header .frame { padding-inline: clamp(20px, 3vw, 46px); }
.site-header { transition: background-color .35s, box-shadow .35s, border-color .35s; }
.site-header.is-scrolled { background: rgb(255 255 255 / .93); border-color: #fff; box-shadow: 0 14px 42px rgb(24 33 38 / .15), inset 0 1px 0 white; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: white; } }
.header-inner { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-name { font-size: 17px; line-height: 1.15; letter-spacing: -.035em; font-weight: 600; }
.brand-name small { display: block; font-size: 8px; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; font-weight: 400; margin-top: 7px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 13px; }
.site-nav a { padding: 10px 16px; border-radius: 999px; }
.site-nav a[aria-current=page] { background: #e6ebee; border-color: #a4b2ba; }
.site-nav .nav-contact { border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; padding: 11px 22px; gap: 22px; transition: background .2s, color .2s; }
.site-nav .nav-contact:hover, .site-nav .nav-contact[aria-current=page] { background: var(--accent); border-color: var(--accent); color: white; }
.menu-toggle { display: none; min-height: 44px; border: 1px solid var(--line); background: white; color: var(--ink); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
#reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 50; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* Actions */
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 16px 28px; border: 1px solid var(--ink); border-radius: 18px; background: var(--ink); color: white; text-decoration: none; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.4; box-shadow: inset 0 1px 0 #ffffff24, 0 7px 18px #18212615; transition: background .25s, border-color .25s, box-shadow .25s; }
.button:hover { background: var(--accent); border-color: var(--accent); }
.button.secondary { background: #f2f5f6; border-color: #b8c5cc; color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 6px 18px #1821260c; }
.button.secondary:hover { background: #e3eaee; border-color: #8d9fa9; }
.button:disabled { background: #e2e5e1; color: #59605b; border-color: #c2c8c1; cursor: not-allowed; }
.button svg { width: 25px; height: 25px; flex-shrink: 0; }

/* Natural-color photography, with the project introduction below the image. */
.hero { color: var(--ink); background: var(--paper); }
.hero-media { position: relative; overflow: hidden; height: clamp(320px, 43vw, 620px); max-height: 60svh; background: #e6edf1; }
.hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; filter: none; opacity: 1; mix-blend-mode: normal; }
.hero-brand { position: absolute; inset: 0 0 auto; padding-top: clamp(28px, 4vw, 54px); pointer-events: none; }
.hero-wordmark { color: #202522; font: 400 clamp(66px, 9.7vw, 148px)/.98 var(--font-display); letter-spacing: -.065em; white-space: nowrap; margin: 0; }
.hero-wordmark { -webkit-text-stroke: .8px #cab58f; paint-order: stroke fill; }
.hero-wordmark > span { display: inline-block; }
.hero-layout { padding-block: 44px 32px; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(36px, 7vw, 110px); }
.hero .overline { grid-column: 1 / -1; color: var(--accent); font-size: 10px; letter-spacing: .14em; margin-bottom: 20px; }
.hero h1 { grid-column: 1; grid-row: 2 / 4; font: 500 clamp(34px, 4vw, 58px)/1.08 var(--font-body); letter-spacing: -.04em; max-width: 25ch; margin-bottom: 0; text-wrap: balance; }
.hero .lead { grid-column: 2; grid-row: 2; max-width: 53ch; font-size: 16px; line-height: 1.6; color: var(--muted); margin-bottom: 0; }
.hero .actions { grid-column: 2; grid-row: 3; margin-top: 24px; }
.hero-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 24px; margin-top: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.hero :focus-visible { outline-color: var(--accent); }
.contact-band :focus-visible { outline-color: var(--gold); }

/* Editorial section rhythm and service index */
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: clamp(36px, 8vw, 120px); margin-bottom: 52px; }
.section-head h2 { max-width: 19ch; margin-bottom: 0; }
.section-head .lead { justify-self: end; max-width: 43ch; font-size: 17px; margin-bottom: 4px; }
.service-list { display: grid; gap: 16px; }
.service-row { position: relative; display: grid; grid-template-columns: 96px 1.15fr 1fr; align-items: start; gap: 28px; padding: 32px; border: 1px solid #cbd3d7; border-radius: 26px; background: #f7f9fa; text-decoration: none; }
.service-mark { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.service-icon { display: block; width: 82px; height: 82px; color: var(--accent); }
.service-icon svg { display: block; width: 100%; height: 100%; transition: transform .55s var(--ease); }
.service-row:hover .service-icon svg, .service-row:focus-visible .service-icon svg { transform: translateY(-5px) rotate(-5deg); }
.service-number { font-size: 11px; color: var(--muted); letter-spacing: .14em; }
#services { background: radial-gradient(ellipse at 92% 14%, #8b3f493b, transparent 52%), radial-gradient(ellipse at 0 88%, #cab58f18, transparent 50%), var(--ink); color: white; }
#services .red, #services .service-icon { color: var(--gold); }
#services .lead, #services .service-row p, #services .service-number { color: #c7d0d4; }
#services .service-row { border-color: #ffffff38; background: linear-gradient(120deg, #ffffff13, #ffffff04 48%, #b51f2a0a), #1b272bc9; -webkit-backdrop-filter: blur(22px) saturate(125%); backdrop-filter: blur(22px) saturate(125%); box-shadow: inset 0 1px 0 #ffffff5c, inset 1px 0 0 #ffffff12, inset -1px -1px 0 #b51f2a3b, 0 20px 42px #070e1330; }
#services .service-row:hover, #services .service-row:focus-visible { background: linear-gradient(120deg, #ffffff1c, #ffffff08 48%, #b51f2a12), #202c31db; border-color: #cab58f8c; box-shadow: inset 0 1px 0 #ffffff70, inset -1px -1px 0 #b51f2a55, 0 24px 48px #050a1047; }
#services :focus-visible { outline-color: var(--gold); }
.service-row h3 { font-family: var(--font-display); font-size: clamp(27px, 2.6vw, 38px); letter-spacing: -.035em; max-width: 18ch; margin: 0; overflow-wrap: anywhere; }
.service-row p { font-size: 15px; color: var(--muted); margin: 3px 0 0; max-width: 43ch; }
.about { display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.about > div { max-width: 48ch; }
.about p:not(.overline) { color: var(--muted); }
.about img { width: 100%; border-radius: 4px 80px 4px 4px; aspect-ratio: 6 / 5; object-fit: cover; object-position: center; }

/* Images are the visual structure; captions remain unboxed. */
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 36px; }
.project { min-width: 0; }
.project .image-wrap { display: block; overflow: hidden; background: #eff1ed; }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.project .drawing img { object-fit: contain; background: #fafbf9; }
.project .image-wrap:hover img, .project .image-wrap:focus-visible img { transform: scale(1.035); }
.project .overline { font-size: 10px; color: var(--accent); margin: 22px 0 9px; }
.project h3 { font: 400 clamp(25px, 2.5vw, 36px)/1.16 var(--font-display); letter-spacing: -.035em; margin-bottom: 12px; }
.project p:not(.overline), .project figcaption.small { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 60ch; }
.project p:last-child { margin-bottom: 0; }
.gallery-section + .gallery-section { border-top: 1px solid var(--line); }
.gallery-heading { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 64px; align-items: start; margin-bottom: 38px; }
.gallery-heading .overline { grid-column: 1 / -1; margin-bottom: 18px; }
.gallery-heading h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 0; }
.gallery-heading .lead { font-size: 16px; margin-bottom: 0; }
.gallery-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.gallery-grid .project:only-child img { aspect-ratio: 16 / 8; }
.gallery-grid .project img { object-fit: contain; background: #f1f3ef; }

/* Selected work uses different scales to keep the project images distinct. */
#work .project-grid { grid-template-columns: 1.45fr 1fr; gap: 6vw; align-items: start; }
#work .project:nth-child(2) { padding-top: 96px; }
#work .project:first-child img { aspect-ratio: 16 / 10; }
#work .project:nth-child(2) img { aspect-ratio: 4 / 5; object-fit: contain; }
#work .project h3 { font-size: clamp(28px, 3vw, 42px); }
#work .image-wrap { border-radius: 4px 4px 28px 4px; }

/* Process, commitments and resources */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px; margin-top: 42px; }
.principle { border-top: 1px solid var(--line); padding-top: 26px; }
.principle h3 { font-size: 24px; max-width: 24ch; }
.principle p { font-size: 15px; color: var(--muted); }
.principle .overline { color: var(--accent); font-size: 10px; margin-bottom: 18px; }
#approach { background: #eef1f2; }
#approach .principle { padding: 28px 24px; border: 1px solid white; border-radius: 26px; background: rgb(255 255 255 / .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 36px rgb(24 33 38 / .04); }
#approach .principle { background: linear-gradient(135deg, #ffffffdc, #ffffff70); box-shadow: inset 0 1px 0 #fff, inset -1px -1px 0 #b51f2a22, 0 18px 38px #1821260d; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
#approach .principle .overline { font-size: 17px; letter-spacing: .04em; margin-bottom: 32px; }
#our-promise { background: white; border-bottom: 1px solid var(--line); }
.article-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: start; gap: 36px; padding: 30px; margin-bottom: 16px; border: 1px solid #cbd3d7; border-radius: 24px; background: #f6f8f9; text-decoration: none; }
.article-row .overline { padding-top: 5px; font-size: 10px; }
.article-row h3 { max-width: 36ch; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.22; margin-bottom: 12px; }
.article-row p { color: var(--muted); font-size: 15px; max-width: 72ch; margin-bottom: 0; }
.article-row:hover h3, .article-row:focus-visible h3 { color: var(--accent); }
#contact .lead { max-width: 60ch; }

/* Quiet inner-page introductions and readable long-form content */
.page-intro { padding-block: 40px 68px; background: var(--soft); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; padding: 0; margin: 0 0 40px; color: var(--muted); font-size: 12px; }
.breadcrumbs li { margin: 0; overflow-wrap: anywhere; }
.breadcrumbs li + li::before { content: '/'; color: #858c85; padding-right: 12px; }
.breadcrumbs a { padding: 9px 15px; border-radius: 12px; }
.page-intro .overline { margin-bottom: 18px; }
.page-intro h1 { max-width: 24ch; }
.page-intro .lead { max-width: 61ch; font-size: 19px; margin-bottom: 0; }
.detail-layout { display: grid; grid-template-columns: 1.35fr 1fr; align-items: start; gap: clamp(40px, 7vw, 100px); }
.detail-layout > *, .contact-layout > * { min-width: 0; }
.detail-layout h2 { font-size: clamp(32px, 3.4vw, 46px); }
.detail-layout p { color: var(--muted); }
.detail-image img { width: 100%; max-height: 530px; object-fit: contain; background: var(--soft); }
.scope-list { margin-top: 40px; }
.scope-item { border-top: 1px solid var(--line); padding-block: 28px; }
.scope-item h3 { font-size: 24px; }
.scope-item p { font-size: 16px; color: var(--muted); margin-bottom: 0; }
.scope-item ul { color: var(--muted); }
.scope-item .actions { margin-top: 20px; }
.note { border-left: 2px solid var(--gold); padding: 18px 22px; background: var(--soft); font-size: 14px; line-height: 1.75; }
.input-list { color: var(--muted); font-size: 15px; }
.input-list a { display: inline-block; padding-block: 5px; }
.faq { max-width: 1040px; }
.faq details { border-top: 1px solid var(--line); padding-block: 18px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; min-height: 44px; padding-block: 8px; padding-right: 15px; font-size: 18px; }
.faq details p { color: var(--muted); max-width: 70ch; font-size: 16px; margin: 18px 0 10px; }
.legal { max-width: 950px; }
.legal > section + section { margin-top: 44px; }
.legal h2 { font: 400 clamp(26px, 2.5vw, 34px)/1.25 var(--font-display); letter-spacing: -.025em; margin-bottom: 20px; }
.legal p, .legal li { font-size: 17px; line-height: 1.85; color: var(--muted); }

/* Long-form legal documents: clear navigation and a strong branded introduction. */
.legal-hero { background: var(--ink); color: white; padding: 36px 0 30px; }
.legal-hero .breadcrumbs { color: #c3cdd3; margin-bottom: 48px; }
.legal-hero a { background: #ffffff10; color: white; border-color: #ffffff40; box-shadow: inset 0 1px 0 #ffffff15; }
.legal-hero a:hover { background: #ffffff20; border-color: #ffffff80; }
.legal-hero-grid { display: grid; grid-template-columns: 1fr 250px; gap: 64px; align-items: center; }
.legal-hero h1 { font-size: clamp(56px, 7vw, 104px); line-height: .98; max-width: 12ch; margin-bottom: 28px; }
.legal-hero .overline { color: var(--gold); }
.legal-hero .lead { color: #d5dfe3; font-size: 20px; max-width: 57ch; }
.legal-updated { color: #bbc7cd; font-size: 13px; margin: 30px 0 0; }
.legal-emblem { aspect-ratio: 1; border-radius: 42px; border: 1px solid #ffffff45; background: #ffffff0d; box-shadow: inset 0 1px 0 #ffffff55, 0 30px 60px #0002; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: grid; place-items: center; transform: rotate(7deg); }
.legal-emblem svg { width: 62%; height: 62%; color: var(--gold); transform: rotate(-7deg); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; border-top: 1px solid #ffffff33; padding-top: 22px; margin-top: 48px; font-size: 13px; }
.legal-meta a { display: inline-flex; gap: 18px; align-items: center; min-height: 44px; }
.legal-hero :focus-visible { outline-color: var(--gold); }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); padding-block: 72px 100px; align-items: start; }
.legal-navigation { position: sticky; top: 116px; max-height: calc(100svh - 140px); overflow-y: auto; padding-right: 18px; scrollbar-width: thin; }
.legal-navigation .overline { margin-bottom: 15px; }
.legal-navigation ol { list-style: none; padding: 0; margin: 0; }
.legal-navigation nav { scroll-margin-top: 124px; }
.legal-navigation li { margin: 0 0 8px; }
.legal-navigation a { display: flex; gap: 12px; align-items: baseline; justify-content: flex-start; min-height: 44px; padding: 12px; font-size: 13px; line-height: 1.5; text-decoration: none; }
.legal-navigation a:hover { color: var(--accent); }
.legal-navigation a span { color: #6b767e; font-variant-numeric: tabular-nums; font-size: 11px; flex: 0 0 2ch; white-space: nowrap; }
.legal-help { padding-top: 28px; font-size: 14px; }
.legal-help p { margin-bottom: 8px; font-weight: 600; }
.legal-help a { overflow-wrap: anywhere; }
.legal-document { max-width: 880px; min-width: 0; }
.legal-chapter { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 24px; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 124px; }
.legal-chapter .chapter-number { color: var(--accent); font: 400 28px/1.3 var(--font-display); margin: 0; }
.legal-chapter h2 { font: 400 clamp(26px, 2.5vw, 36px)/1.16 var(--font-display); letter-spacing: -.025em; margin-bottom: 24px; }
.legal-chapter p:not(.chapter-number), .legal-chapter li { color: #46535c; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.legal-chapter li { padding-left: 5px; margin-bottom: 14px; }
.chapter-top { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 12px; color: var(--accent); }
.legal-contact { padding: 36px; border-radius: 28px; background: #eef1f2; }
.legal-contact h2 { font-size: 36px; max-width: 20ch; }
.legal-contact p:not(.overline) { color: var(--muted); }
@media (max-width: 1000px) {
  .legal-hero-grid { grid-template-columns: 1fr 180px; gap: 36px; }
  .legal-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
  .legal-chapter { grid-template-columns: 30px minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 760px) {
  .legal-hero { padding-top: 24px; }
  .legal-hero-grid { grid-template-columns: minmax(0,1fr) 80px; gap: 16px; align-items: start; }
  .legal-emblem { border-radius: 20px; margin-top: 10px; }
  .legal-hero h1 { font-size: clamp(43px, 9vw, 68px); }
  .legal-hero .lead { font-size: 16px; }
  .legal-hero .breadcrumbs { margin-bottom: 30px; }
  .legal-meta { gap: 4px 24px; margin-top: 32px; }
  .legal-layout { display: block; padding-block: 38px 62px; }
  .legal-navigation { position: static; max-height: none; padding: 0 0 36px; margin-bottom: 40px; border-bottom: 2px solid var(--line); }
  .legal-navigation ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .legal-help { display: none; }
  .legal-chapter { margin-bottom: 32px; padding-bottom: 32px; gap: 12px; }
  .legal-chapter h2 { font-size: 28px; }
  .legal-contact { padding: 26px; }
  .legal-contact h2 { font-size: 30px; }
}
@media (max-width: 390px) { .legal-navigation ol { grid-template-columns: 1fr; } .legal-hero-grid { grid-template-columns: 1fr; } .legal-emblem { display: none; } }

/* Inquiry form: accessible native controls and unchanged integration hooks. */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 8vw, 120px); }
.contact-item { border-top: 1px solid var(--line); padding-block: 24px; }
.contact-item .overline { font-size: 10px; margin-bottom: 8px; }
.contact-item p { margin: 0; overflow-wrap: anywhere; }
.contact-item a { display: inline-block; padding-block: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.field { min-width: 0; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 52px; padding: 13px 14px; border: 1px solid #8d968e; border-radius: 14px; background: white; color: var(--ink); font-size: 16px; }
.field textarea { resize: vertical; min-height: 164px; }
.field [aria-invalid=true] { border-color: #9b2535; }
.error { min-height: 18px; margin: 5px 0 0; color: #9b2535; font-size: 12px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-block: 7px; font-size: 14px; cursor: pointer; }
.checkbox-label input { width: 19px; height: 19px; flex-shrink: 0; margin: 3px 0 0; accent-color: var(--accent); }
.form-disclosure { color: var(--muted); font-size: 13px; line-height: 1.8; margin-block: 20px; }
.form-status { font-size: 14px; margin-top: 20px; overflow-wrap: anywhere; }

/* A single dark closing moment, then a bright, functional footer. */
.contact-band { background: var(--ink); color: white; padding-block: clamp(58px, 6vw, 88px); }
.contact-band .frame { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.contact-band .overline { color: var(--gold); margin-bottom: 20px; }
.contact-band h2 { font-size: clamp(38px, 4.7vw, 68px); margin-bottom: 18px; max-width: 19ch; }
.contact-band p:not(.overline) { color: #e5e9e3; font-size: 16px; max-width: 50ch; margin-bottom: 0; }
.contact-band .button { background: var(--gold); color: var(--ink); border-color: var(--gold); flex-shrink: 0; }
.contact-band .button:hover { background: white; border-color: white; }
.site-footer { padding-block: 66px 30px; background: #10191f; color: #f5f7f8; border-top: 1px solid #43515a; }
.site-footer .brand { margin-bottom: 8px; }
.site-footer .brand-name { font-size: 20px; }
.site-footer .brand img { width: 72px; height: 72px; }
.site-footer .small { color: #c1cbd1; font-size: 14px; }
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1.3fr .8fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-title { color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a:not(.brand) { color: #f4f7f9; background: #ffffff08; border-color: #657580; box-shadow: inset 0 1px 0 #ffffff15; }
.site-footer a:not(.brand):hover { background: #ffffff16; border-color: #cad7de; }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.footer-social .social-button { display: inline-flex; gap: 12px; min-height: 52px; padding: 13px 17px; border-radius: 16px; font-size: 13px; }
.utility-icon { display: block; width: 26px; height: 26px; flex-shrink: 0; }
.footer-links { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.footer-contact-link { display: flex; justify-content: flex-start; gap: 14px; min-height: 78px; padding: 12px 16px; border-radius: 18px; }
.contact-symbol { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: #ffffff0b; border: 1px solid #ffffff20; color: var(--gold); }
.contact-symbol svg { width: 27px; height: 27px; }
.footer-contact-copy { min-width: 0; overflow-wrap: anywhere; }
.footer-contact-copy small { display: block; color: #c3cfd6; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 5px; }
.footer-contact-copy strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.footer-hours { display: block; margin-top: 8px; }
.footer-page-links { display: grid; gap: 10px; }
.footer-page-links a { justify-content: flex-start; min-height: 50px; padding: 13px 18px; font-size: 14px; border-radius: 14px; }
.footer-area { margin: 20px 0 0; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-legal a { min-height: 44px; padding: 11px 17px; border-radius: 13px; font-size: 12px; overflow-wrap: anywhere; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #43515a; margin-top: 46px; padding-top: 26px; padding-bottom: 16px; font-size: 12px; color: #c1cbd1; }
.service-row p, .article-row p { font-weight: 400; }

/* Tablet and navigation breakpoint. Natural flow remains the no-JS fallback. */
@media (max-width: 1050px) {
  .header-inner { gap: 20px; }
  .site-nav { gap: 6px; }
  .brand-name { font-size: 15px; }
  .site-nav a { padding-inline: 12px; }
  .site-nav .nav-contact { padding-inline: 14px; }
  .service-row { grid-template-columns: 76px 1.1fr 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-heading { gap: 20px 36px; }
}
@media (max-width: 900px) {
  :root { --header: 76px; }
  .site-header { top: 8px; margin: 8px 12px; border-radius: 24px; }
  .header-inner { flex-wrap: wrap; padding-block: 9px; gap: 0 20px; }
  .brand img { width: 56px; height: 56px; }
  .brand-name { font-size: 16px; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: 6px 28px; padding-block: 12px 16px; }
  .js .menu-toggle { display: block; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; padding: 18px var(--gutter) 24px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 32px #18212618; max-height: calc(100svh - var(--header)); overflow-y: auto; }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a { font-size: 15px; min-height: 48px; }
  html:not(.js) .site-header { position: relative; }
  .about { gap: 35px; }
  .article-row { grid-template-columns: 128px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 700px) {
  :root { --gutter: 24px; }
  .section { padding-block: 62px; }
  h2 { font-size: clamp(34px, 8.8vw, 46px); }
  .hero-layout { padding-block: 32px 24px; }
  .hero-media { height: 60vw; min-height: 260px; max-height: none; }
  .hero-brand { padding-top: 24px; }
  .hero-content { display: block; }
  .hero-wordmark { font-size: clamp(38px, 12.2vw, 82px); letter-spacing: -.065em; margin-bottom: 0; }
  .hero-image { object-position: 56% center; }
  .hero h1 { font-size: clamp(29px, 7.2vw, 38px); max-width: 24ch; margin-bottom: 20px; }
  .hero .lead { font-size: 15px; }
  .hero .overline { font-size: 9px; letter-spacing: .08em; }
  .hero .actions { gap: 12px 22px; margin-top: 22px; }
  .hero .button { font-size: 13px; padding-inline: 17px; gap: 24px; }
  .hero-bottom { font-size: 9px; letter-spacing: .05em; gap: 6px 24px; margin-top: 26px; padding-top: 16px; }
  .section-head, .about, .detail-layout, .contact-layout, .gallery-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-head { margin-bottom: 36px; }
  .section-head .lead { justify-self: start; font-size: 16px; }
  .section-head h2 { max-width: 20ch; }
  .about > div { max-width: none; }
  .about img { aspect-ratio: 4 / 3; border-radius: 4px 44px 4px 4px; }
  .service-row { grid-template-columns: 64px minmax(0, 1fr); gap: 12px 16px; padding: 24px 18px; border-radius: 22px; }
  .service-icon { width: 60px; height: 60px; }
  .service-mark { grid-column: 1; grid-row: 1 / 3; }
  .service-row h3 { font-size: 28px; }
  .service-row p { grid-column: 2; grid-row: 2; font-size: 14px; }
  .project-grid, #work .project-grid { grid-template-columns: 1fr; gap: 40px; }
  #work .project:nth-child(2) { padding-top: 0; }
  #work .project:nth-child(2) img { aspect-ratio: 4 / 3; }
  .project h3 { font-size: 29px; }
  .project .overline { margin-top: 18px; }
  .gallery-heading { margin-bottom: 28px; gap: 16px; }
  .gallery-heading .overline { margin-bottom: 0; }
  .gallery-heading h2 { font-size: 32px; }
  .gallery-grid .project:only-child img { aspect-ratio: 4 / 3; }
  .principles { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .principle { padding-top: 24px; }
  .principle p { max-width: 58ch; }
  .article-row { grid-template-columns: minmax(0, 1fr); gap: 8px 20px; padding: 24px 20px; }
  .article-row > .overline { grid-column: 1 / -1; padding: 0; margin: 0 0 10px; }
  .article-row h3 { font-size: 25px; }
  .article-row p { font-size: 14px; }
  .page-intro { padding-block: 30px 44px; }
  .page-intro h1 { font-size: clamp(38px, 10vw, 58px); max-width: 24ch; overflow-wrap: break-word; }
  .page-intro .lead { font-size: 17px; }
  .breadcrumbs { font-size: 11px; margin-bottom: 30px; }
  .detail-layout, .contact-layout { gap: 38px; }
  .detail-layout h2 { font-size: 34px; }
  .legal p, .legal li { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 4px; }
  .contact-band .frame { display: block; }
  .contact-band .button { margin-top: 28px; }
  .contact-band h2 { font-size: 43px; }
  .site-footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-page-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 32px; }
  .mobile-only { display: block; }
}
@media (max-width: 370px) {
  :root { --gutter: 20px; }
  .brand-name { font-size: 14px; }
  .brand-name small { font-size: 7px; }
  .brand { gap: 9px; }
  .brand img { width: 49px; height: 49px; }
  .menu-toggle { padding-inline: 12px; }
  .hero-wordmark { font-size: 12vw; }
  .hero .actions { gap: 8px 16px; }
}
/* Short screens grow naturally rather than cropping actions or useful copy. */
@media (max-height: 740px) and (min-width: 701px) {
  .hero-wordmark { font-size: clamp(60px, 7vw, 100px); margin-bottom: 0; }
  .hero-media { max-height: 54svh; }
  .hero h1 { font-size: 34px; }
  .hero-bottom { margin-top: 22px; }
}
/* Interaction layers stay outside text and photography. */
@property --magic-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes magic-border-turn { to { --magic-angle: 360deg; } }
:is(.button, .nav-contact, .service-row, .article-row, #approach .principle, .legal-contact, .faq details) { position: relative; isolation: isolate; }
:is(.button:not(.secondary), .nav-contact) { border-color: #cab58f82; }
[data-motion-tilt] { transform: var(--card-tilt, none); transform-style: preserve-3d; }
.project .image-wrap { box-shadow: 0 14px 28px #1821260b; transition: box-shadow .35s; }
.project .image-wrap:hover, .project .image-wrap:focus-visible { box-shadow: 0 24px 46px #18212622; }
.service-row, .article-row, .principle, .scope-item { transition: background-color .3s, border-color .3s, box-shadow .3s; }
@supports (mask-composite: exclude) or (-webkit-mask-composite: xor) {
  :is(.button, .nav-contact, .service-row, .article-row, #approach .principle, .legal-contact, .faq details)::before { content: ''; --magic-angle: 0deg; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--magic-angle, 0deg), transparent 0deg, #cab58f 75deg, #c55463 155deg, #fff2db 230deg, transparent 325deg); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; opacity: 1; pointer-events: none; animation: magic-border-turn 3s linear infinite; z-index: 2; }
}
@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled), .nav-contact { transition: background-color .25s, border-color .25s, box-shadow .25s, translate .25s; }
  .button:not(:disabled):hover, .nav-contact:hover { translate: 0 -3px; box-shadow: inset 0 1px 0 #ffffff36, 0 14px 28px #18212626; }
  .button:not(:disabled):active, .nav-contact:active { translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-image, .project img, .service-icon svg, [data-motion-tilt] { transform: none !important; }
  .button, .nav-contact { translate: none !important; }
  #reading-progress { display: none; }
}
@media (forced-colors: active) {
  .hero, .contact-band { background: Canvas; color: CanvasText; }
  .hero-wordmark { -webkit-text-stroke: 0; }
  :is(.button, .nav-contact, .service-row, .article-row, #approach .principle, .legal-contact, .faq details)::before { display: none; }
  .hero-image { display: none; }
  .hero .lead, .hero .overline, .hero-bottom, .contact-band p { color: CanvasText; }
  .button, .site-nav .nav-contact { border: 1px solid ButtonText; }
}
