:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --white: #fdfcf8;
  --ink: #182326;
  --blue: #00447c;
  --navy: #102b41;
  --muted: #525b59;
  --line: #d1d5cb;
  --sage: #e5e9df;
  --display: Georgia, 'Times New Roman', serif;
  --body: 'Segoe UI', Aptos, Arial, sans-serif;
  --gutter: clamp(1.35rem, 5vw, 5rem);
  --space: clamp(4rem, 8vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.55 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
::selection { color: #fff; background: var(--blue); }
:focus-visible { outline: 3px solid #9d4d15; outline-offset: 4px; }
img { display: block; width: 100%; max-width: 100%; object-fit: cover; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
figure, p, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h2 { font-size: clamp(2.5rem, 5.4vw, 5.1rem); line-height: 1; letter-spacing: -.055em; }
.wrap { max-width: 94rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.eyebrow { color: var(--blue); font-size: .875rem; line-height: 1.4; font-weight: 700; letter-spacing: .125em; text-transform: uppercase; }
.lead { max-width: 37rem; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.24rem); line-height: 1.55; text-wrap: pretty; }
.section-head .eyebrow, .studio .eyebrow, .fee-intro .eyebrow { margin-bottom: .75rem; }
.section-split { display: grid; grid-template-columns: 1.15fr .7fr; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(1.6rem, 4vw, 3.15rem); }
.skip-link { position: absolute; z-index: 4; inset: .75rem auto auto 1rem; padding: .8rem 1rem; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.header { background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: .95rem; text-decoration: none; }
.brand-studio { font-size: 1.02rem; font-weight: 800; letter-spacing: .155em; text-decoration: none; white-space: nowrap; }
.brand-divider { height: 1.6rem; width: 1px; background: var(--line); }
.brand-client { padding: .59rem .63rem; background: var(--blue); }
.brand-client img { height: auto; width: clamp(6.4rem, 9vw, 8.6rem); }
.header-nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); margin-left: auto; align-items: center; }
.header-nav a { padding-block: .65rem; color: var(--muted); font-size: .875rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.header-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .28em; }
.language { display: flex; align-items: center; padding: .15rem; border: 1px solid var(--line); }
.language a { display: grid; place-items: center; min-height: 2.25rem; min-width: 2.4rem; color: var(--blue); text-decoration: none; font-size: .875rem; font-weight: 700; }
.language a[aria-current] { background: var(--blue); color: #fff; }

.hero { display: grid; grid-template-columns: minmax(24rem, .9fr) minmax(0, 1.55fr); max-width: 105rem; margin-inline: auto; background: var(--paper); }
.hero-copy { padding: clamp(2.2rem, 5.5vw, 5.8rem) clamp(1.5rem, 3.8vw, 4rem) clamp(1.65rem, 4vw, 4.2rem) max(var(--gutter), calc((100% - 30rem) / 2)); }
.hero h1 { font-size: clamp(3.75rem, 7.5vw, 7.8rem); line-height: .9; letter-spacing: -.075em; margin-block: 1.15rem 1.4rem; }
.hero h1 span { display: block; color: var(--blue); }
.hero-subtitle { font-size: clamp(1.12rem, 1.72vw, 1.45rem); line-height: 1.3; }
.hero-intro { margin-top: .55rem; max-width: 25rem; color: var(--muted); text-wrap: pretty; }
.button { display: inline-flex; align-items: center; min-height: 2.95rem; padding: .72rem 1.22rem; font-weight: 650; text-decoration: none; }
.button-blue { background: var(--blue); color: #fff; }
.button-blue:hover { background: var(--navy); }
.hero .button { margin-block: 1.4rem 1.85rem; }
.hero-meta { display: flex; align-items: stretch; gap: .65rem clamp(.55rem, 1.35vw, 1.2rem); padding-top: 1.12rem; border-top: 1px solid var(--line); }
.hero-meta > div { display: flex; flex-direction: column; }
.hero-meta > div + div { padding-left: clamp(.55rem, 1.35vw, 1.2rem); border-left: 1px solid var(--line); }
.hero-meta dt { font-size: .875rem; color: var(--muted); line-height: 1.3; }
.hero-meta dd { order: -1; font: clamp(1.05rem, 1.7vw, 1.45rem)/1.1 var(--display); white-space: nowrap; margin-bottom: .34rem; }
.hero-media { position: relative; min-height: 25rem; background: #ada59d; isolation: isolate; }
.hero-media::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(14, 24, 28, .63)); pointer-events: none; z-index: 0; }
.hero-media img { position: absolute; inset: 0; height: 100%; object-position: 53% center; }
.hero-media figcaption { position: absolute; z-index: 1; left: clamp(1rem, 3vw, 2.5rem); right: 1rem; bottom: 1.4rem; display: flex; gap: .75rem; align-items: center; color: #fff; font-size: .94rem; }
.caption-line { width: 1.7rem; height: 1px; background: currentColor; }

.gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 21%); gap: 1.15rem; }
.gallery-main { min-width: 0; }
.image-trigger { position: relative; width: 100%; background: var(--sage); border: 0; padding: 0; display: block; text-align: left; }
.image-trigger img { aspect-ratio: 1.72; height: auto; }
.expand-icon { position: absolute; display: block; right: 1rem; bottom: 1rem; height: 2.6rem; width: 2.6rem; background: var(--white); }
.expand-icon::before, .expand-icon::after { position: absolute; content: ''; width: .52rem; height: .52rem; border: solid var(--navy); }
.expand-icon::before { bottom: .75rem; left: .75rem; border-width: 0 0 2px 2px; }
.expand-icon::after { top: .75rem; right: .75rem; border-width: 2px 2px 0 0; }
.gallery-caption { display: flex; justify-content: space-between; gap: .8rem 1rem; align-items: start; margin-top: 1rem; }
.gallery-caption h3, .studio h3 { font-size: clamp(1.65rem, 2.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.035em; }
.gallery-caption p { color: var(--muted); margin-top: .25rem; }
.gallery-list { display: grid; gap: .8rem; align-content: start; }
.gallery-thumb { padding: .4rem; border: 1px solid var(--line); background: transparent; width: 100%; text-align: left; }
.gallery-thumb:hover { border-color: var(--blue); }
.gallery-thumb[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery-thumb img { aspect-ratio: 2.18; height: auto; background: var(--sage); }
.gallery-thumb span { display: block; padding: .45rem .35rem .28rem; font-size: .875rem; font-weight: 625; }
.reference { background: transparent; min-height: 2.5rem; border: 1px solid var(--line); padding: .42rem .7rem; color: var(--blue); font-size: .875rem; white-space: nowrap; }
.reference:hover { border-color: var(--blue); }
.source-note { color: var(--muted); font-size: .875rem; margin-top: 1.1rem; }
.level-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 2rem; }
.level-card { border-top: 1px solid var(--line); padding: .95rem .25rem .2rem; }
.level-card .image-trigger { margin-bottom: .85rem; border: 1px solid var(--line); overflow: hidden; }
.level-card .image-trigger img { aspect-ratio: 1.82; object-fit: contain; background: #fff; }
.level-card .expand-icon { right: .5rem; bottom: .5rem; }
.level-card h3 { font-size: 1.5rem; line-height: 1.2; }
.level-card p { color: var(--muted); margin-top: .25rem; text-wrap: pretty; }

.scope { background: var(--sage); }
.phase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.phase { background: var(--white); padding: clamp(1.35rem, 3vw, 2.55rem); border-top: 3px solid var(--blue); }
.phase h3 { font-size: clamp(1.8rem, 3.2vw, 2.95rem); line-height: 1.04; letter-spacing: -.04em; margin-top: .6rem; }
.phase-tags { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; padding: 0; margin-block: 1rem; list-style: none; }
.phase-tags li { position: relative; padding-left: .85rem; min-width: 0; }
.phase-tags li::before { content: ''; position: absolute; width: .35rem; height: .35rem; top: .65rem; left: 0; background: var(--blue); }
.scope details, .fee-card details { border-top: 1px solid var(--line); padding-top: .3rem; }
summary { cursor: pointer; padding-block: .68rem; font-weight: 650; }
details p, details li { color: var(--muted); }
details p + p { margin-top: .55rem; }
.scope-details { margin-top: 1rem; display: grid; gap: .3rem; }
.scope-details > details { border-color: #bcc5b9; padding-inline: .15rem; }
.scope-details p { max-width: 65rem; padding-bottom: .66rem; }

.fees { color: #fff; background: var(--navy); position: relative; isolation: isolate; overflow: hidden; }
.fees::before { content: ''; z-index: -1; position: absolute; width: 41rem; height: 37rem; bottom: -20.5rem; left: -10rem; transform: rotate(-32deg); background: repeating-linear-gradient(90deg, transparent 0 32px, #b6cfdf1c 33px 34px); }
.fee-layout { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(1.6rem, 6vw, 6rem); align-items: center; }
.fee-intro .eyebrow, .fee-rate-label { color: #d4e1eb; }
.fee-rate { font: clamp(4rem, 8vw, 7.4rem)/.9 var(--display); letter-spacing: -.065em; margin: 1.55rem 0 .4rem; }
.fee-rate strong { font-weight: inherit; }
.fee-rate span { font: clamp(1.25rem, 2.5vw, 2.2rem)/1.1 var(--display); letter-spacing: -.03em; }
.fee-card { background: var(--white); color: var(--ink); padding: clamp(1.2rem, 3.2vw, 2.6rem); }
.fee-card-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.currency-switch { border: 0; padding: 0; margin: 0; min-width: 0; }
.currency-options { display: flex; padding: .14rem; border: 1px solid var(--line); }
.currency-options label { position: relative; cursor: pointer; }
.currency-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.currency-options span { display: grid; place-items: center; min-height: 2.35rem; min-width: 2.75rem; color: var(--blue); font-size: .875rem; font-weight: 700; }
.currency-options label:hover span { background: var(--sage); }
.currency-options input:checked + span { background: var(--blue); color: #fff; }
.currency-options input:focus-visible + span { outline: 2px solid #9d4d15; outline-offset: 2px; z-index: 1; position: relative; }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem 1rem; padding-block: .65rem; border-top: 1px solid var(--line); }
.fee-row strong { text-align: right; font-weight: 650; color: var(--blue); }
.fee-row.is-total strong { font: clamp(1.35rem, 2.6vw, 2.38rem)/1.2 var(--display); white-space: nowrap; }
.fee-note { font-size: .875rem; color: var(--muted); margin-top: .55rem; }
.fx-note { border-top: 1px solid var(--line); padding-top: .75rem; }
.fx-note a { color: var(--blue); text-underline-offset: .15em; }
.fee-card details { margin-top: .8rem; }

.studio { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.5rem, 7vw, 6rem); }
.studio-image { min-width: 0; }
.studio-image img { aspect-ratio: 1.35; height: auto; object-position: center 43%; }
.studio-image figcaption { margin-top: .45rem; color: var(--muted); font-size: .875rem; }
.studio .lead { margin-block: 1rem 1.3rem; }
.footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem 2rem; align-items: center; padding-block: 1.5rem; }
.footer p, .footer-inner > a { color: var(--muted); font-size: .875rem; }

.lightbox { max-width: min(94vw, 95rem); max-height: 94vh; border: 0; background: var(--navy); color: #fff; padding: .6rem; }
.lightbox::backdrop { background: #101c24e8; }
.lightbox-panel { position: relative; }
.lightbox form { position: absolute; right: .75rem; top: .75rem; }
.lightbox button { border: 0; background: var(--white); color: var(--ink); min-width: 2.75rem; min-height: 2.75rem; font-size: 1.8rem; line-height: 1; }
.lightbox img { max-height: 82vh; height: auto; object-fit: contain; }
.lightbox figcaption { padding: .6rem .35rem .25rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(20rem, .88fr) minmax(0, 1fr); }
  .hero h1 { font-size: clamp(3.4rem, 8.6vw, 5.5rem); }
  .header-nav { gap: .9rem; }
  .header-inner { gap: 1rem; }
}

@media (max-width: 720px) {
  .header-inner { min-height: 4.35rem; }
  .header-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.2rem var(--gutter) 1.65rem; }
  .hero h1 { font-size: clamp(3.8rem, 12.5vw, 6.1rem); }
  .hero h1 span { display: inline; margin-left: .17em; }
  .hero-media { min-height: 0; aspect-ratio: 1.44; }
  .section-split, .fee-layout { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: .8rem; }
  .gallery-list { grid-auto-flow: column; grid-auto-columns: minmax(7.55rem, 1fr); overflow-x: auto; gap: .45rem; padding: .2rem .15rem .4rem; }
  .image-trigger img { aspect-ratio: 1.49; }
  .studio { gap: 1.5rem; }
}

@media (max-width: 490px) {
  .hero h1 span { display: block; margin-left: 0; }
  .hero h1 { margin-block: .8rem 1.05rem; }
  .hero .button { margin-block: 1.15rem 1.3rem; }
  .phase-grid, .studio { grid-template-columns: 1fr; }
  .level-grid { gap: .6rem; }
  .level-card { padding-inline: 0; }
  .level-card h3 { font-size: 1.25rem; }
  .gallery-caption { flex-wrap: wrap; }
  .reference { white-space: normal; }
  .studio-copy { grid-row: 1; }
  .footer-inner { display: grid; gap: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
