@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #202923;
  --forest: #243b33;
  --copper: #805335;
  --muted: #4c5750;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1.25rem, 6.45vw, 7rem);
  --head-height: 4.9rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--head-height); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #2873bd; outline-offset: 4px; }
.hero a:focus-visible, .contact a:focus-visible, .digital a:focus-visible { outline-color: #f7d88c; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 81rem); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 20; padding: .6rem 1rem; background: white; }
.skip-link:focus { top: .5rem; }

.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid #e3e2db; }
.header-inner, .brand, .primary-nav, .contact-nav, .button, .hero-actions, .eyebrow, .footer-inner, .footer-brand { display: flex; align-items: center; }
.header-inner { justify-content: space-between; gap: 1rem; min-height: var(--head-height); }
.brand { text-decoration: none; padding-block: .25rem; }
.brand-mark { display: block; width: 4rem; height: auto; }
.primary-nav { gap: clamp(1.25rem, 2.6vw, 2.7rem); }
.nav-link { position: relative; padding: .85rem 0; font-size: .925rem; font-weight: 500; text-decoration: none; }
.nav-link::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: .46rem; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav-link:hover::after, .nav-link[aria-current]::after { transform: scaleX(1); }
.nav-link[aria-current] { color: var(--copper); }
.contact-nav { min-height: 2.65rem; padding: .55rem 1.05rem; gap: .55rem; border-radius: 3px; color: #fff; background: var(--forest); font-size: .925rem; font-weight: 520; text-decoration: none; }
.contact-nav:hover, .contact-nav[aria-current] { background: #365345; }
.contact-nav .icon { width: 1rem; height: 1rem; }
.menu-toggle { display: none; }

.hero { isolation: isolate; position: relative; background: #2d2620; color: #fffcf6; }
.hero-photo, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 58%; }
.hero-shade { background: linear-gradient(90deg, rgba(18,20,16,.77), rgba(21,21,17,.54) 35%, rgba(21,21,17,.1) 64%, rgba(21,21,17,0) 86%); }
.hero-inner { display: flex; align-items: center; min-height: clamp(29.8rem, 36.5vw, 37rem); padding-block: 3.25rem 3.65rem; }
.hero-copy { width: min(52rem, 100%); }
.eyebrow { gap: .78rem; color: var(--copper); text-transform: uppercase; font-size: .775rem; letter-spacing: .145em; line-height: 1.35; font-weight: 650; }
.rule { width: 1.9rem; height: 1px; background: currentColor; flex: none; }
.hero-location { color: #e6d4bc; }
.hero-location .rule { background: #e3b88c; }
h1, h2, .practice h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(4.75rem, 6.6vw, 7.2rem); line-height: .96; letter-spacing: -.03em; margin-block: 1.3rem 1.15rem; }
h1 em { font-weight: 400; color: #ecd0aa; }
.hero-intro { max-width: 29.2rem; font-size: clamp(1rem, 1.23vw, 1.13rem); line-height: 1.6; color: #f1ede6; }
.hero-actions { flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.button { justify-content: center; gap: .65rem; min-height: 2.9rem; padding: .66rem 1.25rem; border: 1px solid transparent; border-radius: 3px; font-size: .9375rem; font-weight: 550; text-decoration: none; transition: background .18s, border-color .18s; }
.primary-button { background: #efddc4; color: #2d3026; }
.primary-button:hover { background: #ffeacf; }
.primary-button .icon { width: .94rem; height: .94rem; }
.glass-button { color: #fff; background: rgba(32,29,22,.28); border-color: rgba(252,245,233,.61); }
.glass-button:hover { background: rgba(28,25,22,.65); border-color: #fff; }
.photo-note { position: absolute; right: max(1rem, calc((100% - 81rem) / 2)); bottom: .85rem; padding: .2rem .48rem; background: rgba(22,25,20,.72); color: #f1ece3; font-size: .75rem; line-height: 1.3; border-radius: 2px; }

.section-pad { padding-block: clamp(3.4rem, 5vw, 5.8rem); }
h2 { font-size: clamp(2.9rem, 4.25vw, 4.55rem); line-height: 1.04; letter-spacing: -.034em; }
.eyebrow + h2 { margin-top: .73rem; }
.practice-grid { margin-top: clamp(1.45rem, 2vw, 2.1rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; align-items: start; }
.practice { position: relative; isolation: isolate; overflow: hidden; border-radius: 4px; container-type: inline-size; }
.engineering { --card-ink: #322d25; --card-muted: #514b42; --fine-line: #c1b9aa; background: #eee9df; border: 1px solid #dcd5c7; }
.digital { --card-ink: #f0f2e9; --card-muted: #dde6dc; --fine-line: #7a9388; background: #2b423a; border: 1px solid #30483e; }
.practice::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(90deg, currentColor 1px, transparent 1px), linear-gradient(0deg, currentColor 1px, transparent 1px); background-size: 1.4rem 1.4rem; color: var(--card-ink); opacity: .065; mask-image: linear-gradient(225deg, black, transparent 56%); }
.practice-art { position: absolute; right: .1rem; top: .15rem; width: 48%; height: auto; max-height: 10.2rem; object-fit: contain; object-position: right top; z-index: -1; }
.practice-content { padding: clamp(1.5rem, 2.35vw, 2.65rem); color: var(--card-ink); }
.practice-icon { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1.1rem; border: 1px solid var(--fine-line); border-radius: 3px; }
.practice-icon .icon { width: 1.42rem; height: 1.42rem; }
.practice h3 { font-size: clamp(2.2rem, 2.85vw, 3.05rem); letter-spacing: -.02em; line-height: 1.02; }
.practice-content > p { max-width: 27em; margin-block: .85rem 1.1rem; color: var(--card-muted); }
.card-link, .capabilities summary { display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; min-height: 2.75rem; color: var(--card-ink); font-size: .925rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--fine-line); text-underline-offset: .34rem; }
.card-link:hover, .capabilities summary:hover { text-decoration-color: currentColor; }
.capabilities summary { list-style: none; }
.capabilities summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: .7rem; height: .7rem; }
.plus::before, .plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.3px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
.capabilities .when-open, .capabilities[open] .when-closed, .capabilities[open] .plus::after { display: none; }
.capabilities[open] .when-open { display: inline; }
.capabilities ul { margin: .65rem 0 0; padding: 1rem 0 0 1.2rem; border-top: 1px solid var(--fine-line); }
.capabilities li + li { margin-top: .28rem; }
.capabilities li::marker { color: var(--copper); }

.projects { background: #eff2ed; border-block: 1px solid #dce2d9; }
.project-heading, .about, .contact-layout { display: grid; grid-template-columns: .92fr 1fr; gap: clamp(2rem, 7vw, 7rem); }
.project-heading { align-items: end; }
.project-heading > p { color: #46564a; max-width: 33rem; }
.projects .eyebrow { color: #475e4e; }
.project-list { margin-top: clamp(1.9rem, 3vw, 3.5rem); border-top: 1px solid #b7c1b6; }
.project { display: grid; grid-template-columns: minmax(13rem, .9fr) minmax(0, 1.5fr) minmax(8rem, .45fr); gap: 2rem; align-items: start; padding: 1.65rem 0; border-bottom: 1px solid #c5cfc3; }
.product-name { display: flex; gap: .9rem; align-items: center; }
.product-name h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: .06em; }
.product-icon { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border: 1px solid #bdc8bc; color: var(--forest); border-radius: 5px; }
.product-icon .icon { width: 1.5rem; height: 1.5rem; }
.product-description { padding-top: .35rem; max-width: 37rem; }
.product-description p + p { margin-top: .44rem; color: var(--muted); }
.status { justify-self: end; white-space: nowrap; margin-top: .25rem; padding: .25rem .7rem; border: 1px solid; border-radius: 2rem; font-size: .875rem; font-weight: 530; }
.pilot { color: #2c513c; border-color: #abbfb0; background: #e8efe5; }
.internal { color: #50472d; border-color: #c1baa7; background: #efece1; }
.development { color: #3d515b; border-color: #b3c2c7; background: #e6edef; }
.about-copy p:first-child { font-size: 1.2rem; line-height: 1.6; }
.about-copy p + p { margin-top: .8rem; color: var(--muted); }

.contact { background: #22362e; color: #f4f3eb; }
.contact .eyebrow { color: #d9c0a0; }
.contact-layout { align-items: center; }
.contact-layout > div > p:last-child { margin-top: 1rem; color: #dce3da; max-width: 27rem; }
address { display: grid; gap: 1.1rem; font-style: normal; border-left: 1px solid #65756a; padding-left: clamp(1.5rem, 4vw, 4rem); }
.contact-item { display: flex; align-items: flex-start; gap: .9rem; }
.contact-item > .icon { color: #d6c1a3; margin-top: .2rem; }
.contact-item > div { display: grid; gap: .18rem; }
.contact-item a { font-size: clamp(1.1rem, 1.65vw, 1.5rem); text-decoration-color: #91a093; text-underline-offset: .22rem; }
.contact-item a:hover { text-decoration-color: currentColor; }
.contact-label { font-size: .875rem; color: #d2dace; }
footer { background: #1b2b25; color: #e4e9e1; }
.footer-inner { justify-content: space-between; gap: .8rem; padding-block: 1.1rem; font-size: .875rem; }
.footer-brand { gap: .55rem; }
.footer-brand img { display: block; width: 2.45rem; height: auto; margin-block: -.5rem; }

@media (min-width: 58rem) {
  .practice-content > p { min-height: 3.1em; }
}

@media (max-width: 52rem) {
  :root { --head-height: 4.15rem; --gutter: clamp(1.25rem, 5vw, 2.7rem); }
  .header-inner { flex-wrap: wrap; padding-block: .2rem; }
  .brand-mark { width: 3.2rem; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: .7rem; min-height: 2.75rem; font: 550 .94rem var(--sans); color: var(--ink); background: none; border: 0; padding: .4rem .35rem .4rem .6rem; cursor: pointer; }
  .menu-toggle i, .menu-toggle i::after { display: block; width: 1.12rem; height: 1.5px; background: currentColor; }
  .menu-toggle i { position: relative; transform: translateY(-3px); }
  .menu-toggle i::after { content: ""; position: absolute; top: 6px; }
  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { top: 0; transform: rotate(90deg); }
  .primary-nav { flex-wrap: wrap; width: 100%; gap: .1rem 1rem; padding-bottom: .65rem; }
  .nav-ready .primary-nav { position: absolute; top: 100%; left: 0; right: 0; padding: .45rem var(--gutter) .85rem; background: var(--paper); border-block: 1px solid #dfdfd8; box-shadow: 0 6px 10px #15251913; display: grid; grid-template-columns: 1fr; gap: .1rem; }
  .nav-ready .menu-toggle[aria-expanded="false"] + .primary-nav { display: none; }
  .nav-ready .nav-link { justify-self: start; padding-block: .65rem; }
  .nav-ready .contact-nav { justify-self: start; margin-top: .3rem; }
  .hero-inner { min-height: 28rem; }
  .project { gap: 1.2rem; grid-template-columns: minmax(11rem, .85fr) minmax(0, 1.3fr) auto; }
  .product-name { gap: .6rem; }
  .product-name h3 { font-size: 1.1rem; }
  .project-heading, .about, .contact-layout { gap: 1.8rem; }
}

@media (max-width: 40rem) {
  .hero-inner { min-height: 30.5rem; padding-block: 3rem 4.1rem; }
  .hero-photo img { object-position: 55% center; }
  .hero-shade { background: linear-gradient(90deg, #141a15d9 0%, #171915ad 54%, #141a1552 100%), linear-gradient(0deg, #13181240, transparent 75%); }
  h1 { font-size: clamp(3.35rem, 11.5vw, 4.75rem); line-height: 1.02; margin-block: 1.15rem; }
  .hero-intro { max-width: 26rem; }
  .hero-actions { gap: .6rem; margin-top: 1.5rem; }
  .button { padding-inline: .95rem; }
  .photo-note { bottom: .6rem; right: var(--gutter); }
  .section-pad { padding-block: 2.9rem; }
  .practice-grid, .project-heading, .about, .contact-layout { grid-template-columns: 1fr; }
  .practice-grid { gap: 1rem; }
  .practice-content > p { max-width: 25rem; }
  .project-heading, .about { gap: 1.1rem; }
  .project { grid-template-columns: 1fr auto; gap: .85rem .5rem; padding-block: 1.35rem; }
  .product-description { grid-column: 1 / -1; grid-row: 2; padding: 0; }
  .status { align-self: center; margin: 0; }
  address { padding: 1.35rem 0 0; border-left: 0; border-top: 1px solid #65756a; }
  .footer-inner { flex-wrap: wrap; }
}

@container (max-width: 30rem) {
  .practice-art { width: auto; height: 4.9rem; right: .5rem; top: .25rem; }
}

@media (max-width: 22rem) {
  .button { font-size: .875rem; padding-inline: .75rem; }
  .project { grid-template-columns: 1fr; }
  .status { grid-row: 2; justify-self: start; }
  .product-description { grid-row: 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
