:root {
  --bg: #04060a;
  --bg-raise: #0a0e14;
  --bg-card: rgba(10, 14, 20, 0.62);
  --line: rgba(232, 197, 122, 0.18);
  --text: #f4f0e6;
  --muted: #b7c0cc;
  --gold: #e08a62;
  --gold-deep: #d06a45;
  --teal: #7ee0c6;
  --danger: #ffb4b4;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --header: 76px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Syne", "Manrope", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (hover: hover) and (pointer: fine) {
  body, a, button, label, summary { cursor: none; }
}

.cursor-bubble {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-bubble {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(224, 138, 98, 0.9);
    box-shadow: 0 0 0 6px rgba(224, 138, 98, 0.16);
    transform: translate3d(-40px, -40px, 0);
    transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, background 0.2s ease;
  }

  .cursor-bubble.is-hot {
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    background: rgba(224, 138, 98, 0.28);
    box-shadow: 0 0 0 1px rgba(224, 138, 98, 0.9);
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(820px 420px at 100% -8%, rgba(232, 197, 122, 0.07), transparent 58%),
    radial-gradient(640px 380px at -8% 18%, rgba(126, 224, 198, 0.05), transparent 55%),
    var(--bg);
  line-height: 1.6;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: #1a1204;
  padding: 8px 12px;
  z-index: 20;
  border-radius: 8px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.narrow { width: min(820px, calc(100% - 32px)); }

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 30;
  height: auto;
  display: flex;
  align-items: center;
  background: transparent;
  border: 0;
  opacity: 0;
  transform: translateY(-18px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 24px));
  margin-inline: auto;
  padding: 8px 10px 8px 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  color: #1a1204;
  background: linear-gradient(160deg, #f3ddaa, var(--gold-deep));
  flex: none;
}

.brand-name {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: clamp(0.72rem, 2.7vw, 0.92rem);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--text); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.btn-primary {
  background: linear-gradient(180deg, #f0d7a0, var(--gold-deep));
  color: #1c1406;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-small { min-height: 40px; padding: 0 14px; }
.btn-full { width: 100%; }

.peony-stage {
  position: relative;
  z-index: 1;
  height: 200vh;
  background: transparent;
  pointer-events: none;
}

.globe-layer,
.birds-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.globe-layer { background: #000; pointer-events: auto; }

.birds-layer {
  opacity: 0;
  background: #000;
}

.hero,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.peony-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.peony-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

.peony-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header) + 24px) 20px 40px;
  pointer-events: none;
}

.peony-title-a,
.peony-next {
  grid-area: 1 / 1;
}

.peony-next { opacity: 0; }

.peony-title {
  margin: 0;
  font-family: "Syne", var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 7.5rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.peony-title-a span,
.peony-next span {
  display: inline-block;
}

.peony-line.is-in span {
  animation: peony-letter 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.peony-line.is-out span {
  animation: peony-letter-out 0.5s cubic-bezier(0.4, 0, 1, 1) both;
}

.peony-author {
  margin: 18px 0 0;
  font-family: "Syne", var(--display);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: lowercase;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.86);
}

@keyframes peony-letter {
  from { opacity: 0; transform: translateY(0.55em); }
  to { opacity: 1; transform: none; }
}

@keyframes peony-letter-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-0.45em); }
}

.hero {
  position: relative;
  padding: 108px 0 72px;
  overflow: hidden;
  background: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  animation: rise-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.hero-glow {
  position: absolute;
  inset: auto 8% 10% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232, 197, 122, 0.25), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; margin: 0 0 12px; }

h1 { font-size: clamp(2.1rem, 6vw, 4.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

.lead, .section-head p { color: var(--muted); font-size: 1.05rem; }

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.hero-stats li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats strong { display: block; font-family: var(--display); font-size: 1.25rem; }
.hero-stats span { color: var(--muted); font-size: 0.82rem; }

.browser {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #142233, #0c1622);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e8c57a;
  opacity: 0.7;
}

.browser-body { padding: 18px; }
.mock-nav { height: 12px; width: 46%; border-radius: 99px; background: rgba(255,255,255,0.12); margin-bottom: 22px; }
.mock-line { height: 12px; width: 62%; border-radius: 99px; background: rgba(232,197,122,0.7); margin-bottom: 10px; }
.mock-line.wide { width: 86%; height: 18px; }
.mock-pills { display: flex; gap: 8px; margin: 16px 0 20px; }
.mock-pills i { width: 84px; height: 28px; border-radius: 99px; background: rgba(126,224,198,0.35); display: block; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-cards div { height: 72px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.05); }

.hero-stage { position: relative; }

.float-card {
  position: absolute;
  background: rgba(10, 18, 28, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
}

.float-card strong { display: block; color: var(--teal); font-family: var(--display); }
.float-card span { color: var(--muted); font-size: 0.8rem; }
.float-card-a { left: -8px; bottom: 24px; }
.float-card-b { right: 8px; top: 18px; animation-delay: -2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-card.reveal {
  animation: rise-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both, floaty 5s ease-in-out 0.9s infinite;
}

section[id] { scroll-margin-top: 88px; }

.section { padding: 72px 0; }
.section-alt { background: transparent; }

.section-head { max-width: 640px; margin-bottom: 28px; }

.card-grid,
.portfolio-grid,
.quote-grid,
.price-grid,
.why-grid,
.steps {
  display: grid;
  gap: 14px;
}

.service-card,
.work,
.quote,
.price-card,
.why-grid li,
.steps li,
.order-form,
.success {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.service-card,
.work-body,
.quote,
.price-card,
.why-grid li,
.steps li { padding: 20px; }

.service-card p,
.work-body p,
.why-grid p,
.steps p,
.quote blockquote,
.price-note { color: var(--muted); margin: 0; }

.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(232, 197, 122, 0.1);
  color: var(--gold);
}

.icon svg,
.contact-btn svg,
.socials svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.why-grid, .steps { list-style: none; padding: 0; margin: 0; }
.why-grid span, .steps span {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 8px;
}

.work { overflow: hidden; padding: 0; }
.work-visual { height: 148px; position: relative; }
.wv-top, .wv-row {
  position: absolute;
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
}
.wv-top { left: 16px; top: 20px; width: 58%; height: 16px; }
.wv-row { left: 16px; right: 16px; bottom: 18px; height: 56px; background: rgba(7,16,24,0.28); }
.tone-a { background: linear-gradient(135deg, #1d4d45, #e8c57a); }
.tone-b { background: linear-gradient(135deg, #243044, #7aa2e8); }
.tone-c { background: linear-gradient(135deg, #4a2d3d, #e7b4c8); }
.tone-d { background: linear-gradient(135deg, #3d2a14, #e8c57a); }
.tone-e { background: linear-gradient(135deg, #16324d, #7ee0c6); }
.tone-f { background: linear-gradient(135deg, #1c3340, #d7e4ea); }
.tag {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  cursor: pointer;
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease;
}
.price-card.is-chosen {
  background: linear-gradient(180deg, rgba(224, 138, 98, 0.38), rgba(208, 106, 69, 0.16));
  border-color: rgba(224, 138, 98, 0.72);
  box-shadow:
    0 18px 40px rgba(208, 106, 69, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-8px);
}
.price-old {
  margin: 4px 0 0;
  font-family: var(--font);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.42);
}
.price-old span {
  text-decoration: line-through;
  text-decoration-color: rgba(224, 138, 98, 0.85);
  text-decoration-thickness: 1px;
}
.price { font-family: var(--display); font-size: 1.8rem; margin: 0; }
.price small { font-size: 0.9rem; color: var(--muted); font-family: var(--font); }
.price-card ul { margin: 8px 0 16px; padding: 0; list-style: none; color: var(--muted); }
.price-card li { padding: 7px 0 7px 22px; position: relative; }
.price-card li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); position: absolute; left: 0; top: 14px; }
.price-card .btn { margin-top: auto; }
.price-card.featured h3 { padding-right: 84px; }
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  background: var(--gold);
  color: #1c1406;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 800;
}

.quote blockquote { margin: 0 0 16px; font-size: 1.02rem; }
.quote figcaption { display: flex; flex-direction: column; }
.quote span { color: var(--muted); font-size: 0.9rem; }

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: var(--bg-card);
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  border: 0;
  padding: 16px 48px 16px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.faq-q span,
.faq-q span::after {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--gold);
}
.faq-q span { transform: translateY(-50%); }
.faq-q span::after { content: ""; left: 0; top: 0; transform: rotate(90deg); transition: transform 0.2s ease; }
.faq-item.is-open .faq-q span::after { transform: rotate(0); }
.faq-a { display: none; padding: 0 16px 16px; color: var(--muted); }
.faq-item.is-open .faq-a { display: block; }
.faq-a p { margin: 0; }

.order-layout { display: grid; gap: 22px; }
.order-form, .success { padding: 18px; }
.order-form { display: grid; gap: 12px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #0b1520;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(232, 197, 122, 0.7);
  outline-offset: 1px;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: #e07a7a; }
.error { min-height: 1.1em; margin: 6px 0 0; color: var(--danger); font-size: 0.85rem; }
.form-status { margin: 0; color: var(--danger); }

.success { text-align: center; padding: 36px 20px; }
.success h3 { font-size: 1.35rem; }
.success-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(126, 224, 198, 0.15);
  color: var(--teal);
  font-size: 1.8rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  background: rgba(255,255,255,0.03);
}
.contact-btn:hover { border-color: var(--gold); }

.site-footer {
  padding: 36px 0 20px;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; gap: 20px; }
.footer-brand { margin: 0 0 8px; }
.site-footer p { color: var(--muted); margin: 0; }
.site-footer nav { display: grid; gap: 8px; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-footer nav a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.copy { text-align: center; margin-top: 24px !important; font-size: 0.85rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (min-width: 720px) {
  .card-grid, .portfolio-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .order-form { grid-template-columns: 1fr 1fr; }
  .field-full, .order-form .btn, .form-status { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; padding: 28px 0 10px; }
  .card-grid, .portfolio-grid, .quote-grid, .why-grid, .steps { grid-template-columns: repeat(3, 1fr); }
  .order-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .float-card-a { left: -18px; }
}

@media (max-width: 719px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { position: static; animation: none; margin-top: 10px; }
  .hero-stage { display: grid; gap: 10px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: fixed;
    inset: 78px 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(28px) saturate(1.7);
    -webkit-backdrop-filter: blur(28px) saturate(1.7);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; border-radius: 12px; }
  .site-nav a:hover { background: rgba(255,255,255,0.04); }
  .nav-cta { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card, .btn, .reveal, .peony-title-a span, .site-header { animation: none; transition: none; }
  .reveal { opacity: 1; transform: none; }
  .peony-stage { height: 100vh; }
  .peony-next { opacity: 0; }
}
