:root {
  color-scheme: light;
  --navy: #14292f;
  --navy-deep: #102228;
  --navy-light: #203b42;
  --ink: #1b2c30;
  --muted: #46575b;
  --ivory: #fbf8f0;
  --sand: #f0eadc;
  --gold: #edbe71;
  --ochre: #774719;
  --stroke: #d9d2c3;
  --display: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-family: var(--body);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
}

body:has(.preview-dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
figure, p, h1, h2 { margin: 0; }
button { font: inherit; }
section[id] { scroll-margin-block-start: 1rem; }

:focus-visible {
  outline: 3px solid #bf7533;
  outline-offset: 5px;
}

.masthead :focus-visible,
.hero-shell :focus-visible,
.order-section :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

.wrap {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.85rem;
  transform: translateY(-200%);
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.masthead, .hero-shell, .site-footer {
  background: var(--navy);
  color: var(--ivory);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 84px;
  border-bottom: 1px solid #92a59f3d;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 1.23rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark strong { font-weight: 700; }

.wordmark-sign {
  position: relative;
  width: 24px;
  height: 25px;
  border: 1px solid var(--gold);
}

.wordmark-sign::before, .wordmark-sign::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 1px;
  background: var(--gold);
  transform-origin: top center;
}

.wordmark-sign::before { left: 7px; transform: rotate(-14deg); }
.wordmark-sign::after { right: 7px; transform: rotate(14deg); }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3.2vw, 2.65rem); }

.site-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a:hover { color: var(--gold); }

.nav-buy {
  padding: 0.46rem 1rem;
  border: 1px solid #b39a6a;
  border-radius: 3px;
  color: var(--gold);
}

.nav-buy:hover { background: #edbe7112; }

.hero {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4.6rem);
  padding-block: clamp(2.5rem, 4.3vw, 4.25rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ochre);
}

.rule {
  width: 23px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.hero .eyebrow, .order-section .eyebrow { color: var(--gold); }

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(3.3rem, 5.3vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h1 em {
  display: inline-block;
  color: var(--gold);
  font-weight: 400;
}

.hero-intro {
  max-width: 32rem;
  margin-top: 1.18rem;
  color: #dce8e4;
  font-size: clamp(1.04rem, 2vw, 1.21rem);
  line-height: 1.58;
}

.hero-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 51px;
  justify-content: center;
  align-items: center;
  padding: 0.68rem 1.28rem;
  border-radius: 3px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button-gold { background: var(--gold); color: var(--navy-deep); }
.button-gold:hover { background: #ffcf86; }
.button-gold:active { transform: translateY(1px); }

.hero-price { line-height: 1.2; }

.hero-price span {
  display: block;
  color: var(--ivory);
  font-size: 1.1rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.hero-price small, .hero-details {
  color: #ccdbd7;
  font-size: 0.9rem;
}

.hero-price small { display: block; margin-top: 0.2rem; }

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-details li + li::before {
  content: "·";
  margin-right: 1.2rem;
  color: var(--gold);
}

.hero-details strong { color: var(--ivory); }

.hero-visual {
  display: grid;
  min-width: 0;
  position: relative;
  isolation: isolate;
  place-items: center;
  padding: 1.5rem 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid #adbbac44;
  background:
    linear-gradient(140deg, #33545b66, transparent 75%),
    repeating-linear-gradient(0deg, transparent 0 26px, #d6decc18 26px 27px),
    repeating-linear-gradient(90deg, transparent 0 26px, #d6decc18 26px 27px),
    var(--navy-light);
}

.hero-visual::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid #adbbac34;
}

.book {
  width: min(70%, 306px);
  position: relative;
  transform: rotate(2deg);
  box-shadow: 18px 22px 34px #061216a1;
}

.book::after {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 2px;
  left: 100%;
  width: 8px;
  transform: skewY(-20deg);
  transform-origin: left;
  border-right: 1px solid #9f9175;
  background: repeating-linear-gradient(90deg, #d7cdb3 0 1px, #f3e9cb 1px 2px);
}

.book img {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 905;
  object-fit: contain;
  background: var(--navy-deep);
}

.sample-section { padding-block: clamp(4rem, 8vw, 7rem); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 1.55rem;
  margin-bottom: 2.35rem;
}

h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading > p {
  color: var(--muted);
  max-width: 25rem;
  padding-bottom: 0.15rem;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 2.05vw, 1.8rem);
}

.sample-link { display: block; text-decoration: none; }

.sample-image {
  display: block;
  overflow: hidden;
  padding: clamp(0.65rem, 2.6vw, 2rem);
  border: 1px solid #e2daca;
  background: var(--sand);
  transition: background-color 180ms ease;
}

.sample-link:hover .sample-image { background: #e6ddcb; }

.sample-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 850 / 1202;
  object-fit: contain;
  background-color: #fff;
  box-shadow: 0 5px 16px #2533322b;
}

.sample-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 0.35rem;
  border-bottom: 1px solid var(--stroke);
  font-size: clamp(0.92rem, 1.7vw, 1.07rem);
  font-weight: 700;
  line-height: 1.3;
}

.expand-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  position: relative;
  border: 1px solid #b7ac97;
  border-radius: 50%;
  transition: background-color 150ms ease;
}

.expand-icon::before, .expand-icon::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  left: calc(50% - 4.5px);
  width: 9px;
  height: 1px;
  background: var(--ink);
}

.expand-icon::after { transform: rotate(90deg); }
.sample-link:hover .expand-icon { background: var(--gold); }

.contents-section {
  padding-block: clamp(4rem, 7.2vw, 6.5rem);
  background: #eee8d9;
  border-block: 1px solid #e2d8c3;
}

.contents-layout {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6.1rem);
}

.workshop {
  border: 1px solid #645f3f49;
  background: #d6ceba;
}

.workshop img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.content-list { margin: 1.6rem 0 0; }

.content-list > div {
  padding: 0.88rem 0;
  border-top: 1px solid #cec4ac;
}

.content-list > div:last-child { padding-bottom: 0; }
.content-list dt { font-weight: 750; }
.content-list dd { margin: 0.14rem 0 0; color: var(--muted); }

.order-section {
  background: var(--navy-deep);
  color: var(--ivory);
  padding-block: clamp(3.6rem, 7vw, 6rem);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.42fr);
  width: min(100%, 995px);
  margin-inline: auto;
  align-items: center;
  gap: 2rem clamp(2rem, 7vw, 6rem);
}

.order-copy h2 { max-width: 15ch; }
.order-copy > p:last-child { max-width: 33rem; margin-top: 1rem; color: #dce8e4; }

.order-action {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 139px;
  padding-left: 1.8rem;
  border-left: 1px solid #a3b2ab63;
}

.order-price {
  font-family: var(--display);
  font-size: clamp(2.15rem, 4.1vw, 3.5rem);
  line-height: 1;
  color: var(--gold);
}

.order-note { margin: 0.42rem 0 0.8rem; color: #dce8e4; font-size: 0.94rem; }
.checkout-status { max-width: 17rem; color: var(--ivory); }

.faq-section { padding-block: clamp(4rem, 8vw, 6.6rem); }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.67fr) minmax(0, 1.2fr);
  gap: 1.65rem clamp(2rem, 8vw, 7rem);
}

.faq-list { border-top: 1px solid var(--stroke); }
.faq-list details { border-bottom: 1px solid var(--stroke); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  min-height: 55px;
  padding: 0.85rem 0;
  font-weight: 720;
  line-height: 1.35;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--ochre); }

.faq-list summary::after {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  background: linear-gradient(var(--ochre), var(--ochre)) center / 100% 1px no-repeat,
    linear-gradient(var(--ochre), var(--ochre)) center / 1px 100% no-repeat;
}

.faq-list details[open] summary::after { background-size: 100% 1px, 0 0; }
.faq-list details p { padding: 0 2rem 1rem 0; color: var(--muted); }

.site-footer { border-top: 1px solid #b89a64; }

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem 1rem;
  min-height: 78px;
  padding-block: 0.65rem;
}

.footer-layout > span { color: #ccdbd7; font-size: 0.89rem; }

.preview-dialog {
  width: min(810px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid #9f9c8b;
  background: var(--ivory);
  color: var(--ink);
}

.preview-dialog::backdrop { background: #081b20df; }

.preview-top {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--stroke);
  background: var(--ivory);
}

.preview-top h2 {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
}

.dialog-close {
  min-height: 38px;
  padding: 0.3rem 0.7rem;
  border: 1px solid #b9ad98;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.dialog-close:hover { background: var(--sand); }
.preview-image { width: 100%; height: auto; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: clamp(1.5rem, 4.6vw, 3rem); min-height: 0; }
  h1 { font-size: clamp(2.9rem, 6.7vw, 4rem); }
}

@media (max-width: 690px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 65px; gap: 1rem; }
  .site-nav .nav-detail { display: none; }
  .hero, .section-heading, .contents-layout, .order-layout, .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero { gap: 2.1rem; padding-block: 2.55rem 2rem; }
  .hero-visual { padding-block: 1.25rem; }
  h1 { font-size: clamp(2.63rem, 9.2vw, 4rem); max-width: 15ch; }
  .hero-intro { margin-top: 1.1rem; }
  .hero-action { margin-top: 1.3rem; }
  .hero-details { margin-top: 1.04rem; }
  .book { width: min(60%, 234px); }
  .section-heading { gap: 0.75rem; margin-bottom: 1.55rem; }
  .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 0.75rem; }
  .sample-caption { min-height: 48px; }
  .contents-copy { grid-row: 1; }
  .workshop img { aspect-ratio: 5 / 3; }
  .order-action { padding: 1.18rem 0 0; min-height: 0; border: 0; border-top: 1px solid #a3b2ab63; }
}

@media (max-width: 355px) {
  .wrap { width: calc(100% - 32px); }
  .sample-grid { grid-template-columns: 1fr; }
  .hero-details li + li::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
