/* Hemline atelier. A fashion house's back room: white card, black ink, Bodoni for the voice,
   a plain grotesk for prices, and one red thread for the work, the errors and the booked stamp. */
:root {
  --white: #ffffff;
  --paper: #f6f6f4;
  --ink: #0d0d0d;
  --ink-2: #3b3b3b;
  --muted: #6a6a6a;
  --line: #e2e2e0;
  --line-2: #c9c9c6;
  --thread: #c1121f;
  --thread-deep: #9a0e18;
  --thread-soft: rgba(193, 18, 31, .08);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .25, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.55 var(--sans); }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--thread); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; }
.label { font: 600 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--ink); backdrop-filter: blur(8px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1320px; min-height: 66px; margin: 0 auto; padding: 0 32px; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; min-height: 44px; padding-top: 10px; font: 500 30px/1 var(--serif); letter-spacing: .02em; text-decoration: none; }
.brand-sub { font: 600 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
#site-nav { display: flex; align-items: center; gap: 4px; }
#site-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 500; text-decoration: none; letter-spacing: .02em; }
#site-nav a:hover { text-decoration: underline; text-decoration-color: var(--thread); text-underline-offset: 6px; }
#site-nav .nav-cta { margin-left: 8px; background: var(--ink); color: var(--white); }
#site-nav .nav-cta:hover { background: var(--thread); text-decoration: none; }
.nav-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--thread); color: var(--white); font: 600 12px/1 var(--sans); }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px; border: 0; background: none; font-weight: 600; font-size: 15px; }
.menu-icon { position: relative; width: 22px; height: 12px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transition: transform .2s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-icon { border-color: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before, .menu-toggle[aria-expanded="true"] .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 4.5px; border-top: 1.5px solid var(--ink); transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }

/* Hero: an editorial spread with the flat on the right */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 56px; max-width: 1320px; margin: 0 auto; padding: 72px 32px 0; align-items: end; }
.hero h1 { margin-top: 20px; font: 400 clamp(46px, 7vw, 112px)/.94 var(--serif); letter-spacing: -.025em; font-variation-settings: "opsz" 96; }
.hero h1 em { font-style: italic; color: var(--thread); }
.intro { margin-top: 28px; max-width: 46ch; color: var(--ink-2); font-size: 19px; }
.hero .button { margin-top: 32px; }
.hero-flat { margin: 0; align-self: stretch; display: grid; align-content: end; justify-items: center; border-left: 1px solid var(--line); padding-left: 24px; }
.hero-flat svg { width: min(100%, 340px); height: auto; }
.hero-flat figcaption, .fitting figcaption { margin-top: 10px; font: italic 400 15px/1.4 var(--serif); color: var(--muted); }
.hours { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; border-top: 1px solid var(--ink); }
.hours div { padding: 14px 16px 16px 0; }
.hours dt { font: 600 11.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hours dd { margin: 4px 0 0; font: 400 20px/1.25 var(--serif); }
.tape { grid-column: 1 / -1; margin: 0 -32px; overflow: hidden; border-block: 1px solid var(--ink); background: var(--white); }
.tape-strip { position: relative; height: 46px; width: calc(100% + 400px);
  background:
    linear-gradient(90deg, var(--ink) 1.5px, transparent 1.5px) 0 0 / 100px 24px repeat-x,
    linear-gradient(90deg, var(--ink) 1px, transparent 1px) 0 0 / 50px 16px repeat-x,
    linear-gradient(90deg, rgba(13, 13, 13, .6) 1px, transparent 1px) 0 0 / 10px 9px repeat-x;
  transform: translateX(var(--tape-x, 0px)); will-change: transform; }
.tape-strip span { position: absolute; bottom: 5px; transform: translateX(-50%); font: 500 12px/1 var(--sans); letter-spacing: .04em; }
.tape-strip span:nth-child(5n) { color: var(--thread); font-weight: 700; }

/* Flats, shared by the hero and the fitting sketch */
.flat { overflow: visible; }
.flat .cloth path, .flat .cloth rect, .flat .cloth circle { fill: var(--white); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.flat .detail path, .flat .detail circle { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.flat .detail circle.btn { stroke-dasharray: none; fill: var(--white); }
.flat .zone { transition: fill .25s ease, stroke .25s ease, opacity .25s ease; }
.flat .zone.fillzone { fill: transparent; stroke: none; }
.flat .zone.fillzone.on { fill: var(--thread-soft); }
.flat .zone.linezone { fill: none; stroke: transparent; stroke-width: 2.4; }
.flat .zone.linezone.on { stroke: var(--thread); }
.flat .zone.dotzone { fill: var(--white); stroke: var(--ink); stroke-width: 1; }
.flat .zone.dotzone.on { fill: var(--thread); stroke: var(--thread); }
.flat .redline .cut { fill: none; stroke: var(--thread); stroke-width: 1.8; stroke-dasharray: 7 4; }
.flat .redline .dim { fill: none; stroke: var(--thread); stroke-width: 1.2; }
.flat .dim-text { fill: var(--thread); font: 600 13px var(--sans); }
.flat .cutaway { fill: rgba(255, 255, 255, .78); stroke: none; }
.flat .ghost { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 3; }

/* Prices: an inverted page, like the price card on the atelier wall */
.prices { margin-top: 96px; padding: 88px 32px 96px; background: var(--ink); color: var(--white); }
.prices .label { color: #9a9a9a; }
.section-head { max-width: 1256px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 48px; align-items: end; }
.section-head .label { grid-column: 1 / -1; }
.section-head h2 { font: 400 clamp(52px, 7vw, 104px)/.9 var(--serif); letter-spacing: -.02em; }
.section-head p:last-child { color: #c9c9c9; max-width: 40ch; justify-self: end; }
.price-groups { max-width: 1256px; margin: 56px auto 0; columns: 2 420px; column-gap: 64px; }
.group { break-inside: avoid; margin-bottom: 36px; }
.group-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--white); background: none; color: var(--white); font: 400 28px/1.15 var(--serif); text-align: left; }
.chev { width: 11px; height: 11px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease); }
.group-toggle[aria-expanded="false"] .chev { transform: rotate(-45deg); }
.group-body { margin: 0; padding: 0; list-style: none; }
.price { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 16px; width: 100%; min-height: 50px; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); background: none; color: var(--white); text-align: left; transition: color .15s ease, padding .2s var(--ease); }
.price:hover { color: var(--white); padding-left: 10px; }
.price:hover .p-cost { color: #ff6b74; }
.p-name { font-size: 17px; }
.p-days { font-size: 13.5px; color: #9a9a9a; letter-spacing: .04em; }
.p-cost { min-width: 56px; text-align: right; font: 500 19px/1 var(--sans); font-variant-numeric: tabular-nums; }
.price.added { color: #ff6b74; }
.price.added .p-name::after { content: "  added"; font-size: 13px; letter-spacing: .08em; }

/* How */
.how { max-width: 1320px; margin: 0 auto; padding: 96px 32px 24px; }
.how h2 { font: 400 clamp(38px, 4.6vw, 64px)/1 var(--serif); letter-spacing: -.02em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 48px 0 0; padding: 0; list-style: none; }
.steps li { padding-top: 18px; border-top: 1px solid var(--ink); color: var(--ink-2); }
.step-n { display: block; margin-bottom: 8px; font: italic 400 46px/1 var(--serif); color: var(--thread); }
.steps b { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 600; font-size: 19px; }

/* Builder */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; max-width: 1320px; margin: 72px auto 0; padding: 72px 32px 112px; border-top: 1px solid var(--ink); }
.builder-main h2 { margin-top: 10px; font: 400 clamp(42px, 5vw, 76px)/.95 var(--serif); letter-spacing: -.02em; }
.add-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; margin-top: 40px; }
.add-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font: 600 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.jobs { margin-top: 28px; }
.garment-list, .job-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pick { position: relative; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 4px; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding .2s var(--ease); }
.pick:hover { padding-left: 10px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { flex: 1; display: flex; justify-content: flex-start; gap: 12px; align-items: baseline; }
.pick span::before { content: ""; flex: none; width: 14px; height: 14px; margin-right: 2px; border: 1.5px solid var(--ink); border-radius: 50%; align-self: center; transition: background-color .15s ease, box-shadow .15s ease; }
.pick span { flex-direction: row; }
.pick small { margin-left: auto; font: 500 16px/1 var(--sans); font-variant-numeric: tabular-nums; }
.pick input:checked + span { font-weight: 600; }
.pick input:checked + span::before { background: var(--thread); border-color: var(--thread); box-shadow: inset 0 0 0 3px var(--white); }
.pick input:focus-visible + span { outline: 2px solid var(--thread); outline-offset: 4px; }

.fitting { position: sticky; top: 86px; align-self: start; margin: 0; padding: 22px 22px 18px; background: var(--paper); }
.fitting-art { display: grid; place-items: center; min-height: 300px; }
.fitting-art svg { width: min(100%, 300px); height: auto; }
.fitting figcaption { margin-top: 6px; color: var(--ink-2); font-style: normal; font-family: var(--sans); font-size: 15px; }
.fitting figcaption b { color: var(--thread); font-weight: 600; }
.measure { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.measure label { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.measure output { font: 500 20px/1.1 var(--serif); color: var(--thread); }
input[type="range"] { display: block; width: 100%; height: 44px; margin: 6px 0 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 22px; border-top: 1px solid var(--ink); background: linear-gradient(90deg, var(--ink) 1px, transparent 1px) 0 0 / calc(100% / 28) 8px repeat-x, linear-gradient(90deg, var(--ink) 1px, transparent 1px) 0 0 / calc(100% / 14) 14px repeat-x; }
input[type="range"]::-moz-range-track { height: 22px; border-top: 1px solid var(--ink); background: linear-gradient(90deg, var(--ink) 1px, transparent 1px) 0 0 / calc(100% / 14) 14px repeat-x; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 4px; height: 30px; margin-top: -4px; border-radius: 0; background: var(--thread); box-shadow: 0 0 0 4px rgba(193, 18, 31, .14); }
input[type="range"]::-moz-range-thumb { width: 4px; height: 30px; border: 0; border-radius: 0; background: var(--thread); }
.help { margin-top: 6px; font-size: 14.5px; color: #3a473b; }
.field-error { margin-top: 6px; color: var(--thread); font-size: 15px; font-weight: 600; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--white); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.button:hover { background: var(--thread); border-color: var(--thread); }
.button:active:not(:disabled), .price:active, .mini-link:active, #site-nav a:active { transform: translateY(1px); }
.pick:active span::before { box-shadow: 0 0 0 4px var(--thread-soft); }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button:disabled:hover { background: var(--ink); border-color: var(--ink); }
.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { color: var(--white); }

.book-form { max-width: 620px; margin-top: 64px; }
.book-form h3 { font: 400 34px/1.1 var(--serif); }
.field { margin-top: 22px; }
.field label { display: block; font-weight: 600; font-size: 15px; }
.field input { display: block; width: 100%; min-height: 50px; margin-top: 6px; padding: 10px 2px; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; font-size: 18px; }
.field input:focus { outline: none; border-bottom-color: var(--thread); box-shadow: 0 1px 0 var(--thread); }
.field input[aria-invalid="true"] { border-bottom-color: var(--thread); background: var(--thread-soft); }
.handover { margin-top: 26px; }
.option { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.option input { width: 18px; height: 18px; margin: 0; accent-color: var(--thread); }
.option em { color: #3a473b; font-style: italic; font-family: var(--serif); }
.express { margin-top: 12px; }
.button-book { margin-top: 28px; min-width: 240px; }
.spinner { display: none; width: 16px; height: 16px; border: 1.5px solid rgba(255, 255, 255, .35); border-top-color: var(--white); border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-summary { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--thread); background: var(--thread-soft); }
.error-summary p { font-weight: 600; }
.error-summary ul { margin: 8px 0 0; padding-left: 18px; }
.error-summary a { color: var(--thread-deep); font-weight: 600; }

/* Swing tag */
.tag-wrap { position: relative; }
.tag { position: sticky; top: 140px; margin-top: 80px; padding: 48px 24px 24px; background: var(--white); border: 1px solid var(--ink); border-radius: 2px 2px 0 0; transition: transform .22s var(--ease); }
.tag-hole { position: absolute; top: 16px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); }
.tag-thread { position: absolute; top: -58px; left: 50%; width: 40px; height: 84px; margin-left: -20px; fill: none; stroke: var(--thread); stroke-width: 2; pointer-events: none; }
.tag-head { display: grid; justify-items: center; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); text-align: center; }
.tag-head h3 { font: 500 30px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.tag-no { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tag-empty { margin-top: 18px; color: var(--muted); text-align: center; font: italic 400 17px/1.45 var(--serif); }
.tag-lines { margin: 8px 0 0; padding: 0; list-style: none; }
.tag-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 36px; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.tag-line b { display: block; font-weight: 600; font-size: 15.5px; }
.tag-line small { display: block; color: var(--muted); font-size: 13.5px; }
.cost { font: 500 16px/1 var(--sans); font-variant-numeric: tabular-nums; }
.remove { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 22px; line-height: 1; }
.remove:hover { color: var(--thread); background: var(--thread-soft); }
.tag-foot { margin-top: 12px; }
.tag-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15.5px; }
.tag-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--ink); align-items: baseline; }
.tag-total strong { font: 600 30px/1 var(--sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tag-ready { margin-top: 14px; padding: 10px 12px; border: 1px solid var(--thread); color: var(--thread-deep); font-size: 15px; text-align: center; }
.tag-done { margin-top: 18px; text-align: center; }
.tag-done p + p { margin-top: 12px; }
.tag-done .button { margin-top: 16px; width: 100%; }
.stamp { display: inline-block; padding: 8px 20px; border: 2px solid var(--thread); color: var(--thread); font: italic 500 30px/1 var(--serif); letter-spacing: .06em; transform: rotate(-5deg); animation: stamp .45s var(--ease); }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.45); } }
.tag.booked { border-color: var(--thread); }
.tag.bump { transform: rotate(-1deg) translateY(-3px); }
.fine { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

.mini-total { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25; display: none; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 6px 6px 6px 18px; background: var(--ink); color: var(--white); font-weight: 600; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5); }
.mini-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--thread); color: var(--white); text-decoration: none; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: 1320px; margin: 0 auto; padding: 28px 32px 40px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 15px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.site-footer a:hover { text-decoration-color: var(--thread); }
.site-footer .footer-contact { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; padding-top: 8px; border-top: 1px solid var(--line); }
.footer-contact span { font: 600 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.site-footer .footer-contact a { font-weight: 500; }

@media (max-width: 1180px) {
  .builder { grid-template-columns: 1fr; }
  .tag { position: relative; top: 0; max-width: 460px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-flat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .hero-flat svg { width: min(70%, 280px); }
  .hours { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; }
  .section-head p:last-child { justify-self: start; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .add-form { grid-template-columns: 1fr; }
  .fitting { position: relative; top: 0; margin-top: 28px; }
}
@media (max-width: 720px) {
  .bar { padding: 0 16px; min-height: 60px; }
  .brand { font-size: 26px; }
  .menu-toggle { display: inline-flex; }
  #site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--white); border-bottom: 1px solid var(--ink); }
  #site-nav a { min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); font: 400 24px/1 var(--serif); }
  #site-nav .nav-cta { margin: 12px 0 0; justify-content: center; padding: 0 16px; font: 600 15px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
  #site-nav.is-open { display: flex; }
  .hero, .how { padding-left: 16px; padding-right: 16px; }
  .tape { margin: 0 -16px; }
  .intro { font-size: 17px; }
  .prices { margin-top: 64px; padding: 64px 16px 72px; }
  .price-groups { margin-top: 36px; }
  .group-toggle { font-size: 24px; }
  .price { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
  .p-days { grid-row: 2; }
  .p-cost { grid-row: 1 / 3; grid-column: 2; align-self: center; }
  .builder { margin-top: 40px; padding: 56px 16px 120px; gap: 40px; }
  .fitting { padding: 16px; }
  .fitting-art { min-height: 240px; }
  .mini-total.show { display: flex; }
  .site-footer { padding: 24px 16px 96px; font-size: 16px; }
  .fine { font-size: 16px; }
}
@media (max-width: 340px) {
  .brand-sub { display: none; }
  .hero h1 { font-size: 42px; }
  .price-groups { columns: 1; }
}
@media (max-width: 380px) {
  .hours { grid-template-columns: 1fr 1fr; }
  .hours dd { font-size: 17px; }
  .button-book { width: 100%; min-width: 0; }
}
@media (pointer: coarse) {
  .tag-line { grid-template-columns: minmax(0, 1fr) auto 44px; }
  .remove { width: 44px; height: 44px; }
}
/* Sideways phones: a slimmer header leaves more of the short screen for the page */
@media (max-height: 500px) and (orientation: landscape) {
  .bar { min-height: 52px; }
  .brand { padding-top: 6px; }
  .hero { padding-top: 32px; }
  .hero h1 { margin-top: 12px; font-size: clamp(38px, 12vh, 54px); }
  .intro { margin-top: 16px; font-size: 16px; }
  .hero .button { margin-top: 20px; }
  html { scroll-padding-top: 64px; }
}
@media (min-width: 1900px) { html { zoom: 1.2; } }
@media (min-width: 2400px) { html { zoom: 1.4; } }
@media (min-width: 3200px) { html { zoom: 1.8; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .tape-strip { transform: none; } }
