/* tressaly.com, v2 "Nocturne" (2026-10-27).
   Brand core from DESIGN.md v2, direction F: serif italic display, system UI type,
   one lipstick-red accent, glass only as chrome. Added for the site: a mono face for
   measured data (positions, dates, degrees), and a night theme for the beauty
   horoscope, where the sky itself is the content.
   Layout: a 1120px frame for header, footer and wide bands; reading pages in a 680px column.
   Radius system: 22 photos and panels, 14 controls, full round for tags and the CTA. */
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500 600; font-display: swap; src: url(/fonts/cormorant-garamond-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/dm-mono-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/dm-mono-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --text: #161214;
  --text-2: #675d63;
  --bg: #fbf9f8;
  --surface: #f3eeec;
  --line: rgba(22, 18, 20, 0.1);
  --line-strong: rgba(22, 18, 20, 0.22);
  --accent: #c8323f;
  --accent-top: #d8404d;
  --accent-deep: #a3202f;
  --accent-soft: rgba(200, 50, 63, 0.1);
  --on-accent: #ffffff;
  --placeholder: #ece7e5;
  --glass: rgba(251, 249, 248, 0.72);
  --r-lg: 22px;
  --r-md: 14px;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --glyph: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", "Noto Sans Symbols", sans-serif;
  --frame: 1120px;
  --measure: 680px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f2edef; --text-2: #a69ca3; --bg: #0d0b0f; --surface: #17141a;
    --line: rgba(242, 237, 239, 0.12); --line-strong: rgba(242, 237, 239, 0.28);
    --accent: #e36470; --accent-top: #e8707b; --accent-deep: #b8404c; --accent-soft: rgba(227, 100, 112, 0.14);
    --placeholder: #221e25; --glass: rgba(13, 11, 15, 0.7); color-scheme: dark;
  }
}
/* The horoscope pages are night pages in every theme: the chart reads as a night sky.
   The home page's sky band borrows the same night, once, as its one deliberate theme switch. */
:root.night, .skyband {
  --text: #f2edef; --text-2: #a69ca3; --bg: #0d0b0f; --surface: #17141a;
  --line: rgba(242, 237, 239, 0.12); --line-strong: rgba(242, 237, 239, 0.28);
  --accent: #e36470; --accent-top: #e8707b; --accent-deep: #b8404c; --accent-soft: rgba(227, 100, 112, 0.14);
  --placeholder: #221e25; --glass: rgba(13, 11, 15, 0.7); color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-thickness .15s; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
::selection { background: var(--accent); color: var(--on-accent); }

/* Frame */
.wrap { max-width: var(--frame); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
main, article { display: block; max-width: var(--measure); margin: 0 auto; padding-bottom: 48px; }
main.home, main.wide { max-width: none; }

/* Header: glass chrome */
header.site {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin: 0 calc(-1 * max(20px, env(safe-area-inset-left)));
  padding: 14px max(20px, env(safe-area-inset-left));
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--line);
}
.wordmark { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 28px; line-height: 1; color: var(--text); text-decoration: none; }
nav { display: flex; gap: 4px 20px; flex-wrap: wrap; justify-content: flex-end; }
nav a { position: relative; color: var(--text-2); text-decoration: none; font-size: 15px; padding: 6px 0; }
nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
nav a:hover::after, nav a[aria-current="page"]::after { transform: scaleX(1); }
body:has(article) header.site::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    body:has(article) header.site::after { animation: read linear both; animation-timeline: scroll(root); }
    @keyframes read { to { transform: scaleX(1); } }
  }
}
@media (max-width: 560px) { nav a.legal { display: none; } nav { gap: 4px 14px; } }

/* Type */
h1, h2.display {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.04; text-wrap: balance;
  margin: 0.45em 0 0.35em; padding-bottom: 0.06em;
}
h1 { font-size: clamp(46px, 8.6vw, 84px); }
h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 4.6vw, 38px); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin: 2em 0 0.45em; padding-bottom: 0.04em; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.4; margin: 1.6em 0 0.3em; }
p, li { color: var(--text); }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: 20px; line-height: 1.55; color: var(--text-2); max-width: 32em; }
.muted { color: var(--text-2); font-size: 15px; }
.data { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); font-variant-numeric: tabular-nums; }
.todo { background: #fff3c4; color: #5a4300; padding: 0 4px; border-radius: 4px; }
article ul { padding-left: 1.2em; }
article li { margin: 0 0 0.5em; }

/* CTA: the brand gradient, primary actions only */
.cta {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  margin: 8px 0; padding: 15px 26px; border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-top) 0%, var(--accent) 55%, var(--accent-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 20px color-mix(in srgb, var(--accent) 32%, transparent);
  color: var(--on-accent); text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cta:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 28px color-mix(in srgb, var(--accent) 40%, transparent); }
.cta:hover svg { transform: translateX(3px); }
.cta:active { transform: translateY(0) scale(.98); }

/* Home */
.hero { display: grid; gap: 28px; padding: 28px 0 8px; align-items: center; }
.hero .app-title { margin-top: 0.15em; font-size: clamp(40px, 6vw, 62px); line-height: 1.1; }
@media (min-width: 600px) and (max-width: 899px) { .hero .compare, .hero .compare + .muted { max-width: 520px; } }
.hero .data { margin: 0; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; padding: 64px 0 32px; }
  .hero .compare { margin: 0; }
  .hero .app-title { font-size: clamp(56px, 4.9vw, 70px); }
}
.makeup-feature { display: grid; gap: 32px; padding: 36px 0 48px; border-bottom: 1px solid var(--line); }
.makeup-feature h1 { margin: 10px 0 18px; line-height: 1.1; font-size: clamp(44px, 5.6vw, 76px); }
.makeup-feature .data { margin: 0; }
.makeup-feature .lede { max-width: 32em; }
.makeup-feature .cta { margin-top: 8px; }
.makeup-feature-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.makeup-feature-gallery > a { min-width: 0; text-decoration: none; color: var(--text); }
.makeup-feature-gallery > a:nth-child(2) { margin-top: 32px; }
.makeup-feature-gallery > a:nth-child(3) { margin-top: 64px; }
.makeup-feature-gallery figure { margin: 0; }
.makeup-feature-photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-lg); background: var(--placeholder); }
.makeup-feature-photo img { position: absolute; left: 0; top: 0; width: 200%; height: 200%; max-width: none; transform: translateX(-50%); }
.makeup-feature-gallery figcaption { font-size: 14px; line-height: 1.4; padding-top: 12px; }
.makeup-feature-gallery > .muted { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13px; }
.makeup-feature-gallery a:hover figcaption { color: var(--accent); }
@media (min-width: 900px) {
  .makeup-feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 56px 0 64px; }
}
@media (max-width: 560px) {
  .makeup-feature { gap: 28px; padding: 28px 0 36px; }
  .makeup-feature-gallery { gap: 8px; }
  .makeup-feature-gallery > a:nth-child(2) { margin-top: 16px; }
  .makeup-feature-gallery > a:nth-child(3) { margin-top: 32px; }
  .makeup-feature-gallery figcaption { font-size: 13px; }
}
.home .band { max-width: var(--measure); margin: 0 auto; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 32px 0 12px; }
.compare figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.compare picture { display: contents; }
.compare img { width: 100%; height: auto; aspect-ratio: 9 / 14; object-fit: cover; object-position: top; border-radius: var(--r-lg); background: var(--placeholder); display: block; }
.compare figure:last-child img { animation: wipe 1.2s .2s var(--ease) both; }
.compare figure:last-child::after { content: ""; position: absolute; inset: 0; border-right: 1.5px solid var(--accent); pointer-events: none; opacity: 0; animation: scan 1.2s .2s var(--ease) both; }
@keyframes scan { from { transform: translateX(-100%); opacity: 1; } 88% { opacity: 1; } to { transform: translateX(0); opacity: 0; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0 round var(--r-lg)); } to { clip-path: inset(0 0 0 0 round var(--r-lg)); } }
.compare figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: rgba(18, 18, 18, 0.35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 5px 12px; border-radius: 999px;
}
/* One face, several fringes (guides/bangs-for-your-face-shape): scrolls sideways on phones. */
.fringes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 32px 0 8px; padding-bottom: 6px; }
.fringes figure { margin: 0; min-width: 0; scroll-snap-align: start; }
.fringes img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 8%; border-radius: var(--r-lg); background: var(--placeholder); display: block; }
.fringes figcaption { font-size: 14px; line-height: 1.4; padding-top: 10px; }
.steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; align-content: start; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 32px; line-height: 1; color: var(--accent); }
.steps strong { display: block; font-size: 18px; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
section.about, section.faq { margin-top: 48px; }
section.faq details { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
section.faq details:last-of-type { border-bottom: 1px solid var(--line); }
section.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; }
section.faq summary::-webkit-details-marker { display: none; }
section.faq summary h3 { margin: 0; font-size: 17px; font-weight: 600; transition: color .2s; }
@media (hover: hover) { section.faq summary:hover h3 { color: var(--accent); } }
section.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; color: var(--text-2);
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform .4s var(--ease), color .2s; }
section.faq details[open] summary::after { transform: rotate(135deg); color: var(--accent); }
section.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
section.faq details[open]::details-content { block-size: auto; }
section.faq details p { margin: 0 0 22px; max-width: 60ch; color: var(--text-2); }
main .updated { margin-top: 36px; font-size: 13px; }

/* Sky band: the home page's door into the horoscope, drawn from the real sky */
.skyband {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 32px; align-items: center;
  margin: 96px calc(50% - 50vw) 24px;
  padding: clamp(64px, 11vw, 136px) max(20px, calc(50vw - var(--frame) / 2 + 20px));
  color: var(--text);
  background: radial-gradient(60vw 40vw at 76% 50%, rgba(227, 100, 112, 0.11), transparent 62%), var(--bg);
  border-block: 1px solid var(--line);
}
.skyband h2 { margin: 10px 0 14px; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.06; }
.skyband p { color: var(--text-2); max-width: 30em; }
.skyband figure { max-width: 460px; width: 100%; justify-self: center; }
@media (prefers-color-scheme: dark) { .skyband { --bg: #08060a; } }
@media (min-width: 860px) { .skyband { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

/* Guides */
.crumb { margin: 28px 0 0; font-size: 14px; color: var(--text-2); }
.crumb a { color: var(--text-2); text-decoration: none; }
.crumb a:hover { color: var(--text); }
.answer { font-size: 20px; line-height: 1.55; max-width: 34em; margin: 0.6em 0 0.6em; }
.updated { font-size: 13px; }
article.guide h1 { font-size: clamp(42px, 7.4vw, 66px); }
article.guide h2 { margin-top: 1.9em; }
article.guide .compare { margin: 28px 0 8px; }
/* Sign pages: the look is makeup, so the pair is cropped in to head and shoulders. */
article:not(.guide) .compare img { aspect-ratio: 4 / 5; object-position: 50% 12%; transform: scale(1.5); transform-origin: 50% 28%; }
ol.how { padding-left: 0; margin: 20px 0; list-style: none; counter-reset: h; }
ol.how li { counter-increment: h; position: relative; padding: 0 0 0 46px; margin: 0 0 18px; }
ol.how li::before { content: counter(h); position: absolute; left: 0; top: -5px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 28px; color: var(--accent); }
ol.how strong { display: block; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }
table.guide { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 520px; }
table.guide caption { text-align: left; color: var(--text-2); font-size: 14px; padding-bottom: 8px; }
table.guide th, table.guide td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
table.guide thead th { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-2); padding-top: 0; }
table.guide tbody th { font-weight: 600; width: 22%; }
table.guide td:last-child, table.guide th:last-child { padding-right: 0; }
.sources { margin-top: 48px; }
.sources h2 { font-size: 26px; }
.sources ol { padding-left: 1.2em; font-size: 14px; color: var(--text-2); }
.sources li { margin: 0 0 6px; color: var(--text-2); }
.guide-list { list-style: none; padding: 0; margin: 32px 0 0; }
.guide-list li { position: relative; padding: 22px 0; border-top: 1px solid var(--line); }
.guide-list a { display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; line-height: 1.12; color: var(--text); text-decoration: none; transition: color .25s, padding-left .35s var(--ease); }
.guide-list a::after { content: ""; position: absolute; inset: 0; }
.guide-list li::before { content: "\2192"; position: absolute; right: 0; top: 26px; font-size: 20px; line-height: 1; color: var(--accent); opacity: 0; transform: translateX(-10px); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
@media (hover: hover) {
  .guide-list li:hover a { color: var(--accent); padding-left: 6px; }
  .guide-list li:hover::before { opacity: 1; transform: none; }
}
.guide-list p { margin: 6px 0 0; padding-right: 32px; color: var(--text-2); font-size: 15px; }

/* Wheel (shared by home, hub and sign pages) */
.wheel { display: block; width: 100%; height: auto; overflow: visible; }
.w-ring { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 1240; animation: draw 1.8s var(--ease) both; }
.w-ring + .w-ring { animation-delay: .15s; }
@keyframes draw { from { stroke-dashoffset: 1240; } }
.w-core { fill: var(--bg); stroke: var(--line); }
.w-sign { fill: transparent; stroke: none; transition: fill .4s; }
.w-sign.on { fill: var(--accent-soft); }
.w-glyph { font-family: var(--glyph); font-size: 17px; fill: var(--text-2); text-anchor: middle; dominant-baseline: central; }
.w-glyph.on { fill: var(--accent); }
.w-house { font-family: var(--mono); font-size: 11px; fill: var(--text-2); opacity: .7; text-anchor: middle; dominant-baseline: central; }
.w-cusp { stroke: var(--line); }
.w-tick { stroke: var(--line-strong); }
.w-asc { stroke: var(--accent); stroke-width: 1.4; }
.w-asc-t { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; fill: var(--accent); text-anchor: end; }
.w-mark { stroke: var(--text); stroke-width: 1.2; }
.w-body { cursor: help; }
.w-body circle { fill: var(--bg); stroke: var(--line-strong); transition: stroke .25s, fill .25s; }
@media (hover: hover) { .w-body:hover circle { stroke: var(--accent); fill: color-mix(in srgb, var(--accent) 16%, var(--bg)); } }
.w-body text { font-family: var(--glyph); font-size: 17px; fill: var(--text); text-anchor: middle; dominant-baseline: central; }
.w-body text.w-deg { font-family: var(--mono); font-size: 11px; fill: var(--text-2); }
.w-body { transform-box: fill-box; transform-origin: center; animation: rise .9s var(--ease) both; }
.w-body:nth-of-type(2) { animation-delay: .06s; } .w-body:nth-of-type(3) { animation-delay: .12s; } .w-body:nth-of-type(4) { animation-delay: .18s; }
.w-body:nth-of-type(5) { animation-delay: .24s; } .w-body:nth-of-type(6) { animation-delay: .30s; } .w-body:nth-of-type(7) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: scale(.6); } }
.wheel-cap { font-family: var(--mono); font-size: 12px; line-height: 1.7; letter-spacing: .06em; color: var(--text-2); text-align: center; text-wrap: balance; margin: 14px 0 0; font-variant-numeric: tabular-nums; }
.settled .w-ring, .settled .w-body { animation: none; }

/* Beauty horoscope */
.night body { background:
  radial-gradient(1200px 600px at 80% -10%, rgba(227, 100, 112, 0.08), transparent 60%),
  var(--bg); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
/* Stars stay out of the reading column: faint behind text, full strength around the chart. */
.stars { -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)); mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)); }
@media (min-width: 860px) {
  .stars { -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .22) 42%, #000 62%); mask-image: linear-gradient(to right, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .22) 42%, #000 62%); }
}
.hz-hero { position: relative; isolation: isolate; display: grid; gap: 24px; padding: 32px 0 8px; align-items: center; }
.hz-hero h1 { margin-top: .1em; }
@media (min-width: 900px) { .hz-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 64px; padding: 64px 0 24px; } }
.hz-hero .wheel { max-width: 440px; justify-self: center; }
.week { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 14px 10px 14px 0; min-width: 0; }
.facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.facts dd { margin: 2px 0 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; line-height: 1.2; }
.sky { list-style: none; padding: 0; margin: 16px 0; }
.sky li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.sky time { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); padding-top: 4px; }
.sky b { font-weight: 600; }
.yoursky { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 0; }
.yoursky li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); margin: 0; }
.yoursky .g { font-family: var(--glyph); font-size: 20px; line-height: 1.3; color: var(--accent); }
.tools { display: grid; gap: 12px; margin: 18px 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .tools { grid-template-columns: 1fr 1fr; } }
.tools li { position: relative; margin: 0; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: border-color .25s, transform .25s var(--ease); }
.tools li:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tools li:not(:has(a)):hover { border-color: var(--line); transform: none; }
.tools .data { color: var(--accent); }
.tools strong { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 24px; line-height: 1.15; }
.tools p { margin: 0; font-size: 15px; color: var(--text-2); }
.tools a { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.tools a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tools a span { transition: transform .3s var(--ease); }
.tools li:hover a span { transform: translate(2px, -2px); }
.pieces { display: grid; gap: 12px; margin: 18px 0; padding: 0; list-style: none; }
.pieces li { position: relative; margin: 0; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s; }
.pieces img { width: 104px; height: 104px; object-fit: cover; border-radius: var(--r-md); background: #fff; display: block; }
.pieces div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pieces .data { color: var(--accent); }
.pieces strong { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; line-height: 1.15; }
.pieces p { margin: 0; font-size: 15px; color: var(--text-2); }
.pieces a { padding-top: 6px; font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.pieces a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pieces a span { transition: transform .3s var(--ease); }
@media (hover: hover) { .pieces li:hover { border-color: var(--line-strong); } .pieces li:hover a span { transform: translate(2px, -2px); } }
@media (max-width: 420px) { .pieces li { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; } .pieces img { width: 80px; height: 80px; } }
.disclose { font-size: 13px; color: var(--text-2); }
.signs { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 520px) { .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .signs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .signs.full { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.signs li { margin: 0; }
.signs a { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: baseline; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line); color: var(--text); text-decoration: none; height: 100%; transition: border-color .25s, background .25s; }
.signs a:hover { border-color: var(--line-strong); background: var(--surface); }
.signs a[aria-current="page"] { border-color: var(--accent); }
.signs .g { grid-row: span 4; font-family: var(--glyph); font-size: 26px; line-height: 1; color: var(--accent); transition: transform .4s var(--ease); }
.signs a:hover .g { transform: rotate(-12deg) scale(1.08); }
.signs b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 24px; line-height: 1.1; }
.signs small { color: var(--text-2); font-size: 13px; }
.signs .data { color: var(--accent); letter-spacing: .1em; }
.signs .m { font-size: 14px; color: var(--text-2); margin-top: 6px; line-height: 1.45; }
.finder { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 20px 0 6px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.finder label { display: grid; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.finder select { font: inherit; font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); min-width: 130px; }
.finder output { flex-basis: 100%; font-size: 16px; min-height: 1.6em; }
.finder output a { font-weight: 600; }
.app-note { margin: 48px 0 0; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.app-note h2 { margin: 0 0 8px; font-size: 30px; }
.app-note p { margin: 0; color: var(--text-2); }
.elements { display: grid; grid-template-columns: 64px repeat(3, minmax(0, 1fr)); gap: 6px; margin: 20px 0; }
.elements > * { padding: 12px 6px; border-radius: var(--r-md); text-align: center; font-size: 14px; line-height: 1.35; }
.elements .h { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); align-self: end; }
.elements .rh { text-align: left; padding-left: 0; align-self: center; }
.elements a { border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .25s, background .25s; }
.elements a:hover { border-color: var(--accent); background: var(--accent-soft); }
.elements a span { display: block; font-family: var(--glyph); font-size: 22px; color: var(--accent); }
.cast { list-style: none; padding: 0; margin: 20px 0; }
.cast li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.cast b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; line-height: 1.2; }

/* Footer */
footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 44px; font-size: 14px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; }
footer.site a { color: var(--text-2); text-decoration: none; }
footer.site a:hover { color: var(--text); }
footer.site p { margin: 0 0 0 auto; color: var(--text-2); }

/* Motion on scroll. Each block rises into place once as it enters; the sky band's chart turns
   into position like a dial being set. No scroll listeners: CSS view timelines only. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    main h2, .steps li, .signs li, .tools li, .pieces li, .guide-list li, .sky li, .yoursky li, .cast li, section.faq details, .app-note, article .compare, .table-scroll, .skyband > div {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
    .signs li:nth-child(4n+2), .steps li:nth-child(2n), .tools li:nth-child(2n) { animation-range: entry 12% entry 82%; }
    .signs li:nth-child(4n+3) { animation-range: entry 24% entry 94%; }
    .signs li:nth-child(4n+4) { animation-range: entry 36% cover 50%; }
    .skyband h2 { animation: none; }
    article .compare figure:last-child img { animation: wipe linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
    article .compare figure:last-child::after { animation: scan linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
    .skyband #live { animation: dial linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(28px); } }
    @keyframes dial { from { opacity: 0; transform: rotate(-30deg) scale(.88); } }
  }
}

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