/* Wipper design system. Paper, pine, copper. One primary and one secondary action per section. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ds-ink: #14110e;
  --ds-ink-soft: #3c3832;
  --ds-paper: #f6f1e8;
  --ds-paper-2: #efe4d4;
  --ds-white: #fffdf8;
  --ds-pine: #16332e;
  --ds-pine-2: #24584d;
  --ds-copper: #c4512c;
  --ds-copper-deep: #8d3416;
  --ds-line: rgba(20, 17, 14, 0.12);
  --ds-line-strong: rgba(20, 17, 14, 0.22);
  --ds-shadow: 0 1px 0 rgba(20, 17, 14, 0.04), 0 16px 40px rgba(20, 17, 14, 0.08);
  --ds-radius: 20px;
  --ds-radius-sm: 12px;
  --ds-space-1: 4px;
  --ds-space-2: 8px;
  --ds-space-3: 12px;
  --ds-space-4: 16px;
  --ds-space-5: 24px;
  --ds-space-6: 32px;
  --ds-space-7: 48px;
  --ds-space-8: 72px;
  --ds-text-sm: 0.875rem;
  --ds-text: 1.0625rem;
  --ds-text-lg: 1.25rem;
  --ds-display: clamp(2.4rem, 5vw, 4.6rem);
  --ds-sans: "Hanken Grotesk", "Hanken Grotesk Fallback", system-ui, sans-serif;
  --ds-serif: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif;
}

body.w1 {
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(196, 81, 44, 0.09), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(22, 51, 46, 0.06), transparent 50%),
    var(--ds-paper);
}

.ds-kicker {
  margin: 0 0 var(--ds-space-3);
  font-family: var(--ds-sans);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ds-copper-deep);
}

.ds-story {
  background: var(--ds-pine);
  color: #f6f1e8;
  padding: var(--ds-space-8) 0;
  overflow: clip;
}

.ds-story .ds-kicker { color: #f0b59a; }

.ds-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--ds-space-6);
  align-items: center;
}

.ds-story h1,
.ds-story h2,
.ds-hook h2,
.ds-page h1,
.ds-pricing h1 {
  font-family: var(--ds-serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0 0 var(--ds-space-4);
}

.ds-story h1,
.ds-story h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); max-width: 12ch; color: #f6f1e8; }

.ds-story p,
.ds-hook p,
.ds-page .ds-lead { color: inherit; }

.ds-story .ds-lead { max-width: 38rem; color: rgba(246, 241, 232, 0.86); font-size: var(--ds-text); line-height: 1.55; }

.ds-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-3) var(--ds-space-4);
  align-items: center;
  margin-top: var(--ds-space-5);
}

.ds-btn,
.ds-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--ds-sans);
  font-weight: 750;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.ds-btn { background: var(--ds-copper); color: #fffdf8; }
.ds-btn:hover { background: var(--ds-copper-deep); }
.ds-story .ds-btn { background: #f6f1e8; color: var(--ds-pine); }
.ds-story .ds-btn:hover { background: #fff; }
.ds-btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.ds-story .ds-btn-ghost { color: #f6f1e8; }

.ds-stage {
  margin: 0;
  background: rgba(255, 253, 248, 0.04);
  border: 1px solid rgba(246, 241, 232, 0.14);
  border-radius: 28px;
  padding: var(--ds-space-4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.ds-stage svg { display: block; width: 100%; height: auto; }
.ds-draw {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: ds-draw 2.2s ease forwards;
}
.ds-float { animation: ds-float 7s ease-in-out infinite; }
.ds-float-late { animation-delay: 0.8s; }

@keyframes ds-draw { to { stroke-dashoffset: 0; } }
@keyframes ds-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.ds-layers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ds-space-4);
  margin-top: var(--ds-space-6);
}

.ds-layer {
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(246, 241, 232, 0.12);
  border-radius: var(--ds-radius);
  padding: var(--ds-space-4);
}
.ds-layer strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.ds-layer p { margin: 0; color: rgba(246, 241, 232, 0.78); font-size: 0.95rem; }

.ds-hook { padding: var(--ds-space-7) 0; }
.ds-hook-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: var(--ds-space-6);
  align-items: center;
}
.ds-hook h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 16ch; color: var(--ds-ink); }
.ds-hook .ds-lead { color: var(--ds-ink-soft); max-width: 42rem; }
.ds-art {
  margin: 0;
  background: var(--ds-white);
  border: 1px solid var(--ds-line);
  border-radius: 28px;
  box-shadow: var(--ds-shadow);
  overflow: hidden;
}
.ds-art img, .ds-art svg { display: block; width: 100%; height: auto; }

.ds-page { padding: 112px 0 var(--ds-space-7); }
.ds-page h1 { font-size: var(--ds-display); max-width: 16ch; color: var(--ds-ink); }
.ds-page .ds-lead { max-width: 42rem; color: var(--ds-ink-soft); font-size: var(--ds-text-lg); line-height: 1.5; }

.ds-card-grid, .ds-price-grid {
  display: grid;
  gap: var(--ds-space-4);
}
.ds-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ds-price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }

.ds-card, .ds-price, .ds-form, .ds-table-wrap, .ds-note {
  background: var(--ds-white);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow);
}
.ds-card, .ds-price, .ds-form, .ds-note { padding: var(--ds-space-5); }
.ds-card h2, .ds-card h3, .ds-price h2 { font-family: var(--ds-serif); font-weight: 400; margin: 0 0 8px; letter-spacing: -0.02em; }
.ds-card p, .ds-price li, .ds-note p { color: var(--ds-ink-soft); }

.ds-price { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.ds-price.is-core { border-color: var(--ds-copper); box-shadow: 0 18px 40px rgba(196, 81, 44, 0.12); }
.ds-flag {
  min-height: 28px;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ds-copper-deep);
}
.ds-amount {
  font-family: var(--ds-serif);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ds-ink);
}
.ds-amount span { font-size: 0.55em; }
.ds-price ul { margin: var(--ds-space-4) 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ds-price li { position: relative; padding-left: 22px; }
.ds-price li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ds-copper);
}

.ds-table-wrap { overflow-x: auto; max-width: 100%; width: 100%; position: relative; z-index: 1; }
.w1 .section-inner { min-width: 0; }
.ds-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.ds-table th, .ds-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--ds-line); vertical-align: top; }
.ds-table th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--ds-paper-2); }
.ds-table td:first-child { font-weight: 700; color: var(--ds-ink); }
#compare .ds-table-wrap { width: 100%; }
#compare table.ds-table {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ds-form { display: grid; gap: 12px; max-width: 640px; }
.ds-form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.92rem; }
.ds-form input, .ds-form textarea, .ds-form select {
  width: 100%;
  border: 1px solid var(--ds-line-strong);
  border-radius: var(--ds-radius-sm);
  padding: 12px 14px;
  font: inherit;
  font-weight: 450;
  background: #fff;
  color: var(--ds-ink);
}
.ds-form .ds-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 450; }
.ds-form .ds-check input { width: auto; margin-top: 4px; }
.ds-form button { width: 100%; }
.ds-result { margin: 0; }
.ds-result.ok { color: #1f6b45; }
.ds-result.bad { color: #9d2c2c; }

.ds-faq details {
  background: var(--ds-white);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-sm);
  padding: 4px 16px;
  margin-bottom: 8px;
}
.ds-faq summary { min-height: 48px; display: flex; align-items: center; font-weight: 750; cursor: pointer; }
.ds-faq p { margin: 0 0 12px; color: var(--ds-ink-soft); }

.ds-band { padding: var(--ds-space-7) 0; }
.ds-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--ds-space-6); align-items: start; }

/* White on deep copper. Beats the paper-link colour and the nav link colour. */
.w1 .main-nav a.nav-cta,
.w1 a.button-primary,
.w1 a.button.primary,
.w1 p a.ds-btn:not(.ds-btn-ghost),
.w1 .ds-actions a.ds-btn:not(.ds-btn-ghost),
.w1 .tier-checkout a.ds-btn,
.w1 button.ds-btn,
.w1 .submit-btn,
.w1 .hero-url-form .submit-btn,
.w1 #previewBuildCta {
  background: #8d3416;
  color: #fffdf8;
  text-decoration: none;
}
.w1 .main-nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 16px;
}
.w1 .main-nav a.nav-cta:hover,
.w1 a.button-primary:hover,
.w1 a.button.primary:hover,
.w1 p a.ds-btn:not(.ds-btn-ghost):hover,
.w1 button.ds-btn:hover,
.w1 .submit-btn:hover,
.w1 .hero-url-form .submit-btn:hover,
.w1 #previewBuildCta:hover {
  background: #6e2810;
  color: #fffdf8;
  text-decoration: none;
}
.w1 .ds-story a.ds-btn:not(.ds-btn-ghost),
.w1 .ds-story p a.ds-btn:not(.ds-btn-ghost) {
  background: #f6f1e8;
  color: #16332e;
  text-decoration: none;
}
.w1 p a.ds-btn-ghost,
.w1 a.ds-btn-ghost {
  background: transparent;
  color: #14110e;
  text-decoration: none;
  border-color: #14110e;
}
.w1 .ds-story a.ds-btn-ghost,
.w1 .ds-story p a.ds-btn-ghost {
  background: transparent;
  color: #f6f1e8;
  border-color: #f6f1e8;
  text-decoration: none;
}

.w1 .site-footer a,
.site-footer a,
.footer-elite a,
.site-footer .footer-col a,
.footer-links a {
  color: #fffdf8;
  text-decoration-color: #fffdf8;
}
.w1 .site-footer a:hover,
.site-footer a:hover,
.footer-elite a:hover,
.footer-links a:hover { color: #fff; }

.w1 .hero-studio h1.ds-h1-fit {
  max-width: 18em;
  text-wrap: balance;
}

.ds-table-wrap:focus {
  outline: 2px solid #8d3416;
  outline-offset: 3px;
}

.ds-tale { padding: var(--ds-space-8) 0; }
.ds-tale h2 {
  font-family: var(--ds-serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.ds-caption { margin: 16px 0 0; font-size: 0.85rem; color: var(--ds-ink-soft); }
.ds-tale-clinic .ds-caption,
.ds-tale-cafe .ds-caption,
.ds-tale-restaurant .ds-caption { color: rgba(246, 241, 232, 0.88); }

.ds-tale-salon { background: #f8eef1; }
.ds-tale-salon .ds-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.ds-tale-salon .ds-rail li {
  background: #fffdf8;
  border-radius: 18px;
  padding: 18px;
  min-height: 140px;
}
.ds-tale-salon .ds-rail strong { display: block; font-size: 1.4rem; margin-bottom: 8px; }
.ds-salon-scene { margin: 28px 0 0; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; align-items: end; }
.ds-mirror { height: 220px; border-radius: 110px; background: linear-gradient(#fffdf8, #f3e4ea); border: 10px solid #9a3d52; }
.ds-appt { background: #16332e; color: #fffdf8; border-radius: 20px; padding: 20px; }

.ds-tale-clinic { background: #16332e; color: #f6f1e8; }
.ds-tale-clinic .ds-kicker { color: #f0b59a; }
.ds-split-quiet { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.ds-split-quiet article { border: 1px solid rgba(246,241,232,.2); border-radius: 20px; padding: 20px; }
.ds-split-quiet h3 { margin: 0 0 8px; font-family: var(--ds-serif); font-weight: 400; font-size: 1.8rem; }
.ds-window { margin-top: 20px; height: 120px; border-radius: 16px; background: linear-gradient(#d7ebe4, #fffdf8); }

.ds-tale-cafe { background: #1c3a34; color: #f6f1e8; }
.ds-tale-cafe .ds-kicker { color: #f0b59a; }
.ds-tickets { display: flex; gap: 12px; margin-top: 24px; align-items: flex-start; }
.ds-tickets article {
  background: #fffdf8;
  color: #14110e;
  border-radius: 12px;
  padding: 16px;
  width: min(220px, 100%);
}
.ds-tickets article:nth-child(2) { margin-top: 36px; transform: rotate(2deg); }
.ds-tickets article:nth-child(3) { margin-top: 12px; transform: rotate(-3deg); }
.ds-tickets strong { display: block; font-family: var(--ds-serif); font-size: 1.4rem; }

.ds-tale-restaurant { background: #2a1814; color: #f6f1e8; }
.ds-tale-restaurant .ds-kicker { color: #f0b59a; }
.ds-round { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: center; }
.ds-tabletop {
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #6a4034, #3d241c 70%);
  position: relative;
}
.ds-tabletop span {
  position: absolute; width: 54px; height: 54px; border-radius: 50%; background: #fffdf8;
}
.ds-tabletop span:nth-child(1) { left: 40px; top: 50px; }
.ds-tabletop span:nth-child(2) { right: 46px; top: 70px; background: #c4512c; }
.ds-tabletop span:nth-child(3) { left: 100px; bottom: 40px; }

.ds-tale-trade { background: #efe4d4; }
.ds-sheets { position: relative; min-height: 280px; margin-top: 12px; }
.ds-sheets article {
  position: absolute; width: min(320px, 80%);
  background: #fffdf8; border-radius: 16px; padding: 18px;
  box-shadow: var(--ds-shadow);
}
.ds-sheets article:nth-child(1) { left: 0; top: 0; transform: rotate(-6deg); background: #16332e; color: #fffdf8; }
.ds-sheets article:nth-child(2) { left: 28%; top: 40px; }
.ds-sheets article:nth-child(3) { right: 0; top: 90px; transform: rotate(3deg); background: #8d3416; color: #fffdf8; }

.ds-tale-studio { background: #f6f1e8; }
.ds-bars { display: flex; align-items: flex-end; gap: 10px; height: 220px; margin-top: 20px; }
.ds-bars i { display: block; flex: 1; border-radius: 12px 12px 0 0; background: #16332e; font-style: normal; }
.ds-bars i:nth-child(2) { background: #c4512c; height: 70%; }
.ds-bars i:nth-child(1) { height: 46%; }
.ds-bars i:nth-child(3) { height: 88%; background: #24584d; }
.ds-bars i:nth-child(4) { height: 58%; background: #e7a07a; }
.ds-bars i:nth-child(5) { height: 76%; }

.ds-tale-shop { background: #fffdf8; }
.ds-still { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; align-items: center; }
.ds-parcel {
  height: 240px; border-radius: 18px; background: #c4512c;
  transform: rotate(-6deg);
  box-shadow: var(--ds-shadow);
  position: relative;
}
.ds-parcel::before, .ds-parcel::after {
  content: ""; position: absolute; background: #e7a07a;
}
.ds-parcel::before { left: 0; right: 0; top: 50%; height: 10px; }
.ds-parcel::after { top: 0; bottom: 0; left: 50%; width: 10px; }

.ds-tale-estate { background: #d9e4df; }
.ds-estate { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.ds-house { height: 220px; background: #fffdf8; clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%); }
.ds-estate ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ds-estate li { background: #fffdf8; border-radius: 14px; padding: 14px 16px; }

.ds-tale-any .ds-fan { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ds-tale-any .ds-fan article { min-height: 120px; border-radius: 18px; padding: 16px; background: #fffdf8; }
.ds-tale-any .ds-fan article:nth-child(1) { background: #16332e; color: #fffdf8; }
.ds-tale-any .ds-fan article:nth-child(4) { background: #8d3416; color: #fffdf8; }

.ds-story { --ds-progress: 1; }
.ds-story .ds-live-path {
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--ds-progress));
}

.ds-pricing .ds-page h1 {
  max-width: 14ch;
}

.ds-pricing .ds-page .ds-lead {
  max-width: 40rem;
}

.ds-pricing .ds-price h2 {
  font-size: clamp(1.7rem, 2vw, 2.05rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ds-ink);
}

.ds-pricing .ds-amount {
  margin: 10px 0 6px;
}

.ds-pricing [data-deposit-line] {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--ds-line);
  color: var(--ds-ink);
  font-size: 0.98rem;
  line-height: 1.45;
}

.ds-pricing .tier-checkout {
  margin-top: 16px;
}

.ds-pricing .tier-checkout .ds-btn {
  width: 100%;
}

.ds-pricing .ds-price ul {
  margin-top: 18px;
  gap: 10px;
}

@media (min-width: 1440px) {
  .ds-pricing .ds-page {
    padding-top: 128px;
    padding-bottom: 28px;
  }

  .ds-pricing .ds-page h1 {
    font-size: 4.5rem;
    letter-spacing: -0.045em;
    line-height: 0.96;
  }

  .ds-pricing .ds-page .ds-lead {
    font-size: 1.2rem;
    line-height: 1.55;
  }

  .ds-pricing .ds-price-grid {
    gap: 28px;
  }

  .ds-pricing .ds-amount {
    font-size: 3.6rem;
  }

  .ds-pricing .ds-price {
    padding: 28px 26px 30px;
  }
}

@media (max-width: 390px) {
  .ds-pricing .ds-page {
    padding-top: 88px;
  }

  .ds-pricing .ds-page h1 {
    max-width: none;
    font-size: 2.35rem;
    line-height: 1.02;
  }

  .ds-pricing .ds-page .ds-lead {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .ds-pricing .ds-amount {
    font-size: 2.35rem;
  }

  .ds-pricing .ds-price {
    padding: 20px 16px 22px;
  }
}

@media (max-width: 900px) {
  .ds-story-grid, .ds-hook-grid, .ds-layers, .ds-card-grid, .ds-price-grid, .ds-split,
  .ds-salon-scene, .ds-split-quiet, .ds-round, .ds-still, .ds-estate, .ds-tale-salon .ds-rail {
    grid-template-columns: 1fr;
  }
  .ds-story h2, .ds-page h1 { max-width: none; }
  .ds-page { padding-top: 96px; }
  .ds-sheets { min-height: 0; }
  .ds-sheets article,
  .ds-sheets article:nth-child(1),
  .ds-sheets article:nth-child(2),
  .ds-sheets article:nth-child(3) {
    position: relative; left: auto; right: auto; top: auto; width: auto; margin: 0 0 12px; transform: none;
  }
  .ds-tickets { flex-direction: column; }
  .ds-tickets article,
  .ds-tickets article:nth-child(2),
  .ds-tickets article:nth-child(3) { margin-top: 0; transform: none; }
  .ds-parcel { transform: none; }
  .ds-round { justify-items: center; }
}

@media (max-width: 480px) {
  .w1 .site-footer .footer-col a,
  .w1 .footer-legal a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    box-sizing: border-box;
  }
  .w1 .consent-row,
  .w1 .ds-check,
  .w1 label.field:has(input[type="checkbox"]) {
    min-height: 44px;
    align-items: center;
  }
  .w1 .consent-row input[type="checkbox"],
  .w1 .ds-check input[type="checkbox"],
  .w1 label.field input[type="checkbox"],
  .w1 .request-form input[type="checkbox"] {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    flex: 0 0 44px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.ds-motion .ds-reveal {
    transform: translateY(28px);
  }
  html.ds-motion .ds-reveal.is-in {
    transform: none;
    transition: transform .7s ease;
  }
  html.ds-motion .ds-price.is-in,
  html.ds-motion .tier-card.is-in {
    animation: ds-plan 7s ease-in-out infinite;
  }
  html.ds-motion .ds-price:nth-child(2).is-in,
  html.ds-motion .tier-card:nth-child(2).is-in { animation-delay: .15s; }
  html.ds-motion .ds-price:nth-child(3).is-in,
  html.ds-motion .tier-card:nth-child(3).is-in { animation-delay: .3s; }
  .ds-draw, .ds-float { }
  .ds-stage .ds-pop { animation: ds-float 6.5s ease-in-out infinite; }
  .ds-stage .ds-pop-late { animation-delay: .7s; }
}

@keyframes ds-plan {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .ds-draw, .ds-float, .ds-float-late, .ds-pop, .ds-pop-late,
  .ds-price, .tier-card, .ds-reveal, .ds-parallax, .ds-tickets article, .ds-sheets article, .ds-parcel {
    animation: none !important;
    transition: none !important;
  }
  .ds-draw, .ds-story .ds-live-path { stroke-dashoffset: 0 !important; }
  .ds-reveal { transform: none !important; }
  .ds-parallax { transform: none !important; }
  .w1 .how-runs .vignette span { animation: none !important; }
}

/* Round 3: layered product moments. Resting layout is the finished state. Motion is transform-only and off when reduced. */

.ds-moment { margin: 0; min-height: 460px; }
.ds-hook, .ds-story { min-height: 420px; }
.ds-tale { min-height: 320px; }
.ds-moment-stage {
  position: relative;
  min-height: 460px;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  padding: 22px;
  color: #fffdf8;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(231,160,122,.45), transparent 55%),
    linear-gradient(165deg, #1d463e 0%, #10241f 72%);
  box-shadow: 0 24px 50px rgba(16, 24, 20, .16);
}
.ds-moment-stage strong { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -0.03em; }
.ds-phone, .ds-sheet, .ds-slip, .ds-lock, .ds-ticket, .ds-row, .ds-step {
  background: #fffdf8;
  color: #14110e;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0,0,0,.18);
}
.ds-phone, .ds-sheet { padding: 16px; }
.ds-phone header, .ds-sheet header, .ds-slip header { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ds-phone header span, .ds-sheet header span, .ds-k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8d3416; font-weight: 700; }
.ds-times, .ds-spots { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; margin-top: 12px; }
.ds-times span, .ds-spots span {
  display: grid; place-items: center; min-height: 36px; border-radius: 10px;
  background: #efe4d4; font-size: 13px; font-weight: 700;
}
.ds-times .is-on, .ds-spots .is-on { background: #8d3416; color: #fffdf8; }
.ds-lock, .ds-slip, .ds-ticket { padding: 12px 14px; margin-top: 12px; }
.ds-lock b, .ds-ticket b, .ds-slip b { display: block; color: #8d3416; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.ds-lock span, .ds-ticket span, .ds-slip p, .ds-row p { margin: 4px 0 0; }
.ds-moment-live .ds-moment-stage, .ds-moment-salon .ds-moment-stage { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; align-items: end; }
.ds-step { padding: 16px; min-height: 180px; }
.ds-step em { display: block; font-style: normal; color: #8d3416; font-weight: 700; font-size: 12px; letter-spacing: .08em; }
.ds-step strong { display: block; font-size: 2rem; margin: 8px 0; }
.ds-step-live { background: #16332e; color: #fffdf8; }
.ds-step-live p { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,253,248,.2); padding-top: 8px; }
.ds-moment-salon .ds-moment-stage { background: linear-gradient(160deg, #f8eef1, #fffdf8 60%); }
.ds-moment-clinic .ds-moment-stage { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: center; }
.ds-fields { display: grid; gap: 8px; margin-top: 14px; }
.ds-fields span { display: block; background: #efe4d4; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.ds-fields b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8d3416; }
.ds-moment-cafe .ds-moment-stage, .ds-moment-trade .ds-moment-stage { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: stretch; }
.ds-pass { position: relative; overflow: hidden; min-height: 390px; border-radius: 16px; background: repeating-linear-gradient(#d7ebe4, #d7ebe4 12px, #cfe3dc 12px, #cfe3dc 13px); padding: 16px; }
.ds-ticket { width: min(230px, 100%); }
.ds-ticket + .ds-ticket { margin-left: 28px; }
.ds-moment-cafe .ds-slip, .ds-moment-trade .ds-slip { align-self: end; }
.ds-moment-room .ds-moment-stage { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; background: radial-gradient(circle at 30% 40%, #6a4034, #2a1814 68%); }
.ds-moment-room .ds-table {
  width: 200px;
  min-width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #8a5644, #3d241c 70%);
  box-shadow: inset 0 0 0 10px rgba(255,253,248,.08);
  pointer-events: none;
}
.ds-moment-gym .ds-moment-stage { background: #f6f1e8; color: #14110e; }
.ds-class { display: grid; gap: 8px; margin-top: 16px; }
.ds-class p { display: flex; justify-content: space-between; align-items: center; margin: 0; background: #fffdf8; border-radius: 12px; padding: 12px 14px; }
.ds-class .is-on { background: #16332e; color: #fffdf8; }
.ds-moment-shop .ds-moment-stage { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; background: #fffdf8; color: #14110e; }
.ds-parcel-card { border-radius: 18px; background: #c4512c; min-height: 280px; position: relative; box-shadow: 0 16px 36px rgba(20,17,14,.12); }
.ds-parcel-card::before, .ds-parcel-card::after { content: ""; position: absolute; background: #e7a07a; }
.ds-parcel-card::before { left: 0; right: 0; top: 46%; height: 14px; }
.ds-parcel-card::after { top: 0; bottom: 0; left: 46%; width: 14px; }
.ds-moment-estate .ds-moment-stage { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; background: #d9e4df; color: #14110e; }
.ds-house { height: 160px; background: #fffdf8; clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); }
.ds-moment-any .ds-moment-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ds-moment-any .ds-step:nth-child(1) { background: #16332e; color: #fffdf8; }
.ds-moment-any .ds-step:nth-child(4) { background: #8d3416; color: #fffdf8; }
.ds-step-live em,
.ds-moment-any .ds-step:nth-child(1) em,
.ds-moment-any .ds-step:nth-child(4) em { color: #f6d7c8; }

@media (min-width: 1040px) {
  .w1 .hero-ink .device-stage.ds-moment-home {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    align-items: end;
    height: auto;
    min-height: 540px;
    padding-top: 36px;
  }
  .w1 .hero-ink .device-stage.ds-moment-home .book-phone {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin: 0 -36px 0 0;
    z-index: 2;
  }
  .w1 .hero-ink .device-stage.ds-moment-home .owner-office {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    z-index: 1;
  }
}
.w1 .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.w1 .industry-grid a, .w1 .industry-grid picture, .w1 .industry-grid img { min-width: 0; max-width: 100%; }
.w1 .industry-grid img {
  width: 100%;
  max-height: none;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left center;
}
.w1 .evidence-gallery { align-items: stretch; }
.w1 .evidence-gallery .shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left center; }

.w1 .url-field,
.w1 .hero-url-form .url-field input,
.w1 .hero-url-form .submit-btn,
.w1 .submit-btn,
.w1 .field input,
.w1 .field select,
.w1 button.button-primary,
.w1 a.button-primary {
  min-height: 44px;
  box-sizing: border-box;
}
@media (max-width: 800px) {
  .w1 .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-moment-live .ds-moment-stage,
  .ds-moment-salon .ds-moment-stage,
  .ds-moment-clinic .ds-moment-stage,
  .ds-moment-cafe .ds-moment-stage,
  .ds-moment-trade .ds-moment-stage,
  .ds-moment-room .ds-moment-stage,
  .ds-moment-shop .ds-moment-stage,
  .ds-moment-estate .ds-moment-stage,
  .ds-moment-any .ds-moment-stage { grid-template-columns: 1fr; }
  .ds-table { margin: 0 auto; }
}
@media (max-width: 480px) {
  .w1 .logo { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
  .w1 .site-footer .footer-col a,
  .w1 .footer-legal a,
  .site-footer .footer-col a,
  .footer-links a {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 12px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ds-moment-home .time-slots .is-on { animation: ds-pick 6.4s ease-in-out infinite; }
  .ds-moment-home .book-card { animation: ds-stamp 6.4s ease-in-out infinite; }
  .ds-moment-home .agent-bubble { animation: ds-rise 6.4s ease-in-out infinite; }
  .ds-moment-home .office-row:nth-child(2) { animation: ds-rise 6.4s ease-in-out infinite; animation-delay: .4s; }
  .ds-step-idea { animation: ds-rise 7.2s ease-in-out infinite; }
  .ds-step-build { animation: ds-rise 7.2s ease-in-out .25s infinite; }
  .ds-step-live { animation: ds-rise 7.2s ease-in-out .5s infinite; }
  .ds-moment .is-on { animation: ds-pick 6s ease-in-out infinite; }
  .ds-moment .ds-lock, .ds-moment .ds-slip { animation: ds-stamp 6.8s ease-in-out infinite; }
  .ds-ticket-a { animation: ds-print 7.5s ease-in-out infinite; }
  .ds-ticket-b { animation: ds-print 7.5s ease-in-out 1.1s infinite; }
  .ds-sheet { animation: ds-rise 7s ease-in-out infinite; }
  .ds-parcel-card { animation: ds-tilt 8s ease-in-out infinite; }
}
@keyframes ds-pick { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.06); } }
@keyframes ds-stamp { 0% { transform: translateY(18px); } 28%, 100% { transform: translateY(0); } }
@keyframes ds-rise { 0% { transform: translateY(22px); } 30%, 100% { transform: translateY(0); } }
@keyframes ds-print { 0% { transform: translateY(-130%); } 24%, 82% { transform: translateY(0); } 100% { transform: translateY(-130%); } }
@keyframes ds-tilt { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(-2deg); } }

@media (prefers-reduced-motion: reduce) {
  .ds-moment *, .ds-moment-home .book-card, .ds-moment-home .agent-bubble,
  .ds-moment-home .time-slots .is-on, .ds-moment-home .office-row,
  .ds-ticket, .ds-sheet, .ds-parcel-card, .ds-step, .ds-lock, .ds-slip,
  .plan-face .is-on, .plan-slots .is-on, .trade-moment {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Homepage: header.menu-open reveals the real nav. Beats .w1 .main-nav { display:none }. */
@media (max-width: 860px) {
  .w1 .site-header.menu-open {
    overflow: visible;
    height: auto;
  }
  .w1 .site-header.menu-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #faf8f5;
    border-bottom: 1px solid #e4e2dc;
    padding: 8px 24px 16px;
    gap: 4px;
    z-index: 50;
  }
  .w1 .site-header.menu-open .main-nav a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 8px;
  }
  .w1 .site-header.menu-open .main-nav a.nav-cta {
    min-width: 44px;
    padding: 10px 16px;
    justify-content: center;
  }
}

.w1 .hiw-hero .hero-shell {
  align-items: center;
}
.w1 .device-stage.ds-hiw-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  min-height: 0;
  padding-top: 28px;
  margin: 0;
}
.w1 .device-stage.ds-hiw-phone .book-phone {
  position: relative;
  left: auto;
  bottom: auto;
  width: min(280px, 100%);
  margin: 0;
}
.w1 .hiw-caption {
  margin: 12px 0 0;
  max-width: 28ch;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: #3a3b43;
}
.w1 .partner-apply {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 20px;
  align-items: start;
}
.w1 .partner-apply .form-card {
  max-width: none;
}
.w1 .partner-example {
  background: #fff;
  border: 1px solid #e4e2dc;
  border-radius: 16px;
  padding: 20px;
}
.w1 .partner-example-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d3416;
}
.w1 .partner-example h3 {
  margin: 0 0 8px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #121317;
}
.w1 .partner-example p {
  margin: 0 0 10px;
  color: #121317;
}
.w1 .partner-example strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.w1 .partner-example-note {
  margin: 0;
  color: #3a3b43;
  font-size: 0.92rem;
}
@media (max-width: 800px) {
  .w1 .partner-apply {
    grid-template-columns: 1fr;
  }
}

/* Pricing plans and business-type cards: product moments, not flat tiles. */
.plan-face {
  margin: -24px -24px 16px;
  padding: 16px;
  border-radius: 20px 20px 0 0;
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(231, 160, 122, 0.42), transparent 58%),
    linear-gradient(165deg, #2a2724 0%, #141210 78%);
}
.ds-price.is-core .plan-face {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(231, 160, 122, 0.55), transparent 55%),
    linear-gradient(165deg, #3a241c 0%, #141210 78%);
}
.plan-screen {
  background: #fffdf8;
  color: #14110e;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}
.plan-screen header,
.plan-screen p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.plan-screen header {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8d3416;
}
.plan-screen header span { color: #5c5c66; }
.plan-screen p {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #efe4d4;
  font-size: 13px;
  color: #14110e;
}
.plan-screen em {
  font-style: normal;
  font-weight: 750;
  font-size: 12px;
  color: #8d3416;
}
.plan-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.plan-slots span {
  display: grid;
  place-items: center;
  min-height: 36px;
  border-radius: 10px;
  background: #efe4d4;
  color: #14110e;
  font-size: 12px;
  font-weight: 750;
}
.plan-slots .is-on { background: #8d3416; color: #fffdf8; }
.plan-screen p.plan-confirm {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-top: 0;
  border-radius: 12px;
  background: #f8eef1;
}
.plan-confirm b { display: block; color: #8d3416; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.plan-confirm span { display: block; margin-top: 2px; color: #14110e; font-weight: 700; }

.w1 .tier-card .plan-face {
  margin: -20px -20px 8px;
  padding: 10px 12px;
  border-radius: 16px 16px 0 0;
  height: 150px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.w1 .tier-card.is-core .plan-face {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(231, 160, 122, 0.55), transparent 55%),
    linear-gradient(165deg, #3a241c 0%, #141210 78%);
}
.w1 .tier-card .plan-screen { flex: 1; min-height: 0; padding: 8px 10px; }
.w1 .tier-card .plan-screen header,
.w1 .tier-card .plan-screen p {
  font-size: 13px;
  color: #14110e;
}
.w1 .tier-card .plan-screen p { margin-top: 4px; padding-top: 4px; }
.w1 .tier-card .plan-slots { margin-top: 6px; }
.w1 .tier-card .plan-slots span { min-height: 30px; }

.w1 .industry-grid .trade-stage { position: relative; display: block; }
.w1 .industry-grid .trade-moment {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(20, 18, 16, 0.9);
  color: #fffdf8;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}
.w1 .industry-grid .trade-moment em {
  font-style: normal;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f6d7c8;
}

@media (prefers-reduced-motion: no-preference) {
  .plan-slots .is-on,
  .plan-face .is-on { animation: ds-pick 6.4s ease-in-out infinite; }
  .trade-moment { animation: ds-pick 7.2s ease-in-out infinite; }
}
