:root {
  --ink: #171410;
  --charcoal: #211d18;
  --charcoal-2: #2a251f;
  --paper: #f2eee5;
  --paper-2: #e8e0d2;
  --copper: #d36d32;
  --copper-bright: #ef8d42;
  --sand: #d7c2a3;
  --muted: #73695e;
  --line: rgba(25, 20, 16, 0.14);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 5vw;
  color: #fff9ee;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: height 220ms ease, background 220ms ease, backdrop-filter 220ms ease;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(23, 20, 16, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 44px;
  color: var(--copper-bright);
  border: 1px solid rgba(239, 141, 66, 0.7);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

.brand-mark svg { width: 24px; fill: currentColor; }

.brand-copy { display: grid; line-height: 0.92; }

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.brand-copy span {
  margin-top: 0.35rem;
  color: var(--sand);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.25em;
}

nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3rem); }

nav a {
  color: rgba(255, 249, 238, 0.74);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

nav a:hover, nav a:focus-visible { color: #fff; }

nav .nav-call {
  padding: 0.7rem 1rem;
  color: #fff;
  border: 1px solid rgba(239, 141, 66, 0.6);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  min-height: 790px;
  padding: clamp(9rem, 16vh, 12rem) 5vw 5rem;
  overflow: hidden;
  color: #fff9ee;
  background:
    radial-gradient(circle at 12% 95%, rgba(211, 109, 50, 0.18), transparent 35%),
    linear-gradient(117deg, #191612 0%, #242019 54%, #14120f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent 0, black 65%, transparent 100%);
}

.hero-glow {
  position: absolute;
  right: 21%;
  top: 8%;
  z-index: -1;
  width: 2px;
  height: 92%;
  background: linear-gradient(transparent, rgba(239, 141, 66, 0.9), transparent);
  box-shadow: 0 0 40px 10px rgba(211, 109, 50, 0.18);
  transform: rotate(14deg);
}

.hero-content {
  align-self: center;
  max-width: 820px;
  padding-right: 5vw;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.3rem;
  color: var(--copper-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: currentColor;
}

.eyebrow.dark { color: #a84e22; }
.eyebrow.light { color: var(--copper-bright); }

h1, h2, h3 { margin-top: 0; font-family: var(--display); line-height: 0.95; text-transform: uppercase; }

h1 {
  max-width: 820px;
  margin-bottom: 1.7rem;
  font-size: clamp(4.25rem, 8.5vw, 8rem);
  letter-spacing: -0.035em;
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px var(--sand);
}

.hero-lede {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 249, 238, 0.68);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 54px;
  padding: 0 1.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease;
}

.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.button-primary {
  color: #fff;
  background: var(--copper);
  border: 1px solid var(--copper);
}

.button-primary:hover { background: var(--copper-bright); border-color: var(--copper-bright); }

.button-ghost {
  color: #fff9ee;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-ghost:hover { border-color: #fff9ee; }

.license-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 3.3rem;
  color: rgba(255, 249, 238, 0.48);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.license-line strong { color: var(--sand); }

.license-bolt {
  width: 9px;
  height: 19px;
  background: var(--copper-bright);
  clip-path: polygon(54% 0, 100% 0, 67% 42%, 100% 42%, 15% 100%, 38% 53%, 0 53%);
}

.hero-panel {
  align-self: end;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.panel-kicker, .card-eyebrow {
  margin: 0 0 1.6rem;
  color: var(--copper-bright);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.panel-number {
  font-family: var(--display);
  font-size: clamp(5.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.8;
}

.panel-number span { color: var(--copper-bright); }

.panel-label {
  max-width: 240px;
  margin: 1rem 0 1.7rem;
  color: rgba(255,255,255,.6);
  font-size: 0.82rem;
  line-height: 1.55;
}

.panel-rule { height: 1px; margin: 0 0 1.6rem; background: rgba(255,255,255,.13); }

.hero-panel ul { display: grid; gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.hero-panel li { color: rgba(255,255,255,.76); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; }
.hero-panel li span { margin-right: .7rem; color: var(--copper-bright); font-family: var(--display); }

.section { padding: clamp(5rem, 9vw, 8rem) 5vw; }

.capabilities {
  position: relative;
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.6fr);
  align-items: end;
  gap: 8vw;
  max-width: 1360px;
  margin: 0 auto clamp(3.2rem, 6vw, 5.5rem);
}

.section-heading h2, .experience h2 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  letter-spacing: -0.025em;
}

.section-heading > p {
  margin: 0 0 .5rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1360px;
  margin: 0 auto;
  border: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 430px;
  padding: clamp(1.7rem, 3vw, 3rem);
  overflow: hidden;
  background: rgba(255,255,255,.18);
  border-right: 1px solid var(--line);
}

.service-card:last-child { border-right: 0; }

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 230ms ease;
}

.service-card:hover::after, .service-card.featured::after { transform: scaleX(1); }

.service-card.featured { color: #fff9ee; background: var(--charcoal); }

.card-index {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: .85rem;
}

.featured .card-index { color: rgba(255,255,255,.35); }

.card-icon {
  width: 62px;
  margin: 2rem 0 5.2rem;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.3;
  stroke-linecap: square;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 2.4rem;
  letter-spacing: -.015em;
}

.service-card p {
  max-width: 350px;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.service-card.featured p { color: rgba(255,255,255,.57); }

.card-tag {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .35rem .55rem;
  color: var(--copper-bright);
  border: 1px solid rgba(239,141,66,.35);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.52fr);
  gap: clamp(3rem, 8vw, 8rem);
  color: #fff9ee;
  background:
    linear-gradient(120deg, rgba(211,109,50,.12), transparent 30%),
    var(--charcoal);
}

.experience-copy { align-self: center; max-width: 780px; }

.experience-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 2rem 0 2.6rem;
  color: rgba(255,255,255,.58);
}

.experience-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}

.experience-points div { padding: 1.4rem; background: var(--charcoal); }
.experience-points strong { display: block; margin-bottom: .45rem; color: var(--sand); font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.experience-points span { color: rgba(255,255,255,.48); font-size: .78rem; line-height: 1.5; }

.contact-card {
  align-self: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 20px 20px 0 rgba(211,109,50,.18);
}

.contact-card h3 { margin-bottom: 1rem; font-size: clamp(2.2rem, 4vw, 3.3rem); }
.contact-card > p:not(.card-eyebrow) { margin: 0 0 2rem; color: var(--muted); font-size: .86rem; }

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.contact-row span { color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.contact-row strong { font-size: .85rem; }
.contact-row:hover strong { color: var(--copper); }
.button-wide { width: 100%; margin-top: 1.2rem; }
.contact-card small { display: block; margin-top: 1.1rem; color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-align: center; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 5vw;
  color: rgba(255,255,255,.4);
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-brand { color: #fff9ee; font-family: var(--display); font-size: 1.1rem; font-weight: 700; letter-spacing: .06em; }
.footer-brand span { color: var(--sand); font-size: .65rem; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .site-header { height: 76px; }
  nav > a:not(.nav-call) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 3.5rem; min-height: auto; padding-top: 9rem; }
  .hero-content { padding-right: 0; }
  .hero-panel { width: min(100%, 460px); }
  .section-heading { grid-template-columns: 1fr; gap: 1.7rem; }
  .section-heading > p { max-width: 620px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .card-icon { margin-bottom: 3rem; }
  .experience { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 1rem; }
  .brand-mark { width: 32px; height: 38px; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy span { font-size: .51rem; }
  nav .nav-call { padding: .55rem .65rem; font-size: .66rem; }
  .hero { padding: 8.2rem 1.15rem 3.5rem; }
  h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .hero-lede { font-size: .96rem; }
  .hero-actions { display: grid; }
  .license-line { align-items: flex-start; gap: .7rem; }
  .license-line span:last-child { flex-basis: 100%; margin-left: 1.25rem; }
  .section { padding: 4.5rem 1.15rem; }
  .section-heading h2, .experience h2 { font-size: 3.2rem; }
  .service-card { padding: 1.6rem; }
  .experience-points { grid-template-columns: 1fr; }
  .contact-card { padding: 1.6rem; box-shadow: 10px 10px 0 rgba(211,109,50,.18); }
  .contact-row { align-items: flex-start; flex-direction: column; gap: .25rem; }
  footer { align-items: flex-start; flex-direction: column; gap: .6rem; padding: 2rem 1.15rem; }
  footer p { margin: 0; }
}
