:root {
  --bg: #d8d2c8;
  --paper: #f4eee5;
  --paper-strong: #ece4d8;
  --sand: #d1c3ae;
  --stone: #c6c6bf;
  --ink: #1f1a16;
  --soft-ink: #50473d;
  --muted: #786d62;
  --line: rgba(31, 26, 22, 0.14);
  --line-strong: rgba(31, 26, 22, 0.2);
  --white: #fbf7f0;
  --dark: #1f1a16;
  --dark-soft: #2a241f;
  --accent: #9d7545;
  --accent-soft: rgba(157, 117, 69, 0.14);
  --header-height: 76px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at top left, rgba(255, 249, 242, 0.88), transparent 26%),
    linear-gradient(180deg, #ddd6ca 0%, var(--bg) 48%, #d0cbc3 100%);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

h1,
h2 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.24;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(40px, 7vw, 84px);
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 4.8vw, 58px);
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  height: var(--header-height);
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0));
  transition:
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(244, 238, 229, 0.9);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  flex-shrink: 0;
}

.brand strong {
  font-size: 20px;
  font-weight: 400;
}

.nav {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex: 1;
}

.nav a {
  position: relative;
  padding-bottom: 3px;
  opacity: 0.9;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  flex-shrink: 0;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 94svh;
  overflow: hidden;
  place-items: end start;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero-home::after {
  background:
    linear-gradient(90deg, rgba(20, 18, 16, 0.82), rgba(20, 18, 16, 0.34) 58%, rgba(20, 18, 16, 0.08)),
    linear-gradient(0deg, rgba(20, 18, 16, 0.38), transparent 42%);
}

.hero-atelier::after {
  background:
    linear-gradient(90deg, rgba(19, 16, 13, 0.8), rgba(19, 16, 13, 0.3) 56%, rgba(19, 16, 13, 0.06)),
    linear-gradient(0deg, rgba(19, 16, 13, 0.34), transparent 46%);
}

.hero-invitation::after {
  background:
    linear-gradient(90deg, rgba(21, 17, 13, 0.82), rgba(21, 17, 13, 0.36) 54%, rgba(21, 17, 13, 0.1)),
    linear-gradient(0deg, rgba(21, 17, 13, 0.4), transparent 44%);
}

.hero-media,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-home .hero-image {
  object-position: center 58%;
}

.hero-atelier .hero-image {
  object-position: 56% center;
}

.hero-invitation .hero-image {
  object-position: center center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(840px, 100%);
  padding: calc(var(--header-height) + 76px) clamp(22px, 7vw, 94px) clamp(42px, 8vw, 90px);
  color: var(--white);
}

.eyebrow,
.section-kicker,
.pricing-label,
.calendar-title {
  margin-bottom: 18px;
  color: #dcc29f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(251, 247, 240, 0.84);
  font-size: clamp(16px, 1.8vw, 19px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button-light {
  color: var(--white);
}

.button-light:hover,
.header-cta:hover {
  color: var(--ink);
  background: rgba(251, 247, 240, 0.9);
}

.button-dark {
  width: 100%;
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.content-section {
  position: relative;
}

.section-paper {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(243, 238, 229, 0.96)),
    var(--paper);
}

.section-warm {
  background:
    radial-gradient(circle at top right, rgba(255, 249, 239, 0.64), transparent 30%),
    linear-gradient(180deg, rgba(220, 207, 186, 0.94), rgba(209, 195, 174, 0.92));
}

.section-stone {
  background:
    radial-gradient(circle at top left, rgba(255, 249, 242, 0.42), transparent 26%),
    linear-gradient(180deg, rgba(205, 205, 197, 0.96), rgba(198, 198, 191, 0.92));
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(169, 121, 66, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(31, 26, 22, 0.98), rgba(37, 31, 27, 0.98));
  color: var(--white);
}

.section-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(86px, 12vw, 156px) 0;
}

.section-inner.narrow {
  width: min(920px, calc(100% - 44px));
}

.question-grid,
.split-layout,
.contact-layout,
.pricing-layout {
  display: grid;
  gap: clamp(30px, 7vw, 92px);
}

.question-grid {
  grid-template-columns: 1fr 1fr;
  color: var(--soft-ink);
  font-size: clamp(15px, 1.5vw, 17px);
}

.thought-grid,
.method-grid,
.fit-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

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

.thought-card,
.method-card,
.fit-card,
.pricing-card {
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(251, 247, 240, 0.56);
}

.thought-card span,
.method-card span,
.fit-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.thought-card p,
.method-card p,
.split-copy p,
.contact-copy p,
.pricing-copy p,
.faq-item p,
.contact-message p,
.site-footer span {
  color: var(--soft-ink);
}

.bridge-copy p:not(.section-kicker),
.contact-message p {
  color: rgba(251, 247, 240, 0.76);
}

.split-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(86px, 12vw, 156px) 0;
}

.split-layout.reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 0.92fr);
}

.quote-panel {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  background: rgba(251, 247, 240, 0.42);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.7;
}

.quote-panel p {
  margin: 0;
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
}

.image-panel img {
  height: 100%;
  object-fit: cover;
}

.day-flow,
.faq-list,
.offer-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.day-flow {
  margin-top: 26px;
}

.day-flow div {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 18px;
  padding: 18px 0;
  background: rgba(251, 247, 240, 0.44);
}

.day-flow strong,
.application-points strong {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.day-flow span,
.application-points span {
  color: var(--soft-ink);
}

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

.fit-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  background: rgba(255, 247, 240, 0.14);
}

.fit-card {
  min-height: 236px;
  background: rgba(251, 247, 240, 0.06);
}

.fit-card h3 {
  color: var(--white);
}

.fit-card p {
  margin-bottom: 0;
  color: rgba(251, 247, 240, 0.74);
}

.cta-band {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 0;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 247, 240, 0.16);
}

.cta-band strong {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.55;
}

.pricing-layout {
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 0.9fr);
  align-items: center;
}

.pricing-card {
  border: 1px solid var(--line);
  background: rgba(251, 247, 240, 0.72);
  box-shadow: 0 18px 48px rgba(31, 26, 22, 0.07);
}

.pricing-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.2;
}

.pricing-card p {
  margin-bottom: 20px;
  color: var(--muted);
}

.pricing-list {
  padding-left: 18px;
  margin: 0;
  color: var(--soft-ink);
}

.pricing-copy {
  display: grid;
  gap: 18px;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.74fr);
  align-items: start;
  width: min(1140px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(86px, 12vw, 156px) 0;
}

.calendar-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(251, 247, 240, 0.52);
  margin-top: 30px;
}

.calendar-title {
  color: var(--accent);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.calendar-option {
  position: relative;
  display: block;
}

.calendar-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calendar-option span {
  display: block;
  padding: 12px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.84);
  text-align: center;
  font-size: 13px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.calendar-option input:checked + span,
.calendar-option span:hover {
  border-color: var(--accent);
  background: rgba(157, 117, 69, 0.12);
  color: var(--ink);
}

.invitation-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(251, 247, 240, 0.9);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(31, 26, 22, 0.08);
}

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

input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  line-height: 1.7;
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

.booking-note,
.form-note {
  margin: 0;
  font-size: 13px;
}

.booking-note {
  color: var(--muted);
}

.form-note {
  min-height: 22px;
  color: var(--accent);
}

.faq-item {
  background: rgba(251, 247, 240, 0.62);
  border: 1px solid transparent;
}

.faq-item summary {
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 22px 22px;
  margin-bottom: 0;
}

.faq-item[open] {
  border-color: var(--accent-soft);
}

.contact-message {
  text-align: left;
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 28px clamp(20px, 4vw, 54px);
  background: rgba(28, 24, 20, 0.98);
  color: rgba(251, 247, 240, 0.74);
  font-size: 12px;
}

.site-footer p,
.site-footer span {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 540ms ease,
    transform 540ms ease;
}

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

@media (max-width: 1080px) {
  .nav {
    display: none;
  }
}

@media (max-width: 960px) {
  .thought-grid,
  .method-grid,
  .fit-grid,
  .question-grid,
  .split-layout,
  .split-layout.reverse,
  .contact-layout,
  .pricing-layout,
  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .thought-card,
  .method-card,
  .fit-card,
  .pricing-card {
    min-height: auto;
  }

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

@media (max-width: 760px) {
  .site-header {
    height: 66px;
    padding-inline: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero-copy {
    padding: 126px 22px 36px;
  }

  .page-hero {
    min-height: 92svh;
  }

  .hero-home::after,
  .hero-atelier::after,
  .hero-invitation::after {
    background:
      linear-gradient(0deg, rgba(18, 15, 12, 0.82), rgba(18, 15, 12, 0.26) 70%, rgba(18, 15, 12, 0.1)),
      linear-gradient(90deg, rgba(18, 15, 12, 0.16), transparent);
  }

  .section-inner,
  .split-layout,
  .contact-layout {
    width: min(100% - 36px, 720px);
  }

  .day-flow div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 29px;
  }

  .brand strong {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .invitation-form,
  .calendar-card {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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