/* ============================================================
   FACTORY SUN — Website shell
   Built on colors_and_type.css tokens. Dark, warm, gold-foil luxe.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--fg1);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* warm ambient backdrop shared by all pages */
.bg-glow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 75% at 50% -12%, #2a1c12 0%, #150d08 42%, #080503 100%);
}
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: 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='0.9' numOctaves='3'/%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 { display: block; max-width: 100%; }

::selection { background: rgba(244,216,138,0.28); color: var(--gold-pale); }

/* ---------- LAYOUT ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

.foil-text {
  background: var(--foil);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* gold gradient hairline that fades at both ends */
.gold-rule {
  height: 1px; border: 0; width: 100%;
  background: linear-gradient(90deg, transparent, var(--hairline) 14%, var(--hairline) 86%, transparent);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,5,3,0.62);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(244,216,138,0.16);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px 22px; min-height: 78px; flex-wrap: wrap; padding: 10px 0;
}
.nav-brand { display: flex; align-items: center; gap: 13px; flex: none; }
.nav-brand .nb-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.nav-brand .nb-name {
  font-family: 'Pacifico', 'Brush Script MT', cursive;
  font-size: 27px; line-height: 1; letter-spacing: 0.005em;
  background: var(--foil);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(95,64,12,0.85))
    drop-shadow(0 2px 3px rgba(0,0,0,0.55))
    drop-shadow(0 -1px 0 rgba(255,242,200,0.3));
  padding: 0 4px 2px 0;
}
.nav-brand .nb-sub {
  font-family: var(--sans); font-weight: 600; font-size: 8.5px;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--fg3);
  padding-left: 2px;
}
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px clamp(11px, 1.5vw, 22px); }
.nav-links a {
  font-family: var(--sans); font-weight: 500; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg2);
  position: relative; padding: 6px 0; transition: color .25s ease;
  white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--gold-mid); transition: right .3s ease;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: var(--gold-bright); }
.nav-links a.active::after { right: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer;
  border-radius: var(--r-pill); padding: 13px 30px; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-gold {
  color: #000; background: var(--foil); background-size: 180% 180%;
  box-shadow: 0 8px 26px -10px rgba(201,150,46,0.6), var(--shadow-emboss);
}
/* keep gold buttons' label black even inside nav / mobile menu (override their link colors) */
.nav-links a.btn-gold,
.mobile-menu a.btn-gold { color: #000; }
.nav-links a.btn-gold:hover,
.mobile-menu a.btn-gold:hover { color: #000; }
.nav-links a.btn::after { display: none; }
.btn-gold:hover { box-shadow: 0 12px 34px -8px rgba(244,216,138,0.7), var(--shadow-emboss); }
.btn-gold:active { transform: translateY(1px); }
.btn-ghost {
  color: var(--gold-bright); border-color: rgba(244,216,138,0.5);
  background: linear-gradient(180deg, rgba(201,150,46,0.12), rgba(201,150,46,0.03));
}
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-pale); background: linear-gradient(180deg, rgba(201,150,46,0.22), rgba(201,150,46,0.06)); }
.btn-ghost:active { transform: translateY(1px); }
.nav .btn { padding: 11px 26px; }

/* burger (legacy — no longer used; tabs are always visible) */
.nav-burger { display: none !important; }
.nav-burger.__legacy {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px; flex: none;
}
.nav-burger span { width: 24px; height: 1.6px; background: var(--gold-mid); transition: transform .3s, opacity .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: radial-gradient(120% 90% at 50% 0%, #1c120b 0%, #0b0705 60%, #060403 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif-display); font-style: italic; font-weight: 600;
  font-size: 30px; color: var(--fg1); letter-spacing: 0.01em; white-space: nowrap;
}
.mobile-menu a.active, .mobile-menu a:hover { color: var(--gold-bright); }
.mobile-menu .mm-cta { margin-top: 12px; }

/* ============================================================
   PAGE HERO (shared header band for subpages)
   ============================================================ */
.page-hero { padding: clamp(64px, 9vw, 110px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.eyebrow {
  font-family: var(--sans); font-weight: 500; font-size: 12px;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold-mid);
  display: inline-block; margin-bottom: 22px;
}
.page-hero h1 {
  font-family: var(--serif-display); font-weight: 600;
  font-size: clamp(40px, 7vw, 76px); line-height: 1.0; letter-spacing: 0.02em;
}
.page-hero h1 em { font-style: italic; }
.page-hero .lede {
  max-width: 620px; margin: 24px auto 0; color: var(--fg2);
  font-size: clamp(15px, 1.4vw, 17px); line-height: 1.7; font-weight: 300;
  text-wrap: pretty;
}
.hero-orn { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.hero-orn .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-mid); box-shadow: 0 0 10px var(--gold-bright); }
.hero-orn .ln { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--hairline)); }
.hero-orn .ln.r { background: linear-gradient(90deg, var(--hairline), transparent); }

section { position: relative; }
.section-pad { padding: clamp(48px, 7vw, 96px) 0; }

/* ---------- generic headings ---------- */
.sec-eyebrow { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold-mid); }
.sec-title { font-family: var(--serif-display); font-weight: 600; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: 0.02em; margin-top: 16px; }
.sec-title em { font-style: italic; }

/* ---------- CARD / PANEL ---------- */
.panel {
  position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, rgba(36,25,18,0.7), rgba(13,9,6,0.85));
  border: 1px solid rgba(244,216,138,0.14);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.8);
}

/* photographic placeholder (striped) */
.ph {
  position: relative; background: #120c08;
  background-image: repeating-linear-gradient(135deg, rgba(201,150,46,0.07) 0 12px, rgba(201,150,46,0.0) 12px 24px);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg3); border: 1px dashed rgba(201,150,46,0.22);
}
.ph span {
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: lowercase; color: #7a6650;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid rgba(244,216,138,0.16); margin-top: clamp(60px, 8vw, 120px); padding: clamp(50px, 6vw, 80px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.footer-brand img { width: 120px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--fg3); font-size: 13px; line-height: 1.7; max-width: 280px; font-weight: 300; }
.footer h4 { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-mid); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: var(--fg2); font-size: 14px; line-height: 1.5; margin-bottom: 12px; font-weight: 300; transition: color .2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-contact a { display: flex; align-items: flex-start; gap: 12px; color: var(--fg1); font-size: 14px; margin-bottom: 15px; font-weight: 400; transition: color .2s; }
.footer-contact a:hover { color: var(--gold-bright); }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.footer-contact svg * { stroke: var(--gold-mid); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 5vw, 60px); padding-top: 26px; border-top: 1px solid rgba(244,216,138,0.1); }
.footer-bottom p { color: var(--fg3); font-size: 11.5px; letter-spacing: 0.04em; }
.footer-bottom .open7 {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(244,216,138,0.45);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright);
}
.footer-bottom .open7 .gd { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 8px var(--gold-bright); }

/* ---------- SPLIT (text + media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split.rev .split-media { order: -1; }
.split-body p { color: var(--fg2); font-size: clamp(15px,1.45vw,17px); line-height: 1.8; font-weight: 300; margin-top: 18px; text-wrap: pretty; }
.split-body .sec-title { margin-top: 14px; }
.split-media { position: relative; }
.media-frame {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(244,216,138,0.18);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,0.85);
  aspect-ratio: 4 / 5;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(8,5,3,0.65)); }
.media-frame .inset { position: absolute; inset: 10px; border: 1px solid rgba(244,216,138,0.22); border-radius: 8px; pointer-events: none; z-index: 2; }

/* ---------- FEATURE GRID ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.feature { padding: clamp(26px, 3vw, 38px); border-radius: 14px;
  background: linear-gradient(160deg, rgba(36,25,18,0.55), rgba(13,9,6,0.7));
  border: 1px solid rgba(244,216,138,0.13); }
.feature .fnum { font-family: var(--serif-display); font-style: italic; font-size: 30px; color: var(--gold-mid); opacity: .8; }
.feature h3 { font-family: var(--serif-display); font-weight: 600; font-size: 23px; letter-spacing: .01em; margin: 14px 0 12px; }
.feature p { color: var(--fg2); font-size: 14.5px; line-height: 1.7; font-weight: 300; }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(244,216,138,0.14);
  border: 1px solid rgba(244,216,138,0.14); border-radius: 14px; overflow: hidden; }
.stat { background: linear-gradient(160deg, rgba(28,19,13,0.85), rgba(11,8,6,0.92)); padding: clamp(28px,3.5vw,44px) 20px; text-align: center; }
.stat .num { font-family: var(--serif-display); font-weight: 600; font-size: clamp(38px,5vw,60px); line-height: 1; }
.stat .lab { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg3); margin-top: 14px; }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; text-align: center; padding: clamp(54px,7vw,96px) clamp(20px,5vw,60px); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(244,216,138,0.2);
  background: radial-gradient(120% 130% at 50% -20%, rgba(120,78,40,0.4), rgba(13,9,6,0.9) 60%); }
.cta-band h2 { font-family: var(--serif-display); font-weight: 600; font-size: clamp(30px,4.6vw,52px); line-height: 1.06; letter-spacing: .02em; }
.cta-band h2 em { font-style: italic; }
.cta-band p { color: var(--fg2); font-size: 16px; font-weight: 300; max-width: 520px; margin: 20px auto 32px; line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- PRICE TABLE ---------- */
.price-group { margin-bottom: clamp(36px, 4vw, 56px); }
.price-group > .pg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.price-group .pg-title { font-family: var(--serif-display); font-weight: 600; font-style: italic; font-size: clamp(24px,3vw,32px); }
.price-group .pg-note { color: var(--fg3); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.price-row { display: flex; align-items: baseline; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(244,216,138,0.1); }
.price-row:last-child { border-bottom: 0; }
.price-row .pr-name { font-weight: 500; font-size: clamp(15px,1.6vw,18px); color: var(--fg1); }
.price-row .pr-name small { display: block; font-weight: 300; font-size: 13px; color: var(--fg3); margin-top: 4px; letter-spacing: 0; }
.price-row .pr-dots { flex: 1; border-bottom: 1px dotted rgba(201,179,156,0.3); transform: translateY(-4px); }
.price-row .pr-price { font-family: var(--sans); font-weight: 600; font-size: clamp(16px,1.7vw,19px); color: var(--gold-bright); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-row .pr-price .u { font-weight: 400; font-size: 12px; color: var(--fg3); letter-spacing: .08em; margin-left: 4px; }

/* ---------- PRODUCT GRID (kosmetyki) ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.product { border-radius: 14px; overflow: hidden; border: 1px solid rgba(244,216,138,0.13);
  background: linear-gradient(160deg, rgba(30,21,14,0.6), rgba(11,8,6,0.8)); transition: transform .3s ease, border-color .3s ease, box-shadow .3s; }
.product:hover { transform: translateY(-5px); border-color: rgba(244,216,138,0.32); box-shadow: 0 26px 50px -28px rgba(0,0,0,0.85); }
.product .p-img { aspect-ratio: 4/3; }
.product .p-body { padding: 22px 24px 26px; }
.product .p-cat { font-family: var(--sans); font-weight: 600; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-mid); }
.product .p-name { font-family: var(--serif-display); font-weight: 600; font-size: 22px; margin: 12px 0 8px; }
.product .p-desc { color: var(--fg2); font-size: 13.5px; line-height: 1.6; font-weight: 300; min-height: 0; }
.product .p-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.product .p-price { font-weight: 600; color: var(--gold-bright); font-size: 17px; }

/* ---------- ARTICLE GRID (poradnik) ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px,2.2vw,28px); }
.article { border-radius: 14px; overflow: hidden; border: 1px solid rgba(244,216,138,0.13); background: linear-gradient(160deg, rgba(30,21,14,0.55), rgba(11,8,6,0.78)); transition: transform .3s, border-color .3s; display: flex; flex-direction: column; }
.article:hover { transform: translateY(-5px); border-color: rgba(244,216,138,0.3); }
.article .a-img { aspect-ratio: 16/10; }
.article .a-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.article .a-tag { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-mid); }
.article .a-title { font-family: var(--serif-display); font-weight: 600; font-size: 23px; line-height: 1.2; margin: 13px 0 12px; }
.article .a-ex { color: var(--fg2); font-size: 14px; line-height: 1.65; font-weight: 300; flex: 1; }
.article .a-more { margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); display: inline-flex; align-items: center; gap: 8px; }
.article .a-more .arr { transition: transform .3s; }
.article:hover .a-more .arr { transform: translateX(5px); }

/* ---------- FORM (zapisy / kontakt) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg3); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--fg1);
  background: rgba(8,5,3,0.55); border: 1px solid rgba(244,216,138,0.22);
  border-radius: 10px; padding: 14px 16px; transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6f5d4a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-mid); box-shadow: 0 0 0 3px rgba(201,150,46,0.14); }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%23C9962E' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.form-note { color: var(--fg3); font-size: 13px; line-height: 1.6; font-weight: 300; }
.form-ok { display: none; text-align: center; padding: 40px 20px; }
.form-ok.show { display: block; }
.form-ok .ok-mark { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; border: 1px solid rgba(244,216,138,0.5); display: grid; place-items: center; }
.form-ok .ok-mark svg { width: 30px; height: 30px; }
.form-ok h3 { font-family: var(--serif-display); font-weight: 600; font-size: 30px; margin-bottom: 12px; }
.form-ok p { color: var(--fg2); font-weight: 300; }

/* ---------- INFO ROWS (kontakt/lokalizacja) ---------- */
.info-list { display: flex; flex-direction: column; gap: 4px; }
.info-item { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(244,216,138,0.1); }
.info-item:last-child { border-bottom: 0; }
.info-item .ic { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid rgba(244,216,138,0.3); display: grid; place-items: center; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item .ic svg * { stroke: var(--gold-mid); }
.info-item .it h4 { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-mid); margin-bottom: 7px; }
.info-item .it a, .info-item .it p { font-size: clamp(15px,1.6vw,18px); color: var(--fg1); font-weight: 400; line-height: 1.5; transition: color .2s; }
.info-item .it a:hover { color: var(--gold-bright); }

/* hours block */
.hours-card { padding: clamp(26px,3vw,38px); }
.hours-card .hours-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 13px 0; }
.hours-card .hours-row + .hours-row { border-top: 1px solid rgba(244,216,138,0.09); }
.hours-card .day { font-weight: 500; font-size: clamp(15px,1.6vw,18px); color: var(--fg1); }
.hours-card .time { font-weight: 600; font-size: clamp(15px,1.6vw,18px); color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.hours-card .hours-row.today .day, .hours-card .hours-row.today .time { color: var(--gold-pale); }

/* map */
.map-frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(244,216,138,0.2); box-shadow: 0 30px 70px -30px rgba(0,0,0,0.85); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(0.3) sepia(0.35) saturate(1.1) brightness(0.85) contrast(1.05); }

@media (max-width: 860px) {
  .features, .products, .articles { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features, .products, .articles { grid-template-columns: 1fr; }
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1200px) {
  .nav-links { gap: 7px clamp(10px, 1.4vw, 18px); }
  .nav-links a { font-size: 11.5px; letter-spacing: 0.14em; }
  .nav .btn-nav-cta { padding: 10px 20px; letter-spacing: 0.16em; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-inner { justify-content: center; flex-direction: column; gap: 10px; padding: 14px 0; }
  .nav-links { justify-content: center; width: 100%; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-brand .nb-name { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
