/* =========================================================
   PLAN YOUR PROJECT — brief builder (assets/fx/brief.js)
   ========================================================= */
.brief-page { min-height: 100svh; }
.brief-host { min-height: 100svh; }
.has-brief .quick { display: none !important; } /* the brief has its own WhatsApp button */
/* form text scrolls under the transparent site header: give it a quiet backing on light ground */
.has-brief:not(.menu-open) .header.is-dark {
  background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* static fallback (no JS, or the module failed) */
.brief-fallback {
  min-height: 100svh; display: grid; align-content: center; gap: 22px;
  padding-top: calc(var(--header-h) + 48px); padding-bottom: 96px;
}
.brief-fallback__title { font-size: clamp(44px, 7.4vw, 128px); font-weight: 300; line-height: 0.95; letter-spacing: -0.035em; }
.brief-fallback__title em, .bf em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: -0.015em; }
.brief-fallback__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.brief-fallback__mail { font-family: var(--f-ui); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.brief-preview-note { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 18px; background: var(--bone-2); color: var(--ink); }
.brief-preview-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- shell ---------- */
.bf {
  --bf-mute: rgba(36, 35, 35, 0.7);
  --bf-line: var(--line-dark);
  --bf-max: 1320px;
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 4px) var(--gutter) 0;
  color: var(--ink);
}
.bf [hidden] { display: none !important; }
.bf__top, .bf__stage, .bf__navrow, .bf__privacy { width: 100%; max-width: var(--bf-max); margin-inline: auto; }
.bf__toprow { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.bf__h1 { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.bf__h1::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brick); }
.bf__count { color: var(--bf-mute); font-variant-numeric: tabular-nums; }

/* progress: eight segments, like a scale bar */
.bf__progress { list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; margin-top: 14px; }
.bf__progress li > * { position: relative; display: grid; gap: 10px; width: 100%; text-align: left; padding: 0; }
.bf__progress button::after { content: ''; position: absolute; inset: -16px 0 -14px; } /* ≥44px tap area */
.bf__progress i { display: block; height: 2px; background: var(--bf-line); position: relative; overflow: hidden; }
.bf__progress i::after {
  content: ''; position: absolute; inset: 0; background: var(--ink);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.8s var(--ease-out), background-color 0.4s;
}
.bf__progress .done i::after { transform: none; }
.bf__progress .now i::after { transform: none; background: var(--brick); }
.bf__progress b {
  font-family: var(--f-ui); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bf-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s;
}
.bf__progress .now b { color: var(--ink); }
.bf__progress button:hover b { color: var(--brick); }
@media (max-width: 899px) {
  .bf__progress b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bf__progress button::after { inset: -20px 0 -22px; }
}

/* ---------- a screen ---------- */
.bf__stage { flex: 1; padding-block: clamp(28px, 5.5vh, 72px) clamp(36px, 6vh, 80px); }
.bf__screen { will-change: auto; }
.bf-grid { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .bf-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 140px); align-items: start; }
  .bf-q { position: sticky; top: calc(var(--header-h) + 24px); }
}
.bf-q__k { color: var(--bf-mute); margin-bottom: 18px; }
.bf-q__t { font-size: clamp(36px, 4.4vw, 70px); font-weight: 300; line-height: 1.02; letter-spacing: -0.028em; outline: none; }
.bf-q__h { margin-top: 18px; max-width: 40ch; font-size: 16px; line-height: 1.6; color: var(--bf-mute); font-weight: 400; }
@media (max-width: 899px) {
  .bf[data-step='feel'] .bf-q__h { display: none; } /* the deck explains itself; keeps Like/Skip above the fold */
  .bf-q__t { font-size: clamp(32px, 9.4vw, 46px); }
  .bf-q__k { margin-bottom: 12px; }
  .bf-q__h { margin-top: 12px; font-size: 15px; }
}
.bf-a { min-width: 0; max-width: 760px; }

/* ---------- intro ---------- */
.bf-intro { display: grid; gap: 40px; }
@media (min-width: 900px) { .bf-intro { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(48px, 7vw, 140px); align-items: end; } }
.bf-intro__title { font-size: clamp(46px, 7.2vw, 124px); font-weight: 300; line-height: 0.94; letter-spacing: -0.04em; outline: none; }
.bf-intro__lead { margin-top: 28px; max-width: 40ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; font-weight: 400; }
.bf-intro__list {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--bf-line); max-width: 640px;
  font-family: var(--f-ui); font-size: 14px;
}
@media (min-width: 640px) { .bf-intro__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bf-intro__list span { color: var(--bf-mute); margin-right: 8px; font-size: 12px; letter-spacing: 0.1em; }
.bf-intro__note { margin-top: 24px; max-width: 52ch; font-size: 14px; color: var(--bf-mute); font-weight: 400; }
.bf-intro__resume { margin-top: 8px; }
.bf-intro__fig img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 62% 50%; border-radius: var(--radius); background: var(--bone-2); }
.bf-intro__fig figcaption { margin-top: 12px; color: var(--bf-mute); }
@media (max-width: 899px) { .bf-intro__fig img { aspect-ratio: 16 / 11; border-radius: var(--radius-sm); } }

/* ---------- options (one choice) ---------- */
.bf-opts { border-top: 1px solid var(--bf-line); }
.bf-opt { position: relative; display: block; cursor: pointer; }
.bf-opt input { position: absolute; opacity: 0; pointer-events: none; }
.bf-opt__box {
  position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; align-items: center; gap: 14px;
  min-height: 72px; padding: 14px 4px; border-bottom: 1px solid var(--bf-line); isolation: isolate;
  transition: padding 0.45s var(--ease-out);
}
.bf-opts--slots .bf-opt__box { grid-template-columns: minmax(0, 1fr) 24px; min-height: 64px; }
.bf-opt__box::before {
  content: ''; position: absolute; inset: 0 -12px; z-index: -1; border-radius: 12px; background: var(--bone-2);
  opacity: 0; transition: opacity 0.35s;
}
.bf-opt__n { font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.1em; color: var(--bf-mute); }
.bf-opt__txt { display: grid; gap: 2px; }
.bf-opt__t { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.25; font-weight: 400; letter-spacing: -0.005em; }
.bf-opt__s { font-size: 14px; color: var(--bf-mute); font-weight: 400; }
.bf-opt__z { color: var(--ink); }
.bf-opt__dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(36, 35, 35, 0.35); transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s; justify-self: end; }
@media (hover: hover) {
  .bf-opt:hover .bf-opt__box { padding-left: 12px; }
  .bf-opt:hover .bf-opt__box::before { opacity: 0.6; }
}
.bf-opt input:checked + .bf-opt__box::before { opacity: 1; }
.bf-opt input:checked + .bf-opt__box .bf-opt__dot { border-color: var(--ink); background: var(--brick); box-shadow: inset 0 0 0 4px var(--bone-2); }
.bf-opt input:focus-visible + .bf-opt__box { outline: 2px solid var(--brick); outline-offset: -2px; border-radius: 12px; }
.bf-error { margin-top: 14px; color: var(--brick); font-size: 15px; font-weight: 400; }

/* ---------- fields ---------- */
.bf-fields { display: grid; gap: 34px; }
.bf-field { display: grid; gap: 12px; min-width: 0; }
.bf-field__l { font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.bf-opt-tag { font-style: normal; color: var(--bf-mute); margin-left: 0.3em; }
.bf :where(input:not([type='radio']):not([type='checkbox']), select, textarea) {
  width: 100%; min-height: 50px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(36, 35, 35, 0.3); border-radius: 0;
  background: transparent; color: var(--ink); font: 400 19px/1.4 var(--f-display); -webkit-appearance: none; appearance: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.bf :where(textarea) { resize: vertical; min-height: 84px; line-height: 1.5; }
.bf :where(input, textarea)::placeholder { color: rgba(36, 35, 35, 0.42); }
.bf :where(input:not([type='radio']):not([type='checkbox']), select, textarea):focus {
  outline: none; border-bottom-color: var(--ink); box-shadow: inset 0 -2px 0 var(--brick);
}
.bf-select { position: relative; display: block; }
.bf-select::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg); pointer-events: none;
}
.bf :where(select) { padding-right: 32px; cursor: pointer; }
.bf-note { font-size: 14px; line-height: 1.55; color: var(--bf-mute); font-weight: 400; max-width: 56ch; }
.bf-note--tiny { font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.bf-fields > .bf-note { margin-top: -22px; }
.bf-two { display: grid; gap: 34px; }
@media (min-width: 640px) { .bf-two { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* chips (several choices, or one) */
.bf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-chip { position: relative; }
.bf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.bf-chip span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px;
  border: 1px solid rgba(36, 35, 35, 0.22); border-radius: 999px; cursor: pointer;
  font-family: var(--f-ui); font-size: 14px; line-height: 1.2; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.bf-chip span::before {
  content: ''; flex: none; width: 10px; height: 10px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.4px no-repeat, linear-gradient(currentColor, currentColor) center / 1.4px 100% no-repeat;
  transition: transform 0.4s var(--ease-out);
}
.bf-chip input[type='radio'] + span::before { width: 8px; height: 8px; border-radius: 50%; background: none; box-shadow: inset 0 0 0 1.4px currentColor; }
@media (hover: hover) { .bf-chip span:hover { border-color: var(--ink); } }
.bf-chip input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.bf-chip input[type='checkbox']:checked + span::before { transform: rotate(45deg); }
.bf-chip input[type='radio']:checked + span::before { background: var(--brick); box-shadow: none; }
.bf-chip input:focus-visible + span { outline: 2px solid var(--brick); outline-offset: 2px; }

/* segmented (unit) */
.bf-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid rgba(36, 35, 35, 0.22); border-radius: 999px; }
.bf-seg__o { position: relative; }
.bf-seg__o input { position: absolute; opacity: 0; pointer-events: none; }
.bf-seg__o span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font-family: var(--f-ui); font-size: 14px; transition: background-color 0.3s, color 0.3s;
}
.bf-seg__o input:checked + span { background: var(--ink); color: var(--bone); }
.bf-seg__o input:focus-visible + span { outline: 2px solid var(--brick); outline-offset: 2px; }
/* tiles (where you live) */
.bf-seg--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; border: 0; border-radius: 0; }
@media (min-width: 640px) { .bf-seg--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bf-seg--grid .bf-seg__o span { width: 100%; min-height: 58px; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid rgba(36, 35, 35, 0.22); text-align: center; }

/* plot size */
.bf-size { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px; }
.bf .bf-size input { width: 6.5ch; font-size: 40px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; padding-bottom: 6px; }

/* slope tiles */
.bf-slopes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .bf-slopes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bf-slope { position: relative; }
.bf-slope input { position: absolute; opacity: 0; pointer-events: none; }
.bf-slope > span {
  display: grid; gap: 8px; padding: 14px 14px 12px; border: 1px solid rgba(36, 35, 35, 0.22); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color 0.3s, background-color 0.3s;
}
.bf-slope svg { width: 100%; height: 44px; color: rgba(36, 35, 35, 0.55); transition: color 0.3s; }
.bf-slope b { font-family: var(--f-ui); font-weight: 400; font-size: 14px; }
@media (hover: hover) { .bf-slope > span:hover { border-color: var(--ink); } }
.bf-slope input:checked + span { border-color: var(--ink); background: var(--bone-2); }
.bf-slope input:checked + span svg { color: var(--brick); }
.bf-slope input:focus-visible + span { outline: 2px solid var(--brick); outline-offset: 2px; }

/* counters */
.bf-counts { border-top: 1px solid var(--bf-line); }
.bf-count { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; border-bottom: 1px solid var(--bf-line); }
.bf-count__l { font-size: 20px; font-weight: 400; line-height: 1.25; }
.bf-count__l small { display: block; font-size: 14px; color: var(--bf-mute); }
.bf-stepper { display: inline-flex; align-items: center; gap: 4px; }
.bf-stepper button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(36, 35, 35, 0.22);
  font: 300 22px/1 var(--f-display); display: grid; place-items: center; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
@media (hover: hover) { .bf-stepper button:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); } }
.bf-stepper button:active { background: var(--ink); color: var(--bone); }
.bf .bf-stepper input { width: 3.4ch; min-height: 46px; padding: 0; text-align: center; border-bottom-color: transparent; font-size: 24px; font-variant-numeric: tabular-nums; }

/* ---------- 02 site: the map ---------- */
.bf-pinbox { gap: 14px; }
.bf-pinbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-tool {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px;
  border: 1px solid rgba(36, 35, 35, 0.22); border-radius: 999px; font-family: var(--f-ui); font-size: 14px; text-align: left;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.bf-tool svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) { .bf-tool:hover { border-color: var(--ink); } }
.bf-tool[aria-expanded='true'] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.bf-map {
  position: relative; z-index: 0; isolation: isolate; /* keep Leaflet's panes (z-index 400+) under the bottom bar */
  height: clamp(300px, 48svh, 460px); border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--bf-line); background: var(--bone-2);
}
.bf-map.is-loading::before {
  content: 'Loading the map…'; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-ui); font-size: 14px; color: var(--bf-mute);
}
.bf-map__canvas { position: absolute; inset: 0; background: var(--bone-2); font-family: var(--f-ui); }
.bf-map .leaflet-tile-pane { filter: grayscale(1) contrast(1.04) brightness(1.03); }
.bf-map__cross { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; z-index: 450; pointer-events: none; opacity: 0.55; }
.bf-map__cross::before, .bf-map__cross::after { content: ''; position: absolute; background: var(--ink); }
.bf-map__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.bf-map__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.bf-map.is-loading .bf-map__cross, .bf-map.is-loading .bf-map__hint { display: none; }
.bf-map__hint {
  position: absolute; right: 10px; top: 10px; max-width: calc(100% - 76px); z-index: 460; pointer-events: none; width: fit-content;
  padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); letter-spacing: 0.08em;
}
.bf-map .leaflet-bar { border: 1px solid var(--bf-line); box-shadow: none; border-radius: 12px; overflow: hidden; }
.bf-map .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font: 300 22px/44px var(--f-display); color: var(--ink); }
.bf-map .leaflet-control-attribution { font: 12px/1.5 var(--f-ui); background: rgba(255, 255, 255, 0.86); padding: 2px 8px; color: var(--ink); }
.bf-map .leaflet-control-attribution a { color: var(--ink); text-decoration: underline; }
.bf-map__canvas:focus-visible { outline: none; box-shadow: none; }
/* Leaflet's panes cover an inset outline, so the keyboard focus ring sits on a layer above the map */
.bf-map:has(.bf-map__canvas:focus-visible)::after {
  content: ''; position: absolute; inset: 0; z-index: 1000; pointer-events: none;
  border: 2px solid var(--brick); border-radius: inherit;
}
.bf-pin span {
  display: block; width: 24px; height: 24px; margin: 1px 3px; background: var(--brick); border: 3px solid #fff;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(36, 35, 35, 0.35);
}
.bf-pinread:empty { display: none; }
.bf-pinread { display: grid; gap: 2px; }
.bf-pinread__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 15px; font-weight: 400; }
.bf-pinread__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brick); margin-right: -10px; }

/* ---------- 06 feel: the deck ---------- */
.bf-deck { display: grid; justify-items: center; gap: 14px; }
.bf-deck__stage {
  position: relative; height: clamp(280px, calc(100svh - 430px), 560px); width: auto; max-width: 100%; aspect-ratio: 4 / 5;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; border-radius: var(--radius);
  margin-bottom: 26px; /* room for the stacked cards below */
}
.bf-deck__stage:focus-visible { outline: 2px solid var(--brick); outline-offset: 6px; box-shadow: none; }
.bf-card {
  position: absolute; inset: 0; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bone-2);
  transform-origin: 50% 100%; box-shadow: 0 28px 56px -32px rgba(36, 35, 35, 0.55);
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
}
.bf-card.is-next { transform: translateY(13px) scale(0.955); }
.bf-card.is-third { transform: translateY(26px) scale(0.91); opacity: 0.6; }
.is-drag .bf-card.is-top { transition: none; cursor: grabbing; }
.bf-card.is-top { cursor: grab; }
.bf-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.bf-card figcaption {
  position: absolute; inset: auto 0 0; display: grid; gap: 6px; padding: 72px 20px 18px; color: #fff;
  background: linear-gradient(rgba(20, 18, 17, 0), rgba(20, 18, 17, 0.78));
}
.bf-card__meta { opacity: 0.9; }
.bf-card__title { font-size: 24px; line-height: 1.15; font-weight: 400; letter-spacing: -0.01em; }
.bf-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.bf-card__tags i { font-style: normal; font-family: var(--f-ui); font-size: 12px; line-height: 1; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px; }
.bf-card__stamp {
  position: absolute; top: 18px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink);
  opacity: 0; pointer-events: none; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
}
.bf-card__stamp--like { left: 18px; opacity: var(--like, 0); color: var(--bone); background: var(--ink); }
.bf-card__stamp--skip { right: 18px; opacity: var(--skip, 0); }
.bf-deck__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; width: min(100%, 460px); }
.bf-deck__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px 0 20px;
  border: 1px solid rgba(36, 35, 35, 0.25); border-radius: 999px; font-family: var(--f-ui); font-size: 15px; letter-spacing: 0.03em;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.bf-deck__btn svg { width: 18px; height: 18px; }
.bf-deck__btn:first-child { justify-self: start; }
.bf-deck__btn--like { justify-self: end; background: var(--ink); color: var(--bone); border-color: var(--ink); }
@media (hover: hover) {
  .bf-deck__btn:hover { border-color: var(--ink); }
  .bf-deck__btn--like:hover { background: var(--brick); border-color: var(--brick); }
}
.bf-deck__btn:active { transform: scale(0.96); }
.bf-deck__n { color: var(--bf-mute); font-variant-numeric: tabular-nums; }
.bf-deck__n b { color: var(--ink); font-weight: 400; }
.bf-deck__more { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: min(100%, 460px); min-height: 44px; }
.bf-deck__more > :only-child { margin-inline: auto; }
.bf-deck__tip { font-family: var(--f-ui); font-size: 13px; color: var(--bf-mute); }

/* palette */
.bf-pal { display: grid; gap: 18px; }
.bf-pal__k { color: var(--bf-mute); }
.bf-pal__k + .bf-pal__tags { margin-top: -4px; }
.bf-pal__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.bf-pal__tags li {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(36, 35, 35, 0.22); font-family: var(--f-ui); font-size: 14px;
}
.bf-pal__tags li.is-strong { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.bf-pal__strip { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.bf-pal__strip li { width: 58px; height: 58px; border-radius: 10px; overflow: hidden; background: var(--bone-2); }
.bf-pal__strip img { width: 100%; height: 100%; object-fit: cover; }
.bf-pal__none { font-size: 17px; font-weight: 400; max-width: 44ch; }
.bf-pal__proj { list-style: none; border-top: 1px solid var(--bf-line); margin-top: -4px; margin-bottom: 10px; }
.bf-pal__proj a {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) 20px; align-items: center; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--bf-line); transition: padding 0.45s var(--ease-out);
}
.bf-pal__proj img { width: 96px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--bone-2); }
.bf-pal__proj b { display: block; font-size: 20px; font-weight: 400; line-height: 1.2; }
.bf-pal__proj small { display: block; font-size: 14px; color: var(--bf-mute); font-weight: 400; }
.bf-pal__arrow svg { width: 12px; height: 12px; stroke: currentColor; transition: transform 0.4s var(--ease-out); }
@media (hover: hover) {
  .bf-pal__proj a:hover { padding-left: 10px; }
  .bf-pal__proj a:hover .bf-pal__arrow svg { transform: rotate(45deg); }
}

/* ---------- 08 talk ---------- */
.bf-clock { font-size: 15px; color: var(--bf-mute); font-weight: 400; margin-top: -4px; }
.bf-clock b { color: var(--ink); font-weight: 400; }

/* ---------- summary: the brief sheet ---------- */
.bf-grid--sum { gap: 32px; }
@media (min-width: 900px) {
  .bf-grid--sum { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: 'q sheet' 'side sheet'; grid-template-rows: auto 1fr; row-gap: 40px; }
  .bf-grid--sum .bf-q { grid-area: q; position: static; }
  .bf-sum__sheet { grid-area: sheet; }
  .bf-sum__side { grid-area: side; align-self: start; }
}
.bf-sum__side { display: grid; gap: 24px; min-width: 0; }
.bf-sheet { background: #fff; border: 1px solid var(--ink); padding: 7px; box-shadow: 0 44px 80px -54px rgba(36, 35, 35, 0.6); }
.bf-sheet__in { border: 1px solid rgba(36, 35, 35, 0.4); }
.bf-sheet__head {
  display: grid; gap: 8px; padding: 22px 24px 20px; border-bottom: 1px solid var(--ink);
  background-image: linear-gradient(rgba(36, 35, 35, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 35, 35, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
}
.bf-sheet__head .label { color: var(--bf-mute); }
.bf-sheet__title { font-size: clamp(26px, 2.5vw, 38px); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }
.bf-sheet__rows { margin: 0; }
.bf-row { display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: 2px 20px; padding: 10px 24px; border-bottom: 1px solid var(--bf-line); }
.bf-row dt { font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 4px; color: var(--ink); }
.bf-row dt span { display: inline-block; min-width: 26px; color: var(--bf-mute); }
.bf-row dd { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 16px; line-height: 1.55; font-weight: 400; overflow-wrap: anywhere; }
.bf-row dd a { text-decoration: underline; text-underline-offset: 3px; }
.bf-row__edit {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; margin: -12px -8px; font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bf-mute); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(36, 35, 35, 0.25);
}
@media (hover: hover) { .bf-row__edit:hover { color: var(--brick); } }
@media (max-width: 639px) {
  .bf-row { grid-template-columns: minmax(0, 1fr); padding: 10px 16px; }
  .bf-row dd { font-size: 15px; }
  .bf-sheet__head { padding: 18px 16px; }
}
.bf-sheet__pal { display: grid; gap: 10px; padding: 14px 24px 16px; border-bottom: 1px solid var(--bf-line); }
.bf-sheet__pal .label { color: var(--ink); }
.bf-sheet__thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.bf-sheet__thumbs li { width: 64px; height: 64px; overflow: hidden; background: var(--bone-2); }
.bf-sheet__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bf-sheet__tags { font-size: 14px; color: var(--bf-mute); font-weight: 400; }
@media (max-width: 639px) { .bf-sheet__pal { padding: 14px 16px; } .bf-sheet__thumbs li { width: 52px; height: 52px; } }
.bf-sheet__block { display: grid; grid-template-columns: minmax(0, 2.3fr) repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: -1px; }
.bf-sheet__block > div { display: grid; align-content: center; gap: 2px; padding: 10px 12px; border-left: 1px solid var(--bf-line); min-width: 0; }
.bf-sheet__block > div:first-child { border-left: 0; }
.bf-sheet__block small { font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bf-mute); }
.bf-sheet__block span { font-size: 14px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-sheet__firm { grid-auto-flow: column; justify-content: start; align-items: center; gap: 10px !important; }
.bf-sheet__firm .mark { width: 20px; }
.bf-sheet__firm span { display: grid; gap: 2px; white-space: normal; }
.bf-sheet__firm .wordmark { font-size: 12px; letter-spacing: 0.26em; font-weight: 300; }
.bf-sheet__firm small { letter-spacing: 0.06em; text-transform: none; }
@media (max-width: 639px) {
  .bf-sheet__block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-sheet__block > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--bf-line); }
  .bf-sheet__block > div:nth-child(2), .bf-sheet__block > div:nth-child(4) { border-left: 0; }
  .bf-sheet__block > div:nth-child(2), .bf-sheet__block > div:nth-child(3) { border-bottom: 1px solid var(--bf-line); }
}
.bf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-mail { display: grid; gap: 16px; justify-items: start; }
.bf-status { font-size: 15px; font-weight: 400; color: var(--ink); }
.bf-status:empty { display: none; }

/* ---------- buttons ---------- */
.bf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 10px 0 26px;
  border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--bone);
  font-family: var(--f-ui); font-size: 15px; letter-spacing: 0.04em; white-space: nowrap;
  transition: background-color 0.35s, border-color 0.35s, color 0.35s;
}
.bf-btn__dot { width: 36px; height: 36px; border-radius: 50%; background: var(--bone); display: grid; place-items: center; }
.bf-btn__dot svg { width: 12px; height: 12px; stroke: var(--ink); transition: transform 0.5s var(--ease-out); }
@media (hover: hover) {
  .bf-btn:hover { background: var(--brick); border-color: var(--brick); }
  .bf-btn:hover .bf-btn__dot svg { transform: rotate(45deg); }
}
.bf-btn--ghost { background: transparent; color: var(--ink); border-color: rgba(36, 35, 35, 0.25); padding: 0 22px; min-height: 48px; font-size: 14px; }
@media (hover: hover) { .bf-btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); } }
.bf-btn--wa { background: var(--brick); border-color: var(--brick); padding: 0 26px 0 20px; gap: 12px; }
.bf-btn--wa svg { width: 22px; height: 22px; }
@media (hover: hover) { .bf-btn--wa:hover { background: var(--ink); border-color: var(--ink); } }
.bf-btn:disabled { opacity: 0.5; }
.bf-link {
  display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-ui); font-size: 14px; color: var(--ink);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(36, 35, 35, 0.3); transition: color 0.3s, text-decoration-color 0.3s;
}
@media (hover: hover) { .bf-link:hover { color: var(--brick); text-decoration-color: currentColor; } }
.bf-link.is-confirm { color: var(--brick); text-decoration-color: currentColor; }

/* ---------- the bar at the bottom: Back · Continue ---------- */
.bf__nav {
  position: sticky; bottom: 0; z-index: 6;
  margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--bf-line);
}
.bf__navrow { display: flex; align-items: center; gap: 12px; }
.bf__back { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding-right: 14px; font-family: var(--f-ui); font-size: 14px; }
.bf__back svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease-out); }
@media (hover: hover) { .bf__back:hover svg { transform: translateX(-4px); } }
.bf__alt { flex: 1; min-width: 0; }
.bf__primary { display: flex; justify-content: flex-end; }
.bf__privacy { display: none; font-size: 13px; line-height: 1.45; color: var(--bf-mute); font-weight: 400; margin-bottom: 8px; }
.bf[data-step='summary'] .bf__privacy { display: block; }
@media (max-width: 899px) {
  .bf[data-step='summary'] .bf__primary { flex: 1; }
  .bf[data-step='summary'] .bf-btn--wa { width: 100%; }
  .bf[data-step='intro'] .bf__alt .bf-link { font-size: 13px; }
}
@media (min-width: 900px) {
  .bf__navrow { justify-content: space-between; }
  .bf[data-step='summary'] .bf__privacy { text-align: right; }
}

/* ---------- less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .bf *, .bf *::before, .bf *::after { transition: none !important; }
}
