/* Shared styles for every page. The home page adds its mountain scene styles inline. */
:root {
  --bg: #07090d;
  --bg-2: #0c0f15;
  --line: rgba(243, 239, 230, .12);
  --fg: #f3efe6;
  --muted: #a19b8f;
  --dim: #6f6a61;
  --gold: #e6a94e;
  --glass: rgba(255, 255, 255, .045);
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: #111; }
.micro { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* ---------- header ---------- */
header.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px var(--gutter); transition: background .4s, backdrop-filter .4s, padding .4s; }
header.top.solid { background: rgba(7,9,13,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand span { font-family: var(--serif); font-size: 15px; letter-spacing: .14em; font-weight: 600; white-space: nowrap; }
nav.links { display: flex; gap: 30px; }
nav.links a { text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: rgba(243,239,230,.78); transition: color .2s; padding: 4px 0; border-bottom: 1px solid transparent; }
nav.links a:hover { color: var(--fg); }
nav.links a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--gold); }
.pill { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(243,239,230,.35); background: rgba(7,9,13,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .25s, color .25s, border-color .25s; cursor: pointer; color: var(--fg); font-family: var(--sans); }
.pill:hover { background: var(--fg); color: #111; border-color: var(--fg); }
.pill.solid { background: var(--fg); color: #111; border-color: var(--fg); }
.pill.solid:hover { background: var(--gold); border-color: var(--gold); }
.pill .arw { transition: transform .25s; }
.pill:hover .arw { transform: translateX(3px); }
.menu-btn { display: none; }

/* mobile menu */
.sheet { position: fixed; inset: 0; z-index: 30; background: rgba(7,9,13,.96); backdrop-filter: blur(16px); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 28px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.sheet.open { opacity: 1; visibility: visible; }
.sheet a { font-family: var(--serif); font-size: 32px; text-decoration: none; letter-spacing: .04em; }
.sheet a[aria-current="page"] { color: var(--gold); }
.sheet .close { position: absolute; top: 20px; right: 16px; }

/* ---------- shared blocks ---------- */
main { position: relative; z-index: 2; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.eyebrow { display: inline-block; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 22px; }
h2.big { font-size: clamp(38px, 5.4vw, 84px); line-height: .98; letter-spacing: -.035em; font-weight: 700; }
.solid-sec { position: relative; background: var(--bg); padding: clamp(90px, 12vw, 170px) var(--gutter); border-top: 1px solid var(--line); }
.solid-sec.tight { padding-top: clamp(56px, 7vw, 96px); }
.wrap { max-width: 1240px; margin: 0 auto; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1; letter-spacing: -.03em; font-weight: 700; }
.sec-head p { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 460px; justify-self: end; }
.num { font-family: var(--serif); color: var(--gold); font-size: 13px; letter-spacing: .12em; }
.more { margin-top: 44px; }
.text-link { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--gold); }
.text-link:hover { color: var(--gold); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px 34px; overflow: hidden; transition: border-color .4s, transform .4s; }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(230,169,78,.10), transparent 40%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { border-color: rgba(243,239,230,.28); transform: translateY(-4px); }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 22px; letter-spacing: -.015em; font-weight: 600; margin: 46px 0 14px; }
.card p { color: var(--muted); line-height: 1.6; font-size: 15px; }
.card.flat h3 { margin-top: 0; }
.card a { color: var(--fg); }

/* industry cards */
.ind-card { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-start; gap: 96px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: 22px; padding: 28px; backdrop-filter: blur(10px); }
.ind-card h3 { font-size: 26px; line-height: 1.08; letter-spacing: -.02em; font-weight: 600; }
.ind-card p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 14px; }
.ind-card .tag { display: flex; justify-content: space-between; align-items: center; }
.ind-card .tag svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.4; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.step:last-child { border-right: 0; margin-right: 0; }
.step h3 { font-size: 24px; letter-spacing: -.015em; font-weight: 600; margin: 18px 0 12px; }
.step p { color: var(--muted); line-height: 1.6; font-size: 15px; }

/* band with the mountain */
.band { position: relative; min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); overflow: hidden; border-top: 1px solid var(--line); }
.band-img { position: absolute; inset: -10% 0; background: url("/mountain-1920.jpg") 72% 38% / cover no-repeat; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7,9,13,.45), rgba(7,9,13,.88) 75%); }
.band .inner { position: relative; z-index: 1; max-width: 980px; }
.band blockquote { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5.6vw, 86px); line-height: 1.05; letter-spacing: .01em; }
.band blockquote em { font-style: normal; color: var(--gold); }
.band p { margin: 28px auto 0; color: #d6d0c4; font-size: 18px; line-height: 1.6; max-width: 560px; }
.band .pill { margin-top: 36px; }

/* inner page hero */
.page-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; padding: 150px var(--gutter) clamp(56px, 8vw, 100px); overflow: hidden; }
.page-hero .bgimg { position: absolute; inset: 0; background: url("/mountain-1920.jpg") var(--pos, 72% 40%) / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,9,13,.55), rgba(7,9,13,.6) 40%, var(--bg)), linear-gradient(90deg, rgba(7,9,13,.75), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; }
.page-hero h1 { font-size: clamp(42px, 6vw, 92px); line-height: .98; letter-spacing: -.035em; font-weight: 700; max-width: 900px; }
.page-hero p.lead { margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: #d6d0c4; max-width: 600px; }
.page-hero.short { min-height: 44vh; }

/* CTA strip */
.cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: linear-gradient(140deg, rgba(230,169,78,.10), rgba(255,255,255,.03)); border: 1px solid var(--line); border-radius: 24px; padding: clamp(32px, 5vw, 64px); }
.cta h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; }
.cta p { color: #d6d0c4; font-size: 17px; line-height: 1.6; margin-bottom: 24px; }

/* about */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principles .card h3 { margin-top: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about-copy p { color: #cfc9bd; font-size: 18px; line-height: 1.7; }
.about-copy p + p { margin-top: 20px; }

/* pricing plans */
.plans { display: grid; gap: 16px; }
.plan { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); padding: clamp(28px, 4vw, 48px); }
.plan:hover { transform: none; }
.plan .tag { display: inline-block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.plan h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.03em; line-height: 1; font-weight: 700; margin: 16px 0 22px; }
.plan .price { font-family: var(--serif); font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: .01em; color: var(--fg); }
.plan .price small { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.plan .desc { color: #d6d0c4 !important; font-size: 17px !important; line-height: 1.6; }
ul.checks { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
ul.checks li { position: relative; padding-left: 28px; color: #cfc9bd; font-size: 15px; line-height: 1.55; }
ul.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.plan-terms { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan-terms p { font-size: 15px; }
.plan-terms b { color: var(--fg); font-weight: 600; }

/* legal pages */
.prose { max-width: 760px; }
.prose .meta { color: var(--muted); margin-bottom: 36px; font-size: 14px; }
.prose h2 { font-size: 22px; font-weight: 600; margin: 40px 0 12px; letter-spacing: -.01em; }
.prose p, .prose li { color: #d6d0c4; line-height: 1.75; font-size: 16px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 10px 0 0 22px; }
.prose a { color: var(--fg); }
.prose a:hover { color: var(--gold); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); }
.contact-grid .lead { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 440px; }
dl.details { margin-top: 40px; display: grid; gap: 22px; }
dl.details dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
dl.details dd { margin-top: 6px; font-size: 17px; line-height: 1.5; }
dl.details a { text-decoration: none; border-bottom: 1px solid var(--line); }
dl.details a:hover { border-color: var(--gold); }
form.cf { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; background: rgba(7,9,13,.6); border: 1px solid var(--line); border-radius: 12px; color: var(--fg); font: 16px/1.4 var(--sans); padding: 14px 16px; outline: none; transition: border-color .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field .err { display: block; color: #ff8f7a; font-size: 13px; margin-top: 6px; }
.form-status { font-size: 15px; color: var(--muted); min-height: 1.4em; }
.form-status.ok { color: #a6e3a1; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- footer ---------- */
footer { background: #05070a; border-top: 1px solid var(--line); padding: 70px var(--gutter) 34px; position: relative; z-index: 2; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot .brand img { width: 42px; }
.foot p { color: var(--muted); line-height: 1.7; font-size: 15px; margin-top: 18px; max-width: 360px; }
.foot h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 16px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot ul a { text-decoration: none; color: #d6d0c4; font-size: 15px; }
.foot ul a:hover { color: var(--gold); }
.foot-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.foot-bottom a { text-decoration: none; }
.foot-word { font-family: var(--serif); font-size: calc(min(100vw, 1400px) * .058); line-height: .9; text-align: center; color: rgba(243,239,230,.05); margin-top: 50px; letter-spacing: .03em; white-space: nowrap; overflow: hidden; user-select: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; margin-right: 0; }
  nav.links { gap: 20px; }
}
@media (max-width: 960px) {
  nav.links, header.top .pill:not(.menu-btn) { display: none; }
  .menu-btn { display: inline-flex; }
  .sec-head, .about-grid, .contact-grid, .cta, .plan { grid-template-columns: 1fr; }
  .sec-head p { justify-self: start; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .brand { gap: 9px; }
  .brand img { width: 28px; }
  .brand span { font-size: 12px; letter-spacing: .12em; white-space: normal; max-width: 11em; line-height: 1.3; }
  .grid4, .grid3, .steps, .principles, .row2 { grid-template-columns: 1fr; }
  .step { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .ind-card { min-height: 0; gap: 48px; }
  .page-hero { min-height: 56vh; padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
