@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-500i.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --pine: #0c3c37;
  --pine-deep: #072724;
  --pine-mid: #1d5c54;
  --sea: #3e7c78;
  --sky: #d7e0f2;
  --sand: #f3eee6;
  --sand-2: #e8e0d4;
  --paper: #f7f4ee;
  --card: #fffcf7;
  --ink: #1b2422;
  --muted: #5d6b67;
  --copper: #b85c34;
  --copper-deep: #8d4122;
  --line: rgba(12, 60, 55, 0.14);
  --gold: #b8924e;
  --header: 78px;
  --shadow: 0 20px 50px rgba(16, 42, 38, 0.08);
  --display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1160px;
  --wide: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(215, 224, 242, 0.7), transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine-mid); text-underline-offset: 0.18em; }
a:hover { color: var(--copper-deep); }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--pine-deep);
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 5.15rem); }
h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 0.9em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--copper);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 100;
  border-radius: 6px;
}
.skip:focus { top: 0.6rem; color: white; }

.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;
}

.wrap { width: min(var(--wrap), calc(100% - 2.4rem)); margin-inline: auto; }
.wrap-wide { width: min(var(--wide), calc(100% - 2.4rem)); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.7rem;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 42rem; }
.pull {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: var(--pine);
  margin: 0.2rem 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--pine);
  color: #f6f1e8;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--pine-deep); color: white; transform: translateY(-1px); }
.btn-copper { background: var(--copper); color: white; }
.btn-copper:hover { background: var(--copper-deep); color: white; }
.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: white; color: var(--pine-deep); }
.btn-line {
  background: transparent;
  color: var(--pine);
  border-color: rgba(12, 60, 55, 0.28);
}
.btn-line:hover { background: var(--pine); color: white; }
.btn-small { min-height: 40px; padding: 0.45rem 0.9rem; font-size: 0.92rem; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(16, 42, 38, 0.05); }
.header-inner {
  width: min(1360px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--pine-deep);
  min-width: max-content;
}
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand small {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.15rem; }
.nav-item { position: relative; }
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0.55rem; }
.mobile-book { display: none; }
.nav-top {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a.top-link, .nav-toggle-sub {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.45rem 0.55rem;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
}
.nav a.top-link[aria-current="page"], .nav-item.is-section > .nav-top .top-link {
  color: var(--copper-deep);
}
.nav-toggle-sub { padding-inline: 0.2rem; color: var(--muted); }
.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 230px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.45rem;
  box-shadow: var(--shadow);
}
.submenu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--sand); color: var(--pine-deep); }
.nav-item:hover .submenu, .nav-item:focus-within .submenu, .nav-item.is-open .submenu { display: block; }
.header-tools { display: flex; align-items: center; gap: 0.55rem; margin-left: 0.4rem; }
.header-phone {
  color: var(--pine);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.book { position: relative; }
.book-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  width: min(320px, 80vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1rem 0.8rem;
  box-shadow: var(--shadow);
}
.book-panel[hidden] { display: none; }
.book-panel p { font-size: 0.92rem; color: var(--muted); }
.book-panel a { display: block; margin: 0.35rem 0; font-weight: 550; }
.nav-burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  flex: none;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--pine);
  position: relative;
  margin: 0 auto;
}
.nav-burger span::before, .nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  color: white;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--pine-deep);
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 28, 26, 0.78) 0%, rgba(6, 28, 26, 0.42) 46%, rgba(6, 28, 26, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 28, 26, 0.18), transparent 30%, rgba(6, 28, 26, 0.35));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--wide), calc(100% - 3rem));
  margin: 0 auto 6.4rem;
}
.hero .eyebrow { color: #f0c9a4; }
.hero h1 { color: white; max-width: 11ch; }
.hero-captions { list-style: none; padding: 0; margin: 0 0 1.4rem; min-height: 3.2rem; max-width: 36rem; }
.hero-captions li { display: none; font-size: 1.18rem; line-height: 1.45; color: rgba(255,255,255,0.92); }
.hero-captions li.is-active { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-ui {
  position: absolute;
  z-index: 3;
  left: max(1.5rem, calc((100% - var(--wide)) / 2));
  bottom: 3.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-ui button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(7, 28, 26, 0.35);
  color: white;
  cursor: pointer;
  font-family: inherit;
}
.hero-ui button[data-hero-pause] {
  width: auto;
  padding: 0 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-dots { display: flex; gap: 0.4rem; align-items: center; }
.hero-dots button { width: 9px; height: 9px; padding: 0; }
.hero-dots button[aria-current="true"] { background: white; color: var(--pine); transform: scale(1.15); }

.page-hero {
  position: relative;
  min-height: 340px;
  display: grid;
  align-items: end;
  color: white;
  background: var(--pine-deep);
  overflow: hidden;
}
.page-hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 28, 26, 0.15), rgba(7, 28, 26, 0.72));
}
.page-hero .wrap { position: relative; z-index: 1; padding-bottom: 2rem; padding-top: 4rem; }
.page-hero h1 { color: white; font-size: clamp(2.3rem, 4.5vw, 4rem); max-width: 16ch; }
.page-hero .eyebrow { color: #f0c9a4; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; list-style: none; padding: 0; margin: 0 0 0.8rem; font-size: 0.88rem; }
.crumbs a { color: rgba(255,255,255,0.86); text-decoration: none; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; opacity: 0.6; }

/* Sections */
section { padding: 4.2rem 0; }
.band-sand { background: var(--sand); }
.band-pine { background: var(--pine); color: #f4efe6; }
.band-pine h2, .band-pine h3 { color: white; }
.band-foam { background: linear-gradient(180deg, #e7f0ee, #f7f4ee); }

.notices {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  margin-top: -2.2rem;
  position: relative;
  z-index: 2;
}
.notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}
.notice strong { color: var(--pine); }
.notice p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.split img, .frame img { width: 100%; border-radius: 18px; object-fit: cover; }
.frame { background: white; padding: 0.7rem; border-radius: 22px; box-shadow: var(--shadow); }
.frame figcaption { padding: 0.7rem 0.4rem 0.2rem; color: var(--muted); font-size: 0.92rem; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.card {
  background: var(--card);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-body p { color: var(--muted); }
.card-body .btn { align-self: flex-start; margin-top: auto; }
.badge-row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.3rem; }
.badge-row img { height: 64px; width: auto; max-width: 92px; object-fit: contain; background: white; border-radius: 8px; }

.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}
.stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1rem 0.8rem;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  color: white;
  letter-spacing: -0.03em;
}
.stat span { color: rgba(244, 239, 230, 0.78); font-size: 0.88rem; }

.awards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.3rem;
  align-items: center;
  justify-content: center;
}
.awards a, .awards span {
  background: white;
  border-radius: 16px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
}
.awards img { height: 84px; width: auto; max-width: 150px; object-fit: contain; }

.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3rem; }
.prose > img, .prose figure img {
  width: 100%;
  border-radius: 16px;
  max-height: 440px;
  object-fit: cover;
}
.prose figure { margin: 0.3rem 0 1.2rem; }
.prose figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.prose::after { content: ""; display: block; clear: both; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.05rem 0.4rem;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.feature p:last-child { margin-bottom: 0.7rem; }

.side-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; align-content: start; }
.side-photos img { width: 100%; height: 190px; object-fit: cover; border-radius: 16px; }
.side-photos.marks { grid-template-columns: 1fr; }
.side-photos.marks a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--line);
  min-height: 72px;
  padding: 0.7rem 1rem;
}
.side-photos.marks a img {
  height: auto;
  max-height: 78px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  margin: 0 auto;
}
.side-photos.marks > img { height: 240px; grid-column: 1; }

.tariff-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.2rem; align-items: start; }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
th, td { text-align: left; padding: 0.62rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--pine); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
td:last-child, th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.callout {
  background: #fff8f2;
  border: 1px solid rgba(184, 92, 52, 0.25);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.month-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.month-grid > .table-card { display: flex; flex-direction: column; }
.month-grid h3 { padding: 0.85rem 0.9rem 0.15rem; margin: 0; font-size: 1.2rem; }
.month-grid .table-card .table-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.month-grid table { font-size: 0.92rem; }

.checks { list-style: none; padding: 0; }
.checks li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0 0 0.55rem;
}
.checks li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--copper);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.7rem;
}
.shot {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--sand-2);
  color: inherit;
  text-decoration: none;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.is-wide { grid-column: span 2; aspect-ratio: 2/1; }
.shot.is-mark img { object-fit: contain; padding: 12px; background: white; }
.shot figcaption, .shot span.cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 0.7rem 0.55rem;
  background: linear-gradient(transparent, rgba(7, 24, 22, 0.72));
  color: white;
  font-size: 0.82rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.shot:hover span.cap, .shot:focus-visible span.cap { opacity: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1rem; }
.filters button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-family: inherit;
  cursor: pointer;
  color: var(--ink);
}
.filters button[aria-pressed="true"] { background: var(--pine); color: white; border-color: var(--pine); }
.archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.45rem;
}
.archive .shot { aspect-ratio: 1; border-radius: 10px; }
.archive .shot span.cap { font-size: 0.68rem; padding-top: 1rem; }

.history-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem; }
.history-grid figure:nth-child(1), .history-grid figure:nth-child(2) { grid-column: span 3; }
.history-grid figure:nth-child(n+3) { grid-column: span 2; }
.history-grid img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #efe8dc; border-radius: 16px; }
.history-grid figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; }

.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.map-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.map-card iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-card .pad { padding: 0.9rem 1rem 1rem; }
.site-plan { margin-top: 1rem; background: white; border-radius: 18px; border: 1px solid var(--line); padding: 0.8rem; }
.site-plan img { width: 100%; height: auto; border-radius: 12px; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.5rem; align-items: start; }
.contact-card {
  background: var(--pine);
  color: #f6f1e8;
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.2rem;
}
.contact-card h2, .contact-card h3 { color: white; }
.contact-card a { color: #f0c9a4; }
form { display: grid; gap: 0.8rem; }
label { display: grid; gap: 0.3rem; font-size: 0.92rem; font-weight: 550; color: var(--pine); }
input, textarea, select {
  font: inherit;
  color: inherit;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; font-weight: 400; }
.radios label { display: flex; align-items: center; gap: 0.4rem; font-weight: 400; }
.form-note { background: #e8f3ef; border-radius: 12px; padding: 0.8rem 0.9rem; }

.terms h2 { font-size: 1.35rem; margin-top: 1.8rem; letter-spacing: 0.04em; }
.quote-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 380px;
  background: var(--pine-deep);
  color: white;
}
.quote-band img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.quote-band div { padding: clamp(1.5rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.quote-band h2, .quote-band p { color: white; }
.quote-band .eyebrow { color: #f0c9a4; }

.links-inline { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.links-inline a { text-decoration: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(7, 20, 18, 0.92);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; max-width: 100%; margin: 0 auto; object-fit: contain; }
.lightbox figcaption { color: white; text-align: center; margin-top: 0.6rem; }
.lightbox .lb-main { text-align: center; }
.lightbox button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent; color: white; cursor: pointer; font-size: 1.3rem;
}
.lb-close { position: absolute; top: 0.8rem; right: 0.8rem; }

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--pine);
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 30;
}
.to-top[hidden] { display: none; }

.site-footer {
  background: var(--pine-deep);
  color: #e7e1d6;
  padding: 3rem 0 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 2rem;
}
.site-footer h2 {
  color: white;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
}
.site-footer a { color: #f0e6d4; text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(231, 225, 214, 0.75);
}
.langs { display: flex; gap: 0.8rem; padding: 0; list-style: none; }

@media (max-width: 1240px) {
  .nav a.top-link, .nav-toggle-sub { font-size: 0.86rem; padding: 0.4rem 0.38rem; }
  .brand strong { font-size: 1.05rem; }
  .header-tools .header-phone { font-size: 0.86rem; }
}
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .header-tools .header-phone { display: none; }
  .month-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav { margin-left: 0; }
  .header-tools { margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fbf8f3;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1rem;
    max-height: calc(100svh - var(--header));
    overflow: auto;
    box-shadow: var(--shadow);
  }
  .nav .mobile-book { display: grid; }
  .nav.is-open { display: flex; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-top { width: 100%; justify-content: space-between; }
  .submenu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0.6rem 0.6rem; min-width: 0; background: transparent; }
  .nav-item.is-open .submenu { display: block; }
  .nav-item:hover .submenu { display: none; }
  .nav-item.is-open:hover .submenu { display: block; }
  .nav .mobile-book { gap: 0.45rem; padding: 0.9rem 0.2rem 0.3rem; }
  .split, .cards, .feature-grid, .tariff-layout, .contact-grid, .map-grid, .notices, .quote-band, .footer-grid {
    grid-template-columns: 1fr;
  }
  .history-grid { grid-template-columns: 1fr 1fr; }
  .history-grid figure, .history-grid figure:nth-child(1), .history-grid figure:nth-child(2), .history-grid figure:nth-child(n+3) { grid-column: auto; }
  .shot.is-wide { grid-column: auto; aspect-ratio: 4/3; }
  .hero { min-height: 88svh; }
  .hero-content { margin-bottom: 5.6rem; width: calc(100% - 1.6rem); }
  .hero-ui { left: 0.8rem; right: 0.8rem; bottom: 3.2rem; flex-wrap: wrap; }
  .prose figure.frame { float: none; width: auto; margin: 0.3rem 0 1.2rem; }
  .side-photos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap, .wrap-wide, .header-inner { width: calc(100% - 1.4rem); }
  section { padding: 3rem 0; }
  .stats, .history-grid { grid-template-columns: 1fr 1fr; }
  .month-grid { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .page-hero { min-height: 280px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .card-media img { transition: none; }
}
@media (min-width: 860px) {
  .prose figure.frame {
    float: right;
    width: min(46%, 340px);
    margin: 0.15rem 0 1rem 1.25rem;
  }
  .prose figure.frame img { max-height: 240px; }
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0;
  padding: 0.75rem 0.95rem 0.95rem;
  background: white;
}
legend { font-weight: 600; color: var(--pine); padding: 0 0.35rem; }
.crumbs li:last-child { color: white; }
.feature h3::after {
  content: "";
  display: block;
  width: 1.8rem;
  height: 2px;
  margin-top: 0.4rem;
  background: var(--copper);
}
.nav.is-open .mobile-book .header-phone { display: inline; color: var(--pine); font-weight: 600; }

@media print {
  .site-header, .hero-ui, .to-top, .lightbox, .nav-burger, .book { display: none !important; }
  .hero, .page-hero { min-height: 0; }
  body { background: white; }
  a { text-decoration: underline; }
}
