:root {
  color-scheme: light;
  --paper: #f8f3ea;
  --surface: #fffaf2;
  --ink: #181418;
  --soft-ink: #5e5660;
  --muted: #8a7e78;
  --line: #e4d8c9;
  --rose: #7a3f52;
  --tea: #59786d;
  --gold: #bd8f4f;
  --charcoal: #161316;
  --shadow: 0 16px 36px rgba(31, 25, 22, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  color: var(--surface);
  background: rgba(22, 19, 22, 0.72);
  border-bottom: 1px solid rgba(255, 250, 242, 0.14);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.header-actions,
.language-toggle,
.hero-actions,
.cart-total,
footer,
footer div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  white-space: nowrap;
}

.brand-mark {
  width: 20px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(255, 250, 242, 0.3), rgba(189, 143, 79, 0.16));
}

nav {
  gap: clamp(14px, 3vw, 30px);
  color: rgba(255, 250, 242, 0.82);
  font-size: 0.92rem;
}

nav a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

nav a:hover {
  color: #ffffff;
}

.header-actions {
  gap: clamp(14px, 3vw, 28px);
}

.language-toggle {
  min-height: 34px;
  padding: 3px;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.08);
}

.language-option {
  min-width: 46px;
  min-height: 28px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  background: transparent;
  color: rgba(255, 250, 242, 0.76);
  cursor: pointer;
}

.language-option.active {
  background: var(--surface);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: end;
  padding: 118px clamp(20px, 7vw, 96px) 12vh;
  overflow: hidden;
}

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

.hero img {
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 10, 12, 0.18), rgba(12, 10, 12, 0.76) 54%, rgba(12, 10, 12, 0.92)),
    linear-gradient(0deg, rgba(12, 10, 12, 0.78), rgba(12, 10, 12, 0.06) 54%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-left: auto;
  color: var(--surface);
}

.eyebrow,
.panel-label,
.service-card > p,
.product-card > p {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  max-width: 11ch;
  font-size: 5.2rem;
}

h1 span {
  display: block;
  margin-top: 8px;
  font-size: 2.25rem;
}

h2 {
  max-width: 720px;
  font-size: 3.05rem;
}

h3 {
  font-size: 1.42rem;
}

.hero-copy > p:last-of-type,
.section-intro p:last-child,
.booking-copy p:last-child {
  max-width: 58ch;
  color: rgba(255, 250, 242, 0.78);
  font-size: 1.05rem;
}

.section-intro p:last-child,
.booking-copy p:last-child {
  color: var(--soft-ink);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.button.primary {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
  font-weight: 760;
}

.hero .button.primary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--surface);
}

.hero .button.secondary {
  border-color: rgba(255, 250, 242, 0.34);
  color: var(--surface);
  background: rgba(255, 250, 242, 0.08);
}

.button.secondary,
.button.ghost,
.card-button,
.product-button {
  background: rgba(24, 20, 24, 0.03);
}

.button.wide {
  width: 100%;
}

.icon {
  position: relative;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: inline-block;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid currentColor;
}

.calendar::before,
.book::before,
.bag::before {
  border-radius: 3px;
}

.calendar::after {
  top: 0;
  left: 5px;
  right: 5px;
  height: 5px;
  border-width: 0 2px;
}

.spark::before {
  inset: 1px 7px;
  border-width: 0 2px;
}

.spark::after {
  inset: 7px 1px;
  border-width: 2px 0 0;
}

.refresh::before {
  border-radius: 50%;
  border-left-color: transparent;
}

.book::after {
  left: 8px;
  right: auto;
  border-width: 0 0 0 2px;
}

.bag::after {
  top: 0;
  left: 5px;
  right: 5px;
  height: 8px;
  border-width: 2px 2px 0;
  border-radius: 8px 8px 0 0;
}

.lock::before {
  top: 8px;
  border-radius: 3px;
}

.lock::after {
  top: 1px;
  left: 5px;
  right: 5px;
  bottom: 8px;
  border-radius: 8px 8px 0 0;
  border-bottom: 0;
}

.send::before {
  transform: rotate(45deg);
  border-left: 0;
  border-bottom: 0;
}

.send::after {
  inset: 8px 2px 8px 4px;
  border-width: 2px 0 0;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.quick-strip div {
  min-height: 100px;
  padding: 24px clamp(18px, 4vw, 58px);
  border-right: 1px solid var(--line);
}

.quick-strip div:last-child {
  border-right: 0;
}

.quick-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-strip strong {
  display: block;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
}

section:not(.hero):not(.quick-strip) {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 7vw, 96px);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

.draw-section,
.learn-section {
  background: var(--paper);
}

.readings-section,
.shop-section {
  background: #f1e8dc;
}

.draw-layout,
.shop-layout,
.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: stretch;
}

.deck-stage {
  min-height: 340px;
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 150px));
  justify-content: center;
  align-content: center;
  gap: clamp(10px, 3vw, 24px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.tarot-card {
  aspect-ratio: 2 / 3.18;
  border: 1px solid #d2bd9d;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.2), transparent),
    linear-gradient(160deg, #7a3f52, #59786d);
  box-shadow: 0 12px 28px rgba(40, 30, 22, 0.14);
  cursor: pointer;
}

.tarot-card span {
  width: 50%;
  aspect-ratio: 1;
  display: block;
  margin: 48% auto 0;
  border: 1px solid rgba(255, 250, 242, 0.72);
  border-radius: 50%;
}

.tarot-card.revealed {
  background:
    radial-gradient(circle at 50% 30%, rgba(189, 143, 79, 0.34), transparent 27%),
    linear-gradient(180deg, #fff5df, #d8b46f);
}

.reading-panel,
.lesson-panel,
.cart-panel,
.booking-form,
.service-card,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.reading-panel,
.lesson-panel,
.cart-panel,
.booking-form {
  padding: clamp(22px, 4vw, 34px);
}

.reading-panel {
  display: grid;
  align-content: center;
}

.reading-panel p:not(.panel-label),
.lesson-panel p:not(.panel-label) {
  color: var(--soft-ink);
}

.service-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card,
.product-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.service-card.featured {
  border-color: rgba(122, 63, 82, 0.4);
  background: #fff7ec;
}

.service-card span,
.product-card span {
  margin-top: 12px;
  color: var(--tea);
  font-weight: 800;
}

.service-card ul {
  flex: 1;
  margin: 22px 0;
  padding-left: 18px;
  color: var(--soft-ink);
}

.service-card li + li {
  margin-top: 8px;
}

.card-button,
.product-button {
  width: 100%;
}

.lesson-tabs {
  width: min(100%, 680px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--soft-ink);
  cursor: pointer;
}

.tab.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--surface);
}

.lesson-panel {
  max-width: 900px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.lesson-panel > div {
  max-width: 620px;
}

.product-card {
  min-height: 330px;
  gap: 10px;
}

.product-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  border: 1px solid var(--line);
  margin-bottom: 8px;
}

.product-art.dawn {
  background:
    linear-gradient(90deg, transparent 46%, rgba(24, 20, 24, 0.18) 47% 53%, transparent 54%),
    linear-gradient(135deg, #d9b978, #89a69b 52%, #7a3f52);
}

.product-art.velvet {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 250, 242, 0.38), transparent 18%),
    linear-gradient(140deg, #211a20, #7a3f52);
}

.product-art.field {
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.34), transparent 44%),
    linear-gradient(140deg, #59786d, #c8d0b7 48%, #7a3f52);
}

.cart-panel {
  align-self: start;
  position: sticky;
  top: 86px;
}

.cart-panel ul {
  min-height: 100px;
  margin: 14px 0 24px;
  padding: 0;
  list-style: none;
  color: var(--soft-ink);
}

.cart-panel li + li {
  margin-top: 8px;
}

.cart-total {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 18px;
}

.booking-section {
  background: #f8f3ea;
}

.booking-copy {
  align-self: center;
}

.booking-copy h2 {
  max-width: 11ch;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fffdf9;
  color: var(--ink);
  outline: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 143, 79, 0.16);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--tea);
}

footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 7vw, 96px);
  background: var(--charcoal);
  color: rgba(255, 250, 242, 0.76);
}

footer p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

footer div {
  gap: 18px;
}

.subpage {
  background: var(--paper);
}

.subpage .site-header {
  color: var(--surface);
}

.subpage-hero {
  min-height: 76vh;
  display: grid;
  align-content: end;
  padding: 132px clamp(20px, 7vw, 96px) clamp(64px, 8vw, 104px);
  background:
    linear-gradient(90deg, rgba(22, 19, 22, 0.86), rgba(22, 19, 22, 0.28)),
    linear-gradient(135deg, #2c2528, #7a3f52 52%, #bd8f4f);
  color: var(--surface);
}

.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 22px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.9rem;
}

.subpage-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.subpage-hero > p:last-of-type {
  max-width: 650px;
  color: rgba(255, 250, 242, 0.8);
  font-size: 1.08rem;
}

.subpage-hero .button.primary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--surface);
}

.subpage-hero .button.secondary,
.page-cta .button.secondary {
  border-color: rgba(255, 250, 242, 0.32);
  color: var(--surface);
  background: rgba(255, 250, 242, 0.08);
}

.content-band {
  background: var(--paper);
}

.content-band.muted-band {
  background: #f1e8dc;
}

.concept-grid,
.faq-grid,
.spread-demo {
  display: grid;
  gap: 16px;
}

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

.faq-grid,
.spread-demo {
  grid-template-columns: repeat(3, 1fr);
}

.concept-grid article,
.faq-grid article,
.spread-demo article,
.fact-list p {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.concept-grid article,
.faq-grid article,
.spread-demo article {
  min-height: 220px;
  padding: 24px;
}

.concept-grid span,
.spread-demo span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 800;
}

.concept-grid p,
.faq-grid p,
.spread-demo p,
.page-cta p:not(.eyebrow) {
  color: var(--soft-ink);
}

.fact-list {
  display: grid;
  gap: 10px;
  max-width: 940px;
}

.fact-list p {
  margin: 0;
  padding: 18px 20px;
}

.spread-demo article {
  position: relative;
  overflow: hidden;
}

.spread-demo article::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 64px;
  border: 1px solid rgba(189, 143, 79, 0.42);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(122, 63, 82, 0.12), rgba(89, 120, 109, 0.16));
}

.page-cta {
  background: var(--charcoal);
  color: var(--surface);
}

.page-cta h2 {
  max-width: 920px;
}

.page-cta p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 250, 242, 0.76);
}

.about-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.about-hero h1 {
  max-width: 760px;
}

.profile-panel {
  margin: 0;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 250, 242, 0.08);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18);
}

.profile-panel img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.profile-panel figcaption {
  display: grid;
  gap: 3px;
  padding: 18px;
  background: rgba(22, 19, 22, 0.72);
}

.profile-panel strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 500;
}

.profile-panel span {
  color: rgba(255, 250, 242, 0.72);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.about-story p:last-child {
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.08rem;
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.about-card-grid article,
.highlight-grid article,
.timeline-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-card-grid article {
  min-height: 230px;
  padding: 24px;
}

.highlight-grid article {
  min-height: 240px;
  padding: 24px;
}

.highlight-grid span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--gold);
  font-weight: 800;
}

.about-card-grid p,
.highlight-grid p,
.timeline-list p {
  color: var(--soft-ink);
}

.bio-essay {
  max-width: 980px;
  display: grid;
  gap: 18px;
}

.bio-essay.short {
  max-width: 820px;
}

.bio-essay p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.04rem;
}

.timeline-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

.timeline-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
}

.timeline-list span {
  color: var(--gold);
  font-weight: 800;
}

.timeline-list p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .header-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 86vh;
    padding-top: 150px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(12, 10, 12, 0.88), rgba(12, 10, 12, 0.1) 62%),
      linear-gradient(90deg, rgba(12, 10, 12, 0.28), rgba(12, 10, 12, 0.58));
  }

  .hero-copy {
    margin-left: 0;
  }

  h1 {
    font-size: 4rem;
  }

  h1 span {
    font-size: 2rem;
  }

  .quick-strip,
  .draw-layout,
  .shop-layout,
  .booking-section,
  .service-grid,
  .product-grid,
  .concept-grid,
  .faq-grid,
  .spread-demo,
  .about-hero,
  .about-story,
  .about-card-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .quick-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-strip div:last-child {
    border-bottom: 0;
  }

  .cart-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: grid;
    gap: 12px;
  }

  nav {
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero {
    padding-inline: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  h1 span {
    font-size: 1.55rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .deck-stage {
    grid-template-columns: repeat(3, minmax(68px, 1fr));
    gap: 10px;
    padding: 16px;
    min-height: 250px;
  }

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

  .lesson-panel {
    display: grid;
  }

  footer {
    display: grid;
  }

  .subpage-hero {
    min-height: 70vh;
    padding-top: 170px;
  }
}
