:root {
  --paper: #eef1f5;
  --paper-2: #e1e6ee;
  --card: #f7f9fc;
  --ink: #1a2230;
  --muted: #5c6776;
  --pine: #1c2b42;
  --pine-2: #141e30;
  --brass: #c45c32;
  --brass-2: #f3d2c4;
  --line: #d5dce6;
  --danger: #8c2e28;
  --display: "Source Serif Local", "Palatino Linotype", Palatino, serif;
  --sans: "Inter", "Segoe UI", sans-serif;
  --wrap: min(1360px, calc(100% - 3rem));
  --shadow: 8px 8px 0 #1c2b42;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--pine); }
a:hover { color: var(--brass); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); margin: 0.15em 0 0.25em; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 0.4em; }
p { margin: 0 0 0.8em; }
.skip {
  position: absolute;
  left: 0.6rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.4rem 0.7rem;
  z-index: 30;
}
.skip:focus { top: 0.6rem; }
.wrap { width: var(--wrap); margin-inline: auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(243, 238, 228, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--brass);
}
.topbar-row {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand-mark { display: block; }
.brand-name {
  font-family: var(--display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 0.15rem;
}
.tools { display: flex; align-items: center; gap: 0.7rem; }
.menu-btn {
  display: none;
  font: inherit;
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}
.cluster {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  order: 1;
}
.tools { order: 2; }
.navline { display: flex; gap: 1rem; }
.navline a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.navline a.is-current { box-shadow: inset 0 -2px 0 var(--brass); }
.bag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.bag.is-current { box-shadow: inset 0 -2px 0 var(--brass); }
.bag-count {
  min-width: 1.25rem;
  height: 1.25rem;
  display: inline-grid;
  place-items: center;
  background: var(--brass);
  color: #1a2230;
  font-size: 0.72rem;
  font-weight: 700;
}
.lang { display: flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; color: var(--muted); }
.lang select {
  font: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 0.2rem 0.1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--pine);
  color: #f4f7fb;
  text-decoration: none;
  border: 1px solid var(--pine);
  padding: 0.72rem 1.05rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
}
.btn:hover { background: var(--pine-2); color: #f4f7fb; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.small { padding: 0.4rem 0.7rem; font-size: 0.88rem; }
.stage {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
  padding: 2.6rem 0 1.4rem;
}
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--brass);
  font-weight: 600;
}
.dek { font-size: 1.08rem; max-width: 46rem; color: var(--ink); }
.stage-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.1rem; }
.stage-frame { position: relative; }
.stage-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  background: var(--paper-2);
  border-radius: 18px;
}
.ribbon {
  background: var(--pine);
  color: #f4f7fb;
  margin-top: 1.5rem;
}
.ribbon-grid {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.fact { padding: 1.25rem 1rem 1.35rem 0; }
.fact + .fact { padding-left: 1rem; box-shadow: inset 1px 0 0 rgba(231, 211, 176, 0.35); }
.fact strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}
.fact p { margin: 0; color: #d5deea; font-size: 0.92rem; }
.band { width: var(--wrap); margin: 2.6rem auto; }
.ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.piece,
.piece:nth-child(even) {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  padding: 0.7rem 0.7rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.piece:last-child { border-bottom: 1px solid var(--line); }
.piece-photo { display: block; overflow: hidden; border-radius: 12px; }
.piece, .piece-copy, .piece h3, .piece p, .piece .price, .piece .btn { transform: none; transition: none; }
.piece img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--paper-2); display: block; border-radius: 0; transform: scale(1); transform-origin: center center; transition: transform .6s cubic-bezier(.22, .61, .36, 1); backface-visibility: hidden; }
.piece:hover .piece-photo img { transform: scale(1.06); }
.piece .btn { margin-top: 0.75rem; }
.piece h3 a { color: inherit; text-decoration: none; }
.piece h3 a:hover { color: var(--brass); }
.buy-path { scroll-margin-top: 5.5rem; }
.buy-path .eyebrow { margin-bottom: 0.35rem; }
.quiet-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.quiet-steps article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--pine);
  padding: 0.9rem 0.85rem 1rem;
  min-width: 0;
}
.quiet-steps .step-ico { color: var(--pine); display: block; }
.quiet-steps .step-no { margin: 0; font-size: 0.95rem; color: var(--brass); }
.quiet-steps h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin: 0 0 0.2rem; }
.quiet-steps p { margin: 0; color: var(--muted); }
.sheet { display: grid; gap: 0; margin: 1.2rem 0; border-top: 1px solid var(--line); }
.sheet div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.sheet dt { margin: 0; font-weight: 600; color: var(--pine); }
.sheet dd { margin: 0; }
.pay-card {
  margin-top: 0.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--pine);
  padding: 1rem 1.1rem 1.15rem;
}
.pay-card h2 { font-size: 1.6rem; margin: 0 0 0.4rem; }
.pay-table { width: 100%; border-collapse: collapse; margin: 0.6rem 0 0.8rem; }
.pay-table th, .pay-table td { text-align: left; padding: 0.45rem 0.3rem; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.pay-table td:last-child, .pay-table th:last-child { text-align: right; }
.pay-table .pay-total td { font-weight: 700; border-bottom: 0; }
.pay-card { scroll-margin-top: 5.5rem; overflow-anchor: none; transition: border-color .4s ease, background-color .4s ease; }
.pay-card.is-ready { border-color: var(--pine); }
.pay-go {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.9rem;
  row-gap: 0.35rem;
  overflow-anchor: none;
}
.pay-go .btn { background: var(--pine); color: #f4f7fb; border-color: var(--pine); }
.pay-go .btn:hover { background: var(--pine-2); }
.idx {
  font-family: var(--display);
  color: var(--brass);
  font-size: 0.95rem;
}
.piece h3 { margin: 0.15rem 0 0.3rem; font-size: 1.45rem; }
.price {
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--pine);
}
.piece p { margin: 0.35rem 0 0; color: var(--muted); max-width: 38rem; }
.step-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step-row article { border-top: 2px solid var(--brass); padding-top: 0.7rem; }
.step-no { font-family: var(--display); font-size: 1.7rem; color: var(--brass); margin: 0; }
.step-row h3 { font-size: 1.25rem; margin: 0.2rem 0; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.who {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.faq details { border-bottom: 1px solid var(--line); padding: 0.75rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 0.55rem 0 0.2rem; }
.page { width: var(--wrap); margin: 1.6rem auto 2rem; }
.page-head { max-width: 52rem; margin-bottom: 1.2rem; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin: 0 0 0.6rem; }
.crumbs a { color: var(--muted); }
.folio {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}
.gallery > img:first-child { width: 100%; display: block; border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); }
.gallery > img:not(:first-child) { display: none; }
.gallery-main { width: 100%; background: var(--paper-2); display: block; border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-switch { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.55rem; }
.gallery-arrow {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: 1.35rem/1 var(--sans);
  cursor: pointer;
  padding: 0;
}
.gallery-nav { display: flex; gap: 0.4rem; min-width: 0; margin: 0; }
.gallery-btn {
  flex: 0 0 auto;
  width: 4.25rem;
  height: 3.15rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-2);
  cursor: pointer;
}
.gallery-btn[aria-current="true"] { border-color: var(--brass); }
.gallery-btn img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.buy .price { font-size: 2rem; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.prose { max-width: 48rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.note-list { display: grid; gap: 1.2rem; }
.note {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.2rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.note > .shot { display: block; overflow: hidden; }
.note img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform .45s ease; border-radius: 12px; }
.note:hover img { transform: scale(1.06); }
.note h2 { font-size: 1.6rem; margin: 0 0 0.3rem; }
.note h2 a { text-decoration: none; color: inherit; }
.basket-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  align-items: start;
}
.basket-table { width: 100%; border-collapse: collapse; }
.basket-table th { text-align: left; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-bottom: 0.4rem; }
.basket-table td { border-top: 1px solid var(--line); padding: 0.75rem 0.4rem 0.75rem 0; vertical-align: middle; }
.line-item { display: flex; gap: 0.7rem; align-items: center; }
.line-item img { width: 72px; height: 54px; object-fit: cover; background: var(--paper-2); }
.qty {
  width: 4.2rem;
  font: inherit;
  padding: 0.4rem;
  border: 1px solid var(--line);
  background: white;
}
.line-btn {
  font: inherit;
  background: transparent;
  border: 0;
  color: var(--danger);
  cursor: pointer;
  text-decoration: underline;
}
.summary {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}
.summary .row { display: flex; justify-content: space-between; gap: 0.6rem; }
.summary .total { font-weight: 700; border-top: 1px solid var(--line); padding-top: 0.45rem; }
.muted { color: var(--muted); font-size: 0.92rem; }
.void {
  border: 1px dashed var(--brass);
  background: var(--card);
  padding: 1.4rem;
  display: grid;
  justify-items: start;
  gap: 0.8rem;
}
.order {
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.field label { display: grid; gap: 0.3rem; font-size: 0.92rem; font-weight: 600; }
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: white;
  border: 1px solid #cfc5b4;
  padding: 0.62rem 0.65rem;
  border-radius: 2px;
  width: 100%;
}
textarea { resize: vertical; }
.err { color: var(--danger); min-height: 1.1em; font-size: 0.86rem; margin: 0.2rem 0 0; font-weight: 400; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.pay-stub {
  margin-top: 0.4rem;
  background: var(--pine);
  color: #f4f7fb;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 7px 7px 0 var(--brass);
}
.pay-stub h2 { color: #f4f7fb; font-size: 1.7rem; }
.pay-stub p { color: #e7dece; }
.pay-stub .btn { background: #f4f7fb; color: var(--pine); border-color: #f4f7fb; }
.pay-stub .btn:hover { background: var(--brass-2); color: var(--ink); }
.pay-stub .err { color: #f0c8c2; }
.pay-stub a { color: #f4f7fb; }
.foot {
  background: var(--pine-2);
  color: #efe6d8;
  margin-top: 3rem;
  padding: 2.6rem 0 1.6rem;
}
.foot a { color: #efe6d8; text-decoration: none; }
.foot a:hover { color: var(--brass-2); }
.foot-grid {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}
.foot strong { font-family: var(--display); font-size: 1.4rem; font-weight: 400; font-style: italic; }
.foot .co { font-weight: 700; font-style: normal; font-family: var(--sans); font-size: 0.95rem; }
.foot p { margin: 0 0 0.55rem; font-size: 0.92rem; }
.foot-label {
  margin: 0 0 0.45rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--brass-2);
}
.foot nav { display: grid; gap: 0.28rem; }
.foot button {
  font: inherit;
  color: #efe6d8;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
}
.consent {
  position: fixed;
  z-index: 25;
  left: 1rem;
  bottom: 1rem;
  width: min(22rem, calc(100% - 2rem));
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 0.9rem 1rem;
}
.consent p { margin: 0 0 0.7rem; font-size: 0.92rem; }
.consent-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.fly-token {
  position: fixed;
  z-index: 40;
  object-fit: cover;
  pointer-events: none;
  border-radius: 2px;
}
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .cluster {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1rem 1rem;
    gap: 0.7rem;
  }
  .topbar.is-open .cluster { display: flex; }
  .navline { flex-direction: column; }
  .ribbon-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 1rem 0.8rem; }
  .fact + .fact { box-shadow: none; border-top: 1px solid rgba(231, 211, 176, 0.25); }
  .stage, .folio, .who, .step-row, .foot-grid { grid-template-columns: 1fr; }
  .quiet-steps { grid-template-columns: 1fr 1fr; }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet div { grid-template-columns: 1fr; gap: 0.2rem; }
  .note { grid-template-columns: 1fr; }
  .basket-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .quiet-steps { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ribbon-grid { grid-template-columns: 1fr; }
  .stage { padding-top: 1.4rem; }
  h1 { font-size: 2.2rem; }
  .basket-table thead { display: none; }
  .basket-table tr { display: grid; grid-template-columns: 1fr auto; }
  .basket-table td:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fly-token { display: none; }
}
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.tax { font-family: var(--sans); font-size: 0.86rem; font-weight: 600; color: var(--pine); margin: 0.1rem 0 0.35rem; }
.ship-panel { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--brass); padding: 0.9rem 1rem; margin: 0 0 1.1rem; }
.ship-panel h2 { font-size: 1.35rem; margin: 0 0 0.3rem; }
.ship-panel p { margin: 0; }
.paypal-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  background-color: transparent;
  color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  height: 44px;
  width: auto;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  line-height: 0;
}
.paypal-btn img {
  display: block;
  height: 44px;
  width: auto;
  background: transparent;
  border: 0;
}
.paypal-btn:disabled { opacity: 1; cursor: wait; }
#paypal-go { grid-column: 1; grid-row: 1; width: auto; height: 44px; opacity: 1; pointer-events: auto; }
#paypal-hint { grid-column: 2; grid-row: 1; margin: 0; min-height: 2.7em; }
#paypal-fallback, #paypal-preview { grid-column: 1 / -1; }
#paypal-preview { flex-basis: 100%; background: var(--paper); border: 1px solid var(--line); padding: 0.7rem 0.8rem; }
#paypal-preview ul { margin: 0.4rem 0; padding-left: 1.1rem; }
