/* ════════════════════════════════════════════════════════════════════════
   Rhythm on Carling
   Brand DNA from the building: deep navy, warm apricot, fine rippling lines.
   One family (Hanken Grotesk), set light and tight for display.
   ════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Hanken Grotesk"; font-weight: 300; font-style: normal; font-display: swap; src: url("/fonts/hanken-grotesk-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }

:root {
    --navy: #0F2B4C;
    --navy-2: #1C4270;
    --navy-ink: #0A1F38;
    --apricot: #F7A65A;
    --apricot-2: #F59A43;
    --apricot-wash: #FEF1E4;
    --star: #E07B1E;
    --star-off: #DDE4EC;
    --mist: #F2F6FA;
    --rule: #D8E0E9;
    --muted: #4F637A;
    --paper: #FFFFFF;
    --ok: #1F7A55;
    --warn: #B4471B;

    --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
    --shell: 1200px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--navy);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 2px solid var(--apricot-2); outline-offset: 3px; border-radius: 1px; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--navy); color: #fff; padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; color: #fff; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 3rem; padding: .75rem 1.6rem;
    font: 500 1rem/1.2 var(--font); letter-spacing: -.005em;
    text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
    cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
/* Navy text on apricot: the brand colour, at a contrast ratio people can read. */
.btn--primary { background: var(--apricot); color: var(--navy-ink); }
.btn--primary:hover { background: var(--apricot-2); color: var(--navy-ink); }
.btn--line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: .9375rem; }
.btn--wide { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-head {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}
.site-head.is-stuck { border-bottom-color: var(--rule); }
.site-head__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand__mark { width: 2.25rem; height: 2.25rem; flex: none; }
.brand__name { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.brand__name span { font-weight: 300; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: clamp(.75rem, 2.4vw, 2rem); }
.site-nav__link { text-decoration: none; font-size: .9375rem; color: var(--navy); padding: .25rem 0; border-bottom: 1px solid transparent; }
.site-nav__link:hover { border-bottom-color: var(--apricot); color: var(--navy); }
@media (max-width: 720px) {
    .site-nav__link { display: none; }
    .brand__name span { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero__art { position: absolute; inset: 0; pointer-events: none; }
.hero__ripples {
    position: absolute; width: min(1180px, 110vw); max-width: none;
    right: max(-340px, calc(50% - 900px)); top: -14%;
    opacity: .95;
}
.hero__tower {
    position: absolute; height: 88%; max-height: 640px; width: auto;
    right: max(2%, calc(50% - 560px)); bottom: 0;
}
.hero__inner { position: relative; }
.hero__place {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .9375rem; color: var(--muted); margin-bottom: 1.5rem;
}
.hero__place::before { content: ""; width: 2rem; height: 1px; background: var(--apricot); }
.hero__title {
    font-weight: 300;
    font-size: clamp(2.75rem, 7.4vw, 6rem);
    line-height: .98;
    letter-spacing: -.045em;
    max-width: 8.2em;
    color: var(--navy);
}
.hero__lede { margin-top: 1.75rem; max-width: 34rem; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.6; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

.hero__score {
    display: flex; align-items: center; gap: 1.1rem;
    margin-top: 3rem; padding-top: 1.75rem;
    border-top: 1px solid var(--rule);
    max-width: 30rem;
}
.hero__avg { font-size: 3.5rem; font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.hero__score-meta { display: grid; gap: .35rem; font-size: .9375rem; color: var(--muted); }
.hero__score-empty { font-size: 1rem; color: var(--muted); }

@media (max-width: 960px) {
    .hero__tower { opacity: .22; right: -60px; height: 78%; }
    .hero__ripples { right: -45%; top: -8%; opacity: .7; }
}
@media (max-width: 560px) {
    .hero__tower { display: none; }
}

/* ── Stars (display) ────────────────────────────────────────────────── */
.stars { position: relative; display: inline-flex; vertical-align: middle; line-height: 0; }
.stars__row { display: flex; gap: .12em; }
.stars__row svg { width: 1em; height: 1em; flex: none; }
.stars__row--base svg { fill: var(--star-off); }
.stars__row--fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.stars__row--fill svg { fill: var(--star); }
.stars-sm .stars { font-size: 1rem; }
.stars-md .stars { font-size: 1.35rem; }

/* ── Reviews layout ─────────────────────────────────────────────────── */
.reviews { background: var(--mist); padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--rule); }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: minmax(0, 1fr); } }

/* Summary sidebar */
.summary { display: grid; gap: 2.5rem; }
@media (max-width: 900px) { .summary { gap: 2rem; } }
.summary__block { display: block; }
.summary__title { font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; }
.summary__overall { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 1.25rem; }
.summary__avg { font-size: 3rem; font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.summary__overall-meta { display: grid; gap: .3rem; font-size: .875rem; color: var(--muted); }
.summary__hint { font-size: .875rem; color: var(--muted); margin: .35rem 0 .25rem; }

.summary__topics > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.summary__topics > summary::-webkit-details-marker { display: none; }
.summary__topics > summary::after {
    content: ""; width: .55rem; height: .55rem; margin-right: .25rem;
    border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy);
    transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}
.summary__topics[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }

.dist { list-style: none; display: grid; gap: .2rem; }
.dist__row {
    display: grid; grid-template-columns: 2.4rem 1fr 2rem; align-items: center; gap: .75rem;
    padding: .3rem .4rem; margin: 0 -.4rem; text-decoration: none; color: var(--navy);
    font-size: .875rem; border-radius: var(--radius);
}
.dist__row:hover { background: rgba(15,43,76,.05); color: var(--navy); }
.dist__row.is-active { background: var(--navy); color: #fff; }
.dist__label { display: inline-flex; align-items: center; gap: .25rem; font-variant-numeric: tabular-nums; }
.dist__star { width: .8rem; height: .8rem; fill: var(--star); }
.dist__bar { height: .4rem; background: var(--star-off); border-radius: 1rem; overflow: hidden; }
.dist__bar i { display: block; height: 100%; background: var(--apricot); border-radius: inherit; }
.dist__row.is-active .dist__bar { background: rgba(255,255,255,.2); }
.dist__count { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.dist__row.is-active .dist__count { color: #fff; }

.topic-group { margin: 1.35rem 0 .35rem; font-size: .8125rem; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.topic-list { list-style: none; border-top: 1px solid var(--rule); }
.topic-list li { border-bottom: 1px solid var(--rule); }
.topic-row {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .55rem .4rem; margin: 0 -.4rem; font-size: .9375rem; text-decoration: none; color: var(--navy);
}
.topic-row:hover { background: rgba(15,43,76,.05); color: var(--navy); }
.topic-row.is-active { background: var(--navy); color: #fff; }
.topic-row__name { min-width: 0; }
.topic-row__score { display: inline-flex; align-items: center; gap: .55rem; flex: none; }
.topic-row__meter { width: 3.25rem; height: .3rem; background: var(--star-off); border-radius: 1rem; overflow: hidden; }
.topic-row__meter i { display: block; height: 100%; background: var(--apricot); }
.topic-row.is-active .topic-row__meter { background: rgba(255,255,255,.25); }
.topic-row__num { font-variant-numeric: tabular-nums; font-weight: 500; width: 1.75rem; text-align: right; }
.topic-row__none { font-size: .8125rem; color: var(--muted); flex: none; }
.topic-row.is-empty .topic-row__name { color: var(--muted); }
.topic-row.is-active .topic-row__none, .topic-row.is-active.is-empty .topic-row__name { color: #fff; }

/* Feed */
.feed { min-width: 0; }
.feed__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.feed__title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.05; }

.sorter { display: flex; align-items: center; gap: .6rem; font-size: .9375rem; color: var(--muted); }
.sorter select {
    font: inherit; color: var(--navy); background: transparent;
    border: 0; border-bottom: 1px solid var(--navy); border-radius: 0;
    padding: .3rem 1.6rem .3rem .1rem; cursor: pointer;
    -webkit-appearance: none; appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
    background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%;
    background-size: 5px 5px; background-repeat: no-repeat;
}

.filters { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .6rem; margin-top: 1.25rem; font-size: .9375rem; }
.filters__count { color: var(--muted); margin-right: .25rem; }
.filters__clear { color: var(--muted); }
.chip {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .3rem .5rem .3rem .8rem; border-radius: 2rem;
    background: var(--navy); color: #fff; text-decoration: none; font-size: .875rem;
}
.chip:hover { background: var(--navy-2); color: #fff; }
.chip__x { font-size: 1.1rem; line-height: 1; opacity: .8; }

.review-list { list-style: none; margin-top: 1.75rem; display: grid; gap: 1rem; }

.review {
    background: var(--paper);
    padding: clamp(1.4rem, 3vw, 2.1rem);
    border-left: 3px solid transparent;
    transition: border-color .2s ease;
}
.review:target { border-left-color: var(--apricot); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review__top time { font-size: .875rem; color: var(--muted); }
.review__title { margin-top: .85rem; font-size: 1.3125rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.review__body { margin-top: .6rem; white-space: pre-line; max-width: 42rem; color: var(--navy); line-height: 1.65; }
.review__body.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__more {
    margin-top: .4rem; padding: 0; border: 0; background: none; cursor: pointer;
    font: 500 .9375rem var(--font); color: var(--navy); text-decoration: underline; text-underline-offset: .2em;
}

.review__topics { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.review__topics li {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .25rem .6rem; font-size: .8125rem;
    background: var(--mist); border-radius: 2rem;
}
.review__topics a { color: var(--navy); text-decoration: none; }
.review__topics a:hover { text-decoration: underline; }
.review__topic-score { display: inline-flex; align-items: center; gap: .15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.review__topic-score svg { width: .75rem; height: .75rem; fill: var(--star); }

.review__by { display: flex; align-items: center; gap: .75rem; margin-top: 1.35rem; font-size: .9375rem; }
.review__by strong { font-weight: 500; }
.review__about { color: var(--muted); }
.review__avatar {
    width: 2.25rem; height: 2.25rem; flex: none; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--apricot-wash); color: var(--navy); font-weight: 500; font-size: .9375rem;
    box-shadow: inset 0 0 0 1px rgba(247,166,90,.55);
}

.review__reply { margin-top: 1.35rem; padding: 1rem 1.2rem; background: var(--mist); border-left: 2px solid var(--navy); font-size: .9375rem; }
.review__reply-head { display: flex; justify-content: space-between; gap: 1rem; font-weight: 500; margin-bottom: .35rem; }
.review__reply-head time { font-weight: 400; color: var(--muted); font-size: .8125rem; }
.review__reply p + p { color: var(--navy); }

.empty { margin-top: 1.75rem; background: var(--paper); padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; gap: .6rem; justify-items: start; }
.empty__title { font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; }
.empty p:not(.empty__title) { color: var(--muted); max-width: 36rem; }
.empty .btn { margin-top: .75rem; }

.pager { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 2rem; flex-wrap: wrap; }
.pager__pages { list-style: none; display: flex; gap: .25rem; align-items: center; }
.pager__num, .pager__step {
    display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem;
    text-decoration: none; color: var(--navy); border-radius: var(--radius); font-variant-numeric: tabular-nums;
}
.pager__num:hover, .pager__step:hover { background: var(--paper); color: var(--navy); }
.pager__num.is-current { background: var(--navy); color: #fff; }
.pager__gap { color: var(--muted); padding: 0 .25rem; }

/* Notices */
.notice {
    display: flex; gap: .85rem; align-items: flex-start;
    padding: 1rem 1.2rem; margin-bottom: 1.5rem;
    background: var(--paper); border-left: 3px solid var(--ok);
}
.notice:focus { outline: none; }
.notice svg { width: 1.25rem; height: 1.25rem; flex: none; margin-top: .15rem; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.notice--warn { border-left-color: var(--warn); background: #FDF3EE; }

/* ── Navy band ──────────────────────────────────────────────────────── */
.band { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(4rem, 9vw, 7rem) 0; }
.band__flow { position: absolute; left: 0; bottom: -10%; width: 100%; height: 90%; max-width: none; pointer-events: none; }
.band__inner { position: relative; display: grid; gap: 1.25rem; justify-items: start; }
.band__title { font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 300; letter-spacing: -.045em; line-height: 1.02; max-width: 12em; }
.band__text { max-width: 32rem; color: #C9D6E4; font-size: 1.125rem; }
.band .btn { margin-top: .75rem; }

/* ── Location ───────────────────────────────────────────────────────── */
.place { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.place__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 820px) { .place__grid { grid-template-columns: minmax(0, 1fr); } }
.place__title { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.08; max-width: 14em; }
.place__copy p { margin-top: 1.1rem; max-width: 36rem; color: var(--muted); }
.place__copy a { color: var(--navy); }
.place__card { display: grid; justify-items: start; gap: 1.25rem; padding: 2rem; border: 1px solid var(--rule); position: relative; overflow: hidden; }
.place__pulse { position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; }
.place__addr { position: relative; font-size: 1.0625rem; line-height: 1.55; }
.place__addr strong { display: block; font-weight: 500; font-size: 1.375rem; letter-spacing: -.02em; margin-bottom: .25rem; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-foot { position: relative; overflow: hidden; background: var(--navy-ink); color: #C9D6E4; padding: 3.5rem 0 2rem; font-size: .9375rem; }
.site-foot__flow { position: absolute; right: -10%; top: 0; width: 70%; height: 100%; max-width: none; opacity: .6; pointer-events: none; }
.site-foot__grid { position: relative; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-foot__name { font-size: 1.5rem; font-weight: 500; color: #fff; letter-spacing: -.02em; }
.site-foot__name span { font-weight: 300; color: #C9D6E4; }
.site-foot__addr { margin-top: .6rem; line-height: 1.55; }
.site-foot__nav { display: grid; grid-auto-flow: row; gap: .5rem; align-content: start; }
.site-foot__nav a { color: #fff; text-decoration: none; }
.site-foot__nav a:hover { color: var(--apricot); }
.site-foot__base { position: relative; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8125rem; color: #9FB2C7; }

/* ── Write page ─────────────────────────────────────────────────────── */
.write { position: relative; overflow: clip; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.write__ripples { position: absolute; left: -520px; top: -300px; width: 1100px; max-width: none; opacity: .55; pointer-events: none; }
.write__grid { position: relative; display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
@media (max-width: 900px) { .write__grid { grid-template-columns: minmax(0, 1fr); } }
.write__intro { position: sticky; top: 6.5rem; }
@media (max-width: 900px) { .write__intro { position: static; } }
.write__crumb { font-size: .9375rem; margin-bottom: 1.5rem; }
.write__crumb a { color: var(--muted); }
.write__crumb a::before { content: "‹"; margin-right: .4rem; text-decoration: none; display: inline-block; }
.write__title { font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.write__lede { margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; }
.write__notes { list-style: none; margin-top: 2rem; display: grid; gap: .9rem; font-size: .9375rem; color: var(--muted); }
.write__notes li { padding-left: 1.4rem; position: relative; }
.write__notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: .6rem; height: .6rem; border-radius: 50%; border: 1.5px solid var(--apricot); }

.write__form-wrap { background: var(--paper); border: 1px solid var(--rule); padding: clamp(1.5rem, 4vw, 3rem); }

.form { display: grid; }
.form__section { border: 0; margin: 0; padding: 0 0 2.25rem; min-width: 0; }
.form__section + .form__section { padding-top: 2.25rem; border-top: 1px solid var(--rule); }
fieldset.form__section + .form__section, .form__section + fieldset.form__section { border-top: 1px solid var(--rule); }
.form__label { display: block; padding: 0; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: .5rem; }
.form__hint { color: var(--muted); font-size: .9375rem; margin-top: -.15rem; }
/* A floated legend sits inside the fieldset instead of cutting through its top border. */
fieldset.form__section > legend, fieldset.field > legend { float: left; width: 100%; }
fieldset.form__section > legend + *, fieldset.field > legend + * { clear: both; }
.req, .opt { font-size: .8125rem; font-weight: 400; color: var(--muted); margin-left: .4rem; }
.req { color: var(--warn); }

.field { display: grid; border: 0; margin: 0; padding: 0; min-width: 0; }
.field + .field { margin-top: 1.75rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; margin-top: 1.75rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field-row .field + .field { margin-top: 0; }
.field__meta { font-size: .8125rem; color: var(--muted); margin-top: .4rem; font-variant-numeric: tabular-nums; }
.field__meta.is-ok { color: var(--ok); }

.input {
    width: 100%; font: 400 1.0625rem/1.5 var(--font); color: var(--navy);
    background: transparent; border: 0; border-bottom: 1px solid var(--navy); border-radius: 0;
    padding: .6rem 0; transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: #8797AA; }
.input:focus { outline: none; border-bottom-color: var(--apricot-2); box-shadow: 0 1px 0 0 var(--apricot-2); }
.input--area { border: 1px solid var(--rule); border-bottom-color: var(--navy); padding: .85rem 1rem; resize: vertical; min-height: 11rem; background: #FCFDFE; }
.input--select {
    -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 1.5rem;
    background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
    background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%;
    background-size: 5px 5px; background-repeat: no-repeat;
}

.is-invalid .input { border-bottom-color: var(--warn); }
.is-invalid .input--area { border-color: var(--warn); }
.field-error { display: block; color: var(--warn); font-size: .875rem; margin-top: .4rem; }
.field-error:empty, .field-error.field-validation-valid { display: none; }

.error-summary { border-left: 3px solid var(--warn); background: #FDF3EE; padding: 1.1rem 1.3rem; margin-bottom: 2rem; }
.error-summary:focus { outline: none; }
.error-summary__title { font-weight: 500; margin-bottom: .5rem; }
.error-summary ul { padding-left: 1.1rem; display: grid; gap: .25rem; }
.error-summary a { color: var(--warn); }

/* Star input: radios in DOM order 5..1, displayed 1..5 via row-reverse,
   so "this star and every star before it" is a plain sibling selector. */
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.star-input label { cursor: pointer; padding: .1rem; line-height: 0; }
.star-input label svg { width: 1.6rem; height: 1.6rem; fill: var(--star-off); transition: fill .12s ease, transform .12s ease; }
.star-input input:checked ~ label svg { fill: var(--star); }
.star-input:hover input:checked ~ label svg { fill: var(--star-off); }
.star-input:hover label:hover svg, .star-input:hover label:hover ~ label svg { fill: var(--apricot); }
.star-input input:focus-visible + label { outline: 2px solid var(--apricot-2); outline-offset: 1px; border-radius: 2px; }
.star-input--lg label svg { width: 2.6rem; height: 2.6rem; }
.star-input--lg label:hover svg { transform: scale(1.06); }
.rate-overall { display: grid; justify-items: start; }
.star-input__word { display: block; margin-top: .35rem; font-size: .9375rem; color: var(--muted); min-height: 1.5em; }
.rate-overall.is-invalid .star-input label svg { fill: #F4D9CC; }

.rate-group { margin: 1.6rem 0 .25rem; font-size: .8125rem; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.rate-list { border-top: 1px solid var(--rule); }
.rate-row {
    border: 0; margin: 0; padding: .7rem 0; min-width: 0;
    border-bottom: 1px solid var(--rule);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.rate-row__text { float: left; padding: 0; display: grid; gap: .05rem; min-width: 0; }
.rate-row__name { font-size: .9875rem; font-weight: 500; }
.rate-row__hint { font-size: .8125rem; color: var(--muted); }
.rate-row__control { display: flex; align-items: center; gap: .6rem; flex: none; margin-left: auto; }
.skip-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.skip-label {
    font-size: .8125rem; color: var(--muted); cursor: pointer;
    padding: .2rem .55rem; border-radius: 2rem; border: 1px solid transparent;
}
.skip-radio:checked + .skip-label { border-color: var(--rule); color: var(--navy); background: var(--mist); }
.skip-radio:focus-visible + .skip-label { outline: 2px solid var(--apricot-2); outline-offset: 2px; }
@media (max-width: 520px) {
    .rate-row { flex-wrap: wrap; }
    .rate-row__control { margin-left: 0; width: 100%; justify-content: space-between; }
}

.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills label {
    cursor: pointer; padding: .55rem 1rem; border: 1px solid var(--rule); border-radius: 2rem;
    font-size: .9375rem; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.pills label:hover { border-color: var(--navy); }
.pills input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }
.pills input:focus-visible + label { outline: 2px solid var(--apricot-2); outline-offset: 2px; }
.is-invalid .pills label { border-color: #E6B8A3; }

.check { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: .9375rem; color: var(--navy); }
.check input { width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--navy); cursor: pointer; }
.check label { cursor: pointer; }
.check.is-invalid label { color: var(--warn); }
.form__submit { display: grid; gap: 1rem; padding-bottom: 0; }
.form__submit .btn { margin-top: .5rem; min-height: 3.4rem; font-size: 1.0625rem; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Documents (guidelines, privacy, error) ─────────────────────────── */
.doc { max-width: 46rem; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.doc__title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 300; letter-spacing: -.05em; line-height: 1.02; }
.doc__lede { margin-top: 1.25rem; font-size: 1.1875rem; color: var(--muted); }
.doc h2 { margin-top: 2.75rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -.015em; }
.doc p:not(.doc__lede):not(.write__crumb):not(.doc__code) { margin-top: .75rem; }
.doc ul { margin-top: .75rem; padding-left: 1.2rem; display: grid; gap: .45rem; }
.doc li::marker { color: var(--apricot-2); }
.doc__back { margin-top: 3rem !important; }
.doc--center { text-align: center; display: grid; justify-items: center; }
.doc__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 300; letter-spacing: -.06em; line-height: 1; color: var(--apricot); margin-bottom: 1rem; }

@media print {
    .site-head, .site-foot, .band, .hero__art, .sorter, .pager { display: none; }
    .reviews { background: none; }
}
.rate-list:last-of-type .rate-row:last-child { border-bottom: 0; }
