:root {
  color-scheme: dark;
  --bg: #111211;
  --panel: #191a18;
  --line: #39352b;
  --text: #f7f3e8;
  --muted: #c3beb2;
  --gold: #efca76;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
section[id] { scroll-margin-top: 20px; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--bg); z-index: 3; transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { background: #0c0c0c; border-bottom: 1px solid var(--line); }
.bar, .footer { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img, .footer img { mix-blend-mode: screen; }
nav { display: flex; flex-wrap: wrap; gap: 28px; color: var(--muted); font-size: .95rem; }
nav a:hover { color: var(--gold); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 4px; padding: .7rem 1.25rem; font: inherit; font-weight: 650; cursor: pointer; }
.primary { color: #17130a; background: var(--gold); }
.primary:hover { background: #ffdd90; }
.outline { color: var(--text); background: #15151370; border-color: #9c8154; }
.outline:hover { background: #282219; }
.hero { background: linear-gradient(90deg, #121311 6%, #121311e8 28%, #12131175 63%, #12131120 100%), url(assets/hero.webp) center right / cover no-repeat, #171817; border-bottom: 1px solid var(--line); }
.hero-content { padding-block: clamp(5.5rem, 11vw, 9.5rem); }
.eyebrow, .category { color: var(--gold); font-weight: 650; font-size: .9rem; letter-spacing: .05em; }
.eyebrow { display: flex; gap: .75rem; align-items: center; margin: 0 0 1.6rem; }
.eyebrow span { width: 25px; height: 1px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 7.3vw, 6.6rem); font-weight: 720; line-height: .99; letter-spacing: -.062em; max-width: 850px; margin-bottom: 1.55rem; text-wrap: balance; }
h1 em { color: var(--gold); font-style: normal; display: block; }
.intro { font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 485px; color: #e2ddd2; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.section { padding-block: clamp(3.1rem, 7vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 1.4rem; text-wrap: balance; }
h3 { font-size: 1.28rem; line-height: 1.22; margin-bottom: .65rem; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.services article { position: relative; background: var(--panel); border: 1px solid var(--line); border-top-color: #a58952; padding: 1.45rem; }
.services ul { color: var(--muted); padding-left: 1.1rem; margin: 0; }
.services li + li { margin-top: .5rem; }
.services .category { margin-bottom: 1.2rem; }
.process { background: #171815; border-block: 1px solid var(--line); }
.process-layout, .brief-layout { display: grid; grid-template-columns: 1fr 1.15fr; align-items: start; gap: clamp(1.5rem, 6vw, 5rem); }
.muted, .process p { color: var(--muted); }
.process ol { margin: 0; padding: 0; list-style: none; counter-reset: stage; }
.process li { counter-increment: stage; border-top: 1px solid var(--line); padding-block: 1.15rem; display: flex; gap: 1rem; }
.process li::before { content: counter(stage); color: var(--gold); width: 1.8rem; flex-shrink: 0; font-weight: 700; }
.process li p { margin: 0; }
form { display: grid; gap: .55rem; padding: clamp(1rem, 3vw, 2rem); background: var(--panel); border: 1px solid var(--line); }
label { font-weight: 620; }
input, textarea, select { font: inherit; color: var(--text); background: var(--bg); border: 1px solid #6b6251; border-radius: 4px; width: 100%; padding: .65rem .8rem; margin-bottom: .65rem; }
textarea { resize: vertical; }
form .button { justify-self: start; }
#brief-status { margin: 0; color: var(--gold); }
#brief-status:empty { display: none; }
footer { border-top: 1px solid var(--line); background: #0c0c0c; }
.footer p { color: var(--muted); margin: 0; }
.footer-phone { color: var(--gold); font-weight: 650; white-space: nowrap; }
.footer-phone:hover { text-decoration: underline; }
.footer-contact { display: grid; gap: .25rem; }
.footer-email { color: var(--gold); overflow-wrap: anywhere; }
.footer-email:hover { text-decoration: underline; }
@media (min-width: 821px) {
  .services { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .services article { grid-column: span 2; }
  .services article:nth-last-child(-n + 2) { grid-column: span 3; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 40px); }
  .bar { flex-wrap: wrap; padding-block: .7rem; gap: 12px 20px; }
  .brand { width: min(225px, 55%); }
  nav { order: 3; width: 100%; gap: 18px; }
  .services, .process-layout, .brief-layout { grid-template-columns: 1fr; }
  .hero { background-position: 70% center; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 32px); }
  .top-action { padding-inline: .55rem; }
  h1 { font-size: clamp(2.55rem, 10.4vw, 3rem); }
  .footer { padding-block: 1rem; flex-wrap: wrap; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
