:root {
  --ink: #16161a;
  --paper: #f4f4f5;
  --night: #1f1f1f;
  --night-2: #16161a;
  --accent: #FF5074;
  --accent-2: rgba(224, 91, 117, 0.187);
  --nav-bg: transparent;
  --nav-text: #f5f5f7;
  font-size: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--night);
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, .logo-word {
  font-family: "Playfair Display", Georgia, serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------------------------------------------------------------- NAV */

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 64px);
  background: var(--nav-bg);
  color: var(--nav-text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.45s ease, color 0.45s ease;
}

#nav .logo svg { width: 30px; height: auto; color: inherit; }

.nav-links {
  display: flex;
  gap: clamp(20px, 4vw, 44px);
  font-size: 0.98rem;
}

.nav-links a { opacity: 0.88; transition: opacity 0.2s ease; }
.nav-links a:hover { opacity: 1; }

#nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px; height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
}
#nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

@media (max-width: 720px) {
  #nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(72vw, 300px);
    background: var(--night-2);
    color: #f5f5f7;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateX(0); }
}

/* ---------------------------------------------------------------- HERO */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--night) 0%, #000 100%);
  color: #f5f5f7;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}

/* Wavy line pattern — the real asset, with the accent color baked
   directly into its fill. Using it as a plain, tiled background-image
   (rather than a CSS mask) avoids the cross-browser inconsistencies
   around mask-mode and intrinsic SVG sizing that made it fail to
   render before. Per-section opacity still varies its strength. */
.wave-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  left: -500px;
  bottom: -50px;
  overflow: hidden;
  pointer-events: none;
  background-image: url("../assets/images/bg_pattern2.svg");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: auto 70%;
}


.hero .wave-layer { opacity: 0.22; }
.disciplines .wave-layer { opacity: 0.16; }
.work .wave-layer { opacity: 0.2; }
.contact .wave-layer { opacity: 0.14; }
.pricing .wave-layer { opacity: 0.12; }
.faq .wave-layer { opacity: 0.16; }

/* Soft rounded "blob" shapes peeking from section corners — the
   recurring motif in the reference design. Clipped by each section's
   overflow so they read as tucked half behind the edge. */
.hero::before,
.disciplines::before, .disciplines::after,
.work::before, .work::after {
  content: "";
  position: absolute;
  border-radius: 42px;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  top: -36px; left: -36px;
  width: 150px; height: 150px;
  transform: rotate(18deg);
  background: rgba(245, 245, 247, 0.05);
}

.disciplines::before {
  top: -28px; left: -36px;
  width: 170px; height: 170px;
  transform: rotate(15deg);
  background: rgba(22, 22, 26, 0.05);
}
.disciplines::after {
  bottom: -60px; right: -50px;
  width: 220px; height: 220px;
  border-radius: 54px;
  transform: rotate(-14deg);
  background: rgba(255, 80, 116, 0.07);
}

.work::before {
  top: -30px; left: -36px;
  width: 170px; height: 170px;
  transform: rotate(12deg);
  background: rgba(245, 245, 247, 0.035);
}
.work::after {
  bottom: -60px; right: -46px;
  width: 200px; height: 200px;
  border-radius: 48px;
  transform: rotate(-18deg);
  background: rgba(245, 245, 247, 0.035);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.35;
}
.orb1 { width: 320px; height: 320px; background: var(--accent-2); top: -80px; left: -60px; }
.orb2 { width: 260px; height: 260px; background: var(--accent); bottom: -60px; right: 6%; }
.orb3 { width: 180px; height: 180px; background: #ffffff; top: 40%; right: -60px; opacity: 0.06; }

.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-eyebrow {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 300;
  margin: 0 0 18px;
  color: #e7e7ea;
}

.scene {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}

.hero-wordmark {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 700;
  margin: 0;
  padding: 6px 14px;
  color: #fff;
  text-align: center;
  transform-origin: top left;
  transition: transform 0.05s linear;
}

.sel-box {
  position: absolute;
  border: 1.5px solid var(--accent);
  pointer-events: none;
}

.handle {
  position: absolute;
  width: 9px; height: 9px;
  background: var(--night);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.handle[data-h="tl"] { top: 0; left: 0; }
.handle[data-h="tc"] { top: 0; left: 50%; }
.handle[data-h="tr"] { top: 0; left: 100%; }
.handle[data-h="ml"] { top: 50%; left: 0; }
.handle[data-h="mr"] { top: 50%; left: 100%; }
.handle[data-h="bl"] { top: 100%; left: 0; }
.handle[data-h="bc"] { top: 100%; left: 50%; }
.handle[data-h="br"] { top: 100%; left: 100%; }

.pointer {
  position: absolute;
  width: 24px; height: 24px;
  pointer-events: none;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #c9c9ce;
  max-width: 46ch;
  margin: 0 auto;
}

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  color: var(--accent);
  animation: bob 2.2s ease-in-out infinite;
  z-index: 1;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,6px); } }

/* --------------------------------------------------------- SECTIONS */

.section {
  position: relative;
  overflow: hidden;
  padding: 110px clamp(20px, 6vw, 90px);
}

/* Keep real content above the wave-layer mask sitting behind it. */
.section > *:not(.wave-layer) {
  position: relative;
  z-index: 1;
}

.section-title { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-title h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 14px; }
.section-title p { font-size: 1.02rem; line-height: 1.7; color: inherit; opacity: 0.75; margin: 0; }

/* Disciplines — rounded card overlapping the hero's bottom edge */
.disciplines {
  background: var(--paper);
  border-radius: 48px 48px 0 0;
  margin-top: -48px;
  z-index: 2;
}
.discipline-grid {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}
.discipline-icon { font-size: 1.6rem; color: var(--accent); display: inline-block; margin-bottom: 14px; }
.discipline h3 { margin: 0 0 6px; font-size: 1.35rem; }
.discipline-tag { color: var(--accent); font-weight: 500; margin: 0 0 14px; }
.discipline p:last-child { line-height: 1.8; opacity: 0.8; margin: 0; }
.discipline-divider {
  align-self: center;
  font-size: 1.4rem;
  color: #b8b8bd;
}
@media (max-width: 680px) {
  .discipline-grid { grid-template-columns: 1fr; text-align: left; }
  .discipline-divider { display: none; }
}

/* Work */
.work { background: var(--night); color: #f5f5f7; }
.work .section-title p { color: #d8d8dc; }
.work-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.work-badge {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.work-shot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.ghost-btn, .solid-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
}
.ghost-btn {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.ghost-btn:hover { background: var(--accent); color: #fff; }

/* Contact */
.contact { background: var(--paper); }
.contact-grid {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #d9d9dd;
  background: #fff;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.solid-btn {
  background: var(--accent);
  color: #fff;
  align-self: flex-start;
}
.solid-btn:hover { background: #e6335f; }
.solid-btn:disabled { opacity: 0.6; cursor: wait; }
.form-status { font-size: 0.88rem; min-height: 1.2em; margin: 0; }
.form-status.ok { color: #1a8f4c; }
.form-status.err { color: #d33; }

.socials-container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: flex-start;
}
.socials-container a {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #e2e2e6;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.socials-container a svg { width: 20px; height: 20px; fill: currentColor; }
.socials-container a:hover {
  transform: translateY(-3px);
  color: var(--accent-color, var(--accent));
  border-color: var(--accent-color, var(--accent));
}

/* Footer */
#footer {
  background: var(--night);
  color: #b8b8bd;
  text-align: center;
  padding: 40px 24px 32px;
}
#footer .logo svg { width: 26px; margin: 0 auto 14px; color: #f5f5f7; }
#footer-p { margin: 0; font-size: 0.85rem; }

/* --------------------------------------------------------- SR */

.nav-links .nav-cta {
  opacity: 1;
  padding: 6px 16px;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  color: var(--accent);
}
.nav-links .nav-cta:hover { background: var(--accent); color: #fff; }

.text-link { color: var(--accent); }
.text-link:hover { text-decoration: underline; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.sr-intro {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.sr-eyebrow { color: var(--accent); font-weight: 500; }
.sr-intro h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.2; margin: 14px 0 16px; }
.sr-intro p { line-height: 1.8; color: #d8d8dc; margin: 0 0 28px; }
.sr-shot { margin: 0; box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
@media (max-width: 860px) {
  .sr-intro { grid-template-columns: 1fr; }
}

.feature-grid {
  max-width: 1100px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 26px;
}
.feature svg, .edition svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { font-size: 1.05rem; margin: 14px 0 8px; }
.feature p { margin: 0; line-height: 1.7; font-size: 0.93rem; color: #c9c9ce; }

.editions {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.edition {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: 20px;
  background: rgba(255, 80, 116, 0.07);
  border: 1px solid rgba(255, 80, 116, 0.22);
}
.edition svg { flex: none; margin-top: 2px; }
.edition h3 { margin: 0 0 6px; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.edition p { margin: 0; line-height: 1.7; font-size: 0.93rem; color: #d8d8dc; }
.edition a { color: var(--accent); }
.pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
}
@media (max-width: 760px) {
  .editions { grid-template-columns: 1fr; }
}

/* Pricing */
.pricing { background: var(--paper); }

.period-toggle {
  display: flex;
  width: fit-content;
  margin: -24px auto 36px;
  padding: 5px;
  border-radius: 100px;
  background: #fff;
  border: 1.5px solid #e2e2e6;
}
.period-toggle button {
  font: inherit;
  font-size: 0.9rem;
  border: none;
  background: none;
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.period-toggle button[aria-checked="true"] { background: var(--ink); color: #fff; }
.save {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
}
.save:empty { display: none; }

.plan-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 460px; }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #e2e2e6;
  border-radius: 24px;
  padding: 32px;
}
.plan--featured { border-color: var(--accent); box-shadow: 0 20px 50px rgba(255, 80, 116, 0.14); }
.plan-flag {
  position: absolute;
  top: -13px; left: 32px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.plan h3 { margin: 0 0 4px; font-size: 1.25rem; }
.plan-tag { margin: 0 0 20px; color: #6b6b73; font-size: 0.92rem; }
.plan-price { margin: 0 0 4px; }
.plan-per { margin: 0 0 22px; font-size: 0.82rem; color: #6b6b73; }
.plan-price span { font-family: "Playfair Display", Georgia, serif; font-size: 2.2rem; font-weight: 700; }
.plan-price small { color: #6b6b73; font-size: 0.9rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 0.93rem; line-height: 1.5; }
.plan li svg {
  flex: none;
  width: 18px; height: 18px; margin-top: 2px;
  fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.plan-btn { justify-content: center; align-self: stretch; }

.cloud-includes { max-width: 1040px; margin: 40px auto 0; text-align: center; }
.cloud-includes h3 { font-size: 1.05rem; margin: 0 0 16px; }
.cloud-includes ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
}
.cloud-includes li { display: flex; gap: 8px; font-size: 0.92rem; }
.cloud-includes li svg {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}

.plan--wide {
  max-width: 1040px;
  margin: 48px auto 0;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.plan--wide h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 8px; }
.plan--wide .plan-tag { margin: 0; max-width: 60ch; line-height: 1.6; }
.plan--wide .plan-btn { align-self: center; flex: none; }
.plan-price-inline { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; }
.plan-price-inline small { font-family: "Poppins", system-ui, sans-serif; font-size: 0.85rem; color: #6b6b73; font-weight: 400; }
@media (max-width: 760px) {
  .plan--wide { flex-direction: column; align-items: stretch; }
  .plan--wide .plan-btn { align-self: stretch; }
}

.plan-note {
  max-width: 640px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 0.88rem;
  color: #6b6b73;
  line-height: 1.6;
}
.plan-note + .cloud-includes { max-width: 1040px; margin: 40px auto 0; text-align: center; }
.cloud-includes h3 { font-size: 1.05rem; margin: 0 0 16px; }
.cloud-includes ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
}
.cloud-includes li { display: flex; gap: 8px; font-size: 0.92rem; }
.cloud-includes li svg {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}

.plan--wide {
  max-width: 1040px;
  margin: 48px auto 0;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.plan--wide h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 8px; }
.plan--wide .plan-tag { margin: 0; max-width: 60ch; line-height: 1.6; }
.plan--wide .plan-btn { align-self: center; flex: none; }
.plan-price-inline { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; }
.plan-price-inline small { font-family: "Poppins", system-ui, sans-serif; font-size: 0.85rem; color: #6b6b73; font-weight: 400; }
@media (max-width: 760px) {
  .plan--wide { flex-direction: column; align-items: stretch; }
  .plan--wide .plan-btn { align-self: stretch; }
}

.plan-note { margin-top: 8px; }

.steps { max-width: 1000px; margin: 80px auto 0; }
.steps h3 { text-align: center; font-size: 1.3rem; margin: 0 0 28px; }
.steps ol {
  list-style: none;
  counter-reset: step;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
}
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; }
.steps li::before {
  content: counter(step);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.steps li span { font-size: 0.92rem; line-height: 1.65; color: #55555c; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 0 22px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 500;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin: 0 0 20px; line-height: 1.75; color: #c9c9ce; font-size: 0.95rem; }

/* Footer links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}
.footer-links a:hover { color: #f5f5f7; }

/* --------------------------------------------------- SUBPAGES */

.page {
  background: var(--paper);
  min-height: 100vh;
  padding: 130px clamp(20px, 6vw, 90px) 90px;
}
.page-narrow { max-width: 760px; margin: 0 auto; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 10px; }
.page .lede { color: #55555c; line-height: 1.7; margin: 0 0 40px; }

/* Legal */
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal p, .legal li { line-height: 1.8; color: #2f2f35; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); }
.legal .updated { color: #6b6b73; font-size: 0.9rem; margin: 0 0 32px; }

/* Checkout */
.checkout-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
}
.checkout-form { display: flex; flex-direction: column; gap: 22px; }
.checkout-form fieldset {
  border: 1.5px solid #e2e2e6;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  margin: 0;
  display: grid;
  gap: 16px;
}
.checkout-form legend { font-weight: 600; padding: 0 8px; margin-left: -8px; }
.checkout-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; }
.checkout-form .hint { font-size: 0.8rem; color: #6b6b73; }
.checkout-form input, .checkout-form select {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #d9d9dd;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.checkout-form input:focus, .checkout-form select:focus { outline: none; border-color: var(--accent); }
.checkout-form input[aria-invalid="true"] { border-color: #d33; }
.checkout-form .agree { flex-direction: row; align-items: flex-start; gap: 10px; line-height: 1.6; }
.checkout-form .agree input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.checkout-form .agree input[aria-invalid="true"] { outline: 2px solid #d33; outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) {
  .choice-grid { grid-template-columns: 1fr; }
}
.choice {
  position: relative;
  border: 1.5px solid #d9d9dd;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice strong { display: block; font-size: 0.95rem; }
.choice span { font-size: 0.82rem; color: #6b6b73; }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(255, 80, 116, 0.05); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.summary {
  position: sticky;
  top: 100px;
  background: var(--ink);
  color: #f5f5f7;
  border-radius: 24px;
  padding: 28px;
}
.summary h2 { font-size: 1.3rem; margin: 0 0 18px; }
.summary dl { margin: 0 0 18px; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 0.92rem; }
.summary dt { color: #b8b8bd; }
.summary dd { margin: 0; text-align: right; }
.summary .total {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  margin-bottom: 22px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.summary .total strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.8rem; }
.summary .solid-btn { width: 100%; justify-content: center; }
.summary .fine { font-size: 0.78rem; color: #b8b8bd; line-height: 1.6; margin: 16px 0 0; }
.summary .fine a { color: #f5f5f7; text-decoration: underline; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pay-methods span {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.18);
  color: #d8d8dc;
}

.notice {
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  background: #fff6e0;
  border: 1px solid #f1d58a;
  color: #5c4500;
}
.done {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1.5px solid #e2e2e6;
  border-radius: 24px;
  padding: 44px 32px;
}
.done h1 { font-size: 2rem; }
.done p { line-height: 1.75; color: #3a3a40; }
.done code { background: var(--paper); padding: 2px 8px; border-radius: 6px; }

/* --------------------------------------------------------- REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero.reveal { opacity: 1; transform: none; } /* hero is visible on load, no scroll-in needed */
