/* ==================================================================
   March2Wolf — Website Design
   A sales page, so it is quieter than the rest of the site: one idea
   per screen, a lot of air, and the brand carried by the wolf and the
   bronze rather than by texture. Everything here is prefixed dz- so it
   can never reach another page.
   ================================================================== */

.dz {
  background: var(--ink-900);
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */

.dz-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Tall enough to feel like a hero, short enough that the content
     below is clearly there. Content sets the floor, not the viewport,
     so a short window never crushes it. */
  min-height: min(84svh, 760px);
  padding-block: var(--space-3xl) var(--space-2xl);
  background:
    radial-gradient(130% 90% at 72% 42%, rgba(185, 139, 94, 0.13), transparent 62%),
    linear-gradient(180deg, var(--ink-800), var(--ink-900) 78%);
}

/* The warm patch behind the wolf, drifting. It is the same bronze wash
   the hero already had, moved onto its own layer so it can breathe:
   one full pass takes nearly a minute, and it never travels further
   than a few percent of the width. The point is that it is only ever
   noticed out of the corner of the eye. A paw print chasing the
   pointer asked to be looked at, which is why it is gone.
   One rule to delete if it is ever not wanted. */
.dz-hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    46% 52% at 68% 44%,
    rgba(185, 139, 94, 0.1),
    transparent 70%
  );
  animation: dz-drift 54s ease-in-out infinite;
}

@keyframes dz-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(2.5%, -1.8%, 0) scale(1.06); }
  66% { transform: translate3d(-2%, 1.6%, 0) scale(0.97); }
}

@media (prefers-reduced-motion: reduce) {
  .dz-hero::before {
    animation: none;
  }
}

/* ------------------------------------------------------------------
   The wolf

   .dz-wolf is only where this page chooses to stand him. The .wolf-*
   classes belong to js/wolf.js and travel with it, so if he is ever
   wanted on another page these two rules move to css/site.css and the
   placement stays here.
   ------------------------------------------------------------------ */

/* Low on the right, lying on the floor of the hero rather than
   floating in the middle of it, and never cropped by the edge — a
   logo running off the side reads as a mistake rather than as a
   watermark. */
.dz-wolf {
  position: absolute;
  z-index: 0;
  right: clamp(0rem, 2vw, 3rem);
  bottom: clamp(1.5rem, 7vh, 5rem);
  width: clamp(290px, 44vw, 640px);
  pointer-events: none;
}

/* On a phone there is no second column to lie in, so he gets a band of
   his own along the bottom and the hero is given the room for it. Put
   him in the corner instead and he lies across the price line. */
@media (max-width: 48rem) {
  .dz-hero {
    padding-bottom: clamp(11rem, 48vw, 15rem);
  }

  .dz-wolf {
    right: auto;
    left: 50%;
    bottom: clamp(1.5rem, 4vh, 3rem);
    width: min(86vw, 430px);
    transform: translateX(-50%);
  }
}

.wolf-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  /* Only the artwork takes a touch, and touching it must still leave
     the page able to scroll. */
  pointer-events: auto;
  touch-action: pan-y;
}

/* Four tenths of one percent of his height, five seconds a breath. It
   is meant to be felt and not seen; anything you can actually watch is
   too much. */
.wolf-breath {
  transform-box: view-box;
  transform-origin: 55% 87%;
  animation: wolf-breathe 5.2s ease-in-out infinite;
}

/* The script sets this while he is off screen or the tab is hidden. */
[data-still="true"] .wolf-breath {
  animation-play-state: paused;
}

@keyframes wolf-breathe {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.004); }
}

@media (prefers-reduced-motion: reduce) {
  .wolf-breath {
    animation: none;
  }
}

.dz-hero-inner {
  position: relative;
  z-index: 1;
}

.dz-hero-copy {
  max-width: 34rem;
}

.dz-hero-copy h1 {
  font-size: var(--step-display);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-md);
}

.dz-hero-copy .lead {
  max-width: 30rem;
  color: var(--fog-300);
}

.dz-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.dz-note {
  margin: var(--space-md) 0 0;
  color: var(--fog-500);
  font-size: var(--step-small);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------
   Shared section head
   ------------------------------------------------------------------ */

.dz-head {
  max-width: 42rem;
  margin-bottom: var(--space-xl);
}

.dz-head .lead {
  color: var(--fog-500);
  margin-bottom: 0;
}

/* ------------------------------------------------------------------
   Meet the designer
   ------------------------------------------------------------------ */

.dz-who {
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}

.dz-who-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 48rem) {
  .dz-who-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-xl);
  }
}

.dz-portrait {
  position: relative;
  max-width: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.dz-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

/* A thin bronze edge so the photograph reads as placed rather than
   dropped in. */
.dz-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(185, 139, 94, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.dz-who-copy p:last-child {
  margin-bottom: 0;
}

/* Not the eyebrow. It is a <p> like the rest, so a bare .dz-who-copy p
   beats the .eyebrow rule in base.css on specificity and quietly turned
   this one label grey while every other set of capitals on the page
   stayed bronze. */
.dz-who-copy p:not(.eyebrow) {
  color: var(--fog-300);
}

/* ------------------------------------------------------------------
   Work rail
   ------------------------------------------------------------------ */

.dz-rail-shell {
  position: relative;
}

.dz-rail {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Lines its first card up with the heading above it, then runs off
     the right edge, so the cut card is the thing that says "there is
     more" rather than a scrollbar. The snap points have to be moved in
     by the same amount or the first card snaps back against the window
     edge and undoes the alignment. */
  --rail-pad: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  padding-left: var(--rail-pad);
  padding-right: var(--gutter);
  padding-bottom: var(--space-sm);
  scroll-padding-left: var(--rail-pad);
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.dz-rail::-webkit-scrollbar {
  display: none;
}

.dz-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

/* While a drag is in progress nothing inside should be selectable or
   clickable, or the pointer ends up highlighting text instead. */
.dz-rail.is-dragging * {
  pointer-events: none;
  user-select: none;
}

.dz-rail:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
  border-radius: var(--r-md);
}

.dz-card {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
}

@media (min-width: 60rem) {
  .dz-card {
    flex-basis: 380px;
  }
}

/* The desktop and the phone together, because that is the question
   every client asks before they ask anything else. */
.dz-stage {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.dz-tint-lav  { background: linear-gradient(150deg, #2b2b3d, #15161f); }
.dz-tint-sage { background: linear-gradient(150deg, #243029, #141a16); }
.dz-tint-sand { background: linear-gradient(150deg, #332a20, #1a1511); }
.dz-tint-ink  { background: linear-gradient(150deg, #23282b, #121618); }

.dz-screen {
  position: absolute;
  display: block;
  overflow: hidden;
  background: var(--ink-700);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* The capture fills the opening and is cropped from the top, so each
   card shows the top of a real site at its real proportions rather
   than a whole page squashed into a thumbnail. The frame's own
   background stands in until it has loaded. */
.dz-screen img {
  position: absolute;
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

.dz-desk img {
  inset: 14% 0 0;
  height: 86%;
}

.dz-phone img {
  inset: 0;
  height: 100%;
}

.dz-desk {
  left: 7%;
  top: 14%;
  width: 72%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
}

/* The browser chrome, drawn rather than pictured: three dots and a bar
   is all it takes for a shape to read as a website. */
.dz-bar {
  position: absolute;
  inset: 0 0 auto;
  height: 14%;
  min-height: 9px;
  background: var(--ink-600);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dz-bar::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--fog-700);
  box-shadow: 7px 0 0 var(--fog-700), 14px 0 0 var(--fog-700);
}

.dz-phone {
  right: 8%;
  bottom: 10%;
  width: 20%;
  aspect-ratio: 9 / 19;
  border-radius: 10px;
}

/* The face and the tracking come from the uppercase layer at the foot
   of css/site.css, which this class is listed in. Do not set
   letter-spacing here: design.css loads after site.css, so it would
   win, and this label would space differently from every other set of
   capitals on the site. */
.dz-card-tag {
  margin: 0 0 0.2rem;
  color: var(--bronze);
  font-size: var(--step-eyebrow);
  text-transform: uppercase;
}

.dz-card h3 {
  margin: 0;
  color: var(--fog-100);
}

.dz-rail-foot {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.dz-rail-foot .btn {
  margin-left: auto;
}

/* Small round steppers. They exist for keyboards and for anyone who
   does not realise the strip drags. */
.dz-nub {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fog-300);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.dz-nub:hover {
  border-color: var(--bronze);
  color: var(--fog-100);
}

.dz-nub::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}

.dz-nub-next::before {
  transform: translateX(-2px) rotate(-135deg);
}

/* ------------------------------------------------------------------
   Process
   ------------------------------------------------------------------ */

.dz-process {
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}

.dz-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 52rem) {
  .dz-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
  }
}

.dz-step {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(185, 139, 94, 0.3);
}

.dz-step-n {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--bronze);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.dz-step h3 {
  margin-bottom: var(--space-2xs);
}

.dz-step p {
  margin-bottom: 0;
  color: var(--fog-300);
}

/* ------------------------------------------------------------------
   Pricing
   ------------------------------------------------------------------ */

.dz-pricing {
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}

/* The three cards stretch to match the tallest, so the row ends level
   and the three "Book a call" buttons sit on one line. Left to size
   themselves they end 23px apart, which reads as sloppy on the one
   part of the page a buyer scans across rather than down. The middle
   card keeps its emphasis from its border and tint, not from height. */
.dz-tiers {
  display: grid;
  gap: var(--space-md);
  align-items: stretch;
}

@media (min-width: 56rem) {
  .dz-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dz-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
}

/* Pushed to the floor of the card, so a tier with one bullet fewer
   does not leave its button floating halfway up the row. */
.dz-tier > .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* The middle one is where most people belong, so it is allowed to look
   like it. */
.dz-tier-lead {
  border-color: var(--bronze);
  background: rgba(185, 139, 94, 0.06);
}

.dz-flag {
  position: absolute;
  top: 0;
  left: var(--space-lg);
  transform: translateY(-50%);
  margin: 0;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--bronze);
  color: var(--ink-900);
  font-size: var(--step-eyebrow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dz-tier h3 {
  margin-bottom: var(--space-2xs);
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.dz-price {
  margin: 0 0 var(--space-sm);
  color: var(--bronze-bright);
  font-size: 1.15rem;
  font-weight: 600;
}

.dz-tier-for {
  color: var(--fog-500);
  font-size: var(--step-small);
}

.dz-list {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.dz-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--fog-300);
  font-size: var(--step-small);
}

.dz-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bronze);
  opacity: 0.8;
}

/* Pushes the button to the bottom so three cards of different heights
   still line their actions up. */
.dz-tier .btn {
  margin-top: auto;
  align-self: start;
}

.dz-included {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  border-radius: var(--r-lg);
}

.dz-included h3 {
  margin-bottom: var(--space-md);
}

.dz-list-wide {
  margin-bottom: 0;
}

/* --- the side door ---------------------------------------------------- */

/* Deliberately not a fourth price card. It is a bar, not a column, and
   it carries a bronze edge instead of a figure, so a visitor reads it
   as another way in rather than as the cheap option. */
.dz-fixbar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding: var(--space-lg);
  border: 1px solid var(--line);
  border-left: 2px solid var(--bronze);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
}

.dz-fixbar h3 {
  margin: 0 0 var(--space-xs);
}

.dz-fixbar p {
  margin: 0;
  max-width: 62ch;
  color: var(--fog-300);
}

.dz-fixbar-cta {
  flex: none;
}

@media (min-width: 52rem) {
  .dz-fixbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
  }
}

@media (min-width: 44rem) {
  .dz-list-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-lg);
  }
}

.dz-fine {
  margin: var(--space-md) 0 0;
  color: var(--fog-700);
  font-size: var(--step-small);
}

/* ------------------------------------------------------------------
   Paying
   One bar that opens. It is a rounded box with a plus, so it reads as
   something to press rather than as another heading, and it stays
   short enough that a visitor heading for "Book a call" scrolls past
   it in one movement. The plus turns into a minus the same way the
   portfolio's category bars do.
   ------------------------------------------------------------------ */

.dz-pay {
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}

.dz-pay-fold {
  border: 1px solid var(--line);
  border-left: 2px solid var(--bronze);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
}

.dz-pay-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  list-style: none;
  border-radius: var(--r-lg);
  transition: background 0.25s var(--ease);
}

.dz-pay-bar::-webkit-details-marker {
  display: none;
}

.dz-pay-bar:hover,
.dz-pay-bar:focus-visible {
  background: rgba(255, 255, 255, 0.035);
}

.dz-pay-bar:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
}

.dz-pay-icon {
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
}

.dz-pay-icon::before,
.dz-pay-icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--bronze);
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.dz-pay-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.dz-pay-fold[open] .dz-pay-icon::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.dz-pay-title {
  font-family: var(--font-display);
  font-size: var(--step-h3);
  line-height: 1.2;
}

/* Says what is inside, on a screen wide enough to hold it on the same
   line; on a phone the bar stays a single short line. */
.dz-pay-hint {
  display: none;
  color: var(--fog-500);
  font-size: var(--step-small);
}

@media (min-width: 46rem) {
  .dz-pay-bar {
    grid-template-columns: auto auto 1fr;
  }

  .dz-pay-hint {
    display: block;
    justify-self: end;
  }
}

.dz-pay-body {
  padding: 0 var(--space-lg) var(--space-lg);
  animation: dz-pay-in 0.35s var(--ease);
}

@keyframes dz-pay-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.dz-pay-lead {
  margin: 0 0 var(--space-sm);
  color: var(--fog-500);
}

.dz-pay-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
  counter-reset: pay;
}

.dz-pay-list li {
  position: relative;
  padding: var(--space-sm) 0 var(--space-sm) 3rem;
  border-top: 1px solid rgba(185, 139, 94, 0.3);
  color: var(--fog-300);
  counter-increment: pay;
}

.dz-pay-list li::before {
  content: counter(pay, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--space-sm);
  color: var(--bronze);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
}

.dz-pay-list strong,
.dz-pay-note strong {
  color: var(--fog-100);
  font-weight: 600;
}

.dz-pay-note {
  margin: var(--space-sm) 0 0;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
  max-width: 46rem;
  color: var(--fog-300);
  font-size: var(--step-small);
}

@media (prefers-reduced-motion: reduce) {
  .dz-pay-body { animation: none; }
  .dz-pay-bar,
  .dz-pay-icon::before,
  .dz-pay-icon::after { transition: none; }
}

/* ------------------------------------------------------------------
   Book
   ------------------------------------------------------------------ */

.dz-book {
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(185, 139, 94, 0.1), transparent 70%);
  text-align: center;
}

.dz-book-inner .dz-cta {
  justify-content: center;
}

.dz-book-inner .lead {
  margin-inline: auto;
  max-width: 34rem;
  color: var(--fog-300);
}

/* ------------------------------------------------------------------
   Questions
   Hairlines and a plus, the same plus as the payment bar, so the page
   stays quiet however many of these are added.
   ------------------------------------------------------------------ */

.dz-faq .dz-head h2 {
  letter-spacing: 0.04em;
}

.dz-faq-list {
  border-top: 1px solid var(--line-strong);
}

.dz-q {
  border-bottom: 1px solid var(--line-strong);
}

.dz-q summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  cursor: pointer;
  list-style: none;
  color: var(--fog-100);
  font-size: var(--step-body);
  line-height: 1.45;
  transition: color 0.2s var(--ease);
}

.dz-q summary::-webkit-details-marker {
  display: none;
}

.dz-q summary:hover {
  color: var(--bronze-bright);
}

.dz-q summary:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
}

.dz-q summary::before,
.dz-q summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.15rem;
  width: 1rem;
  height: 1px;
  background: var(--bronze);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.dz-q summary::after {
  transform: rotate(90deg);
}

.dz-q[open] summary::after {
  transform: rotate(0deg);
  opacity: 0;
}

.dz-a {
  padding: 0 2.5rem 1.25rem 0;
  color: var(--fog-300);
}

.dz-a p {
  margin: 0 0 var(--space-xs);
}

.dz-a p:last-child {
  margin-bottom: 0;
}

.dz-a a {
  color: var(--bronze-bright);
}

/* ------------------------------------------------------------------
   Booking and questionnaire pages
   Two working pages reached from this one, so they share its charcoal
   field and its type. Nothing here competes with the task on screen.
   ------------------------------------------------------------------ */

.dz-flow {
  padding-block: clamp(3rem, 7vw, 5rem) var(--space-2xl);
}

.dz-flow-head {
  max-width: 44rem;
  margin-bottom: var(--space-lg);
}

.dz-flow-head h1,
.dz-done h1 {
  font-size: var(--step-h1);
  margin-bottom: var(--space-sm);
}

.dz-flow-pick {
  margin: var(--space-sm) 0 0;
  color: var(--bronze-bright);
  font-size: var(--step-small);
  font-weight: 600;
}

.dz-cal {
  min-height: 34rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-800);
}

.dz-cal:focus {
  outline: none;
}

.dz-cal-gate {
  max-width: 44rem;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  border: 1px solid var(--line);
  border-left: 2px solid var(--bronze);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
}

.dz-cal-gate h2 {
  font-size: var(--step-h3);
  margin-bottom: 0.4rem;
}

.dz-cal-gate p {
  color: var(--fog-300);
}

/* Below about 850px wide Cal.com stacks the month above every time of the
   day, which runs to some 2,000px. Keep that inside a box that scrolls. */
@media (max-width: 54rem) {
  .dz-cal {
    min-height: min(34rem, 85svh);
    max-height: min(44rem, 85svh);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--fog-500) transparent;
  }
}

.dz-cal-wait {
  margin: 0;
  padding: var(--space-lg);
  color: var(--fog-500);
}

.dz-cal-fallback,
.dz-flow-alt {
  margin: var(--space-md) 0 0;
  color: var(--fog-500);
  font-size: var(--step-small);
}

.dz-cal-fallback a,
.dz-flow-alt a {
  color: var(--bronze-bright);
}

.dz-done {
  max-width: 44rem;
}

.dz-done:focus {
  outline: none;
}

.dz-done-when {
  margin: 0 0 var(--space-sm);
  color: var(--bronze-bright);
  font-size: var(--step-lead);
}

.dz-done-next {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--line);
  border-left: 2px solid var(--bronze);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
}

.dz-done-next h2 {
  font-size: var(--step-h3);
  margin-bottom: 0.4rem;
}

.dz-done-next p {
  color: var(--fog-300);
}

.dz-part {
  min-width: 0;
  margin: 0 0 var(--space-lg);
  padding: 0;
  border: 0;
}

.dz-part[hidden] {
  display: none;
}

.dz-part legend {
  width: 100%;
  margin-bottom: var(--space-sm);
  padding: 0 0 0.6rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--fog-100);
  font-family: var(--font-display);
  font-size: var(--step-h3);
}

.dz-part .form-grid {
  margin-top: 0;
}

.dz-part .field-label {
  margin: 0 0 0.5rem;
}

.dz-short {
  min-height: 5.25rem;
}

.dz-part .field > label.dz-sub {
  font-weight: 500;
  color: var(--fog-500);
}

.dz-part .field[hidden] {
  display: none;
}

.dz-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.dz-choices-wide {
  display: grid;
}

@media (min-width: 40rem) {
  .dz-choices-wide {
    grid-template-columns: 1fr 1fr;
  }
}

.dz-choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--fog-300);
  font-size: var(--step-small);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.dz-choice:hover {
  border-color: rgba(241, 239, 234, 0.26);
}

.dz-choice:has(input:checked) {
  border-color: var(--bronze);
  background: var(--glow);
  color: var(--fog-100);
}

.dz-choice input {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--bronze);
}

.dz-warn {
  margin: 0;
  color: var(--fog-500);
  font-size: var(--step-small);
}

/* Off the page for everyone, and out of the reading order. Not
   display:none, which simple scripts know to skip. */
.dz-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .dz-q summary,
  .dz-q summary::before,
  .dz-q summary::after,
  .dz-choice { transition: none; }
}
