/* ────────────────────────────────────────────────────────
   Lindsey Friedberg — Design Tokens
   ──────────────────────────────────────────────────────── */
:root {
  --moss:        rgb(69, 76, 42);      /* primary dark */
  --moss-2:      rgb(104, 128, 117);   /* secondary moss */
  --sage:        rgb(139, 170, 161);   /* accent */
  --bone:        rgb(225, 226, 223);   /* off-white */
  --bone-dim:    rgba(225, 226, 223, 0.6);
  --bone-faint:  rgba(225, 226, 223, 0.1);
  --bone-ghost:  rgba(225, 226, 223, 0.05);
  --ink:         rgb(69, 76, 42);
  --line:        rgba(225, 226, 223, 0.12);

  --ff-serif: "Lora", Georgia, serif;
  --ff-sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1216px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 0;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--moss);
  color: var(--bone);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* ────────────────────────────────────────────────────────
   Shared bits
   ──────────────────────────────────────────────────────── */
.eyebrow,
.eyebrow--lg {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.1em;
  color: var(--sage);
  text-transform: none;
}
.eyebrow--lg { letter-spacing: 0.2em; }
.eyebrow__rule {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: var(--sage);
}
.eyebrow-text {
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--sage);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  background: var(--bone);
  color: var(--moss);
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  border: 2px solid var(--bone);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.btn:hover { background: transparent; color: var(--bone); }
.btn:active { transform: translateY(1px); }
.btn--small {
  padding: 8px 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.btn--wide { min-width: min(582px, 100%); }
.btn--dark {
  background: var(--moss);
  color: var(--bone);
  border-color: var(--moss);
}
.btn--dark:hover { background: transparent; color: var(--moss); }

/* ────────────────────────────────────────────────────────
   Nav
   ──────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(69, 76, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bone-faint);
  z-index: 50;
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
}
.nav__logo img { height: 48px; width: auto; }
.nav__links {
  display: flex;
  gap: 48px;
}
.nav__link {
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.nav__link:hover { color: var(--bone); }
.nav__link--active {
  color: var(--bone);
  border-bottom-color: var(--bone);
}

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

/* ────────────────────────────────────────────────────────
   Hero
   ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 160px var(--gutter) 120px;
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.5;
}
.hero__blob--tr {
  top: -96px; right: -96px;
  width: 384px; height: 384px;
  background: rgba(139, 170, 161, 0.25);
}
.hero__blob--bl {
  bottom: 80px; left: -96px;
  width: 256px; height: 256px;
  background: rgba(104, 128, 117, 0.25);
}
.hero__inner {
  position: relative;
  max-width: 1216px;
  margin: 0 auto;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 6vw, 80px) 0;
}
.hero__title {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(44px, 9vw, 112px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 24px 0 40px;
  color: var(--bone);
  max-width: 14ch;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  font-weight: 700;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.hero__lede {
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.625;
  color: var(--sage);
  margin: 0;
  font-weight: 500;
}

/* ────────────────────────────────────────────────────────
   Featured Work — Bento grid
   ──────────────────────────────────────────────────────── */
.work {
  padding: 32px var(--gutter) 128px;
  border-top: 1px solid var(--line);
}
.work__inner { max-width: var(--maxw); margin: 0 auto; }

.work__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 80px;
}
.section-title {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.work__arrow {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--moss);
  background: var(--bone);
  transition: transform 240ms ease, background 180ms ease;
}
.work__arrow:hover { transform: translate(4px, -4px); }

.bento {
  display: grid;
  grid-template-columns: 1.43fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 32px;
  min-height: 1530px;
}
.card {
  position: relative;
  overflow: hidden;
  background: var(--moss);
  border: 2px solid var(--bone);
  min-height: 490px;
  display: flex;
  align-items: flex-end;
  transition: transform 400ms ease;
}
.card:hover { transform: translateY(-4px); }
.card--tall {
  grid-row: 1 / span 3;
  min-height: 1534px;
}
.card__img {
  position: absolute; inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  transition: transform 800ms ease, opacity 400ms ease;
}
.card:hover .card__img {
  transform: scale(1.04);
  opacity: 1;
}
.card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    var(--moss) 0%,
    rgba(69, 76, 42, 0.55) 35%,
    rgba(69, 76, 42, 0) 75%
  );
}
.card__body {
  position: relative;
  padding: 32px;
  color: var(--bone);
}
.card--tall .card__body { padding: 48px; }
.card__title {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 16px 0 0;
}
.card__title--lg { font-size: clamp(28px, 3.2vw, 36px); }

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.tag--sage { background: var(--sage); color: var(--moss); }
.tag--moss { background: var(--moss-2); color: var(--bone); }

.work__cta {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

@media (max-width: 880px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }
  .card, .card--tall { min-height: 420px; grid-row: auto; }
}

/* ────────────────────────────────────────────────────────
   The Art of The Email
   ──────────────────────────────────────────────────────── */
.art {
  padding: 128px var(--gutter);
  overflow: hidden;
}
.art__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.art__col { position: relative; padding-top: 40px; }
.art__ghost {
  position: absolute;
  top: -56px;
  left: -40px;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(96px, 14vw, 160px);
  line-height: 1.2;
  color: rgba(225, 226, 223, 0.05);
  pointer-events: none;
  user-select: none;
}
.art__title {
  position: relative;
  font-family: var(--ff-serif);
  font-size: clamp(48px, 7vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 48px;
  color: var(--bone);
}
.art__title strong { font-weight: 700; }
.art__title-em {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 8.5vw, 85px);
  color: var(--sage);
  margin-top: 4px;
}
.art__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 48px;
}
.art__list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
}
.art__num {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  color: rgba(139, 170, 161, 0.35);
}
.art__list h4 {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  color: var(--bone);
}
.art__list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.625;
  color: var(--sage);
  font-weight: 500;
}

/* Kinetic scroller */
.art__scroller {
  background: rgba(225, 226, 223, 0.04);
  border: 1px solid var(--sage);
  backdrop-filter: blur(4px);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 631px;
}
.art__slide {
  position: relative;
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--bone-faint);
}
.art__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease;
}
.art__slide img:nth-child(1) { opacity: 1; }
.art__slide img.is-active { opacity: 1; }
.art__slide img:not(.is-active) { opacity: 0; }

.art__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.art__dots button {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(217, 217, 217, 0.35);
  transition: background 200ms ease, transform 200ms ease;
}
.art__dots button:hover { transform: scale(1.15); }
.art__dots button.is-active { background: rgb(217, 217, 217); }

@media (max-width: 960px) {
  .art__inner { grid-template-columns: 1fr; }
  .art__scroller { height: 520px; }
}

/* ────────────────────────────────────────────────────────
   CTA
   ──────────────────────────────────────────────────────── */
.cta {
  position: relative;
  background: var(--bone);
  color: var(--moss);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  overflow: hidden;
  text-align: center;
}
.cta__bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  gap: clamp(40px, 6vw, 120px);
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
  padding: 20px 0;
}
.cta__bg span {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(72px, 13vw, 160px);
  line-height: 1;
  color: var(--moss);
  white-space: nowrap;
}
.cta__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.cta__title {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(56px, 10vw, 128px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--moss);
}
.cta__title em {
  font-style: italic;
  font-weight: 700;
}

/* ────────────────────────────────────────────────────────
   Footer
   ──────────────────────────────────────────────────────── */
.footer {
  background: var(--moss);
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__copy {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--bone-dim);
}
.footer__nav { display: flex; gap: 48px; }
.footer__nav a {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  transition: color 180ms ease;
}
.footer__nav a:hover { color: var(--bone); }
