:root {
  --green: #113d32;
  --green-2: #0a2b25;
  --leaf: #55765d;
  --cream: #f4efe2;
  --mint: #dbe5d1;
  --gold: #c4a76a;
  --ink: #10241f;
  --line: rgba(18, 61, 51, .18);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  width: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  padding: 28px 18px;
  background: var(--green);
  color: var(--cream);
  transition: background 260ms ease;
}
.rail.is-scrolled { background: rgba(10, 43, 37, .96); }
.rail img {
  width: 78px;
  margin-bottom: auto;
  border: 1px solid rgba(196, 167, 106, .35);
}
.rail nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.rail a {
  position: relative;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  color: rgba(244,239,226,.74);
}
.rail a::after {
  position: absolute;
  inset: auto -8px 0 auto;
  width: 1px;
  height: 0;
  content: "";
  background: var(--gold);
  transition: height 220ms ease;
}
.rail a:hover,
.rail a.is-active { color: var(--cream); }
.rail a.is-active::after { height: 100%; }

main, footer { margin-left: 116px; }

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  padding: clamp(44px, 7vw, 92px);
  background:
    radial-gradient(circle at 12% 14%, rgba(196,167,106,.22), transparent 25%),
    linear-gradient(90deg, var(--mint), var(--cream));
}
.copy { max-width: 600px; }
.copy p, .label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--leaf);
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 450;
  line-height: 1.02;
  letter-spacing: -.015em;
}
h1 { margin-bottom: 24px; font-size: clamp(50px, 7vw, 104px); }
h2 { margin-bottom: 0; font-size: clamp(34px, 5vw, 70px); }
.copy span, .green p, .craft p, footer p {
  line-height: 1.75;
  color: #53675d;
}
.frame {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.35);
}
.frame::before {
  position: absolute;
  inset: 54px -24px -24px 54px;
  z-index: 0;
  content: "";
  background: var(--green);
}
.frame img {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.green {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 40px;
  padding: clamp(62px, 9vw, 128px) clamp(28px, 7vw, 96px);
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wear {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 18px;
  padding: clamp(62px, 9vw, 128px) clamp(28px, 7vw, 96px);
  background: var(--cream);
}
.look {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--green);
  color: var(--cream);
}
.look.large { min-height: 590px; }
.look img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 520ms ease;
}
.look:hover img { transform: scale(1.045); }
.look::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(10,43,37,.82));
}
.look div {
  position: relative;
  z-index: 1;
  padding: 28px;
}
.look span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
}
.look h3 {
  margin: 12px 0 8px;
  font-size: 34px;
}
.look p { color: rgba(244,239,226,.76); }

.craft {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  padding: clamp(62px, 9vw, 128px) clamp(28px, 7vw, 96px);
  background: #e3eadb;
}
.craft img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(.82);
}

.journal {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  padding: clamp(62px, 9vw, 128px) clamp(28px, 7vw, 96px);
  background: white;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.journal-grid article {
  position: relative;
  overflow: hidden;
}
.journal-grid img {
  aspect-ratio: 3 / 4;
  height: 100%;
  object-fit: cover;
}
.journal-grid span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  background: rgba(244,239,226,.86);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.calendar {
  padding: clamp(58px, 8vw, 110px) clamp(28px, 7vw, 96px);
  background: var(--green);
  color: var(--cream);
}
.calendar .label { color: var(--gold); }
.days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(244,239,226,.22);
}
.days span {
  padding: 28px 18px;
  border-left: 1px solid rgba(244,239,226,.22);
  font-family: var(--serif);
  font-size: 28px;
}
.days span:first-child { border-left: 0; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 38px clamp(28px, 7vw, 96px);
  background: var(--cream);
  border-top: 1px solid var(--line);
}
footer strong {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 820ms ease, transform 820ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 860px) {
  .rail {
    position: sticky;
    top: 0;
    width: auto;
    height: 72px;
    flex-direction: row;
    padding: 12px 18px;
  }
  .rail img { width: 56px; margin: 0 auto 0 0; }
  .rail nav { flex-direction: row; gap: 18px; }
  .rail a { writing-mode: initial; }
  .rail a::after { inset: auto 0 -6px 0; width: 100%; height: 1px; transform: scaleX(0); }
  .rail a.is-active::after { height: 1px; transform: scaleX(1); }
  main, footer { margin-left: 0; }
  .hero, .green, .wear, .craft, .journal, .days { grid-template-columns: 1fr; }
  .look, .look.large { min-height: 420px; }
}

@media (max-width: 560px) {
  .rail nav { gap: 12px; }
  .rail a { font-size: 10px; }
  .hero { padding: 48px 18px; }
  .wear, .green, .craft, .journal, .calendar { padding-inline: 18px; }
  .journal-grid, .days { grid-template-columns: 1fr; }
  .days span { border-left: 0; border-top: 1px solid rgba(244,239,226,.22); }
  .days span:first-child { border-top: 0; }
  footer { display: grid; }
}
