:root {
  --cream: #f3eadc;
  --paper: #fbf7ef;
  --sand: #e1d1bb;
  --line: rgba(70, 49, 35, 0.2);
  --ink: #2d2119;
  --muted: #725f4e;
  --accent: #5b3826;
  --accent-2: #9b6b43;
  --shadow: 0 24px 70px rgba(48, 31, 21, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(91, 56, 38, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 56, 38, 0.03) 1px, transparent 1px),
    var(--cream);
  background-size: 46px 46px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  min-height: 100vh;
  padding: 28px clamp(18px, 4vw, 64px) 58px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 252, 244, 0.9), transparent 32%),
    linear-gradient(105deg, rgba(251, 247, 239, 0.96) 0%, rgba(251, 247, 239, 0.86) 43%, rgba(243, 234, 220, 0.18) 100%);
  overflow: hidden;
}

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto 42px;
}

.wordmark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  background: rgba(251, 247, 239, 0.72);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a {
  padding-block: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 34px;
}

.script-note {
  position: relative;
  display: inline-block;
  margin: 0 0 26px;
  color: var(--accent-2);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  line-height: 1.1;
}

.script-note::after {
  content: "";
  position: absolute;
  left: 0;
  right: -16px;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(155, 107, 67, 0.7), transparent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(72px, 10vw, 142px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 550px;
  margin-bottom: 18px;
  color: #3d3027;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.48;
}

.hero-description {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--muted);
}

.signup-form {
  display: flex;
  width: min(520px, 100%);
  min-height: 58px;
  border: 1px solid rgba(68, 45, 30, 0.36);
  background: rgba(251, 247, 239, 0.86);
  box-shadow: 0 18px 46px rgba(48, 31, 21, 0.08);
}

.signup-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 15px/1 var(--sans);
  padding: 0 20px;
  outline: none;
}

.signup-form input::placeholder {
  color: rgba(45, 33, 25, 0.62);
}

.signup-form button {
  min-width: 172px;
  border: 0;
  background: var(--accent);
  color: var(--paper);
  cursor: pointer;
  font: 700 14px/1 var(--sans);
  transition: background 180ms ease, transform 180ms ease;
}

.signup-form button:hover {
  background: #43281c;
  transform: translateY(-1px);
}

.form-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.hero-media {
  position: relative;
  min-height: 620px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -18px -26px 22px 28px;
  border: 1px solid rgba(91, 56, 38, 0.22);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.field-card,
.quote-card {
  position: absolute;
  width: min(300px, 70%);
  padding: 22px 24px;
  border: 1px solid rgba(90, 63, 44, 0.22);
  background: rgba(251, 247, 239, 0.86);
  box-shadow: 0 22px 44px rgba(48, 31, 21, 0.13);
  backdrop-filter: blur(12px);
}

.field-card {
  left: -34px;
  bottom: 42px;
}

.field-card span,
.quote-card span,
.small-label,
.feature-number {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.06;
}

.intro-section,
.journal-section,
.about-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-section {
  padding: clamp(72px, 9vw, 118px) 0 clamp(54px, 8vw, 92px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(24px, 6vw, 86px);
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2,
.journal-copy h2,
.about-section h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 600;
  line-height: 0.96;
}

.section-heading p:last-child,
.journal-copy p:last-child,
.about-section > p {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.34);
}

.feature-card {
  min-height: 300px;
  padding: clamp(24px, 4vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-card h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  line-height: 1;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.journal-section {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  padding: 0 0 clamp(72px, 9vw, 118px);
}

.journal-copy {
  padding: clamp(20px, 4vw, 36px) 0;
}

.photo-collage {
  position: relative;
}

.collage-main {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.quote-card {
  right: -18px;
  bottom: -34px;
}

.quote-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.05;
}

.about-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
  padding: clamp(54px, 7vw, 78px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-section > p {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 18px 28px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a,
.site-footer span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

@media (max-width: 980px) {
  .hero {
    padding-bottom: 34px;
  }

  .hero-grid,
  .section-heading,
  .journal-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 520px;
  }

  .field-card {
    left: 22px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 220px;
  }

  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 20px 18px 32px;
  }

  .topline {
    margin-bottom: 22px;
  }

  .nav-links {
    gap: 12px;
    font-size: 12px;
  }

  .nav-links a:first-child {
    display: none;
  }

  h1 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .signup-form {
    display: grid;
    min-height: 0;
  }

  .signup-form input,
  .signup-form button {
    min-height: 56px;
  }

  .signup-form button {
    width: 100%;
  }

  .hero-media {
    min-height: 390px;
  }

  .hero-media::before {
    inset: -10px -10px 18px 16px;
  }

  .field-card,
  .quote-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 30px);
    margin: -42px auto 0;
  }

  .field-card strong,
  .quote-card p {
    font-size: 24px;
  }

  .intro-section,
  .journal-section,
  .about-section {
    width: calc(100% - 32px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }
}
