:root {
  --bg: #0f1210;
  --panel: rgba(255, 248, 238, 0.045);
  --panel-strong: rgba(255, 248, 238, 0.065);
  --text: #f3f2ee;
  --muted: #c3c0b7;
  --line: rgba(220, 207, 181, 0.14);
  --accent: #d8c194;
  --accent-2: #d7e7c5;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at top left, rgba(215, 231, 197, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(216, 193, 148, 0.08), transparent 24%),
    linear-gradient(180deg, #111512 0%, #0f1210 100%);
  background-color: #0f1210;
}
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 231, 197, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(216, 193, 148, 0.08), transparent 24%),
    linear-gradient(180deg, #111512 0%, #0f1210 100%);
  background-color: #0f1210;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  display: block;
  width: clamp(40px, 5vw, 52px);
  height: auto;
  mix-blend-mode: screen;
}

.brand span {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--text);
}

.hero,
.section,
.cta {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 56px;
  margin-top: 12px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(216, 193, 148, 0.05), transparent 40%, rgba(215, 231, 197, 0.04));
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-mark {
  margin-bottom: 24px;
}

.hero-mark img {
  display: block;
  width: clamp(190px, 30vw, 300px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.22));
}

.eyebrow,
.section-heading span,
.tag,
.cta span {
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.hero h1,
.section-heading h2,
.cta h2 {
  margin: 0;
  line-height: 1.02;
  text-wrap: balance;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.lead,
.card p,
.steps p,
.portfolio-note,
.cta p {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  max-width: 760px;
  font-size: 1.1rem;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
}

.button.primary {
  background: linear-gradient(135deg, #e0c998 0%, #c9ab73 100%);
  color: #171410;
  border-color: transparent;
}

.button.secondary {
  background: rgba(255,255,255,0.03);
  border-color: rgba(216, 193, 148, 0.18);
}

.hero-points {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.hero-points li::marker {
  color: var(--accent);
}

.section,
.cta {
  padding: 42px 36px;
  margin-top: 22px;
}

.section.alt {
  background: var(--panel-strong);
}

.section-heading h2,
.cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 760px;
}

.cards.three,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card,
.steps article {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 238, 0.035);
}

.card h3,
.steps h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.inline-link {
  color: var(--accent);
  border-bottom: 1px solid rgba(216, 193, 148, 0.45);
  padding-bottom: 2px;
}

.inline-link:hover {
  color: #f0d9aa;
  border-bottom-color: #f0d9aa;
}

.steps strong {
  color: var(--accent);
  display: inline-block;
  margin-bottom: 14px;
}

.portfolio-note {
  margin: 22px 0 0;
}

.card.project {
  display: flex;
  flex-direction: column;
}

.card .project-meta {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

.card .project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: auto 0 0;
}

.cta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.05), rgba(255, 248, 238, 0.03));
}

.cta .button {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-header,
  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    width: 96px;
  }

  .hero {
    padding: 44px 24px;
  }

  .section,
  .cta {
    padding: 28px 20px;
  }

  .cards.three,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-mark img {
    width: min(220px, 70vw);
  }
}

.consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:50;max-width:720px;margin:0 auto;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:14px 18px;border-radius:14px;background:rgba(20,20,28,.96);border:1px solid rgba(255,255,255,.12);box-shadow:0 10px 30px rgba(0,0,0,.4);font-size:.9rem;line-height:1.4}
.consent[hidden]{display:none}
.consent p{margin:0;flex:1 1 320px}
.consent-actions{display:flex;gap:8px}
.consent-btn{font:inherit;cursor:pointer;padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:transparent;color:inherit}
.consent-yes{background:#f0c070;border-color:#f0c070;color:#111;font-weight:600}
.consent-btn:focus-visible{outline:2px solid #c9a0ff;outline-offset:2px}
