/* ZenoLane — editorial dark
   Type: Instrument Serif (display) + Geist (body)
   Palette: warm near-black + warm off-white + muted amber
*/

:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --bg-3: #17171b;
  --line: rgba(236, 233, 226, 0.10);
  --line-2: rgba(236, 233, 226, 0.18);
  --ink: #ece9e2;
  --ink-2: #b8b4ab;
  --ink-3: #7d7a73;
  --ink-4: #4a4944;
  --accent: oklch(0.80 0.11 75);
  --accent-ink: #0b0b0d;

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(96px, 12vw, 176px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ================= TYPE ================= */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--ink-4);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.02;
  text-wrap: balance;
}

h1 .it, h2 .it, h3 .it { font-style: italic; color: var(--ink-2); font-weight: 400; }

p { margin: 0; text-wrap: pretty; }

.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
}

.section-h2 {
  font-size: clamp(40px, 5.6vw, 76px);
}

/* ================= NAV ================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 240ms var(--ease), backdrop-filter 240ms var(--ease), border-color 240ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(11,11,13,0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.brand__mark {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  position: relative;
}
.brand__mark::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
}
.brand small {
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  font-size: 13px;
  color: var(--ink-2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
  transition: color 200ms var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink-2); }

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 200ms var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url(../assets/hero-bg.webp);
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) brightness(0.55);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.55) 0%, rgba(11,11,13,0.25) 30%, rgba(11,11,13,0.85) 80%, var(--bg) 100%),
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(220,170,90,0.10), transparent 70%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: end;
  min-height: calc(100vh - 220px);
}

.hero__display {
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 32px 0 40px;
  max-width: 14ch;
}
.hero__display .line { display: block; }
.hero__display .it {
  font-style: italic;
  color: var(--ink-2);
}
.hero__display .amp {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.55;
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 60px;
  margin-top: 56px;
  justify-content: space-between;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__meta b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
  margin-bottom: 4px;
  font-style: italic;
}

@media (max-width: 720px) {
  .hero__meta { grid-template-columns: repeat(2, auto); gap: 24px; }
}

/* Hero ticker */
.hero__ticker {
  position: absolute;
  bottom: 24px; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--gutter);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  pointer-events: none;
}
.hero__ticker .pulse {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220,170,90,0.4); }
  50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(220,170,90,0); }
}

/* ================= SECTION ================= */
.section {
  padding: var(--section) 0;
  position: relative;
}
.section--alt { background: var(--bg-2); }

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 72px;
  max-width: 920px;
}
.section__head h2 { font-size: clamp(40px, 5.6vw, 76px); }
.section__head .lead { margin-top: 4px; }

/* ================= MANIFESTO ================= */
.manifesto {
  padding: clamp(96px, 14vw, 200px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.manifesto__copy {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.manifesto__copy .muted { color: var(--ink-3); }
.manifesto__copy .it { font-style: italic; color: var(--accent); }

@media (max-width: 820px) {
  .manifesto__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ================= SERVICES ================= */
.services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid var(--line);
}
.svc {
  grid-column: span 6;
  padding: 56px 48px 64px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 360px;
  transition: background 300ms var(--ease);
}
.svc:nth-child(2n) { border-right: none; }
.svc:hover { background: var(--bg-3); }

.svc__no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.svc h3 {
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.1;
  max-width: 18ch;
}
.svc h3 .it { font-style: italic; color: var(--ink-2); }
.svc p {
  color: var(--ink-2);
  max-width: 44ch;
  margin-top: auto;
}
.svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

@media (max-width: 820px) {
  .svc { grid-column: span 12; border-right: none; padding: 40px var(--gutter); min-height: 0; }
}

/* ================= IMAGE BREAK ================= */
.imgbreak {
  position: relative;
  height: clamp(360px, 70vh, 720px);
  overflow: hidden;
}
.imgbreak img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.imgbreak::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,13,0.4) 0%, rgba(11,11,13,0.15) 30%, rgba(11,11,13,0.8) 100%);
  pointer-events: none;
}
.imgbreak__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  z-index: 2;
}
.imgbreak__cap .quote {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  max-width: 22ch;
  color: var(--ink);
}
.imgbreak__cap .quote .it { font-style: italic; color: var(--accent); }
.imgbreak__cap .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: right;
}

/* ================= PROCESS ================= */
.process {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process__step {
  grid-column: span 3;
  padding: 48px 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 380px;
  position: relative;
}
.process__step:last-child { border-right: none; }
.process__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.process__step h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
}
.process__step h3 .it { font-style: italic; color: var(--ink-2); }
.process__step p {
  color: var(--ink-2);
  margin-top: auto;
  font-size: 15px;
}
.process__bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 8px;
}
.process__bullets li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.process__bullets li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--ink-4);
  border-radius: 50%;
}

@media (max-width: 980px) {
  .process__step { grid-column: span 6; border-bottom: 1px solid var(--line); min-height: 280px; }
  .process__step:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .process__step { grid-column: span 12; border-right: none; }
}

/* ================= STATS ================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 56px 32px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat__num .it { font-style: italic; color: var(--accent); }
.stat__lab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ================= CRAFT 3-UP ================= */
.craft {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.craft__item {
  padding: 48px 36px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 320px;
}
.craft__item:last-child { border-right: none; }
.craft__item h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
}
.craft__item h3 .it { font-style: italic; color: var(--ink-2); }
.craft__item p {
  color: var(--ink-2);
  margin-top: auto;
  font-size: 15px;
}
.craft__rule {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 820px) {
  .craft { grid-template-columns: 1fr; }
  .craft__item { border-right: none; border-bottom: 1px solid var(--line); min-height: 0; }
  .craft__item:last-child { border-bottom: none; }
}

/* ================= CTA ================= */
.cta {
  padding: clamp(120px, 16vw, 200px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__h {
  font-size: clamp(56px, 10vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 auto 40px;
  max-width: 16ch;
}
.cta__h .it { font-style: italic; color: var(--accent); }
.cta__sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 36px;
}
.cta__ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ================= FOOTER ================= */
.foot {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--bg);
}
.foot__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.foot__brand {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.foot__brand .it { font-style: italic; color: var(--accent); }
.foot__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  font-weight: 400;
}
.foot__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot__col a { color: var(--ink-2); font-size: 14px; transition: color 200ms var(--ease); }
.foot__col a:hover { color: var(--ink); }

.foot__bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 820px) {
  .foot__row { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: span 2; }
}
@media (max-width: 520px) {
  .foot__row { grid-template-columns: 1fr; }
  .foot__brand { grid-column: span 1; }
}

.hero__ctas--spaced { margin-top: 56px; }

/* ================= REVEAL ================= */
[data-r] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: var(--rd, 0ms);
}
[data-r].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-r] { opacity: 1; transform: none; transition: none; }
}

/* ================= MARQUEE ================= */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
  padding: 28px 0;
}
.marquee__track {
  display: flex;
  gap: 56px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee__item {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-style: italic;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee__item::after {
  content: "✦";
  color: var(--accent);
  font-size: 0.6em;
  font-style: normal;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
