/* Base tokens */
:root {
  --cream: #fbf5e8;
  --paper: #fffaf0;
  --sepia: #d9b982;
  --gold: #b9873b;
  --maroon: #6b1f2b;
  --maroon-deep: #3c1118;
  --coffee: #4b2f24;
  --ink: #261a16;
  --muted: #70594b;
  --sage: #68765d;
  --teal: #174f4a;
  --line: rgba(75, 47, 36, 0.18);
  --soft-line: rgba(255, 250, 240, 0.28);
  --shadow: 0 24px 60px rgba(60, 17, 24, 0.14);
  --radius: 8px;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(251, 245, 232, 0.97), rgba(255, 250, 240, 0.98)),
    repeating-linear-gradient(90deg, rgba(75, 47, 36, 0.035) 0 1px, transparent 1px 46px);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--maroon);
  border-radius: var(--radius);
}

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

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

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 245, 232, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(100% - 2rem, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 146px;
  height: auto;
}

.nav-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  color: var(--coffee);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.nav-links {
  position: fixed;
  inset: 72px 1rem auto 1rem;
  display: none;
  flex-direction: column;
  padding: 0.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: flex;
}

.nav-links a {
  padding: 0.75rem 0.4rem;
  color: var(--coffee);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  color: var(--maroon);
  background: rgba(217, 185, 130, 0.24);
}

/* Type */
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-weight: 400;
}

h1 {
  max-width: 11ch;
  font-size: 3.5rem;
}

h2 {
  max-width: 14ch;
  font-size: 2.2rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

/* Buttons and links */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.05rem;
  color: var(--paper);
  background: var(--maroon);
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: var(--radius);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.button-secondary {
  color: var(--paper);
  background: rgba(255, 250, 240, 0.1);
  border-color: rgba(255, 250, 240, 0.44);
}

.text-link {
  display: inline-flex;
  color: var(--maroon);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.24em;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(60, 17, 24, 0.05), rgba(60, 17, 24, 0.92)),
    linear-gradient(135deg, #7a2633 0%, #4b2f24 50%, #174f4a 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 11rem;
  background: linear-gradient(180deg, transparent, rgba(38, 26, 22, 0.58));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 5rem;
}

.hero .eyebrow,
.page-hero .eyebrow,
.contact-cta .eyebrow {
  color: #f1cb82;
}

.hero-subtitle {
  max-width: 43rem;
  margin-top: 1.25rem;
  color: rgba(255, 250, 240, 0.9);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-visual {
  position: absolute;
  inset: 0;
  opacity: 0.78;
}

.sun {
  position: absolute;
  top: 12vh;
  right: 9vw;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, #f1cb82 0 38%, rgba(241, 203, 130, 0.18) 39% 68%, transparent 69%);
}

.coast-line {
  position: absolute;
  right: -12vw;
  bottom: 14vh;
  left: -12vw;
  height: 8rem;
  border-top: 1px solid rgba(255, 250, 240, 0.28);
  border-bottom: 1px solid rgba(255, 250, 240, 0.14);
  transform: rotate(-2deg);
}

.arch,
.tower {
  position: absolute;
  bottom: 0;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-bottom: 0;
}

.arch {
  width: 13rem;
  height: 9rem;
  border-radius: 8rem 8rem 0 0;
}

.arch-one {
  right: 11vw;
}

.arch-two {
  right: 27vw;
  width: 9rem;
  height: 6rem;
}

.tower {
  width: 4.5rem;
  height: 17rem;
}

.tower-one {
  left: 10vw;
}

.tower-two {
  left: 18vw;
  height: 12rem;
}

.page-hero {
  min-height: 27rem;
  display: grid;
  align-content: end;
  padding: 7rem max(1rem, calc((100% - var(--max)) / 2)) 4rem;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(60, 17, 24, 0.12), rgba(60, 17, 24, 0.88)),
    repeating-linear-gradient(135deg, rgba(255, 250, 240, 0.12) 0 1px, transparent 1px 28px),
    linear-gradient(135deg, #6b1f2b, #4b2f24 48%, #174f4a);
}

.page-hero h1 {
  max-width: 12ch;
}

.page-hero p:not(.eyebrow) {
  max-width: 44rem;
  margin-top: 1rem;
  color: rgba(255, 250, 240, 0.88);
  font-size: 1.08rem;
}

/* Layout */
.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4rem 0;
}

.split {
  display: grid;
  gap: 2rem;
}

.copy-stack {
  display: grid;
  gap: 1rem;
  color: var(--coffee);
  font-size: 1.16rem;
}

.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.section-head p:not(.eyebrow) {
  max-width: 45rem;
  color: var(--coffee);
  font-size: 1.08rem;
}

.warm-band {
  width: 100%;
  max-width: none;
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  background: rgba(217, 185, 130, 0.18);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Cards */
.card-grid,
.service-grid,
.area-grid,
.area-guide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card,
.area-card,
.service-card,
.guide-card,
.story-card,
.contact-details,
.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(75, 47, 36, 0.08);
}

.feature-card {
  min-height: 15rem;
  padding: 1.3rem;
}

.feature-card:nth-child(2n),
.guide-card:nth-child(2n),
.service-card:nth-child(2n) {
  background: #f7ecd8;
}

.card-index {
  display: inline-block;
  margin-bottom: 3.4rem;
  color: var(--teal);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.feature-card p,
.area-card p,
.service-card p,
.guide-card p,
.story-card p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.area-card,
.service-card,
.guide-card {
  padding: 1.25rem;
}

.area-card h3 {
  color: var(--maroon);
}

.area-card p {
  font-size: 0.96rem;
}

.service-card {
  min-height: 12rem;
}

.service-card h2,
.service-card h3,
.guide-card h2,
.story-card h2 {
  max-width: 100%;
  font-size: 1.32rem;
}

.guide-card {
  display: grid;
  align-content: start;
  gap: 0.15rem;
}

.guide-card .text-link {
  margin-top: 0.9rem;
}

/* Featured article and trust */
.featured-article {
  align-items: center;
}

.article-art {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.12), rgba(60, 17, 24, 0.22)),
    linear-gradient(135deg, #d9b982, #6b1f2b 52%, #174f4a);
  border-radius: var(--radius);
}

.article-art span {
  position: absolute;
  border: 1px solid rgba(255, 250, 240, 0.42);
}

.article-art span:nth-child(1) {
  inset: 18% 14% auto auto;
  width: 46%;
  height: 55%;
  border-radius: 10rem 10rem 0 0;
}

.article-art span:nth-child(2) {
  left: 12%;
  bottom: 16%;
  width: 34%;
  height: 48%;
}

.article-art span:nth-child(3) {
  right: 8%;
  bottom: 18%;
  width: 22%;
  height: 28%;
  border-radius: 999px;
}

.featured-article p:not(.eyebrow) {
  margin: 1rem 0;
  color: var(--coffee);
}

.trust-list,
.comparison-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list span,
.comparison-list li {
  padding: 1rem;
  color: var(--coffee);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

/* Stories */
.story-list {
  display: grid;
  gap: 1rem;
}

.story-card {
  display: grid;
  gap: 0.65rem;
  padding: 1.3rem;
}

.story-card span {
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

/* Guidance and contact */
.compare-section,
.disclaimer {
  padding-top: 2rem;
}

.disclaimer {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(107, 31, 43, 0.96), rgba(75, 47, 36, 0.94)),
    var(--maroon);
  border-radius: var(--radius);
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.disclaimer h2 {
  max-width: 100%;
  font-size: 1.6rem;
}

.disclaimer p {
  max-width: 54rem;
  margin-top: 0.85rem;
  color: rgba(255, 250, 240, 0.86);
}

.contact-cta,
.contact-panel {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(107, 31, 43, 0.97), rgba(23, 79, 74, 0.94)),
    var(--maroon);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-cta {
  padding: 2rem;
}

.contact-cta h2 {
  max-width: 16ch;
}

.contact-cta p:not(.eyebrow) {
  max-width: 42rem;
  margin: 1rem 0 1.4rem;
  color: rgba(255, 250, 240, 0.86);
}

.contact-layout {
  display: grid;
  gap: 1rem;
}

.contact-panel,
.contact-details {
  padding: 1.5rem;
}

.contact-panel h2,
.contact-details h2 {
  max-width: 100%;
  font-size: 1.6rem;
}

.contact-panel p:not(.eyebrow) {
  margin: 1rem 0 1.4rem;
  color: rgba(255, 250, 240, 0.86);
}

.contact-details p {
  margin-top: 0.8rem;
  color: var(--coffee);
}

/* Footer */
.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
}

/* Responsive */
@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-links a {
    padding: 0.5rem 0.65rem;
  }

  h1 {
    font-size: 5.3rem;
  }

  h2 {
    font-size: 3.6rem;
  }

  .hero-subtitle,
  .page-hero p:not(.eyebrow) {
    font-size: 1.28rem;
  }

  .section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .split {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .copy-stack {
    font-size: 1.28rem;
  }

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

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

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

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

  .contact-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .contact-cta,
  .contact-panel,
  .contact-details,
  .disclaimer {
    padding: 2.4rem;
  }
}

@media (min-width: 980px) {
  h1 {
    font-size: 7.4rem;
  }

  h2 {
    font-size: 4.8rem;
  }

  .hero-subtitle,
  .page-hero p:not(.eyebrow) {
    font-size: 1.42rem;
  }

  .sun {
    width: 15rem;
    height: 15rem;
  }

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

  .area-grid.compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
