:root {
  --ink: #102322;
  --ink-soft: #405452;
  --night: #081716;
  --night-2: #102b29;
  --paper: #f7f7f2;
  --white: #ffffff;
  --mist: #e6ece8;
  --teal: #0aa89d;
  --teal-dark: #087d75;
  --sun: #edb458;
  --line: rgba(16, 35, 34, 0.14);
  --shadow: 0 24px 70px rgba(8, 23, 22, 0.14);
  --radius: 1.25rem;
  --wrap: min(1180px, calc(100% - 3rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, Inter, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Avenir Next", Avenir, Inter, "Segoe UI", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(3rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.15rem, 4vw, 4rem); }
h3 { font-size: 1.35rem; }
p { color: var(--ink-soft); }
.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 3rem)); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 1000;
  background: var(--white); color: var(--ink); padding: .75rem 1rem; border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }
.eyebrow {
  margin-bottom: 1rem; color: var(--teal-dark); font-size: .74rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow.light { color: #7ce0d8; }
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.65; }

#site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white);
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
}
#site-header.is-scrolled { background: rgba(8, 23, 22, .94); box-shadow: 0 8px 30px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
#site-header.is-hidden { transform: translateY(-100%); }
.nav-shell { width: var(--wrap); min-height: 6rem; margin: auto; display: flex; align-items: center; gap: 1.75rem; }
.brand { flex: 0 0 auto; }
.brand img { width: 96px; height: auto; filter: drop-shadow(0 3px 12px rgba(0,0,0,.28)); }
.desktop-nav { margin-left: auto; }
.desktop-nav ul, .mobile-nav ul, .footer-links ul { padding: 0; margin: 0; list-style: none; }
.desktop-nav > ul { display: flex; align-items: center; gap: 1.6rem; }
.desktop-nav li { position: relative; }
.desktop-nav a { display: block; padding: .65rem 0; text-decoration: none; font-size: .87rem; font-weight: 650; }
.desktop-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: .35rem; height: 2px;
  background: var(--sun); transition: right .25s ease;
}
.desktop-nav > ul > li:hover > a::after, .desktop-nav > ul > li.is-active > a::after { right: 0; }
.submenu {
  position: absolute; top: calc(100% + .3rem); left: 50%; min-width: 290px; padding: .7rem !important;
  background: var(--white); color: var(--ink); border-radius: .8rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, .5rem); transition: .2s ease;
}
.desktop-nav li:hover > .submenu, .desktop-nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { padding: .65rem .75rem; border-radius: .45rem; line-height: 1.3; }
.submenu a:hover, .submenu a:focus { background: var(--mist); }
.nav-cta {
  padding: .72rem 1.05rem; border: 1px solid rgba(255,255,255,.6); border-radius: 999px;
  text-decoration: none; font-size: .82rem; font-weight: 800; white-space: nowrap; transition: .2s ease;
}
.nav-cta:hover { background: var(--white); color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; background: none; border: 0; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--white); transition: .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-last-child(3) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-last-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { height: calc(100vh - 5rem); padding: 1.5rem; background: var(--night); overflow-y: auto; }
.mobile-nav > ul > li { position: relative; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-nav a { display: block; padding: 1rem .2rem; text-decoration: none; font-weight: 700; }
.mobile-nav li.is-active > a { color: #7ce0d8; }
.mobile-nav .submenu { position: static; display: none; visibility: visible; opacity: 1; transform: none; min-width: 0; padding: 0 0 .75rem 1rem !important; background: none; color: var(--white); box-shadow: none; }
.mobile-nav .submenu-open .submenu { display: block; }
.submenu-toggle { position: absolute; top: .65rem; right: 0; width: 40px; height: 40px; color: var(--white); background: none; border: 0; font-size: 1.5rem; }
.submenu-toggle[aria-expanded="true"] { transform: rotate(45deg); }
.mobile-cta { margin-top: 2rem; text-align: center; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.25rem;
  padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none;
  font-size: .85rem; font-weight: 800; letter-spacing: .02em; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: var(--white); }
.button-primary:hover { background: var(--teal-dark); }
.button-light { background: var(--white); color: var(--ink); }
.button-ghost { border-color: var(--line); color: var(--ink); }
.button-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.text-link { color: var(--teal-dark); font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link.light { color: #7ce0d8; }

.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--white);
  background: var(--night) url("/assets/images/hero-shellcamp.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,16,17,.86) 0%, rgba(3,16,17,.45) 50%, rgba(3,16,17,.18) 100%), linear-gradient(0deg, rgba(3,16,17,.7), transparent 50%); }
.hero::after { content: ""; position: absolute; width: 48vw; aspect-ratio: 1; right: -18vw; top: 7vh; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 8vw rgba(255,255,255,.025), 0 0 0 16vw rgba(255,255,255,.02); }
.hero-content { position: relative; z-index: 1; padding: 12rem 0 7rem; }
.hero h1 { max-width: 900px; margin-bottom: 1.4rem; color: var(--white); }
.hero h1 span { color: #78e0d8; }
.hero .lead { max-width: 680px; color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero .button-ghost { color: var(--white); border-color: rgba(255,255,255,.45); }
.hero .button-ghost:hover { background: rgba(255,255,255,.1); }
.hero-meta { position: absolute; z-index: 2; right: max(1.5rem, calc((100vw - 1180px) / 2)); bottom: 2rem; display: flex; gap: 2.2rem; color: rgba(255,255,255,.75); }
.hero-meta strong { display: block; color: var(--white); font-size: 1.25rem; }
.hero-meta span { font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; }

.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section-muted { background: #ebeee9; }
.section-dark { background: var(--night); color: var(--white); }
.section-dark p { color: rgba(255,255,255,.66); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr); gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin-bottom: .25rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { min-height: 290px; display: flex; flex-direction: column; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .number { color: var(--teal-dark); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.service-card h3 { margin: auto 0 .75rem; font-size: 1.65rem; }
.service-card p { margin-bottom: 0; }
.feature-split { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 660px; }
.feature-image { min-height: 520px; background: url("/assets/images/panoramas/winnisquam-400.webp") center / cover; }
.feature-image.about-image { background-image: url("/assets/images/panoramas/shellcamp-sunrise.webp"); }
.feature-copy { display: flex; align-items: center; padding: clamp(3rem, 7vw, 7rem); background: var(--night-2); color: var(--white); }
.feature-copy p { color: rgba(255,255,255,.68); }
.feature-copy h2 { color: var(--white); }
.fact-list { display: grid; gap: 1.25rem; padding: 0; margin: 2rem 0 2.5rem; list-style: none; }
.fact-list li { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: start; }
.fact-list li::before { content: "↗"; color: #78e0d8; font-weight: 900; }
.video-frame, .pano-frame { position: relative; overflow: hidden; background: #000; border-radius: var(--radius); box-shadow: var(--shadow); }
.video-frame { aspect-ratio: 16 / 9; }
.pano-frame { aspect-ratio: 2 / 1; }
.video-frame iframe, .pano-frame iframe { width: 100%; height: 100%; border: 0; }

.page-hero { position: relative; min-height: 62vh; display: grid; align-items: end; padding: 12rem 0 5rem; color: var(--white); background: var(--night); overflow: hidden; }
.page-hero.image { background: var(--night) url("/assets/images/hero-shellcamp.jpg") center 52% / cover; }
.page-hero.image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,16,17,.9), rgba(3,16,17,.35)), linear-gradient(0deg, rgba(3,16,17,.8), transparent 60%); }
.page-hero::after { content: ""; position: absolute; inset: auto -10vw -27vw auto; width: 50vw; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin-bottom: 1rem; font-size: clamp(3rem, 6vw, 6rem); color: var(--white); }
.page-hero .lead { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.75); }
.breadcrumbs { margin-bottom: 1.5rem; color: rgba(255,255,255,.65); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumbs a { text-decoration: none; }

.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.price-card { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; }
.price-card h2 { margin: 0; font-size: 1.45rem; }
.price-card p { grid-column: 1 / -1; margin: 0; }
.price { color: var(--teal-dark); font-weight: 900; white-space: nowrap; }
.pricing-note { margin-top: 2rem; padding: 1.5rem 1.7rem; border-left: 4px solid var(--sun); background: #f0eadf; }
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.media-card { overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-card-copy { padding: 1.35rem; }
.media-card-copy h3 { margin-bottom: .35rem; }
.media-card-copy p { margin: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.5rem; }
.filter-button { padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-size: .8rem; font-weight: 800; }
.filter-button:hover, .filter-button.is-active { background: var(--ink); color: var(--white); }
.panorama-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.panorama-card { position: relative; min-height: 270px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--white); background: var(--night); border-radius: 1rem; overflow: hidden; text-decoration: none; }
.panorama-card::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, rgba(3,18,18,.95), rgba(3,18,18,.05) 72%); transition: background .3s ease; }
.panorama-card::after { content: "360°"; position: absolute; z-index: 2; top: 1rem; right: 1rem; padding: .35rem .55rem; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.panorama-card > img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.panorama-card:hover::before { background: linear-gradient(0deg, rgba(3,18,18,.97), rgba(10,168,157,.18)); }
.panorama-card:hover > img { transform: scale(1.035); }
.panorama-card .place, .panorama-card h2 { position: relative; z-index: 2; }
.panorama-card .place { color: #7ce0d8; font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.panorama-card h2 { margin: .45rem 0 0; color: var(--white); font-size: 1.25rem; letter-spacing: -.02em; }
.panorama-card[hidden] { display: none; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 7rem); }
.contact-aside h2 { font-size: 2.25rem; }
.contact-aside .contact-detail { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.contact-aside .contact-detail strong { display: block; margin-bottom: .25rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 850; letter-spacing: .04em; }
.field input, .field textarea { width: 100%; padding: .9rem 1rem; color: var(--ink); background: #f7f8f5; border: 1px solid #d6deda; border-radius: .55rem; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(10,168,157,.15); }
.field textarea { min-height: 165px; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; }
.form-actions p { margin: 0; font-size: .78rem; }
.honeypot { position: absolute; left: -10000px; }
.form-notice { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: .6rem; }
.form-notice.success { background: #dff4e9; color: #15593b; }
.form-notice.error { background: #f7dddd; color: #7a2525; }

.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 3rem; font-size: 2rem; }
.prose h3 { margin-top: 2.2rem; }
.prose li { margin-bottom: .65rem; color: var(--ink-soft); }
.steps { counter-reset: step; display: grid; gap: 1rem; padding: 0; list-style: none; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: .8rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 900; }
.quote-block { padding: 2rem; background: var(--night-2); color: var(--white); border-radius: var(--radius); }
.quote-block p { margin: 0; color: rgba(255,255,255,.74); }

.cta-band { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--sun); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.cta-band h2 { max-width: 760px; margin-bottom: 0; }
.cta-band .button { flex: 0 0 auto; background: var(--ink); color: var(--white); }

#site-footer { background: var(--night); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.2fr .65fr 1fr; gap: 5rem; padding: 5rem 0 4rem; }
.footer-brand img { width: 118px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 360px; color: rgba(255,255,255,.55); }
.footer-links h2, .footer-contact h2 { font-size: 1.1rem; color: var(--white); letter-spacing: -.01em; }
.footer-links li { margin: .45rem 0; }
.footer-links a { color: rgba(255,255,255,.62); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-contact h2 { font-size: 2rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding: 1.25rem 0 2rem; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.45); font-size: .75rem; }
.footer-bottom a { color: inherit; }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-shell { min-height: 5rem; }
  .brand img { width: 80px; }
  .hero-meta { display: none; }
  .service-grid, .panorama-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --wrap: min(100% - 2rem, 1180px); }
  h1 { font-size: clamp(2.7rem, 13vw, 4.4rem); }
  .hero-content { padding: 9rem 0 4.5rem; }
  .hero { min-height: 92svh; }
  .page-hero { min-height: 58vh; padding: 9rem 0 3.5rem; }
  .section { padding: 4.5rem 0; }
  .section-head, .feature-split, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-image { min-height: 380px; }
  .feature-copy { padding: 3rem 1.5rem; }
  .service-grid, .price-grid, .panorama-grid, .media-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .contact-form { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .cta-band .wrap { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
