:root {
  color-scheme: dark;
  --ink: #f7f1e5;
  --muted: #c5bcae;
  --paper: #f4eee1;
  --paper-ink: #211a15;
  --deep: #080b0d;
  --deep-2: #101615;
  --teal: #163d3b;
  --gold: #d9aa61;
  --copper: #a96543;
  --line: rgba(247, 241, 229, 0.14);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--deep);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(8, 11, 13, 0), rgba(8, 11, 13, 0.92) 820px),
    var(--deep);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(247, 241, 229, 0.16);
  border-radius: 8px;
  background: rgba(8, 11, 13, 0.42);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 11, 13, 0.84);
  border-color: rgba(217, 170, 97, 0.28);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(217, 170, 97, 0.5);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(217, 170, 97, 0.24), rgba(22, 61, 59, 0.6));
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: inline-flex;
  justify-content: center;
  gap: 28px;
  color: rgba(247, 241, 229, 0.82);
  font-size: 14px;
}

.desktop-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: var(--gold);
}

.header-cta,
.button,
.menu-toggle,
.panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.header-cta {
  min-height: 46px;
  padding: 0 16px;
  background: var(--paper);
  color: var(--paper-ink);
  font-weight: 700;
}

.button {
  min-height: 54px;
  padding: 0 20px;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, #f1c878, #bc7449);
  color: #17100b;
  box-shadow: 0 16px 36px rgba(188, 116, 73, 0.24);
}

.button.ghost {
  border: 1px solid rgba(247, 241, 229, 0.22);
  background: rgba(247, 241, 229, 0.07);
  color: var(--ink);
}

.button.ghost.light {
  border-color: rgba(33, 26, 21, 0.18);
  background: rgba(33, 26, 21, 0.06);
  color: var(--paper-ink);
}

.button svg,
.header-cta svg,
.service-card svg,
.check-item svg,
.social-card svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: rgba(247, 241, 229, 0.1);
  color: var(--ink);
}

.mobile-panel {
  position: fixed;
  top: 86px;
  right: 10px;
  left: 10px;
  z-index: 30;
  display: grid;
  gap: 6px;
  width: auto;
  max-height: calc(100svh - 106px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px;
  border: 1px solid rgba(217, 170, 97, 0.2);
  border-radius: 8px;
  background: #080b0d;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.mobile-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-panel a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.mobile-panel a:last-child {
  border-bottom: 0;
}

.panel-close {
  justify-self: end;
  width: 42px;
  height: 42px;
  background: rgba(247, 241, 229, 0.1);
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding: 148px max(24px, calc((100vw - 1180px) / 2)) 42px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(8, 11, 13, 0.98) 0%, rgba(8, 11, 13, 0.68) 38%, rgba(8, 11, 13, 0.08) 76%),
    linear-gradient(180deg, rgba(8, 11, 13, 0.04), rgba(8, 11, 13, 0.76)),
    url('../public/images/atmika-hero.png');
  background-position: center right;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, rgba(8, 11, 13, 0), var(--deep));
  content: "";
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: 64px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 30px;
  padding: 5px 12px 4px;
  border: 1px solid rgba(217, 170, 97, 0.34);
  border-radius: 999px;
  color: #e8c07e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  margin: 22px 0 22px;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.95;
  overflow-wrap: break-word;
}

.hero-content p {
  max-width: 660px;
  color: rgba(247, 241, 229, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  border: 1px solid rgba(247, 241, 229, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(247, 241, 229, 0.08);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  min-height: 70px;
  padding: 20px;
  background: rgba(8, 11, 13, 0.46);
  color: rgba(247, 241, 229, 0.86);
  font-weight: 700;
}

section {
  padding: 104px max(24px, calc((100vw - 1180px) / 2));
}

.section-band {
  background:
    linear-gradient(135deg, rgba(22, 61, 59, 0.22), rgba(217, 170, 97, 0.04)),
    #0d1112;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1.22fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.section-heading-centered,
.section-heading-stack {
  display: flex;
  flex-direction: column;
}

.section-heading-centered {
  align-items: center;
  gap: 18px;
  text-align: center;
}

.section-heading-centered h2 {
  max-width: 780px;
}

.section-heading-stack {
  align-items: flex-start;
  gap: 20px;
}

.process-heading {
  max-width: 860px;
  margin-bottom: 54px;
}

.section-heading h2,
.split h2,
.story h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.02;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: start;
}

.intro .section-heading {
  display: block;
  margin-bottom: 0;
}

.intro .section-heading h2 {
  margin: 18px 0 0;
}

.intro-copy {
  display: grid;
  gap: 24px;
  color: rgba(247, 241, 229, 0.78);
  font-size: 20px;
  line-height: 1.7;
}

.intro-copy p {
  margin-bottom: 0;
}

.services-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto 54px;
  text-align: center;
}

.services-heading h2 {
  max-width: 820px;
}

.services-heading .kicker {
  width: auto;
}

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

.service-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 328px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(247, 241, 229, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(217, 170, 97, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(247, 241, 229, 0.075), rgba(247, 241, 229, 0.032)),
    #0e1213;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(217, 170, 97, 0.7), transparent);
  opacity: 0.54;
}

.service-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(217, 170, 97, 0.14);
  color: var(--gold);
}

.service-card h3 {
  margin: 30px 0 14px;
  font-size: 25px;
  line-height: 1.15;
}

.service-card p {
  margin-bottom: 30px;
  color: rgba(247, 241, 229, 0.72);
  line-height: 1.62;
}

.price {
  align-self: end;
  color: #f3c678;
  font-size: 20px;
  font-weight: 900;
}

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

.split h2 {
  margin: 18px 0 22px;
}

.split p {
  color: rgba(247, 241, 229, 0.76);
  font-size: 20px;
  line-height: 1.68;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(247, 241, 229, 0.12);
  border-radius: 8px;
  background: rgba(247, 241, 229, 0.055);
  color: rgba(247, 241, 229, 0.86);
  line-height: 1.5;
}

.check-item svg {
  justify-self: center;
  align-self: center;
  color: var(--gold);
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
}

.outcome-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(217, 170, 97, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 170, 97, 0.11), rgba(22, 61, 59, 0.12)),
    rgba(247, 241, 229, 0.04);
  color: rgba(247, 241, 229, 0.86);
  line-height: 1.45;
}

.outcome-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(217, 170, 97, 0.14);
  color: #f0c878;
  font-size: 13px;
  font-weight: 900;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline-item {
  min-height: 260px;
  padding: 24px;
  border-left: 1px solid rgba(217, 170, 97, 0.48);
  background: rgba(247, 241, 229, 0.05);
}

.timeline-item span {
  color: var(--gold);
  font-weight: 900;
}

.timeline-item h3 {
  margin: 34px 0 14px;
  font-size: 24px;
}

.timeline-item p {
  color: rgba(247, 241, 229, 0.74);
  line-height: 1.58;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 24px;
  background: var(--paper);
  color: var(--paper-ink);
}

.story .kicker,
.contact .kicker {
  border-color: rgba(169, 101, 67, 0.35);
  color: #936039;
}

.story-card,
.quote-card {
  border-radius: 8px;
  background: rgba(33, 26, 21, 0.05);
}

.story-card {
  padding: clamp(28px, 5vw, 56px);
}

.story-card h2 {
  margin: 18px 0 24px;
}

.story-card p {
  color: rgba(33, 26, 21, 0.76);
  font-size: 19px;
  line-height: 1.72;
}

.quote-card {
  display: grid;
  align-items: start;
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(180deg, rgba(8, 11, 13, 0.16), rgba(8, 11, 13, 0.62)),
    var(--teal);
  color: var(--ink);
}

.quote-card p {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.contact {
  background:
    linear-gradient(135deg, rgba(217, 170, 97, 0.22), rgba(22, 61, 59, 0.1)),
    var(--paper);
  color: var(--paper-ink);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.contact h2 {
  margin: 18px 0 20px;
}

.contact p {
  max-width: 760px;
  color: rgba(33, 26, 21, 0.76);
  font-size: 20px;
  line-height: 1.65;
}

.social-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(33, 26, 21, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.36);
}

.social-card h3 {
  margin-bottom: 10px;
}

.social-card a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(33, 26, 21, 0.06);
  font-weight: 800;
}

.social-card small {
  margin-top: 18px;
  color: rgba(33, 26, 21, 0.58);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-content {
    padding-bottom: 36px;
  }

  .hero-panel,
  .section-heading,
  .intro,
  .split,
  .story,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline,
  .outcome-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .intro,
  .split,
  .contact-inner {
    gap: 30px;
  }

  section {
    padding-top: 78px;
    padding-bottom: 78px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding-left: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content,
  .hero-panel {
    width: 100%;
  }

  .intro,
  .section-heading,
  .service-grid,
  .split,
  .outcome-list,
  .timeline,
  .story-card,
  .quote-card,
  .contact-inner {
    width: 100%;
  }

  .eyebrow,
  .kicker {
    min-height: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    letter-spacing: 0.04em;
    overflow-wrap: break-word;
  }

  h1 {
    font-size: clamp(40px, 12vw, 52px);
    overflow-wrap: normal;
  }

  .section-heading h2,
  .split h2,
  .story h2,
  .contact h2 {
    font-size: clamp(34px, 11vw, 46px);
    overflow-wrap: break-word;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-panel,
  .service-grid,
  .timeline,
  .outcome-list {
    grid-template-columns: 1fr;
  }

  section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-card {
    min-height: 0;
  }
}
