/* ============================================================
   MARSA ESTATES — luxury real estate template
   Design tokens live here; change these to rebrand the site.
   ============================================================ */

:root {
  /* palette */
  --paper: #f5f2ec;
  /* warm limestone background */
  --paper-2: #ece7dd;
  /* deeper section background */
  --ink: #191c1b;
  /* near-black text */
  --muted: #6b6860;
  /* secondary text */
  --line: #d9d2c6;
  /* hairline borders */
  --sea: #1f3d3a;
  /* deep pine — primary accent / CTAs */
  --sea-2: #29514c;
  /* hover state for sea */
  --brass: #b08c4f;
  /* metallic detail accent, used sparingly */
  --wa: #1f7a53;
  /* whatsapp green, muted to fit palette */
  --wa-2: #196444;

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  /* rhythm */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --maxw: 1280px;
  --radius: 3px;

  --shadow: 0 24px 60px -34px rgba(25, 28, 27, 0.35);
  --shadow-lift: 0 34px 80px -40px rgba(25, 28, 27, 0.5);
}

/* ---------- reset / base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

::selection {
  background: var(--sea);
  color: var(--paper);
}

/* ---------- typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.display {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.display em {
  font-style: italic;
  color: var(--brass);
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

.eyebrow.center::before {
  display: none;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}

.bg-2 {
  background: var(--paper-2);
}

.bg-sea {
  background: var(--sea);
  color: var(--paper);
}

.bg-sea .lead,
.bg-sea .eyebrow {
  color: rgba(245, 242, 236, 0.68);
}

.bg-sea .eyebrow::before {
  background: var(--brass);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1.05rem 2rem;
  border-radius: var(--radius);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
  will-change: transform;
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--sea);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--sea-2);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.bg-sea .btn-ghost {
  border-color: rgba(245, 242, 236, 0.3);
  color: var(--paper);
}

.bg-sea .btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(245, 242, 236, 0.06);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  transform: translateY(-2px);
  background: #fff;
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}

.btn-wa:hover {
  background: var(--wa-2);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: 1.2rem 2.4rem;
  font-size: 0.86rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--brass);
  color: var(--ink);
  transition:
    gap 0.3s ease,
    color 0.3s ease;
}

.text-link:hover {
  gap: 0.95rem;
  color: var(--brass);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--gutter);
  transition:
    background 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease,
    color 0.4s ease;
  color: var(--ink);
}

.site-header.on-hero {
  color: var(--paper);
}

.site-header.scrolled {
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  padding-block: 1.05rem;
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand .mark {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.16em;
}

.brand .sub {
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0.7;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav a:hover,
.nav a.active {
  opacity: 1;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-cta {
  /* border: 1px solid currentColor; */
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  opacity: 1 !important;
}

/* .nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: currentColor;
}

.nav-cta:hover span {
  color: var(--paper);
} */

.site-header.on-hero:not(.scrolled) .nav-cta:hover span {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 101;
}

.menu-toggle span {
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition:
    transform 0.35s ease,
    opacity 0.3s ease;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(25, 28, 27, 0.25) 0%,
    rgba(25, 28, 27, 0) 35%,
    rgba(25, 28, 27, 0.55) 100%
  );
}

.hero-inner {
  padding-bottom: clamp(3.5rem, 8vh, 7rem);
  padding-top: 8rem;
  max-width: 900px;
}

.hero .eyebrow {
  color: rgba(245, 242, 236, 0.85);
}

.hero .eyebrow::before {
  background: var(--brass);
}

.hero h1 {
  margin: 1.4rem 0 1.6rem;
}

.hero p {
  max-width: 46ch;
  color: rgba(245, 242, 236, 0.85);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.5rem, 8vh, 7rem);
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-meta .big {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1;
}

.hero-meta .cap {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

.scroll-hint {
  position: absolute;
  left: var(--gutter);
  bottom: 2rem;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 34px;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.4;
  }

  50% {
    transform: scaleY(1);
    opacity: 0.9;
  }
}

/* ---------- section head ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head .titles {
  max-width: 40ch;
}

.section-head .eyebrow {
  margin-bottom: 1.1rem;
}

/* ---------- property grid ---------- */
.grid {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.6rem);
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  position: relative;
  display: block;
  background: var(--paper);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-media img {
  transform: scale(1.06);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(245, 242, 236, 0.55);
  border-radius: 2px;
  opacity: 0;
  transition:
    opacity 0.5s ease,
    inset 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.card:hover .card-media::after {
  opacity: 1;
  inset: 16px;
}

.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(25, 28, 27, 0.72);
  color: var(--paper);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  backdrop-filter: blur(6px);
}

.card-ref {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  color: rgba(245, 242, 236, 0.9);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.card-body {
  padding: 1.5rem 0.2rem 0;
}

.card-loc {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-title {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0.5rem 0 0.9rem;
  line-height: 1.1;
}

.card-specs {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.card-specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.1rem;
}

.card-price {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
}

.card-cta {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s ease;
}

.card:hover .card-cta {
  gap: 0.75rem;
}

/* ---------- split / about strip ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-body h2 {
  margin: 1.2rem 0 1.4rem;
}

.split-body p + p {
  margin-top: 1.1rem;
}

.split-body .btn,
.split-body .text-link {
  margin-top: 2rem;
}

.stat-row {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  margin: 2.4rem 0;
  flex-wrap: wrap;
}

.stat .n {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1;
}

.stat .l {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

.bg-sea .stat .l {
  color: rgba(245, 242, 236, 0.6);
}

.bg-sea .stat .n {
  color: var(--paper);
}

.bg-sea .stat .n em {
  color: var(--brass);
  font-style: normal;
}

/* ---------- cta band ---------- */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  margin: 1.2rem auto 1.6rem;
  max-width: 18ch;
}

.cta-band .lead {
  margin: 0 auto;
}

.cta-band .actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}

/* ============================================================
   SINGLE PROPERTY PAGE
   ============================================================ */
.pp {
  padding-top: clamp(7rem, 12vh, 9rem);
}

.pp-head {
  margin-bottom: 2.2rem;
}

.pp-crumb {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.pp-crumb a:hover {
  color: var(--brass);
}

.pp-titlerow {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.pp-titlerow .loc {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.pp-titlerow h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
}

.pp-price {
  text-align: right;
}

.pp-price .p {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
}

.pp-price .ref {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

/* gallery */
.gallery {
  margin: 2.5rem 0 clamp(3rem, 6vw, 5rem);
}

.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
  background: var(--paper-2);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.thumb {
  aspect-ratio: 4/3;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  opacity: 0.62;
  transition: opacity 0.3s ease;
}

.thumb.active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--brass);
}

.thumb:hover {
  opacity: 1;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* body two-column */
.pp-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.pp-block {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.pp-block h2 {
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.pp-block p {
  color: #3c3f3d;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.spec {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.spec .l {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec .v {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
  margin-top: 0.3rem;
}

.feature-list {
  columns: 2;
  column-gap: 2.5rem;
}

.feature-list li {
  padding: 0.7rem 0 0.7rem 1.6rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 7px;
  height: 7px;
  border: 1px solid var(--brass);
  transform: rotate(45deg);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(0.95);
}

/* sticky contact card */
.contact-card {
  position: sticky;
  top: 6.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}

.contact-card .cc-price {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 300;
}

.contact-card .cc-sub {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.contact-card .cc-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-card .cc-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.4rem;
  text-align: center;
  line-height: 1.5;
}

.cc-agent {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.cc-agent .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sea);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.1rem;
}

.cc-agent .nm {
  font-weight: 500;
  font-size: 0.95rem;
}

.cc-agent .rl {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- about page ---------- */
.page-hero {
  padding-top: clamp(9rem, 16vh, 12rem);
  padding-bottom: var(--section);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 300;
  margin: 1.4rem 0 1.6rem;
  max-width: 16ch;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.value {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.value .num {
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--brass);
  letter-spacing: 0.1em;
}

.value h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0.9rem 0 0.7rem;
}

.value p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact-info .row {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-info .row:first-child {
  border-top: 1px solid var(--line);
}

.contact-info .l {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-info .v {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
}

.contact-info .v a:hover {
  color: var(--brass);
}

.form {
  display: grid;
  gap: 1.3rem;
}

.form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  transition: border-color 0.3s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8a296;
}

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

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1rem 1.2rem;
  background: rgba(31, 122, 83, 0.08);
  border-left: 2px solid var(--wa);
  border-radius: 2px;
  font-size: 0.92rem;
  color: var(--sea);
}

.form-success.show {
  display: block;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(245, 242, 236, 0.72);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 242, 236, 0.12);
}

.footer-brand .mark {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--paper);
  letter-spacing: 0.14em;
}

.footer-brand .sub {
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-top: 6px;
}

.footer-brand p {
  margin-top: 1.4rem;
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.3rem;
  font-weight: 600;
}

.footer-col a,
.footer-col p {
  font-size: 0.92rem;
  display: block;
  padding: 0.35rem 0;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--brass);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom .socials {
  display: flex;
  gap: 1.6rem;
}

.footer-bottom .socials a:hover {
  color: var(--brass);
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- states ---------- */
.empty-state {
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.empty-state h2 {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--paper-2) 25%,
    #e3ddd2 50%,
    var(--paper-2) 75%
  );
  background-size: 200% 100%;
  animation: sk 1.4s ease infinite;
  border-radius: var(--radius);
}

@keyframes sk {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ---------- focus / a11y ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.thumb:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sea);
  color: var(--paper);
  padding: 0.8rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .contact-card {
    position: static;
    margin-top: 1rem;
  }

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

  .hero-meta {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header.nav-open {
    background: var(--paper);
    color: var(--ink);
  }

  .nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 100;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    background: var(--paper);
    color: var(--ink);
    padding: var(--gutter);
  }

  .nav.open a {
    font-family: var(--display);
    font-size: 2rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 1;
  }

  .nav.open a::after {
    display: none;
  }

  .nav.open .nav-cta {
    border: 1px solid var(--ink);
    font-family: var(--body);
    font-size: 0.9rem;
    padding: 0.8rem 1.4rem;
  }

  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

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

  .split.reverse .split-media {
    order: 0;
  }

  .split-media {
    aspect-ratio: 4/3;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pp-titlerow {
    flex-direction: column;
    align-items: flex-start;
  }

  .pp-price {
    text-align: left;
  }

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

  .feature-list {
    columns: 1;
  }

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

  .form .field-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 440px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
