/* Sug's LowPoly — publisher site. No external requests: fonts and images are served from this folder. */

@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #070d12;
  --navy-900: #0b161e;
  --navy-800: #0f1f29;
  --navy-700: #142b37;
  --navy-600: #1b3a48;
  --line: rgba(150, 176, 188, 0.18);
  --line-strong: rgba(150, 176, 188, 0.34);
  --bone: #eee5d2;
  --bone-dim: #cfc7b6;
  --steel: #9db6c2;
  --ember: #ff7026;
  --ember-hi: #ff9a4e;
  --ember-deep: #d64814;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --cut: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--navy-900); color: var(--bone); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bone); }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ember-hi); outline-offset: 3px; }
::selection { background: var(--ember); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ember); color: var(--ink); padding: 10px 16px; font: 700 1rem/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 400; }
.display { font-family: var(--display); text-transform: uppercase; letter-spacing: .012em; line-height: .98; color: var(--bone); }
h1.display { font-size: clamp(2.7rem, 7.2vw, 5.6rem); }
h2.display { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3.display { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: .02em; }
.accent { color: var(--ember); }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 700 .95rem/1 var(--cond); letter-spacing: .3em; text-transform: uppercase; color: var(--ember); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 44px; height: 3px; background: var(--ember); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--bone-dim); max-width: 62ch; }
.muted { color: var(--steel); }
.small { font-size: .95rem; }

/* ---------- buttons ---------- */
.btn { --c: var(--cut); display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px 14px; font: 700 1.05rem/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; transition: transform .18s ease, background-color .18s ease, color .18s ease;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.btn-primary { background: var(--ember); color: var(--ink); }
.btn-primary:hover { background: var(--ember-hi); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: rgba(238, 229, 210, .08); color: var(--bone); box-shadow: inset 0 0 0 2px var(--line-strong); }
.btn-ghost:hover { background: rgba(238, 229, 210, .16); color: var(--bone); transform: translateY(-2px); }
.btn[aria-disabled="true"] { background: var(--navy-600); color: var(--steel); cursor: default; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 6px; font: 700 .85rem/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; border-radius: 4px; background: var(--ember); color: var(--ink); }
.pill.soon { background: transparent; color: var(--ember-hi); box-shadow: inset 0 0 0 1.5px var(--ember); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(9, 18, 25, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--display); font-size: 1.55rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.nav ul { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav a { font: 600 1.02rem/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); text-decoration: none; padding: 10px 2px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); border-bottom-color: var(--ember); }
.nav .btn { padding: 12px 18px 11px; font-size: .95rem; color: var(--ink); border-bottom: 0; }
.nav .btn:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--bone); padding: 10px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; display: block; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; inset: 72px 0 auto 0; background: rgba(9, 18, 25, .98); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav a { display: block; padding: 16px 2px; border-bottom: 1px solid var(--line); }
  .nav .btn { display: inline-flex; margin-top: 16px; }
  .brand-name { font-size: 1.3rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--navy-900) url("../img/hero-1280.webp") center 62% / cover no-repeat; }
@media (min-width: 900px) { .hero-bg { background-image: url("../img/hero-2400.webp"); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(7, 13, 18, .86) 0%, rgba(7, 13, 18, .38) 30%, rgba(7, 13, 18, .08) 52%, rgba(11, 22, 30, .78) 84%, var(--navy-900) 100%),
  linear-gradient(90deg, rgba(7, 13, 18, .9) 0%, rgba(7, 13, 18, .62) 34%, rgba(7, 13, 18, .16) 60%, rgba(7, 13, 18, 0) 78%); }
.hero-inner { padding: clamp(120px, 20vh, 220px) 0 clamp(56px, 9vh, 110px); max-width: 780px; }
.hero h1 { text-shadow: 0 6px 30px rgba(0, 0, 0, .55); }
.hero .lead { margin-top: 22px; color: var(--bone); text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* floating embers: decorative only */
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.embers i { position: absolute; bottom: -12px; width: 5px; height: 5px; border-radius: 50%; background: #ffb060; box-shadow: 0 0 10px 3px rgba(255, 130, 50, .55); opacity: 0; animation: rise linear infinite; }
@keyframes rise { 0% { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; } 12% { opacity: .9; } 80% { opacity: .5; } 100% { transform: translate3d(var(--dx, 40px), -92vh, 0) scale(1.1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .embers { display: none; } html { scroll-behavior: auto; } .btn, .tile img { transition: none; } }

/* ---------- sections ---------- */
section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head p { margin-top: 18px; }
.band { background: var(--navy-800); border-block: 1px solid var(--line); }
.band::before, .facets::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(115deg, transparent 0 62%, rgba(42, 90, 104, .16) 62% 78%, transparent 78%),
    linear-gradient(245deg, transparent 0 70%, rgba(42, 90, 104, .12) 70% 84%, transparent 84%); }
.band > .wrap, .facets > .wrap { position: relative; }

/* ---------- pack feature ---------- */
.pack { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pack-media { position: relative; display: block; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.pack-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.pack-media:hover img { transform: scale(1.04); }
.pack-media .pill { position: absolute; left: 18px; top: 18px; }
.pack h3 { margin: 16px 0 14px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 26px 0 30px; }
.facts li { background: var(--navy-900); padding: 16px 14px 14px; }
.band .facts li { background: var(--navy-800); }
.facts b { display: block; font: 400 1.9rem/1 var(--display); color: var(--bone); letter-spacing: .02em; }
.facts span { display: block; margin-top: 7px; font: 600 .82rem/1.2 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
@media (max-width: 900px) { .pack { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- principles ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }
.card { background: linear-gradient(160deg, rgba(27, 58, 72, .55), rgba(15, 31, 41, .9)); border: 1px solid var(--line); padding: 28px 26px 26px; position: relative;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.card::after { content: ""; position: absolute; right: 0; top: 0; width: calc(var(--cut) * 1.42); height: 1px; background: var(--line-strong); transform-origin: right top; transform: rotate(-45deg) translate(0, 0); display: none; }
.card .num { font: 400 1.05rem/1 var(--display); letter-spacing: .1em; color: var(--ember); }
.card h3 { font: 700 1.45rem/1.1 var(--cond); letter-spacing: .06em; text-transform: uppercase; margin: 14px 0 10px; color: var(--bone); }
.card p { margin: 0; color: var(--bone-dim); font-size: 1rem; line-height: 1.6; }

/* ---------- split media ---------- */
.shot { clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prose h2 { margin-bottom: 20px; }
.prose p { color: var(--bone-dim); }
.prose p strong { color: var(--bone); font-weight: 600; }
.checks li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); color: var(--bone-dim); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 12px; background: var(--ember); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.checks li strong { color: var(--bone); font-weight: 600; }

/* ---------- call to action ---------- */
.cta { text-align: center; }
.cta .lead { margin-inline: auto; }
.cta .actions { justify-content: center; }

/* ---------- page header (inner pages) ---------- */
.page-head { position: relative; padding: clamp(70px, 11vw, 130px) 0 clamp(40px, 6vw, 70px); isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head.with-art::after { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/pack-banner-1100.webp") center 40% / cover no-repeat; }
@media (min-width: 900px) { .page-head.with-art::after { background-image: url("../img/pack-banner-2000.webp"); } }
.page-head.with-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 13, 18, .78), rgba(11, 22, 30, .6) 45%, var(--navy-900) 100%), linear-gradient(90deg, rgba(7, 13, 18, .8), rgba(7, 13, 18, .1) 75%); }
.page-head.with-art { padding-top: clamp(110px, 16vw, 210px); }
.page-head .lead { margin-top: 20px; }
.crumbs { font: 600 .9rem/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-bottom: 22px; }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--bone); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } .gallery li:first-child { grid-column: auto; grid-row: auto; } }
.tile { display: block; position: relative; height: 100%; overflow: hidden; background: var(--navy-800); border: 1px solid var(--line); cursor: zoom-in; padding: 0; width: 100%; }
.tile img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); filter: brightness(1.08); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 8, 11, .94); display: none; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 40px); }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1500px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 12px; }
.lightbox img { max-height: calc(100vh - 130px); width: auto; max-width: 100%; margin-inline: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figcaption { font: 600 1rem/1.3 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); text-align: center; }
.lb-btn { position: absolute; background: rgba(15, 31, 41, .85); color: var(--bone); border: 1px solid var(--line-strong); width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: var(--ember); color: var(--ink); border-color: var(--ember); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ---------- tables, lists of contents ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec th, .spec td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font: 600 .95rem/1.3 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.spec td { color: var(--bone); }
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .cats { grid-template-columns: 1fr; } }
.cat { border: 1px solid var(--line); background: rgba(15, 31, 41, .7); padding: 20px 22px; }
.cat h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font: 700 1.3rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--bone); margin-bottom: 10px; }
.cat h3 span { font: 400 1rem/1 var(--display); color: var(--ember); letter-spacing: .06em; }
.cat p { margin: 0; color: var(--bone-dim); font-size: 1rem; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 600 1.25rem/1.3 var(--cond); letter-spacing: .04em; color: var(--bone); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 22px; color: var(--bone-dim); max-width: 75ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */
.contact-card { border: 1px solid var(--line-strong); background: linear-gradient(160deg, rgba(27, 58, 72, .6), rgba(15, 31, 41, .92)); padding: clamp(26px, 4vw, 42px); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.contact-card .label { font: 700 .9rem/1 var(--cond); letter-spacing: .24em; text-transform: uppercase; color: var(--ember); }
.mail { display: inline-block; margin: 14px 0 6px; font: 400 clamp(1.5rem, 3.6vw, 2.4rem)/1.15 var(--display); letter-spacing: .02em; color: var(--bone); text-decoration: none; word-break: break-word; }
.mail:hover { color: var(--ember-hi); }
.pending { color: var(--ember-hi); border: 1px dashed var(--ember); padding: 6px 10px; display: inline-block; font: 600 1rem/1.3 var(--cond); letter-spacing: .08em; text-transform: uppercase; margin: 14px 0 6px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink); padding: 54px 0 40px; color: var(--steel); font-size: .98rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
.foot h4 { margin: 0 0 14px; font: 700 .9rem/1 var(--cond); letter-spacing: .24em; text-transform: uppercase; color: var(--bone); }
.foot li { margin-bottom: 9px; }
.foot a { color: var(--steel); text-decoration: none; }
.foot a:hover { color: var(--bone); text-decoration: underline; }
.foot .brand { margin-bottom: 14px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; line-height: 1.6; color: #7f97a3; }

/* ---------- reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- inline code, prose headings ---------- */
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92em; background: rgba(150, 176, 188, .14); padding: 2px 6px; border-radius: 3px; color: var(--bone); }
.prose h2.display + p { margin-top: 0; }
.prose p:not(.eyebrow) + h2.display, .prose ul + h2.display, .prose table + h2.display { margin-top: 1.5em; }
.spec { margin-top: 22px; }
section > .wrap > h2.display { margin-bottom: 8px; }

/* ---------- refinements ---------- */
.nowrap { white-space: nowrap; }
.foot .brand, .foot .brand:hover { color: var(--bone); text-decoration: none; }
.stack { display: grid; gap: 18px; }
.gallery + p { margin-top: 22px; }
.hero-bg { background-position: 58% 62%; }
