/* ============================================================
   AXEL RING — Berlin Metallschmied
   Industrial / hardcore / machinery aesthetic
   ============================================================ */

:root {
  --bg: #0b0c0e;
  --bg-2: #101216;
  --panel: #15181c;
  --panel-2: #1b1f24;
  --ink: #e9e7e2;
  --muted: #8b919a;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --steel: #2c3138;
  --yellow: #f2b705;
  --rust: #c2601f;
  --shadow: 0 24px 60px rgba(0, 0, 0, .55);

  --font-display: "Archivo Black", "Arial Black", "Helvetica Neue", sans-serif;
  --font-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "Cascadia Mono", "Consolas", monospace;

  --spine-w: 54px;
  --maxw: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: var(--spine-w);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--yellow); color: #000; }

/* ---------- textures & overlays ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scanline {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(
    to bottom, transparent 0 3px, rgba(0, 0, 0, .18) 3px 4px);
}

/* ---------- vertical spine ---------- */
.spine {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--spine-w); z-index: 60;
  display: flex; align-items: center; justify-content: center;
  background: #000; border-right: 1px solid var(--line);
}
.spine span {
  transform: rotate(180deg); writing-mode: vertical-rl;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(11, 12, 14, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark {
  font-family: var(--font-display); font-size: 26px; line-height: 1;
  letter-spacing: -.02em; color: var(--ink);
}
.brand-mark span { color: var(--yellow); font-weight: 400; margin: 0 2px; }
.brand-text {
  display: flex; flex-direction: column; line-height: 1.1;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase;
}
.brand-text em {
  font-style: normal; font-size: 9px; letter-spacing: .2em;
  color: var(--muted); margin-top: 3px;
}
.header-right { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.nav { display: flex; gap: clamp(10px, 2vw, 34px); }
.nav a {
  position: relative; padding: 6px 2px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  transition: color .2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--yellow); transition: width .25s ease;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* ---------- language switch ---------- */
.lang {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; color: var(--muted);
  padding-left: clamp(16px, 3vw, 40px);
  border-left: 1px solid var(--line);
}
.lang a { color: var(--muted); transition: color .2s ease; }
.lang a:hover { color: var(--ink); }
.lang a.on { color: var(--yellow); }
.lang span { color: var(--line-strong); }

/* ---------- ticker ---------- */
.ticker {
  position: relative; z-index: 40; overflow: hidden;
  background: var(--yellow); color: #0b0c0e;
  border-bottom: 1px solid #000;
}
.ticker-track {
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: marquee 34s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; padding: 7px 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- layout helpers ---------- */
main { position: relative; }
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px, 9vw, 130px) clamp(18px, 4vw, 48px);
}
.section-tight { padding-top: 0; }
.kicker, .section-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--yellow); margin: 0 0 18px;
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 5vw, 58px); line-height: .98;
  letter-spacing: -.01em; margin: 0;
  text-transform: uppercase;
}
.section-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 18px; margin-bottom: 46px;
}
.section-link {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--yellow); padding-bottom: 4px;
  transition: color .2s ease;
}
.section-link:hover { color: var(--yellow); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; cursor: pointer; border: 1px solid var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-solid { background: var(--ink); color: #0b0c0e; }
.btn-solid:hover { background: var(--yellow); border-color: var(--yellow); color: #0b0c0e; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #0b0c0e; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(92vh - 90px);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(242, 183, 5, .10), transparent 55%),
    radial-gradient(90% 80% at 10% 90%, rgba(194, 96, 31, .12), transparent 60%),
    linear-gradient(160deg, #171a1f 0%, #0b0c0e 62%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(120% 100% at 30% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 30% 30%, #000 20%, transparent 78%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  padding: clamp(48px, 8vw, 100px) clamp(18px, 4vw, 48px);
}
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(64px, 17vw, 230px); line-height: .84;
  letter-spacing: -.03em; margin: 0 0 30px; text-transform: uppercase;
}
.hero-title span { display: block; }
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-lede {
  max-width: 560px; font-size: clamp(15px, 1.4vw, 18px);
  color: #cfcdc7; margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero-stats {
  list-style: none; display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px);
  margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line);
}
.hero-stats strong {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 3vw, 34px); line-height: 1;
}
.hero-stats span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.hero-tag {
  position: absolute; right: 18px; bottom: 22px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--muted);
}

/* ---------- piece grid ---------- */
.piece-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.piece-grid-full { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.piece {
  position: relative; background: var(--panel);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.piece:hover {
  transform: translateY(-6px); border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.piece-media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(80% 70% at 50% 30%, #23272d, #111317 70%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 6px);
  border-bottom: 1px solid var(--line);
}
.piece-media img {
  width: 82%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.piece:hover .piece-media img { transform: scale(1.06) rotate(-2deg); }
.piece-id, .piece-year {
  position: absolute; top: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  color: var(--muted); text-transform: uppercase;
}
.piece-id { left: 14px; }
.piece-year { right: 14px; color: var(--yellow); }
.piece-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.piece-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.piece-top h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 24px;
  letter-spacing: .01em; margin: 0; text-transform: uppercase;
}
.piece-price {
  font-family: var(--font-mono); font-size: 13px; color: var(--yellow);
  white-space: nowrap;
}
.piece-meta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin: 10px 0 12px;
}
.piece-desc { font-size: 15px; color: #c8c6c0; margin: 0 0 18px; }
.piece-cta {
  margin-top: auto; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  transition: color .2s ease, letter-spacing .2s ease;
}
.piece-cta:hover { color: var(--yellow); letter-spacing: .24em; }

/* ---------- manifest ---------- */
.manifest {
  background: var(--bg-2); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 9vw, 120px) clamp(18px, 4vw, 48px);
}
.manifest > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.manifest blockquote {
  font-family: var(--font-head); font-weight: 300;
  font-size: clamp(22px, 3.4vw, 44px); line-height: 1.18;
  margin: 0 auto 46px; max-width: 1000px; letter-spacing: -.01em;
}
.manifest blockquote cite {
  display: block; margin-top: 22px; font-family: var(--font-mono);
  font-style: normal; font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--yellow);
}
.manifest-cols {
  display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: var(--maxw); border-top: 1px solid var(--line);
}
.manifest-cols > div {
  padding: 26px 26px 26px 0;
  border-bottom: 1px solid var(--line);
}
.manifest-cols h4 {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink); margin: 0 0 12px;
}
.manifest-cols p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(50px, 8vw, 110px) clamp(18px, 4vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 30px;
}
.cta h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 6vw, 76px); line-height: .95; margin: 0;
  text-transform: uppercase; letter-spacing: -.02em;
}
.cta h2 .outline { color: transparent; -webkit-text-stroke: 2px var(--yellow); }
.cta-note { font-family: var(--font-mono); color: var(--muted); margin: 14px 0 0; }

/* ---------- page head ---------- */
.page-head {
  position: relative; overflow: hidden;
  padding: clamp(60px, 11vw, 150px) clamp(18px, 4vw, 48px) clamp(30px, 5vw, 60px);
  max-width: var(--maxw); margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.page-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(46px, 12vw, 168px); line-height: .9;
  letter-spacing: -.03em; margin: 0 0 20px; text-transform: uppercase;
}
.page-sub { max-width: 620px; font-size: clamp(15px, 1.5vw, 19px); color: #cfcdc7; margin: 0; }

/* ---------- about ---------- */
.about-cols {
  display: grid; gap: 48px; grid-template-columns: 1.6fr 1fr; align-items: start;
}
.about-text .lead {
  font-size: clamp(18px, 2.2vw, 26px); color: var(--ink); line-height: 1.4;
  margin: 0 0 26px;
}
.about-text p { color: #c8c6c0; }
.about-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line);
}
.fact strong {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(24px, 3vw, 38px); color: var(--yellow); line-height: 1;
}
.fact span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--line);
}
.steps li {
  padding: 30px 24px 34px 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.steps li + li { border-left: 1px solid var(--line); padding-left: 24px; }
.steps span {
  font-family: var(--font-mono); font-size: 13px; color: var(--yellow);
  letter-spacing: .1em;
}
.steps h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 24px;
  text-transform: uppercase; margin: 14px 0 10px;
}
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid; gap: 56px; grid-template-columns: 1.4fr 1fr; align-items: start;
}
.contact-form { display: grid; gap: 20px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--panel); color: var(--ink);
  border: 1px solid var(--line-strong); padding: 15px 16px;
  font-family: var(--font-mono); font-size: 14px; resize: vertical;
  transition: border-color .2s ease, background .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--yellow); background: var(--panel-2);
}
.contact-form .btn { justify-self: start; margin-top: 8px; }
.contact-info { display: grid; gap: 26px; }
.info-block { border-top: 1px solid var(--line); padding-top: 18px; }
.info-block p { margin: 0; }
.info-block a { color: var(--yellow); }
.footer-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 10px !important;
}
.muted { color: var(--muted); font-size: 14px; }
.flash {
  font-family: var(--font-mono); font-size: 13px; padding: 14px 16px;
  border: 1px solid var(--yellow); background: rgba(242, 183, 5, .08); margin: 0;
}
.flash-err { border-color: var(--rust); background: rgba(194, 96, 31, .1); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: #08090a;
  padding: clamp(40px, 6vw, 70px) clamp(18px, 4vw, 48px) 26px;
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.footer-col p { margin: 0 0 6px; font-size: 14px; color: #c8c6c0; }
.footer-col a:hover { color: var(--yellow); }
.footer-mark { display: flex; justify-content: flex-end; }
.stamp {
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  letter-spacing: .22em; line-height: 1.25; text-align: center;
  color: var(--yellow); border: 2px solid var(--yellow);
  padding: 12px 14px; transform: rotate(-6deg); text-transform: uppercase;
}
.footer-bottom {
  max-width: var(--maxw); margin: 44px auto 0; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  :root { --spine-w: 0px; }
  body { padding-left: 0; }
  .spine { display: none; }
  .about-cols, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps li + li { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .header-right { flex-wrap: wrap; gap: 14px; }
  .nav { flex-wrap: wrap; gap: 14px; }
  .lang { padding-left: 14px; }
  .footer-mark { justify-content: flex-start; }
  .hero-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
