/* EnduroPrint3D — premium dark topographic theme. */
:root {
  --accent: #ff6a1a;
  --accent-2: #ffb347;
  --grad: linear-gradient(100deg, #ff6a1a, #ff9a3d);
  --bg: #0c0d10;
  --bg-2: #101217;
  --surface: #16181e;
  --surface-2: #1c1f26;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #f4f5f7;
  --muted: #9aa1ad;
  --muted-2: #6c7480;
  --header-h: 70px;
  --wrap: 1200px;
  --r: 18px;
  --glow: 0 0 60px rgba(255, 106, 26, .35);
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* faint film grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, .display { font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(40px, 7vw, 82px); }
h2 { font-size: clamp(28px, 4.4vw, 46px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.muted { color: var(--muted); }
.center { text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s, border-color .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #1a1206; box-shadow: 0 10px 30px rgba(255, 106, 26, .35); }
.btn-primary:hover { box-shadow: 0 16px 44px rgba(255, 106, 26, .5); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(12, 13, 16, .72); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 26px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: "Space Grotesk"; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2), 0 6px 18px rgba(255, 106, 26, .25); }
.logo svg { width: 30px; height: 30px; }
.logo b { color: var(--accent); font-weight: 700; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 9px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .15s, background .15s; }
.nav a:hover { color: #fff; }
.nav a.active { color: #fff; background: rgba(255, 106, 26, .14); }
.nav .btn { padding: 10px 18px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #1a1206; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }

/* hero */
.hero { position: relative; padding: 96px 0 108px; overflow: hidden; }
.hero::after { content: ""; position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(255, 106, 26, .22), transparent 60%); filter: blur(30px); z-index: 0; }
.contour { position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none; color: rgba(255, 255, 255, .05); }
.contour svg { width: 100%; height: 100%; }
.hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { margin-top: 16px; }
.hero .hero-sub { font-size: 20px; color: var(--muted); max-width: 46ch; margin-top: 6px; }
.hero .cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual .frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: var(--shadow), var(--glow); transform: rotate(2.5deg); transition: transform .5s ease; background: #0a0b0d; }
.hero-visual:hover .frame { transform: rotate(0deg); }
.hero-visual .frame img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.hero-visual .chip { position: absolute; left: -14px; bottom: 24px; background: var(--surface); border: 1px solid var(--line-2);
  padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); font-size: 13px; display: flex; align-items: center; gap: 10px; }
.hero-visual .chip b { color: var(--accent); font-family: "Space Grotesk"; font-size: 18px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px;
  border-top: 1px solid var(--line); padding-top: 34px; }
.stat b { display: block; font-family: "Space Grotesk"; font-size: clamp(30px, 4vw, 44px); }
.stat span { color: var(--muted); font-size: 14.5px; }

/* sections */
.section { padding: 96px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { margin-top: 12px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px 28px; overflow: hidden; }
.step::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 120px at 50% -10%, rgba(255, 106, 26, .12), transparent 70%); }
.step .num { font-family: "Space Grotesk"; font-weight: 700; font-size: 15px; color: var(--accent);
  width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 12px; margin-bottom: 16px; position: relative; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feature .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px;
  background: rgba(255, 106, 26, .12); color: var(--accent); margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* product gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--surface); transition: transform .25s, border-color .25s, box-shadow .25s; }
.product:hover { transform: translateY(-6px); border-color: rgba(255, 106, 26, .5); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.product .ph { aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #23262e, #0f1013); }
.product .ph svg { width: 74%; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product:hover .ph img { transform: scale(1.05); }
.product .body { padding: 18px 20px 22px; }
.product h3 { font-size: 18px; margin-bottom: 4px; }
.product p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }

/* pricing tiers */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 340px)); gap: 24px; justify-content: center; }
.tier { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 6px; transition: transform .2s, border-color .2s; }
.tier:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tier.featured { border-color: rgba(255, 106, 26, .5); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); background: linear-gradient(180deg, #1a130b, var(--surface)); }
.tier-tag { align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); background: rgba(255, 106, 26, .12); padding: 5px 11px; border-radius: 999px; margin-bottom: 6px; }
.tier .size { font-family: "Space Grotesk"; font-size: 20px; color: var(--muted); font-weight: 600; }
.tier .price { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 8px; }
.tier .price b { font-family: "Space Grotesk"; font-size: 52px; line-height: 1; font-weight: 700; }
.tier .price span { color: var(--muted); font-weight: 600; }
.tier > p { margin: 0 0 8px; }
.ticks { list-style: none; margin: 4px 0 20px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--accent); font-weight: 800; }
.tier .btn { margin-top: auto; }

/* bulk / wholesale panel */
.bulk { margin-top: 40px; border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: var(--surface); }
.bulk-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 22px 28px; background: linear-gradient(120deg, #1b1206, #241505); border-bottom: 1px solid var(--line); }
.bulk-head .badge { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); background: rgba(255, 106, 26, .14); padding: 6px 12px; border-radius: 999px; }
.bulk-head h3 { margin: 0; font-size: 22px; }
.bulk-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.bulk-grid.three { grid-template-columns: repeat(3, 1fr); }
.bulk-cell .tag { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 6px; }
.bulk-cell { padding: 22px 28px; }
.bulk-cell + .bulk-cell { border-left: 1px solid var(--line); }
.bulk-cell .size { font-family: "Space Grotesk"; color: var(--muted); font-weight: 600; font-size: 16px; }
.bulk-cell .price { display: flex; align-items: baseline; gap: 8px; }
.bulk-cell .price b { font-family: "Space Grotesk"; font-size: 40px; line-height: 1.1; }
.bulk-cell .price span { color: var(--muted); font-weight: 600; font-size: 14px; }
.bulk-note { padding: 20px 28px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.bulk-note p { margin: 0; font-size: 14.5px; color: var(--muted); padding-left: 26px; position: relative; }
.bulk-note p::before { content: "•"; position: absolute; left: 8px; color: var(--accent); font-weight: 800; }
.bulk-note b { color: var(--ink); }

/* cta band */
.cta-band { position: relative; overflow: hidden; border-radius: 26px; padding: 56px 40px; text-align: center;
  background: linear-gradient(120deg, #1b1206, #241505); border: 1px solid rgba(255, 106, 26, .3); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 50% 0%, rgba(255, 106, 26, .3), transparent 70%); }
.cta-band h2 { position: relative; }
.cta-band .lead { margin: 0 auto 22px; }

/* order form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 12px;
  font: inherit; background: var(--surface); color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 26, .18); }
.field select option { background: #16181e; }

/* footer */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: 60px 0 30px; margin-top: 30px; background: var(--bg-2); }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.site-footer h4 { font-family: "Space Grotesk"; color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: .02em; }
.site-footer a { color: var(--muted); display: block; padding: 5px 0; font-size: 14.5px; transition: color .15s; }
.site-footer a:hover { color: var(--accent); }
.site-footer .logo { margin-bottom: 14px; }
.site-footer .bottom { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }

/* photo rows (events) */
.media-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.media-2 figure { margin: 0; }
.media-2 img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r);
  border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.media-2 figcaption { color: var(--muted); font-size: 13.5px; margin-top: 10px; text-align: center; }

/* donation screenshots — shown whole (no crop) */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px;
  max-width: 720px; margin-inline: auto; }
.shots img { width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); padding: 6px; }

/* partner logos */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.logo-tile { background: #fff; border-radius: var(--r); padding: 26px; min-height: 130px;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--line);
  transition: transform .2s; }
.logo-tile:hover { transform: translateY(-3px); }
.logo-tile img { max-height: 84px; width: auto; object-fit: contain; }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* configurator page fills the viewport under the header */
body.config { overflow: hidden; }
body.config #app { height: calc(100vh - var(--header-h)); }

@media (max-width: 900px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(12, 13, 16, .97); backdrop-filter: blur(14px); padding: 12px 16px 20px; gap: 4px; display: none; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 15px; }
  .burger { display: block; }
  .hero .grid, .stats, .steps, .features, .gallery, .form, .site-footer .cols, .pricing, .bulk-grid, .bulk-grid.three, .logos { grid-template-columns: 1fr; }
  .bulk-cell + .bulk-cell { border-left: none; border-top: 1px solid var(--line); }
  .hero-visual { order: -1; }
  .section { padding: 64px 0; }
}
