/* Sorlana, northern night. Hand-coded, no frameworks.
   Deep spruce night base, mist text, aurora accent system (emerald, cyan, violet).
   Type: Bricolage Grotesque display, Fraunces italic accents, Atkinson Hyperlegible Next body. */
:root {
  --night: #0a1715;
  --night-2: #0d1e1b;
  --night-3: #122824;
  --mist: #e9f5ee;
  --mist-soft: #9fbfb2;
  --aurora-1: #3fe8a4;
  --aurora-2: #45cfe0;
  --aurora-3: #a586ff;
  --aurora-grad: linear-gradient(100deg, var(--aurora-1), var(--aurora-2) 55%, var(--aurora-3));
  --line: rgba(233,245,238,.14);
  --line-soft: rgba(233,245,238,.08);
  --max: 1120px;
  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --accent: "Fraunces", Georgia, serif;
  --sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "Consolas", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--mist);
  background: var(--night);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
/* Grain + ambient glow across the whole page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 12% -6%, rgba(63,232,164,.09), transparent 60%),
    radial-gradient(760px 420px at 88% 4%, rgba(165,134,255,.08), transparent 60%),
    radial-gradient(640px 420px at 55% 110%, rgba(69,207,224,.06), transparent 60%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
main, .site-header, .site-footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: var(--aurora-2); }
::selection { background: rgba(63,232,164,.35); color: var(--mist); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,23,21,.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.site-header::after {
  content: ""; display: block; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63,232,164,.55), rgba(69,207,224,.45), rgba(165,134,255,.5), transparent);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px; gap: 16px; flex-wrap: wrap;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  letter-spacing: -0.02em; color: var(--mist); text-decoration: none;
}
.logo svg { display: block; }
.logo .mark-star { transform-box: fill-box; transform-origin: center; transition: transform .5s cubic-bezier(.2,.8,.3,1.4); }
.logo:hover .mark-star { transform: rotate(90deg); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.site-nav a {
  text-decoration: none; color: var(--mist-soft); font-weight: 500; font-size: .92rem;
  padding: 7px 13px; border-radius: 999px; transition: color .15s ease, background .15s ease;
}
.site-nav a:hover { color: var(--mist); background: rgba(233,245,238,.07); }
.site-nav a.active { color: var(--night); background: var(--mist); }
.site-nav a.cta {
  background: var(--aurora-grad); color: #06231a; font-weight: 700;
  box-shadow: 0 0 18px rgba(63,232,164,.25);
}
.site-nav a.cta:hover { filter: brightness(1.1); color: #06231a; }

/* Hero */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 7fr 5fr; } }
.hero h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 5.8vw, 4.1rem); line-height: 1.04; max-width: 18ch;
}
.hero h1 em, .section-title em {
  font-family: var(--accent); font-style: italic; font-weight: 500; letter-spacing: 0;
  background: var(--aurora-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { max-width: 54ch; margin-top: 22px; font-size: 1.12rem; color: var(--mist-soft); }
.hero .actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* CSS aurora curtains behind hero content */
.aurora-sky { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; filter: blur(46px); opacity: .5; animation: skybreathe 18s ease-in-out infinite alternate; }
@keyframes skybreathe { from { opacity: .42; } to { opacity: .62; } }
.aurora-sky i { position: absolute; border-radius: 50%; }
.aurora-sky i:nth-child(1) { left: 4%; top: 6%; width: 46%; height: 34%; background: radial-gradient(closest-side, rgba(63,232,164,.5), transparent 72%); animation: drift1 16s ease-in-out infinite alternate; }
.aurora-sky i:nth-child(2) { left: 42%; top: 0; width: 40%; height: 30%; background: radial-gradient(closest-side, rgba(69,207,224,.4), transparent 72%); animation: drift2 21s ease-in-out infinite alternate; }
.aurora-sky i:nth-child(3) { left: 66%; top: 12%; width: 36%; height: 30%; background: radial-gradient(closest-side, rgba(165,134,255,.4), transparent 72%); animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { from { transform: translate(-4%, 0) skewX(-6deg); } to { transform: translate(7%, 9%) skewX(5deg); } }
@keyframes drift2 { from { transform: translate(5%, 4%) skewX(4deg); } to { transform: translate(-6%, -3%) skewX(-7deg); } }

/* Hero figure: tilted photo with a margin note */
.hero-figure { position: relative; }
.hero-figure .frame {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  transform: rotate(-1.6deg);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(63,232,164,.08);
}
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
/* slow Ken Burns drift on the hero photo */
.frame.kenburns img { animation: heroken 26s ease-in-out infinite alternate; transform-origin: 30% 70%; }
@keyframes heroken { from { transform: scale(1); } to { transform: scale(1.08) translate(1.5%, -1.5%); } }
.fig-note {
  font-family: var(--accent); font-style: italic; font-size: .98rem; color: var(--mist-soft);
  margin-top: 14px; padding-left: 26px; position: relative; transform: rotate(-1.6deg);
}
.fig-note::before { content: "\2726"; position: absolute; left: 4px; color: var(--aurora-1); font-style: normal; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; font-size: 1rem; font-family: var(--display);
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn::after { content: "\2192"; transition: transform .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn-primary {
  background: var(--aurora-grad); color: #06231a;
  box-shadow: 0 4px 26px rgba(63,232,164,.28);
}
.btn-primary:hover { box-shadow: 0 8px 34px rgba(69,207,224,.4); filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--mist); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(63,232,164,.55); box-shadow: 0 4px 22px rgba(63,232,164,.14); }

/* Stat strip */
.stats {
  display: grid; gap: 18px; margin-top: 52px;
  border-top: 1px solid var(--line-soft); padding-top: 26px;
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat .num, .stat .lbl { display: block; }
.stat .num {
  font-family: var(--display); font-weight: 700; font-size: 1.85rem; letter-spacing: -0.02em;
  background: var(--aurora-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { font-size: .85rem; color: var(--mist-soft); }

/* Sections */
section.band { padding: 72px 0; }
section.band.deep {
  background: linear-gradient(180deg, var(--night-2), var(--night));
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.kicker {
  font-family: var(--accent); font-style: italic; font-size: 1.05rem;
  color: var(--aurora-1); margin-bottom: 10px;
}
.kicker::before { content: "\2726  "; font-style: normal; color: var(--aurora-2); }
h2.section-title {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.12; margin-bottom: 20px; max-width: 28ch;
}
.grid { display: grid; gap: 20px; }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
/* Offset editorial split: text one side, figure the other */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 880px) {
  .split { grid-template-columns: 6fr 5fr; }
  .split.flip > .split-fig { order: -1; }
}
.split-fig { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transform: rotate(1.2deg); box-shadow: 0 18px 48px rgba(0,0,0,.45); }
.split.flip .split-fig { transform: rotate(-1.2deg); }
.split-fig img { width: 100%; height: 100%; object-fit: cover; }

/* Cards with cursor spotlight */
.card {
  position: relative;
  background: linear-gradient(160deg, var(--night-3), var(--night-2) 70%);
  border: 1px solid var(--line-soft); border-radius: 20px;
  padding: 28px; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(69,207,224,.13), transparent 65%);
  opacity: 0; transition: opacity .25s ease;
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(63,232,164,.4);
  box-shadow: 0 14px 44px rgba(0,0,0,.45), 0 0 0 1px rgba(63,232,164,.14), 0 0 34px rgba(69,207,224,.1);
}
.card h3 { font-family: var(--display); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.015em; margin-bottom: 8px; }
.card p { color: var(--mist-soft); font-size: .97rem; }
.card a { color: var(--aurora-2); }

/* Process timeline */
.steps { position: relative; display: grid; gap: 26px; max-width: 720px; margin-top: 12px; padding-left: 40px; }
.steps::before {
  content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--aurora-1), var(--aurora-2), var(--aurora-3));
  opacity: .55;
}
.step { position: relative; }
.step::before {
  content: "\2726"; position: absolute; left: -40px; top: 0;
  color: var(--aurora-1); font-size: 1.15rem; line-height: 1.5;
  text-shadow: 0 0 14px rgba(63,232,164,.7);
}
.step h3 { font-family: var(--display); font-weight: 600; font-size: 1.22rem; }
.step h3 small { font-family: var(--accent); font-style: italic; font-weight: 400; color: var(--aurora-2); font-size: .95rem; margin-left: 8px; }
.step p { color: var(--mist-soft); max-width: 58ch; }

/* Pricing */
.price-tag {
  font-family: var(--display); font-weight: 700; font-size: 2.2rem; letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.price-tag small { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--mist-soft); }
.pricing-note { font-size: .85rem; color: var(--mist-soft); margin-top: 12px; }
ul.checks { list-style: none; margin-top: 14px; }
ul.checks li { padding-left: 26px; position: relative; margin-bottom: 8px; color: var(--mist-soft); font-size: .95rem; }
ul.checks li::before { content: "\2726"; position: absolute; left: 0; color: var(--aurora-1); }
.badge {
  display: inline-block; font-size: .72rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  color: var(--aurora-2); background: rgba(69,207,224,.1); border: 1px solid rgba(69,207,224,.3);
}
.badge.clay {
  color: var(--aurora-1); background: rgba(63,232,164,.1); border-color: rgba(63,232,164,.35);
}
.badge.best {
  color: #06231a; background: var(--aurora-grad); border: none;
  box-shadow: 0 0 20px rgba(63,232,164,.45); font-size: .78rem;
}

/* Hero offer: gradient border + glow for the flagship package */
.offer-hero {
  position: relative; border-radius: 24px; padding: 2px;
  background: var(--aurora-grad);
  box-shadow: 0 10px 60px rgba(63,232,164,.18), 0 0 90px rgba(165,134,255,.12);
}
.offer-hero-inner {
  border-radius: 22px; padding: 40px 36px;
  background:
    radial-gradient(700px 300px at 85% -10%, rgba(165,134,255,.12), transparent 60%),
    radial-gradient(500px 260px at 8% 110%, rgba(63,232,164,.1), transparent 60%),
    linear-gradient(160deg, var(--night-3), var(--night-2) 70%);
}
.offer-hero .section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); }

/* Featured offers: stronger presence than standard cards */
.card.featured {
  border-color: rgba(63,232,164,.4);
  box-shadow: 0 0 0 1px rgba(63,232,164,.18), 0 10px 40px rgba(0,0,0,.4), 0 0 40px rgba(69,207,224,.08);
}
.card.featured .price-tag {
  background: var(--aurora-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card.featured .price-tag small { -webkit-text-fill-color: var(--mist-soft); color: var(--mist-soft); }

/* Concept-work notice */
.concept-note {
  border: 1px dashed rgba(165,134,255,.55); background: rgba(165,134,255,.08);
  border-radius: 14px; padding: 16px 20px; font-size: .95rem;
  color: #cdbcff; font-weight: 500;
}
.concept-note strong { color: var(--mist); }

/* Live miniature previews (portfolio) */
.site-thumb {
  display: block;
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line); margin-bottom: 18px;
  background: var(--night);
}
.site-thumb iframe {
  width: 400%; height: 400%;
  transform: scale(.25); transform-origin: 0 0;
  border: 0; pointer-events: none;
}
.site-thumb::after { content: ""; position: absolute; inset: 0; }

/* Forms */
form.quote { display: grid; gap: 16px; max-width: 620px; }
form.quote label { font-weight: 700; font-size: .9rem; display: block; margin-bottom: 6px; color: var(--mist); }
form.quote input, form.quote textarea, form.quote select {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--mist);
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--night-3);
  transition: border-color .15s ease, box-shadow .15s ease;
}
form.quote select option { background: var(--night-3); color: var(--mist); }
form.quote ::placeholder { color: rgba(159,191,178,.55); }
form.quote input:focus, form.quote textarea:focus, form.quote select:focus {
  outline: none; border-color: rgba(63,232,164,.6);
  box-shadow: 0 0 0 3px rgba(63,232,164,.18);
}
form.quote button { cursor: pointer; font-family: var(--display); border: none; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* Tables */
table.simple { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.simple th, table.simple td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
table.simple th { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mist-soft); }

/* Footer */
.site-footer {
  padding: 48px 0 52px; margin-top: 72px;
  background: linear-gradient(180deg, var(--night-2), #081210);
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63,232,164,.5), rgba(165,134,255,.45), transparent);
}
.site-footer .cols { display: grid; gap: 24px; }
@media (min-width: 700px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--display); font-weight: 600; margin-bottom: 8px; }
.site-footer a { color: var(--mist-soft); text-decoration-color: rgba(159,191,178,.4); }
.site-footer a:hover { color: var(--aurora-1); }
.site-footer .fine { font-size: .82rem; color: rgba(159,191,178,.7); margin-top: 28px; }
.footer-lead { color: var(--mist-soft); font-size: .92rem; max-width: 40ch; }

/* Page-weight proof chip: the sales pitch, measured live */
.page-weight {
  display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin-top: 16px; padding: 10px 16px; border-radius: 12px;
  border: 1px solid rgba(63,232,164,.3); background: rgba(63,232,164,.06);
  font-family: var(--mono); font-size: .8rem; color: var(--mist-soft);
}
.page-weight b { color: var(--aurora-1); font-weight: 700; }

/* FAQ accordions */
.faq { max-width: 760px; }
.faq details {
  border: 1px solid var(--line-soft); border-radius: 14px;
  background: linear-gradient(160deg, var(--night-3), var(--night-2) 70%);
  margin-bottom: 12px; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: rgba(63,232,164,.4); box-shadow: 0 0 24px rgba(69,207,224,.08); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 22px; font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--aurora-1); font-size: 1.35rem; line-height: 1; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--mist-soft); font-size: .96rem; max-width: 62ch; }
.faq .a a { color: var(--aurora-2); }

/* Prose pages (privacy/terms) */
.prose { max-width: 760px; padding: 56px 0; }
.prose h1 { font-family: var(--display); font-weight: 700; font-size: 2.2rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--mist-soft); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.draft-banner {
  background: rgba(165,134,255,.1); border: 1px solid rgba(165,134,255,.5); color: #cdbcff;
  border-radius: 12px; padding: 14px 18px; font-weight: 600; font-size: .95rem; margin: 20px 0 28px;
}

/* Reveal on load (hero) and on scroll (sections) */
.reveal { opacity: 0; transform: translateY(18px); animation: rise .7s ease forwards; }
.reveal.d1 { animation-delay: .12s; } .reveal.d2 { animation-delay: .24s; } .reveal.d3 { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }
html.js .scroll-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
html.js .scroll-reveal.in-view { opacity: 1; transform: none; }
html.js .scroll-reveal:nth-child(2) { transition-delay: .1s; }
html.js .scroll-reveal:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, html.js .scroll-reveal { animation: none; transition: none; opacity: 1; transform: none; }
  .aurora-sky, .aurora-sky i, .frame.kenburns img { animation: none; }
}
