@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Syne:wght@500;600;700;800&display=swap');

:root {
  --bg: #08090b;
  --bg-elevated: #101216;
  --fg: #f2f0eb;
  --muted: #9a9590;
  --line: rgba(242, 240, 235, 0.12);
  --accent: #c4a574;
  --chrome: linear-gradient(115deg, #8a9199 0%, #eef1f4 22%, #6d757e 45%, #f7f8fa 62%, #9aa3ad 82%, #d5dae0 100%);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 4.75rem;
  --max: 1280px;
}

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

html { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.has-cursor { cursor: none; }
body.has-cursor a,
body.has-cursor button { cursor: none; }

body.is-touch { cursor: auto; }
body.is-touch .cursor,
body.is-touch .cursor-dot { display: none !important; }
body.is-touch a,
body.is-touch button { cursor: pointer; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; color: inherit; cursor: pointer; }
ul { list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Custom cursor ——— */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: difference;
}

.cursor {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.85);
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s ease, border-color 0.35s ease;
}

.cursor.is-hover {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.08);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  transform: translate(-50%, -50%);
}

/* ——— Noise overlay ——— */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ——— Typography ——— */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.chrome-text {
  background: var(--chrome);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chromeShift 7s ease-in-out infinite;
}

@keyframes chromeShift {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.7;
}

h1.display { font-size: clamp(3.4rem, 9.5vw, 7.5rem); }
h2.display { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.05rem 1.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover { transform: translateY(-3px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}

.btn-primary:hover { background: var(--accent); color: #111; }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--fg);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { border-color: rgba(242,240,235,0.4); background: rgba(255,255,255,0.04); }

.btn-arrow::after {
  content: '→';
  transition: transform 0.35s var(--ease);
}

.btn-arrow:hover::after { transform: translateX(5px); }

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
}

.logo-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--chrome);
  background-size: 200% 200%;
  animation: chromeShift 6s ease-in-out infinite;
  position: relative;
}

.logo-mark::after {
  content: 'DK';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  color: #0c0c0e;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-word span {
  font-weight: 500;
  opacity: 0.45;
  margin-left: 0.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--fg); }

.nav-cta {
  padding: 0.7rem 1.15rem !important;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--fg) !important;
  border-radius: 2px;
}

.nav-cta:hover {
  background: var(--fg) !important;
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
  z-index: 2;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.4rem;
  height: 1.5px;
  background: var(--fg);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s var(--ease);
}

.nav-toggle span { top: 50%; }
.nav-toggle span::before,
.nav-toggle span::after { content: ''; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-bottom: 4.5rem;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.38;
  mix-blend-mode: luminosity;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 70% 55% at 70% 35%, rgba(196,165,116,0.14), transparent 55%),
    linear-gradient(180deg, rgba(8,9,11,0.35) 0%, rgba(8,9,11,0.2) 40%, rgba(8,9,11,0.92) 100%),
    linear-gradient(90deg, rgba(8,9,11,0.75) 0%, transparent 55%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 2;
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb.a {
  width: 42vw;
  height: 42vw;
  top: -8%;
  right: -8%;
  background: rgba(154, 163, 173, 0.18);
}

.hero-orb.b {
  width: 28vw;
  height: 28vw;
  bottom: 10%;
  left: -6%;
  background: rgba(196, 165, 116, 0.12);
  animation-delay: -4s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, -4%) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .word {
  display: inline-block;
  transform: translateY(110%);
}

.hero .lede {
  margin-bottom: 2.25rem;
  opacity: 0;
  transform: translateY(24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(24px);
}

.hero-meta {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 4.5rem;
  z-index: 3;
  text-align: right;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  color: var(--fg);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* ——— Marquee ——— */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-elevated);
  overflow: hidden;
  padding: 1.15rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 0 1.75rem;
  white-space: nowrap;
  color: var(--muted);
}

.marquee-track span em {
  font-style: normal;
  background: var(--chrome);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chromeShift 5s ease-in-out infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ——— Sections ——— */
.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 40rem;
}

.section-head.spread {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ——— Horizontal product showcase ——— */
.products-pin {
  position: relative;
}

.products-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}

.products-sticky .section-head {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.products-rail {
  display: flex;
  gap: 1.25rem;
  padding-left: max(1.25rem, calc((100vw - var(--max)) / 2));
  padding-right: 20vw;
  width: max-content;
  will-change: transform;
}

.product-panel {
  position: relative;
  width: min(78vw, 520px);
  height: min(62vh, 560px);
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e1014;
  display: block;
  transition: border-color 0.4s ease;
}

.product-panel:hover { border-color: rgba(196, 165, 116, 0.45); }

.product-panel-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(196,165,116,0.16), transparent 50%),
    linear-gradient(160deg, #1a1c22, #0a0b0e);
}

.product-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12% 10% 28%;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.55));
  transition: transform 0.7s var(--ease);
}

.product-panel:hover .product-panel-media img {
  transform: scale(1.07) translateY(-8px);
}

.product-panel-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.14) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}

.product-panel:hover .product-panel-shine { transform: translateX(120%); }

.product-panel-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(8,9,11,0.95) 40%);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.product-panel-info h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.product-panel-info p {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
}

.product-panel-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* ——— Story ——— */
.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.story-visual {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-visual img[data-parallax] {
  height: 120%;
  will-change: transform;
}

.story-visual::after {
  content: '';
  position: absolute;
  inset: auto 8% 8% auto;
  width: 42%;
  height: 42%;
  border: 1px solid var(--accent);
  pointer-events: none;
}

.story-copy .display { margin: 1rem 0 1.35rem; }

.story-copy p {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.founders {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin: 1.5rem 0 2rem;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  margin-bottom: 2rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——— Gallery strip ——— */
.gallery-flow {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-flow::-webkit-scrollbar { display: none; }

.gallery-flow a {
  flex: 0 0 min(72vw, 380px);
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.gallery-flow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  filter: saturate(0.85);
}

.gallery-flow a:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

/* ——— Masonry (uygulamalar) ——— */
.gallery-masonry {
  columns: 3;
  column-gap: 0.85rem;
}

.gallery-masonry a {
  break-inside: avoid;
  display: block;
  margin-bottom: 0.85rem;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.gallery-masonry img {
  width: 100%;
  transition: transform 0.6s var(--ease);
}

.gallery-masonry a:hover img { transform: scale(1.04); }

/* ——— CTA ——— */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
  border-block: 1px solid var(--line);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 40%, rgba(196,165,116,0.18), transparent 42%),
    radial-gradient(circle at 75% 55%, rgba(154,163,173,0.12), transparent 40%);
  animation: orbFloat 14s ease-in-out infinite;
  pointer-events: none;
}

.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { margin: 1rem auto 1.25rem; max-width: 14ch; }
.cta-band .lede { margin: 0 auto 2rem; }

/* ——— Inner pages ——— */
.page-hero {
  padding: calc(var(--nav-h) + 4.5rem) 0 3.5rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(196,165,116,0.1), transparent 55%),
    var(--bg);
}

.page-hero h1 { margin: 0.85rem 0 1rem; }

/* Legacy product grid for urunler.html */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-elevated);
  transition: transform 0.45s var(--ease), border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196,165,116,0.4);
}

.product-card-media {
  aspect-ratio: 1 / 0.92;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(196,165,116,0.14), transparent 55%),
    linear-gradient(160deg, #1a1c22, #0a0b0e);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.55s var(--ease);
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.5));
}

.product-card:hover .product-card-media img { transform: scale(1.06) translateY(-4px); }

.product-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  background: rgba(8,9,11,0.65);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.product-index {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(242,240,235,0.35);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.3rem 1.2rem;
  gap: 0.4rem;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-card-body p {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 300;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.product-meta {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  gap: 0.35rem;
}

.product-link::after { content: '→'; transition: transform 0.3s var(--ease); }
.product-card:hover .product-link::after { transform: translateX(4px); }

.product-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.product-card.featured .product-card-media {
  aspect-ratio: auto;
  min-height: 240px;
}

.product-card.featured .product-card-media img {
  object-fit: cover;
  padding: 0;
  filter: none;
}

.product-card.featured .product-card-body {
  justify-content: center;
  padding: 2rem 2.25rem;
}

/* Contact / forms */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.contact-card {
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-list { display: grid; gap: 1.35rem; }
.contact-list .label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-list a:hover { color: var(--accent); }

.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  border-radius: 2px;
  transition: border-color 0.25s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea { min-height: 9rem; resize: vertical; }

.map-frame {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 21/9;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9);
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.product-gallery { display: grid; gap: 0.75rem; }
.product-gallery-main {
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.product-thumbs button {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  opacity: 0.65;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.product-thumbs button.is-active,
.product-thumbs button:hover {
  opacity: 1;
  border-color: var(--accent);
}

.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.feature-list { display: grid; gap: 0.75rem; margin: 1.75rem 0 2rem; }
.feature-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--muted);
  font-weight: 300;
}

.feature-list li::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--chrome);
  border-radius: 50%;
}

/* Footer */
.site-footer {
  background: #050608;
  color: var(--muted);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo-word { color: var(--fg); margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-weight: 300; font-size: 0.95rem; max-width: 22rem; line-height: 1.7; }

.footer-col h4 {
  color: var(--fg);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-weight: 300;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  font-weight: 300;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5,6,8,0.94);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 2rem;
}

.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
  color: #fff;
}

/* Reveal fallback */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .cursor, .cursor-dot { display: none; }
  body.has-cursor { cursor: auto; }
  body.has-cursor a,
  body.has-cursor button { cursor: pointer; }
  .marquee-track, .hero-orb, .chrome-text, .logo-mark, .cta-band::before { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .word { transform: none; }
  .hero .lede, .hero-actions, .hero-brand, .hero-meta { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .story,
  .contact-grid,
  .product-detail,
  .product-card.featured { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { display: none; }
  .products-pin { height: auto !important; }
  .products-sticky {
    position: relative;
    height: auto;
    padding: 4rem 0;
  }
  .products-rail {
    width: auto;
    flex-direction: column;
    padding: 0 1.25rem;
    transform: none !important;
  }
  .product-panel {
    width: 100%;
    height: 58vw;
    min-height: 320px;
  }
  .story-visual::after { display: none; }
  .map-frame { aspect-ratio: 16/10; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(8,9,11,0.97);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1rem; color: var(--fg); }
  .product-grid { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  .product-card.featured .product-card-media { order: -1; aspect-ratio: 16/10; min-height: 0; }
}
