/* Anveshna — deep violet ground, antique gold detail. Serif headings, clean sans body. */
:root {
  --ground: #150c24;
  --ground-2: #1b1030;
  --surface: #211540;
  --surface-2: #2b1c4d;
  --line: #3d2c61;
  --ink: #f1ecf9;
  --ink-soft: #bfb3d6;
  --gold: #d4af5a;
  --gold-bright: #ecd08a;
  --violet: #8a5fd1;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--gold-bright); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a0f2c; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); max-width: 60ch; }
.prose { color: var(--ink-soft); max-width: 66ch; }
.prose p + p { margin-top: 1em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(21, 12, 36, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand b { font-family: var(--font-display); font-size: 28px; letter-spacing: .14em; font-weight: 600; color: var(--gold-bright); }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 600; letter-spacing: .04em; padding: 6px 0; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--gold-bright); border-bottom-color: var(--gold); }
.menu a.btn { border: 1px solid var(--gold); padding: 9px 18px; color: var(--gold-bright); border-bottom: 1px solid var(--gold); }
.menu a.btn:hover { background: var(--gold); color: #1a0f2c; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--gold-bright); padding: 9px 12px; font: 600 13px var(--font-body); letter-spacing: .08em; cursor: pointer; }

/* buttons */
.btn { display: inline-block; font: 700 14px var(--font-body); letter-spacing: .06em; text-decoration: none; padding: 14px 26px; border: 1px solid var(--gold); color: var(--gold-bright); background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--gold); color: #1a0f2c; }
.btn.solid { background: var(--gold); color: #1a0f2c; }
.btn.solid:hover { background: var(--gold-bright); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 11vw, 140px) clamp(56px, 9vw, 110px); background: radial-gradient(900px 500px at 85% 20%, rgba(138, 95, 209, .28), transparent 60%), radial-gradient(700px 400px at 5% 90%, rgba(212, 175, 90, .10), transparent 60%), var(--ground); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); margin-block: 20px 26px; }
.hero h1 em { font-style: italic; color: var(--gold-bright); font-weight: 500; }
.hero .art { justify-self: center; width: min(100%, 380px); }
.page-hero { padding-block: clamp(56px, 9vw, 110px) clamp(40px, 6vw, 72px); background: radial-gradient(800px 380px at 90% 0%, rgba(138, 95, 209, .24), transparent 60%), var(--ground); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 6.2vw, 74px); margin-block: 16px 20px; }

/* sections */
.section { padding-block: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.section.alt { background: var(--ground-2); }
.section h2 { font-size: clamp(34px, 4.8vw, 54px); margin-block: 14px 22px; color: var(--gold-bright); }
.section h2.light { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 36px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 28px 26px; min-width: 0; }
.card h3 { font-size: 27px; color: var(--gold-bright); margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 16px; }
.card .meta { margin-top: 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); font-weight: 700; }
.dim { border-top: 1px solid var(--gold); padding-top: 18px; min-width: 0; }
.dim h3 { font-size: 26px; margin-bottom: 8px; }
.dim p { color: var(--ink-soft); font-size: 16px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin-top: 36px; border: 1px solid var(--line); }
.step { padding: 28px 24px; border-right: 1px solid var(--line); background: var(--surface); }
.step:last-child { border-right: 0; }
.step b { font-family: var(--font-display); font-size: 30px; color: var(--gold-bright); display: block; margin-bottom: 8px; font-weight: 600; }
.step p { color: var(--ink-soft); font-size: 16px; }
.quote { font-family: var(--font-display); font-size: clamp(28px, 3.8vw, 44px); line-height: 1.2; color: var(--ink); max-width: 24ch; }
.quote em { color: var(--gold-bright); }
.list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.list li { padding-left: 24px; position: relative; color: var(--ink-soft); }
.list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 1px; background: var(--gold); }
.cta-band { text-align: center; padding-block: clamp(64px, 9vw, 120px); background: radial-gradient(700px 320px at 50% 0%, rgba(138, 95, 209, .3), transparent 70%), var(--surface); border-bottom: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(38px, 5.6vw, 66px); color: var(--ink); margin-bottom: 16px; }
.cta-band p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto; }
.cta-band .btns { justify-content: center; }
.empty { border: 1px dashed var(--line); padding: 34px; color: var(--ink-soft); max-width: 60ch; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 72px); }
form { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; display: grid; gap: 8px; }
input, textarea { width: 100%; font: 400 16px var(--font-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 13px 14px; border-radius: 0; }
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.5em; font-size: 15px; color: var(--ink-soft); }
.status.ok { color: var(--gold-bright); }
.status.err { color: #ffb4c0; }
.details { display: grid; gap: 22px; align-content: start; }
.details h3 { font-size: 22px; color: var(--gold-bright); margin-bottom: 4px; }
.details p, .details a { color: var(--ink-soft); }

/* footer */
.site-footer { padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--ground); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 36px; }
.foot h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot p, .foot a { color: var(--ink-soft); font-size: 15px; text-decoration: none; display: block; margin-bottom: 8px; }
.foot a:hover { color: var(--gold-bright); }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .art { width: min(70%, 280px); justify-self: start; order: -1; }
  .two, .row { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle { display: inline-block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--ground); border-bottom: 1px solid var(--line); padding: 8px var(--gutter-r) 20px var(--gutter); }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu a.btn { margin-top: 14px; text-align: center; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
