@import url('/css/fonts.css');

@font-face {
  font-family: 'Neuropol';
  src: local('Neuropol'), url('/fonts/Neuropol.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --graphite-950: #0b1220;
  --graphite-900: #121c30;
  --graphite-850: #16223a;
  --graphite-800: #1b2942;
  --steel-700: #33415e;
  --steel-500: #62729a;
  --steel-300: #9aa8c7;
  --steel-100: #ced3d8;
  --paper-50: #f7f8fa;
  --paper-100: #edf0f4;
  --ink-900: #16181b;
  --ink-600: #4c5158;
  --white: #ffffff;
  --amber-500: #e2a13d;
  --amber-400: #eeb862;
  --amber-600: #c4831f;
  --amber-950: #2c210f;

  --gradient-dark: linear-gradient(160deg, var(--graphite-900) 0%, var(--graphite-950) 100%);
  --gradient-dark-hover: linear-gradient(160deg, var(--graphite-850) 0%, var(--graphite-900) 100%);

  --font-display: 'IBM Plex Sans', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1180px;
  --edge: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  :root { --transition: 220ms cubic-bezier(.4,0,.2,1); }
}
@media (prefers-reduced-motion: reduce) {
  :root { --transition: 0ms; }
}

/* ---------- scroll reveal (menus/images entrance) ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper-50);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

:focus-visible {
  outline: 2px solid var(--amber-500);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin: 0 0 0.9em;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--amber-600);
}
section.on-dark .eyebrow { color: var(--amber-400); }
section.on-dark .eyebrow::before { background: var(--amber-400); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85em 1.4em;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  cursor: pointer;
  background: transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.btn-primary {
  background: var(--amber-500);
  border-color: var(--amber-500);
  color: var(--ink-900);
}
.btn-primary:hover { background: var(--amber-400); border-color: var(--amber-400); }
.btn-ghost-dark { color: var(--white); border-color: var(--steel-500); }
.btn-ghost-dark:hover { border-color: var(--amber-400); color: var(--amber-400); }
.btn-ghost-light { color: var(--ink-900); border-color: var(--ink-600); }
.btn-ghost-light:hover { border-color: var(--amber-600); color: var(--amber-600); }

.btn .strap {
  position: absolute;
  left: 1.4em; right: 1.4em; bottom: 6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.btn:hover .strap { transform: scaleX(1); opacity: 0.5; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(160deg, rgba(18, 28, 48, 0.92) 0%, rgba(11, 18, 32, 0.92) 100%);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--steel-700);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}
.brand {
  display: flex; flex-direction: column; text-decoration: none; color: var(--white);
  font-family: 'Neuropol', var(--font-display);
}
.brand-mark { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.03em; }
.brand-sub { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--amber-400); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none; color: var(--steel-100);
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.03em;
  padding: 0.4em 0; border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--amber-400); border-color: var(--amber-400); }

.main-nav li.has-dropdown { position: relative; }
.main-nav .dropdown {
  list-style: none; margin: 0; padding: 0.4rem; position: absolute; top: 100%; left: 0;
  background: var(--gradient-dark); border: 1px solid var(--steel-700); min-width: 230px;
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 0.1rem; box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear var(--transition);
}
.main-nav li.has-dropdown:hover .dropdown,
.main-nav li.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
  transition: opacity var(--transition), transform var(--transition), visibility 0s;
}
.main-nav .dropdown a { border-bottom: none; padding: 0.55em 0.6em; border-radius: var(--radius); transition: color var(--transition), background var(--transition); }
.main-nav .dropdown a:hover { background: var(--graphite-800); }
.main-nav > ul > li.has-dropdown > a::after { content: '▾'; font-size: 0.65em; margin-left: 0.4em; opacity: 0.7; transition: transform var(--transition); display: inline-block; }
.main-nav > ul > li.has-dropdown:hover > a::after,
.main-nav > ul > li.has-dropdown:focus-within > a::after { transform: rotate(180deg); }

@media (max-width: 880px) {
  .main-nav .dropdown {
    position: static; border: none; background: none; box-shadow: none; padding-left: 1rem;
    opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: none;
  }
}

.lang-switch { display: flex; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.78rem; }
.lang-switch a {
  text-decoration: none; color: var(--steel-300); padding: 0.25em 0.5em; border: 1px solid var(--steel-700); border-radius: var(--radius);
}
.lang-switch a.active { color: var(--ink-900); background: var(--amber-500); border-color: var(--amber-500); }

.nav-toggle {
  display: none;
  position: relative;
  background: none; border: 1px solid var(--steel-700); border-radius: var(--radius);
  color: var(--white); width: 42px; height: 38px; cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.nav-toggle:hover { border-color: var(--amber-400); color: var(--amber-400); }
.nav-toggle .icon {
  position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  transition: opacity var(--transition), transform var(--transition);
}
.nav-toggle .icon-close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.nav-toggle[aria-expanded="true"] .icon-menu { opacity: 0; transform: rotate(90deg) scale(0.6); }
.nav-toggle[aria-expanded="true"] .icon-close { opacity: 1; transform: rotate(0) scale(1); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0;
    height: calc(100vh - 76px);
    background: var(--gradient-dark);
    flex-direction: column; align-items: stretch; padding: 1.5rem var(--edge);
    display: flex; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform var(--transition), visibility 0s linear var(--transition);
  }
  .main-nav.open {
    transform: translateX(0); visibility: visible;
    transition: transform var(--transition), visibility 0s;
  }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--steel-700); }
  .main-nav a { display: block; padding: 1em 0; }
  .lang-switch { margin-top: 1.25rem; }
}

/* ---------- hero ---------- */
.hero {
  --hero-bg: var(--graphite-950);
  --hero-bg-2: var(--graphite-900);
  --hero-bg-elev: #080d18;
  --hero-line: var(--steel-700);
  --hero-line-2: var(--steel-500);
  --hero-ink: #d4d9e4;
  --hero-ink-mute: #93a0bd;
  --hero-ink-dim: #62709a;
  --hero-accent: #007acc;
  --hero-accent-bright: #4fc3f7;
  --hero-accent-glow: rgba(0, 122, 204, 0.35);
  --hero-accent-soft: rgba(0, 122, 204, 0.12);
  --hero-grid-line: rgba(86, 156, 214, 0.16);

  position: relative;
  color: var(--hero-ink);
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 60% 55% at 82% 12%, var(--hero-accent-soft), transparent 60%),
    linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg-2) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.24;
  filter: grayscale(0.35) contrast(1.05) brightness(0.6) saturate(0.65) hue-rotate(170deg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, var(--hero-bg) 0%, rgba(30,30,30,0.82) 45%, rgba(30,30,30,0.4) 75%, transparent 100%),
    linear-gradient(180deg, transparent 55%, var(--hero-bg-2) 100%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 60% 35%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 35%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero-noise {
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center;
}
.hero-copy { max-width: 42rem; }
.hero-eyebrow { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-badge {
  display: inline-block; padding: 0.4em 0.75em;
  background: var(--hero-accent); color: #fff;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 0 16px var(--hero-accent-glow);
}
.hero-meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--hero-ink-mute); letter-spacing: 0.06em; }
.hero h1.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 0.98;
  margin: 0 0 0.5em;
}
.hero-title .line { display: block; color: var(--hero-ink); text-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.hero-title .outline {
  -webkit-text-stroke: 1.5px var(--hero-accent-bright);
  color: transparent;
  text-shadow: 0 0 34px var(--hero-accent-glow);
}
.hero p.lede {
  font-size: 1.1rem;
  color: var(--hero-ink-mute);
  max-width: 38rem;
  margin-bottom: 1.9em;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero .btn-primary { background: var(--hero-accent); border-color: var(--hero-accent); color: #fff; }
.hero .btn-primary:hover { background: var(--hero-accent-bright); border-color: var(--hero-accent-bright); color: #06202f; }
.hero .btn-ghost-dark { border-color: var(--hero-line-2); color: var(--hero-ink); }
.hero .btn-ghost-dark:hover { border-color: var(--hero-accent); color: var(--hero-accent-bright); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding-top: 1.6rem; border-top: 1px solid var(--hero-line); max-width: 34rem; }
.hero-stats > div { padding-right: 0.9rem; border-right: 1px solid var(--hero-line); }
.hero-stats > div:last-child { border-right: none; }
.hero-stats dt { font-family: var(--font-display); font-size: 1.4rem; color: var(--hero-accent-bright); letter-spacing: 0.02em; margin-bottom: 0.15em; }
.hero-stats dd { margin: 0; font-family: var(--font-mono); font-size: 0.68rem; color: var(--hero-ink-mute); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.4; }

.hero-visual { position: relative; z-index: 2; }
.hero-plate {
  position: relative;
  background: radial-gradient(ellipse at 30% 30%, var(--hero-grid-line), transparent 60%), linear-gradient(135deg, var(--hero-bg-2) 0%, var(--hero-bg-elev) 100%);
  border: 1px solid var(--hero-line-2);
  padding: 1.75rem;
  aspect-ratio: 1;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.hero-plate::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--hero-line); pointer-events: none; }
.plate-corner { position: absolute; width: 20px; height: 20px; border: 2px solid var(--hero-accent); }
.plate-corner-tl { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.plate-corner-tr { top: 4px; right: 4px; border-left: none; border-bottom: none; }
.plate-corner-bl { bottom: 4px; left: 4px; border-right: none; border-top: none; }
.plate-corner-br { bottom: 4px; right: 4px; border-left: none; border-top: none; }
.plate-label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--hero-accent-bright); letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.plate-diagram { flex: 1; width: 100%; height: auto; animation: hero-rotate 70s linear infinite; }
@media (prefers-reduced-motion: reduce) { .plate-diagram { animation: none; } }
@keyframes hero-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.plate-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--hero-line); }
.plate-row > div { font-family: var(--font-mono); font-size: 0.72rem; }
.plate-row span { display: block; color: var(--hero-ink-dim); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25em; }
.plate-row strong { color: var(--hero-ink); font-weight: 600; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin: 0 auto; width: 100%; }
}

.marquee-strip {
  background: var(--gradient-dark);
  border-top: 1px solid var(--steel-700);
  border-bottom: 1px solid var(--steel-700);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.7rem 0;
}
.marquee-strip span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--steel-300);
  padding-right: 3rem;
}
/* 16 identičnih stavki: pomak za -50% = točno 8 stavki, pa je petlja bešavna */
.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 85s linear infinite;
  will-change: transform;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- sections ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.on-dark { background: var(--gradient-dark); color: var(--white); }
section.on-panel { background: var(--paper-100); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  margin-bottom: 2.4rem; flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0; }
.section-head p { margin: 0.4em 0 0; color: var(--ink-600); max-width: 34rem; }
section.on-dark .section-head p { color: var(--steel-300); }

/* ---------- category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.category-card {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 2rem 1.75rem;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: background var(--transition);
  min-height: 280px;
  border: 1.5px solid var(--steel-700);
  border-radius: var(--radius);
  overflow: hidden;
}
.category-card:hover { background: var(--gradient-dark-hover); }
.category-card .icon { color: var(--amber-500); width: 40px; height: 40px; transition: transform var(--transition); }
.category-card:hover .icon { transform: scale(1.12) rotate(-4deg); }
.category-card h3 { font-size: 1.28rem; color: var(--white); margin: 0; }
.category-card p { color: var(--steel-300); font-size: 0.92rem; margin: 0; flex: 1; }
.category-card .go {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--amber-400); display: inline-flex; align-items: center; gap: 0.4em;
}
.category-card:hover .go { text-decoration: underline; }

/* ---------- product cards ---------- */
.product-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: minmax(0, 1fr); } }
.product-card {
  background: var(--white);
  border: 1px solid var(--paper-100);
  border-top: 3px solid var(--amber-500);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-card .media {
  aspect-ratio: 16 / 10;
  background: var(--gradient-dark);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.product-card:hover .media img { transform: scale(1.05); }
.product-card .media .icon { color: var(--steel-700); width: 56px; height: 56px; }
.product-card .body { padding: 1.5rem 1.5rem 1.75rem; }
.product-card h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
.product-card .desc { color: var(--ink-600); font-size: 0.92rem; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-family: var(--font-mono); font-size: 0.83rem; }
.spec-table tr { border-top: 1px solid var(--paper-100); }
.spec-table td { padding: 0.55em 0; vertical-align: top; }
.spec-table td:first-child { color: var(--ink-600); width: 40%; padding-right: 1em; }
.spec-table td:last-child { color: var(--ink-900); font-weight: 500; }

/* ---------- benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.75rem;
}
.benefit-item {
  border: 1px solid var(--steel-700);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  display: flex; gap: 0.9rem; align-items: flex-start;
  font-size: 0.94rem; color: var(--steel-100);
}
.benefit-item svg { flex: none; width: 18px; height: 18px; color: var(--amber-500); margin-top: 0.2em; }

/* ---------- timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; border-left: 1px solid var(--steel-700); margin-left: 0.4rem; }
.timeline-item { position: relative; padding: 0 0 2.2rem 2rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -5px; top: 0.3em; width: 9px; height: 9px;
  background: var(--amber-500); border-radius: 50%;
}
.timeline-item .year { font-family: var(--font-mono); color: var(--amber-600); font-size: 0.85rem; letter-spacing: 0.06em; display: block; margin-bottom: 0.3em; }
.timeline-item p { margin: 0; color: var(--ink-600); max-width: 34rem; }
section.on-dark .timeline-item .year { color: var(--amber-400); }
section.on-dark .timeline-item p { color: var(--steel-100); }
section.on-dark .timeline { border-left-color: var(--steel-700); }

/* ---------- news ---------- */
.news-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); }
.news-card { text-decoration: none; color: inherit; display: block; background: var(--white); border: 1px solid var(--paper-100); border-radius: var(--radius); overflow: hidden; }
.news-card .media { aspect-ratio: 16/9; background: var(--gradient-dark); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.news-card:hover .media img { transform: scale(1.05); }
.news-card .media .icon { color: var(--steel-700); width: 44px; height: 44px; }
.news-card .body { padding: 1.4rem 1.5rem; }
.news-card time { font-family: var(--font-mono); font-size: 0.76rem; color: var(--amber-600); text-transform: uppercase; letter-spacing: 0.08em; }
.news-card h3 { font-size: 1.1rem; margin: 0.4em 0 0.4em; }
.news-card p { color: var(--ink-600); font-size: 0.92rem; margin: 0; }

.post-header { max-width: 44rem; }
.post-cover { width: 100%; aspect-ratio: 16/7; object-fit: cover; background: var(--gradient-dark); margin-bottom: 2rem; border-radius: var(--radius); }
.post-body { max-width: 44rem; font-size: 1.02rem; }
.post-body h2 { font-size: 1.5rem; margin-top: 1.4em; }
.post-body a { color: var(--amber-600); }

/* ---------- youtube embed (lite facade) ---------- */
.yt-embed {
  position: relative; aspect-ratio: 16/9; background: var(--gradient-dark);
  border: 1px solid var(--steel-700); border-radius: var(--radius); overflow: hidden; cursor: pointer;
}
.yt-embed img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity var(--transition); }
.yt-embed:hover img { opacity: 0.95; }
.yt-embed .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.yt-embed .play span {
  width: 68px; height: 68px; border-radius: 50%; background: rgba(226,161,61,0.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition);
}
.yt-embed:hover .play span { transform: scale(1.08); }
.yt-embed .play svg { width: 24px; height: 24px; color: var(--ink-900); margin-left: 3px; }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px; }
.gallery-item { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--gradient-dark); border-radius: var(--radius); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.6em 0.8em;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--white); font-size: 0.8rem; font-family: var(--font-mono);
}
.empty-state {
  border: 1px dashed var(--steel-500); border-radius: var(--radius); padding: 3rem 2rem; text-align: center; color: var(--ink-600);
  font-family: var(--font-mono); font-size: 0.9rem;
}
section.on-dark .empty-state { color: var(--steel-300); border-color: var(--steel-700); }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--gradient-dark); color: var(--white);
  padding: 2rem 2rem 2.2rem; border-top: 3px solid var(--amber-500);
  border-radius: var(--radius); overflow: hidden;
}
.contact-card dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-400); margin-top: 1.3em; }
.contact-card dd { margin: 0.3em 0 0; font-size: 1rem; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: var(--amber-400); }

.field { margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; margin-bottom: 0.45em; color: var(--ink-600); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.75em 0.85em; border: 1px solid var(--steel-500); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.98rem; background: var(--white); color: var(--ink-900);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--amber-500); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--ink-600); margin-top: 0.5em; }
.alert { padding: 0.9em 1.1em; border-radius: var(--radius); font-size: 0.92rem; margin-bottom: 1.3rem; }
.alert-success { background: #e8f3e6; color: #285c22; border: 1px solid #b7dbb1; }
.alert-error { background: #fbeaea; color: #7a2323; border: 1px solid #f0c2c2; }

/* ---------- footer as title block ---------- */
.site-footer { background: var(--gradient-dark); color: var(--steel-300); border-top: 1px solid var(--steel-700); padding: 3rem 0 5rem 0;}
.title-block { padding: 3rem 0 1.5rem; }
.title-block-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.tb-cell { padding: 1.1rem 1.3rem; }
.tb-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-400); display: block; margin-bottom: 0.5em; }
.tb-value { color: var(--white); font-size: 0.95rem; }
.tb-value a { text-decoration: none; }
.tb-value a:hover { color: var(--amber-400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  padding-top: 3rem; font-family: var(--font-mono); font-size: 0.76rem; color: var(--steel-500);
}
.footer-bottom a { color: var(--steel-500); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber-400); }

@media (max-width: 640px) {
  .title-block { text-align: center; }
  .title-block-grid { grid-template-columns: 1fr; border-left: none; border-right: none; }
  .tb-cell { border-left: none;}
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
}

/* ---------- misc pages ---------- */
.page-header { padding: clamp(2.5rem, 6vw, 4rem) 0 1rem; background: var(--gradient-dark); color: var(--white); }
.page-header h1 { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--white); }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--amber-600); }

.about-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; } }

.error-page { padding: 7rem 0; text-align: center; }
.error-page .code { font-family: var(--font-display); font-size: 6rem; color: var(--steel-500); margin: 0; }

@media (max-width: 640px) {
  .contact-layout { gap: 2rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

.visually-hidden:focus { position: fixed; top: 1rem; left: 1rem; width: auto; height: auto; clip: auto; padding: .8rem 1rem; background: white; color: #16181b; z-index: 1000; }

/* Contemporary finish, retaining the navy and amber brand palette. */
.main-nav a, .brand-sub, .btn, .eyebrow, .category-card .go,
.hero-meta, .hero-badge, .hero-stats dd, .marquee-strip span {
  font-family: var(--font-body);
  letter-spacing: .015em;
}
.main-nav a { font-size: .875rem; font-weight: 500; }
.main-nav, .main-nav ul { gap: 1.15rem; }
.brand-sub { text-transform: none; font-size: .68rem; color: var(--steel-300); }
.btn { text-transform: none; font-weight: 600; border-radius: 10px; min-height: 44px; }
.btn .strap { display: none; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .06em; }
.product-card { border: 1px solid #dfe4ec; box-shadow: 0 4px 18px #0b122005; border-radius: 18px; }
.product-card h3 { font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.product-card .body { padding: 1.4rem; }
.category-card { border-color: #ffffff16; box-shadow: 0 6px 20px #0b122008; border-radius: 18px; }
.category-card .go { text-transform: none; font-weight: 500; }
.news-card { border-radius: 18px; }
.page-header { padding-bottom: 2rem; }
.hero { --hero-accent: var(--amber-500); --hero-accent-bright: var(--amber-400); --hero-accent-soft: #e2a13d0c; --hero-accent-glow: transparent; }
.hero-grid, .hero-noise, .plate-corner, .hero-plate::before { display: none; }
.hero h1.hero-title { font-size: clamp(2.2rem, 4.8vw, 3.7rem); line-height: 1.1; letter-spacing: -.035em; }
.hero-title .line { text-shadow: none; color: #fff; }
.hero-title .outline { -webkit-text-stroke: 0; color: var(--amber-400); text-shadow: none; }
.hero-badge { border-radius: 6px; box-shadow: none; color: var(--ink-900); }
.hero .btn-primary { color: var(--ink-900); }
.hero-plate { border: 1px solid #ffffff1c; border-radius: 24px; background: #ffffff04; box-shadow: 0 20px 50px #0002; }
.hero-stats { border-top-color: #ffffff1c; }
.hero-stats > div { border-right-color: #ffffff1c; }
.hero-stats dd { text-transform: none; font-size: .75rem; }
.marquee-strip { border-color: #ffffff12; }
.marquee-strip span { font-size: .75rem; }
@media(max-width:880px) {
  .main-nav { gap: 1.5rem; }
  .main-nav ul { gap: 0; }
}
