/* =====================================================================
   Villa Blue Hole — sale prospectus
   Register: brand. The photography carries the color; the UI records.
   Reference: nautical chart folded into a field guide.
   ===================================================================== */

:root {
  /* color — ocean ink on pure white, one coral accent */
  --bg: oklch(1 0 0);
  --ink: oklch(0.23 0.04 245);
  --ink-2: oklch(0.40 0.045 243);
  --ink-3: oklch(0.48 0.04 243);
  --sea: oklch(0.47 0.13 242);          /* links, active states */
  --sea-deep: oklch(0.27 0.06 244);     /* drenched panels */
  --foam: oklch(0.965 0.012 235);       /* chart-paper panel */
  --hairline: oklch(0.88 0.015 240);
  --coral: oklch(0.55 0.16 35);         /* the one warm accent */
  --coral-deep: oklch(0.47 0.15 35);
  --on-dark: oklch(0.97 0.008 235);
  --on-dark-2: oklch(0.85 0.02 238);

  /* type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Serif 4", Georgia, serif;

  --t-hero: clamp(3rem, 9vw, 5.75rem);
  --t-h2: clamp(1.85rem, 3.6vw, 2.9rem);
  --t-h3: clamp(1.2rem, 1.8vw, 1.45rem);
  --t-body: 1.0625rem;
  --t-small: 0.9rem;
  --t-label: 0.8125rem;

  /* space */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.75rem;
  --s-4: clamp(2.5rem, 5vw, 4rem);
  --s-5: clamp(4rem, 9vw, 8rem);
  --s-6: clamp(6rem, 13vw, 11rem);

  --w-prose: 66ch;
  --w-wide: 76rem;

  /* z scale */
  --z-topbar: 10;
  --z-lightbox: 20;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 118;
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: #fff; padding: 0.5rem 1rem;
  z-index: var(--z-lightbox); transition: top 0.15s;
}
.skip-link:focus { top: 1rem; }

/* ---------- prose ---------- */
.prose { max-width: var(--w-prose); }
.prose p { text-wrap: pretty; }
.prose-lg p {
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.55;
  margin-bottom: 1.1em;
}

blockquote {
  margin: 1.8em 0 1.4em;
  padding-left: 1.6rem;
  position: relative;
}
blockquote::before {
  content: "“";
  position: absolute;
  left: 0; top: -0.12em;
  font-family: var(--f-body);
  font-size: 2.2em;
  line-height: 1;
  color: var(--sea);
}
blockquote p {
  font-style: italic;
  font-size: 1.08em;
  margin-bottom: 0.4em;
}
blockquote cite {
  font-family: var(--f-display);
  font-style: normal;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- topbar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding: 0.9rem clamp(1rem, 3vw, 2.5rem);
  color: #fff;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.topbar.scrolled {
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--hairline);
}
.topbar-brand {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 122;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}
.topbar-nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.6rem); }
.topbar-nav a {
  font-family: var(--f-display);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: inherit;
  text-decoration: none;
}
.topbar-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar-cta {
  padding: 0.45rem 1rem;
  background: var(--coral);
  color: #fff !important;
  border-radius: 3px;
}
.topbar-cta:hover { background: var(--coral-deep); text-decoration: none !important; }
@media (max-width: 780px) {
  .topbar-nav a:not(.topbar-cta) { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, oklch(0.2 0.05 245 / 0.72) 0%, oklch(0.2 0.05 245 / 0.25) 34%, transparent 60%),
    linear-gradient(to bottom, oklch(0.2 0.05 245 / 0.35), transparent 22%);
}
.hero-content {
  position: relative;
  color: #fff;
  padding: 0 clamp(1.25rem, 4vw, 4rem) clamp(2.5rem, 6vh, 4.5rem);
  max-width: 60rem;
}
.hero-kicker {
  display: inline-block;
  font-family: var(--f-display);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding: 0.5rem 0.9rem;
  background: oklch(0.23 0.05 245 / 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid oklch(1 0 0 / 0.45);
  border-radius: 2px;
  color: #fff;
}
.hero-title {
  font-size: var(--t-hero);
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35em;
  text-shadow: 0 2px 24px oklch(0.2 0.05 245 / 0.35);
}
.hero-sub {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  margin-bottom: 1.6rem;
  text-shadow: 0 1px 12px oklch(0.2 0.05 245 / 0.4);
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-family: var(--f-display);
  font-size: 0.95rem;
  margin-bottom: 1.9rem;
}
.hero-facts span { white-space: nowrap; }
.hero-facts strong { font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-coords {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: 1.1rem;
  margin: 0;
  color: oklch(0.95 0.01 220 / 0.85);
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.hero-coords:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .hero-coords { display: none; }

  /* Mobile: let the house own the frame — image full-bleed on top,
     the message on white below it. */
  .hero { display: block; min-height: 0; }
  .hero-img { position: static; height: 56svh; }
  .hero-scrim { display: none; }
  .hero-content {
    position: static;
    color: var(--ink);
    padding: 1.4rem 1.25rem 0.4rem;
  }
  .hero-title { text-shadow: none; }
  .hero-sub { text-shadow: none; margin-bottom: 1.2rem; }
  .hero-kicker {
    background: var(--ink);
    border-color: var(--ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero-facts { margin-bottom: 1.4rem; }
  .btn-ghost { color: var(--ink); border-color: oklch(0.23 0.04 245 / 0.45); }
  .btn-ghost:hover { background: oklch(0.23 0.04 245 / 0.06); color: var(--ink); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 3px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-solid { background: var(--coral); color: #fff; }
.btn-solid:hover { background: var(--coral-deep); color: #fff; }
.btn-ghost {
  color: #fff;
  border: 1px solid oklch(1 0 0 / 0.65);
}
.btn-ghost:hover { background: oklch(1 0 0 / 0.14); color: #fff; }
.btn-lg { font-size: 1.05rem; padding: 1rem 2.1rem; }

/* ---------- proof strip ---------- */
.proof { border-bottom: 1px solid var(--hairline); }
.proof-inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: var(--s-3) clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) clamp(1.1rem, 2.2vw, 2.4rem);
}
.gf-badge {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.6rem);
}
.gf-title {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
.gf-laurel {
  display: flex;
  align-items: center;
  color: var(--ink);
}
.gf-laurel-side { width: 1.65rem; height: 3.5rem; flex: none; }
.gf-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  padding: 0 0.1rem;
}
.gf-sub {
  margin: 0;
  font-size: var(--t-small);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 18ch;
}
@media (max-width: 700px) {
  .gf-badge { flex-wrap: wrap; }
  .gf-sub { max-width: 32ch; flex-basis: 100%; }
}
.proof-sub { margin: 0; font-size: var(--t-small); color: var(--ink-2); max-width: 30ch; }
.proof-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  margin: 0 0 0.2rem;
  font-variant-numeric: tabular-nums;
}
.proof-num span { font-size: 1rem; font-weight: 600; color: var(--ink-3); }
.proof-link {
  margin-left: auto;
  font-family: var(--f-display);
  font-weight: 650;
  font-size: var(--t-small);
}
@media (max-width: 700px) {
  .proof-link { margin-left: 0; }
}

/* ---------- statement ---------- */
.statement {
  padding: var(--s-5) clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  justify-content: center;
}

/* ---------- shared section plumbing ---------- */
section { scroll-margin-top: 4.5rem; }

.bleed { margin: 0; }
.bleed img { width: 100%; max-height: 88vh; aspect-ratio: 8 / 5; object-fit: cover; }

.bleed-overlay { position: relative; }
.bleed-overlay img { min-height: 30rem; }
.bleed-overlay::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0.2 0.05 245 / 0.78), oklch(0.2 0.05 245 / 0.3) 42%, transparent 65%);
  pointer-events: none;
}
.bleed-caption {
  position: absolute;
  left: clamp(1.25rem, 4vw, 4rem);
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  max-width: 44rem;
  z-index: 1;
  pointer-events: none;
}
.bleed-caption h2 { margin-bottom: 0.3em; }
.bleed-caption p { font-size: 1.1rem; margin: 0; text-wrap: pretty; }

.split {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: var(--s-5) clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s-4) clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split-img { margin: 0; }
.split-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split-img figcaption {
  font-family: var(--f-display);
  font-size: var(--t-label);
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-top: 0.7rem;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- place ---------- */
.place .split { padding-top: 0; }
.place .bleed:first-child { margin-bottom: var(--s-5); }

/* ---------- water ---------- */
.water { padding: var(--s-5) 0 0; }
.water-intro {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) var(--s-4);
}
.water-feature {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) var(--s-5);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s-3) clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.water-feature-img { margin: 0; }
.water-feature-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.water-feature-flip .water-feature-img { order: 2; }
.water-feature-flip .water-feature-text { order: 1; }
@media (max-width: 900px) {
  .water-feature { grid-template-columns: 1fr; }
  .water-feature-flip .water-feature-img { order: 0; }
  .water-feature-flip .water-feature-text { order: 1; }
}

.water-pair {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) var(--s-5);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.water-card { margin: 0; }
.water-card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.water-card figcaption { padding-top: 1.4rem; max-width: 56ch; }
.water-card figcaption p { text-wrap: pretty; }
.water-card blockquote { margin-top: 1.2em; }

/* ---------- house ---------- */
.house { padding-top: var(--s-5); }
.spec-table {
  margin: 0;
  border-top: 1px solid var(--ink);
}
.spec-table > div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline);
}
.spec-table dt {
  font-family: var(--f-display);
  font-size: var(--t-label);
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-top: 0.15rem;
}
.spec-table dd { margin: 0; text-align: right; }

/* gallery */
.gallery {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) var(--s-5);
}
.gallery-title { margin-bottom: 0.2em; }
.gallery-hint {
  font-family: var(--f-display);
  font-size: var(--t-small);
  color: var(--ink-3);
  margin-bottom: var(--s-3);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 11.5rem;
  grid-auto-flow: dense;
  gap: 0.6rem;
}
.g-item {
  display: block;
  padding: 0; margin: 0; border: 0;
  background: var(--foam);
  cursor: zoom-in;
  overflow: hidden;
  text-decoration: none;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.g-item:hover img { transform: scale(1.035); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 10rem; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-auto-rows: 8.5rem; }
}

.split-work { padding-top: 0; }

/* ---------- included (drenched panel) ---------- */
.included { background: var(--sea-deep); color: var(--on-dark); }
.included-inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: var(--s-5) clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--s-4) clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.included-figure { margin: 0; }
.included-figure img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.included-figure figcaption {
  font-family: var(--f-display);
  font-size: var(--t-label);
  letter-spacing: 0.04em;
  color: var(--on-dark-2);
  margin-top: 0.8rem;
}
@media (max-width: 900px) {
  .included-inner { grid-template-columns: 1fr; align-items: start; }
}
.included h2 { color: #fff; }
.included-lead {
  max-width: var(--w-prose);
  font-size: 1.15rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--on-dark-2);
  margin-bottom: var(--s-4);
}
.manifest {
  list-style: none;
  margin: 0; padding: 0;
  max-width: 64rem;
  border-top: 1px solid oklch(1 0 0 / 0.25);
}
.manifest li {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.05rem 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.14);
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.manifest .m-share {
  flex: none;
  width: 3.6rem;
  font-family: var(--f-display);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: oklch(0.82 0.09 220);
  padding-top: 0.1rem;
}
.manifest strong { color: #fff; font-weight: 600; }
.manifest div { color: var(--on-dark-2); }

/* ---------- numbers ---------- */
.numbers {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: var(--s-5) clamp(1.25rem, 4vw, 2.5rem);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: var(--s-4);
  align-items: start;
}
.num-block h3 { margin-bottom: 0.8em; }
.num-big {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
  margin-bottom: 0.5em;
  font-variant-numeric: tabular-nums;
}
.num-big span { font-size: 1.05rem; font-weight: 600; color: var(--ink-3); }
.num-note { font-size: var(--t-small); color: var(--ink-2); }

.cost-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  margin-bottom: 1.2rem;
}
.cost-table th {
  text-align: left;
  font-weight: 400;
  font-size: 0.98rem;
  padding: 0.65rem 1rem 0.65rem 0;
  border-bottom: 1px solid var(--hairline);
}
.cost-table td {
  text-align: right;
  font-family: var(--f-display);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--hairline);
  white-space: nowrap;
}

/* ---------- ownership ---------- */
.ownership { background: var(--foam); }
.ownership .split { align-items: center; }
.split-img-tall img { max-height: 38rem; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- reviews ---------- */
.reviews {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: var(--s-5) clamp(1.25rem, 4vw, 2.5rem);
}
.reviews-lead { max-width: var(--w-prose); color: var(--ink-2); margin-bottom: var(--s-4); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--s-3) clamp(2rem, 4vw, 3.5rem);
}
.review {
  margin: 0;
  padding: 0.6rem 0 0 1.6rem;
}
.review p { font-size: 1.02rem; }

/* ---------- getting there ---------- */
.getting-there { border-top: 1px solid var(--hairline); }
.route-card {
  background: var(--foam);
  border: 1px solid var(--hairline);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.route-line {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 0 1.2rem;
  flex-wrap: wrap;
}
.route-arrow { color: var(--coral); }
.route-to { white-space: nowrap; }
.route-options {
  list-style: none;
  counter-reset: route;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.route-options li {
  counter-increment: route;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--hairline);
}
.route-options li::before {
  content: counter(route);
  grid-row: 1 / span 2;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--coral);
  padding-top: 0.1rem;
  font-variant-numeric: tabular-nums;
}
.route-options .route-line {
  font-size: 1.08rem;
  margin: 0;
}
.route-meta {
  margin: 0;
  grid-column: 2;
  font-size: var(--t-small);
  color: var(--ink-2);
}
.route-pos {
  margin: 1.1rem 0 0;
  font-family: var(--f-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

/* ---------- contact ---------- */
.contact {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5) clamp(1.25rem, 4vw, 2.5rem);
  overflow: hidden;
}
.contact-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: oklch(0.25 0.05 245 / 0.35);
}
.contact-card {
  position: relative;
  background: var(--bg);
  max-width: 34rem;
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
  box-shadow: 0 24px 80px oklch(0.2 0.05 245 / 0.35);
}
.contact-card h2 { margin-bottom: 0.7em; }
.contact-card p { text-wrap: pretty; }
.contact-card .btn { margin-top: 0.6rem; }
.contact-alt {
  margin: 1.4rem 0 0;
  font-size: var(--t-small);
  color: var(--ink-2);
}

/* ---------- footer ---------- */
.footer {
  padding: var(--s-4) clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid var(--hairline);
  font-family: var(--f-display);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: var(--w-wide);
  margin: 0 auto;
}
.footer p { margin: 0 0 0.4em; }

/* ---------- photo links (PhotoSwipe) ---------- */
.pg-lb {
  display: block;
  cursor: zoom-in;
}
.pswp { --pswp-bg: oklch(0.17 0.03 245); z-index: var(--z-lightbox); }

/* ---------- reveal (JS enhances; default fully visible) ---------- */
.will-reveal {
  opacity: 0;
  transform: translateY(1.4rem);
}
.revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .will-reveal { opacity: 1; transform: none; }
  .revealed { transition: none; }
  .g-item img, .g-item:hover img { transition: none; transform: none; }
}
