/* ============================================================
   NERÛN — shop.nerunoils.com landing
   Palette: deep navy / plum / cream — locked across all sections
   ============================================================ */

:root {
  --ink: #0e2334;
  --ink-deep: #0a1b29;
  --plum: #9b1156;
  --plum-deep: #82104a;
  --cream: #f4eee2;
  --cream-dim: rgba(244, 238, 226, 0.62);
  --cream-faint: rgba(244, 238, 226, 0.28);
  --hairline: rgba(244, 238, 226, 0.14);
  --oil: #d9c84a;

  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --font-display: "Bodoni Moda", serif;

  --container: 1320px;
  --pad: clamp(20px, 4vw, 56px);
}

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

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.container-narrow {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

::selection { background: var(--plum); color: var(--cream); }

/* ---------- olive cursor follower ---------- */
.olive-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 18px;
  z-index: 200;
  color: var(--cream);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}
.olive-cursor.is-active { opacity: 1; }
.olive-cursor.on-light { color: var(--ink); }
@media (hover: none) { .olive-cursor { display: none; } }

/* ---------- nav ---------- */
.nav-wrap {
  position: fixed;
  inset-inline: 0;
  top: 18px;
  display: flex;
  justify-content: center;
  z-index: 100;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
  animation: nav-in 0.9s 0.5s cubic-bezier(0.33, 1, 0.68, 1) backwards;
}
.nav-wrap.is-hidden { transform: translateY(-130%); }

@keyframes nav-in {
  from { transform: translateY(-130%); }
  to { transform: translateY(0); }
}

/* liquid glass pill */
.nav-pill {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  border-radius: 999px;
  padding: 14px 30px;
  background: linear-gradient(
    120deg,
    rgba(14, 35, 52, 0.38),
    rgba(14, 35, 52, 0.22) 45%,
    rgba(155, 17, 86, 0.16)
  );
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(244, 238, 226, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 1px rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(10, 27, 41, 0.38);
  overflow: clip;
}

/* moving sheen across the glass */
.nav-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.14) 46%,
    rgba(255, 255, 255, 0.05) 54%,
    transparent 70%
  );
  background-size: 250% 100%;
  background-position: 120% 0;
  animation: nav-sheen 7s ease-in-out infinite;
}
@keyframes nav-sheen {
  0%, 55% { background-position: 120% 0; }
  85%, 100% { background-position: -60% 0; }
}

/* top curvature highlight */
.nav-pill::after {
  content: "";
  position: absolute;
  inset: 1px 14px auto;
  height: 45%;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
}

@supports not (backdrop-filter: blur(1px)) {
  .nav-pill { background: rgba(14, 35, 52, 0.88); }
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  width: auto;
  height: 24px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 2.4vw, 28px);
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 30px;
  border-radius: 999px;
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1), background-color 0.3s ease, color 0.3s ease;
}
.btn svg { transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }

.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-deep); }

/* ---------- shared type ---------- */
.section-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 22px;
}

/* split-line reveal scaffolding */
.split-line {
  display: block;
  overflow: hidden;
}
.split-line > span {
  display: block;
  transform: translateY(110%);
}

/* ============================================================
   1 · HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: -10% 0;
}
.hero-media img { will-change: transform; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 27, 41, 0.78) 0%, rgba(10, 27, 41, 0.18) 45%, rgba(10, 27, 41, 0.3) 100%);
}

.hero-content {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(48px, 9vh, 96px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.hero-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.hero-title {
  font-size: clamp(42px, 6.4vw, 96px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-scroll-hint {
  position: absolute;
  right: var(--pad);
  bottom: clamp(48px, 9vh, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--cream-dim);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-scroll-hint i {
  width: 1px;
  height: 56px;
  background: var(--cream-faint);
  position: relative;
  overflow: hidden;
}
.hero-scroll-hint i::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -40%;
  height: 40%;
  background: var(--cream);
  animation: scrollhint 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes scrollhint {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

/* ============================================================
   2 · MANIFESTO
   ============================================================ */
.manifesto {
  padding: clamp(140px, 22vh, 260px) 0;
}

.manifesto-line {
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.manifesto-line + .manifesto-line { margin-top: clamp(36px, 5vh, 64px); }

.manifesto-line .w {
  color: var(--cream-faint);
  transition: color 0.25s linear;
}
.manifesto-line .w.is-lit { color: var(--cream); }

/* ============================================================
   2.5 · ARA VIDEO (FULL-WIDTH BAND)
   ============================================================ */
.video-band {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 520px;
  overflow: clip;
  background: var(--ink, #0a1b29);
}
.video-band-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  .video-band { height: 70svh; min-height: 380px; }
}

/* ============================================================
   3–5 · STORY SECTIONS
   ============================================================ */
.story {
  padding: clamp(70px, 11vh, 130px) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}

.story-media {
  border-radius: 6px;
  overflow: clip;
  aspect-ratio: 4 / 4.4;
  background: var(--ink-deep);
}
.story-media img {
  scale: 1.12;
  will-change: transform;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 48px);
  padding-top: clamp(8px, 2vh, 32px);
}

.story-heading {
  display: flex;
  align-items: flex-start;
  gap: 26px;
}

.story-num {
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 400;
  color: var(--cream-dim);
  line-height: 1.15;
}

.story-heading h2 {
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.story-body {
  max-width: 46ch;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  color: var(--cream-dim);
  font-size: clamp(16px, 1.25vw, 19px);
}

/* alternate: image right */
.story-alt .story-grid > .story-media { order: 2; }
.story-alt .story-grid > .story-text { order: 1; }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-alt .story-grid > .story-media { order: 0; }
  .story-alt .story-grid > .story-text { order: 1; }
  .story-body { margin-left: 0; }
}

/* ============================================================
   6 · ÇEŞİTLER
   ============================================================ */
.varieties {
  padding: clamp(100px, 16vh, 200px) 0 clamp(80px, 12vh, 150px);
}

.varieties-heading {
  margin-bottom: clamp(48px, 8vh, 90px);
}
.varieties-heading h2 {
  font-size: clamp(36px, 4.4vw, 68px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.varieties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
}

.variety-card figure {
  border-radius: 6px;
  overflow: clip;
  aspect-ratio: 3 / 3.8;
  background: var(--ink-deep);
}
.variety-card img {
  scale: 1.06;
  transition: scale 0.9s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}
.variety-card:hover img { scale: 1.12; }

.variety-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
}
.variety-meta h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
}

.variety-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream-dim);
  transition: color 0.3s ease;
}
.variety-link svg { transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1); }
.variety-card:hover .variety-link { color: var(--cream); }
.variety-card:hover .variety-link svg { transform: translate(2px, -2px); }

.varieties-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin-top: clamp(48px, 7vh, 80px);
}
.varieties-tags li {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 10px 20px;
}

@media (max-width: 860px) {
  .varieties-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   7 · CTA
   ============================================================ */
.cta {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(110px, 18vh, 220px) 0;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.cta .section-kicker {
  color: rgba(14, 35, 52, 0.55);
  margin-bottom: 0;
  text-transform: none; /* domain stays lowercase — tr uppercase would render İ */
}

.cta h2 {
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

/* ============================================================
   8 · FOOTER
   ============================================================ */
.footer {
  background: var(--plum);
  color: var(--cream);
  border-radius: 28px 28px 0 0;
  padding: clamp(70px, 10vh, 110px) 0 36px;
  margin-top: -24px;
  position: relative;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: clamp(32px, 6vw, 80px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-label {
  font-size: 14px;
  color: var(--cream-dim);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 17px;
  font-weight: 500;
  width: fit-content;
  position: relative;
}
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}
.footer-col a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-rule {
  height: 1px;
  background: var(--hairline);
  margin: clamp(48px, 8vh, 80px) 0 clamp(32px, 5vh, 56px);
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-wordmark {
  line-height: 0;
}
.footer-wordmark img {
  width: clamp(220px, 42vw, 640px);
  height: auto;
  object-fit: contain;
  display: block;
}

.footer-copy {
  font-size: 14px;
  color: var(--cream-dim);
  padding-bottom: 10px;
}

@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- missing-asset placeholder ---------- */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(217, 200, 74, 0.16), transparent 60%),
    linear-gradient(160deg, #14304a, var(--ink-deep));
}
.img-placeholder span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cream-faint);
  border: 1px dashed var(--cream-faint);
  border-radius: 999px;
  padding: 8px 18px;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
