/* ==========================================================================
   "Start a Project" flow — individual steps
   identity → services → plans → schedule → contact → review → confirmation
   ========================================================================== */

/* ==== 1 · IDENTITY ("I AM") ================================================= */

.identity {
  display: flex;
  flex-direction: column;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  background: var(--white);
}

.identity__panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  font-weight: var(--fw-thin);
  font-size: clamp(20px, 3vw, 38px);
  letter-spacing: -.01em;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2);
}

@media (hover: hover) {
  .identity__panel--top:hover { transform: translateY(-8px); opacity: .9; }
  .identity__panel--bottom:hover { transform: translateY(8px); opacity: .9; }
}

.identity__panel:active {
  transform: scale(.99);
}

.identity__iam {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(96px, 20vh, 170px);
  font-weight: var(--fw-thin);
  font-size: clamp(40px, 8vw, 90px);
  line-height: 1;
}

.identity__close {
  position: absolute;
  top: calc(28px + env(safe-area-inset-top));
  right: 28px;
  z-index: 3;
  color: var(--white);
}

/* ==== 2 · SERVICES =========================================================== */

.flow-head__title--services {
  font-size: clamp(24px, 3vw, 34px);
}

.sub-toggle {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  padding: 0 20px clamp(14px, 2.4vh, 22px);
}

.switch {
  position: relative;
  flex: none;
  width: 46px;
  height: 26px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  transition: background .2s var(--ease-out);
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--black);
  transition: left .2s var(--ease-out), background .2s;
}

.switch[aria-checked="true"] {
  background: var(--black);
}

.switch[aria-checked="true"]::after {
  left: 22px;
  background: var(--white);
}

.sub-toggle__label {
  font-weight: var(--fw-light);
  font-size: var(--fs-sm);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.badge {
  padding: 5px 10px;
  border: 1px solid var(--discount);
  border-radius: 999px;
  color: var(--discount);
  font-weight: var(--fw-medium);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all .2s;
}

.badge.is-on {
  background: var(--discount);
  color: var(--white);
}

.svc-list {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.svc-row {
  position: relative;
  flex: 1 0 auto; /* grow to share the space, never shrink below content */
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(76px, 12vh, 120px);
  padding: clamp(14px, 2vh, 26px) clamp(20px, 5vw, 56px);
  overflow: hidden;
  background: var(--white);
  color: var(--black);
  text-align: left;
  container-type: inline-size;
  transition: background var(--dur-2), opacity .18s;
}

.svc-row.is-selected {
  background: var(--black);
  color: var(--white);
}

.svc-row.is-locked {
  opacity: .4;
  cursor: not-allowed;
}

.svc-row__wipe {
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-3) var(--ease-out);
  pointer-events: none;
}

.svc-row__main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-width: 0;
}

.svc-row__marker {
  flex: none;
  width: 22px;
  font-size: 15px;
  line-height: 1;
  opacity: .9;
}

.svc-row__text {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.svc-row__name {
  font-weight: var(--fw-thin);
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.svc-row__desc {
  max-width: 54ch;
  font-weight: var(--fw-light);
  font-size: var(--fs-sm);
  line-height: 1.45;
  opacity: .5;
  text-wrap: pretty;
}

.svc-row.is-selected .svc-row__desc {
  opacity: .7;
}

.svc-row__marker,
.svc-row__name,
.svc-row__desc {
  transition: transform var(--dur-3) var(--ease-out), color var(--dur-2), opacity .4s;
}

.svc-row__tier {
  flex: none;
  font-weight: var(--fw-light);
  font-size: var(--fs-sm);
  letter-spacing: .02em;
  white-space: nowrap;
  opacity: .85;
}

.svc-row__locked {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .82);
  color: var(--black);
  font-weight: var(--fw-thin);
  font-size: 11px;
  letter-spacing: .16em;
}

/* Hover: black wipe from the left, content slides right */
@media (hover: hover) {
  .svc-row:not(.is-locked):hover {
    color: var(--white);
  }

  .svc-row:not(.is-locked):not(.is-selected):hover .svc-row__wipe {
    transform: scaleX(1);
  }

  .svc-row:not(.is-locked):hover .svc-row__marker {
    transform: translateX(6px);
  }

  .svc-row:not(.is-locked):hover .svc-row__name,
  .svc-row:not(.is-locked):hover .svc-row__desc {
    transform: translateX(10px);
  }

  .svc-row:not(.is-locked):hover .svc-row__desc {
    opacity: .7;
  }
}

/* Narrow rows: the tier/price drops under the description */
@container (max-width: 520px) {
  .svc-row__tier {
    flex-basis: 100%;
    padding-left: 38px;
  }
}

/* ==== 3 · PLANS ============================================================== */

.plans-body {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vh, 40px);
  padding: 8px clamp(20px, 5vw, 64px) 28px;
}

.plan-section__title {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e4e4e4;
  font-weight: var(--fw-medium);
  font-size: 11px;
  letter-spacing: .18em;
  opacity: .5;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  min-height: 184px;
  padding: 26px 24px;
  border: 1px solid #dcdcdc;
  background: var(--white);
  color: var(--black);
  text-align: left;
  container-type: inline-size;
  transition: all .18s var(--ease-out);
}

.plan-card.is-selected {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

@media (hover: hover) {
  .plan-card:not(.is-selected):hover {
    border-color: var(--black);
  }
}

.plan-card:active {
  transform: scale(.99);
}

.plan-card__name {
  font-weight: var(--fw-medium);
  font-size: 11px;
  letter-spacing: .16em;
  opacity: .6;
}

.plan-card__price {
  display: block;
  font-weight: var(--fw-thin);
  font-size: clamp(22px, 13cqi, 42px);
  line-height: .95;
  letter-spacing: -.02em;
}

.plan-card__sub {
  display: block;
  margin-top: 8px;
  font-weight: var(--fw-light);
  font-size: var(--fs-sm);
  opacity: .6;
}

@media (max-width: 779px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .plan-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .plan-card {
    min-height: 0;
    gap: 14px;
    padding: 20px;
  }

  .plan-card__price {
    font-size: clamp(28px, 11cqi, 38px);
  }
}

/* ==== 4 · SCHEDULE ============================================================ */

.sched {
  background: var(--black);
  color: var(--white);
}

.sched__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  filter: grayscale(1) contrast(1.05);
}

.sched__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .42) 42%, rgba(0, 0, 0, .8) 100%);
}

.sched__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(80% 55% at 50% 120%, rgba(255, 255, 255, .16), transparent 58%),
    radial-gradient(70% 45% at 50% -12%, rgba(255, 255, 255, .10), transparent 60%);
}

.flow-head__title--sched {
  font-weight: var(--fw-light);
  font-size: clamp(22px, 3vw, 32px);
}

.flow-head__lead {
  font-weight: var(--fw-light);
  font-size: var(--fs-xs);
  letter-spacing: .05em;
  opacity: .6;
  text-wrap: balance;
}

.sched__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  padding: clamp(8px, 2vh, 24px) clamp(16px, 3vw, 34px) 12px;
}

.sched__col {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vh, 12px);
  min-width: 0;
  min-height: 0;
}

.sched__col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* -- Calendar -- */
.cal {
  display: flex;
  flex-direction: column;
  padding: clamp(11px, 1.1vw, 17px);
}

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cal__nav {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(0, 0, 0, .32);
}

.cal__nav .chev {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

.cal__nav:active {
  transform: scale(.9);
}

.cal__month {
  font-weight: var(--fw-bold);
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: .02em;
}

.cal__dow,
.cal__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cal__dow {
  gap: 2px;
  margin-bottom: 4px;
  font-weight: var(--fw-medium);
  font-size: 9px;
  letter-spacing: .05em;
  text-align: center;
  opacity: .5;
}

.cal__days {
  grid-auto-rows: minmax(38px, 1fr);
  gap: 4px;
}

.cal__day {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: var(--fw-light);
  font-size: clamp(14px, 1.5vw, 20px);
  user-select: none;
  transition: background var(--dur-1), color var(--dur-1);
}

.cal__day:disabled {
  color: rgba(255, 255, 255, .24);
}

.cal__day.is-sunday:disabled {
  text-decoration: line-through;
}

.cal__day.is-today {
  border-color: rgba(255, 255, 255, .55);
}

.cal__day.is-selected {
  background: var(--white);
  color: var(--black);
  font-weight: var(--fw-regular);
}

@media (hover: hover) {
  .cal__day:not(:disabled):not(.is-selected):hover {
    background: rgba(255, 255, 255, .16);
  }
}

/* -- Time picker -- */
.time {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(14px, 1.6vw, 22px);
  background:
    radial-gradient(130% 130% at 50% 0%, rgba(255, 255, 255, .12), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  background-color: rgba(18, 18, 20, .45);
}

.time__row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.time__clock {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 13px;
  background: rgba(0, 0, 0, .28);
}

.time__spin {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time__spin button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 26px;
}

.time__spin button:active {
  opacity: .5;
}

.time__spin .chev {
  width: 12px;
  height: 12px;
  stroke-width: 1.6;
}

.time__value {
  font-weight: var(--fw-light);
  font-size: clamp(28px, 3.4vh, 42px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.time__colon {
  padding-bottom: 4px;
  font-weight: var(--fw-light);
  font-size: 34px;
}

.time__mer {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mer-btn {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  letter-spacing: .06em;
  transition: background var(--dur-1), color var(--dur-1);
}

.mer-btn.is-on {
  background: var(--white);
  color: var(--black);
}

.mer-btn:active {
  transform: scale(.94);
}

.time__note {
  margin-top: 10px;
  font-size: 11px;
  opacity: .55;
  text-align: center;
}

/* -- How we meet / where we shoot -- */
.seg {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(0, 0, 0, .32);
}

.seg button {
  padding: 7px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .7);
  font-weight: var(--fw-medium);
  font-size: 10px;
  letter-spacing: .1em;
  transition: all var(--dur-1);
}

.seg button.is-on {
  background: var(--white);
  color: var(--black);
}

.meet-modes {
  display: flex;
  gap: clamp(6px, .8vw, 10px);
}

.meet-mode {
  flex: 1;
  min-width: 0;
  padding: clamp(11px, 1.4vh, 15px) clamp(10px, 1.4vw, 17px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  text-align: left;
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}

.meet-mode.is-on {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.meet-mode:active {
  transform: scale(.97);
}

.meet-mode__label {
  display: block;
  font-weight: var(--fw-light);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.05;
}

.meet-mode__sub {
  display: block;
  margin-top: 5px;
  font-weight: var(--fw-medium);
  font-size: 9px;
  letter-spacing: .14em;
  opacity: .5;
}

.remote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 190px;
  padding: clamp(22px, 3vw, 40px);
  background: radial-gradient(130% 130% at 50% 0%, rgba(255, 255, 255, .1), rgba(0, 0, 0, 0) 62%), rgba(18, 18, 20, .45);
}

.remote__title {
  font-weight: var(--fw-light);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.05;
}

.remote__body {
  max-width: 34ch;
  font-weight: var(--fw-light);
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 1.6;
  opacity: .6;
  text-wrap: pretty;
}

.remote__foot {
  margin-top: 6px;
  font-weight: var(--fw-medium);
  font-size: 10px;
  letter-spacing: .2em;
  opacity: .4;
}

/* -- Map (Leaflet) -- */
.map-block {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vh, 12px);
  min-height: 0;
}

.map-wrap {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: #111;
  box-shadow: inset 0 0 90px rgba(255, 255, 255, .06);
}

.map-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.map-wrap__sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 85% at 50% 122%, rgba(255, 255, 255, .14), transparent 55%),
    radial-gradient(110% 60% at 50% -10%, rgba(255, 255, 255, .10), transparent 60%);
  mix-blend-mode: screen;
}

.map-wrap__locate {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(0, 0, 0, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-weight: var(--fw-medium);
  font-size: 10px;
  letter-spacing: .08em;
}

.map-wrap__hints {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
  font-weight: var(--fw-light);
  font-size: 10px;
  letter-spacing: .03em;
}

.map-wrap__hints span {
  padding: 5px 9px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.map-wrap__hints span + span {
  flex: none;
  opacity: .75;
}

.map-pin {
  width: 16px;
  height: 16px;
  border: 3px solid var(--black);
  background: var(--white);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .55);
  animation: pinDrop .5s var(--ease-out);
}

/* Leaflet tiles: blurred monochrome until focused */
.map-wrap .leaflet-container {
  background: #111;
  font-family: inherit;
}

.map-wrap .leaflet-tile-pane {
  filter: grayscale(1) contrast(1.06) brightness(1.05) blur(7px);
  transition: filter .6s var(--ease-out);
}

.map-wrap:hover .leaflet-tile-pane,
.map-wrap.is-focused .leaflet-tile-pane {
  filter: grayscale(1) contrast(1.06) brightness(1.05) blur(0);
}

.map-wrap .leaflet-control-zoom,
.map-wrap .leaflet-control-attribution {
  display: none;
}

.loc-fields {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.loc-fields__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.loc-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  font-weight: var(--fw-light);
  font-size: 16px; /* ≥16px stops iOS zooming on focus */
  outline: none;
}

.loc-input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.loc-input:disabled {
  opacity: .5;
}

.loc-input:focus {
  border-color: rgba(255, 255, 255, .55);
}

.loc-search {
  position: relative;
}

.loc-search .loc-input {
  padding-right: 48px;
}

.loc-search__go {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  transform: translateY(-50%);
}

.sched__summary {
  position: relative;
  z-index: 2;
  flex: none;
  padding: 8px clamp(16px, 3vw, 34px) 10px;
  font-weight: var(--fw-light);
  font-size: clamp(13px, 1.4vw, 16px);
  opacity: .9;
}

/* Two columns from 820px */
@media (min-width: 820px) {
  .sched__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tall desktop: everything fits one screen, calendar stretches to fill */
@media (min-width: 820px) and (min-height: 760px) {
  .sched .flow-body {
    display: flex;
    flex-direction: column;
  }

  .sched__grid {
    flex: 1;
    min-height: 0;
  }

  .cal {
    flex: 2;
    min-height: 0;
  }

  .cal__days {
    flex: 1;
    min-height: 0;
  }

  .time {
    flex: 1.1;
    min-height: 140px;
  }

  .remote {
    flex: 1;
  }

  .map-block {
    flex: 1;
  }

  .map-wrap {
    flex: 1;
    min-height: 170px;
  }
}

/* ==== 5 · CONTACT / CREATIVE DIRECTION ======================================= */

.contact-body {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vh, 18px);
  padding: 0 var(--flow-pad-x) 14px;
}

.idea {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: clamp(16px, 2.2vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: var(--black);
}

.idea__head {
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(12px, 1.8vh, 18px);
}

.idea__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ai-wave {
  flex: none;
  width: 28px;
  height: 28px;
}

.ai-wave rect {
  fill: var(--white);
  transform-box: fill-box;
  transform-origin: center;
  animation: aiwave 1.05s ease-in-out infinite;
}

.ai-wave rect:nth-child(2) { animation-delay: .13s; }
.ai-wave rect:nth-child(3) { animation-delay: .26s; }
.ai-wave rect:nth-child(4) { animation-delay: .39s; }

.idea__title {
  font-weight: var(--fw-thin);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: .9;
  letter-spacing: -.02em;
}

.idea__sub {
  margin-top: 9px;
  font-weight: var(--fw-regular);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .5;
}

.polish-btn {
  min-width: 180px;
  padding: 13px 30px;
  border: 1px solid var(--white);
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  transition: opacity .18s;
}

.polish-btn:hover {
  opacity: .82;
}

.polish-btn.is-busy {
  opacity: .7;
  cursor: progress;
}

.idea__area {
  flex: 1;
  width: 100%;
  min-height: 160px;
  padding: 16px 17px;
  border: 1px solid var(--white);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  font-weight: var(--fw-light);
  font-size: 16px;
  line-height: 1.6;
  outline: none;
  resize: none;
}

.idea__area::placeholder {
  color: #767676;
}

.idea__foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 12px;
}

.idea__hint {
  font-weight: var(--fw-light);
  font-size: 11px;
  opacity: .5;
}

.bullet-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--fw-regular);
  font-size: 10px;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: .55;
}

.bullet-note::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.bullet-note--plain {
  font-weight: var(--fw-light);
  text-transform: none;
  opacity: .45;
}

.idea__scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.idea__scan::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .10), transparent);
  animation: aiscan 1.1s linear infinite;
}

@media (min-height: 700px) {
  .contact-body {
    min-height: 100%;
  }
}

/* ==== 6 · REVIEW / STATEMENT OF WORK ======================================== */

.express {
  padding: clamp(14px, 2.4vh, 24px) var(--flow-pad-x) clamp(8px, 1.6vh, 14px);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.express__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.xpay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 52px;
  padding: 14px;
  border-radius: 9px;
  font-weight: var(--fw-medium);
  font-size: 17px;
  letter-spacing: -.01em;
  transition: opacity var(--dur-1), background var(--dur-1);
}

.xpay svg {
  width: 21px;
  height: 21px;
}

.xpay--apple {
  background: var(--black);
  color: var(--white);
  fill: var(--white);
}

.xpay--google {
  border: 1px solid #dadce0;
  background: var(--white);
  color: #5f6368;
  font-size: 16px;
  letter-spacing: .01em;
}

.xpay--apple:hover { opacity: .85; }
.xpay--google:hover { background: #f8f9fa; }
.xpay:active { transform: scale(.99); }

.or-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  font-weight: var(--fw-light);
  font-size: 10px;
  letter-spacing: .16em;
}

.or-rule::before,
.or-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .2);
}

.or-rule span {
  opacity: .5;
  text-align: center;
}

.tax-note {
  margin-top: 11px;
  font-weight: var(--fw-light);
  font-size: var(--fs-xs);
  text-align: center;
  opacity: .62;
  text-wrap: balance;
}

.hv-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: clamp(12px, 2vh, 18px) var(--flow-pad-x) 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 9px;
}

.hv-banner__kicker {
  margin-bottom: 5px;
  font-weight: var(--fw-medium);
  font-size: 11px;
  letter-spacing: .14em;
  opacity: .6;
}

.hv-banner__text {
  max-width: 52ch;
  font-weight: var(--fw-light);
  font-size: var(--fs-sm);
  line-height: 1.5;
  opacity: .85;
}

.hv-banner__link {
  flex: none;
  padding: 13px 20px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xs);
  letter-spacing: .08em;
  white-space: nowrap;
}

.review-row {
  display: grid;
  grid-template-columns: clamp(90px, 14vw, 150px) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
  padding: clamp(13px, 2vh, 20px) var(--flow-pad-x);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.review-row__label {
  padding-top: 4px;
  font-weight: var(--fw-medium);
  font-size: 11px;
  letter-spacing: .16em;
  opacity: .5;
}

.review-row__value {
  min-width: 0;
  font-weight: var(--fw-light);
  font-size: clamp(16px, 1.9vw, 22px);
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.edit-btn {
  padding: 8px 0;
  font-weight: var(--fw-regular);
  font-size: 11px;
  letter-spacing: .14em;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity var(--dur-1);
}

.edit-btn:hover {
  opacity: .55;
}

.review-section {
  padding: clamp(14px, 2.2vh, 24px) var(--flow-pad-x);
}

.review-section__title {
  margin-bottom: 12px;
  font-weight: var(--fw-medium);
  font-size: 10px;
  letter-spacing: .16em;
  opacity: .5;
}

.fee-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-weight: var(--fw-light);
}

.fee-row__name {
  margin-right: 10px;
  font-size: 15px;
}

.fee-row__desc {
  display: inline-block;
  font-size: var(--fs-xs);
  opacity: .5;
}

.fee-row__total {
  font-size: 15px;
  white-space: nowrap;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid--1 { grid-template-columns: minmax(0, 1fr); }
.choice-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  text-align: left;
  transition: all var(--dur-1);
}

.choice.is-on,
.method.is-on {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.choice:active,
.method:active {
  transform: scale(.98);
}

.choice__label {
  font-weight: var(--fw-regular);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
}

.choice__sub {
  margin-top: 5px;
  font-weight: var(--fw-light);
  font-size: 11px;
  opacity: .7;
}

.method {
  min-width: 0;
  padding: 18px 8px;
  border: 1px solid rgba(255, 255, 255, .3);
  font-weight: var(--fw-thin);
  font-size: 11px;
  letter-spacing: .06em;
  text-align: center;
  transition: all var(--dur-1);
}

.wire-note {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .3);
  font-weight: var(--fw-light);
  font-size: var(--fs-xs);
  line-height: 1.7;
  opacity: .8;
  overflow-wrap: anywhere;
}

.totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 460px;
  margin-left: auto;
}

.totals__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: var(--fw-light);
  font-size: 14px;
}

.totals__row > span:first-child {
  opacity: .6;
}

.totals__row--total {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .3);
  font-weight: var(--fw-regular);
  font-size: 16px;
}

.totals__row--total > span:first-child {
  opacity: 1;
  letter-spacing: .06em;
}

.totals__row--due {
  padding-top: 10px;
  border-top: 2px solid var(--white);
  font-weight: var(--fw-bold);
  font-size: 19px;
}

.totals__row--due > span:first-child {
  opacity: 1;
}

.totals__discount {
  color: var(--accent);
}

.state-select {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 6px;
  background: var(--black);
  color: var(--white);
  font-weight: var(--fw-light);
  font-size: 16px;
  outline: none;
  cursor: pointer;
}

.terms {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
}

.terms__head {
  margin-right: 8px;
  font-weight: var(--fw-medium);
  font-size: 10px;
  letter-spacing: .16em;
  opacity: .5;
}

.terms__item {
  font-weight: var(--fw-light);
  font-size: var(--fs-xs);
  opacity: .75;
}

.terms__item::after {
  content: "·";
  margin: 0 5px;
  opacity: .3;
}

.terms__note {
  margin-top: 12px;
  font-weight: var(--fw-light);
  font-size: 11px;
  line-height: 1.7;
  opacity: .55;
}

.terms__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 12px;
  font-weight: var(--fw-regular);
  font-size: 11px;
}

.terms__links a,
.agree a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Pinned footer: agreement + pay */
.agree {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin: 14px 0 10px;
  padding: 0 clamp(16px, 6vw, 96px);
  cursor: pointer;
}

.agree.is-nudging {
  animation: nudge .35s var(--ease-out) 2;
}

.agree__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--white);
  font-size: 14px;
  line-height: 1;
  transition: all .18s var(--ease-out);
}

.agree__box svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  opacity: 0;
}

.agree.is-checked .agree__box {
  background: var(--white);
  color: var(--black);
}

.agree.is-checked .agree__box svg {
  opacity: 1;
}

.agree__text {
  max-width: 76ch;
  font-weight: var(--fw-light);
  font-size: clamp(11px, 1.05vw, 13px);
  line-height: 1.45;
}

.secure-note {
  position: relative;
  z-index: 2;
  flex: none;
  padding: 0 16px 12px;
  font-weight: var(--fw-light);
  font-size: 10px;
  text-align: center;
  opacity: .4;
}

.pay-btn {
  font-size: 17px;
  padding-top: clamp(22px, 4.4vh, 40px);
  padding-bottom: calc(clamp(22px, 4.4vh, 40px) + env(safe-area-inset-bottom));
  text-transform: none;
}

/* Solid (not opacity) so scrolled content never shows through the pinned bar */
.pay-btn.is-disabled {
  background: #666;
  color: #1f1f1f;
  cursor: not-allowed;
}

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

@media (max-width: 639px) {
  .choice-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .totals {
    max-width: none;
  }
}

@media (max-width: 479px) {
  /* Label + EDIT on one line, value below */
  .review-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 16px;
  }

  .review-row__value {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .choice-grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .agree {
    align-items: flex-start;
    text-align: left;
  }
}

/* ==== 7 · CONFIRMATION ======================================================= */

.confirm {
  overflow-y: auto;
  padding: calc(40px + env(safe-area-inset-top)) 20px calc(40px + env(safe-area-inset-bottom));
  text-align: center;
}

.confirm__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  animation: scanline 2.6s cubic-bezier(.4, 0, .2, 1) infinite;
  pointer-events: none;
}

/* margin:auto centres vertically but still scrolls when content is taller */
.confirm__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: auto;
}

.confirm__check {
  width: 104px;
  height: 104px;
  margin-bottom: 30px;
  fill: none;
  stroke: var(--white);
}

.confirm__check circle {
  stroke-width: 2;
  stroke-dasharray: 340;
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
  animation: ringMorph 1s var(--ease-out) both;
}

.confirm__check path {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 120;
  animation: checkMorph 1s var(--ease-out) .5s both;
}

.confirm__title {
  font-weight: var(--fw-thin);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1;
}

.confirm__lead {
  max-width: 44ch;
  margin-top: 20px;
  font-weight: var(--fw-thin);
  font-size: clamp(14px, 1.6vw, 17px);
  opacity: .65;
  text-wrap: balance;
}

.confirm__table {
  width: min(520px, 100%);
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, .24);
  text-align: left;
}

.confirm__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-weight: var(--fw-thin);
  font-size: var(--fs-sm);
}

.confirm__row:last-child {
  border-bottom: 0;
}

.confirm__row > span:first-child {
  letter-spacing: .06em;
  opacity: .55;
}

.confirm__row > span:last-child {
  text-align: right;
  overflow-wrap: anywhere;
}

.confirm__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.confirm__btn {
  padding: 18px 34px;
  border: 1px solid rgba(255, 255, 255, .4);
  font-weight: var(--fw-thin);
  font-size: 14px;
}

.confirm__btn--primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.confirm__btn:active {
  transform: scale(.97);
}

@media (max-width: 479px) {
  .confirm__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .confirm__row {
    padding: 14px 16px;
  }
}

/* ==== 6 · YOUR DETAILS ======================================================= */

.details-body {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 30px);
  max-width: 980px;
  margin: 0 auto;
  padding: 4px var(--flow-pad-x) 24px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field__label {
  font-weight: var(--fw-medium);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .6;
}

.field__input {
  width: 100%;
  padding: 15px 16px;
  border: 2px solid var(--white);
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  font-weight: var(--fw-light);
  font-size: 16px; /* ≥16px stops iOS zooming on focus */
  outline: none;
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}

.field__input::placeholder {
  color: #767676;
}

.field__input:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
}

/* Errors: a clear red edge + message (red is readable on black: 5.9:1) */
.field.has-error .field__input {
  border-color: #ff5a5a;
}

.field__error {
  min-height: 1.4em; /* reserves the line so the layout doesn't jump */
  color: #ff7a7a;
  font-weight: var(--fw-regular);
  font-size: var(--fs-xs);
  line-height: 1.4;
}

.chips {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 0;
  min-width: 0;
}

.chips legend {
  margin-bottom: 12px;
}

.chips__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 6px;
  font-weight: var(--fw-regular);
  font-size: 11px;
  letter-spacing: .06em;
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}

.chip.is-on {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.chips.has-error .chip:not(.is-on) {
  border-color: rgba(255, 90, 90, .7);
}

@media (hover: hover) {
  .chip:not(.is-on):hover {
    border-color: var(--white);
  }
}

/* Honeypot: off-screen, not display:none (some bots skip hidden inputs) */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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