:root {
  --bg: #f7f2ec;
  --bg-soft: #efe5db;
  --surface: rgba(255, 251, 247, 0.82);
  --surface-strong: #fffaf5;
  --line: rgba(50, 36, 29, 0.12);
  --line-strong: rgba(50, 36, 29, 0.2);
  --text: #211b18;
  --text-soft: #5d5049;
  --accent: #ba7f66;
  --accent-deep: #8d5943;
  --accent-pale: #ead7cb;
  --sage: #8d9a88;
  --shadow: 0 30px 70px rgba(60, 39, 29, 0.12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1120px, calc(100vw - 48px));
}

html[data-theme="night"] {
  color-scheme: dark;
  --bg: #181311;
  --bg-soft: #221916;
  --surface: rgba(35, 28, 25, 0.82);
  --surface-strong: #2d221e;
  --line: rgba(243, 231, 220, 0.12);
  --line-strong: rgba(243, 231, 220, 0.2);
  --text: #f3e7dc;
  --text-soft: #ceb9aa;
  --accent: #c89378;
  --accent-deep: #e0ab8a;
  --accent-pale: #4b372f;
  --sage: #6e7c6a;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(234, 215, 203, 0.95), transparent 34%),
    radial-gradient(circle at right 12% top 24%, rgba(186, 127, 102, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf7f3 0%, var(--bg) 48%, #f4ede6 100%);
  font-family: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  transition: background 220ms ease, color 220ms ease;
}

html[data-theme="night"] body {
  background:
    radial-gradient(circle at top left, rgba(109, 67, 52, 0.32), transparent 34%),
    radial-gradient(circle at right 12% top 24%, rgba(200, 147, 120, 0.12), transparent 24%),
    linear-gradient(180deg, #120e0c 0%, var(--bg) 48%, #1a1411 100%);
}

body.has-cookie-banner::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(33, 27, 24, 0.28);
  backdrop-filter: blur(10px);
}

html[data-theme="night"] body.has-cookie-banner::after {
  background: rgba(0, 0, 0, 0.46);
}

@keyframes cookie-banner-enter {
  from {
    opacity: 0;
    transform: translate(-50%, 1.5rem);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes cookie-banner-enter-mobile {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

a {
  color: inherit;
}

button,
.button {
  font: inherit;
}

.site-header,
.brand,
.nav-links a,
.button,
.hero-panel,
.info-strip,
.services-card,
.contact-card,
.map-card,
.story-card,
.quote-panel,
.privacy-page,
.footer-card,
.cookie-banner,
.floating-note,
.map-overlay,
.scroll-top-button,
.footer-theme-toggle {
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    transform 180ms ease;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.55;
}

.page-shell::before {
  top: -8rem;
  right: -10rem;
  background: rgba(234, 215, 203, 0.92);
}

.page-shell::after {
  left: -12rem;
  bottom: 6rem;
  background: rgba(141, 154, 136, 0.1);
}

html[data-theme="night"] .page-shell::before {
  background: rgba(92, 61, 49, 0.34);
}

html[data-theme="night"] .page-shell::after {
  background: rgba(110, 124, 106, 0.12);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(247, 242, 236, 0.76);
  border-bottom: 1px solid rgba(50, 36, 29, 0.08);
}

html[data-theme="night"] .site-header {
  background: rgba(20, 16, 14, 0.78);
  border-bottom-color: rgba(243, 231, 220, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(12rem, 100%);
  flex: 0 0 auto;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.82);
  border: 1px solid rgba(50, 36, 29, 0.12);
  box-shadow: 0 16px 34px rgba(60, 39, 29, 0.08);
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

html[data-theme="night"] .brand {
  background: rgba(35, 28, 25, 0.92);
  border-color: rgba(243, 231, 220, 0.12);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.brand::after {
  content: "";
  position: absolute;
  inset: 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(186, 127, 102, 0.22);
  pointer-events: none;
  transition: inset 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

html[data-theme="night"] .brand::after {
  border-color: rgba(200, 147, 120, 0.24);
}

.brand img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 250, 245, 0.95);
  border-color: rgba(141, 89, 67, 0.22);
  box-shadow: 0 22px 40px rgba(60, 39, 29, 0.14);
}

html[data-theme="night"] .brand:hover,
html[data-theme="night"] .brand:focus-visible {
  background: rgba(42, 33, 29, 0.98);
  border-color: rgba(224, 171, 138, 0.22);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.3);
}

.brand:hover::after,
.brand:focus-visible::after {
  inset: 0.28rem;
  border-color: rgba(186, 127, 102, 0.4);
}

html[data-theme="night"] .brand:hover::after,
html[data-theme="night"] .brand:focus-visible::after {
  border-color: rgba(224, 171, 138, 0.38);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: var(--text-soft);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  background: rgba(255, 250, 245, 0.92);
  color: var(--text);
  transform: translateY(-1px);
}

html[data-theme="night"] .nav-links a:hover,
html[data-theme="night"] .nav-links a:focus-visible,
html[data-theme="night"] .nav-links a.is-active {
  background: rgba(52, 40, 35, 0.92);
}

.nav-links .nav-cta {
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  color: #fffaf5;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: #151210;
  color: #fffaf5;
  transform: translateY(-2px);
}

.hero {
  padding: 4.8rem 0 2.5rem;
}

.hero-grid,
.split-grid,
.contact-grid,
.story-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}

.eyebrow,
.section-kicker,
.detail-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before,
.section-kicker::before,
.detail-label::before {
  content: "✂";
  font-size: 0.9rem;
  line-height: 1;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.quote-panel blockquote,
.story-card h2,
.privacy-page h1,
.services-card h3,
.contact-card h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin-top: 1.1rem;
  font-size: clamp(3.5rem, 7vw, 6.2rem);
  max-width: 10ch;
}

.lead,
.page-hero p,
.intro-copy,
.contact-note,
.privacy-page p,
.privacy-page li {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero-copy {
  display: grid;
  gap: 1.35rem;
}

.hero-copy p {
  max-width: 34rem;
}

.cta-row,
.contact-actions,
.footer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--text);
  color: #fffaf5;
  box-shadow: 0 16px 30px rgba(33, 27, 24, 0.14);
}

.button-secondary {
  background: rgba(255, 250, 245, 0.92);
  border-color: rgba(50, 36, 29, 0.12);
}

html[data-theme="night"] .button-secondary {
  background: rgba(46, 36, 32, 0.92);
  border-color: rgba(243, 231, 220, 0.12);
  color: var(--text);
}

.button-ghost {
  border-color: rgba(50, 36, 29, 0.12);
  color: var(--text-soft);
}

html[data-theme="night"] .button-ghost {
  border-color: rgba(243, 231, 220, 0.12);
}

.hero-panel,
.services-card,
.contact-card,
.map-card,
.story-card,
.quote-panel,
.privacy-page,
.cookie-banner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: clamp(1.4rem, 3vw, 1.8rem);
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 1rem;
}

.media-stack {
  display: grid;
  gap: 1rem;
}

.hero-panel img,
.story-image img,
.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 10px);
}

.hero-panel.tall {
  min-height: 32rem;
}

.hero-panel.short {
  min-height: 15rem;
}

.floating-note {
  position: absolute;
  left: 1.3rem;
  bottom: 1.3rem;
  max-width: 18rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 250, 245, 0.88);
  border: 1px solid rgba(50, 36, 29, 0.12);
  box-shadow: 0 18px 35px rgba(60, 39, 29, 0.15);
}

html[data-theme="night"] .floating-note {
  background: rgba(39, 31, 27, 0.92);
  border-color: rgba(243, 231, 220, 0.12);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.24);
}

.floating-note strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.contact-meta p,
.footer-meta p {
  margin: 0;
}

.footer-meta strong,
.contact-meta strong {
  display: block;
  margin-bottom: 0.25rem;
}

section {
  padding: 3rem 0;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.8rem;
  max-width: 42rem;
}

.section-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.services-grid,
.details-grid,
.privacy-grid,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

.services-grid,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-card {
  padding: 1.6rem;
}

.services-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.9rem;
}

.price-tag {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(234, 215, 203, 0.7);
  border: 1px solid rgba(50, 36, 29, 0.08);
  color: var(--accent-deep);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-theme="night"] .price-tag {
  background: rgba(77, 55, 47, 0.8);
  border-color: rgba(243, 231, 220, 0.08);
  color: #f4d7c4;
}

.services-card p,
.services-card li,
.story-card p,
.contact-card p,
.map-card p {
  color: var(--text-soft);
}

.services-card ul,
.privacy-page ul {
  margin: 0;
  padding-left: 1.2rem;
}

.split-grid,
.story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.story-card,
.quote-panel,
.contact-card,
.map-card,
.privacy-page {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.story-card h2,
.quote-panel blockquote,
.contact-card h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
}

.story-image {
  min-height: 34rem;
  overflow: hidden;
}

.story-image img {
  min-height: 34rem;
}

.quote-panel {
  display: grid;
  gap: 1rem;
}

.quote-panel blockquote {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
}

.quote-panel p {
  margin: 0;
}

.page-hero {
  padding: 4.2rem 0 1.4rem;
}

.page-hero .container {
  display: grid;
  gap: 1.2rem;
}

.page-hero h1,
.privacy-page h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

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

.contact-list,
.privacy-list {
  display: grid;
  gap: 1rem;
}

.contact-list a {
  text-decoration: none;
  color: var(--text);
}

.map-card {
  display: grid;
  gap: 1.2rem;
}

.map-shell {
  min-height: 28rem;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 38%),
    linear-gradient(180deg, rgba(234, 215, 203, 0.68), rgba(255, 250, 245, 0.98));
  border: 1px solid rgba(50, 36, 29, 0.08);
}

html[data-theme="night"] .map-shell {
  background:
    radial-gradient(circle at top left, rgba(241, 214, 194, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(65, 48, 42, 0.9), rgba(28, 21, 18, 0.98));
  border-color: rgba(243, 231, 220, 0.08);
}

.map-shell.has-embed {
  background: rgba(225, 205, 191, 0.5);
}

html[data-theme="night"] .map-shell.has-embed {
  background: rgba(58, 44, 39, 0.6);
}

.map-frame {
  display: block;
  width: 100%;
  min-height: 28rem;
  height: 100%;
  border: 0;
}

.map-placeholder {
  position: relative;
  display: grid;
  min-height: 28rem;
  place-items: center;
}

.map-illustration {
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 250, 245, 0.65), rgba(255, 250, 245, 0.18)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.28) 0,
      rgba(255, 255, 255, 0.28) 1px,
      transparent 1px,
      transparent 68px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.28) 0,
      rgba(255, 255, 255, 0.28) 1px,
      transparent 1px,
      transparent 68px
    ),
    linear-gradient(180deg, rgba(225, 205, 191, 0.5), rgba(248, 240, 232, 0.94));
}

html[data-theme="night"] .map-illustration {
  background:
    linear-gradient(135deg, rgba(255, 250, 245, 0.07), rgba(255, 250, 245, 0.02)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 68px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 68px
    ),
    linear-gradient(180deg, rgba(92, 68, 58, 0.72), rgba(34, 25, 22, 0.96));
}

.map-illustration::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.04), rgba(255, 250, 245, 0.78));
  z-index: 0;
}

html[data-theme="night"] .map-illustration::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(17, 13, 11, 0.64));
}

.map-street,
.map-route,
.map-block {
  position: absolute;
  z-index: 0;
}

.map-street {
  background: rgba(255, 250, 245, 0.88);
  border: 1px solid rgba(131, 94, 68, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

html[data-theme="night"] .map-street {
  background: rgba(57, 46, 41, 0.9);
  border-color: rgba(243, 231, 220, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.map-street-horizontal {
  left: 6%;
  right: 10%;
  top: 44%;
  height: 58px;
  border-radius: 999px;
}

.map-street-vertical {
  top: 8%;
  bottom: 12%;
  right: 26%;
  width: 58px;
  border-radius: 999px;
}

.map-street-diagonal {
  width: 68%;
  height: 52px;
  left: 16%;
  top: 18%;
  border-radius: 999px;
  transform: rotate(-24deg);
}

.map-block {
  border-radius: 28px;
  background: rgba(217, 193, 175, 0.38);
  border: 1px solid rgba(131, 94, 68, 0.08);
}

html[data-theme="night"] .map-block {
  background: rgba(116, 88, 73, 0.22);
  border-color: rgba(243, 231, 220, 0.06);
}

.map-block-one {
  width: 26%;
  height: 22%;
  top: 14%;
  left: 10%;
}

.map-block-two {
  width: 20%;
  height: 18%;
  top: 54%;
  left: 16%;
}

.map-block-three {
  width: 24%;
  height: 20%;
  top: 58%;
  right: 12%;
}

.map-route {
  width: 34%;
  height: 34%;
  top: 25%;
  left: 36%;
  border: 3px dashed rgba(149, 103, 74, 0.55);
  border-color: rgba(149, 103, 74, 0.55) transparent transparent transparent;
  border-radius: 50%;
  transform: rotate(16deg);
}

html[data-theme="night"] .map-route {
  border-color: rgba(224, 171, 138, 0.58) transparent transparent transparent;
}

.map-overlay {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  z-index: 1;
  max-width: 16rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 250, 245, 0.96);
  border: 1px solid rgba(50, 36, 29, 0.1);
  display: grid;
  gap: 0.35rem;
  box-shadow: 0 18px 35px rgba(60, 39, 29, 0.12);
}

html[data-theme="night"] .map-overlay {
  background: rgba(32, 25, 22, 0.94);
  border-color: rgba(243, 231, 220, 0.1);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.24);
}

.map-pin {
  position: relative;
  width: 22px;
  height: 22px;
  margin-bottom: 0.25rem;
  border-radius: 50% 50% 50% 0;
  background: var(--accent-deep);
  transform: rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(255, 250, 245, 0.92);
}

.map-overlay strong {
  color: var(--text);
}

.map-overlay span {
  color: var(--text-soft);
}

.footer {
  padding: 1rem 0 3rem;
}

.footer-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 245, 0.85);
  display: grid;
  gap: 1.2rem;
  box-shadow: 0 22px 40px rgba(60, 39, 29, 0.08);
}

html[data-theme="night"] .footer-card {
  background: rgba(31, 24, 21, 0.88);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.24);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: min(10rem, 100%);
  flex: 0 0 auto;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-meta {
  display: flex;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.footer-theme-toggle-wrap {
  display: flex;
  align-items: center;
}

.footer-theme-toggle {
  min-height: 48px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(50, 36, 29, 0.12);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 250, 245, 0.78);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(60, 39, 29, 0.08);
}

.footer-theme-toggle:hover,
.footer-theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(141, 89, 67, 0.24);
}

.footer-theme-toggle:focus-visible {
  outline: 2px solid rgba(186, 127, 102, 0.38);
  outline-offset: 3px;
}

.footer-theme-toggle__indicator {
  position: relative;
  width: 2.6rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(186, 127, 102, 0.24);
  flex: 0 0 auto;
}

.footer-theme-toggle__indicator::after {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.14rem;
  height: 1.14rem;
  border-radius: 50%;
  background: #fffaf5;
  box-shadow: 0 4px 12px rgba(60, 39, 29, 0.16);
  transition: transform 180ms ease, background-color 180ms ease;
}

html[data-theme="night"] .footer-theme-toggle {
  background: rgba(43, 34, 30, 0.86);
  border-color: rgba(243, 231, 220, 0.12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

html[data-theme="night"] .footer-theme-toggle:hover,
html[data-theme="night"] .footer-theme-toggle:focus-visible {
  border-color: rgba(224, 171, 138, 0.28);
}

html[data-theme="night"] .footer-theme-toggle__indicator {
  background: rgba(200, 147, 120, 0.72);
}

html[data-theme="night"] .footer-theme-toggle__indicator::after {
  transform: translateX(1.08rem);
  background: #fff2e8;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 40;
  width: min(34rem, calc(100vw - 2rem));
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  border-color: rgba(50, 36, 29, 0.16);
  background: rgba(255, 250, 245, 0.96);
  box-shadow: 0 32px 90px rgba(33, 27, 24, 0.22);
  transform: translate(-50%, 0);
}

html[data-theme="night"] .cookie-banner {
  background: rgba(28, 22, 19, 0.96);
  border-color: rgba(243, 231, 220, 0.12);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
}

.cookie-banner:not([hidden]) {
  animation: cookie-banner-enter 180ms ease;
}

.cookie-banner p {
  margin: 0;
  color: var(--text-soft);
}

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

.scroll-top-button {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 39;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(141, 89, 67, 0.94);
  color: #fffaf5;
  box-shadow: 0 18px 30px rgba(60, 39, 29, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.85rem) scale(0.92);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    visibility 180ms ease,
  bottom 180ms ease;
}

html[data-theme="night"] .scroll-top-button {
  background: rgba(200, 147, 120, 0.92);
  color: #211b18;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.scroll-top-button span[aria-hidden="true"] {
  font-size: 1.2rem;
  line-height: 1;
}

.scroll-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  background: #6f4534;
  box-shadow: 0 22px 34px rgba(60, 39, 29, 0.24);
}

html[data-theme="night"] .scroll-top-button:hover,
html[data-theme="night"] .scroll-top-button:focus-visible {
  background: #f1cfbb;
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.32);
}

.scroll-top-button:focus-visible {
  outline: 2px solid rgba(255, 250, 245, 0.9);
  outline-offset: 3px;
}

body.has-cookie-banner .scroll-top-button {
  bottom: 8.75rem;
}

.privacy-page {
  margin: 1.4rem 0 4rem;
}

.privacy-page h2,
.privacy-page h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  letter-spacing: -0.02em;
}

.privacy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2rem 0;
}

.privacy-panel {
  padding: 1.35rem;
  border-radius: 22px;
  background: rgba(239, 229, 219, 0.6);
  border: 1px solid rgba(50, 36, 29, 0.08);
}

.privacy-panel h3 {
  margin-top: 0;
}

.privacy-page li + li {
  margin-top: 0.4rem;
}

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

@media (max-width: 960px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .story-grid,
  .services-grid,
  .privacy-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .story-image,
  .story-image img {
    min-height: 24rem;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100vw - 32px, 100%);
  }

  .nav-bar {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 1rem 0;
  }

  .brand,
  .footer-brand {
    max-width: 12rem;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.1rem);
  }

  .page-hero h1,
  .privacy-page h1 {
    font-size: clamp(2.4rem, 13vw, 3.4rem);
  }

  .floating-note {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }

  .hero-panel.tall {
    min-height: 20rem;
  }

  .map-street-horizontal {
    left: 5%;
    right: 8%;
    top: 46%;
  }

  .map-street-vertical {
    right: 18%;
  }

  .map-street-diagonal {
    width: 84%;
    left: 8%;
  }

  .map-overlay {
    max-width: none;
  }

  .hero-panel.short,
  .map-shell,
  .map-placeholder,
  .map-frame {
    min-height: 20rem;
  }

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

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    padding: 1.2rem;
    transform: none;
  }

  .cookie-banner:not([hidden]) {
    animation: cookie-banner-enter-mobile 180ms ease;
  }

  .cookie-banner .cta-row {
    flex-direction: column;
  }

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

  .scroll-top-button {
    right: 1rem;
    bottom: 1rem;
  }

  body.has-cookie-banner .scroll-top-button {
    bottom: 11.5rem;
  }
}
