:root {
  --accent: #f2a900;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 45%, transparent);
  --ink: #111418;
  --panel: #181d24;
  --panel-2: #161a20;
  --line: #2a3039;
  --line-soft: #232932;
  --text: #f4f4f2;
  --muted: #b9bec6;
  --faint: #8a919c;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.no-smooth {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

/* ---------- showcase ribbon ---------- */
.ribbon {
  background: var(--accent);
  color: #111418;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ribbon-in {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 9px 0;
}

.ribbon-note {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.ribbon-side {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ribbon a.back {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.ribbon a.back:hover {
  opacity: 0.72;
}

.palette {
  display: flex;
  align-items: center;
  gap: 8px;
}

.palette-label {
  opacity: 0.7;
}

.palette button {
  width: 15px;
  height: 15px;
  padding: 0;
  border: 1px solid rgba(17, 20, 24, 0.45);
  border-radius: 1px;
  cursor: pointer;
}

.palette button[aria-pressed="true"] {
  outline: 2px solid #111418;
  outline-offset: 2px;
}

html.is-embed .ribbon {
  display: none;
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.head-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 16px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--accent);
  position: relative;
  flex: none;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid #111418;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 28px;
  font-weight: 500;
}

.site-nav a.link {
  padding: 10px 0;
  position: relative;
}

.site-nav a.link:hover {
  color: var(--accent);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 40px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 2px;
  margin-inline: 10px;
  background: var(--text);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.1;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  background: var(--accent);
  color: #111418;
}

.btn-solid:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: #4a525e;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ink {
  background: #111418;
  color: var(--text);
}

.btn-sm {
  padding: 11px 18px;
  font-size: 15px;
}

/* ---------- shared section bits ---------- */
.section {
  padding: 88px 0;
}

.section-tight {
  padding: 64px 0;
}

.rule-top {
  border-top: 1px solid var(--line);
}

.alt {
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

h2.h-lg {
  font-size: clamp(34px, 4.2vw, 48px);
  margin: 12px 0 14px;
}

.lead {
  color: var(--muted);
  max-width: 580px;
  margin: 0 0 44px;
}
.lead.no-space {
  margin-bottom: 0;
}

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(46px, 6.6vw, 84px);
}

.hero p.pitch {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 4px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: none;
}

/* blueprint artwork */
.hero-art {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  overflow: hidden;
  background-image: linear-gradient(
      180deg,
      color-mix(in srgb, var(--accent) 10%, transparent),
      transparent 55%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05) 0 1px,
      transparent 1px 40px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0 1px,
      transparent 1px 40px
    ),
    linear-gradient(150deg, #1c222a, #12161b 58%, #202730);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 26px 26px auto auto;
  width: 44%;
  height: 58%;
  border: 1px solid var(--accent-line);
}

.hero-art::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 104px;
  height: 1px;
  background: var(--accent-line);
}

.art-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--faint);
}

.art-caption {
  position: absolute;
  left: 26px;
  bottom: 26px;
  right: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.art-caption span:first-child {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.art-chip {
  background: var(--accent);
  color: #111418;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
}

.art-stack {
  position: absolute;
  top: 78px;
  left: 26px;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.9;
  color: color-mix(in srgb, var(--text) 14%, transparent);
  letter-spacing: 0.02em;
}

/* ---------- trust strip ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
  padding: 20px 0;
}

.trust-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 34px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-in strong {
  color: var(--faint);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 12px;
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.stat .num {
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1;
  color: var(--accent);
}

.stat .lbl {
  color: var(--muted);
  margin-top: 6px;
  font-size: 15px;
}

.note {
  color: var(--faint);
  font-size: 13px;
  margin: 22px 0 0;
}

/* ---------- services ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.svc {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.svc:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
}

.svc .idx {
  font-family: var(--display);
  font-size: 38px;
  color: var(--accent);
  line-height: 1;
}

.svc h3 {
  font-size: 23px;
  letter-spacing: 0.02em;
}

.svc p {
  margin: 0;
  color: var(--muted);
}

.svc ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.svc ul li {
  padding-left: 16px;
  position: relative;
}

.svc ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.svc .more {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.svc:hover .more {
  color: var(--accent);
}

/* ---------- projects ---------- */
.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.split-head h2 {
  font-size: clamp(34px, 4.2vw, 48px);
}

.split-head .lead {
  margin: 12px 0 0;
}

.link-more {
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.link-more:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project .shot {
  height: 260px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background-image: repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.035) 0 1px,
      transparent 1px 12px
    ),
    linear-gradient(160deg, #212832, #141920);
}

.project .shot::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--faint);
}

.project .shot::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  opacity: 0.8;
}

.project .meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}

.project h3 {
  font-size: 22px;
  letter-spacing: 0.02em;
}

.project:hover h3 {
  color: var(--accent);
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}

.step {
  border-top: 3px solid var(--accent);
  padding-top: 16px;
}

.step .n {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--faint);
}

.step h3 {
  font-size: 20px;
  margin: 8px 0 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- quality split ---------- */
.quality {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.quality-art {
  min-height: 420px;
  border: 1px solid var(--line);
  background-image: linear-gradient(
      120deg,
      color-mix(in srgb, var(--accent) 16%, transparent),
      transparent 60%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 2px,
      transparent 2px 26px
    ),
    linear-gradient(200deg, #1d242d, #12161b);
  position: relative;
}

.quality-art::before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
}

.quality-art .stamp {
  position: absolute;
  left: 30px;
  bottom: 30px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 46px);
  color: color-mix(in srgb, var(--text) 18%, transparent);
  letter-spacing: 0.04em;
}

.checklist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
}

.checklist .tick {
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.checklist h3 {
  font-size: 18px;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.checklist p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- quote ---------- */
.quote {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
}

.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.14;
  text-transform: none;
  letter-spacing: 0;
}

.quote blockquote::before {
  content: "“";
  color: var(--accent);
}

.quote blockquote::after {
  content: "”";
  color: var(--accent);
}

.quote .who {
  color: var(--muted);
  font-size: 14px;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

.quote .who strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-weight: 600;
  font-size: 18px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 24px;
  color: var(--accent);
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: 16px;
}

/* ---------- cta ---------- */
.cta {
  background: var(--accent);
  color: #111418;
  padding: 72px 0;
}

.cta-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  font-size: clamp(34px, 4.8vw, 58px);
  max-width: 15ch;
}

.cta p {
  margin: 10px 0 0;
  max-width: 46ch;
  font-weight: 500;
}

.cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta .btn-ghost {
  border: 2px solid #111418;
  color: #111418;
}

.cta .btn-ghost:hover {
  background: #111418;
  color: var(--accent);
}

/* ---------- footer ---------- */
.site-foot {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  color: var(--muted);
  font-size: 15px;
}

.foot-brand {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.foot-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

.foot-grid a:hover {
  color: var(--accent);
}

.foot-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: var(--faint);
  font-size: 13px;
}

/* ---------- mobile cta ---------- */
.mobile-cta {
  display: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid,
  .quality {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-art {
    min-height: 380px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3,
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .quote,
  .faq {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 56px 0;
  }

  .section-tight {
    padding: 44px 0;
  }

  .hero {
    padding: 40px 0 52px;
  }

  .head-in {
    padding: 12px 0;
  }

  .nav-burger {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    margin-top: 12px;
    padding-top: 8px;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a.link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav .btn {
    margin-top: 14px;
    margin-bottom: 6px;
  }

  .cards-3,
  .projects,
  .steps,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 300px;
  }

  .art-stack {
    font-size: 46px;
  }

  .quote {
    padding: 24px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body {
    padding-bottom: 66px;
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--ink) 96%, transparent);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }

  .mobile-cta .btn {
    flex: 1;
    padding: 13px 12px;
    font-size: 15px;
  }

  html.is-embed body {
    padding-bottom: 0;
  }

  html.is-embed .mobile-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .svc {
    transition: none;
  }

  .btn:hover,
  .svc:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .ribbon-note span:last-child {
    display: none;
  }

  .ribbon-in {
    gap: 6px 12px;
  }

  .ribbon-side {
    width: 100%;
    justify-content: space-between;
  }
}
