/* Envoyara: deep ink, champagne gold, a forward arrow. Display: Fraunces. Body: Source Sans 3. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/SourceSans3.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --ink: #0b1820;
  --ink-2: #12262f;
  --ink-3: #1b3742;
  --paper: #f6f4ee;
  --surface: #ffffff;
  --text: #15232a;
  --muted: #5b6b71;
  --line: #e2e3dc;
  --gold: #d4ae5f;
  --gold-deep: #b88a35;
  --gold-soft: #f3e9d2;
  --teal: #1f7d72;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --r: 18px;
  --shadow: 0 1px 2px rgba(11,24,32,.06), 0 12px 32px -12px rgba(11,24,32,.18);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; text-wrap: balance; margin: 0 0 .45em; letter-spacing: -.02em; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(32px, 4.2vw, 54px); }
h3 { font-size: 24px; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 66ch; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--muted); max-width: 58ch; }
.gold { color: var(--gold); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,24,32,.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #cfd9db; text-decoration: none; font-size: 16px; font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 4px; }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 10px; padding: 7px 14px; font: 600 15px var(--body); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 17px var(--body); padding: 15px 26px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: linear-gradient(135deg, #e3c27a, var(--gold-deep)); color: var(--ink); box-shadow: 0 10px 28px -10px rgba(212,174,95,.7); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 110px 0 120px; isolation: isolate; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .12; mix-blend-mode: overlay; z-index: -1; pointer-events: none; }
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(70px); opacity: .9; }
.aurora span { position: absolute; border-radius: 50%; }
.aurora .a1 { width: 46vw; height: 46vw; left: 48%; top: -6%; background: radial-gradient(circle, rgba(31,125,114,.75), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora .a2 { width: 38vw; height: 38vw; left: 66%; top: 34%; background: radial-gradient(circle, rgba(212,174,95,.45), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora .a3 { width: 36vw; height: 36vw; left: 4%; top: 52%; background: radial-gradient(circle, rgba(27,55,66,.95), transparent 65%); animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-6%, 8%) scale(1.08); } }
@keyframes drift2 { to { transform: translate(5%, -7%) scale(.94); } }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line2 { display: block; color: var(--gold); }
.hero .lead { color: #c4d0d2; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.pills li { font-size: 14.5px; font-weight: 600; color: #e6edee; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); padding: 7px 14px; border-radius: 999px; }

.collage { position: relative; height: 520px; }
.collage .ph { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12); background: linear-gradient(140deg, #1d3c47, #0f232b); display: grid; place-items: center; color: #8fa9ad; font-size: 14px; text-align: center; padding: 10px; }
.collage .ph img { width: 100%; height: 100%; object-fit: cover; }
.collage .p1 { width: 62%; height: 64%; right: 0; top: 0; }
.collage .p2 { width: 52%; height: 48%; left: 0; top: 30%; }
.collage .p3 { width: 44%; height: 38%; right: 8%; bottom: 0; }
.report { position: absolute; left: 6%; bottom: 2%; width: 250px; background: rgba(255,255,255,.96); color: var(--text); border-radius: 16px; padding: 16px 18px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.55); font-size: 14px; }
.report .tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.report b { display: block; font-family: var(--display); font-size: 18px; margin: 4px 0 8px; }
.report ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.report li { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 6px; }
.report li span:last-child { font-weight: 700; color: var(--teal); }

/* Marquee */
.marquee { background: var(--ink-2); color: #9fb3b6; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.marquee .row { display: flex; align-items: center; gap: 22px; padding: 18px 0; }
.marquee .label { flex: none; position: relative; z-index: 1; background: var(--ink-2); box-shadow: 24px 0 24px var(--ink-2); padding: 0 18px 0 24px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.marquee .track { display: flex; gap: 46px; white-space: nowrap; animation: scroll 40s linear infinite; font-family: var(--display); font-size: 21px; color: #dbe4e5; }
.marquee .track span::after { content: "✦"; color: var(--gold); font-size: 12px; margin-left: 46px; vertical-align: middle; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
section.block { padding: 110px 0; position: relative; }
section.alt { background: var(--surface); }
section.dark { background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
section.dark .lead, section.dark p { color: #c4d0d2; }
.section-head { margin-bottom: 52px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); position: relative; z-index: 2; }
.stats div { padding: 28px 26px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--display); font-size: 32px; font-weight: 600; color: var(--ink); line-height: 1.05; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: 15.5px; }

/* Service cards */
.svc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px 30px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; overflow: hidden; }
.svc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--teal)); transform: scaleX(.25); transform-origin: left; transition: transform .35s ease; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; margin-bottom: 22px; }
.svc .icon svg { width: 28px; height: 28px; }
.svc p { color: var(--muted); }
.svc .price { font-family: var(--display); font-size: 21px; color: var(--ink); margin: 6px 0 18px; }
.svc .price small { font-family: var(--body); font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; display: block; }
.svc .more { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--teal); display: inline-flex; gap: 8px; align-items: center; }
.svc .more::after { content: "→"; transition: transform .2s; }
.svc:hover .more::after { transform: translateX(4px); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
section.alt .card { background: var(--paper); }
.card p { color: var(--muted); }
.price-tag { font-family: var(--display); font-size: 21px; color: var(--teal); margin: 4px 0 14px; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; list-style: none; padding: 0; margin: 0; counter-reset: s; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(212,174,95,.15)); }
.timeline li { counter-increment: s; position: relative; padding-top: 66px; }
.timeline li::before { content: "0" counter(s); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-size: 17px; border: 2px solid var(--gold); }
section.dark .timeline li::before { background: var(--ink-2); }
.timeline b { display: block; font-size: 20px; margin-bottom: 6px; font-family: var(--display); font-weight: 600; }
.timeline span { color: var(--muted); font-size: 16.5px; }
section.dark .timeline span { color: #aebfc2; }

/* Promise */
.promise { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.promise > div { padding: 40px; }
.promise .yes { background: var(--surface); }
.promise .no { background: var(--ink); color: #e5ecec; }
.promise h3 { font-size: 22px; }
.promise ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.promise li { padding: 10px 0 10px 36px; position: relative; border-top: 1px solid rgba(127,127,127,.15); }
.promise li::before { position: absolute; left: 0; top: 10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.promise .yes li::before { content: "✓"; background: rgba(31,125,114,.12); color: var(--teal); }
.promise .no li::before { content: "✕"; background: rgba(212,174,95,.16); color: var(--gold); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.calc .inputs { padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.calc label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.calc input { font: 700 18px var(--body); color: var(--text); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; font-variant-numeric: tabular-nums; width: 100%; }
.calc .out { background: var(--ink); color: #fff; padding: 36px; display: grid; gap: 18px; align-content: center; }
.calc .out div span { display: block; color: #9fb3b6; font-size: 14.5px; }
.calc .out b { font-family: var(--display); font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc .out .save b { color: var(--gold); font-size: 44px; }
.calc .note { color: #8ea4a7; font-size: 13.5px; margin: 0; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: border-color .2s, transform .2s; }
.ind:hover { border-color: var(--gold); transform: translateY(-3px); }
.ind h3 { font-size: 19px; margin-bottom: 6px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.ind p { color: var(--muted); font-size: 15.5px; margin-bottom: 8px; }
.ind small { color: var(--teal); font-weight: 600; font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--line); background: var(--surface); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 16px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; background: linear-gradient(140deg, var(--ink-3), var(--ink)); color: #8fa9ad; display: grid; place-items: center; font-size: 15px; text-align: center; padding: 12px; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Quote band */
.quote { text-align: center; padding: 120px 0; }
.quote blockquote { margin: 0 auto; max-width: 900px; font-family: var(--display); font-size: clamp(32px, 4.4vw, 58px); line-height: 1.12; letter-spacing: -.02em; }
.quote blockquote em { font-style: normal; color: var(--gold); }
.quote p { margin: 22px auto 0; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-size: 26px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA */
.cta { position: relative; border-radius: 28px; overflow: hidden; padding: 80px 60px; background: radial-gradient(800px 400px at 90% 0%, rgba(31,125,114,.6), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(212,174,95,.35), transparent 60%), var(--ink); color: #fff; text-align: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .12; mix-blend-mode: overlay; z-index: -1; }
.cta h2 { max-width: 18ch; margin: 0 auto .3em; }
.cta p { color: #c4d0d2; margin: 0 auto; }
.cta .btn-row { justify-content: center; }

/* Page hero (inner pages) */
.page-hero { position: relative; background: radial-gradient(900px 420px at 85% -20%, rgba(31,125,114,.55), transparent 60%), var(--ink); color: #fff; padding: 96px 0 88px; isolation: isolate; overflow: hidden; }
.page-hero .lead { color: #c4d0d2; }
.crumbs { font-size: 14px; color: #8ea4a7; margin-bottom: 18px; }
.crumbs a { color: #c4d0d2; }

/* Steps (inner pages) */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; border-top: 2px solid var(--gold); padding-top: 18px; }
.steps li::before { content: "0" counter(s); font-family: var(--display); color: var(--gold-deep); font-size: 18px; display: block; margin-bottom: 8px; }
.steps b { display: block; font-size: 19px; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 16px; }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
form.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 36px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea { font: 400 17px var(--body); color: var(--text); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 4px; }
.hp { position: absolute; left: -5000px; }
.form-status { font-weight: 600; min-height: 1.4em; margin: 0; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #a33224; }
.aside { display: grid; gap: 18px; }
.aside .card h3 { font-size: 21px; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--ink); color: #aebfc2; padding: 72px 0 32px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 34px; }
.site-footer h4 { font-family: var(--body); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #dbe4e5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: #7f969a; }

/* Reveal on scroll: content is visible without JS; html.js enables the effect */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .form-wrap, .faq-wrap, .calc { grid-template-columns: 1fr; }
  .collage { height: 420px; }
  .grid-3, .timeline, .steps { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 20px 24px 26px; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links.open { display: flex; }
  .grid-3, .grid-2, .ind-grid, .timeline, .steps, .promise, .two, .calc .inputs { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px 160px; }
  .gallery figure:first-child { grid-row: span 1; grid-column: span 2; }
  .gallery figure:nth-child(4) { grid-column: span 2; }
  .collage { height: 340px; }
  .report { width: 210px; }
  section.block { padding: 76px 0; }
  .hero { padding: 72px 0 100px; }
  .cta { padding: 56px 24px; }
  .promise > div, .calc .inputs, .calc .out { padding: 28px; }
  body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora span, .marquee .track { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .svc, .ind { transition: none; }
}
