:root {
  color-scheme: dark;
  --ink: #07090c;
  --text: #f4f1e9;
  --muted: #b8babf;
  --gold: #eacb9e;
  --line: #2b3036;
  --header-height: 78px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-family: "Inter", "Aptos", system-ui, sans-serif;
  line-height: 1.55;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--ink); }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 440; line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
p { text-wrap: pretty; }
h2 { font-size: clamp(3rem, 6.1vw, 6.5rem); }
h3 { font-weight: 540; font-size: clamp(1.22rem, 2.25vw, 1.65rem); line-height: 1.22; }
em { font-family: var(--serif); font-weight: 400; color: var(--gold); }
:where(a, summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.shell { width: min(1380px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: .75rem; padding: .65rem 1rem; background: var(--text); color: var(--ink); z-index: 10; transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 3; background: rgb(7 9 12 / .87); backdrop-filter: blur(20px); border-bottom: 1px solid #24282d; }
section[id], article[id], .practice-showcase { scroll-margin-top: 112px; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.header-inner { min-height: 77px; }
.brand { display: inline-flex; gap: .76rem; align-items: center; text-decoration: none; font-size: 1.02rem; font-weight: 650; line-height: 1.1; white-space: nowrap; }
.brand small { display: block; color: #bcb9b3; font-size: .75rem; letter-spacing: .075em; margin-top: .32rem; font-weight: 500; }
.brand-mark { width: 36px; height: 36px; position: relative; display: inline-block; flex: none; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; inset: 1px; clip-path: polygon(50% 0%, 100% 95%, 50% 72%, 0% 95%); background: linear-gradient(138deg, #fff4d7, #bc9165 58%, #695241); }
.brand-mark::after { inset: 10px 10px 1px; background: var(--ink); clip-path: polygon(50% 0%, 100% 100%, 0% 100%); }
nav { display: flex; align-items: center; gap: clamp(.75rem, 3.3vw, 3rem); }
nav a { color: var(--muted); text-decoration: none; font-size: .94rem; }
nav a:not(.nav-contact) {
  padding-block: .5rem;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat;
  transition: color .25s ease, background-size .3s ease;
}
nav a:not(.nav-contact):is(:hover, [aria-current="location"]) { background-size: 100% 1px; }
nav a:hover, nav a[aria-current="location"], .footer a:hover { color: var(--gold); }
.nav-contact { color: var(--text); border: 1px solid #55504b; border-radius: 100px; padding: .63rem 1.05rem; white-space: nowrap; }

.hero {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100svh - var(--header-height));
  isolation: isolate;
  position: relative;
  overflow: clip;
  background: #070a0f;
  border-bottom: 1px solid var(--line);
}
.hero-atmosphere { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-atmosphere {
  z-index: -3;
  background:
    radial-gradient(ellipse 62% 42% at 70% 82%, #223a53, transparent 93%),
    radial-gradient(ellipse 45% 57% at 85% 16%, #12253b, transparent 92%),
    radial-gradient(ellipse 40% 58% at 7% 56%, #25222e, transparent 95%);
}
[data-film] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(7 10 15 / .92), rgb(7 10 15 / .55) 21%, rgb(7 10 15 / .16) 43%, transparent 59%), linear-gradient(0deg, #070a0f 0%, transparent 16%);
}
.logo-frame {
  position: absolute;
  z-index: -2;
  width: min(65vw, 950px, max(285px, calc((100svh - 176px) * 1.26)));
  aspect-ratio: 1.26;
  top: 50%;
  right: clamp(19px, 2.7vw, 48px);
  translate: 0 -54%;
  mix-blend-mode: lighten;
  pointer-events: none;
}
.logo-drift {
  width: 100%;
  height: 100%;
  perspective: 1150px;
  animation: emblem-drift 16s ease-in-out infinite;
}
.logo-artwork {
  height: 100%;
  overflow: hidden;
  mask-image: radial-gradient(ellipse 71% 78% at 53% 46%, #000 72%, transparent 100%), linear-gradient(transparent, #000 5%);
  mask-composite: intersect;
  transform: rotateX(var(--art-y, 0deg)) rotateY(var(--art-x, 0deg));
  transition: transform 1.15s cubic-bezier(.2, .6, .3, 1);
}
.logo-artwork img { display: block; width: 100%; height: auto; }
@keyframes emblem-drift {
  0%, 100% { transform: translateY(2px) scale(.996); }
  50% { transform: translateY(-2px) scale(1); }
}
.hero-inner { grid-row: 1; display: grid; align-items: center; position: relative; }
.hero-copy { max-width: 590px; padding: 2.6rem 0 3rem; }
.eyebrow { display: flex; align-items: center; gap: .76rem; color: var(--gold); font-size: .875rem; font-weight: 625; letter-spacing: .10em; text-transform: uppercase; margin-bottom: 1.6rem; }
.eyebrow::before { content: ""; display: block; width: 1.8rem; height: 1px; background: currentColor; flex: none; }
h1 { font-size: clamp(3.25rem, min(8.45vw, 16.8svh), 9.2rem); }
h1 em { letter-spacing: -.072em; line-height: .92; }
.intro { color: #d9d7d5; font-size: clamp(1.08rem, 1.6vw, 1.24rem); max-width: 34ch; margin-top: 1.9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border: 1px solid transparent; border-radius: 100px; padding: .68rem 1.32rem; font-size: .96rem; font-weight: 650; text-decoration: none; transition: background .2s, border-color .2s, box-shadow .2s; }
.primary { background: #f0d3ac; color: #1b1511; }
.primary:hover { background: #ffe4c1; box-shadow: 0 0 28px #efbf7a38; }
.ghost { background: rgb(13 16 20 / .75); border-color: #615e5a; }
.ghost:hover { border-color: var(--gold); background: #222222; }
.hero-index { grid-row: 2; display: flex; flex-wrap: wrap; gap: .65rem 2.2rem; border-top: 1px solid #343941; padding-block: 1.15rem; color: #cacccd; font-size: .875rem; }
.hero-index a { text-decoration: none; }
.hero-index a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: .25em; }

.section-pad { padding-block: clamp(4.5rem, 8.5vw, 9.5rem); }
.expertise {
  background: radial-gradient(ellipse at 75% 24%, #222637, transparent 58%), #11131a;
  border-bottom: 1px solid var(--line);
}
.section-heading { display: grid; grid-template-columns: 1.55fr .65fr; align-items: end; gap: 2rem; }
.section-heading > p { max-width: 37ch; color: var(--muted); font-size: 1.05rem; }
.practice-showcase { margin-top: clamp(2rem, 4.8vw, 4.4rem); border-top: 1px solid #47505e; }
.practice-tabs { display: flex; flex-wrap: wrap; gap: .35rem; padding-block: .8rem; }
.practice-tabs a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: .45rem 1rem;
  border-radius: 100px;
  color: #bdc4cf;
  font-size: .96rem;
  font-weight: 580;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.practice-tabs a:hover { color: #fff1dd; background: #ffffff09; }
.practice-tabs a[aria-selected="true"] { color: #ffe7c4; border-color: #83705a; background: #2a2623; }
.practice-stage { border: 1px solid #39404a; border-radius: 14px; overflow: hidden; background: linear-gradient(125deg, #181c25, #11151d 74%); }
.practice-visual { display: none; }
.is-interactive .practice-stage { display: grid; grid-template-columns: 1.08fr .92fr; }
.is-interactive .practice-visual {
  display: block;
  position: relative;
  min-height: clamp(270px, 35vw, 460px);
  overflow: hidden;
  border-right: 1px solid #3b4351;
  background: radial-gradient(ellipse at 50% 59%, #293749, transparent 68%), #10151c;
}
.practice-visual[data-mode="infrastructure"] { background: radial-gradient(ellipse at 50% 56%, #173b43, transparent 67%), #0b141a; }
.practice-visual[data-mode="commercial"] { background: radial-gradient(ellipse at 50% 58%, #523029, transparent 65%), #1e1317; }
.practice-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#e2e5ec35 .7px, transparent .8px);
  background-size: 15px 15px;
  mask-image: radial-gradient(ellipse 76% 68%, transparent 30%, #000 100%);
  pointer-events: none;
}
.practice-visual canvas { position: absolute; display: block; width: 100%; height: 100%; }
.practice { padding: clamp(1.5rem, 4.6vw, 4.35rem); }
.practice:not([hidden]) { display: grid; align-content: center; min-height: 100%; }
.practice + .practice { border-top: 1px solid #3b4351; }
.is-interactive .practice { border-top: 0; }
.is-interactive .practice:not([hidden]) { animation: practice-enter .38s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes practice-enter { from { opacity: .65; transform: translateY(4px); } }
.practice h3 { font: 400 clamp(2.55rem, 4.55vw, 5rem)/.98 var(--serif); letter-spacing: -.05em; }
.practice h3 + p { max-width: 42ch; margin-top: 1.05rem; color: #d0d1d3; }
.practice ul { display: flex; gap: .45rem; flex-wrap: wrap; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.practice li { border: 1px solid #525866; border-radius: 100px; padding: .35rem .68rem; color: #e2ddda; font-size: .875rem; }
details { border-top: 1px solid #40444a; }
summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding-block: .6rem; font-weight: 610; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); max-width: 58ch; padding: .12rem 0 1.15rem; }

.approach {
  color-scheme: light;
  color: #231f20;
  background: radial-gradient(ellipse at 16% 0%, #f8f2e7 8%, transparent 63%), #e7e2d9;
  border-bottom: 1px solid #847b72;
}
.approach .eyebrow { color: #6a4a35; }
.approach em { color: #734b31; }
.approach-inner, .faq-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.method { position: relative; padding-left: 1.75rem; }
.method::before {
  content: "";
  position: absolute;
  left: .25rem;
  top: 1.95rem;
  bottom: 2.2rem;
  width: 1px;
  background: linear-gradient(#9a6d49, #cbb49b);
  transform-origin: top;
}
.method article { position: relative; padding: 1.5rem 0 1.65rem; border-top: 1px solid #a79d91; }
.method article::before {
  content: "";
  position: absolute;
  left: -1.72rem;
  top: 1.88rem;
  width: .48rem;
  height: .48rem;
  background: #8a6243;
  border: 1px solid #f4efe4;
  rotate: 45deg;
}
.method article:last-child { border-bottom: 1px solid #a79d91; }
.method p, .contact-grid p { color: var(--muted); max-width: 48ch; margin-top: .54rem; }
.method p { color: #514a45; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-scroll-reveal] article { animation: method-enter linear both; animation-timeline: view(); animation-range: entry 5% cover 27%; }
    .method::before { animation: trace-method linear both; animation-timeline: view(); animation-range: entry 6% cover 46%; }
    @keyframes trace-method { from { transform: scaleY(.04); } }
    @keyframes method-enter { from { opacity: .46; transform: translateY(22px); } }
  }
}
.faq { background: #0b0e12; border-bottom: 1px solid var(--line); }
.questions { border-bottom: 1px solid #40444a; }
.questions summary { min-height: 68px; padding-inline-end: .25rem; font-size: 1.075rem; }
.questions summary::after { width: 1.75rem; height: 1.75rem; flex: none; display: grid; place-items: center; border: 1px solid #514f49; border-radius: 50%; font-size: 1.1rem; }
.questions details[open] summary { color: #f2d9b7; }
.questions details[open] summary::after { background: #282621; border-color: #7b6954; }
.contact { background: radial-gradient(ellipse 70% 100% at 87% 0%, #2b2a2c 0%, transparent 85%), var(--ink); }
.contact-grid { margin-top: 2.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.contact-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 1px solid #695f59;
  padding: 1.6rem 0 .25rem;
}
.contact-grid p { flex: 1; }
.contact-grid article:target { border-color: var(--gold); }
.contact-grid .button { margin-top: 1.45rem; }
.footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 108px; padding-block: 1.4rem; }
.footer-inner div { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; }
.footer a { text-underline-offset: .22em; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
}
@media (max-width: 720px) {
  :root { --header-height: 115px; }
  .shell { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; padding-block: .7rem; gap: .52rem; }
  nav { gap: clamp(.8rem, 4vw, 1.6rem); }
  .hero { grid-template-rows: auto 1fr auto; }
  .hero::after { background: linear-gradient(0deg, #070a0f 0%, transparent 20%, transparent 55%, rgb(7 10 15 / .76) 94%); }
  .hero-inner { display: block; }
  .hero-copy { padding: 1.6rem 0 .55rem; }
  .hero-copy .eyebrow { margin-bottom: .8rem; }
  .hero-copy .intro { margin-top: .8rem; }
  .hero-copy .actions { margin-top: .85rem; }
  h1 { font-size: clamp(2.85rem, min(12.5vw, 8.7svh), 5.6rem); }
  .logo-frame {
    position: relative;
    grid-row: 2;
    align-self: center;
    justify-self: center;
    width: min(95%, 520px, max(145px, calc((100svh - 458px) * 1.26)));
    top: auto;
    right: auto;
    translate: none;
    margin-block: .45rem;
  }
  .hero-index { grid-row: 3; gap: .35rem 1rem; padding-block: .68rem; }
  .section-heading, .is-interactive .practice-stage, .approach-inner, .faq-inner, .contact-grid { grid-template-columns: 1fr; }
  .practice-tabs { gap: .3rem; padding-block: .7rem; }
  .practice-tabs a { min-height: 44px; padding: .3rem .7rem; font-size: .875rem; }
  .is-interactive .practice-visual { min-height: clamp(170px, 55vw, 340px); border-right: 0; border-bottom: 1px solid #3b4351; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 720px) and (max-height: 700px) {
  .hero-copy { padding-top: 1.1rem; }
  .hero-copy .eyebrow { font-size: .75rem; }
  .hero-copy .intro { font-size: 1rem; line-height: 1.45; }
  .hero-copy .actions { display: grid; grid-template-columns: max-content max-content; gap: .45rem; }
  .hero-copy .button { min-height: 44px; padding-inline: .68rem; font-size: .875rem; }
}
@media (max-width: 420px) {
  nav { width: 100%; justify-content: space-between; gap: .35rem; }
  nav a { font-size: .875rem; }
  .nav-contact { padding: .56rem .66rem; }
}
@media (prefers-reduced-motion: reduce) {
  [data-film] { display: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
