:root {
  --radius: 24px;
  --font-body: "Zen Kaku Gothic New", sans-serif;
  --font-display: "Shippori Mincho", serif;
}

body[data-theme="light"] {
  --ink: #1d1b16;
  --clay: #f7f1e8;
  --crimson: #c9473a;
  --sage: #9aa08a;
  --indigo: #2b3645;
  --paper: #fdfaf5;
  --sunrise: #f6bfa6;
  --shadow: rgba(23, 24, 26, 0.15);
  --background: linear-gradient(180deg, #fff4eb 0%, #fbf7f1 45%, #f7f0e5 100%);
  --panel: #ffffff;
  --card: #fff8f1;
}

body[data-theme="dark"] {
  --ink: #f6efe6;
  --clay: #1a1d20;
  --crimson: #ff8a7b;
  --sage: #9fb2a1;
  --indigo: #e8e2d8;
  --paper: #0f1216;
  --sunrise: #ffb28c;
  --shadow: rgba(10, 12, 15, 0.5);
  --background: radial-gradient(circle at top, #222631 0%, #0f1216 70%);
  --panel: #141821;
  --card: #1e232c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--ink);
  line-height: 1.6;
}

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

button,
input {
  font-family: inherit;
}

.paper-texture {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.8), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cpath d='M0 30h140M0 70h140M0 110h140' stroke='%23e7ddd1' stroke-width='1' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.hero {
  padding: 40px 7vw 80px;
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
}

.nav__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  gap: 20px;
  font-weight: 500;
}

.nav__cta {
  border: 1px solid var(--ink);
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle {
  border: 1px solid var(--ink);
  background: var(--panel);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px var(--shadow);
}

.nav__cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.1;
  margin: 12px 0 20px;
}

.hero__eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--indigo);
  font-weight: 600;
}

.hero__lead {
  font-size: 1.1rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin: 24px 0 32px;
}

.button {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button--primary {
  background: var(--crimson);
  color: var(--paper);
  box-shadow: 0 10px 20px rgba(201, 71, 58, 0.25);
}

.button--ghost {
  border: 1px solid var(--ink);
  background: transparent;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px var(--shadow);
}

.hero__stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.stat {
  font-family: var(--font-display);
  font-size: 2rem;
}

.stat__label {
  display: block;
  font-size: 0.9rem;
  color: rgba(29, 27, 22, 0.7);
}

.hero__visual {
  position: relative;
  min-height: 360px;
  background: linear-gradient(150deg, var(--card), var(--panel) 60%, var(--paper));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(43, 54, 69, 0.15);
  animation: floatIn 1.2s ease;
}

.sun {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, #fdf2c5 0%, #f6bfa6 70%, #d97762 100%);
  top: -40px;
  right: -20px;
}

.temple {
  position: absolute;
  bottom: 40px;
  left: 50px;
  width: 240px;
  height: 140px;
  background: var(--indigo);
  clip-path: polygon(0 80%, 100% 80%, 100% 100%, 0 100%);
  box-shadow: 0 -16px 0 #9c4a3e, 0 -36px 0 #d9a18c;
}

.temple::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 60px;
  background: #c9473a;
  top: -50px;
  left: -10px;
  clip-path: polygon(0 100%, 100% 100%, 90% 0, 10% 0);
}

.lanterns {
  position: absolute;
  top: 70px;
  left: 40px;
  display: flex;
  gap: 16px;
}

.lanterns span {
  width: 30px;
  height: 40px;
  border-radius: 999px;
  background: #ffebcf;
  box-shadow: 0 0 20px rgba(255, 184, 107, 0.7);
  animation: sway 2.4s ease-in-out infinite;
}

.lanterns span:nth-child(2) {
  animation-delay: 0.4s;
}

.lanterns span:nth-child(3) {
  animation-delay: 0.8s;
}

.mist {
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 246, 242, 0.9) 80%);
}

.section {
  padding: 80px 7vw;
}

.section__header {
  max-width: 640px;
  margin-bottom: 40px;
}

.section__kicker {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--crimson);
  font-weight: 600;
  margin-bottom: 12px;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.section__copy {
  color: rgba(29, 27, 22, 0.75);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.highlight-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(43, 54, 69, 0.1);
  display: grid;
  gap: 12px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(201, 71, 58, 0.08);
}

.highlight-card:hover {
  transform: translateY(-6px);
}

.text-link {
  border: none;
  background: transparent;
  color: var(--crimson);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.experience-card {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--card), var(--clay));
  border: 1px solid rgba(43, 54, 69, 0.08);
  display: grid;
  gap: 12px;
}

.experience-card::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--sunrise);
  border-radius: 999px;
  margin-top: 6px;
}

.tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--indigo);
  font-weight: 600;
}

.section--plan {
  padding-top: 40px;
}

.section--gallery {
  padding-top: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.gallery-card {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(43, 54, 69, 0.12);
  display: grid;
  gap: 12px;
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
}

.gallery-card__art {
  height: 180px;
  background: linear-gradient(120deg, rgba(201, 71, 58, 0.6), rgba(246, 191, 166, 0.6)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='160' viewBox='0 0 220 160'%3E%3Cpath d='M20 120c30-10 60-10 90 0s60 10 90 0' stroke='%23ffffff' stroke-width='4' fill='none' opacity='0.5'/%3E%3Ccircle cx='160' cy='50' r='24' fill='%23ffffff' opacity='0.35'/%3E%3C/svg%3E");
  background-size: cover;
}

.gallery-card figcaption {
  padding: 18px 20px 22px;
  display: grid;
  gap: 8px;
}

.plan-card {
  background: linear-gradient(120deg, #2b3645, #1a2029);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  box-shadow: 0 24px 50px rgba(16, 20, 27, 0.25);
}

.plan-form {
  display: grid;
  gap: 16px;
}

.plan-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.plan-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
}

.plan-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer {
  padding: 40px 7vw 60px;
  display: grid;
  gap: 20px;
  background: var(--clay);
  color: var(--indigo);
}

.footer__links {
  display: flex;
  gap: 16px;
  font-weight: 500;
}

.footer__note {
  font-size: 0.85rem;
  color: rgba(43, 54, 69, 0.6);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sway {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav__links {
    width: 100%;
    justify-content: space-between;
  }

  .nav__actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .plan-card {
    padding: 32px;
  }

  .footer {
    text-align: center;
  }

  .footer__links {
    justify-content: center;
    flex-wrap: wrap;
  }
}
