/* 1448 — editorial landing (composition-first, no decorative effects) */

.landing-editorial {
  --ed-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ed-sans: "Inter", system-ui, sans-serif;
  --ed-ink: #2a2018;
  --ed-muted: rgba(42, 32, 24, 0.62);
  --ed-line: rgba(42, 32, 24, 0.12);
  --ed-cream: #f7f4eb;
  --ed-paper: #fffdf8;
  --ed-max: 1280px;
  --ed-gutter: clamp(20px, 4vw, 48px);
}

.landing-editorial body,
body.landing-editorial {
  background: var(--ed-paper);
  color: var(--ed-ink);
}

/* —— Header —— */
.landing-editorial .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  animation: none;
}

.landing-editorial .nav-shell {
  max-width: none;
  margin: 0;
  padding: 18px var(--ed-gutter);
  border-radius: 0;
  background: var(--ed-paper);
  border: none;
  border-bottom: 1px solid var(--ed-line);
  box-shadow: none;
  backdrop-filter: none;
}

.landing-editorial .nav-shell:hover {
  box-shadow: none;
}

.landing-editorial .brand-subtitle {
  display: none;
}

.landing-editorial .brand-title {
  font-family: var(--ed-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.landing-editorial .nav-links {
  gap: clamp(16px, 2.5vw, 36px);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.landing-editorial .nav-links a::after {
  display: none;
}

.landing-editorial .nav-links a:hover {
  color: var(--green);
}

.landing-editorial .nav-actions .btn-secondary {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 10px 0;
  font-weight: 500;
}

.landing-editorial .nav-actions .btn-secondary:hover {
  background: transparent;
  color: var(--green);
}

.landing-editorial .nav-actions .btn-primary {
  border-radius: 4px;
  padding: 12px 20px;
  font-weight: 600;
  box-shadow: none;
}

.landing-editorial .label {
  background: transparent;
  border: none;
  padding: 0;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ed-muted);
  font-weight: 600;
}

.landing-editorial .label::before {
  display: none;
}

/* —— Hero —— */
.ed-hero {
  padding: clamp(48px, 8vw, 96px) 0 0;
  border-bottom: 1px solid var(--ed-line);
  overflow: hidden;
}

.ed-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 52%);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
  max-width: none;
  margin: 0;
  padding: 0 0 0 var(--ed-gutter);
}

.ed-kicker {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

.ed-hero h1 {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.ed-lede {
  margin: 28px 0 0;
  max-width: 34ch;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: var(--ed-muted);
}

.ed-hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.ed-hero__actions .btn {
  border-radius: 4px;
  box-shadow: none;
}

.ed-hero__actions .btn-secondary {
  background: transparent;
  border: none;
  padding-left: 0;
  font-weight: 500;
  color: var(--ed-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ed-hero__actions .btn-secondary:hover {
  transform: none;
  color: var(--green);
}

.ed-hero__product {
  margin: 0;
  position: relative;
  align-self: end;
}

.ed-hero__product img {
  width: min(520px, 52vw);
  margin-left: auto;
  margin-right: -8vw;
  display: block;
  border-radius: 32px 0 0 32px;
  box-shadow: none;
  border: 1px solid var(--ed-line);
}

.ed-hero__product figcaption {
  margin-top: 14px;
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

/* —— Statement (restraint) —— */
.ed-statement {
  padding: clamp(72px, 12vw, 140px) var(--ed-gutter);
  border-bottom: 1px solid var(--ed-line);
}

.ed-statement p {
  margin: 0;
  padding-left: var(--ed-gutter);
  font-family: var(--ed-serif);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

/* —— Product chapters —— */
.ed-chapter {
  padding: clamp(64px, 10vw, 120px) 0;
  border-bottom: 1px solid var(--ed-line);
}

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

.ed-chapter--reverse .ed-chapter__grid {
  direction: rtl;
}

.ed-chapter--reverse .ed-chapter__grid > * {
  direction: ltr;
}

.ed-chapter__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.ed-chapter__index {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.ed-chapter h2 {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.ed-chapter__body {
  margin: 20px 0 0;
  max-width: 42ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ed-muted);
}

.ed-chapter__meta {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

.ed-chapter__meta a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ed-device {
  margin: 0;
  position: relative;
}

.ed-device img {
  width: 100%;
  max-width: 340px;
  display: block;
  border-radius: 24px;
  box-shadow: none;
  border: 1px solid var(--ed-line);
}

.ed-chapter--bleed .ed-device {
  margin-right: calc(var(--ed-gutter) * -0.5);
}

.ed-chapter--bleed .ed-device img {
  max-width: min(380px, 105%);
}

.ed-chapter--wide .ed-chapter__grid {
  grid-template-columns: 1fr;
}

.ed-chapter--wide .ed-device img {
  max-width: none;
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: 20px;
}

.ed-chapter--wide .ed-chapter__copy {
  max-width: 52ch;
  margin-bottom: 40px;
}

/* Text-only chapter — restraint, no card */
.ed-chapter--text {
  padding: clamp(80px, 12vw, 160px) var(--ed-gutter);
}

.ed-chapter--text .ed-chapter__inner {
  max-width: none;
  padding: 0;
}

.ed-chapter--text .ed-chapter__index {
  margin-bottom: 24px;
}

.ed-chapter--text h2 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  max-width: 12ch;
}

.ed-chapter--text .ed-chapter__body {
  margin-top: 28px;
  font-size: clamp(18px, 2.2vw, 22px);
  max-width: 38ch;
}

/* Full-viewport product moment */
.ed-chapter--moment {
  padding: clamp(48px, 8vw, 80px) 0 clamp(64px, 10vw, 120px);
  border-bottom: 1px solid var(--ed-line);
}

.ed-chapter--moment .ed-chapter__copy {
  max-width: var(--ed-max);
  margin: 0 auto;
  padding: 0 var(--ed-gutter) clamp(32px, 5vw, 56px);
}

.ed-chapter--moment h2 {
  max-width: 16ch;
}

.ed-moment-device {
  margin: 0;
  padding: 0 var(--ed-gutter);
}

.ed-moment-device img {
  width: min(420px, 92vw);
  margin: 0 auto;
  display: block;
  border-radius: 28px;
  border: 1px solid var(--ed-line);
}

.ed-device video,
.ed-moment-device video {
  width: 100%;
  max-width: 340px;
  border-radius: 24px;
  display: block;
  border: 1px solid var(--ed-line);
}

/* —— Photo moment —— */
.ed-photo {
  position: relative;
  min-height: clamp(360px, 55vh, 640px);
  border-bottom: 1px solid var(--ed-line);
  overflow: hidden;
}

.ed-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  min-height: clamp(360px, 55vh, 640px);
}

.ed-photo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 16, 12, 0.55) 0%, rgba(20, 16, 12, 0.08) 55%, transparent 100%);
  pointer-events: none;
}

.ed-photo__copy {
  position: absolute;
  left: var(--ed-gutter);
  bottom: clamp(32px, 6vw, 72px);
  max-width: 16ch;
  color: #fff;
}

.ed-photo__copy p {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.ed-photo__copy span {
  display: block;
  margin-top: 14px;
  font-family: var(--ed-sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* —— Steps (no cards) —— */
.ed-steps {
  padding: clamp(72px, 10vw, 120px) var(--ed-gutter);
  background: var(--ed-cream);
  border-bottom: 1px solid var(--ed-line);
}

.ed-steps__inner {
  max-width: var(--ed-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.ed-steps h2 {
  margin: 12px 0 0;
  font-family: var(--ed-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.ed-steps__intro {
  margin: 20px 0 0;
  max-width: 36ch;
  color: var(--ed-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ed-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ed-line);
}

.ed-step-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ed-line);
}

.ed-step-list strong {
  font-family: var(--ed-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
}

.ed-step-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.ed-step-list p {
  margin: 0;
  color: var(--ed-muted);
  line-height: 1.65;
  max-width: 46ch;
}

/* —— Quotes (no cards) —— */
.ed-quotes {
  padding: clamp(72px, 10vw, 120px) var(--ed-gutter);
  border-bottom: 1px solid var(--ed-line);
}

.ed-quotes__inner {
  max-width: var(--ed-max);
  margin: 0 auto;
}

.ed-quotes__head {
  max-width: 28ch;
  margin-bottom: clamp(48px, 8vw, 80px);
}

.ed-quotes__head h2 {
  margin: 12px 0 0;
  font-family: var(--ed-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
}

.ed-quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.ed-quote:first-child {
  padding-top: 0;
  border-top: none;
}

.ed-quote:first-child blockquote {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.ed-quote {
  margin: 0;
  padding-top: 24px;
  border-top: 2px solid var(--green);
}

.ed-quote blockquote {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.ed-quote figcaption {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ed-muted);
}

.ed-quote figcaption strong {
  display: block;
  color: var(--ed-ink);
  font-weight: 600;
}

/* —— CTA —— */
.ed-cta {
  padding: clamp(80px, 12vw, 140px) var(--ed-gutter);
  background: var(--green);
  color: #fff;
}

.ed-cta__inner {
  max-width: var(--ed-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 8vw, 80px);
  align-items: end;
}

.ed-cta h2 {
  margin: 16px 0 0;
  font-family: var(--ed-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.ed-cta__lede {
  margin: 24px 0 0;
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.ed-cta__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ed-cta .btn-yellow {
  border-radius: 4px;
  box-shadow: none;
}

.ed-cta .btn-outline-light {
  border-radius: 4px;
  background: transparent;
}

.ed-cta__aside {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.ed-cta__aside p {
  margin: 0 0 20px;
}

.ed-cta__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ed-cta__links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ed-cta__stores {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* —— Footer tweak —— */
.landing-editorial .footer {
  background: var(--ed-paper);
  border-top: 1px solid var(--ed-line);
}

.landing-editorial .footer-grid {
  gap: 32px;
}

/* —— Reveal: subtle only —— */
.landing-editorial .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .landing-editorial .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .landing-editorial .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

/* —— Mobile —— */
@media (max-width: 960px) {
  .ed-hero__layout {
    grid-template-columns: 1fr;
    padding: 0 var(--ed-gutter);
  }

  .ed-hero__product img {
    margin-right: auto;
    margin-left: auto;
    width: min(300px, 78vw);
    border-radius: 28px;
  }

  .ed-chapter__grid,
  .ed-chapter--reverse .ed-chapter__grid,
  .ed-steps__inner,
  .ed-cta__inner {
    grid-template-columns: 1fr;
  }

  .ed-chapter--bleed .ed-device {
    margin-right: 0;
  }

  .ed-quote-grid {
    grid-template-columns: 1fr;
  }

  .ed-quote:first-child {
    padding-top: 24px;
    border-top: 2px solid var(--green);
  }

  .ed-photo__overlay {
    background: linear-gradient(0deg, rgba(20, 16, 12, 0.65) 0%, rgba(20, 16, 12, 0.2) 60%, transparent 100%);
  }
}

@media (max-width: 820px) {
  .landing-editorial .site-header {
    top: 0 !important;
  }

  .landing-editorial .nav-shell {
    border-radius: 0;
    flex-wrap: nowrap;
  }

  .landing-editorial .nav-links {
    display: none;
  }

  .landing-editorial .nav-shell.open {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .landing-editorial .nav-shell.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    order: 3;
    width: 100%;
    padding: 20px 0 8px;
    gap: 16px;
    border-top: 1px solid var(--ed-line);
    margin-top: 12px;
  }

  .landing-editorial .nav-shell.open .nav-actions .btn-secondary {
    display: inline-flex;
  }
}
