:root {
  --ink: #3c2d54;
  --ink-2: #2f2444;
  --muted: #667085;
  --muted-2: #8490a5;
  --line: #d9dee8;
  --paper: #ffffff;
  --wash: #f5f7fb;
  --wash-2: #eef2f7;
  --gold: #d39a27;
  --gold-2: #e7b84c;
  --gold-3: #f1d183;
  --blue: #3c2d54;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(60, 45, 84, .16);
  --shadow-soft: 0 14px 40px rgba(60, 45, 84, .10);
  --max: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, textarea, select {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}

.skip-link:focus { top: 16px; }

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 222, 232, .75);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 172px;
}

.brand-mark {
  width: 146px;
  height: auto;
}

.brand-word {
  display: grid;
  line-height: 1.05;
}

.brand-word strong {
  letter-spacing: .16em;
  font-size: 12px;
}

.brand-word span {
  color: var(--muted);
  font-size: 11px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 9px 12px;
  color: var(--ink);
}

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

.primary-nav a {
  color: #394458;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: var(--wash);
  color: var(--ink);
  outline: none;
}

.nav-cta {
  background: var(--ink) !important;
  color: white !important;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .18);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 84px 0 66px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(211,154,39,.20), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f6f8fc 44%, #eef2f7 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10vw -22vw auto;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  border: 1px solid rgba(211, 154, 39, .22);
  background: radial-gradient(circle, rgba(231,184,76,.14), transparent 64%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 18px;
}

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

h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(44px, 7vw, 84px);
  max-width: 880px;
}

h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  max-width: 820px;
}

h3 {
  font-size: 22px;
}

.lead {
  margin: 24px 0 0;
  max-width: 700px;
  color: #4b5568;
  font-size: clamp(18px, 2vw, 22px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #141820;
  box-shadow: 0 16px 40px rgba(211, 154, 39, .28);
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

.btn-dark {
  background: var(--ink);
  color: white;
  box-shadow: 0 16px 40px rgba(17, 24, 39, .25);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #4b5568;
  font-size: 13px;
  font-weight: 700;
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-panel {
  position: relative;
  background: linear-gradient(145deg, var(--ink), #2f2444);
  color: white;
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}


.panel-logo {
  width: 128px;
  margin: 0 0 22px;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.20));
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -90px -70px auto auto;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(211, 154, 39, .28);
  filter: blur(4px);
}

.panel-kicker {
  color: var(--gold-3);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  margin-bottom: 16px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.metric-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.07);
}

.metric-card strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  color: var(--gold-3);
  margin-bottom: 14px;
}

.metric-card span {
  color: #d8dde7;
  font-weight: 700;
}

.panel-note {
  color: #c9d2df;
  margin: 0;
}

.section {
  padding: 94px 0;
}

.section.compact {
  padding: 62px 0;
}

.section-muted {
  background: var(--wash);
}

.section-dark {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: auto -14vw -30vw auto;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: rgba(211,154,39,.14);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.section-copy {
  max-width: 470px;
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}

.section-dark .section-copy { color: #cbd5e1; }

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

.service-card,
.info-card,
.case-card,
.step-card,
.detail-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 1px 0 rgba(17, 24, 39, .02);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover,
.info-card:hover,
.case-card:hover,
.step-card:hover,
.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(211,154,39,.4);
}

.service-card.featured {
  background: linear-gradient(145deg, var(--ink), #263245);
  color: white;
  border-color: transparent;
}

.service-card.featured p,
.service-card.featured li { color: #d7dee9; }

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(211,154,39,.13);
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 18px;
}

.service-card h3,
.info-card h3,
.case-card h3,
.step-card h3,
.detail-card h3 {
  margin-bottom: 12px;
}

.service-card p,
.info-card p,
.case-card p,
.step-card p,
.detail-card p {
  margin: 0;
  color: #5a6578;
}

.service-card ul,
.detail-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #5a6578;
}

.service-card li,
.detail-card li {
  margin: 7px 0;
}

.ribbon {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.stack {
  display: grid;
  gap: 16px;
}

.info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.info-card .icon { margin: 0; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: rgba(211,154,39,.22);
  font-weight: 900;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -.08em;
  margin-bottom: 8px;
}

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

.case-card {
  min-height: 210px;
}

.dark-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 48px;
  align-items: start;
  position: relative;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  color: #d7dee9;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
}

.contact-card {
  background: white;
  color: var(--ink);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 46px;
  align-items: start;
}

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

.contact-list li {
  display: grid;
  gap: 2px;
}

.contact-list strong {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full { grid-column: 1 / -1; }

label {
  font-weight: 800;
  color: #354052;
  font-size: 14px;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfcfe;
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
}

textarea { min-height: 128px; resize: vertical; }

input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(211,154,39,.18);
  border-color: var(--gold);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0 0;
}

.page-hero {
  padding: 78px 0 54px;
  background:
    radial-gradient(circle at 82% 16%, rgba(211,154,39,.20), transparent 32%),
    linear-gradient(135deg, #fff, #f5f7fb);
}

.breadcrumb {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--gold); }

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

.detail-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
}

.detail-card .icon { margin: 0; }

.deliverables {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

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

.deliverable {
  padding: 18px;
  border-radius: 18px;
  background: var(--wash);
  font-weight: 800;
}

.legal-content {
  max-width: 880px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.legal-content h2 {
  font-size: 28px;
  margin-top: 36px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p, .legal-content li { color: #4d596d; }

.notice {
  border-left: 4px solid var(--gold);
  background: #fff7e6;
  padding: 16px 18px;
  border-radius: 14px;
  color: #4d3b18;
}

.site-footer {
  background: #0f1724;
  color: #d8dee9;
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 32px;
  align-items: start;
}

.footer-logo {
  width: 160px;
  margin-bottom: 18px;
}

.footer-title {
  color: white;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #d8dee9;
}

.footer-links a:hover { color: var(--gold-3); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 38px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #aeb8c7;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    display: none;
    position: absolute;
    inset: 80px 20px auto 20px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav.is-open { display: flex; }

  .primary-nav a { border-radius: 14px; }

  .hero-grid,
  .split,
  .dark-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 54px; }
  .hero-panel { padding: 24px; border-radius: 26px; }
  .metric-grid,
  .card-grid,
  .method-grid,
  .case-grid,
  .detail-grid,
  .deliverables-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .detail-card { grid-template-columns: 1fr; }
  .info-card { grid-template-columns: 1fr; }
  .contact-card { padding: 24px; border-radius: 26px; }
  .section { padding: 70px 0; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
