:root {
  --paper: #F2EEE3;
  --paper-deep: #E7DFC9;
  --mist: #DCE3D9;
  --ink: #2A2A22;
  --ink-soft: #5B5A4E;
  --pine: #37463A;
  --cedar: #8B5E3C;
  --gold: #C98A46;
  --border: rgba(42, 42, 34, 0.14);
  --border-strong: rgba(42, 42, 34, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Public Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.rule {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

.eyebrow {
  font: 500 11px/1.4 'Public Sans', sans-serif;
  font-variant: small-caps;
  letter-spacing: 0.09em;
  color: var(--pine);
  margin: 0 0 12px;
}

.body-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.body-text + .body-text {
  margin-top: 14px;
}

.section {
  max-width: 620px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem;
}

/* HERO */
.hero {
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.hero-media-wrap {
  position: relative;
}

.hero-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  border-radius: 4px;
  display: block;
}

/* PHOTO HERO: reuses the same image as a soft blurred backdrop so a photo
   that doesn't exactly fill 4:3 is never shown as a plain letterboxed
   rectangle. If the photo already matches 4:3, this backdrop simply never
   becomes visible \u2014 the foreground image fills the frame either way. */
.hero-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink);
}

.hero-photo-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.65) saturate(1.1);
  transform: scale(1.15);
}

.hero-photo-fg {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sound-toggle {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(42, 42, 34, 0.45);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.sound-toggle:hover {
  background: rgba(42, 42, 34, 0.65);
}

.caption {
  font-size: 11.5px;
  color: var(--ink-soft);
  font-style: italic;
  margin: 10px 0 0;
}

.hero-title {
  margin-top: 22px;
}

.hero-title h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 32px;
  margin: 0;
  color: var(--ink);
}

.hero-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 4px 0 0;
}

/* ORIENTATION */
.voice-text {
  font-family: 'Newsreader', serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.voice-text p {
  margin: 0 0 16px;
}

.closing-line {
  font-style: italic;
}

.practical-ref {
  margin: 4px 0 18px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* PERSONAL STORY */
.personal-story {
  background: var(--paper-deep);
  padding: 4rem 0 4.5rem;
}

.story-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.gold-rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 28px;
}

.story-text {
  font-family: 'Newsreader', serif;
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink);
  text-align: left;
}

.story-text::after {
  content: "";
  display: table;
  clear: both;
}

.story-text p {
  margin: 0 0 20px;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.drop-cap {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 58px;
  line-height: 0.7;
  float: left;
  padding-right: 10px;
  padding-top: 8px;
  color: var(--pine);
}

/* GALLERY */
.gallery-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.photo {
  flex: 0 0 140px;
  height: 175px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
  background: var(--mist);
}

/* CARDS */
.card-pair {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.card {
  background: var(--paper);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 16px 18px;
}

.card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 6px;
}

/* RELATED STORIES / DESTINATIONS */
.story-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-list li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}

.story-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--pine);
}

.transition-line {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 12px;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.pill {
  font-size: 13px;
  padding: 10px 8px;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  text-align: center;
  color: var(--ink-soft);
}

/* THINKING ABOUT LIVING HERE */
.realtor-credit {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 0.5px dashed var(--border-strong);
}

.realtor-name {
  font-family: 'Fraunces', serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.realtor-brokerage {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 2px 0 0;
}

/* NEWSLETTER */
.newsletter {
  text-align: center;
}

.newsletter-line {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 6px;
}

.newsletter-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 360px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 11px 14px;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  font-family: 'Public Sans', sans-serif;
  font-size: 14px;
  background: var(--paper);
  color: var(--ink);
}

.newsletter-form button {
  padding: 11px 22px;
  border: 0.5px solid var(--pine);
  border-radius: 4px;
  background: transparent;
  color: var(--pine);
  font-family: 'Public Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: var(--pine);
  color: var(--paper);
}

/* Accessibility: visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 2px;
}

/* Reduced motion respected globally, even though this page has no
   decorative animation today — kept here so it's not forgotten later */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* DESKTOP: paired two-column layouts, wider gallery grid */
@media (min-width: 900px) {

  .hero,
  .section {
    max-width: 680px;
  }

  .story-inner {
    max-width: 600px;
  }

  .paired {
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 320px;
    overflow: hidden;
  }

  .photo {
    flex: none;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
  }

  .photo-large {
    grid-row: 1 / 3;
  }

  .card-pair {
    flex-direction: row;
  }

  .card-pair .card {
    flex: 1;
  }
}
