/* ═══════════════════════════════════════════════════════════════
   RED DAISY FARMS — editorial microsite
   Fraunces (display) · Newsreader (body) · linen / field green /
   faded barn red. Numbers live inside sentences, never in tiles.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --linen:      #F4EEE1;
  --cream:      #EAE1CE;
  --green:      #3A4632;
  --red:        #A8402A;
  --charcoal:   #2C2823;
  --parchment:  #EDE6D6;
  --straw:      #C9A96A;
  --sage:       #8A9179;
  --terracotta: #B57A5E;
  --umber:      #5C4433;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body:    'Newsreader', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--linen);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: var(--parchment); }

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

a { color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── shared editorial atoms ───────────────────────────────── */

.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--red);
  margin-bottom: 1.5rem;
}
.eyebrow--straw { color: var(--straw); }

/* numbers-in-sentences: the pull line, a magazine's voice.
   opsz capped + WONK off: kills Fraunces's quirky display-cut
   letterforms (the descending f) at large sizes */
.pull-line {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 30, "WONK" 0, "SOFT" 0;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -.005em;
  max-width: 18em;
}

.silo-glyph { color: var(--charcoal); opacity: .55; }
.silo-glyph--red { color: var(--red); opacity: 1; }

/* photography */
.ph { margin: 0; }
.ph__img {
  display: block;
  width: 100%;
  height: clamp(260px, 44vw, 460px);
  object-fit: cover;
}
.ph figcaption {
  font-style: italic;
  font-size: .9rem;
  opacity: .6;
  margin-top: .65rem;
}

/* ── 1 · opening frame ────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  background: var(--umber);
  overflow: hidden;
  animation: hero-settle 4s cubic-bezier(.22, 1, .36, 1) both;
}

.hero__image img,
.hero__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* legibility scrim over the moving footage, not decoration */
.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 19, 14, .62), rgba(24, 19, 14, .22) 60%, rgba(24, 19, 14, .18));
}

@keyframes hero-settle {
  from { transform: scale(1.045); }
  to   { transform: scale(1); }
}

.hero__title {
  position: relative;
  padding: 0 clamp(1.5rem, 6vw, 5rem) clamp(4.5rem, 10vh, 7rem);
  color: var(--parchment);
}

.hero__title h1 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.015em;
}

.hero__dek {
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 36ch;
  opacity: .88;
}

.hero__cue {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero__cue .silo-glyph { color: var(--parchment); opacity: .5; }

/* ── 2 · the story ────────────────────────────────────────── */

.story {
  padding: clamp(6rem, 14vh, 11rem) 1.5rem clamp(5rem, 10vh, 8rem);
  max-width: 46rem;
  margin: 0 auto;
}

.story__text p {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  line-height: 1.38;
  max-width: 24em;
}

.story__text p + p { margin-top: 2.2rem; }

.dropcap::first-letter {
  font-family: var(--display);
  font-weight: 500;
  font-size: 3.1em;
  float: left;
  line-height: .8;
  padding-right: .12em;
  color: var(--red);
}

/* ── 3 · the land ─────────────────────────────────────────── */

.land { padding: clamp(3rem, 8vh, 6rem) 0 clamp(5rem, 10vh, 8rem); }

.land__head {
  max-width: 72rem;
  margin: 0 auto 3.5rem;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.ph--wide { width: 100%; }
.ph--wide .ph__img { height: clamp(320px, 62vh, 620px); }
.ph--wide figcaption { padding: 0 clamp(1.5rem, 5vw, 4rem); }

.land__offset {
  max-width: 78rem;
  margin: 4.5rem auto 0;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.ph--left  { grid-column: 1 / 8; }
.ph--right { grid-column: 8 / 13; margin-top: 7rem; } /* the off-grid moment */
.ph--right .ph__img { height: clamp(220px, 34vw, 380px); }

/* the land record — set like a printed deed page: dotted leaders,
   italic labels, no letterspaced caps */
.ledger {
  max-width: 34rem;
  margin: clamp(5rem, 10vh, 7rem) auto 0;
  padding: 2rem clamp(1.5rem, 5vw, 2.5rem) 2.25rem;
  border-top: 2px solid var(--charcoal);
  border-bottom: 1px solid rgba(44, 40, 35, .35);
}

.ledger__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
}

.ledger__rows { margin: 0; }

.ledger__line {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  font-size: 1.08rem;
}

.ledger__line + .ledger__line { margin-top: .85rem; }

.ledger__line dt {
  font-style: italic;
  opacity: .75;
}

.ledger__fill {
  flex: 1;
  border-bottom: 1px dotted rgba(44, 40, 35, .45);
  transform: translateY(-4px);
}

.ledger__line dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  white-space: nowrap;
}

/* ── 4 · four homes ───────────────────────────────────────── */

.homes {
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 10rem) clamp(1.5rem, 5vw, 4rem);
}

.home {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  align-items: end;
  margin-top: clamp(4rem, 9vh, 7rem);
}

.home--a .ph        { grid-column: 1 / 8; }
.home--a .home__text { grid-column: 8 / 13; padding-bottom: 2.5rem; }
.home--b .ph        { grid-column: 6 / 13; grid-row: 1; }
.home--b .home__text { grid-column: 1 / 6; grid-row: 1; padding-bottom: 2.5rem; }

.home__text h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: .9rem;
}

.home__text p { max-width: 34ch; font-size: 1.05rem; }

/* the silos — read as the pair they are */

.silos { margin-top: clamp(6rem, 14vh, 10rem); }

.silos__head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.silos__head .pull-line { margin: 1.5rem auto 0; }

.silos__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4.5rem);
  max-width: 46rem;
  margin: 0 auto;
}

.silo { text-align: left; }

.silo__crop {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.75rem;
}

.silo h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: .7rem;
}

.silo p { font-size: .98rem; line-height: 1.6; }

/* ── 5 · the income ───────────────────────────────────────── */

.income {
  background: var(--green);
  color: var(--parchment);
  padding: clamp(5.5rem, 12vh, 9rem) 1.5rem;
  margin-top: clamp(4rem, 8vh, 6rem);
}

.income__inner { max-width: 44rem; margin: 0 auto; }

.income h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.12;
  max-width: 16em;
}

.income__prose { margin-top: 2.5rem; }
.income__prose p { max-width: 58ch; font-size: 1.1rem; }

.zero-row {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 3.5rem 0 1rem;
  flex-wrap: wrap;
}

.zero {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(6.5rem, 16vw, 10.5rem);
  line-height: .85;
  color: var(--straw);
}

.zero__caption {
  max-width: 30ch;
  font-size: 1.08rem;
  line-height: 1.55;
}
.zero__caption em { color: var(--straw); }

/* ── 6 · the possibility ──────────────────────────────────── */

.possibility {
  padding: clamp(8rem, 22vh, 15rem) 1.5rem;
  text-align: center;
}

.possibility__line {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: "opsz" 30, "WONK" 0, "SOFT" 0;
  font-size: clamp(1.8rem, 4.5vw, 3.1rem);
  line-height: 1.3;
}
.possibility__line em { color: var(--red); }

/* ── 7 · the invitation ───────────────────────────────────── */

.invitation {
  background: var(--cream);
  padding: clamp(5rem, 11vh, 8rem) 1.5rem;
}

.invitation > .eyebrow,
.invitation > h2,
.invitation__price,
.invitation__form,
.invitation__agent {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.invitation h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.invitation__price {
  margin-top: 1rem;
  font-style: italic;
  opacity: .7;
}

.invitation__form { margin-top: 3rem; }

.field label {
  display: block;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  opacity: .6;
  margin-bottom: .3rem;
}

.field + .field,
.field--choice { margin-top: 1.9rem; }

.field--choice {
  border: 0;
  padding: 0;
}

.field--choice legend {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  opacity: .6;
  margin-bottom: .55rem;
  padding: 0;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-right: 2.25rem;
  font-size: 1.08rem;
  cursor: pointer;
}

.choice input {
  accent-color: var(--red);
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(44, 40, 35, .35);
  background: transparent;
  font-family: var(--body);
  font-size: 1.1rem;
  color: var(--charcoal);
  padding: .35rem 0;
  border-radius: 0;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.invitation__form button {
  margin-top: 2.4rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--parchment);
  background: var(--red);
  border: none;
  padding: .9rem 2.4rem;
  cursor: pointer;
}

.invitation__form button:hover { background: #8f3623; }

.invitation__agent {
  margin-top: 3.5rem;
  font-style: normal;
  font-size: .98rem;
  line-height: 1.7;
  opacity: .85;
}

/* ── 8 · footer ───────────────────────────────────────────── */

.footer {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  font-size: .85rem;
  line-height: 1.8;
  opacity: .7;
}

.footer .silo-glyph { margin: 0 auto 1.2rem; display: block; }

/* ── responsive ───────────────────────────────────────────── */

@media (max-width: 760px) {
  .land__offset { display: block; }
  .ph--right { margin-top: 2.5rem; }

  .home { display: block; }
  .home__text { padding: 1.5rem 0 0 !important; }
  .home__text p { max-width: 60ch; }

  .hero__image .ph-caption { top: auto; bottom: auto; right: 1.25rem; top: 1.25rem; }

  .silos__pair { gap: 1.25rem; }
  .silo p { font-size: .88rem; }
  .silo h4 { font-size: 1rem; }

  .zero-row { gap: 1.25rem; }
}

@media (max-width: 420px) {
  .silo p { font-size: .82rem; }
  .ledger__row { gap: .3rem 1.5rem; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__image { animation: none; }
  html { scroll-behavior: auto; }
}
