:root {
  --ink: #302f20;
  --ink-soft: #665f4c;
  --surface: #fffdf8;
  --surface-soft: #f5eee2;
  --surface-warm: #efded0;
  --jade: #505038;
  --jade-dark: #303222;
  --vermilion: #9b5e52;
  --vermilion-dark: #7d483f;
  --line: #ded1bd;
  --focus: #175fd4;
  --shadow: 0 10px 28px rgba(23, 33, 30, 0.12);
  --content: 1160px;
  --header-height: 72px;
  --radius: 6px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
a {
  touch-action: manipulation;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1200;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--focus);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-height);
  background: rgba(255, 250, 240, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 112px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--vermilion);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease-out;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}

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

.button-primary {
  background: var(--vermilion);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--vermilion-dark);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--jade);
  color: var(--jade-dark);
}

.button-secondary:hover {
  background: var(--surface-soft);
}

.button-dark {
  background: var(--ink);
  color: #ffffff;
}

.button-dark:hover {
  background: #2c3733;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  height: min(680px, calc(100dvh - 112px));
  overflow: hidden;
  background: var(--jade-dark);
  color: #ffffff;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  object-position: center;
  filter: brightness(0.95) saturate(0.88);
}

.hero::after,
.page-hero::after {
  position: absolute;
  inset: 0;
  background: rgba(25, 24, 15, 0.54);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding-block: 64px 56px;
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #f2e5d6;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: var(--space-4);
  font-size: 56px;
}

h2 {
  margin-bottom: var(--space-4);
  font-size: 36px;
}

h3 {
  margin-bottom: var(--space-3);
  font-size: 21px;
}

.hero-lede {
  max-width: 610px;
  margin: 0 0 var(--space-5);
  color: #f3f6f4;
  font-size: 19px;
  line-height: 1.55;
}

.hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: var(--space-5);
}

.hero-price strong {
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.fact-bar {
  background: var(--jade-dark);
  color: #ffffff;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  padding: 22px 0;
  list-style: none;
}

.fact-list li {
  min-width: 0;
  padding-inline: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.fact-list li:first-child {
  padding-left: 0;
}

.fact-list li:last-child {
  padding-right: 0;
  border-right: 0;
}

.fact-list span,
.fact-list strong {
  display: block;
}

.fact-list span {
  color: #c9d9d3;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.fact-list strong {
  margin-top: 3px;
  font-size: 16px;
}

.section {
  padding-block: 80px;
}

.section-soft {
  background: var(--surface-soft);
}

.section-warm {
  background: var(--surface-warm);
}

.section-dark {
  background: var(--ink);
  color: #ffffff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: end;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}

.section-heading p,
.copy p {
  margin-top: 0;
  color: var(--ink-soft);
}

.section-dark .section-heading p,
.section-dark .copy p {
  color: #cbd5d1;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--jade-dark);
  font-weight: 750;
  text-decoration: none;
}

.link-arrow:hover {
  color: var(--vermilion-dark);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card-image {
  width: calc(100% + 56px);
  max-width: none;
  height: 205px;
  margin: -28px -28px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
  object-fit: cover;
}

.card-kicker {
  display: block;
  margin-bottom: var(--space-5);
  color: var(--vermilion-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.card p {
  margin-bottom: var(--space-5);
  color: var(--ink-soft);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.price-item {
  padding: 28px;
  border-top: 4px solid var(--vermilion);
  background: var(--surface);
}

.price-item span,
.price-item strong {
  display: block;
}

.price-item span {
  color: var(--ink-soft);
  font-weight: 650;
}

.price-item strong {
  margin-top: 5px;
  color: var(--jade-dark);
  font-size: 40px;
  font-variant-numeric: tabular-nums;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: var(--space-7);
}

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

.media-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dfe7e3;
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

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

.detail-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.detail-list img {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.transit-band {
  padding-block: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.transit-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.transit-copy strong,
.transit-copy span {
  display: block;
}

.transit-copy span {
  color: var(--ink-soft);
  font-size: 14px;
}

.metro-lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.metro-line {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding-inline: 9px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.line-1 { border-color: #ffcd00; }
.line-2 { border-color: #0055c8; }
.line-6 { border-color: #78c696; }
.line-9 { border-color: #b6bd00; }
.line-a { border-color: #e2231a; }

.gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(2, 260px);
  gap: var(--space-4);
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.gallery figure:first-child {
  grid-row: 1 / 3;
}

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

.gallery figure:first-child img {
  object-position: center top;
}

.gallery.gallery-two {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 360px;
}

.gallery.gallery-two figure:first-child {
  grid-row: auto;
}

.cta-band {
  padding-block: 68px;
  background: var(--jade-dark);
  color: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-7);
}

.cta-inner h2 {
  margin-bottom: 8px;
}

.cta-inner p {
  max-width: 610px;
  margin: 0;
  color: #d3e0db;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 390px;
  overflow: hidden;
  background: var(--ink);
  color: #ffffff;
}

.page-hero-media {
  filter: brightness(0.85) saturate(0.85);
}

.page-hero-facade .page-hero-media {
  object-position: center 42%;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-block: 68px 52px;
}

.page-hero h1 {
  margin-bottom: 8px;
  font-size: 46px;
}

.page-hero p {
  max-width: 650px;
  margin: 0;
  color: #e5ece9;
  font-size: 18px;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 48px;
  font-size: 30px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 32px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose a {
  color: var(--jade-dark);
}

.notice {
  padding: 20px 22px;
  border-left: 4px solid var(--vermilion);
  background: var(--surface-warm);
}

.notice p:last-child {
  margin-bottom: 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.service-row {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-row p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.price-table th,
.price-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table th {
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 13px;
  text-transform: uppercase;
}

.price-table td:last-child {
  color: var(--jade-dark);
  font-size: 22px;
  font-weight: 800;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-4);
}

.contact-item {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 18px;
}

.contact-item span,
.contact-item strong {
  display: block;
}

.contact-item span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-item strong {
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 17px;
}

.site-footer {
  padding-block: 50px 92px;
  background: #121a17;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-7);
}

.footer-brand {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
}

.footer-grid p,
.footer-grid a {
  color: #becbc6;
}

.footer-grid p {
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  width: fit-content;
}

.footer-title {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #93a39d;
  font-size: 13px;
}

.mobile-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 850;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  width: min(520px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.cookie-banner p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cookie-actions .button {
  width: 100%;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    display: block;
    padding: 22px 20px 120px;
    background: var(--surface);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease-out, visibility 180ms ease-out;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    display: grid;
    gap: 0;
  }

  .nav-links li {
    border-bottom: 1px solid var(--line);
  }

  .nav-links a {
    width: 100%;
    min-height: 56px;
    font-size: 17px;
  }

  .site-nav > .button {
    width: 100%;
    margin-top: 22px;
  }

  .section-heading,
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

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

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

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

  .fact-list li:nth-child(2) {
    border-right: 0;
  }

  .fact-list li:nth-child(n + 3) {
    margin-top: 16px;
  }

  .cta-inner,
  .transit-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .metro-lines {
    justify-content: flex-start;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 64px;
  }

  body {
    padding-bottom: 74px;
  }

  .container,
  .narrow {
    width: min(100% - 28px, var(--content));
  }

  .brand-logo {
    width: 92px;
    max-height: 54px;
  }

  .hero {
    min-height: 540px;
    height: min(650px, calc(100dvh - 104px));
  }

  .hero-media {
    object-position: 58% center;
  }

  .hero-content {
    padding-block: 44px 38px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions .button,
  .action-row .button {
    width: 100%;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .fact-list li,
  .fact-list li:first-child,
  .fact-list li:last-child {
    margin: 0;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .fact-list li:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 58px;
  }

  .section-heading {
    margin-bottom: var(--space-6);
  }

  .price-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 220px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 250px);
  }

  .gallery figure:first-child {
    grid-row: auto;
  }

  .gallery.gallery-two {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 260px);
  }

  .page-hero {
    min-height: 340px;
  }

  .page-hero h1 {
    font-size: 37px;
  }

  .media-panel,
  .media-panel img {
    min-height: 320px;
  }

  .map-frame iframe {
    height: 320px;
  }

  .price-table th,
  .price-table td {
    padding: 15px 10px;
  }

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

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-actions {
    display: grid;
  }

  .cookie-banner {
    right: 12px;
    bottom: 84px;
    width: calc(100% - 24px);
    padding: 18px;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
