:root {
  --bg: #f5f4f1;
  --bg-deep: #ebe9e4;
  --surface: #ffffff;
  --text: #1c1c1a;
  --muted: #5e5d58;
  --line: #d8d5ce;
  --accent: #3d5248;
  --accent-soft: #e4ebe6;
  --accent-hover: #2f4038;
  --danger: #8a3b32;
  --success: #2f5d45;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;
  --radius: 2px;
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #e8ebe6 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #ebe8e2 0%, transparent 45%),
    var(--bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 var(--space-2);
}

ul {
  margin: 0 0 var(--space-2);
  padding-left: 1.2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: var(--bg);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header {
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--header-h);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--text);
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -5px;
}

.nav-toggle-bar::after {
  top: 5px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 450;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: #f7f6f3 !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-5) var(--space-3);
}

.section-tight {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-2);
  font-weight: 500;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #f7f6f3;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-3);
}

/* Home hero — full-bleed composition */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: #f4f3ef;
  overflow: hidden;
}

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

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroRise 1.4s var(--ease) both;
}

.hero-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 22, 20, 0.25) 0%, rgba(18, 22, 20, 0.72) 70%, rgba(18, 22, 20, 0.88) 100%);
}

.hero-home-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-6) var(--space-3) var(--space-5);
  animation: fadeUp 0.9s var(--ease) 0.15s both;
}

.hero-home .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  margin: 0 0 var(--space-3);
  color: #f7f6f3;
}

.hero-home h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-family: var(--font-body);
  font-weight: 400;
  max-width: 28rem;
  color: #e6e4de;
  margin-bottom: var(--space-2);
}

.hero-home .hero-support {
  max-width: 32rem;
  color: #c9c6be;
  margin-bottom: 0;
}

.hero-home .btn-primary {
  background: #f5f4f1;
  color: var(--text);
}

.hero-home .btn-primary:hover {
  background: #fff;
  color: var(--text);
}

.hero-home .btn-ghost {
  border-color: rgba(245, 244, 241, 0.45);
  color: #f5f4f1;
}

.hero-page {
  padding: var(--space-5) var(--space-3) var(--space-3);
  max-width: var(--max);
  margin: 0 auto;
  animation: fadeUp 0.7s var(--ease) both;
}

.hero-page.with-media {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 860px) {
  .hero-page.with-media {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-page img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  animation: fadeIn 1s var(--ease) both;
}

.split {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 800px) {
  .split-2 {
    grid-template-columns: 1fr 1fr;
  }
  .split-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}

.offer-item {
  display: grid;
  gap: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
  animation: fadeUp 0.7s var(--ease) both;
}

.offer-item:nth-child(2) { animation-delay: 0.08s; }
.offer-item:nth-child(3) { animation-delay: 0.16s; }
.offer-item:nth-child(4) { animation-delay: 0.24s; }

@media (min-width: 720px) {
  .offer-item {
    grid-template-columns: 220px 1fr;
    align-items: start;
    gap: var(--space-3);
  }
}

.offer-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.offer-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: var(--space-1);
}

.story-block {
  background: var(--bg-deep);
  padding: var(--space-4);
  border-radius: var(--radius);
}

.quote {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.35;
  margin-bottom: var(--space-2);
}

.quote-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-weight: 500;
  background: var(--accent-soft);
}

tr:last-child td {
  border-bottom: none;
}

.rate-row {
  display: grid;
  gap: 0.35rem;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}

.rate-row:last-child {
  border-bottom: none;
}

.rate-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.rate-price {
  color: var(--accent);
  font-weight: 500;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: var(--space-4);
}

.legal h2 {
  margin-top: var(--space-4);
}

.field {
  margin-bottom: var(--space-3);
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font: inherit;
  color: var(--text);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-color: var(--accent);
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  min-height: 1.2em;
  margin-top: 0.3rem;
}

.form-status {
  margin-top: var(--space-2);
  padding: 0.75rem 0;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error,
.js-error {
  color: var(--danger);
}

.js-error {
  padding: 0.75rem var(--space-3);
  background: #f6ebe9;
  margin: 0;
}

.contact-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: var(--space-3);
  border-radius: var(--radius);
}

.blog-list,
.review-list {
  display: grid;
  gap: var(--space-4);
}

.blog-item {
  display: grid;
  gap: var(--space-2);
  animation: fadeUp 0.6s var(--ease) both;
}

@media (min-width: 720px) {
  .blog-item {
    grid-template-columns: 260px 1fr;
    gap: var(--space-3);
  }
}

.blog-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.blog-date {
  color: var(--muted);
  font-size: 0.9rem;
}

.review-item {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}

.review-item blockquote {
  margin: 0 0 var(--space-2);
  font-size: 1.1rem;
}

.visit-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.visit-steps li {
  position: relative;
  padding-left: 3rem;
  counter-increment: step;
}

.visit-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-footer {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: var(--space-5) var(--space-3) var(--space-3);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto var(--space-4);
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1.4fr 0.8fr;
  }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.footer-tag,
.footer-contact p {
  color: var(--muted);
}

.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(28, 28, 26, 0.06);
  animation: slideUp 0.45s var(--ease) both;
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.img-missing {
  background: var(--bg-deep);
  border: 1px dashed var(--line);
  min-height: 180px;
}

.page-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-5) var(--space-3);
}

.detail-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: var(--space-3) 0 var(--space-4);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-3);
}

.tag {
  font-size: 0.8rem;
  padding: 0.25rem 0.55rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroRise {
  from {
    transform: scale(1.06);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }

  .site-nav.is-open {
    max-height: 420px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-2) var(--space-3) var(--space-3);
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
