/* =========================================================
   METAL MARODI — demo stranica
   Premium industrial / architectural metalwork
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #111111;
  --ink-2: #181818;
  --ink-3: #222222;
  --steel: #2c2c2c;
  --paper: #F3F1EC;
  --paper-2: #FAF9F6;
  --bronze: #B48A5A;
  --bronze-soft: #c9a77f;
  --bronze-dim: rgba(180, 138, 90, 0.35);

  --text-dark: #1a1a1a;
  --text-muted-dark: #5d5a55;
  --text-light: #ECE9E3;
  --text-muted-light: #a39f98;

  --line-dark: rgba(17, 17, 17, 0.14);
  --line-light: rgba(243, 241, 236, 0.14);

  --font-display: "Cormorant Garamond", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 11vw, 10rem);
  --header-h: 88px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure,
blockquote,
dl,
dd {
  margin: 0;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
.hero-title,
.section-title {
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.012em;
}

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--bronze);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Section surfaces ---------- */
.section-light,
.section-paper,
.section-dark,
.section-forge {
  padding-block: var(--section-y);
  position: relative;
}

.section-light {
  background: var(--paper-2);
  color: var(--text-dark);
}

.section-paper {
  background: var(--paper);
  color: var(--text-dark);
}

.section-dark {
  background: var(--ink);
  color: var(--text-light);
}

.section-forge {
  background:
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(180, 138, 90, 0.14), transparent 70%),
    var(--ink-2);
  color: var(--text-light);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 1.5rem;
}

.section-dark .eyebrow,
.section-forge .eyebrow {
  color: var(--text-muted-light);
}

.eyebrow-bronze,
.section-dark .eyebrow-bronze,
.section-forge .eyebrow-bronze {
  color: var(--bronze-soft);
}

.eyebrow-line {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

.section-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-muted-dark);
  max-width: 40ch;
  margin-top: 1.5rem;
}

.section-dark .section-sub,
.section-forge .section-sub {
  color: var(--text-muted-light);
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-dark);
}

.section-head {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-head-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 2rem 4rem;
}

.section-head-split .section-sub {
  margin-top: 0;
  justify-self: end;
}

.section-head-center {
  text-align: center;
}

.section-head-center .section-sub {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 1px;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-lg {
  min-height: 58px;
  padding-inline: 2.25rem;
}

.btn-block {
  width: 100%;
}

.btn-light {
  background: var(--paper-2);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--bronze);
  color: var(--ink);
}

.btn-ghost-light {
  border-color: rgba(250, 249, 246, 0.5);
  color: var(--paper-2);
}

.btn-ghost-light:hover {
  border-color: var(--paper-2);
  background: rgba(250, 249, 246, 0.08);
}

.btn-outline {
  border-color: rgba(250, 249, 246, 0.45);
  color: var(--paper-2);
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  font-size: 0.7rem;
}

.btn-outline:hover {
  border-color: var(--bronze);
  background: var(--bronze);
  color: var(--ink);
}

.btn-bronze {
  background: var(--bronze);
  color: var(--ink);
}

.btn-bronze:hover {
  background: var(--paper-2);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--paper-2);
  transition: background-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(17, 17, 17, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-light);
}

.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .header-inner {
  height: 72px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.wordmark-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding-left: 0.9rem;
  border-left: 2px solid var(--bronze);
}

.wordmark-name span + span {
  margin-top: 0.3rem;
}

.wordmark-tag {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.6);
  max-width: 11ch;
  line-height: 1.4;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
}

.main-nav a:not(.btn) {
  position: relative;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding-block: 0.4rem;
  color: rgba(250, 249, 246, 0.85);
  transition: color 0.3s var(--ease);
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.main-nav a:not(.btn):hover,
.main-nav a.is-active {
  color: var(--paper-2);
}

.main-nav a:not(.btn):hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-mobile-cta {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-left: auto;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--paper-2);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}

.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper-2);
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 55%;
  will-change: transform;
  animation: heroZoom 2.4s var(--ease-out) both;
}

@keyframes heroZoom {
  from { transform: scale(1.08); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.55) 0%, rgba(17, 17, 17, 0) 22%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.45) 38%, rgba(17, 17, 17, 0.05) 70%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.45) 0%, rgba(17, 17, 17, 0) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(5.5rem, 9vw, 7.5rem);
}

.hero-eyebrow {
  color: var(--bronze-soft);
  margin-bottom: 2rem;
  animation: fadeUp 1s 0.3s var(--ease-out) both;
}

.hero-title {
  font-size: clamp(2.7rem, 8.4vw, 8.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero-title .line > span {
  display: inline-block;
  animation: lineUp 1.2s var(--ease-out) both;
}

.hero-title .line:nth-child(1) > span { animation-delay: 0.45s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.6s; }

.hero-title .line-indent {
  padding-left: clamp(0rem, 8vw, 9rem);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

@keyframes lineUp {
  from { transform: translateY(105%); }
  to { transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 4rem;
  flex-wrap: wrap;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  animation: fadeUp 1s 0.95s var(--ease-out) both;
}

.hero-sub {
  max-width: 44ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(250, 249, 246, 0.85);
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.6);
  border-top: 1px solid var(--line-light);
  animation: fadeUp 1s 1.2s var(--ease-out) both;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.scroll-line {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 1px;
  background: rgba(250, 249, 246, 0.25);
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bronze);
  animation: scrollLine 2.4s var(--ease) infinite;
}

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* =========================================================
   INTRO
   ========================================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem clamp(3rem, 7vw, 7rem);
  align-items: end;
}

.intro-head .section-title {
  max-width: 13ch;
}

.intro-text {
  max-width: 52ch;
  color: var(--text-muted-dark);
}

.intro-text .lead {
  margin-bottom: 1.4rem;
}

.era-mark {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(4rem, 9vw, 8rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-display);
  line-height: 0.85;
}

.era-year {
  font-size: clamp(4.5rem, 17vw, 16rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ink);
}

.era-now {
  font-size: clamp(4.5rem, 17vw, 16rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.era-rod {
  flex: 1;
  min-width: 2.5rem;
  height: 2px;
  background: var(--line-dark);
  position: relative;
  overflow: hidden;
}

.era-rod-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-soft));
  transform-origin: left;
  transform: scaleX(1);
}

.js .era-mark .era-rod-inner {
  transform: scaleX(0);
  transition: transform 1.6s 0.3s var(--ease-out);
}

.js .era-mark.is-visible .era-rod-inner {
  transform: scaleX(1);
}

.era-rod::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--bronze);
  border-right: 2px solid var(--bronze);
  transform: translateY(-50%) rotate(45deg);
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.products .section-head .section-title {
  max-width: 14ch;
}

.product-list {
  display: grid;
  gap: clamp(4rem, 9vw, 8rem);
}

.product {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.product-media {
  grid-column: 1 / span 7;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--ink-3);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.product:hover .product-media img {
  transform: scale(1.04);
}

.product-body {
  grid-column: 9 / span 4;
  position: relative;
}

.product-flip .product-media {
  grid-column: 6 / span 7;
  grid-row: 1;
}

.product-flip .product-body {
  grid-column: 1 / span 4;
  grid-row: 1;
}

.product-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--bronze);
  margin-bottom: 1.5rem;
}

.product-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-dark);
}

.product-body p {
  color: var(--text-muted-dark);
  max-width: 38ch;
}

/* =========================================================
   PORTFOLIO (MASONRY)
   ========================================================= */
.portfolio .section-title {
  color: var(--paper-2);
}

.masonry {
  columns: 3;
  column-gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.m-item {
  display: block;
  width: 100%;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
  cursor: zoom-in;
}

.m-item img {
  width: 100%;
  height: auto;
  transition: transform 1s var(--ease-out), opacity 0.5s var(--ease);
}

.m-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(180, 138, 90, 0);
  transition: border-color 0.5s var(--ease);
  pointer-events: none;
}

.m-item:hover img,
.m-item:focus-visible img {
  transform: scale(1.035);
}

.m-item:hover::after,
.m-item:focus-visible::after {
  border-color: rgba(180, 138, 90, 0.7);
}

/* =========================================================
   TIMELINE
   ========================================================= */
.tradition .section-title {
  color: var(--paper-2);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  counter-reset: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bronze) 8%, var(--bronze-soft) 92%, transparent);
  opacity: 0.8;
}

.tl-item {
  position: relative;
  padding-top: 3rem;
}

.tl-node {
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--ink-2);
  border: 1px solid var(--bronze);
  transform: rotate(45deg);
}

.tl-now .tl-node {
  background: var(--bronze);
}

.tl-year {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.5vw, 5.2rem);
  font-weight: 500;
  line-height: 1;
  color: var(--paper-2);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.tl-now .tl-year {
  font-style: italic;
  color: var(--bronze-soft);
}

.tl-name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.tl-item p {
  color: var(--text-muted-light);
  font-size: 0.97rem;
  max-width: 32ch;
}

/* =========================================================
   CRAFT RAIL (KOVANO)
   ========================================================= */
.craft-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem clamp(3rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.craft-head .section-title {
  max-width: 11ch;
}

.craft-text {
  color: var(--text-muted-dark);
  max-width: 50ch;
}

.craft-rail {
  --rail-pad: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  padding-inline: var(--rail-pad);
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.craft-rail::-webkit-scrollbar {
  display: none;
}

.rail-item {
  position: relative;
  flex: 0 0 auto;
  height: clamp(360px, 62vh, 640px);
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--ink-3);
  cursor: zoom-in;
}

.rail-item img {
  height: 100%;
  width: auto;
  max-width: none;
  transition: transform 1.1s var(--ease-out);
}

.rail-item:hover img,
.rail-item:focus-visible img {
  transform: scale(1.035);
}

.rail-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.25rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  color: var(--paper-2);
  background: linear-gradient(0deg, rgba(17, 17, 17, 0.75), transparent);
}

.rail-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.rail-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-dark);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.rail-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-2);
}

.rail-btn svg,
.lb-nav svg,
.lb-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.rail-progress {
  flex: 1;
  height: 1px;
  background: var(--line-dark);
  position: relative;
  max-width: 420px;
}

.rail-progress span {
  position: absolute;
  left: 0;
  top: -0.5px;
  height: 2px;
  width: 20%;
  background: var(--bronze);
  transition: width 0.2s linear;
}

/* =========================================================
   FEATURE — LJULJAČKA
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-areas:
    "main text text"
    "main a b";
  gap: clamp(1rem, 2vw, 1.5rem);
}

.f-main,
.f-detail {
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
  cursor: zoom-in;
  display: block;
}

.f-main {
  grid-area: main;
  min-height: 560px;
}

.f-main img,
.f-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.f-main img {
  position: absolute;
  inset: 0;
}

.f-main:hover img,
.f-detail:hover img,
.f-main:focus-visible img,
.f-detail:focus-visible img {
  transform: scale(1.035);
}

.f-detail-a { grid-area: a; aspect-ratio: 4 / 5; }
.f-detail-b { grid-area: b; aspect-ratio: 4 / 5; }

.feature-text {
  grid-area: text;
  padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 3rem) clamp(0rem, 2.5vw, 2.5rem);
  align-self: end;
}

.feature-title {
  font-size: clamp(3rem, 7vw, 6.4rem);
  color: var(--paper-2);
  margin-bottom: 2rem;
}

.feature-text p {
  color: var(--text-muted-light);
  max-width: 46ch;
}

/* =========================================================
   PROCESS
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.step {
  padding: 2.25rem clamp(1rem, 2vw, 2rem) 0 0;
  position: relative;
}

.step + .step {
  padding-left: clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--line-dark);
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--bronze);
}

.step + .step::before {
  left: -4px;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 0.9;
  font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  margin-bottom: 2.5rem;
}

.step-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-muted-dark);
  font-size: 0.97rem;
  max-width: 30ch;
}

/* =========================================================
   WHY
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.why-head {
  position: sticky;
  top: 120px;
}

.why-head .section-title {
  color: var(--paper-2);
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  max-width: 12ch;
}

.why-list li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: clamp(1.25rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  line-height: 1.12;
  font-weight: 500;
  color: var(--paper-2);
  transition: color 0.4s var(--ease), padding-left 0.5s var(--ease-out);
}

.why-list li:first-child {
  border-top: 1px solid var(--line-light);
}

.why-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--bronze);
  transform: translateY(-0.2em) rotate(45deg);
}

.why-list li:hover {
  color: var(--bronze-soft);
  padding-left: 0.5rem;
}

/* =========================================================
   AREA
   ========================================================= */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.area-grid .section-title {
  max-width: 11ch;
}

.area-intro {
  margin-top: 2rem;
  color: var(--text-muted-dark);
}

.area-list li {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.1;
  color: var(--text-muted-dark);
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line-dark);
}

.area-list li span {
  color: var(--ink);
  font-weight: 500;
}

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.reviews .section-head {
  margin-bottom: 2.5rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}

.review {
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}

.stars {
  color: var(--bronze);
  letter-spacing: 0.25em;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.review blockquote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 1.75rem;
  hyphens: none;
}

.review figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.92rem;
}

.review figcaption span {
  color: var(--text-muted-dark);
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper-2);
  background: var(--ink);
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.6) 45%, rgba(17, 17, 17, 0.2) 100%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.5), transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 2;
  padding-block: 6rem;
}

.cta-title {
  font-size: clamp(2.6rem, 7vw, 6.6rem);
  max-width: 13ch;
  margin-bottom: 2rem;
}

.cta-content p {
  max-width: 44ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(250, 249, 246, 0.85);
  margin-bottom: 2.5rem;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.contact-info .section-title {
  color: var(--paper-2);
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  max-width: 12ch;
  margin-bottom: 3rem;
}

.contact-list > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line-light);
}

.contact-list dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  padding-top: 0.25rem;
}

.contact-list dd {
  color: var(--paper-2);
  line-height: 1.6;
  min-width: 0;
  overflow-wrap: anywhere;
}

.text-link {
  background-image: linear-gradient(var(--bronze), var(--bronze));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.45s var(--ease-out), color 0.3s var(--ease);
}

.text-link:hover {
  background-size: 100% 1px;
  color: var(--bronze-soft);
}

.contact-form {
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  padding: clamp(1.5rem, 4vw, 3rem);
  min-width: 0;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  min-width: 0;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 0.6rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  color: var(--paper-2);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(243, 241, 236, 0.25);
  border-radius: 0;
  padding: 0.7rem 0;
  transition: border-color 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--bronze);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  box-shadow: 0 1px 0 0 var(--bronze);
}

.field .is-invalid {
  border-bottom-color: #c9705a;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--bronze-soft);
  border-bottom: 1.5px solid var(--bronze-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field select {
  padding-right: 1.5rem;
  cursor: pointer;
}

.field select option {
  background: var(--ink-2);
  color: var(--paper-2);
}

.form-error {
  color: #e2a08f;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.form-success {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--bronze);
  background: rgba(180, 138, 90, 0.1);
  color: var(--paper-2);
}

/* =========================================================
   DISCLAIMER
   ========================================================= */
.disclaimer {
  background: var(--ink-3);
  color: #d6d2cb;
  border-top: 1px solid var(--line-light);
}

.disclaimer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 3rem;
  padding-block: 1.75rem;
  flex-wrap: wrap;
}

.disclaimer-inner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 78ch;
}

.disclaimer-badge {
  flex-shrink: 0;
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  border: 1px solid var(--bronze-dim);
  padding: 0.55rem 1rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--text-muted-light);
  padding-top: clamp(4rem, 7vw, 6rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.footer-wordmark {
  color: var(--paper-2);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-muted-light);
}

.footer-nav ul {
  display: grid;
  gap: 0.6rem;
}

.footer-nav a,
.footer-contact a {
  transition: color 0.3s var(--ease);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--bronze-soft);
}

.footer-contact {
  display: grid;
  gap: 1.1rem;
  font-style: normal;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.8rem;
}

.to-top:hover {
  color: var(--paper-2);
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.95);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  touch-action: pan-y;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lb-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(100vw - 10rem);
  max-height: 100vh;
  padding-block: 4.5rem 1rem;
}

.lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  max-height: calc(100svh - 9rem);
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.25s var(--ease);
}

.lb-figure img.is-loading {
  opacity: 0;
}

.lb-caption {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.75);
  text-align: center;
}

.lb-count {
  color: var(--bronze-soft);
}

.lb-close,
.lb-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--paper-2);
  border: 1px solid rgba(250, 249, 246, 0.2);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  z-index: 2;
}

.lb-close:hover,
.lb-nav:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--ink);
}

.lb-close {
  top: 1.25rem;
  right: 1.25rem;
}

.lb-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* =========================================================
   REVEAL (only when JS available)
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .img-reveal {
  clip-path: inset(6% 6% 6% 6%);
  opacity: 0.2;
  transition: clip-path 1.3s var(--ease-out), opacity 1s var(--ease-out);
}

.js .img-reveal.is-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 1440px) {
  .section-title {
    font-size: 5.6rem;
  }
}

@media (max-width: 1200px) {
  .product-body {
    grid-column: 8 / span 5;
  }

  .product-flip .product-body {
    grid-column: 1 / span 5;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 76px;
  }

  .header-cta,
  .wordmark-tag {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2.5rem;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
    overflow-y: auto;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--line-light);
  }

  .main-nav a:not(.btn) {
    display: block;
    padding-block: 0.9rem;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 6vw, 2.6rem);
    font-weight: 500;
    letter-spacing: 0;
  }

  .main-nav a:not(.btn)::after {
    display: none;
  }

  .main-nav a.is-active {
    color: var(--bronze-soft);
  }

  .nav-mobile-cta {
    display: inline-flex;
    align-self: flex-start;
    min-height: 56px;
  }

  .section-head-split,
  .intro-grid,
  .craft-head,
  .why-grid,
  .area-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head-split .section-sub {
    justify-self: start;
  }

  .why-head {
    position: static;
  }

  .masonry {
    columns: 2;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3.5rem;
  }

  .timeline::before {
    display: none;
  }

  .tl-item::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--bronze), rgba(180, 138, 90, 0.15));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-dark);
    margin-top: 2.5rem;
  }

  .step:nth-child(3)::before {
    left: 0;
  }

  .step:nth-child(4) {
    border-top: 1px solid var(--line-dark);
    margin-top: 2.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main main"
      "text text"
      "a b";
  }

  .f-main {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .feature-text {
    padding: 2rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .product,
  .product-flip {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .product-media,
  .product-flip .product-media,
  .product-body,
  .product-flip .product-body {
    grid-column: 1;
    grid-row: auto;
  }

  .product-num {
    margin-bottom: 1rem;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-scroll {
    display: none;
  }

  .hero-meta {
    justify-content: flex-start;
  }

  .lb-figure {
    max-width: 100vw;
    padding-inline: 0.75rem;
  }

  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 1.25rem;
    transform: none;
    width: 50px;
    height: 50px;
  }

  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }

  .lb-figure img {
    max-height: calc(100vh - 12rem);
    max-height: calc(100svh - 12rem);
  }

  .lb-figure {
    padding-block: 4.5rem 5.5rem;
  }

  .rail-item {
    height: auto;
    width: 82vw;
    max-width: 460px;
    align-self: flex-start;
  }

  .rail-item img {
    width: 100%;
    height: auto;
    max-height: 72vh;
    object-fit: cover;
  }
}

@media (max-width: 560px) {
  .era-mark {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .era-year,
  .era-now {
    font-size: clamp(4rem, 26vw, 7rem);
  }

  .era-rod {
    order: 3;
    flex-basis: 100%;
    max-width: 60%;
  }

  .era-now {
    order: 4;
  }

  .masonry {
    columns: 1;
  }

  .timeline {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding-left: 2rem;
  }

  .timeline::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 6px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--bronze), var(--bronze-soft) 85%, transparent);
  }

  .tl-item::before {
    display: none;
  }

  .tl-item {
    padding-top: 0;
    padding-bottom: 3rem;
  }

  .tl-item:last-child {
    padding-bottom: 0;
  }

  .tl-node {
    left: calc(-2rem);
    top: 0.6rem;
  }

  .tl-year {
    font-size: 3.4rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step,
  .step + .step {
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 2.5rem;
  }

  .step + .step {
    border-top: 1px solid var(--line-dark);
    margin-top: 0;
  }

  .step + .step::before,
  .step:nth-child(3)::before {
    left: 0;
  }

  .step-num {
    margin-bottom: 1.5rem;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-content .btn {
    width: 100%;
  }

  .disclaimer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 400px) {
  :root {
    --gutter: 1.15rem;
  }

  .hero-title {
    font-size: 2.55rem;
  }

  .btn {
    padding-inline: 1.25rem;
    letter-spacing: 0.12em;
  }

  .wordmark-name {
    font-size: 0.85rem;
    letter-spacing: 0.26em;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal,
  .js .img-reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .js .era-mark .era-rod-inner {
    transform: scaleX(1);
  }

  .hero-img {
    height: 100%;
    transform: none !important;
  }

  .scroll-line::after {
    display: none;
  }
}

/* Header while the mobile menu is open: drop the blur so the fixed
   menu panel is positioned against the viewport, not the header. */
.site-header.nav-open {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--ink);
  border-bottom-color: transparent;
}

.lb-nav[hidden] {
  display: none;
}

[tabindex="-1"]:focus {
  outline: none;
}



.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

.footer-contact .phone {
  display: inline-block;
}