:root {
  --ink: #11130f;
  --ink-soft: #3b4038;
  --paper: #f4efe4;
  --cream: #fffaf0;
  --field: #245f3b;
  --field-2: #79b65b;
  --lake: #286f88;
  --red: #d63d48;
  --gold: #e5b64e;
  --white: #ffffff;
  --glass: rgba(255, 250, 240, .1);
  --shadow: 0 28px 80px rgba(7, 14, 9, .24);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

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

.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .22;
  mix-blend-mode: multiply;
}

.cursor-glow {
  position: fixed;
  z-index: 2;
  width: 240px;
  height: 240px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(229, 182, 78, .2), transparent 66%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .25s ease;
}

.site-header {
  position: fixed;
  inset: 16px 18px auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(10, 14, 10, .58);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .2);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 240, .92);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 214px;
}

.brand img,
.site-footer img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: .98rem;
}

.brand small {
  opacity: .72;
  font-size: .72rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
}

nav a {
  opacity: .76;
}

nav a:hover,
.header-call:hover {
  opacity: 1;
}

.header-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-call {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
}

.button:hover,
.header-call:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 16px 30px rgba(214, 61, 72, .28);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .56);
  background: rgba(255, 255, 255, .08);
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: center;
  padding: 132px clamp(18px, 5vw, 72px) 92px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
  transform-origin: 54% 58%;
  will-change: transform, filter, clip-path;
}

.hero-media img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.hero-shade {
  background:
    radial-gradient(circle at 26% 54%, rgba(0, 0, 0, .2), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .36) 48%, rgba(0, 0, 0, .08)),
    linear-gradient(0deg, rgba(8, 17, 9, .74), transparent 62%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero-content {
  will-change: transform, opacity;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-weight: 950;
  font-size: .78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 930px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 7.1vw, 7.8rem);
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.05rem, 5vw, 5.2rem);
  line-height: .96;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.12rem, 2vw, 1.65rem);
  line-height: 1.06;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 66px;
  z-index: 2;
  width: min(360px, calc(100vw - 36px));
  display: grid;
  gap: 12px;
}

.hero-panel > div {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.panel-kicker {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-panel strong {
  color: rgba(255, 255, 255, .9);
  line-height: 1.28;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .72);
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 900;
}

.scroll-cue span {
  width: 2px;
  height: 38px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 1.5s ease-in-out infinite;
}

@keyframes cue {
  50% { transform: translateY(10px); opacity: .45; }
}

.trust-band {
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-block: 1px solid rgba(255, 255, 255, .12);
}

.marquee {
  display: flex;
  width: max-content;
  gap: 48px;
  padding: 17px 24px;
  animation: marquee 30s linear infinite;
}

.marquee span {
  font-size: clamp(.9rem, 2vw, 1.15rem);
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.story-drive {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .85fr);
  gap: clamp(28px, 6vw, 82px);
  min-height: 280vh;
  padding: clamp(72px, 9vw, 120px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(180deg, #11130f, #172315 38%, #0d110c);
}

.story-sticky {
  position: sticky;
  top: 106px;
  align-self: start;
  height: calc(100svh - 132px);
}

.story-visual {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #080a08;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .9s ease;
}

.story-visual.is-changing img {
  opacity: .36;
  transform: scale(1.08);
}

.story-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 42%, rgba(229, 182, 78, .18) 50%, transparent 58%);
  transform: translateX(-100%);
  animation: scan 4.5s ease-in-out infinite;
}

@keyframes scan {
  45%, 100% { transform: translateX(100%); }
}

.story-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.story-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
}

.story-copy {
  display: grid;
  gap: 36vh;
  padding: 18vh 0 22vh;
}

.story-step {
  max-width: 660px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.story-step p:not(.eyebrow) {
  color: rgba(255, 255, 255, .74);
  font-size: 1.08rem;
  line-height: 1.72;
}

.section,
.route-band {
  scroll-margin-top: 110px;
}

.section {
  padding: clamp(70px, 10vw, 140px) clamp(18px, 5vw, 72px);
}

.intro-split,
.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}

.section-copy p,
.quote-copy p,
.route-copy p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.resident-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.mini-card,
.service-card,
.season-card,
.quote-form,
.contact-card {
  border-radius: var(--radius);
  border: 1px solid rgba(17, 19, 15, .12);
  background: rgba(255, 250, 240, .78);
  box-shadow: 0 16px 40px rgba(22, 35, 20, .08);
}

.mini-card,
.service-card {
  min-height: 225px;
  padding: 22px;
  transform-style: preserve-3d;
}

.card-mark {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mini-card p,
.service-card p {
  color: var(--ink-soft);
  line-height: 1.58;
}

.image-stack {
  position: relative;
  min-height: 660px;
}

.stack-main,
.stack-float {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stack-main {
  inset: 0 9% auto 0;
  width: 82%;
  height: 600px;
}

.stack-float {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 310px;
  border: 8px solid var(--paper);
}

.service-badge {
  position: absolute;
  left: 28px;
  bottom: 42px;
  width: min(310px, 72%);
  padding: 18px;
  color: var(--white);
  background: var(--field);
  border-radius: var(--radius);
  font-weight: 950;
  box-shadow: var(--shadow);
}

.services {
  color: var(--white);
  background:
    linear-gradient(rgba(8, 18, 11, .9), rgba(8, 18, 11, .94)),
    url("assets/edge-detail-1100.webp") center / cover fixed;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.services .service-card {
  color: var(--white);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.services .service-card p {
  color: rgba(255, 255, 255, .75);
}

.work-showcase {
  overflow: hidden;
  padding: 18px 0;
  background: var(--red);
}

.showcase-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: drift 36s linear infinite;
}

.showcase-track img {
  width: min(58vw, 560px);
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius);
}

@keyframes drift {
  to { transform: translateX(-38%); }
}

.seasonal {
  background: var(--paper);
}

.season-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.season-tabs {
  display: grid;
  gap: 8px;
}

.season-tab {
  min-height: 58px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(17, 19, 15, .14);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.season-tab.active,
.season-tab:hover {
  color: var(--white);
  background: var(--field);
}

.season-card {
  min-height: 370px;
  padding: clamp(24px, 5vw, 54px);
  background:
    linear-gradient(120deg, rgba(255, 250, 240, .96), rgba(255, 250, 240, .74)),
    url("assets/arrival-evening-1100.webp") center / cover;
}

.season-kicker {
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}

.season-card p,
.season-card li {
  color: var(--ink-soft);
  line-height: 1.65;
}

.route-band {
  display: grid;
  grid-template-columns: .75fr 1fr;
  gap: 34px;
  align-items: center;
  padding: clamp(72px, 10vw, 130px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.route-copy p {
  color: rgba(255, 255, 255, .72);
}

.route-map {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

#service-map {
  width: 100%;
  height: 460px;
  background: #0d1411;
}

#service-map.leaflet-container {
  font: inherit;
}

.leaflet-tooltip.town-label {
  padding: 3px 9px;
  color: var(--white);
  background: rgba(10, 14, 10, .82);
  border: 1px solid rgba(229, 182, 78, .5);
  border-radius: 6px;
  font-weight: 900;
  font-size: .82rem;
  box-shadow: none;
  white-space: nowrap;
}

.leaflet-tooltip.town-label::before {
  display: none;
}

.map-legend {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 500;
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(10, 14, 10, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  font-size: .76rem;
  font-weight: 800;
  pointer-events: none;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-legend i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--white);
}

.map-legend i.hull {
  border-radius: 3px;
  background: rgba(229, 182, 78, .2);
  border: 1px dashed var(--gold);
}

.quote-section {
  background: var(--cream);
}

.contact-card {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 18px;
}

.contact-card a {
  color: var(--field);
  font-weight: 900;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 900;
}

.optional {
  color: rgba(59, 64, 56, .6);
  font-weight: 700;
}

select,
input[type="range"],
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
}

select,
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  min-height: 48px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(17, 19, 15, .18);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  transition: border-color .18s ease, box-shadow .18s ease;
}

select {
  padding: 0 12px;
}

textarea {
  min-height: 64px;
  resize: vertical;
  line-height: 1.5;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--field);
  box-shadow: 0 0 0 3px rgba(36, 95, 59, .16);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-actions .button {
  flex: 1 1 auto;
}

.button.ghost {
  color: var(--field);
  background: transparent;
  border: 1px solid rgba(36, 95, 59, .4);
}

.button.ghost:hover {
  background: rgba(36, 95, 59, .08);
}

.button[disabled] {
  opacity: .6;
  cursor: progress;
  transform: none;
}

@media (max-width: 680px) {
  .form-row.two {
    grid-template-columns: 1fr;
  }
}

input[type="range"] {
  accent-color: var(--red);
}

.quote-output {
  min-height: 120px;
  padding: 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #070807;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Book a Call link cloned into the mobile dropdown — desktop uses the pill. */
.nav-cta { display: none; }

/* Mobile menu button — injected by script.js, hidden on desktop. */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.site-header.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .site-header {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .brand { margin-right: auto; }

  .menu-toggle { display: flex; }

  nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: rgba(10, 14, 10, .97);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
    backdrop-filter: blur(18px);
    text-transform: none;
    font-size: .98rem;
  }

  .site-header.is-scrolled nav {
    background: rgba(255, 250, 240, .98);
    border-color: rgba(17, 19, 15, .12);
  }

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

  nav a {
    padding: 13px 14px;
    border-radius: 6px;
    opacity: 1;
  }

  nav a:hover { background: rgba(127, 182, 91, .18); }

  .nav-cta {
    display: block;
    margin-top: 6px;
    color: var(--ink) !important;
    background: var(--gold);
    font-weight: 900;
    text-align: center;
  }

  .nav-cta:hover { background: var(--gold); filter: brightness(1.05); }

  .hero {
    min-height: 900px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 28px;
  }

  .story-drive,
  .intro-split,
  .quote-section,
  .route-band {
    grid-template-columns: 1fr;
  }

  .story-drive {
    min-height: auto;
  }

  .story-sticky {
    position: relative;
    top: auto;
    height: 560px;
  }

  .story-copy {
    gap: 18px;
    padding: 0;
  }

  .season-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    inset: 10px 10px auto;
    min-height: 62px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand small,
  .header-call {
    display: none;
  }

  .hero {
    min-height: 840px;
    padding: 112px 18px 54px;
  }

  .hero-media img {
    height: 100%;
    object-position: 56% center;
  }

  h1 {
    font-size: clamp(3rem, 15.5vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.7rem);
  }

  .resident-grid,
  .service-grid,
  .season-tabs {
    grid-template-columns: 1fr;
  }

  .story-sticky {
    min-height: 470px;
    height: 470px;
  }

  #service-map {
    height: 360px;
  }

  .image-stack {
    min-height: 500px;
  }

  .stack-main {
    width: 100%;
    height: 450px;
  }

  .stack-float {
    display: none;
  }

  .showcase-track img {
    width: 82vw;
    height: 280px;
  }

  .site-footer {
    display: grid;
  }
}

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