:root {
  --bg: #f4f1ea;
  --bg-soft: #fcfaf6;
  --panel: #ffffff;
  --panel-alt: #f0ece3;
  --ink: #1e2531;
  --muted: #5c6470;
  --line: rgba(30, 37, 49, 0.12);
  --hero: #253247;
  --hero-2: #31415a;
  --accent: #c86d2c;
  --accent-deep: #a55318;
  --accent-soft: rgba(200, 109, 44, 0.12);
  --success: #2a6f52;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 24px 60px rgba(23, 31, 43, 0.12);
  --shadow-md: 0 14px 34px rgba(23, 31, 43, 0.09);
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(200, 109, 44, 0.08), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(37, 50, 71, 0.08), transparent 22%),
    linear-gradient(180deg, #faf8f3 0%, #f2eee6 100%);
  font-family: var(--sans);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.site-shell {
  width: min(1200px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.9rem 0 0;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 42px rgba(30, 37, 49, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 4.1rem;
  height: auto;
  flex: 0 0 auto;
  display: block;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong,
.eyebrow,
.section-kicker,
.card-kicker,
.mini-title,
.crumbs,
.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}

.brand-copy strong {
  display: block;
  font-size: 0.82rem;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--ink);
  position: absolute;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle::before {
  transform: translateY(-0.3rem);
}

.nav-toggle::after {
  transform: translateY(0.3rem);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.72rem 0.92rem;
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--ink);
  background: rgba(30, 37, 49, 0.06);
  transform: translateY(-1px);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.button--accent {
  background: var(--accent);
  border-color: rgba(0, 0, 0, 0);
  color: #fff;
}

.button--accent:hover,
.button--accent:focus-visible {
  background: var(--accent-deep);
}

.button--dark {
  background: var(--hero);
  border-color: rgba(0, 0, 0, 0);
  color: #fff;
}

.button--light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.68);
}

main {
  display: grid;
  gap: 1.5rem;
  padding-top: 1rem;
}

.section,
.hero,
.cta-band,
.footer-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-lg);
}

.hero {
  overflow: hidden;
}

.hero--dark {
  background: linear-gradient(135deg, var(--hero) 0%, var(--hero-2) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.06);
}

.hero-grid,
.split-grid,
.content-grid,
.contact-grid,
.gallery-grid,
.card-grid,
.stats-grid,
.city-grid,
.timeline,
.feature-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  padding: 2rem;
  align-items: center;
}

.page-hero {
  padding: 2rem;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.6rem;
  align-items: start;
}

.hero-media,
.page-hero__media,
.story-media,
.contact-card,
.panel-card,
.service-card,
.stat-card,
.faq-card,
.gallery-card,
.city-card,
.timeline-step,
.cta-band,
.feature-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-media img,
.page-hero__media img,
.story-media img {
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.eyebrow,
.section-kicker,
.card-kicker,
.crumbs,
.stat-label {
  color: rgba(255, 255, 255, 0.72);
}

.section-kicker,
.card-kicker,
.crumbs,
.stat-label,
.mini-title {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.7rem, 5.8vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.1rem;
  color: inherit;
  max-width: 42rem;
}

.hero--dark .lead,
.hero--dark .soft-copy,
.hero--dark .list-check li,
.hero--dark .note {
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions,
.button-row,
.pill-row,
.contact-stack,
.mini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.pill-row span,
.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.95rem;
}

.hero--dark .pill-row span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
}

.section {
  padding: 1.8rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-head p {
  max-width: 36rem;
  color: var(--muted);
  margin-bottom: 0;
}

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

.stat-card,
.panel-card,
.service-card,
.faq-card,
.gallery-card,
.city-card,
.timeline-step,
.feature-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(30, 37, 49, 0.08);
  box-shadow: 0 12px 26px rgba(24, 32, 44, 0.05);
}

.stat-value {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--display);
  margin-bottom: 0.35rem;
}

.stat-copy,
.soft-copy,
.panel-card p,
.service-card p,
.timeline-step p,
.city-card p,
.feature-card p {
  color: var(--muted);
}

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

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

.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  display: grid;
  gap: 0.8rem;
}

.service-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
}

.arrow-link {
  color: var(--accent-deep);
  font-weight: 700;
}

.list-check,
.list-clean,
.faq-list,
.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-check li,
.city-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.65rem;
}

.list-check li::before,
.city-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

.list-clean li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(30, 37, 49, 0.08);
}

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

.split-grid,
.content-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-card--dark {
  background: linear-gradient(160deg, var(--hero) 0%, var(--hero-2) 100%);
  color: #fff;
}

.panel-card--accent {
  background: linear-gradient(145deg, rgba(200, 109, 44, 0.14), rgba(255, 255, 255, 0.94));
}

.story-media img {
  min-height: 18rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step {
  position: relative;
}

.timeline-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 1rem;
}

.gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-card {
  padding: 0;
}

.gallery-card figure {
  margin: 0;
}

.gallery-card img {
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 1rem 1.1rem 1.15rem;
}

.gallery-card--wide {
  grid-column: span 7;
}

.gallery-card--tall {
  grid-column: span 5;
}

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

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-card details {
  border-top: 1px solid rgba(30, 37, 49, 0.08);
  padding-top: 1rem;
  margin-top: 1rem;
}

.faq-card details:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.quote-panel {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(37, 50, 71, 0.06), rgba(200, 109, 44, 0.08));
  border: 1px solid rgba(30, 37, 49, 0.08);
}

.contact-card,
.footer-card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(30, 37, 49, 0.08);
}

.contact-grid {
  align-items: start;
}

.contact-meta {
  display: grid;
  gap: 0.8rem;
}

.contact-meta a {
  color: var(--accent-deep);
}

.contact-inline-note {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(30, 37, 49, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(30, 37, 49, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note,
.note {
  color: var(--muted);
  font-size: 0.94rem;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(42, 111, 82, 0.09);
  border: 1px solid rgba(42, 111, 82, 0.16);
  color: var(--success);
}

.form-success.is-visible {
  display: block;
}

.cta-band {
  padding: 1.75rem;
  background: linear-gradient(135deg, var(--hero) 0%, #38465e 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
}

.footer {
  padding-top: 1.2rem;
}

.footer-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 1.5rem;
}

.footer-card p,
.footer-card li,
.footer-card a {
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  max-width: min(100%, 23rem);
  margin-bottom: 1rem;
}

.footer-brand__logo {
  display: block;
  width: min(100%, 23rem);
  height: auto;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-meta {
  margin-top: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1.75rem;
  background: #21242b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #d6d8e2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.35;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-meta__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.footer-meta__symbol,
.footer-meta__name {
  text-transform: uppercase;
}

.footer-meta__year {
  color: var(--accent);
  font-weight: 700;
}

.footer-meta__rights {
  margin-top: 0.12rem;
  letter-spacing: 0.04em;
}

.breadcrumbs {
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs span {
  color: var(--accent);
}

.inline-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.inline-photo img {
  min-height: 15rem;
  object-fit: cover;
}

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

.service-sidebar {
  display: grid;
  gap: 1rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  background: rgba(200, 109, 44, 0.08);
  color: var(--accent-deep);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero__grid,
  .split-grid,
  .content-grid,
  .contact-grid,
  .footer-card {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid--4,
  .feature-grid,
  .timeline,
  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card--wide,
  .gallery-card--tall {
    grid-column: span 6;
  }

  .footer-meta {
    padding: 1.2rem 1.25rem;
  }
}

@media (max-width: 900px) {
  .site-header__bar {
    border-radius: 1.8rem;
    align-items: start;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
  }

  body.nav-open .nav-toggle span {
    opacity: 0;
  }

  body.nav-open .nav-toggle::before {
    transform: translateY(2px) rotate(45deg);
  }

  body.nav-open .nav-toggle::after {
    transform: translateY(0) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 5.7rem 0.75rem auto;
    padding: 1rem;
    border-radius: 1.6rem;
    border: 1px solid var(--line);
    background: rgba(255, 252, 247, 0.98);
    box-shadow: var(--shadow-lg);
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 6.7rem);
    overflow: auto;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .nav-menu,
  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link,
  .header-actions .button {
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 1rem, 1200px);
  }

  .hero-grid,
  .page-hero,
  .section,
  .cta-band,
  .footer-card {
    padding: 1.3rem;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

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

  .stats-grid,
  .card-grid,
  .card-grid--2,
  .card-grid--4,
  .feature-grid,
  .timeline,
  .form-grid,
  .city-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-card--wide,
  .gallery-card--tall {
    grid-column: auto;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 3.5rem;
  }

  .brand-copy span {
    white-space: normal;
  }
}
