:root {
  --bg: #f5f1e9;
  --bg-alt: #e9e3d7;
  --ink: #252525;
  --ink-soft: #5a554e;
  --line: #d8cec0;
  --accent: #b32737;
  --accent-dark: #862130;
  --olive: #6d7f2e;
  --white: #fffdf8;
  --shadow: 0 18px 50px -28px rgba(35, 30, 24, 0.52);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1200px;
  --pad: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: 0; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); margin: 0.2em 0 0.6em; }
h3 { font-size: clamp(1.18rem, 1rem + 0.7vw, 1.5rem); margin: 0 0 0.45em; }
p { margin: 0 0 1.1em; }

.kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.4em;
}

.btn {
  --bpad: 0.8em 1.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: var(--bpad);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-1px); }
.btn--lg { --bpad: 1em 1.9em; font-size: 1rem; }
.btn--block { width: 100%; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--pad);
  background: rgba(245, 241, 233, 0);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.is-scrolled {
  background: rgba(245, 241, 233, 0.93);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.nav__brand { display: flex; align-items: center; text-decoration: none; color: var(--white); font-family: var(--serif); white-space: nowrap; flex-shrink: 0; }
.nav.is-scrolled .nav__brand { color: var(--ink); }
.nav__brand-copy { display: grid; gap: 0.05rem; }
.nav__brand-mark { font-size: 1.15rem; font-weight: 600; }
.nav__brand-no { font-family: var(--sans); font-size: 0.75rem; color: #f1c7b7; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.nav.is-scrolled .nav__brand-no { color: var(--accent); }
.nav__links { display: flex; gap: 1.5rem; }
.nav__links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.92;
  position: relative;
  padding: 0.2rem 0;
}
.nav.is-scrolled .nav__links a { color: var(--ink-soft); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1.5px;
  width: 0;
  background: var(--accent);
  transition: width .22s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 0.55em 1.2em; font-size: 0.88rem; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); }
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.hero__overlay {
  background:
    linear-gradient(to right, rgba(25, 17, 14, 0.78) 0%, rgba(25, 17, 14, 0.52) 38%, rgba(25, 17, 14, 0.1) 72%),
    linear-gradient(to top, rgba(25, 17, 14, 0.78) 0%, rgba(25, 17, 14, 0.26) 42%, rgba(25, 17, 14, 0.12) 70%, rgba(25, 17, 14, 0.42) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100% - (2 * var(--pad))));
  max-width: 520px;
  margin-left: var(--pad);
  margin-right: auto;
  padding: 0 0 clamp(3rem, 7vh, 6rem);
}
.hero__eyebrow { max-width: 28ch; text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.78rem; font-weight: 700; margin: 0 0 0.8rem; opacity: 0.95; }
.hero__title { font-size: clamp(3.2rem, 1.8rem + 6.2vw, 6.1rem); margin: 0 0 1.2rem; line-height: 0.95; font-weight: 500; max-width: 7.2ch; }
.hero__sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1rem + 1vw, 1.9rem); max-width: 25ch; margin: 0.5rem 0 1.4rem; font-weight: 400; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem; padding: 0; margin: 0 0 1.8rem; }
.hero__facts li { font-size: 0.9rem; padding: 0.35em 0.9em; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; backdrop-filter: blur(2px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__ctas .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.7); }
.hero__ctas .btn--ghost:hover { background: var(--white); color: var(--ink); }

.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 9vh, 7rem) var(--pad); }
.section__head { max-width: 42ch; margin-bottom: clamp(1.8rem, 4vh, 3rem); }
.section__head h2 { margin-bottom: 0; }

.intro__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro__text p { color: var(--ink-soft); }
.intro__figure { margin: 0; }
.intro__figure img { width: 100%; border-radius: 6px; box-shadow: var(--shadow); }
.intro__figure figcaption { margin-top: 0.8rem; font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }

.specs {
  background: var(--ink);
  color: var(--bg);
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.2rem, 5vh, 3.4rem) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  border-radius: 8px;
}
.specs__price-label { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem; color: #e6b7aa; margin: 0 0 0.2rem; font-weight: 700; }
.specs__price-value { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2.5vw, 3.2rem); margin: 0; line-height: 1; }
.specs__price-note { font-size: 0.82rem; color: #cec5b9; margin: 0.5rem 0 0; }
.specs__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0; margin: 0; }
.specs__list li { display: flex; flex-direction: column; gap: 0.35rem; padding-left: 1.1rem; border-left: 1px solid rgba(255,255,255,0.18); }
.specs__num { font-family: var(--sans); font-size: 0.88rem; line-height: 1.2; color: var(--white); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.specs__cap { font-size: 0.86rem; color: #cec5b9; letter-spacing: 0.01em; line-height: 1.45; }

.section--services { padding-top: clamp(3rem, 7vh, 5.5rem); }
.services__grid { display: grid; grid-template-columns: repeat(2, minmax(280px, 1fr)); gap: clamp(1rem, 2vw, 1.4rem); }
.service { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.25rem, 2.4vw, 1.8rem); box-shadow: var(--shadow); }
.service h3 { color: var(--accent); font-size: clamp(1.12rem, 1rem + 0.5vw, 1.35rem); overflow-wrap: anywhere; }
.service p { margin-bottom: 0; color: var(--ink-soft); }

.section--layout { background: var(--bg-alt); max-width: none; }
.section--layout > .section__head, .timeline { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 1.6rem); }
.timeline__item { background: var(--white); padding: clamp(1.4rem, 3vw, 2.1rem); border-radius: 6px; border: 1px solid var(--line); min-height: 100%; }
.timeline__date { color: var(--accent); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 0.5rem; }
.timeline__item p:last-child { color: var(--ink-soft); margin-bottom: 0; }

.section--features { background: var(--ink); color: var(--bg); max-width: none; }
.section--features .kicker { color: #b9cf70; }
.section--features .section__head, .features__list { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.features__list { list-style: none; padding: 0; margin: 0; columns: 2 320px; column-gap: 3rem; }
.features__list li {
  break-inside: avoid;
  padding: 0.85rem 0 0.85rem 1.9rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #ece3d8;
}
.features__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.footer {
  position: relative;
  padding: clamp(2.2rem, 6vh, 4rem) var(--pad) 1.4rem;
  color: #ded7cc;
  background: #201d1a;
  font-size: 0.86rem;
  line-height: 1.55;
}
.footer__anchor { position: absolute; top: 0; }
.footer__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(150px, 0.75fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer__brand { max-width: 34ch; }
.footer__name {
  margin: 0 0 0.45rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem);
  line-height: 1;
}
.footer h2 {
  margin: 0 0 0.8rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer p { margin: 0 0 0.35rem; }
.footer a {
  display: block;
  color: #ded7cc;
  text-decoration: none;
  margin: 0 0 0.35rem;
  overflow-wrap: anywhere;
}
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.22em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

.legal-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
}
.legal-doc {
  width: min(760px, calc(100% - (2 * var(--pad))));
  padding: clamp(3rem, 9vh, 6rem) 0;
}
.legal-doc h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
}
.legal-doc p:not(.kicker) {
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.legal-doc__back {
  display: inline-block;
  margin: 0 0 2rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.legal-doc__back:hover { color: var(--accent-dark); }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .intro__grid, .services__grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; border-radius: 0; max-width: none; }
  .specs__list { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nav { align-items: flex-start; gap: 0.75rem; }
  .nav__brand { display: flex; }
  .nav__brand-mark { font-size: 1rem; }
  .nav__brand-no { font-size: 0.68rem; }
  .nav__cta { display: none; }
  .hero { min-height: 94svh; }
  .hero__media img { object-position: 48% center; }
  .hero__inner {
    width: min(34rem, calc(100% - (2 * var(--pad))));
    margin-left: var(--pad);
    padding-left: 0;
    padding-right: 0;
    padding-bottom: clamp(1.8rem, 4vh, 2.8rem);
  }
  .hero__title { max-width: 6.8ch; }
  .hero__facts { display: none; }
  .hero__facts li { font-size: 0.82rem; }
  .btn { white-space: normal; text-align: center; }
  .hero__ctas { align-items: stretch; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .specs__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
