@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --ink: #10100f;
  --deep: #171715;
  --paper: #edece7;
  --muted: #aaa9a1;
  --line: #30302d;
  --orange: #ff5b27;
  --orange-hover: #ff7448;
  --field: #1a1a18;
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.shell { width: min(1220px, calc(100% - 64px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--ink); padding: 10px 14px; z-index: 50; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16, 16, 15, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.wordmark svg { width: 30px; height: 30px; flex: none; }
.wordmark-text { white-space: nowrap; }
.wordmark em { color: var(--orange); font-style: normal; }
.service-number, em { color: var(--orange); font-style: normal; }
.site-header nav { display: flex; gap: 6px; margin-left: auto; }
.site-header nav a, .header-phone { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: #d3d2cc; font-size: 14px; font-weight: 500; letter-spacing: .005em; }
.site-header nav a:hover, .header-phone:hover, .direct-contact a:hover, .site-footer a:hover { color: var(--orange); }
.header-phone { gap: 8px; margin-left: 4px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.header-phone svg { width: 15px; height: 15px; flex: none; }
.header-phone:hover { border-color: var(--orange); }

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: min(780px, 92vh); padding: 112px 0 150px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; filter: saturate(.72) contrast(1.05); }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 16, 15, .94) 0%, rgba(16, 16, 15, .78) 38%, rgba(16, 16, 15, .55) 70%, rgba(16, 16, 15, .82) 100%),
    linear-gradient(90deg, rgba(16, 16, 15, .55) 0%, rgba(16, 16, 15, 0) 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(237, 236, 231, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(237, 236, 231, .045) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: calc(50% - 48px) 0;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .5) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .5) 55%, transparent 100%);
}
.hero .eyebrow, .hero h1, .hero-detail { text-shadow: 0 2px 24px rgba(16, 16, 15, .6); }
.hero-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 60px; align-items: end; }
.eyebrow, .section-label { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; margin: 0 0 26px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 880px; margin-bottom: 0; font-size: clamp(48px, 8.1vw, 118px); line-height: .92; letter-spacing: -.055em; font-weight: 800; text-wrap: balance; }
.hero-detail { max-width: 360px; padding-bottom: 14px; }
.hero-detail p, .lede, .local p, .contact-copy { color: #c1c0b9; font-size: 18px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; border-bottom: 1px solid var(--orange); color: var(--paper); font-size: 15px; font-weight: 700; }
.text-link span, button span { color: var(--orange); padding-left: 8px; }
.text-link:hover span { transform: translateX(3px); }
.text-link span, button span { display: inline-block; transition: transform .2s ease; }

/* Glass strip straddling the hero edge */
.glass-wrap { position: relative; z-index: 2; height: 0; }
.glass { transform: translateY(-50%); }
.glass {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, rgba(40, 40, 37, .62), rgba(20, 20, 18, .7));
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(237, 236, 231, .16); border-radius: 18px;
  box-shadow: 0 32px 80px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
  overflow: hidden;
}
.glass-item { display: grid; gap: 6px; padding: 30px 28px; color: var(--paper); border-left: 1px solid rgba(237, 236, 231, .12); transition: background-color .2s ease; }
.glass-item:first-child { border-left: 0; }
.glass-item:hover { background: rgba(237, 236, 231, .06); }
.glass-num { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .1em; margin-bottom: 10px; }
.glass-item strong { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.glass-item span:last-child { color: #b9b8b0; font-size: 14px; line-height: 1.4; }

/* Sections */
.statement, .local { background: var(--paper); color: var(--ink); padding: 130px 0; }
.statement { padding-top: 190px; }

.statement .section-label, .local .section-label { color: #78776f; }
h2 { font-size: clamp(36px, 5vw, 70px); line-height: 1; letter-spacing: -.045em; font-weight: 800; margin-bottom: 28px; text-wrap: balance; }
.statement-grid, .local-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.statement h2 { max-width: 640px; }
.lede { max-width: 610px; color: #53524d; }
.services { padding: 125px 0 132px; }
.section-heading { padding-bottom: 54px; border-bottom: 1px solid var(--line); }
.section-heading h2 { max-width: 900px; }
.section-heading h2 { margin: 0; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); }
.service-list article { padding: 35px 40px 43px 0; border-bottom: 1px solid var(--line); }
.service-list article:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 40px; }
.service-list article:nth-child(even) { padding-left: 40px; }
.service-number { font-size: 12px; letter-spacing: .08em; font-weight: 700; margin-bottom: 60px; }
h3 { font-size: 22px; letter-spacing: -.025em; font-weight: 700; margin-bottom: 14px; }
.service-list p:last-child { color: var(--muted); line-height: 1.55; max-width: 410px; margin-bottom: 0; }
.approach { background: var(--deep); padding: 125px 0; }
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.approach h2 { max-width: 410px; }
.approach ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid #3d3d39; }
.approach li { padding: 28px 0; border-bottom: 1px solid #3d3d39; display: grid; grid-template-columns: 75px 1fr; gap: 20px; }
.approach li > span { color: var(--orange); font-size: 12px; font-weight: 700; padding-top: 5px; }
.approach li h3 { margin-bottom: 8px; }
.approach li p { color: var(--muted); line-height: 1.55; margin-bottom: 0; }
.local h2 { max-width: 560px; } .local p { color: #53524d; max-width: 560px; }

/* Contact */
.contact { padding: 127px 0 132px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.contact h2 { margin-bottom: 28px; } .contact-copy { max-width: 360px; }
.direct-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 38px; font-size: 16px; font-weight: 700; }
.direct-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start; }
.direct-contact svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 8px; }
label { display: block; color: #cfcec6; font-size: 13px; font-weight: 600; letter-spacing: .01em; }
input, textarea {
  display: block; width: 100%; min-height: 52px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 8px; outline: 0; resize: vertical;
  background: var(--field); color: var(--paper); font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color .15s ease, background-color .15s ease;
}
textarea { min-height: 132px; }
input::placeholder, textarea::placeholder { color: #6f6e68; }
input:hover, textarea:hover { border-color: #4a4a45; }
input:focus, textarea:focus { border-color: var(--orange); background: #1e1e1b; }
.two-column { grid-template-columns: 1fr 1fr; gap: 18px; }
.two-column > div { display: grid; gap: 8px; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
button {
  justify-self: start; display: inline-flex; align-items: center; justify-content: center;
  margin-top: 6px; min-height: 52px; padding: 0 24px;
  border: 1px solid var(--orange); border-radius: 8px; background: var(--orange); color: var(--ink);
  cursor: pointer; font: inherit; font-size: 15px; font-weight: 700;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
button:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
button:active { transform: translateY(1px); }
.form-message { padding: 14px 16px; margin: 0; border-radius: 8px; font-size: 15px; line-height: 1.45; }
.form-message.success { background: rgba(128, 173, 112, .12); border: 1px solid rgba(128, 173, 112, .4); color: #c5e2b8; }
.form-message.error { background: rgba(255, 91, 39, .1); border: 1px solid rgba(255, 91, 39, .45); color: #ffc0a8; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: var(--muted); font-size: 13px; }
.footer-inner p { margin: 0; }
.footer-inner > a:last-child { color: #d3d2cc; display: inline-flex; align-items: center; min-height: 44px; }

/* Tablet */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-detail { max-width: 520px; padding-bottom: 0; }
  .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .approach h2 { max-width: none; }
  .glass { grid-template-columns: repeat(2, 1fr); }
  .glass-item:nth-child(3) { border-left: 0; }
  .glass-item:nth-child(n+3) { border-top: 1px solid rgba(237, 236, 231, .12); }
}

/* Phone */
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .shell { width: min(100% - 40px, 1220px); }
  .nav-wrap { gap: 8px; }
  .site-header nav { gap: 0; }
  .site-header nav a { padding: 0 10px; font-size: 14px; }
  .site-header nav a:not(:last-child) { display: none; }
  .header-phone { margin-left: 0; padding: 0 14px; }
  .hero { padding: 64px 0 204px; }
  .glass { border-radius: 14px; }
  .glass-item { padding: 20px 18px; }
  .glass-item strong { font-size: 15px; }
  .glass-item span:last-child { font-size: 13px; }
  .hero-bg img { object-position: 58% 60%; }
  .hero-bg::after { background-size: 64px 64px; background-position: calc(50% - 32px) 0; }
  .hero-bg::before { background: linear-gradient(180deg, rgba(16, 16, 15, .94) 0%, rgba(16, 16, 15, .8) 40%, rgba(16, 16, 15, .66) 72%, rgba(16, 16, 15, .86) 100%); }
  .hero { min-height: 0; }
  h1 { font-size: clamp(44px, 13.4vw, 64px); }
  .hero-detail p, .lede, .local p, .contact-copy { font-size: 17px; }
    .statement, .local, .services, .approach, .contact { padding: 84px 0; }
  .eyebrow, .section-label { margin-bottom: 20px; }
  .section-heading { padding-bottom: 32px; }
  .service-list { grid-template-columns: 1fr; }
  .service-list article, .service-list article:nth-child(odd), .service-list article:nth-child(even) { padding: 28px 0 32px; border-right: 0; }
  .service-number { margin-bottom: 28px; }
  .approach li { grid-template-columns: 40px 1fr; gap: 12px; padding: 24px 0; }
  .contact-grid { gap: 48px; }
  .direct-contact { margin-top: 28px; }
  button { justify-self: stretch; width: 100%; }
  .footer-inner { min-height: 0; padding: 28px 0; flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-inner p { order: 3; }
}

@media (max-width: 430px) {
  .header-phone span { display: none; }
  .header-phone { width: 44px; padding: 0; justify-content: center; }
  h1 { letter-spacing: -.045em; }
  .two-column { grid-template-columns: 1fr; }
  .statement, .local, .services, .approach, .contact { padding: 72px 0; }
}

/* keep room for the glass strip overlap (after the section padding shorthands above) */
@media (max-width: 960px) { .statement { padding-top: 200px; } }

/* Flow diagram (What we do) */
.flow { margin: 0; }
.flow svg { display: block; width: 100%; height: auto; overflow: visible; }
.flow-nodes rect { fill: #fff; stroke: #d6d5ce; stroke-width: 1.5; }
.flow-nodes text { font: 600 12px/1 "Inter", system-ui, sans-serif; fill: #10100f; text-anchor: middle; letter-spacing: -.01em; }
.flow-core > circle:not(.flow-ring) { fill: #10100f; }
.flow-ring { fill: none; stroke: #ff5b27; stroke-width: 1.5; stroke-dasharray: 4 6; transform-box: fill-box; transform-origin: center; animation: flow-spin 24s linear infinite; }
.flow-pulses circle { filter: drop-shadow(0 0 6px rgba(255, 91, 39, .7)); }
.flow figcaption { margin-top: 18px; color: #78776f; font-size: 13px; letter-spacing: .02em; }
@keyframes flow-spin { to { transform: rotate(360deg); } }

/* Utah photo (Based in Utah) */
.local-photo { margin: 0; position: relative; }
.local-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(16, 16, 15, .45); }
.local-photo figcaption { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(16, 16, 15, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.local-photo figcaption span { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 91, 39, .6); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(255, 91, 39, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 91, 39, 0); } }

/* Hero drift + glass hover */
.hero-bg img { animation: hero-drift 36s ease-in-out infinite alternate; will-change: transform; }
@keyframes hero-drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1.5%, 0); } }
.glass-item { transition: background-color .2s ease, transform .25s ease; }
.glass-item:hover { transform: translateY(-3px); }
.glass-item strong { transition: color .2s ease; }
.glass-item:hover strong { color: var(--orange); }

/* Scroll reveal */
.js-reveal [data-reveal], .js-reveal [data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-reveal [data-reveal].in, .js-reveal [data-reveal-stagger] > .in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .flow-ring, .local-photo figcaption span, .hero-bg img { animation: none; }
  .flow-pulses { display: none; }
}
@media (max-width: 960px) {
  .statement-grid, .local-grid { grid-template-columns: 1fr; gap: 44px; }
  .flow { max-width: 520px; }
}
