/* Storefront — the buying surface. Cold porcelain; the action colour is Stage's grey,
   so moving between the two surfaces feels like one studio, not two sites. */

:root {
  --bg: #f4f1ea;
  --raised: #ffffff;
  --ink: #1b1915;
  --muted: #6e6658;
  --rule: #ddd7c9;
  --action-bg: #1b1915;
  --action-ink: #f7f4ed;
  --stone: #7a6e56;
  /* One accent, used sparingly. Verdigris: what bronze becomes next to stone,
     so it belongs to the same material world as the marble rather than being
     a hue dropped on top of it. */
  --accent: #1f5d4c;
  --accent-soft: #e6efe9;

}

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding-block: var(--s-2);
  border-bottom: 1px solid var(--rule);
}

.wordmark { font-weight: 700; font-size: var(--t-sm); text-decoration: none; }

.action {
  background: var(--action-bg);
  color: var(--action-ink);
  padding: 0 1.3rem;
  border: 0;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.action:hover { background: #000; }

.site-head nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
  flex-wrap: wrap;
  font-size: var(--t-sm);
}

.site-head nav a {
  text-decoration: none;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

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

.action-quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}

.action-quiet:hover { background: var(--raised); }

.page-head { padding-block: clamp(2.5rem, 8vh, 5rem) var(--s-3); }

.page-marker {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  color: #6f6a61;
  margin-bottom: var(--s-2);
}

.page-head h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7.4vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 17ch;
}

.page-head p { margin-top: var(--s-3); color: var(--muted); max-width: 52ch; font-size: var(--t-lg); line-height: 1.45; }

/* Price list: rows, not a grid of identical cards. A price list is a data table. */
.family-block { margin-top: var(--s-4); max-width: 58rem; }

.family-block > h2 {
  font-size: var(--t-lg);
  padding-bottom: var(--s-1);
  border-bottom: 1px solid var(--ink);
}


/* Forms — every field is labelled and reaches the touch floor */
.form { margin-top: var(--s-3); max-width: 46rem; display: grid; gap: var(--s-2); }

.field { display: grid; gap: 0.35rem; }
.field label { font-size: var(--t-sm); font-weight: 500; }

.field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  background: var(--raised);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
}

.field textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--ink); }

.field-note { font-size: var(--t-xs); color: var(--muted); }

.notice {
  padding: var(--s-2);
  border-radius: var(--r-sm);
  background: var(--raised);
  border: 1px solid var(--rule);
}

.notice-error { border-color: #b4483f; color: #8f2f27; }

.summary-panel {
  background: var(--raised);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  display: grid;
  gap: var(--s-1);
  align-content: start;
}

.summary-panel .money { font-size: var(--t-xl); }

.split {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  padding-block: var(--s-3) var(--s-5);
}

@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}

.prose { max-width: var(--measure); padding-block: var(--s-3) var(--s-5); display: grid; gap: var(--s-2); }
.prose h2 { font-size: var(--t-lg); margin-top: var(--s-2); }

.site-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  padding-block: var(--s-3);
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: var(--t-sm);
  flex-wrap: wrap;
}

.site-foot nav { display: flex; gap: var(--s-2); flex-wrap: wrap; }
/* The legal links were the last thing on the page under the 44px touch floor. */
.site-foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.summary-panel .includes { display: grid; gap: 0.3rem; font-size: var(--t-sm); color: var(--muted); margin-top: var(--s-1); }
.summary-panel .includes li { padding-left: 1.1em; position: relative; }
.summary-panel .includes li::before { content: "+"; position: absolute; left: 0; color: var(--ink); }

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}


/* ------------------------------------------------------------ pricing
   The page exists to answer one question, so the number is the largest thing
   on every row and the detail folds away until it is asked for. */

.price-head { padding-block: clamp(3rem, 9vh, 6rem) var(--s-4); border-bottom: 1px solid var(--rule); }
.price-head h1 { font-family: var(--display); font-size: clamp(3rem, 11vw, 8rem); font-weight: 800; letter-spacing: -0.05em; }
.price-lede { margin-top: var(--s-2); max-width: 46ch; color: var(--muted); font-size: var(--t-lg); line-height: 1.45; }

.price-facts { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-4); }
.price-facts dt { font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); letter-spacing: 0.1em; }
.price-facts .money { font-size: var(--t-xl); margin-top: 0.25rem; display: block; }
.price-fact-note { font-size: var(--t-sm); color: var(--muted); }

.price-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-4) var(--s-6); }

.price-nav { position: sticky; top: var(--s-3); align-self: start; }
.price-nav ul { display: grid; gap: 0.15rem; }
.price-nav a {
  display: flex; justify-content: space-between; gap: var(--s-2);
  padding: 0.7rem 0; font-size: var(--t-sm); color: var(--muted);
  text-decoration: none; border-bottom: 1px solid var(--rule);
}
.price-nav a:hover { color: var(--ink); }

.family-block { margin-top: 0; padding-top: var(--s-4); max-width: none; }
.family-block + .family-block { margin-top: var(--s-4); }
.family-block > h2 { font-family: var(--display); font-weight: 700; font-size: var(--t-xl); border-bottom: 1px solid var(--ink); padding-bottom: var(--s-1); }

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-1) var(--s-3);
  align-items: start;
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--rule);
}

.price-row h3 { font-size: var(--t-lg); font-weight: 600; }
.price-row .summary { margin-top: 0.3rem; color: var(--muted); max-width: 48ch; }

.price-row-figure { text-align: right; display: grid; gap: 0.2rem; justify-items: end; }
.price-row-figure .money { font-family: var(--mono); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); letter-spacing: -0.045em; color: var(--stone); }

.price-detail { grid-column: 1 / -1; margin-top: var(--s-1); }
.price-detail summary { cursor: pointer; font-size: var(--t-sm); color: var(--muted); list-style: none; padding: 0.4rem 0; min-height: 44px; display: flex; align-items: center; }
.price-detail summary::-webkit-details-marker { display: none; }
.price-detail summary::before { content: "+"; margin-right: 0.6em; color: var(--ink); }
.price-detail[open] summary::before { content: "\2212"; }
.price-detail .includes { display: grid; gap: 0.35rem; font-size: var(--t-sm); color: var(--muted); padding-bottom: var(--s-2); }
.price-detail .includes li { padding-left: 1.1em; position: relative; }
.price-detail .includes li::before { content: "+"; position: absolute; left: 0; color: var(--stone); }

.price-row > .action { grid-column: 1 / -1; justify-self: start; }

@media (max-width: 900px) {
  .price-layout { grid-template-columns: minmax(0, 1fr); }
  .price-nav { position: static; }
  .price-row { grid-template-columns: minmax(0, 1fr); }
  .price-row-figure { text-align: left; justify-items: start; }
}

/* ------------------------------------------------------------ contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: var(--s-6);
  align-items: start;
}

.channels { display: grid; gap: var(--s-3); }

.channels li { display: grid; gap: 0.25rem; padding-bottom: var(--s-3); border-bottom: 1px solid var(--rule); }

.channel-label { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.14em; color: var(--muted); }

.channel-value {
  font-family: var(--mono);
  font-size: clamp(1rem, 0.85rem + 0.6vw, 1.35rem);
  color: var(--stone);
  text-decoration: none;
  word-break: break-word;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.channel-value:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }
.channel-note { font-size: var(--t-sm); color: var(--muted); }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

.legal-body p { max-width: 62ch; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-note { margin-top: var(--s-3); padding-top: var(--s-2); border-top: 1px solid var(--rule); color: var(--muted); font-size: var(--t-sm); }

.pay-options { display: grid; gap: var(--s-3); margin-top: var(--s-3); }
.pay-options li { padding-bottom: var(--s-3); border-bottom: 1px solid var(--rule); }
.pay-options h2 { font-size: var(--t-lg); }
.pay-options p { margin-top: 0.3rem; color: var(--muted); max-width: 46ch; }
.pay-options .action { margin-top: var(--s-2); }

/* ------------------------------------------------------------ checkout

   A checkout has one job: make the next action obvious and leave no room for
   doubt about where the money is going. The layout is a working column and a
   summary rail that stays put while you read. */

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  gap: var(--s-4);
  align-items: start;
  padding-block: clamp(2rem, 6vh, 3.5rem) var(--s-6);
}

.checkout-main > h1 {
  font-size: var(--t-xl);
  margin-top: 0.4rem;
}

.checkout .page-marker { margin: 0; }

/* The single number everything else is about. */
.amount-card {
  margin-top: var(--s-3);
  padding: var(--s-3);
  border: 1px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--raised);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem var(--s-2);
  align-items: center;
}

.amount-label { grid-column: 1; font-size: var(--t-sm); color: var(--muted); }

.amount-value {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--mono);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.amount-figure { user-select: all; }

.amount-card .copy-btn { grid-column: 2; grid-row: 1 / span 2; }

/* Numbered because paying genuinely is a sequence. */
.step { margin-top: var(--s-4); }

.step > h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--t-lg);
  padding-bottom: var(--s-1);
  border-bottom: 1px solid var(--ink);
}

.step-n {
  flex: none;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--action-ink);
  font-family: var(--mono);
  font-size: var(--t-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-lead { margin-top: var(--s-2); color: var(--muted); max-width: 52ch; }

.pay-card {
  margin-top: var(--s-2);
  padding: var(--s-3);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--raised);
}

/* The recommended route is the one with the darker edge. */
.pay-card-lead { border-color: var(--ink); }

.pay-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
  flex-wrap: wrap;
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--rule);
}

.pay-card-head h3 { font-size: var(--t-base); font-weight: 600; }
.pay-flag { font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); }

.pay-id-row {
  margin-top: var(--s-2);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-2);
  flex-wrap: wrap;
}

.pay-id {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-block: 0.2rem;
  user-select: all;
}

.net-form {
  margin-top: var(--s-2);
  display: flex;
  align-items: center;
  gap: var(--s-1) var(--s-2);
  flex-wrap: wrap;
}

.net-form label { font-size: var(--t-sm); font-weight: 500; }

.net-form select {
  flex: 1 1 14rem;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: inherit;
}

.net-form select:focus-visible { border-color: var(--ink); }

.net-go {
  min-height: 48px;
  padding-inline: var(--s-2);
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.notice-warn {
  border-color: #b9891f;
  background: #fdf6e6;
  color: #6b4e08;
  margin-top: var(--s-2);
}

.notice-warn strong { color: #4a3605; }

.addr-row {
  margin-top: var(--s-3);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-3);
  align-items: start;
}

.addr-qr {
  flex: none;
  padding: 0.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: #fff;
  line-height: 0;
}

.addr-qr svg { width: 132px; height: 132px; }

.addr-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem var(--s-2);
  align-items: start;
}
.addr-body > .field-note:first-child { grid-column: 1 / -1; }
.addr-body > .field-note:last-child { grid-column: 1 / -1; }

.addr-value {
  grid-column: 1;
  font-family: var(--mono);
  font-size: var(--t-sm);
  word-break: break-all;
  user-select: all;
  line-height: 1.5;
}

.copy-btn {
  min-height: 44px;
  padding-inline: var(--s-2);
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  background: transparent;
  color: inherit;
  font-size: var(--t-sm);
  cursor: pointer;
  white-space: nowrap;
}

.copy-btn:hover { background: var(--bg); }
.copy-btn.is-copied { background: var(--ink); color: var(--action-ink); }

.state-done {
  margin-top: var(--s-3);
  padding: var(--s-3);
  border: 1px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--raised);
  display: grid;
  gap: var(--s-2);
  max-width: 52ch;
}

.state-done h2 { font-size: var(--t-lg); }

/* -------------------------------------------------------- summary rail */

.checkout-side {
  position: sticky;
  top: var(--s-2);
  display: grid;
  gap: var(--s-2);
}

.side-card {
  padding: var(--s-3);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--raised);
}

.side-card h2 { font-size: var(--t-base); font-weight: 600; }
.side-card > h2:first-child { padding-bottom: var(--s-1); border-bottom: 1px solid var(--rule); }
.side-price { font-size: var(--t-xl); margin-top: 0.2rem; }
.side-card .duration { display: block; margin-top: 0.2rem; }

.side-facts { margin-top: var(--s-2); display: grid; gap: 0.7rem; }
.side-facts > div { display: grid; gap: 0.1rem; min-width: 0; }
.side-facts dt { font-size: var(--t-xs); color: var(--muted); }
.side-facts dd { margin: 0; font-size: var(--t-sm); overflow-wrap: anywhere; }

.side-steps ol { margin-top: var(--s-2); display: grid; gap: 0.6rem; counter-reset: side; }
.side-steps li {
  counter-increment: side;
  position: relative;
  padding-left: 1.8rem;
  font-size: var(--t-sm);
  color: var(--muted);
}
.side-steps li::before {
  content: counter(side);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--ink);
}

.side-help p { margin-top: var(--s-1); font-size: var(--t-sm); color: var(--muted); }
.side-links { margin-top: var(--s-1); display: grid; }
.side-links a { font-size: var(--t-sm); display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .checkout-side { position: static; }
}

@media (max-width: 560px) {
  .addr-row { grid-template-columns: minmax(0, 1fr); }
  .addr-qr { justify-self: start; }
  .addr-body { grid-template-columns: minmax(0, 1fr); }
  .addr-body .copy-btn { justify-self: start; }
}

/* Below this width the nav wrapped around the wordmark and the lockup ended up
   stranded mid-row. Give each its own line instead. */
@media (max-width: 720px) {
  .site-head { flex-wrap: wrap; row-gap: 0.15rem; }
  .site-head .wordmark { flex: 1 0 100%; }
  .site-head nav { flex: 1 0 100%; gap: clamp(0.75rem, 4.5vw, 2rem); }
}

.checkout-for {
  margin-top: 0.5rem;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.checkout-for .money { color: var(--ink); }

/* ------------------------------------------------------- custom quote */

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 19rem);
  gap: var(--s-4);
  align-items: start;
  padding-bottom: var(--s-6);
}

.quote-form { max-width: none; }

.field-group { border: 0; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.field-group legend { padding: 0; font-size: var(--t-sm); font-weight: 500; }

.check-grid {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--raised);
  font-size: var(--t-sm);
  cursor: pointer;
}

.check:hover { border-color: var(--ink); }
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--ink); flex: none; }
.check:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.field-row {
  display: grid;
  gap: var(--s-2);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.field select {
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--raised);
  color: inherit;
}

.field textarea::placeholder, .field input::placeholder { color: #a39a88; }

.quote-side { display: grid; gap: var(--s-2); position: sticky; top: var(--s-2); }

.side-steps-list { margin-top: var(--s-2); display: grid; gap: 0.6rem; counter-reset: q; }
.side-steps-list li {
  counter-increment: q;
  position: relative;
  padding-left: 1.8rem;
  font-size: var(--t-sm);
  color: var(--muted);
}
.side-steps-list li::before {
  content: counter(q);
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--ink);
}

.side-plain { margin-top: var(--s-2); display: grid; gap: 0.6rem; }
.side-plain li {
  position: relative;
  padding-left: 1.1em;
  font-size: var(--t-sm);
  color: var(--muted);
}
.side-plain li::before { content: "—"; position: absolute; left: 0; color: var(--ink); }

.quote-cta {
  margin-top: var(--s-4);
  padding: var(--s-3);
  border: 1px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--raised);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.quote-cta h2 { font-size: var(--t-lg); }
.quote-cta p { margin-top: 0.4rem; color: var(--muted); max-width: 52ch; }

.cap-more { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-sm); }

@media (max-width: 900px) {
  .quote-layout { grid-template-columns: minmax(0, 1fr); }
  .quote-side { position: static; }
}

/* The entry package of each family reads first. This is the cheapest one,
   taken from the prices themselves - not a "most popular" badge, which would
   be a claim about sales we have no figures for. */
.price-row.is-entry {
  border-left: 2px solid var(--accent);
  padding-left: var(--s-2);
  background: linear-gradient(90deg, var(--accent-soft), transparent 40%);
}

.entry-flag {
  margin-left: 0.7em;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: #f3f8f5;
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.02em;
  vertical-align: 0.15em;
  white-space: nowrap;
}

.price-row.is-entry .price-row-figure .money { color: var(--accent); }
