:root {
  --bg: #2761c4;
  --paper: rgba(223, 238, 251, 0.96);
  --paper-strong: rgba(232, 244, 253, 0.98);
  --ink: #241812;
  --muted: #665447;
  --accent: #7d1f19;
  --accent-soft: rgba(125, 31, 25, 0.12);
  --border: rgba(36, 24, 18, 0.14);
  --shadow: 0 24px 60px rgba(36, 24, 18, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #2761c4;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, serif;
  background: #2761c4;
}

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

a {
  color: inherit;
}

code {
  font-size: 0.95em;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.site-header,
.content-card,
.hero-panel,
.site-footer,
.page-links {
  backdrop-filter: blur(4px);
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.1rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.brand-mark {
  width: min(100%, 712px);
  margin: 0 auto;
  padding: 0.35rem;
  border-radius: calc(var(--radius-md) + 6px);
  background: transparent;
  transform: translateX(-136px);
}

.brand-mark img {
  width: 100%;
  border-radius: 18px;
}

.content-card h2,
.hero-copy h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.eyebrow,
.section-tag,
.carousel-caption,
.site-footer p:first-child {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.section-tag {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.nav-link,
.action-button,
.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.nav-link {
  border: 1px solid var(--border);
  background: rgba(239, 246, 252, 0.92);
}

.nav-link[aria-current="page"] {
  background: var(--ink);
  color: #f8f3ea;
  border-color: var(--ink);
}

main {
  display: grid;
  gap: 1.5rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 44%);
  gap: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #dcecf9;
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-figure {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(0.4rem, 1.2vw, 1rem);
}

.hero-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.45vw, 1.42rem);
  line-height: 1.75;
  text-indent: 1.5em;
}

.hero-copy p + p {
  margin-top: 1rem;
}

.button-row,
.page-links,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button-row {
  margin-top: 1.4rem;
}

.action-button {
  background: var(--accent);
  color: #fff8f2;
  border: 1px solid transparent;
  box-shadow: 0 14px 30px rgba(125, 31, 25, 0.18);
}

.action-button-secondary {
  background: rgba(236, 245, 252, 0.96);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: none;
}

.hero-figure {
  margin: 0;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background: #ddd2c2;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
}

.page-home .home-story-band p,
.page-home .home-feature-copy p {
  margin: 0;
  color: var(--ink);
}

.page-home .home-story-band p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: clamp(1.24rem, 1.8vw, 1.58rem);
  line-height: 1.8;
  text-align: center;
}

.page-home .home-story-band-compact p {
  max-width: 54ch;
  font-size: clamp(1.14rem, 1.5vw, 1.34rem);
}

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

.page-home .home-image-card,
.page-home .home-feature-figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
  background: #ddd2c2;
}

.page-home .home-image-card img,
.page-home .home-feature-figure img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.page-home .home-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 43%);
  gap: 1.25rem;
  align-items: center;
}

.page-home .home-feature-copy {
  display: flex;
  align-items: center;
}

.page-home .home-feature-copy p {
  font-size: clamp(1.18rem, 1.45vw, 1.42rem);
  line-height: 1.75;
}

.info-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.content-card {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.content-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.85rem;
}

.content-card p,
.content-card li,
.detail-list dd {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.detail-list {
  margin: 0;
}

.detail-list div + div {
  margin-top: 1rem;
}

.detail-list dt {
  margin-bottom: 0.18rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.62;
}

.page-home .info-grid .detail-list dt {
  font-size: 1.02rem;
}

.page-home .info-grid .detail-list dd {
  font-size: 1.3rem;
  line-height: 1.55;
}

.map-card {
  display: flex;
  flex-direction: column;
}

.map-link {
  display: grid;
  gap: 0.9rem;
  margin-top: auto;
  text-decoration: none;
}

.map-frame {
  display: block;
}

.map-link img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(36, 24, 18, 0.12);
}

.map-link-note {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.4;
  text-align: center;
}

.social-card p {
  max-width: 72ch;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  padding: 0;
  border-radius: 50%;
  border: 0;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(36, 24, 18, 0.08);
}

.social-icon-link-disabled {
  opacity: 0.68;
}

.social-icon-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-icon-facebook {
  background: #1877f2;
}

.social-icon-youtube {
  background: #ff0000;
}

.social-icon-tiktok {
  background: #111111;
}

.social-icon-link svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon-fill {
  fill: currentColor;
  stroke: none;
}

.narrative-card h2 {
  max-width: 22ch;
}

.page-links {
  justify-content: center;
  padding: 0.25rem 0 0.5rem;
}

.intro-card {
  text-align: center;
}

.intro-card p {
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.carousel-card {
  padding: 1.1rem;
}

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

.carousel-stage {
  position: relative;
  overflow: hidden;
  width: min(100%, 1080px);
  margin: 0 auto;
  min-height: 280px;
  max-height: 68vh;
  border-radius: calc(var(--radius-lg) - 4px);
  background: rgba(36, 24, 18, 0.92);
  aspect-ratio: 16 / 9.2;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 248, 242, 0.84);
  color: var(--ink);
  cursor: pointer;
}

.carousel-arrow-left {
  left: 1rem;
}

.carousel-arrow-right {
  right: 1rem;
}

.carousel-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  width: min(100%, 1080px);
  margin: 0 auto;
}

.carousel-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.carousel-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  align-items: center;
}

.carousel-toggle {
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(236, 245, 252, 0.96);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.carousel-toggle.is-paused {
  background: var(--accent);
  color: #fff8f2;
  border-color: var(--accent);
}

.carousel-dot {
  width: 0.85rem;
  height: 0.85rem;
  border: 0;
  border-radius: 50%;
  background: rgba(36, 24, 18, 0.22);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--accent);
}

.price-card,
.spotlight-card {
  min-height: 100%;
}

.price-line {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 2rem;
}

.feature-list,
.instruction-list {
  margin: 0;
  padding-left: 1.2rem;
}

.feature-list li + li,
.instruction-list li + li {
  margin-top: 0.9rem;
}

.content-card p.notice-line {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: #215f98;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-panel,
  .info-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    position: static;
    width: 100%;
    margin-top: 0;
    justify-content: center;
  }

  .brand-mark {
    width: min(100%, 680px);
    margin: 0 auto;
    transform: none;
  }

  .hero-copy h2 {
    max-width: none;
  }

  .page-home .home-image-pair,
  .page-home .home-feature-card {
    grid-template-columns: 1fr;
  }

  .carousel-meta {
    justify-content: center;
  }

  .carousel-caption,
  .carousel-controls {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .carousel-stage {
    max-height: none;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 0.75rem), var(--max-width));
    padding-top: 0.5rem;
  }

  .site-header,
  .content-card,
  .hero-panel,
  .site-footer,
  .page-links {
    padding: 1rem;
    border-radius: 22px;
  }

  .site-header {
    gap: 0.75rem;
  }

  .brand-mark {
    width: 100%;
    padding: 0.15rem;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
  }

  .nav-link,
  .action-button,
  .social-pill {
    width: 100%;
  }

  .content-card h2 {
    line-height: 1.05;
  }

  .detail-list dt {
    font-size: 0.86rem;
  }

  .content-card li,
  .detail-list dd {
    line-height: 1.65;
  }

  .page-home .home-story-band p {
    font-size: 1.08rem;
    line-height: 1.7;
  }

  .carousel-arrow {
    width: 2.7rem;
    height: 2.7rem;
  }

  .carousel-arrow-left {
    left: 0.6rem;
  }

  .carousel-arrow-right {
    right: 0.6rem;
  }

  .carousel-stage {
    min-height: 220px;
  }

  .carousel-toggle {
    width: 100%;
  }

  .carousel-dots,
  .social-row {
    justify-content: center;
  }

  .social-icon-link {
    width: 3rem;
    height: 3rem;
  }

  .page-home .home-image-card img,
  .page-home .home-feature-figure img {
    height: 220px;
  }

  .page-home .info-grid .detail-list dd {
    font-size: 1.15rem;
    line-height: 1.5;
  }

  .feature-list,
  .instruction-list {
    padding-left: 1rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
