:root {
  --ink: #071210;
  --ink-soft: #0d1c18;
  --paper: #f2efe7;
  --paper-soft: #e8e4da;
  --text: #eaf0eb;
  --muted: #aebbb5;
  --turquoise: #2ec4b6;
  --gold: #d4af37;
  --line: rgba(234, 240, 235, .14);
  --container: min(1280px, calc(100vw - 64px));
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(46, 196, 182, .07), transparent 28%),
    linear-gradient(90deg, transparent 49.95%, rgba(255,255,255,.025) 50%, transparent 50.05%);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.03;
  text-wrap: balance;
}
h1 { margin-bottom: .42em; font-size: clamp(3.2rem, 7vw, 7.8rem); letter-spacing: -.055em; }
h2 { margin-bottom: .55em; font-size: clamp(2.45rem, 4.6vw, 5.2rem); letter-spacing: -.04em; }
h3 { margin-bottom: .6em; font-size: clamp(1.55rem, 2.1vw, 2.1rem); letter-spacing: -.025em; }
p { color: var(--muted); }
::selection { background: var(--turquoise); color: var(--ink); }
:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 4px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--turquoise);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 82px;
  padding: 13px max(32px, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  background: rgba(7, 18, 16, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.logo {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.logo__mark { width: 47px; fill: none; stroke: var(--turquoise); stroke-width: 1.7; }
.logo b { display: block; letter-spacing: .19em; font-size: .82rem; }
.logo small { display: block; color: var(--muted); font-size: .63rem; letter-spacing: .1em; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); }
.main-nav a {
  position: relative;
  font-size: .84rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--turquoise);
  transition: right .2s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.header-cta {
  justify-self: end;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-toggle { display: none; }

.hero {
  width: var(--container);
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: clamp(68px, 9vw, 128px) 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .62fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}
.hero__copy h1 { max-width: 930px; }
.lead { max-width: 820px; font-size: clamp(1.16rem, 1.8vw, 1.5rem); line-height: 1.5; }
.eyebrow {
  margin-bottom: 1.4rem;
  color: var(--turquoise);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 52px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.button--primary { background: var(--turquoise); color: var(--ink); }
.button--primary:hover { background: #52d2c6; }
.button--primary:disabled { opacity: .62; cursor: wait; }
.button--ghost { border-color: var(--line); color: var(--text); }
.button--ghost:hover { border-color: var(--text); }
.hero__visual { position: relative; margin: 0; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border: 1px solid rgba(212, 175, 55, .48);
}
.hero__visual img {
  width: 100%;
  aspect-ratio: .84;
  object-fit: cover;
  filter: saturate(.72) contrast(1.05);
}
.hero__visual figcaption, .visual-card figcaption {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .05em;
}
.hero__visual figcaption { margin-top: 9px; }
.facts {
  margin: 62px 0 0;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.facts strong { display: block; color: var(--gold); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.facts span { color: var(--muted); font-size: .78rem; }

.section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(88px, 11vw, 160px) 0;
  border-top: 1px solid var(--line);
}
.intro h2 { max-width: 1050px; }
.intro__grid {
  margin-top: clamp(50px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: clamp(42px, 8vw, 120px);
  align-items: start;
}
.big-copy { max-width: 850px; color: var(--text); font-family: Georgia, serif; font-size: clamp(1.5rem, 2.5vw, 2.5rem); line-height: 1.34; }
.note { padding-left: 24px; border-left: 1px solid var(--gold); }
.note span { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.note p { margin: 12px 0 0; }
.section-heading { margin-bottom: 56px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2 { margin-bottom: 0; }
.text-link { color: var(--turquoise); text-decoration: none; white-space: nowrap; }
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { min-height: 340px; padding: clamp(28px, 4vw, 48px); background: var(--ink-soft); }
.card__number { display: block; margin-bottom: 60px; color: var(--gold); font-size: .75rem; letter-spacing: .15em; }
.card p { min-height: 5em; }
.card a { color: var(--turquoise); text-decoration: none; }

.visual-grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: 24px;
}
.visual-card { margin: 0; }
.visual-card--wide { grid-row: span 2; }
.visual-card img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; filter: saturate(.65) contrast(1.04); }
.visual-card--wide img { min-height: 680px; }
.visual-card figcaption { padding-top: 10px; display: flex; justify-content: space-between; gap: 16px; }
.visual-card figcaption span { color: var(--text); font-family: Georgia, serif; font-size: 1rem; }
.process h2 { max-width: 850px; }
.steps { margin: 72px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps li {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.steps li > span { color: var(--gold); font-size: .78rem; letter-spacing: .14em; }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; }
.split-role { display: grid; grid-template-columns: 1fr 1.618fr; gap: clamp(48px, 8vw, 120px); }
.role-list { border-top: 1px solid var(--line); }
.role-list article {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}
.role-list b { color: var(--gold); font-family: Georgia, serif; font-size: 1.25rem; font-weight: 400; }
.role-list span { color: var(--muted); }
.role-list a { color: var(--turquoise); font-size: .85rem; text-decoration: none; white-space: nowrap; }

.page-hero {
  width: var(--container);
  min-height: 64vh;
  margin: 0 auto;
  padding: clamp(96px, 13vw, 190px) 0 clamp(72px, 10vw, 135px);
  display: flex;
  align-items: end;
}
.page-hero > div { max-width: 1120px; }
.page-hero h1 { font-size: clamp(3.3rem, 7.7vw, 8.4rem); }
.page-hero--consult {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}
.page-hero--consult h1 { font-size: clamp(3.1rem, 6.5vw, 7.3rem); }
.price-line { margin: 35px 0; display: flex; align-items: baseline; gap: 20px; }
.price-line strong { color: var(--gold); font-family: Georgia, serif; font-size: 2.2rem; font-weight: 400; }
.price-line span { max-width: 310px; color: var(--muted); font-size: .8rem; }
.consult-card { padding: clamp(32px, 4vw, 54px); background: var(--paper); color: var(--ink); }
.consult-card .eyebrow { color: #177b71; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 18px 0 18px 30px; border-bottom: 1px solid rgba(7,18,16,.13); }
.check-list li::before { content: "—"; position: absolute; left: 0; color: #177b71; }
.service-list { padding-top: 0; }
.service-row {
  min-height: 230px;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 90px 1.618fr 1fr;
  gap: 36px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.service-row > span { color: var(--gold); font-size: .76rem; letter-spacing: .14em; }
.service-row h2 { margin-bottom: .2em; font-size: clamp(2rem, 3vw, 3.5rem); }
.service-row__meta { display: flex; flex-direction: column; gap: 30px; align-items: flex-end; }
.service-row__meta b { color: var(--muted); font-size: .8rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.editorial { display: grid; grid-template-columns: 1fr 1.618fr; gap: clamp(50px, 8vw, 120px); }
.editorial > p, .editorial > div:last-child { color: var(--text); font-family: Georgia, serif; font-size: clamp(1.45rem, 2.3vw, 2.2rem); line-height: 1.45; }
.editorial > div:last-child p { color: inherit; }
.editorial a { color: var(--turquoise); }
.values { padding-top: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.values article { padding: 44px; background: var(--ink-soft); }
.values span { color: var(--gold); font-size: .76rem; }
.values h3 { margin-top: 60px; }
.visual-grid--projects { border-top: 0; padding-top: 0; }
.compact-process { display: grid; grid-template-columns: 1fr 1.618fr; gap: clamp(50px, 8vw, 120px); }
.steps--compact { margin-top: 0; }
.steps--compact li { grid-template-columns: 44px 1fr; }
.steps--compact li > span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; }

.lead-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 9vw, 140px);
  align-items: start;
}
.lead-section__copy { position: sticky; top: 130px; }
.lead-section__copy h2 { max-width: 650px; }
.direct-contact { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 35px; }
.direct-contact a { color: var(--turquoise); text-decoration: none; }
.lead-form { padding: clamp(26px, 4vw, 52px); background: var(--paper); color: var(--ink); }
.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(7,18,16,.35);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.field input:focus, .field textarea:focus { border-bottom-color: #177b71; box-shadow: 0 2px 0 #177b71; }
.field textarea { resize: vertical; }
.field--trap { position: absolute; left: -9999px; }
.consent { margin: 25px 0; display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: #35423e; font-size: .78rem; }
.consent input { width: 18px; height: 18px; accent-color: #177b71; }
.consent a { color: #0c6d65; }
.lead-form .button { width: 100%; }
.form-status { min-height: 1.5em; margin: 18px 0 0; font-size: .82rem; }
.form-status.is-success { color: #08675e; }
.form-status.is-error { color: #9d2e28; }

.contact-grid { padding-top: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.contact-card { min-height: 230px; padding: 42px; display: flex; flex-direction: column; background: var(--ink-soft); }
.contact-card span { color: var(--gold); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-card a { margin: auto 0 8px; color: var(--text); font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 3rem); text-decoration: none; }
.contact-card small { color: var(--muted); }
.legal { width: min(850px, calc(100vw - 48px)); margin: 0 auto; padding: clamp(90px, 12vw, 170px) 0; }
.legal h1 { font-size: clamp(3rem, 6vw, 6rem); }
.legal h2 { margin-top: 2.2em; font-size: 2rem; }
.legal p { color: #ccd5d0; }
.legal a { color: var(--turquoise); }

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 68px 0 95px;
  display: grid;
  grid-template-columns: 1.618fr repeat(3, 1fr);
  gap: 45px;
  border-top: 1px solid var(--line);
}
.site-footer > div { display: flex; flex-direction: column; gap: 10px; }
.site-footer b { margin-bottom: 10px; color: var(--gold); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a, .site-footer span, .site-footer p { color: var(--muted); font-size: .82rem; text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer__brand p { margin-top: 12px; }
.messenger {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  min-width: 132px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--turquoise);
  color: var(--ink);
  border-radius: 100px;
  box-shadow: 0 16px 50px rgba(0,0,0,.35);
  text-decoration: none;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.messenger b { font-size: 1rem; }

@media (max-width: 980px) {
  :root { --container: min(100% - 40px, 760px); }
  .site-header { min-height: 70px; padding: 10px 20px; grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .nav-toggle {
    width: 44px;
    height: 44px;
    padding: 10px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    background: transparent;
  }
  .nav-toggle span:not(.sr-only) { width: 100%; height: 1px; display: block; background: var(--text); }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    padding: 30px 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .hero, .page-hero--consult { min-height: auto; grid-template-columns: 1fr; }
  .hero { padding-top: 85px; }
  .hero__visual { max-width: 620px; }
  .hero__visual img { aspect-ratio: 1.1; }
  .intro__grid, .split-role, .editorial, .compact-process, .lead-section { grid-template-columns: 1fr; }
  .cards--3 { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card__number { margin-bottom: 35px; }
  .card p { min-height: 0; }
  .lead-section__copy { position: static; }
  .values { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1.618fr 1fr; }
}

@media (max-width: 680px) {
  :root { --container: calc(100% - 28px); }
  body { font-size: 16px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  h2 { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .logo__mark { width: 40px; }
  .logo small { display: none; }
  .hero { padding: 68px 0 80px; gap: 60px; }
  .hero__visual::before { inset: -10px 10px 10px -10px; }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .facts li { display: flex; align-items: baseline; gap: 12px; }
  .section { padding: 85px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .visual-grid { grid-template-columns: 1fr; }
  .visual-card--wide { grid-row: auto; }
  .visual-card img, .visual-card--wide img { min-height: 360px; max-height: 520px; }
  .visual-card figcaption { flex-direction: column; gap: 2px; }
  .steps li { grid-template-columns: 48px 1fr; gap: 12px; }
  .role-list article { grid-template-columns: 1fr; gap: 10px; }
  .page-hero { min-height: 55vh; padding-top: 90px; }
  .page-hero--consult { padding: 85px 0; }
  .page-hero h1, .page-hero--consult h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .price-line { align-items: flex-start; flex-direction: column; }
  .service-row { grid-template-columns: 38px 1fr; gap: 15px; }
  .service-row__meta { grid-column: 2; align-items: flex-start; gap: 14px; }
  .values article { padding: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 190px; padding: 30px; }
  .lead-form { margin-left: -14px; margin-right: -14px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .messenger { right: 14px; bottom: 14px; min-width: 54px; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .messenger span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
