@font-face {
  font-family: Instrument Sans;
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #101110;
  --paper: #f7f6f2;
  --muted: #53544d;
  --gold: #e8b86a;
  --gutter: clamp(1.4rem, 5.65vw, 8rem);
  --rule: #c9c8c0;
  --ease: cubic-bezier(.18,.75,.25,1);
  font-family: 'Instrument Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ol { margin: 0; }
body { line-height: 1.5; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .28em; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
em { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
::selection { background: #e9bc76; color: #171510; }
:focus-visible { outline: 2px solid #a36414; outline-offset: 5px; }
.masthead :focus-visible, .hero :focus-visible, footer :focus-visible { outline-color: #f1cb81; }
.wrap { margin-inline: auto; width: min(calc(100% - 2 * var(--gutter)), 88rem); }
.skip { position: fixed; z-index: 10; left: var(--gutter); top: .5rem; padding: .7rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }
.masthead { position: relative; z-index: 3; color: #f7f6f2; background: var(--ink); }
.header-row { min-height: 5.75rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #393a37; }
.brand { display: inline-flex; align-items: center; justify-self: start; width: 5.9rem; min-height: 44px; }
.brand img { width: 100%; height: auto; }
.navigation { display: flex; gap: clamp(1.15rem, 2.6vw, 2.8rem); align-items: center; }
.navigation a, .footer-row a:not(.brand) { text-decoration: none; font-size: .925rem; transition: color .2s; }
.navigation a { padding-block: .8rem; }
.navigation a:hover, .footer-row a:hover { color: var(--gold); }
.contact-nav { justify-self: end; display: inline-flex; min-height: 2.65rem; align-items: center; justify-content: center; padding: .55rem 1.35rem; text-decoration: none; border: 1px solid #686961; border-radius: 5rem; font-size: .91rem; font-weight: 500; transition: color .2s, background .2s, border-color .2s; }
.contact-nav:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--paper); background: var(--ink); }
.hero-art { position: absolute; z-index: -1; top: 0; right: 0; width: 60%; height: 100%; mask-image: linear-gradient(90deg, transparent, #000 22%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 58%; }
.hero-content { display: flex; align-items: center; min-height: clamp(35.5rem, 43vw, 45rem); padding-block: clamp(4.2rem, 6vw, 6.6rem); }
.hero-copy { width: 47%; max-width: 41rem; }
h1 { font-size: clamp(5.3rem, 7.4vw, 7.8rem); font-weight: 450; line-height: .95; letter-spacing: -.041em; }
h1 em { display: inline-block; margin-top: .055em; font-size: 1.095em; line-height: .87; letter-spacing: -.035em; color: #f1d6a5; }
.hero-copy p { max-width: 26.3rem; color: #d0d1ca; font-size: clamp(1.02rem, 1.3vw, 1.19rem); line-height: 1.55; margin: 2rem 0 1.85rem; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 8rem; text-decoration: none; font-weight: 600; padding: .75rem 1.55rem; font-size: .94rem; transition: background .2s, transform .2s; }
.brass { color: #171710; background: var(--gold); }
.brass:hover { background: #f6cd8b; transform: translateY(-2px); }
.section { padding-block: clamp(5.5rem, 8.4vw, 9.25rem); }
.section-intro, .expertise-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2.5rem, 6vw, 7rem); }
.section-intro { align-items: end; margin-bottom: clamp(2.4rem, 4.2vw, 4.3rem); }
.service-group h3 { margin: 0 0 .9rem; font-size: 1rem; font-weight: 600; }
.section h2 { letter-spacing: -.04em; font-size: clamp(2.8rem, 4.5vw, 5rem); line-height: 1.06; font-weight: 450; }
.section h2 span { color: #9a6824; }
.section-intro p, .steps p { color: var(--muted); font-size: 1.065rem; line-height: 1.6; }
.section-intro p { max-width: 32rem; }
.services { border-top: 1px solid #8c8d84; }
.service { border-bottom: 1px solid var(--rule); }
.service summary { display: grid; grid-template-columns: 2.15rem minmax(0,1fr) 1.8rem; gap: 1.1rem; align-items: center; list-style: none; cursor: pointer; padding: 1.45rem 0; font-weight: 480; font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -.035em; line-height: 1.15; }
summary::-webkit-details-marker { display: none; }
.service-symbol { width: 1.65rem; height: 1.65rem; stroke: #875e28; stroke-width: 1.5; stroke-linecap: square; }
.expand { position: relative; justify-self: end; border-radius: 50%; border: 1px solid #bebfb7; width: 1.8rem; height: 1.8rem; transition: background .2s, border-color .2s; }
.expand::before, .expand::after { content: ''; position: absolute; top: 50%; left: 50%; width: .67rem; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.expand::after { transform: translate(-50%, -50%) rotate(90deg); }
.service[open] .expand::after { transform: translate(-50%, -50%); }
summary:hover .expand { background: #e9d6b2; border-color: #c2a77b; }
.service-copy { padding: 0 2.4rem 1.6rem 3.25rem; margin-top: -.45rem; }
.service-copy p { max-width: 37rem; font-size: 1.04rem; line-height: 1.65; color: var(--muted); }
.about { display: grid; grid-template-columns: 1fr 1fr; background: #242621; color: var(--paper); }
.release-study {
  margin: 0;
  padding: clamp(2.2rem, 5.6vw, 6rem) clamp(2rem, 5.65vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #e5e4da;
  color: var(--ink);
}
.release-sheet, .release-study figcaption { width: 100%; max-width: 35rem; margin-inline: auto; }
.release-study h3 { margin: 0 0 1.25rem; font-size: clamp(2rem, 3.3vw, 3.8rem); font-weight: 450; line-height: 1.07; letter-spacing: -.04em; }
.release-options { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 0; border: 0; min-width: 0; }
.visually-hidden, .release-options input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.release-options label { position: relative; cursor: pointer; }
.release-options label span { display: flex; align-items: center; min-height: 2.75rem; border-radius: 2rem; border: 1px solid #898b7f; padding: .4rem .95rem; font-size: .92rem; font-weight: 500; }
.release-options input:checked + span { background: #30342d; border-color: #30342d; color: #fff; }
.release-options input:focus-visible + span { outline: 2px solid #775319; outline-offset: 3px; }
.traffic-chart { margin-top: clamp(1.8rem, 3vw, 3.1rem); }
.release-study .chart-title { font-size: .94rem; margin: 0 0 1.05rem; color: #4c5046; }
.traffic-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.traffic-stages li { display: grid; grid-template-columns: 1fr auto; gap: .35rem; align-items: baseline; }
.traffic-stages li > span { font-size: 1rem; font-weight: 500; }
.traffic-stages b { font-size: 1.1rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.traffic-stages i { grid-column: 1 / -1; height: .72rem; background: linear-gradient(90deg,#795d36 0 var(--traffic),#c6c8bc var(--traffic) 100%); position: relative; }
.traffic-stages i::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(5% - 1px), #e5e4da calc(5% - 1px) 5%); }
.final-stage { --traffic: 100%; }
.release-study .error-result { display: none; }
.release-study:has(input[value="errors"]:checked) .healthy-result { display: none; }
.release-study:has(input[value="errors"]:checked) .error-result { display: inline; }
.release-study:has(input[value="errors"]:checked) .final-stage { --traffic: 0%; }
.release-study figcaption { margin-top: 1.75rem; padding-top: .9rem; border-top: 1px solid #b6b9aa; font-size: .96rem; line-height: 1.55; color: #44493e; }
.about-text { align-self: center; justify-self: start; padding: clamp(4rem, 7.1vw, 7.8rem) var(--gutter) clamp(4rem, 7.1vw, 7.8rem) clamp(2.8rem, 6vw, 7rem); max-width: 49rem; }
.about h2, .contact h2 { font-weight: 450; letter-spacing: -.04em; font-size: clamp(3.1rem, 4.8vw, 5.45rem); line-height: 1.02; }
.about h2 { margin-bottom: 2rem; }
.about h2 em { color: #ebcb98; font-size: 1.11em; }
.about p { color: #dedfd7; font-size: 1.06rem; line-height: 1.65; }
.about p + p { margin-top: 1.12rem; }
.approach h2 { margin-bottom: clamp(2.5rem, 4.2vw, 4.3rem); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.8rem,4vw,4.6rem); padding: 0; }
.steps li { border-top: 1px solid #96978e; padding-top: 1rem; }
.step-num { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 1.5rem; color: #75541e; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 1.65rem 0 .8rem; font-size: clamp(1.4rem, 1.95vw, 2.15rem); font-weight: 500; line-height: 1.17; letter-spacing: -.03em; }
.steps p { max-width: 36ch; }
.contact { background: #e9c58c; color: #242119; }
.contact-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,8vw,10rem); align-items: center; padding-block: clamp(4rem,6.75vw,7.5rem); }
.contact h2 { font-size: clamp(3.7rem,6.1vw,7rem); }
.contact h2 em { font-size: 1.08em; }
.contact-info p { max-width: 28rem; font-size: clamp(1.06rem,1.4vw,1.3rem); line-height: 1.55; }
.email { display: inline-block; margin-top: 1.5rem; font-size: clamp(1.4rem,2.1vw,2.2rem); letter-spacing: -.025em; text-decoration-thickness: 1px; }
.email:hover { text-decoration-thickness: 2px; }
footer { background: var(--ink); color: var(--paper); }
.footer-row { display: flex; align-items: center; gap: 2rem; padding-block: 2rem; }
.footer-row .brand { width: 4.7rem; }
.footer-row small { margin-right: auto; color: #c1c2b8; font-size: .84rem; }
@keyframes material-entrance { from { transform: scale(1.035); } to { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: material-entrance 1.5s var(--ease) both; }
}
@media (min-width: 1650px) {
  .about { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width: 890px) {
  .header-row { min-height: 5rem; }
  .hero-art { width: 54%; mask-image: linear-gradient(90deg, transparent, #000 32%); }
  .hero-content { min-height: 34.5rem; }
  .hero-copy { width: 53%; }
  h1 { font-size: clamp(4.75rem,9vw,5.5rem); }
  .hero-copy p { max-width: 21rem; }
  .expertise .section-intro h2 { font-size: 2.7rem; }
  .section-intro p, .steps p, .about p, .service-copy p { font-size: 1rem; }
  .about-text { padding: 3.5rem 2rem; }
  .steps { gap: 1.65rem; }
  .steps h3 { min-height: 2.35em; }
}
@media (min-width: 681px) and (max-width: 1000px) {
  .hero-art:has(img[src="assets/architecture-review.webp"]) {
    top: auto;
    bottom: 0;
    height: auto;
    aspect-ratio: 1.08;
    mask-image: linear-gradient(90deg, transparent, #000 14%), linear-gradient(180deg, transparent, #000 24%);
    mask-composite: intersect;
  }
  .hero-art img[src="assets/architecture-review.webp"] { object-position: 94% center; }
}
@media (max-width: 680px) {
  :root { --gutter: clamp(1.35rem,5.7vw,2.3rem); }
  .header-row { display: flex; gap: .9rem; min-height: 4.5rem; flex-wrap: wrap; padding-block: .55rem; }
  .masthead .brand { width: 4.9rem; margin-right: auto; }
  .contact-nav { min-height: 2.4rem; padding: .45rem 1.05rem; font-size: .88rem; }
  .navigation { order: 2; width: 100%; gap: 1.25rem; flex-wrap: wrap; }
  .interactive .navigation { display: none; position: absolute; top: 100%; left: 0; padding: .6rem var(--gutter) 1.1rem; background: var(--ink); border-bottom: 1px solid #41433d; }
  .interactive.menu-open .navigation { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .interactive .menu-toggle { display: inline-grid; align-content: center; justify-content: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; }
  .menu-toggle span { display: block; background: var(--paper); width: 21px; height: 1px; transition: transform .2s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { display: flex; flex-direction: column; }
  .hero-content { min-height: 0; padding: 3.65rem 0 .5rem; }
  .hero-copy { width: 100%; max-width: none; }
  h1 { font-size: clamp(3.7rem,18.6vw,6rem); }
  h1 em { font-size: 1.065em; }
  .hero-copy p { max-width: 29rem; margin: 1.5rem 0 1.35rem; font-size: 1.03rem; }
  .hero-art { position: relative; width: 100%; height: clamp(12rem,48vw,19.5rem); order: 2; margin-top: 1.3rem; mask-image: linear-gradient(180deg, transparent, #000 22%); }
  .hero-art img { object-position: 57% 61%; }
  .hero .button { min-height: 2.8rem; }
  .section { padding-block: 3.9rem; }
  .section-intro, .expertise-layout, .about, .contact-layout { grid-template-columns: 1fr; }
  .expertise-layout { gap: 2rem; }
  .section h2, .expertise .section-intro h2 { font-size: clamp(2.65rem,9.6vw,3.9rem); }
  .section-intro p { margin-top: 1rem; max-width: 31rem; }
  .service summary { grid-template-columns: 1.5rem minmax(0,1fr) 1.7rem; gap: .85rem; font-size: 1.35rem; padding: 1.2rem 0; }
  .service-symbol { width: 1.3rem; height: 1.3rem; }
  .service-copy { padding: .12rem 0 1.45rem 2.35rem; }
  .release-study { padding: 3.25rem var(--gutter); }
  .about-text { padding: 3.3rem var(--gutter) 3.6rem; }
  .about h2 { margin-bottom: 1.6rem; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps li { display: grid; grid-template-columns: 1.7rem 1fr; column-gap: .85rem; padding-top: 1.25rem; }
  .step-num { font-size: 1.3rem; }
  .steps h3 { min-height: 0; margin: .15rem 0 .5rem; }
  .steps p { grid-column: 2; max-width: 44ch; }
  .contact-layout { padding-block: 3.65rem; gap: 1.8rem; }
  .email { margin-top: 1rem; }
  .footer-row { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; padding-block: 1.5rem; }
  .footer-row small { text-align: right; margin: 0; }
  .footer-row a:last-child { justify-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
