/* The homepage (ask-v1, 27 September 2026; headline "Take the picture. Balise does the rest." since 29 September).
   One promise on the first screen: a question, and the photo that answers it.
   Everything else is one badge, one price line and one trust line. Below: three
   payoffs (Sorted, Told, Known), the tour, the badge again, and on phones a
   sticky "Get Balise" bar that hides while the hero badge is in view. */

.ha-hero {
  padding: 18px var(--gutter) 44px;
}
.ha-hero-grid {
  /* The same content width as the top bar's .wrap (84rem less its gutters),
     so the headline starts under the brand mark. */
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.ha-hero-grid > * { min-width: 0; }
.ha-copy { display: grid; gap: 16px; align-content: start; }
.ha-hero h1 {
  margin: 4px 0 0;
  font: 700 clamp(44px, 7.2vw, 92px)/0.98 var(--serif);
  letter-spacing: -0.035em;
  color: var(--balise-evergreen);
  text-wrap: balance;
}
.ha-hero h1 em { font-style: italic; font-weight: 400; color: var(--balise-clay); }
/* Japanese breaks between any two characters; keep each phrase whole. The
   whole headline (its spans and its em) breaks only at the <wbr> points and
   after punctuation; a phrase wider than the column still wraps rather than
   overflow. 64 px keeps 「カメラはひとつ。」 and 「コレクションは、」 whole in the 1440 column. */
.ha-hero h1:lang(ja) { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.12; letter-spacing: 0; }
.ha-hero h1:lang(ja), .ha-hero h1:lang(ja) > span, .ha-hero h1:lang(ja) em { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.ha-hero h1:lang(ja) > span, .ha-hero h1:lang(ja) em { display: inline-block; font-style: normal; }
/* Mincho has no italic: the coloured phrase keeps the headline's weight, as
   on the topic pages (one family, visual QA 29 September 2026). */
.ha-hero h1:lang(ja) em { font-weight: 700; }
.ha-sub {
  margin: 0;
  max-width: 30em;
  font: 400 clamp(16px, 1.55vw, 21px)/1.42 var(--sans);
  color: var(--balise-ink);
  text-wrap: pretty;
}

/* The one call to action: official badge, one price line, one trust line. */
.ha-cta { display: flex; flex-direction: column; gap: 9px; }
.ha-cta .store-badge { display: inline-block; width: max-content; line-height: 0; border-radius: 10px; }
.ha-cta .store-badge img { height: 52px; width: auto; display: block; }
.ha-price { margin: 2px 0 0; font: 600 15px/1.35 var(--sans); color: var(--balise-evergreen); }
.ha-trust { margin: 0; max-width: 30em; font: 14px/1.4 var(--sans); color: var(--balise-muted); }
.ha-trust a { color: var(--balise-evergreen); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ha-trust a:hover { text-decoration: underline; }
.ha-lock {
  display: inline-block; width: 11px; height: 12px; margin-right: 6px; vertical-align: -1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 12'%3E%3Cpath d='M2.5 5V3.6a3 3 0 0 1 6 0V5h.7c.5 0 .8.3.8.8v5.4c0 .5-.3.8-.8.8H1.8c-.5 0-.8-.3-.8-.8V5.8c0-.5.3-.8.8-.8h.7Zm1.3 0h3.4V3.6a1.7 1.7 0 0 0-3.4 0V5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 12'%3E%3Cpath d='M2.5 5V3.6a3 3 0 0 1 6 0V5h.7c.5 0 .8.3.8.8v5.4c0 .5-.3.8-.8.8H1.8c-.5 0-.8-.3-.8-.8V5.8c0-.5.3-.8.8-.8h.7Zm1.3 0h3.4V3.6a1.7 1.7 0 0 0-3.4 0V5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* The Ask box: the page's one live object. Every answer is real text in the
   markup; home-ask.js shows one at a time, types its question, and stops on
   reduced motion or when paused. Without script only the first answer shows. */
.ha-ask {
  position: relative;
  width: 100%;
  max-width: 540px;
  justify-self: center;
  background: var(--balise-white);
  border: 1px solid var(--balise-line);
  border-radius: 26px;
  box-shadow: 0 30px 60px -30px rgba(16, 49, 43, 0.35), 0 2px 0 rgba(16, 49, 43, 0.04);
  overflow: hidden;
}
.ha-answers { list-style: none; margin: 0; padding: 0; }
.ha-answer[hidden] { display: none; }
.ha-answer { display: grid; transition: opacity 0.4s ease, transform 0.4s ease; }
.ha-answer.is-out { opacity: 0; transform: translateY(8px); }
.ha-field { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--balise-line); margin: 0; }
.ha-field svg { flex: none; color: var(--balise-muted); }
.ha-q { flex: 1; min-width: 0; font: 500 16px/1.3 var(--sans); color: var(--balise-ink); min-height: 2.6em; display: flex; align-items: center; }
.ha-typing .ha-q-text::after {
  content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -3px;
  background: var(--balise-gold); animation: ha-blink 1s steps(1) infinite;
}
@keyframes ha-blink { 50% { opacity: 0; } }
/* Japanese breaks only at the phrase points (<wbr>) and punctuation, never inside a word. */
.ha-q-text { display: block; min-width: 0; }
.ha-q-text:lang(ja) { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.ha-sub:lang(ja), .ha-price:lang(ja), .ha-trust:lang(ja), .ha-close h2:lang(ja) { word-break: keep-all; overflow-wrap: anywhere; }
/* The Japanese trust line is two short sentences and a link: room for all three on one line on a wide screen. */
.ha-trust:lang(ja) { max-width: 36em; }
.ha-who { flex: none; font: 600 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--balise-muted); }
.ha-shot { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--balise-stage); }
.ha-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ha-shot::after { content: ""; position: absolute; inset: 36% 0 0; background: linear-gradient(transparent, rgba(8, 28, 23, 0.6) 40%, rgba(8, 28, 23, 0.9)); pointer-events: none; }
.ha-shot figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: var(--balise-white); }
.ha-title { display: block; font: 700 clamp(22px, 2.5vw, 30px)/1.08 var(--serif); letter-spacing: -0.01em; }
.ha-meta { display: block; margin-top: 6px; font: 500 12.5px/1.35 var(--mono); letter-spacing: 0.03em; opacity: 0.92; }
.ha-more { display: flex; align-items: center; gap: 8px; padding: 12px 16px 14px; min-height: 66px; overflow: hidden; margin: 0; }
.ha-more-label { margin-right: 4px; white-space: nowrap; font: 600 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--balise-clay); }
.ha-more img { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.ha-chip { font: 500 13px/1 var(--sans); padding: 7px 10px; border-radius: 99px; background: var(--balise-paper-raised); border: 1px solid var(--balise-line); white-space: nowrap; }
/* On a phone two long chips don't fit one line: they wrap onto a second, and
   the row keeps room for two lines so the card doesn't jump as answers turn. */
@media (max-width: 899px) {
  .ha-more { flex-wrap: wrap; row-gap: 6px; align-content: center; min-height: 92px; }
  .ha-chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}
.ha-controls { position: absolute; top: 9px; right: 10px; z-index: 2; display: none; align-items: center; gap: 8px; }
.ha-ask.is-live .ha-controls { display: flex; }
.ha-ask.is-live .ha-who { display: none; }
.ha-dots { display: flex; gap: 5px; }
.ha-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--balise-line); }
.ha-dots i.on { background: var(--balise-gold); }
.ha-next {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%;
  border: 1px solid var(--balise-line); background: var(--balise-paper); color: var(--balise-evergreen); cursor: pointer;
  font: 600 16px/1 var(--sans);
}
.ha-next:hover { background: var(--balise-paper-raised); }
.ha-ask.is-live .ha-q { padding-right: 104px; }

@media (min-width: 900px) {
  .ha-hero { padding-top: 26px; }
  .ha-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; min-height: min(calc(100vh - 90px), 760px); }
  /* The home only (review of 30 September 2026): at 1440 × 900 the taller
     minimum left the next section's heading under the fold, with paper above
     the headline. Topic pages keep their balance. */
  html.home-ask:not(.topic-ask) .ha-hero-grid { min-height: min(calc(100vh - 200px), 640px); }
  .ha-copy { gap: 22px; }
  .ha-shot { aspect-ratio: 1 / 0.86; }
  .ha-q { font-size: 19px; }
  .ha-field { padding: 16px 20px; }
}
/* Wide screens: the proof sits on the right edge of the content, under the
   top bar's App Store button, not floating in the middle of its column. */
@media (min-width: 900px) {
  .ha-hero-grid > .ha-ask, .ha-hero-grid > .sa-chat, .ha-hero-grid > .sa-night { justify-self: end; }
  .ha-hero-grid > .ta-askwrap { justify-self: end; width: 100%; max-width: 540px; }
}
@media (max-width: 899px) {
  /* Tight enough that the badge under the Ask box shows in the first screen
     of a 390 x 844 phone, in Japanese too (visual QA, 29 September 2026). */
  .ha-hero { padding-top: 10px; }
  .ha-hero-grid { gap: 14px; }
  .ha-copy { display: contents; }
  .ha-hero h1 { order: 1; }
  .ha-sub { order: 2; }
  .ha-ask { order: 3; }
  .ha-cta { order: 4; }
  /* In the closing block the badge still comes before the tour link. */
  .ha-close .ha-cta { order: 0; }
}

/* Below the fold: three payoffs, one picture and one line each. */
.ha-then { background: var(--balise-stage); color: var(--balise-white); padding: 64px var(--gutter) 72px; }
.ha-then-in { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; }
.ha-then h2 { font: 700 clamp(30px, 4.4vw, 52px)/1.04 var(--serif); letter-spacing: -0.02em; margin: 0 0 30px; max-width: 16em; color: var(--balise-white); }
.ha-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.ha-card { min-width: 0; background: var(--balise-stage-deep); border-radius: 22px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.ha-vis { aspect-ratio: 4 / 3; overflow: hidden; background: #0a211c; position: relative; }
.ha-vis > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ha-card-copy { padding: 16px 18px 20px; }
.ha-card-copy p { margin: 0; font: 400 18px/1.36 var(--serif); }
.ha-kicker { display: block; margin-bottom: 6px; font: 600 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--balise-gold); }
.ha-src { display: block; margin-top: 8px; font: 13px/1.35 var(--sans); color: rgba(255, 252, 245, 0.62); }
/* Stand-alone arrow links are 44 px tall to the finger (review of 30 September
   2026); the text sits where the 12 px margin used to put it. */
.ha-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; font: 600 15px/1.3 var(--sans); color: var(--balise-gold); text-decoration: none; }
.ha-link:hover { color: var(--balise-white); text-decoration: underline; }

/* Sorted: a messy roll that shelves itself when it comes into view. */
.ha-shelves { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; height: 100%; }
.ha-shelf { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 12px; overflow: visible; }
.ha-shelf img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--d, 0s); }
.ha-shelf b {
  position: absolute; left: 6px; bottom: 6px; z-index: 1; font: 600 13px/1 var(--sans); color: #fff;
  padding: 5px 9px; border-radius: 99px; background: rgba(8, 28, 23, 0.74); transition: opacity 0.5s ease 0.8s;
}
.ha-shelves.is-roll .ha-shelf img { transform: translate(var(--mx, 0), var(--my, 0)) rotate(var(--mr, 0deg)) scale(0.92); }
.ha-shelves.is-roll .ha-shelf b { opacity: 0; transition-delay: 0s; }

/* Told: a real Story screen. */
.ha-story img { object-position: top; }
.ha-story-title { position: absolute; left: 14px; right: 14px; bottom: 12px; margin: 0; font: 700 22px/1.1 var(--serif); color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }

/* Known: an assistant that knows what you mean. */
.ha-chat { padding: 18px; display: grid; gap: 10px; align-content: center; height: 100%; background: #f4f1ea; color: #2b2b2b; }
.ha-bubble { margin: 0; font: 15px/1.35 var(--sans); padding: 10px 13px; border-radius: 16px; max-width: 88%; }
.ha-bubble.me { justify-self: end; background: #e6e0d3; }
.ha-bubble.ai { background: #fff; border: 1px solid #e3ddd0; display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; }
.ha-bubble.ai img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.ha-bubble.ai small { display: block; color: #6b6b6b; font-size: 12.5px; margin-top: 2px; }
.ha-ai-name { font: 600 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--balise-muted); }

/* The badge again, beside the tour. */
.ha-close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255, 252, 245, 0.14); }
.ha-close h2 { margin: 0; font: 700 clamp(28px, 3.4vw, 42px)/1.06 var(--serif); letter-spacing: -0.02em; }
.ha-close .ha-cta { gap: 10px; }
.ha-close .ha-price { color: var(--balise-white); }
.ha-close .ha-fine { margin: 0; font: 13px/1.35 var(--sans); color: rgba(255, 252, 245, 0.62); }
/* The tour and the QR code line up with the badge, not with the middle of
   the price lines under it (polish round 2). */
.ha-close-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 22px 32px; }
.ha-close-actions > .ha-tour { min-height: 52px; }
.ha-qr { display: none; align-items: center; gap: 12px; margin: 0; font: 13px/1.35 var(--sans); color: rgba(255, 252, 245, 0.72); max-width: 15em; }
.ha-qr img { width: 76px; height: 76px; border-radius: 8px; background: #fff; padding: 4px; }
.ha-tour { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--sans); color: var(--balise-white); text-decoration: none; }
.ha-tour:hover { color: var(--balise-gold); }
/* The play mark may come from the stylesheet, so it is not counted as page copy. */
.ha-tour-icon[data-icon]::before { content: attr(data-icon); }
.ha-tour-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--balise-gold); color: var(--balise-stage-deep); font-size: 11px; }

/* The tour, one tap away: every page with a data-product-tour link (the
   homepages, the topic pages, /instagram) opens this dialog. Its rules live
   here, in the stylesheet all of those pages load. The film is 9:16; the
   sheet is a column whose video takes the height the header and the note
   leave, so the note shows without scrolling on a phone and on a desktop. */
.product-tour-dialog { width: min(520px, calc(100% - 24px)); max-height: 92dvh; padding: 0; border: 0; border-radius: 12px; background: var(--balise-paper-raised); color: var(--balise-evergreen); }
.product-tour-dialog::backdrop { background: rgb(5 20 16 / 0.8); }
.product-tour-sheet { display: flex; flex-direction: column; box-sizing: border-box; max-height: 92dvh; padding: clamp(12px, 3vw, 28px); }
.product-tour-sheet > * { flex: none; }
.product-tour-sheet header { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 16px; }
.product-tour-sheet h2 { font: 700 clamp(22px, 4vw, 32px)/1.1 var(--serif); margin: 0; }
.product-tour-sheet .kicker { margin: 0 0 4px; font: 600 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--balise-clay); }
.product-tour-sheet video { display: block; flex: 0 1 auto; align-self: center; box-sizing: border-box; width: auto; height: auto; min-height: 0; max-width: 100%; max-height: 74dvh; aspect-ratio: 9 / 16; object-fit: contain; background: #0f3128; }
.product-tour-sheet > p { font-size: 14px; margin: 14px 0 6px; }
.product-tour-sheet a { color: inherit; text-decoration: underline; }
.product-tour-sheet .btn { flex-shrink: 0; }

@media (min-width: 900px) {
  .ha-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ha-qr { display: flex; }
}

/* Phones: a sticky "Get Balise" bar once the hero badge has scrolled away. */
.ha-sticky {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: none; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border-radius: 99px; background: var(--balise-gold); color: var(--balise-evergreen);
  font: 700 15px/1.2 var(--sans); text-decoration: none; text-align: center;
  box-shadow: 0 12px 30px -10px rgba(8, 28, 23, 0.55);
  transform: translateY(0); transition: transform 0.3s ease, opacity 0.3s ease;
}
.ha-sticky:hover { color: var(--balise-evergreen); }
@media (max-width: 899px) {
  .ha-sticky { display: flex; }
  .ha-sticky[data-hidden="true"] { transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; }
  /* Room for the bar under the foot, not an empty paper band between the
     dark close and the foot. */
  body:has(.ha-sticky) { padding-bottom: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  .ha-answer, .ha-shelf img, .ha-shelf b, .ha-sticky { transition: none; }
  .ha-typing .ha-q-text::after { animation: none; display: none; }
}

/* A 9:16 answer (pt, 28 September 2026: "Faz um Story…" answers with the
   Story picture itself). The picture stands as a phone-shaped 9:16 frame on
   the left of the answer card; its title and day sit beside it. */
.ha-shot:has(> img.ha-916) { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 12px 16px; box-sizing: border-box; }
.ha-shot:has(> img.ha-916)::after { display: none; }
.ha-shot > img.ha-916 { grid-area: 1 / 1; width: auto; height: 100%; aspect-ratio: 9 / 16; border-radius: 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
.ha-916-bars { grid-area: 1 / 1; align-self: start; display: flex; gap: 3px; margin: 8px 8px 0; z-index: 1; }
.ha-916-bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 253, 246, 0.55); }
.ha-916-bars i:first-child { background: var(--balise-white); }
.ha-shot:has(> img.ha-916) figcaption { position: static; grid-area: 1 / 2; display: grid; gap: 6px; }
.ha-shot:has(> img.ha-916) .ha-meta { margin-top: 0; }
.ha-916-kind { font: 600 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--balise-gold); }
.ha-shot:has(> img.ha-916) .ha-title { overflow-wrap: anywhere; }

/* What fills your roll ("One camera. Every collection.", 28 September 2026):
   a mosaic under the Ask box, one real photo per kind of photo, each a door to
   its page. Three columns on a phone, six on a wide screen; nothing scrolls
   sideways. The same tiles, small, close each topic page (.ha-bridge). */
.ha-topics { padding: 0 var(--gutter) 40px; }
.ha-topics-in { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; display: grid; gap: 12px; }
.ha-topics-lead { margin: 0; font: 600 15px/1.3 var(--sans); color: var(--balise-evergreen); }
.ha-topics-lead:lang(ja) { word-break: keep-all; }
.ha-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ha-tiles > li { min-width: 0; }
.ha-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--balise-stage); text-decoration: none; }
.ha-tile img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ha-tile::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(8, 28, 23, 0.88)); pointer-events: none; }
.ha-tile span { position: absolute; left: 10px; right: 8px; bottom: 9px; z-index: 1; font: 600 15px/1.15 var(--sans); color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); overflow-wrap: anywhere; }
.ha-tile:hover img { transform: scale(1.04); }
.ha-tile:focus-visible { outline: 3px solid var(--balise-gold); outline-offset: 2px; }
@media (min-width: 720px) {
  .ha-topics .ha-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
}
.ha-topics-more { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font: 600 14px/1.2 var(--sans); color: var(--balise-evergreen); text-decoration: none; }
.ha-topics-more:hover { text-decoration: underline; }
/* Topic pages: not just this kind of photo. One line and three sibling pages,
   on the dark band just before the closing badge. */
.ha-bridge { display: grid; gap: 12px; margin-top: 40px; max-width: 460px; }
.ha-bridge p { margin: 0; font: 600 clamp(19px, 2vw, 23px)/1.3 var(--serif); color: var(--balise-white); text-wrap: balance; }
.ha-bridge p:lang(ja) { word-break: keep-all; overflow-wrap: anywhere; }
.ha-tiles-sm .ha-tile { aspect-ratio: 1; border-radius: 12px; }
.ha-tiles-sm .ha-tile span { font-size: 14px; left: 9px; bottom: 7px; }
.ha-bridge + .ha-close { margin-top: 32px; }
/* Wide screens: the line and its three pages across the band, not three
   small tiles at the left of an empty row. */
@media (min-width: 900px) {
  .ha-bridge { max-width: none; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 20px 40px; }
  .ha-bridge .ha-tiles-sm .ha-tile { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .ha-tile img { transition: none; }
  .ha-tile:hover img { transform: none; }
}
/* Each answer's own door to its page, on the right of its chips. */
.ha-more-link { margin-left: auto; font: 600 13px/1.2 var(--sans); color: var(--balise-evergreen); text-decoration: none; white-space: nowrap; }
.ha-more-link:hover { text-decoration: underline; }
.ha-card-copy .ha-link + .ha-link { margin-left: 18px; }
/* The choice of photos, said once beside the badge. */

/* Phones (polish round 2, 29 September 2026): iOS Safari shows about 700 px
   of a 390 x 844 screen under its bars, so the hero badge ends above 700 px
   there, in Japanese too. The answer photo is 16:10; its chips and thumbnails
   keep to one line of a fixed height — a chip that does not fit moves to a
   second line that is clipped, so no chip is ever cut or wrapped — and the
   answer's own door stays on the right. The Next button stands alone (the
   dots are a desktop detail). */
@media (max-width: 430px) {
  .ha-hero { padding-top: 6px; }
  .ha-hero-grid { gap: 12px; }
  .ha-hero h1 { margin-top: 0; }
  .ha-shot { aspect-ratio: 16 / 10; }
  .ha-field { padding: 10px 14px; }
  .ha-dots { display: none; }
  .ha-ask.is-live .ha-q { padding-right: 44px; }
  .ha-more { position: relative; flex-wrap: wrap; align-content: flex-start; row-gap: 20px; height: 50px; min-height: 0; padding: 7px 14px; box-sizing: border-box; }
  .ha-more::before { content: ""; flex: none; width: 0; height: 36px; margin-right: -8px; }
  .ha-more > * { flex: none; }
  .ha-more img, .ha-more .ta-thumb { width: 36px; height: 36px; }
  .ha-chip { font-size: 12.5px; padding: 6px 9px; }
  /* An answer with its own door ("More on looks →") names its topic there,
     and the door keeps its place at the right of the row. */
  .ha-more:has(> .ha-more-link) { padding-right: 124px; }
  .ha-more:has(> .ha-more-link) > .ha-more-label { display: none; }
  .ha-more > .ha-more-link { position: absolute; right: 14px; top: 0; bottom: 0; display: flex; align-items: center; margin: 0; }
  .ha-hero h1:lang(ja) { font-size: 34px; }
  .ha-shot figcaption { bottom: 12px; }
  .ha-title { text-wrap: balance; }
  /* Japanese: the same three-line headline, set a little closer, and the
     line under it at 15 px (three lines instead of four). */
  .ha-hero h1:lang(ja) { line-height: 1.08; }
  .ha-sub:lang(ja) { font-size: 15px; line-height: 1.5; }
}
/* A narrow phone's three tiles: a six-kana word (コレクション) fits its tile. */
@media (max-width: 400px) {
  .ha-tile span:lang(ja) { font-size: 14px; }
}

/* A draft post in the Ask box (29 September 2026 hook test: visitors who post
   wanted to see a draft, not only search answers). Four photos in a square
   beside the caption, the same layout as the 9:16 Story card. */
.ha-shot:has(> .ha-grid4) { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 12px 16px; box-sizing: border-box; }
.ha-shot:has(> .ha-grid4)::after { display: none; }
.ha-grid4 { grid-area: 1 / 1; width: 100%; height: 100%; display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 2px; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
.ha-grid4 img { min-width: 0; min-height: 0; }
.ha-shot:has(> .ha-grid4) figcaption { position: static; grid-area: 1 / 2; display: grid; gap: 6px; }
.ha-shot:has(> .ha-grid4) .ha-meta { margin-top: 0; }
.ha-shot:has(> .ha-grid4) .ha-title { font-size: 17px; line-height: 1.3; }
.ha-shot:has(> .ha-grid4) .ha-title:lang(ja) { font-size: 15px; word-break: normal; line-break: strict; }

/* The homepage headline is two sentences: one line each at every width
   (29 September 2026 review: the Mac broke it as "Take the / picture. Balise /
   does the rest."). Topic pages keep their own flow. */
html.home-ask:not(.topic-ask) .ha-hero h1 em { display: block; }
html.home-ask:not(.topic-ask) .ha-hero h1:not(:lang(ja)) { font-size: clamp(44px, 4.4vw, 62px); }
