:root {
  --bg: #080B12;
  --panel: #121820;
  --panel-2: #0d1219;
  --gold: #D6B36D;
  --gold-hi: #F3DCA2;
  --gold-lo: #A9823F;
  --text: #FFFFFF;
  --muted: #BFC4CE;
  --line: rgba(214, 179, 109, .38);
  --line-hi: rgba(214, 179, 109, .8);
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 260ms;
  --gutter: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.gold { color: var(--gold); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--gold); color: #111; padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 5; padding-top: max(18px, env(safe-area-inset-top)); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 46px; height: 46px; filter: drop-shadow(0 0 12px rgba(214,179,109,.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.brand-word b { font-weight: 800; color: var(--gold); }
.brand-tag { margin-top: 7px; font-size: 9.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.footer-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--gold); transition: color var(--dur), background var(--dur);
}
.footer-social a:hover { color: var(--gold-hi); background: rgba(214,179,109,.08); }

/* ---------- Hero ---------- */
/* Mobile: portrait image pinned to the bottom, text sits on the dark sky. */
.hero {
  position: relative; margin-top: -82px; padding-top: 104px; isolation: isolate; overflow-x: clip;
  min-height: calc(100vw * 1.778 + 150px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; display: block; background: #05090f; }
.hero-bg img {
  position: absolute; left: 0; bottom: 0; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%);
          mask-image: linear-gradient(180deg, transparent 0, #000 14%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,9,15,.85) 0%, rgba(5,9,15,.35) 30%, rgba(5,9,15,0) 48%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8,11,18,0) 12%);
}

.hero-inner { display: flex; flex-direction: column; }
.hero-copy { position: relative; z-index: 2; padding-top: 16px; }
.hero h1 {
  margin: 0; font-weight: 800; font-size: clamp(34px, 9.6vw, 62px); line-height: 1.04; letter-spacing: -.02em;
  text-wrap: balance; max-width: 13ch; text-shadow: 0 2px 24px rgba(0,0,0,.6);
}
.hero h1 .gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: #e7e9ee; max-width: 30ch; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.hero-rule { display: block; width: 46px; height: 2px; margin: 20px 0 12px; background: linear-gradient(90deg, var(--gold), transparent); }
.hero-slogan { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); text-shadow: 0 1px 10px rgba(0,0,0,.8); }

/* ---------- Accordion ---------- */
.services { position: relative; z-index: 3; margin-top: calc(100vw * -0.5); padding-bottom: 40px; }
.acc { display: flex; flex-direction: column; gap: 12px; max-width: 1060px; margin: 0 auto; }
.acc-item {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18,24,32,.92), rgba(10,13,19,.96));
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.03);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.acc-item:hover { border-color: rgba(214,179,109,.6); }
.acc-item.is-open { border-color: var(--line-hi); box-shadow: 0 0 0 1px rgba(214,179,109,.12), 0 14px 40px rgba(0,0,0,.45), 0 0 40px rgba(214,179,109,.08); }
.acc-h { margin: 0; font: inherit; }
.acc-trigger {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 84px;
  padding: 16px 14px 16px 16px; background: none; border: 0; text-align: left; cursor: pointer;
  border-radius: var(--radius);
}
.acc-trigger:focus-visible { outline-offset: -3px; }
.acc-icon { position: relative; z-index: 1; flex: none; width: 44px; height: 44px; display: grid; place-items: center; }
.acc-icon svg { width: 38px; height: 38px; filter: drop-shadow(0 2px 6px rgba(214,179,109,.25)); }
.acc-text { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.acc-title { font-weight: 800; font-size: 18px; line-height: 1.25; }
.acc-sub { font-size: 14px; line-height: 1.4; color: var(--muted); }
.acc-arrow {
  position: relative; z-index: 1; flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold);
  border: 1.5px solid var(--gold); background: rgba(8,11,18,.6);
  transition: transform var(--dur) var(--ease), background var(--dur), color var(--dur);
}
.acc-arrow svg { width: 20px; height: 20px; }
.acc-trigger:hover .acc-arrow { background: rgba(214,179,109,.12); }
.acc-item.is-open .acc-arrow { transform: rotate(90deg); background: var(--gold); color: #141109; }
.acc-decor {
  position: absolute; right: 0; top: 0; height: 100%; width: 52%; z-index: 0; opacity: .2; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 80%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 80%, transparent 100%);
  transition: opacity var(--dur);
}
.acc-item:hover .acc-decor, .acc-item.is-open .acc-decor { opacity: .5; }

.acc-panel {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--dur) var(--ease), visibility 0s; }
html:not(.js) .acc-panel { grid-template-rows: 1fr; visibility: visible; }
.acc-panel-inner { overflow: hidden; min-height: 0; }
.acc-body {
  margin: 0 12px 12px; padding: 18px 16px; border-radius: 12px;
  background: rgba(8,11,18,.7); border: 1px solid rgba(214,179,109,.16);
  display: grid; gap: 18px;
}
.acc-copy p, .acc-option p, .acc-lead { margin: 0 0 12px; color: #dfe2e8; font-size: 15.5px; line-height: 1.6; }
.acc-lead { color: var(--text); font-weight: 600; margin: 0; }
.acc-price { color: var(--gold) !important; font-weight: 700; }
.acc-note { margin: 14px 0 0 !important; font-size: 12.5px !important; line-height: 1.5 !important; color: #8f96a3 !important; }
.acc-example {
  margin: 4px 0 14px; padding: 12px 14px; border-left: 2px solid var(--gold); border-radius: 0 8px 8px 0;
  background: rgba(214,179,109,.06); font-size: 14px; line-height: 1.55; color: #dfe2e8;
}
.acc-example-label { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.acc-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.acc-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.acc-tags li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(214,179,109,.3); background: rgba(214,179,109,.06);
  font-size: 13px; font-weight: 600; color: #e9e2d1;
}
.acc-tags li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold);
}
.acc-option { padding: 16px; border-radius: 10px; border: 1px solid rgba(214,179,109,.2); background: rgba(18,24,32,.6); }
.acc-option h4 { margin: 0 0 8px; font-size: 16px; font-weight: 800; color: var(--gold); letter-spacing: .02em; }
.acc-body--split .acc-note { margin-top: 0 !important; }
.acc-contact p { margin: 0 0 12px; color: var(--text); font-weight: 600; font-size: 15.5px; line-height: 1.5; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: 10px; text-decoration: none; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  color: #1a1408; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #B8924B);
  box-shadow: 0 6px 20px rgba(214,179,109,.25), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform 160ms var(--ease), box-shadow var(--dur), filter var(--dur);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { filter: brightness(1.06); box-shadow: 0 8px 26px rgba(214,179,109,.38), inset 0 1px 0 rgba(255,255,255,.4); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); box-shadow: none; }
.btn--ghost:hover { background: rgba(214,179,109,.1); box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer { padding: 28px 0 max(28px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(214,179,109,.12); }
.footer-inner { display: flex; flex-direction: column; gap: 18px; }
.footer-social { display: flex; gap: 8px; margin-left: -10px; }
.footer-social svg { width: 24px; height: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 2px 0; }
.footer-links a {
  text-decoration: none; color: var(--muted); font-size: 14px; padding: 10px 12px 10px 0; margin-right: 12px; position: relative;
}
.footer-links a:hover { color: var(--gold); }
.footer-warning, .footer-copy { margin: 8px 0 0; font-size: 12.5px; line-height: 1.55; color: #868d99; max-width: 70ch; }
.footer-warning a { color: var(--gold); }

/* ---------- Simple inner pages ---------- */
.page { min-height: 62vh; padding: 40px 0 60px; }
.page-card {
  max-width: 720px; margin: 0 auto; padding: 32px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(18,24,32,.92), rgba(10,13,19,.96));
}
.page-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.page h1 { margin: 0 0 14px; font-size: clamp(28px, 7vw, 40px); line-height: 1.1; font-weight: 800; }
.page p, .page li { color: #dfe2e8; }
.page h2 { margin: 28px 0 8px; font-size: 18px; color: var(--gold); }
.page .acc-ctas { margin-top: 24px; }
.todo { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: rgba(255,170,60,.15); color: #ffc47a; }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .acc-trigger { min-height: 96px; padding: 18px 22px 18px 26px; gap: 22px; }
  .acc-icon { width: 60px; height: 60px; }
  .acc-icon svg { width: 46px; height: 46px; }
  .acc-title { font-size: 21px; }
  .acc-sub { font-size: 15px; }
  .acc-arrow { width: 48px; height: 48px; }
  .acc-decor { width: 46%; right: 70px; opacity: .32; }
  .acc-body { margin: 0 18px 18px; padding: 24px 26px; grid-template-columns: 1.5fr 1fr; gap: 28px; }
  .acc-body--split { grid-template-columns: 1fr 1fr; }
  .acc-body--split .acc-lead, .acc-body--split .acc-note, .acc-contact { grid-column: 1 / -1; }
  .acc-tags { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; padding-left: 26px; border-left: 1px solid rgba(214,179,109,.16); }
  .footer-inner { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .footer-meta { text-align: right; }
  .footer-links { justify-content: flex-end; }
  .footer-links a { margin: 0 0 0 12px; padding-left: 12px; padding-right: 0; }
  .footer-links a + a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; background: rgba(191,196,206,.3); transform: translateY(-50%); }
  .footer-warning, .footer-copy { margin-left: auto; }
  .page-card { padding: 44px 48px; }
}

@media (min-width: 960px) {
  .brand-logo { width: 56px; height: 56px; }
  .brand-word { font-size: 26px; }
  .hero-sub { font-size: 18px; }
  .services { margin-top: -40px; }

  /* Full-width desktop hero image */
  .hero { min-height: clamp(560px, calc(100vw / 2.33), 900px); padding-top: 100px; display: flex; }
  .hero-bg img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 75% 100%; -webkit-mask-image: none; mask-image: none; }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(8,11,18,.85) 0%, rgba(8,11,18,.6) 30%, rgba(8,11,18,0) 50%),
      linear-gradient(180deg, rgba(8,11,18,.65) 0%, rgba(8,11,18,0) 18%),
      linear-gradient(0deg, var(--bg) 0%, rgba(8,11,18,0) 16%);
  }
  .hero-inner { flex: 1; flex-direction: row; align-items: center; }
  .hero-copy { flex: 0 1 540px; padding: 0 0 7vw; }
  .hero h1 { font-size: clamp(48px, 4.6vw, 70px); }
}
}

/* ---------- Motion ---------- */
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes beamSpin { to { --beam: 360deg; } }
@keyframes shine { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes arrowPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(214,179,109,.0); } 50% { box-shadow: 0 0 18px 2px rgba(214,179,109,.35); } }
@keyframes ruleGrow { from { width: 0; } to { width: 46px; } }

/* Hero entrance */
.site-header .brand { animation: fadeDown .8s var(--ease) both; }
.hero h1 { animation: fadeUp .9s var(--ease) .15s both; }
.hero-sub { animation: fadeUp .9s var(--ease) .32s both; }
.hero-rule { animation: ruleGrow .8s var(--ease) .55s both; }
.hero-slogan { animation: fadeUp .9s var(--ease) .6s both; }
.hero-bg img { animation: heroZoom 2.4s cubic-bezier(.2,.6,.2,1) both; transform-origin: 70% 60%; }
.hero-bg { overflow: hidden; }

/* Floating candles + gold dust */
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* Gold light running around every card border */
.acc-item::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--beam), transparent 0deg 250deg, rgba(214,179,109,.15) 280deg, #F3DCA2 330deg, #D6B36D 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beamSpin 7s linear infinite; animation-delay: calc(var(--i, 0) * -1.2s);
  opacity: .7; transition: opacity var(--dur);
}
.acc-item:hover::before, .acc-item.is-open::before { opacity: 1; animation-duration: 4s; }
.acc-item.is-open .acc-arrow, .acc-trigger:hover .acc-arrow { animation: arrowPulse 2.2s ease-in-out infinite; }

/* Cards reveal on scroll */
html.js .acc-item { opacity: 0; transform: translateY(26px); }
html.js .acc-item.in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s;
}
.acc-decor path, .acc-decor rect, .acc-decor circle { transition: opacity .8s ease; }
.acc-item.in .acc-decor .draw { animation: draw 1.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + .3s); }
@keyframes draw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
.acc-decor .draw { stroke-dasharray: 400; }

/* Shine sweep on gold buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn:not(.btn--ghost)::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: shine 4.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-fx { display: none; }
  html.js .acc-item { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; }
  *, *::before, *::after { transition-duration: 1ms !important; transition-delay: 0s !important; }
}
