/* Homepage-specific sections: hero, worth, rails, booklets, video feature, magazine pair, latest masonry, newsletter. */

/* ---------- HERO (cover feel) ---------- */
.hero {
  padding: clamp(24px, 2.6vw, 44px) 0 clamp(20px, 2.4vw, 36px);
}
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 4vw, 80px);
  align-items: flex-end;
  margin-bottom: clamp(20px, 2.2vw, 32px);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.hero-eyebrow .tag {
  background: var(--ink);
  color: var(--cream);
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-eyebrow .byline {
  font-size: 13px;
  color: var(--ink-muted);
}
.hero-eyebrow .byline strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(44px, 5.6vw, 104px);
  line-height: .96;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink);
  font-weight: 400;
  text-wrap: balance;
  max-width: 22ch;
}
.hero-headline em {
  font-style: italic;
  color: var(--green);
}
.hero-dek {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(19px, 1.4vw, 24px);
  line-height: 1.38;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0;
}

.hero-folio {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 12px;
  text-align: right;
  align-self: flex-end;
  min-width: 280px;
}
.hero-folio .issue-num {
  font-family: var(--font-heading);
  font-size: clamp(72px, 6.2vw, 128px);
  color: var(--green);
  line-height: .85;
  letter-spacing: -.02em;
  font-weight: 400;
  font-variant-numeric: lining-nums;
}
.hero-folio .issue-num small {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: .28em;
  display: block;
  color: var(--ink-muted);
  letter-spacing: 0;
  margin-bottom: 6px;
}
.hero-folio .title-of-issue {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 24/9;
  overflow: hidden;
  background: var(--line-soft);
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease);
  filter: saturate(1.05);
}
.hero-image-wrap:hover img { transform: scale(1.06); }
.hero-image-wrap .caption {
  position: absolute;
  left: 20px; bottom: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .04em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.hero-image-wrap .caption .nt-icon { width: 14px; height: 14px; opacity: .9; }
.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 60, 33, .28));
  pointer-events: none;
}

.hero-cta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  flex-wrap: wrap;
}
.hero-cta-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-cta-left .meta-above { color: var(--ink-muted); }

.hero-cta-right {
  max-width: 44ch;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink-soft);
  text-align: right;
}
.hero-cta-right strong {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  letter-spacing: .02em;
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--ink-muted);
}

/* ---------- ALSO WORTH YOUR TIME ---------- */
.worth {
  padding: clamp(32px, 3.6vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.worth-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.worth-head h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
}
.worth-head h2 em {
  font-style: italic;
  color: var(--green);
}
.worth-head .label {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--ink-muted);
  font-size: 18px;
}
.worth-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 36px);
}
@media (max-width: 1400px) {
  .worth-grid { grid-template-columns: repeat(3, 1fr); }
  .worth-grid > *:nth-child(4) { display: none; }
}

/* ---------- SECTION RAIL ---------- */
.rail {
  padding: clamp(40px, 4vw, 72px) 0 clamp(16px, 1.6vw, 24px);
  border-top: 1px solid var(--line);
}
.rail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: clamp(18px, 1.6vw, 28px);
  align-items: start;
}
.rail-grid.flip {
  grid-template-columns: 1fr 1fr 1fr 1fr 1.6fr;
}
@media (max-width: 1400px) {
  .rail-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .rail-grid.flip { grid-template-columns: 1fr 1fr 1fr 1.5fr; }
  .rail-grid > *:nth-child(5) { display: none; }
}

/* ---------- BOOKLETS ---------- */
.booklets {
  padding: clamp(48px, 4.5vw, 80px) 0;
  border-top: 1px solid var(--line);
  background: var(--lavender);
}
.booklets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 1.4vw, 22px);
  margin-top: 28px;
}
@media (max-width: 1400px) {
  .booklets-grid { grid-template-columns: repeat(4, 1fr); }
  .booklets-grid > *:nth-child(5) { display: none; }
}
.booklet {
  position: relative;
  aspect-ratio: 3/4;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .5s var(--ease);
}
.booklet:hover { transform: translateY(-6px) rotate(-.3deg); }
.booklet .bk-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.booklet .bk-num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
}
.booklet h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  position: relative;
  z-index: 2;
}
.booklet .bk-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  z-index: 2;
  position: relative;
}
.booklet .bk-bottom .arrow {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease), background .2s var(--ease);
}
.booklet:hover .bk-bottom .arrow {
  transform: translateX(3px);
  background: rgba(0, 0, 0, .24);
}
.booklet .bk-leaf {
  position: absolute;
  right: -24px; bottom: -30px;
  width: 72%; height: 72%;
  opacity: .22;
  pointer-events: none;
  transition: transform .8s var(--ease), opacity .5s var(--ease);
}
.booklet:hover .bk-leaf {
  transform: scale(1.1) rotate(-6deg);
  opacity: .32;
}
.booklet--green { background: var(--green); color: #F6F1E8; }
.booklet--mint  { background: var(--green-pale); color: var(--green-deep); }
.booklet--ink   { background: var(--ink); color: var(--cream); }
.booklet--pink  { background: var(--purple-bright); color: #fff; }
.booklet--stone { background: var(--line-soft); color: var(--ink); }

/* ---------- VIDEO FEATURE ---------- */
.video-feature {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.vf-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 3.2vw, 64px);
  padding: clamp(48px, 5vw, 88px) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  align-items: center;
}
.vf-screen {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
}
.vf-screen video,
.vf-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: opacity .6s var(--ease), transform 1.4s var(--ease);
}
.vf-screen:hover img,
.vf-screen:hover video {
  opacity: 1;
  transform: scale(1.03);
}
.vf-screen .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vf-screen .disc {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: rgba(246, 241, 232, .92);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s var(--ease), background .2s var(--ease);
}
.vf-screen:hover .disc {
  transform: scale(1.08);
  background: #fff;
}
.vf-screen .disc .nt-icon {
  width: 28px; height: 28px;
  margin-left: 3px;
}
.vf-screen .timecode {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  letter-spacing: .1em;
}
.vf-screen .duration {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.vf-text h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
  color: var(--cream);
  text-wrap: balance;
}
.vf-text h2 em {
  color: var(--green-mid);
  font-style: italic;
}
.vf-text p {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: rgba(246, 241, 232, .82);
  font-style: italic;
  margin: 0 0 24px;
}
.vf-watch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(246, 241, 232, .4);
  padding: 6px 0;
  transition: border-color .2s var(--ease);
}
.vf-watch:hover {
  border-color: var(--green-mid);
  color: var(--cream);
}
.vf-watch .nt-icon { width: 16px; height: 16px; }

.vf-queue {
  margin-top: 32px;
  border-top: 1px solid rgba(246, 241, 232, .18);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
}
.vf-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(246, 241, 232, .14);
  transition: padding .3s var(--ease);
}
.vf-row:last-child { border-bottom: 0; }
.vf-row:hover { padding-left: 4px; }
.vf-row .n {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 22px;
  color: var(--green-mid);
}
.vf-row .ttl {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.vf-row .dur {
  font-size: 11px;
  color: rgba(246, 241, 232, .55);
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

/* ---------- MAGAZINE (long-form pair) ---------- */
.mag {
  padding: clamp(48px, 4.5vw, 80px) 0;
  border-top: 1px solid var(--line);
}
.mag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.5vw, 56px);
  margin-top: 28px;
}
.mag-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  transition: transform .4s var(--ease);
}
.mag-card:hover { transform: translateY(-3px); }
.mag-card .ph {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--line-soft);
}
.mag-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
  filter: saturate(1.05);
}
.mag-card:hover .ph img { transform: scale(1.03); }
.mag-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(26px, 2.3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  transition: color .2s var(--ease);
  text-wrap: balance;
}
.mag-card:hover h3 { color: var(--green); }
.mag-card .excerpt {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 56ch;
}
.mag-card .pullquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--green-deep);
  border-left: 2px solid var(--green);
  padding: 4px 0 4px 18px;
  margin: 6px 0;
}

/* ---------- LATEST MASONRY ---------- */
.latest {
  padding: clamp(48px, 4.5vw, 80px) 0;
  border-top: 1px solid var(--line);
}
.masonry {
  column-count: 4;
  column-gap: clamp(20px, 2vw, 32px);
  margin-top: 24px;
}
@media (max-width: 1400px) { .masonry { column-count: 3; } }
@media (max-width: 900px)  { .masonry { column-count: 2; } }
@media (max-width: 600px)  { .masonry { column-count: 1; } }

.brick {
  break-inside: avoid;
  margin-bottom: clamp(20px, 2.2vw, 30px);
  padding-bottom: clamp(20px, 2.2vw, 30px);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s var(--ease);
}
.brick:hover { transform: translateY(-2px); }
.brick .ph { overflow: hidden; background: var(--line-soft); }
.brick .ph img {
  width: 100%;
  height: auto;
  transition: transform 1s var(--ease);
  filter: saturate(1.05);
}
.brick:hover .ph img { transform: scale(1.03); }
.brick h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  transition: color .2s var(--ease);
}
.brick:hover h3 { color: var(--green); }
.brick .brick-meta {
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.brick .brick-meta .sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
}
.brick--tinted {
  background: var(--green-pale);
  padding: 22px;
  color: var(--green-deep);
}
.brick--tinted .brick-meta { color: var(--green-deep); opacity: .75; }
.brick--tinted h3 { font-size: clamp(22px, 1.6vw, 26px); }

.brick--quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--ink);
  padding: 22px 0;
  border-top: 1px solid var(--ink);
}
.brick--quote::before {
  content: "“";
  font-family: var(--font-heading);
  font-size: 66px;
  line-height: .4;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
}
.brick--quote .attr {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 16px;
  display: block;
}

/* ---------- NEWSLETTER ---------- */
.newsletter {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: var(--green-deep);
  border-top: 1px solid var(--line);
}
.nl-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 4vw, 72px);
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(60px, 6vw, 100px) var(--gutter);
  align-items: center;
  position: relative;
}
.nl-text h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: .98;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--cream);
  text-wrap: balance;
}
.nl-text h2 em {
  font-style: italic;
  color: var(--green-mid);
}
.nl-text p {
  font-family: var(--font-heading);
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.4;
  color: rgba(246, 241, 232, .8);
  max-width: 48ch;
  margin: 0 0 24px;
}
.nl-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  background: rgba(246, 241, 232, .06);
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  max-width: 520px;
  border: 1px solid rgba(246, 241, 232, .18);
}
.nl-form input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--cream);
  padding: 10px 0;
  outline: 0;
}
.nl-form input::placeholder { color: rgba(246, 241, 232, .5); }
.nl-form button {
  background: var(--purple-bright);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s var(--ease), transform .25s var(--ease);
}
.nl-form button:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
}
.nl-form button .nt-icon { width: 14px; height: 14px; }
.nl-fineprint {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(246, 241, 232, .6);
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.nl-fineprint .chip {
  background: rgba(91, 168, 122, .22);
  color: var(--green-mid);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}

.nl-art {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.nl-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1) brightness(.95);
}
.nl-art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15, 60, 33, .3), transparent 60%);
}
.nl-art .stamp {
  position: absolute;
  right: 18px; top: 18px;
  background: var(--cream);
  color: var(--green-deep);
  width: 92px; height: 92px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  text-align: center;
  line-height: 1.05;
  transform: rotate(6deg);
}
.nl-art .stamp b {
  display: block;
  font-size: 22px;
  font-style: italic;
}
.nl-art .stamp em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: .7;
}

/* ---------- RESPONSIVE OVERRIDES ---------- */
@media (max-width: 1100px) {
  .hero-top { grid-template-columns: 1fr; align-items: flex-start; }
  .hero-folio {
    text-align: left;
    flex-direction: row;
    align-items: baseline;
    gap: 18px;
  }
  .hero-folio .issue-num { font-size: 72px; }
  .worth-grid { grid-template-columns: 1fr 1fr; }
  .rail-grid, .rail-grid.flip { grid-template-columns: 1fr 1fr; }
  .booklets-grid { grid-template-columns: 1fr 1fr; }
  .mag-grid { grid-template-columns: 1fr; }
  .vf-grid { grid-template-columns: 1fr; }
  .nl-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .hero-headline { font-size: 44px; }
  .hero-dek { font-size: 17px; }
  .hero-folio .issue-num { font-size: 56px; }
  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .hero-cta-right { text-align: left; }

  /* Rails become horizontal scroll carousels */
  .worth-grid,
  .rail-grid, .rail-grid.flip,
  .booklets-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 6px;
    margin-right: calc(-1 * var(--gutter));
    padding-right: var(--gutter);
    scrollbar-width: none;
  }
  .worth-grid::-webkit-scrollbar,
  .rail-grid::-webkit-scrollbar,
  .booklets-grid::-webkit-scrollbar { display: none; }
  .rail-grid > *,
  .rail-grid.flip > *,
  .worth-grid > *,
  .booklets-grid > * {
    flex: 0 0 75%;
    scroll-snap-align: start;
    max-width: 300px;
  }
  .worth-grid > * { flex-basis: 85%; }
  .rail-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .rail-head .subtitle { text-align: left; }
}
