:root {
  --shell-bg: #f6f3ee;
  --shell-surface: rgba(255, 255, 255, 0.82);
  --shell-surface-strong: #ffffff;
  --shell-ink: #171616;
  --shell-muted: rgba(23, 22, 22, 0.68);
  --shell-accent: #945f32;
  --shell-accent-2: #d1b58f;
  --shell-line: rgba(23, 22, 22, 0.1);
  --shell-glow: rgba(148, 95, 50, 0.18);
  --shell-shadow: 0 28px 80px rgba(10, 15, 24, 0.12);
  --shell-radius-xl: 34px;
  --shell-radius-lg: 24px;
  --shell-radius-md: 18px;
  --shell-radius-sm: 12px;
  --shell-container: 1240px;
  --display-font: "Fraunces", serif;
  --body-font: "Manrope", sans-serif;
  --header-offset: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 1.5rem);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.4), transparent 36%),
    var(--shell-bg);
  color: var(--shell-ink);
  font-family: var(--body-font);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.reduced-effects * {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--shell-accent);
  outline-offset: 3px;
}

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

button {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

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

.template-shell {
  position: relative;
}

.template-page__bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, var(--shell-glow), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.16), transparent 18%),
    radial-gradient(circle at 40% 88%, rgba(255, 255, 255, 0.08), transparent 18%);
  z-index: -1;
}

.container {
  width: min(var(--shell-container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section--tight {
  padding: clamp(3.2rem, 6vw, 5rem) 0;
}

.section--flush-top {
  padding-top: 0;
}

.surface-card,
.glass-card,
.metric-card,
.review-card,
.faq-item,
.contact-card,
.offer-card,
.listing-card,
.panel-card,
.profile-card,
.price-card,
.gallery-card,
.spotlight-card,
.stat-card {
  position: relative;
  border: 1px solid var(--shell-line);
  border-radius: var(--shell-radius-lg);
  background: var(--shell-surface);
  box-shadow: var(--shell-shadow);
  backdrop-filter: blur(18px);
}

.glass-card {
  background: color-mix(in srgb, var(--shell-surface-strong) 62%, transparent);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--shell-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title,
.template-hero h1,
.display-heading {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 4vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.section-lead,
.template-hero__lead,
.muted-copy {
  margin: 0;
  color: var(--shell-muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.75;
}

.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.accent-rule {
  width: 88px;
  height: 2px;
  margin: 1.25rem 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--shell-accent), transparent);
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.button {
  background: var(--shell-accent);
  color: #fff;
  box-shadow: 0 18px 34px color-mix(in srgb, var(--shell-accent) 28%, transparent);
}

.button-secondary {
  border-color: var(--shell-line);
  background: color-mix(in srgb, var(--shell-surface-strong) 72%, transparent);
  color: var(--shell-ink);
}

.button-ghost {
  padding-inline: 0;
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--shell-accent);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-2px);
}

.cta-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.chip-list,
.tag-list,
.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip,
.tag,
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid var(--shell-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--shell-surface-strong) 76%, transparent);
  color: var(--shell-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.chip strong,
.tag strong,
.meta-chip strong {
  color: var(--shell-ink);
}

.stats-grid,
.grid-2,
.grid-3,
.grid-4,
.gallery-grid,
.profile-grid,
.pricing-grid,
.form-grid,
.listing-grid,
.review-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.metric-card,
.review-card,
.offer-card,
.listing-card,
.profile-card,
.price-card,
.spotlight-card,
.stat-card {
  padding: 1.35rem;
}

.metric-card strong,
.stat-card strong,
.price-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1;
}

.metric-card span,
.stat-card span,
.review-card span,
.offer-card span,
.profile-card span,
.listing-card span {
  color: var(--shell-muted);
  line-height: 1.7;
}

.review-card blockquote {
  margin: 0 0 1.3rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.review-card cite {
  color: var(--shell-muted);
  font-style: normal;
}

.template-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1rem 0;
  transition:
    background-color 220ms ease,
    backdrop-filter 220ms ease,
    border-color 220ms ease;
}

.template-header.is-overlay {
  position: absolute;
  inset: 0 0 auto;
}

.template-header.is-scrolled,
.template-header:not(.is-overlay) {
  border-bottom: 1px solid var(--shell-line);
  background: color-mix(in srgb, var(--shell-bg) 78%, transparent);
  backdrop-filter: blur(16px);
}

.template-header__inner {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.template-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0 0.95rem;
  border: 1px solid var(--shell-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--shell-surface-strong) 82%, transparent);
  box-shadow: 0 18px 34px rgba(10, 15, 24, 0.1);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(18px);
}

.template-back-link__arrow {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--shell-accent) 14%, transparent);
  color: var(--shell-accent);
}

.template-brand {
  display: inline-grid;
  gap: 0.2rem;
  min-width: 0;
}

.template-brand strong {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.template-brand span {
  color: var(--shell-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.template-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
}

.template-nav a {
  color: var(--shell-muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.template-nav a:hover,
.template-nav a:focus-visible {
  color: var(--shell-ink);
}

.template-header__cta {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--shell-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--shell-surface-strong) 76%, transparent);
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  flex-direction: column;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.template-hero {
  position: relative;
  padding-top: calc(var(--header-offset) + clamp(2rem, 8vw, 4rem));
}

.template-hero__shell {
  display: grid;
  gap: 2rem;
}

.template-hero__copy {
  display: grid;
  gap: 1.35rem;
}

.template-hero__art,
.art-panel,
.media-panel {
  position: relative;
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 40px);
}

.template-media-host {
  position: relative;
  overflow: hidden;
}

.template-media-host > :not(.template-hero-asset) {
  position: relative;
  z-index: 1;
}

.template-hero-asset {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
  pointer-events: none;
}

.template-hero-asset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.template-hero-asset.is-backdrop {
  inset: auto clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem) auto;
  width: min(42vw, 520px);
  height: min(62vh, 520px);
  overflow: hidden;
  border: 1px solid var(--shell-line);
  border-radius: clamp(24px, 3vw, 34px);
  box-shadow: var(--shell-shadow);
  opacity: 0.94;
}

.template-hero-asset.is-soft {
  opacity: 0.82;
  mix-blend-mode: screen;
}

.media-panel::before,
.art-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 40%),
    linear-gradient(180deg, transparent, rgba(9, 11, 18, 0.12));
  pointer-events: none;
}

.booking-strip,
.info-strip,
.brand-strip {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--shell-line);
  border-radius: var(--shell-radius-lg);
  background: color-mix(in srgb, var(--shell-surface-strong) 84%, transparent);
  box-shadow: var(--shell-shadow);
}

.booking-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.booking-strip__cell {
  display: grid;
  gap: 0.32rem;
}

.booking-strip__cell span {
  color: var(--shell-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.booking-strip__cell strong {
  font-size: 1rem;
}

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

.faq-item {
  overflow: clip;
  padding: 0;
}

.faq-trigger {
  width: 100%;
  padding: 1.35rem 1.4rem;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-trigger::after {
  content: "+";
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--shell-accent) 14%, transparent);
  color: var(--shell-accent);
  font-size: 1.2rem;
}

.faq-item.is-open .faq-trigger::after {
  content: "−";
}

.faq-panel {
  padding: 0 1.4rem 1.4rem;
  color: var(--shell-muted);
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.contact-card {
  padding: 1.6rem;
}

.template-lead-form {
  margin: 0;
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field label,
.field span {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--shell-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--shell-surface-strong) 82%, transparent);
  color: var(--shell-ink);
  padding: 1rem 1.05rem;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field--full {
  grid-column: 1 / -1;
}

.contact-list,
.info-list,
.plain-list {
  display: grid;
  gap: 0.95rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list li,
.info-list li,
.plain-list li {
  color: var(--shell-muted);
  line-height: 1.7;
}

.contact-list strong,
.info-list strong,
.plain-list strong {
  display: block;
  color: var(--shell-ink);
  margin-bottom: 0.15rem;
}

.template-form-feedback {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid color-mix(in srgb, var(--shell-accent) 16%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--shell-accent) 10%, transparent);
  color: var(--shell-ink);
  line-height: 1.7;
}

.template-form-feedback[hidden] {
  display: none !important;
}

.template-visual-story {
  position: relative;
}

.template-visual-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
}

.template-visual-card {
  position: relative;
  grid-column: span 3;
  min-height: 240px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--shell-line);
  border-radius: clamp(24px, 3vw, 32px);
  background: color-mix(in srgb, var(--shell-surface-strong) 80%, transparent);
  box-shadow: var(--shell-shadow);
}

.template-visual-card.is-wide {
  grid-column: span 6;
}

.template-visual-card.is-tall {
  grid-row: span 2;
  min-height: 100%;
}

.template-visual-card.is-hero {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 100%;
}

.template-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-visual-card figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 1.2rem 1.25rem;
  background:
    linear-gradient(180deg, transparent, rgba(11, 14, 22, 0.88)),
    linear-gradient(180deg, transparent 20%, rgba(11, 14, 22, 0.38));
  color: #fff;
}

.template-visual-card figcaption span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
}

.template-visual-card figcaption strong {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.2;
}

.template-visual-card figcaption p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.template-footer {
  padding: 2rem 0 3rem;
}

.template-footer__inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  padding: 1.4rem;
  border: 1px solid var(--shell-line);
  border-radius: var(--shell-radius-lg);
  background: color-mix(in srgb, var(--shell-surface-strong) 88%, transparent);
  box-shadow: var(--shell-shadow);
}

.template-footer__inner p {
  margin: 0;
  color: var(--shell-muted);
  line-height: 1.8;
}

.template-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.template-footer__meta {
  display: grid;
  gap: 0.5rem;
  text-align: right;
}

.template-footer__meta span {
  color: var(--shell-muted);
}

.reveal {
  opacity: 1;
  transform: none;
}

body.motion-primed .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

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

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

[data-tabs] {
  display: grid;
  gap: 1.1rem;
}

[data-tab-list] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

[data-tab-button] {
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--shell-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--shell-surface-strong) 78%, transparent);
  color: var(--shell-muted);
  font-weight: 700;
}

[data-tab-button].is-active {
  background: var(--shell-accent);
  border-color: var(--shell-accent);
  color: #fff;
}

.pricing-switch {
  display: inline-flex;
  padding: 0.35rem;
  border: 1px solid var(--shell-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--shell-surface-strong) 76%, transparent);
}

.pricing-switch button {
  min-height: 40px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--shell-muted);
  font-weight: 700;
}

.pricing-switch button.is-active {
  background: var(--shell-accent);
  color: #fff;
}

.before-after {
  display: grid;
  gap: 1rem;
}

.before-after__stage {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--shell-line);
  border-radius: clamp(24px, 3vw, 36px);
  background: color-mix(in srgb, var(--shell-surface-strong) 74%, transparent);
}

.before-after__panel {
  position: absolute;
  inset: 0;
  padding: 1.4rem;
}

.before-after__panel.is-after {
  clip-path: inset(0 0 0 50%);
  border-left: 1px solid var(--shell-line);
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--shell-accent);
}

.before-after__handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--shell-accent) 44%, transparent);
  background: color-mix(in srgb, var(--shell-surface-strong) 88%, transparent);
  transform: translate(-50%, -50%);
  box-shadow: var(--shell-shadow);
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--shell-line);
}

.marquee__track {
  display: inline-flex;
  gap: 1.4rem;
  min-width: 100%;
  padding: 0.95rem 0;
  animation: marquee-scroll 22s linear infinite;
}

.marquee span {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shell-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

body.reduced-effects .marquee__track {
  animation: none;
}

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

@media (max-width: 1080px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .contact-grid,
  .template-footer__inner {
    grid-template-columns: 1fr;
  }

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

  .template-header__inner {
    grid-template-columns: auto auto auto 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .template-nav {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 1rem;
    border: 1px solid var(--shell-line);
    border-radius: 22px;
    background: color-mix(in srgb, var(--shell-bg) 92%, transparent);
    box-shadow: var(--shell-shadow);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
  }

  .template-header.menu-open .template-nav,
  .menu-open .template-nav {
    display: flex;
  }

  .template-header__cta {
    justify-self: end;
  }
}

@media (max-width: 820px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .contact-grid,
  .profile-grid,
  .pricing-grid,
  .gallery-grid,
  .listing-grid,
  .review-grid,
  .booking-strip,
  .template-visual-grid {
    grid-template-columns: 1fr;
  }

  .template-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .template-header__cta {
    display: none;
  }

  .template-back-link {
    min-height: 42px;
    padding-inline: 0.8rem;
    font-size: 0.82rem;
  }

  .template-brand span {
    font-size: 0.7rem;
  }

  .template-hero-asset.is-backdrop {
    width: calc(100% - 2rem);
    height: min(42vh, 320px);
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .template-visual-card,
  .template-visual-card.is-wide,
  .template-visual-card.is-tall,
  .template-visual-card.is-hero {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .template-footer__meta {
    text-align: left;
  }

  .section-title,
  .template-hero h1,
  .display-heading {
    font-size: clamp(2.15rem, 10vw, 3.6rem);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--shell-container), calc(100% - 1.2rem));
  }

  .template-back-link {
    padding-inline: 0.72rem;
  }

  .template-brand strong {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
  }
}
