/* ═══════════════════════════════════════════════════════════════
   Rachel Mounce Homes — site.css
   One stylesheet for every page. Colours and fonts live in :root;
   change them there and the whole site follows.
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("/fonts/librefranklin-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #f7f2ea;       /* warm sand page ground */
  --paper-deep: #eee5d7;  /* slightly deeper sand for alternate sections */
  --card: #fffdf9;        /* form + card surface */
  --ink: #1f2a33;         /* text, deep slate */
  --muted: #5b6570;       /* secondary text */
  --night: #18222b;       /* footer + dark bands */
  --accent: #386388;      /* the Rachel Mounce blue: buttons, links */
  --accent-hover: #2b4d6b;
  --line: rgba(31, 42, 51, .14);
  --on-dark: #f7f2ea;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --wide: 1240px;
  --narrow: 860px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; margin: 0 0 .45em; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }

.display-xl { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; }
.display-l  { font-size: clamp(38px, 4.8vw, 62px); line-height: 1.06; }
.display-m  { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; }
.display-s  { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.18; }
.display-xs { font-size: clamp(22px, 2vw, 26px); line-height: 1.25; }
.lead       { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; }
.lead-xl    { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.55; }
.kicker     { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 1.2em; }
.muted { color: var(--muted); }
.center { text-align: center; }

.wrap { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section.deep { background: var(--paper-deep); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; line-height: 1.2; font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: .02em; text-decoration: none; padding: 1em 1.9em; border: 1.5px solid var(--accent); border-radius: 2px; background: var(--accent); color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: #fff; }
.btn.on-dark { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn.on-dark:hover { background: #fff; border-color: #fff; }
.btn.ghost.on-dark { background: transparent; color: var(--on-dark); border-color: rgba(247,242,234,.7); }
.btn.ghost.on-dark:hover { background: var(--on-dark); color: var(--ink); }
.btn.on-light { background: transparent; color: var(--accent); }
.btn.on-light:hover { background: var(--accent); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--accent); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--accent-hover); }

/* ═══ Header ═══ */
.site-header { background: var(--paper); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px var(--gutter); max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; min-height: 84px; }
.logo img { width: clamp(118px, 10vw, 140px); }
.nav-main { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.nav-main > a, .nav-main .has-sub > a { text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .01em; line-height: 1.3; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-main > a:hover, .nav-main > a[aria-current="page"], .nav-main .has-sub > a:hover, .nav-main .has-sub > a[aria-current="page"] { border-bottom-color: currentColor; }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.has-sub .sub { position: absolute; left: -22px; top: 100%; background: var(--card); padding: 14px 22px; min-width: 250px; display: none; flex-direction: column; gap: 4px; box-shadow: 0 12px 32px rgba(24,34,43,.1); border: 1px solid var(--line); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex; }
.has-sub .sub a { text-decoration: none; font-size: 15px; padding: 6px 0; white-space: nowrap; }
.has-sub .sub a:hover { color: var(--accent); }
.nav-main a.btn { margin-left: 6px; font-size: 14px; padding: .9em 1.5em; color: #fff; border-bottom: 1.5px solid var(--accent); }
.nav-main a.btn:hover { border-bottom-color: var(--accent-hover); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 1.5px; background: var(--ink); margin: 6px 0; }

@media (max-width: 960px) {
  .site-header .bar { min-height: 68px; }
  .logo img { width: 104px; }
  .menu-toggle { display: block; order: 2; margin-right: -10px; }
  .nav-main { display: none; position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: center; gap: 18px; z-index: 50; padding: 24px; }
  .nav-main.open { display: flex; }
  .nav-main > a, .nav-main .has-sub > a { font-size: 30px; font-family: var(--display); font-weight: 500; }
  .has-sub { text-align: center; }
  .has-sub > a::after { display: none; }
  .has-sub .sub { position: static; display: flex; box-shadow: none; border: 0; padding: 6px 0 0; min-width: 0; background: none; }
  .has-sub .sub a { font-size: 16px; color: var(--muted); }
  .nav-main a.btn { margin: 14px 0 0; font-family: var(--body); font-size: 16px; padding: 1em 2em; }
  .menu-close { position: absolute; top: 14px; right: 18px; font-size: 40px; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink); }
}
@media (min-width: 961px) { .menu-close { display: none; } }

/* ═══ Photo heroes & bands (photo behind text) ═══ */
.photo-band { position: relative; color: var(--on-dark); overflow: hidden; background: var(--night); }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(14,20,26,.8) 0%, rgba(14,20,26,.55) 42%, rgba(14,20,26,0) 75%), linear-gradient(0deg, rgba(14,20,26,.7) 0%, rgba(14,20,26,0) 60%), rgba(14,20,26,var(--shade, .1)); }
.photo-band .inner { text-shadow: 0 1px 18px rgba(14,20,26,.35); }
@media (max-width: 700px) { .photo-band::before { background: linear-gradient(0deg, rgba(14,20,26,.82) 0%, rgba(14,20,26,.55) 55%, rgba(14,20,26,.25) 100%); } }
.photo-band > .wrap, .photo-band > .inner { position: relative; z-index: 2; }
.photo-band h1, .photo-band h2, .photo-band h3 { color: var(--on-dark); }
.photo-band .kicker { color: rgba(247,242,234,.85); }

/* Home hero: the house, full bleed */
.hero-home { min-height: min(calc(100svh - 84px), 860px); display: flex; align-items: flex-end; }
.hero-home > img { object-position: 50% 60%; }
.hero-home .inner { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 120px var(--gutter) clamp(48px, 6vw, 80px); }
.hero-home h1 { max-width: 12ch; margin-bottom: .35em; }
.hero-home .lead { max-width: 560px; margin-bottom: 1.8em; color: rgba(247,242,234,.92); }
.proof { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(247,242,234,.28); font-size: 14px; letter-spacing: .02em; color: rgba(247,242,234,.9); }
.proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 15px; height: 15px; fill: currentColor; }

.page-hero { min-height: clamp(300px, 38vw, 520px); display: flex; align-items: flex-end; }
.page-hero .inner { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 100px var(--gutter) clamp(40px, 5vw, 64px); }
.page-hero .inner > * { max-width: 680px; }
.page-hero .lead { color: rgba(247,242,234,.92); margin: 0; }

.blue-band { background: var(--paper-deep); padding: clamp(48px, 6vw, 80px) var(--gutter); text-align: center; }
.blue-band h1, .blue-band h2 { margin: 0 auto; max-width: 20ch; }

/* ═══ Home: book-direct intro ═══ */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.intro h2 { margin-bottom: .5em; }
.specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px clamp(24px, 3vw, 44px); margin: 2em 0 2.2em; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs div { display: flex; flex-direction: column; }
.specs dt { order: 2; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.specs dd { order: 1; margin: 0; font-family: var(--display); font-size: 40px; line-height: 1; }
.intro-photos { display: grid; grid-template-columns: 1fr .8fr; gap: 14px; align-items: end; }
.intro-photos img { width: 100%; object-fit: cover; }
.intro-photos img:first-child { aspect-ratio: 3 / 4; }
.intro-photos img:last-child { aspect-ratio: 4 / 5; margin-bottom: 18%; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .specs { grid-template-columns: repeat(2, auto); } }

/* ═══ Gallery (mosaic + lightbox) ═══ */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 14vw, 200px); gap: 10px; }
.gallery button { padding: 0; border: 0; background: var(--paper-deep); cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .g1 { grid-column: span 7; grid-row: span 2; }
.gallery .g2 { grid-column: span 5; grid-row: span 1; }
.gallery .g3 { grid-column: span 5; grid-row: span 1; }
.gallery .g4 { grid-column: span 4; grid-row: span 2; }
.gallery .g5 { grid-column: span 4; grid-row: span 1; }
.gallery .g6 { grid-column: span 4; grid-row: span 2; }
.gallery .g7 { grid-column: span 4; grid-row: span 1; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery button { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .g1 { grid-column: span 2 !important; grid-row: span 2 !important; }
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 420px; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12,17,22,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font: 300 44px/1 var(--body); padding: 12px 18px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: 8px; right: 8px; }
.lightbox .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ═══ Amenities + nearby ═══ */
.details { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 110px); }
.amenities { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 36px; }
.amenities li { break-inside: avoid; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.amenities li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.nearby { margin: 0; }
.nearby div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nearby dt { font-family: var(--display); font-size: 22px; line-height: 1.1; color: var(--accent); }
.nearby dd { margin: 0; }
.fine { font-size: 14px; color: var(--muted); margin-top: 1.6em; }
@media (max-width: 860px) { .details { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .amenities { columns: 1; } }

/* ═══ Guest reviews ═══ */
.reviews-head { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.reviews-head .score { font-family: var(--display); font-size: clamp(64px, 8vw, 104px); line-height: 1; margin: 0; }
.reviews-head .stars { display: inline-flex; gap: 4px; color: var(--accent); margin: 10px 0 6px; }
.reviews-head .stars svg { width: 18px; height: 18px; fill: currentColor; }
.reviews { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.reviews figure { margin: 0; padding-top: 22px; border-top: 1px solid var(--ink); }
.reviews blockquote { margin: 0 0 1.2em; font-family: var(--display); font-size: clamp(21px, 1.8vw, 25px); line-height: 1.35; }
.reviews figure:first-child blockquote { font-size: clamp(25px, 2.4vw, 32px); line-height: 1.25; }
.reviews figcaption { font-size: 14px; color: var(--muted); }
.reviews figcaption strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ═══ Booking ═══ */
.book { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.book .widget { background: var(--card); border: 1px solid var(--line); padding: clamp(12px, 2vw, 24px); }
.book iframe, .booking iframe { width: 100%; border: 0; display: block; }
.book ul { padding-left: 1.1em; margin: 0 0 1.4em; }
.book li { margin-bottom: .45em; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } }

/* ═══ Home: "also" services list ═══ */
.also { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.also h2 { position: sticky; top: 120px; }
.service-rows { border-top: 1px solid var(--ink); }
.service-row { display: grid; grid-template-columns: 180px 1fr; gap: clamp(18px, 3vw, 36px); padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: center; }
.service-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-row h3 { font-size: clamp(25px, 2.4vw, 32px); margin-bottom: .25em; transition: color .2s; }
.service-row p { margin: 0 0 .6em; color: var(--muted); }
.service-row .arrow { font-size: 14px; font-weight: 500; color: var(--accent); }
.service-row:hover h3 { color: var(--accent); }
@media (max-width: 860px) { .also { grid-template-columns: 1fr; } .also h2 { position: static; } }
@media (max-width: 520px) { .service-row { grid-template-columns: 110px 1fr; align-items: start; } }

/* ═══ About teaser ═══ */
.about-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.about-teaser img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 860px) { .about-teaser { grid-template-columns: 1fr; } .about-teaser img { max-width: 420px; } }

/* ── Video: click-to-play facade (no YouTube request until clicked) ── */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; cursor: pointer; overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video button { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border: 1.5px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(14,20,26,.45); cursor: pointer; transition: background .2s; }
.video:hover button { background: var(--accent); }
.video button::after { content: ""; position: absolute; left: 34px; top: 27px; border-style: solid; border-width: 15px 0 15px 22px; border-color: transparent transparent transparent #fff; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ═══ Contact band: text + HubSpot form on a card (every page) ═══ */
.contact-band { background: var(--night); color: var(--on-dark); padding: clamp(64px, 9vw, 120px) 0; }
.contact-band::before, .contact-band > img { display: none; }
.contact-band .inner { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact-band h2 { color: var(--on-dark); }
.contact-band .contact-copy p { color: rgba(247,242,234,.82); max-width: 420px; }
.contact-band .contact-copy a { color: var(--on-dark); }
.contact-band .hs-form-wrap { background: var(--card); color: var(--ink); padding: clamp(24px, 3vw, 40px); }
@media (max-width: 900px) { .contact-band .inner { grid-template-columns: 1fr; } }

/* HubSpot form: it renders inside HubSpot's own iframe, so its fields are styled in HubSpot (Marketing > Forms > Style), not here */
.hs-form-wrap { min-height: 420px; }

/* ═══ Card overlapping a photo (Services) ═══ */
.overlap { display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; }
.overlap .photo { grid-row: 1 / span 2; }
.overlap .photo img { width: 100%; aspect-ratio: 842 / 750; object-fit: cover; }
.overlap .card { background: var(--card); color: var(--ink); padding: clamp(28px, 3.4vw, 48px); margin-top: 48px; position: relative; z-index: 2; box-shadow: 0 18px 50px rgba(24,34,43,.08); }
.overlap .card h2 { margin-bottom: .6em; }
.overlap .card p { margin-bottom: .8em; }
.overlap .list { padding-top: 40px; }
.overlap .list ul { padding-left: 1.2em; margin: 0; }
.overlap .list li { margin-bottom: .55em; }
.overlap .list h3 { font-family: var(--body); font-size: 18px; font-weight: 600; margin-bottom: .8em; }
.overlap.left .photo { grid-column: 1 / span 7; }
.overlap.left .card  { grid-column: 7 / span 6; grid-row: 1; }
.overlap.left .list  { grid-column: 8 / span 5; grid-row: 2; padding-left: 10%; }
.overlap.right .photo { grid-column: 5 / span 8; }
.overlap.right .card  { grid-column: 1 / span 5; grid-row: 1; }
.overlap.right .list  { grid-column: 1 / span 4; grid-row: 2; padding-left: 6%; }
@media (max-width: 800px) {
  .overlap { display: block; }
  .overlap .card, .overlap.right .card { margin: -48px 12px 0; }
  .overlap .list, .overlap.right .list { padding: 32px 8px 0; }
}
.divider { border: 0; border-top: 1px solid var(--line); width: 100%; max-width: var(--wide); margin: clamp(48px, 6vw, 88px) auto; }

/* ═══ Card grids (Vacation Rentals, STR Management) ═══ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.6vw, 36px); }
.grid-4 img { width: 100%; object-fit: cover; }
.grid-4 h3 { margin-top: .8em; font-size: clamp(24px, 2.1vw, 28px); }
.grid-4 p { font-size: 16px; }
.vr-cards img { aspect-ratio: 4 / 3; }
.str-cards h3 { margin: 0 0 .5em; }
.str-cards img { aspect-ratio: 4 / 3; margin-top: 18px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* STR hero: text left, photo right to the page edge */
.str-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: stretch; padding-left: var(--gutter); max-width: 1600px; margin: 0 auto; }
.str-hero .text { display: flex; flex-direction: column; justify-content: center; padding: 80px 0 60px; }
.str-hero .text hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0 24px; }
.str-hero img { width: 100%; height: 100%; min-height: min(760px, 56vw); object-fit: cover; }
@media (max-width: 800px) {
  .str-hero { grid-template-columns: 1fr; padding: 0; }
  .str-hero .text { padding: 48px var(--gutter) 24px; }
  .str-hero img { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ═══ About ═══ */
.about p { margin-bottom: 1.4em; }

/* ═══ Contact page ═══ */
.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-page img { width: 100%; }
.contact-page .hs-form-wrap { background: var(--card); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); }
@media (max-width: 800px) { .contact-page { grid-template-columns: 1fr; } }

/* ═══ Blog ═══ */
.post-card { max-width: 720px; margin: 0 auto; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 26px; }
.post-card time, .article time { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.post-card h2 a { text-decoration: none; }
.post-card .excerpt { font-size: 19px; line-height: 1.6; }
.post-card .more { color: var(--accent); font-weight: 500; font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; }
.article { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.article h1 { font-size: clamp(38px, 5.2vw, 60px); margin: .4em 0 .7em; }
.article .body p { line-height: 1.75; }
.article .body a { color: var(--accent); overflow-wrap: anywhere; }
.article .body img { margin: 1.6em 0; }

/* ═══ Privacy ═══ */
.legal { font-size: 15px; line-height: 1.8; color: #44505b; }
.legal h1 { font-family: var(--body); font-weight: 700; color: var(--ink); font-size: 28px; }
.legal h2 { font-family: var(--body); font-weight: 700; color: var(--ink); font-size: 20px; margin-top: 2.4em; }
.legal h3 { font-family: var(--body); font-weight: 700; color: var(--ink); font-size: 17px; margin-top: 1.6em; }
.legal a { color: var(--accent); }
.legal .toc { margin: 0 0 .35em; }
.legal ul { padding-left: 1.4em; list-style: square; }
.legal table { border-collapse: collapse; width: 100%; } .legal td, .legal th { border: 1px solid #ccc; padding: 8px; vertical-align: top; }

/* ═══ Footer ═══ */
.site-footer { background: var(--night); color: rgba(247,242,234,.78); padding: 0 0 40px; font-size: 15px; }
.site-footer .inner { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 0; border-top: 1px solid rgba(247,242,234,.14); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 28px; color: var(--on-dark); margin-bottom: .5em; }
.site-footer h3 { font-family: var(--body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: rgba(247,242,234,.55); margin-bottom: 1em; }
.site-footer p { margin: 0 0 .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6em; }
.site-footer a { text-decoration: none; color: var(--on-dark); }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal-links { grid-column: 1 / -1; font-size: 13px; margin-top: 24px; color: rgba(247,242,234,.55); }
.site-footer .legal-links a { color: rgba(247,242,234,.7); }
@media (max-width: 760px) { .site-footer .inner { grid-template-columns: 1fr; } }

/* ═══ Reveal on scroll ═══ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
