/* GURU ESTATES C LTD — public website prototype.
   Tokens: ../design-system/guru-tokens.css. Layout, type and motion: style pack `videinfra`
   (Web Design\style-library) in Guru's colourway. Two tones only, white and #123F24, as in the
   pack. Gold accents (Ross, 27 Nov, reversing the 26 Nov logo-only rule, after Anup's mockup):
   lines, icons, the active tab and the buttons on green; never body text on white. Light only. */

/* Inter and Inter Tight, served from this site (SIL Open Font Licence 1.1; files from Google Fonts,
   28 Nov 2026). Variable fonts: one file carries every weight. latin-ext holds the Maltese letters. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin.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: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-tight-latin.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 {
  --green: #123F24;
  --green-hover: #285437;
  --ink: #0B2A17;              /* 15.5:1 on white */
  --muted: #545855;            /* 7.2:1 / Lc 85 on white */
  --on-green: #FFFFFF;         /* 11.9:1 on green */
  --on-green-muted: #C9DECF;   /* 8.4:1 / Lc 76 on green */
  --tint: #E7ECE9;             /* green at 10%: resting pill */
  --wash: #F3F5F4;             /* green at 5%: empty media, as the pack's decorative panels */
  --hair: rgba(18, 63, 36, .12);
  --hair-on-green: rgba(255, 255, 255, .3);
  --gold: #B07A2C;             /* graphics on white: 3.7:1 */
  --gold-text: #96651F;        /* text on white, used sparingly: 5.0:1 */
  --gold-on-green: #E0B064;    /* lines, icons and text on #123F24: 6.0:1; ink on it 7.5:1 */
  --ease-vi: cubic-bezier(.25, .74, .22, .99);
  --wrap: 1680px;
  --gutter: clamp(20px, 2.8vw, 40px);
  --side: clamp(20px, 9.7vw, 140px);
  --band: clamp(72px, 8.3vw, 120px);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* the attribute wins over component display rules (.pill, .field) */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.5 var(--font-body); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green); border-radius: 4px; }
.dark :focus-visible { box-shadow: 0 0 0 2px var(--green), 0 0 0 4px #fff; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; padding: 8px 16px; }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }

/* ── type: the pack's scale, tracking softened by ruling ── */
.display { font: 500 clamp(40px, 6.25vw, 90px)/1 var(--font-display); letter-spacing: -0.03em; margin: 0; }
.heading { font: 500 clamp(34px, 5.2vw, 76px)/.96 var(--font-display); letter-spacing: -0.02em; margin: 0; }
.sub { font: 500 clamp(24px, 2.64vw, 38px)/1.08 var(--font-display); letter-spacing: -0.02em; margin: 0; }
.lead { font-size: clamp(18px, 1.53vw, 22px); line-height: 1.3; letter-spacing: -0.015em; margin: 0; }
.small { font-size: 14px; line-height: 20px; }
.label { font-size: 16px; line-height: 20px; color: var(--ink); margin: 0; }
.muted { color: var(--muted); }
.dark .muted { color: var(--on-green-muted); }
.dark .label { color: var(--on-green); }

/* ── layout ── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--side); }
.band { padding-block: var(--band); position: relative; }
.dark { background: var(--green); color: var(--on-green); }
.row2 { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: var(--gutter); align-items: start; }
@media (max-width: 900px) { .row2 { grid-template-columns: 1fr; gap: 28px; } }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
@media (max-width: 700px) { .cols2 { grid-template-columns: 1fr; } }

/* prototype line (honest labelling, removed at launch) */
.proto { margin: 0; background: var(--green); color: var(--on-green-muted); font-size: 13px; line-height: 18px; padding: 6px var(--side); border-bottom: 1px solid rgba(255,255,255,.15); }

/* ── header: links only, follows the band beneath (pack: 0.6s) ── */
.hdr { position: sticky; top: 0; z-index: 50; height: 60px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding-inline: var(--side); background: #fff; color: var(--ink);
  transition: background-color .6s var(--ease-vi), color .6s var(--ease-vi); }
.hdr[data-tone="dark"] { background: var(--green); color: var(--on-green); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 500 18px/1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.brand svg { width: 36px; height: 30px; flex: none; }   /* emblem, 322:271 */
.brand { --logo-accent: #884D17; }
.hdr[data-tone="dark"] .brand, .dark .brand { --logo-accent: #E39A62; }   /* logo copper on green, graphic: 5.1:1 */
.nav { display: flex; gap: 28px; }
.hdr > .nav { justify-self: center; }
.nav a { white-space: nowrap; text-decoration: none; font-size: 16px; line-height: 24px; transition: opacity .4s var(--ease-vi); }
.nav a:hover { opacity: .6; }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hdr__end { display: flex; justify-content: flex-end; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.burger span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 7px 0 7px auto; transition: transform .4s var(--ease-vi); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.menu { position: fixed; inset: 60px 0 0; z-index: 49; background: var(--green); color: #fff; padding: 24px var(--side); display: none; }
.menu.open { display: block; }
.menu a { display: block; font: 500 38px/1.25 var(--font-display); letter-spacing: -0.02em; text-decoration: none; padding: 4px 0; }
/* Two navs of 4 and 5 links need ~950 px: tighter padding below 1280 px, the burger below 1024 px
   ("Sign in" wrapped onto two lines at ~1000 px, 28 Nov 2026). */
@media (max-width: 1279px) { .hdr { padding-inline: 32px; } .nav { gap: 20px; } }
@media (max-width: 1023px) { .hdr { grid-template-columns: 1fr auto; } .hdr > .nav, .hdr__end .nav { display: none; } .burger { display: block; } }

/* ── pill: fill rises from below, label rolls (pack, captured live) ── */
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--tint); color: var(--ink); text-decoration: none; font-size: 16px; line-height: 20px; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .6s var(--ease-vi); white-space: nowrap; }
.pill::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green); transform: translateY(101%); transition: transform .6s var(--ease-vi); z-index: -1; }
.pill__in { display: grid; overflow: hidden; height: 20px; }
.pill__in > span { grid-area: 1 / 1; transition: transform .6s var(--ease-vi); }
.pill__in > span + span { transform: translateY(100%); }
.dark .pill { background: rgba(255,255,255,.12); color: #fff; }
.dark .pill::before { background: #fff; }
.pill:active { transform: scale(var(--press-scale)); transition: transform var(--dur-press) var(--ease-out), color .6s var(--ease-vi); }
@media (hover: hover) {
  .pill:hover::before { transform: translateY(0); }
  .pill:hover { color: #fff; }
  .dark .pill:hover { color: var(--green); }
  .pill:hover .pill__in > span { transform: translateY(-100%); }
  .pill:hover .pill__in > span + span { transform: translateY(0); }
}
.pill[aria-disabled="true"] { cursor: not-allowed; }
.circle { width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 15px;
  transition: background-color .4s var(--ease-vi), transform var(--dur-press) var(--ease-out); flex: none; text-decoration: none; }
.circle:hover { background: var(--green-hover); }
.circle:active { transform: scale(var(--press-scale)); }
.circle--sm { width: 44px; height: 44px; background: transparent; border: 1px solid var(--hair-on-green); color: inherit; }
.circle--sm:hover { background: rgba(255,255,255,.12); }
@media (prefers-reduced-motion: reduce) {
  .pill::before, .pill__in > span { transition: none; }
  .pill:hover .pill__in > span, .pill:hover .pill__in > span + span { transform: none; }
  .pill__in > span + span { display: none; }
}

/* ── hero (pack: intro top-left, h1 bottom-right, line arches, round scroll button bottom-left) ── */
.hero { position: relative; min-height: min(100svh - 84px, 900px); display: grid; grid-template-rows: auto 1fr; padding-block: 40px 48px; overflow: hidden; }
.hero__intro { max-width: 13ch; }
.hero__mid { position: relative; display: grid; align-items: end; min-height: 360px; }
.hero__art { position: absolute; left: 6%; bottom: -48px; width: min(42vw, 520px); color: var(--hair-on-green); pointer-events: none; }
.hero h1 { justify-self: end; max-width: 9ch; position: relative; }
.hero__down { position: absolute; left: var(--side); bottom: 48px; }
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease-vi) forwards; }
.draw path:nth-child(2) { animation-delay: .25s; } .draw path:nth-child(3) { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .draw path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 700px) { .hero { min-height: 560px; } .hero__art { left: 8%; width: 80vw; } .hero h1 { justify-self: start; margin-bottom: 72px; } }

/* ── search: plain text tabs and underline fields, like the pack's form ── */
.tabs { display: flex; gap: 28px; margin-bottom: 28px; }
.tab { height: 44px; padding: 0; border: 0; border-bottom: 1px solid transparent; background: none; cursor: pointer;
  font: 500 clamp(24px, 2.64vw, 38px)/1 var(--font-display); letter-spacing: -0.02em; color: var(--muted); transition: color .4s var(--ease-vi), border-color .4s var(--ease-vi); }
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { color: var(--ink); border-bottom: 2px solid var(--gold); }
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 24px 32px; align-items: end; }
.filters label { display: block; font-size: 14px; line-height: 20px; color: var(--muted); }
.select { width: 100%; height: 48px; appearance: none; -webkit-appearance: none; border: 0; border-bottom: 1px solid var(--line-input); border-radius: 0; background: transparent
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230B2A17' stroke-width='1.3'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center;
  padding: 0 24px 0 0; font-size: 20px; cursor: pointer; transition: border-color .4s var(--ease-vi); }
.select:hover, .select:focus { border-bottom-color: var(--ink); }
.count { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
@media (max-width: 1100px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .filters > .pill { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 560px) { .filters { grid-template-columns: 1fr; } .select { font-size: 18px; } }

/* ── giant list (the pack's awards list, smaller) ── */
.biglist a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0 14px; border-top: 1px solid var(--hair); text-decoration: none;
  font: 500 clamp(34px, 5.2vw, 76px)/1 var(--font-display); letter-spacing: -0.025em; transition: color .4s var(--ease-vi); }
.biglist a:last-child { border-bottom: 1px solid var(--hair); }
.biglist a:hover { color: var(--gold-text); }
.biglist small { font: 400 16px/20px var(--font-body); letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; }

/* ── empty media: the pack's decorative panel until photographs exist ── */
.media { position: relative; background: var(--wash); border: 1px solid var(--hair); aspect-ratio: 3 / 2; }
.media--wide { aspect-ratio: 16 / 9; }
.media span { position: absolute; left: 14px; bottom: 12px; font-size: 13px; line-height: 16px; color: var(--muted); }

/* ── featured: the pack's case rows (label column + wide media, lots of air) ── */
.case { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: var(--gutter); padding-block: clamp(48px, 6vw, 90px); border-top: 1px solid var(--hair); text-decoration: none; }
.case__meta { display: flex; flex-direction: column; gap: 4px; }
.case__meta .pill { margin-top: auto; align-self: flex-start; }
.case .media { transition: opacity .4s var(--ease-vi); }
.case:hover .media { opacity: .8; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case__meta { order: 2; } .case__meta .pill { margin-top: 16px; } }

/* ── cards (results, similar) ── */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gutter); }
@media (max-width: 1100px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid3 { grid-template-columns: 1fr; } }
.card { display: block; text-decoration: none; color: inherit; }
.card .media { transition: opacity .4s var(--ease-vi); }
.card:hover .media { opacity: .8; }
.cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; align-items: baseline; }
.cap__name { font-size: 20px; line-height: 24px; letter-spacing: -0.015em; }
.cap__price { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 16px; }
.cap2 { display: flex; justify-content: space-between; gap: 16px; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }

/* ── investor lists (the pack's services: ghost word + short plain lists) ── */
.ghost { max-width: var(--wrap); margin: calc(var(--band) * -0.4) auto 0; padding-inline: var(--side); font: 500 clamp(90px, 17vw, 260px)/.8 var(--font-display);
  letter-spacing: -0.03em; color: rgba(255,255,255,.08); pointer-events: none; user-select: none; }
.ghost + .wrap { margin-top: clamp(24px, 3vw, 48px); position: relative; }
.lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gutter); }
.lists p { margin: 0 0 12px; font-size: 14px; }
.lists ul { list-style: none; margin: 0; padding: 0; font-size: clamp(18px, 1.53vw, 22px); line-height: 1.3; }
.lists li { padding: 2px 0; }
.lists__cta { grid-column: 1 / -1; margin: 24px 0 0 !important; }
@media (max-width: 800px) { .lists { grid-template-columns: 1fr; } }

/* ── about: hairline rows, no cards, no bullets ── */
.rows { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; margin: 0; }
.rows dt, .rows dd { margin: 0; padding: 18px 0; border-top: 1px solid var(--hair); }
.rows dt { color: var(--muted); padding-right: 24px; }
.rows dd { font-size: clamp(18px, 1.53vw, 22px); line-height: 1.3; }
.rows--tight dt { color: var(--ink); }
.rows dt:last-of-type, .rows dd:last-of-type { border-bottom: 1px solid var(--hair); }
@media (max-width: 560px) { .rows { grid-template-columns: 1fr; } .rows dd { border-top: 0; padding-top: 0; } }
.plain { list-style: none; margin: 20px 0 0; padding: 0; }
.plain li { padding: 14px 0; border-top: 1px solid var(--hair); font-size: clamp(18px, 1.53vw, 22px); line-height: 1.3; }
.plain li:last-child { border-bottom: 1px solid var(--hair); }

/* ── forms: underline only, labels float (pack) ── */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }
.field { position: relative; padding-top: 22px; }
.field input, .field textarea, .field select { width: 100%; border: 0; border-bottom: 1px solid var(--line-input); background: transparent; padding: 10px 0 12px;
  font-size: 22px; line-height: 28px; border-radius: 0; transition: border-color .4s var(--ease-vi); appearance: none; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.field label { position: absolute; left: 0; top: 34px; color: var(--muted); font-size: 22px; line-height: 26px; transform-origin: left top; pointer-events: none;
  transition: transform .4s var(--ease-vi); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-26px) scale(.66); }
@media (max-width: 700px) { .field input, .field textarea, .field select, .field label { font-size: 18px; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 20px; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); flex: none; }
.form__end { display: flex; justify-content: flex-end; margin-top: 24px; }
.note { font-size: 14px; line-height: 20px; color: var(--muted); border-left: 1px solid var(--ink); padding: 2px 0 2px 12px; margin: 20px 0 0; }
.dark .note { color: var(--on-green-muted); border-left-color: #fff; }

/* ── footer (the pack's: wordmark, two short link lists, one pill, small base line) ── */
.ftr { border-top: 2px solid var(--gold); padding-block: 32px 28px; }
.ftr__row { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: var(--gutter); align-items: start; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li a { display: inline-block; padding: 2px 0; text-decoration: none; } .ftr li a:hover { opacity: .6; }
.ftr__base { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 56px; font-size: 14px; color: var(--muted); }
.ftr__base a { text-decoration: none; margin-left: auto; display: inline-block; padding: 2px 0; }
@media (max-width: 800px) { .ftr__row { grid-template-columns: 1fr 1fr; } .ftr__row .brand { grid-column: 1 / -1; } .ftr__row .pill { grid-column: 1 / -1; justify-self: start; } .ftr__base a { margin-left: 0; } }

/* ── results + property ── */
.bar { position: sticky; top: 60px; z-index: 20; background: #fff; border-bottom: 1px solid var(--hair); padding-block: 16px 20px; }
.bar .tabs { margin-bottom: 8px; }
.bar .tab { font-size: 22px; }
.bar .filters { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .bar { position: static; } .bar .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bar .filters { grid-template-columns: 1fr; } }
.empty { padding: 24px 0; grid-column: 1 / -1; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 32px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.facts { display: grid; grid-template-columns: auto 1fr; margin: 0; }
.facts dt, .facts dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--hair); }
.facts dt { color: var(--muted); padding-right: 24px; }
.facts dd { text-align: right; font-variant-numeric: tabular-nums; }
.price { font: 500 clamp(28px, 2.64vw, 38px)/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: 16px 0 0; }
.calc table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: clamp(16px, 1.25vw, 18px); }
.calc td { padding: 12px 0; border-top: 1px solid var(--hair); }
.calc td:last-child { text-align: right; }
.calc tr.total td { font-weight: 500; border-top: 1px solid var(--ink); }
.calc input { width: 64px; height: 44px; border: 0; border-bottom: 1px solid var(--line-input); text-align: right; font-size: 18px; padding: 0; background: transparent; }

@media print {
  .proto, .hdr, .menu, .ftr, .no-print, form, .similar { display: none !important; }
  .band { padding-block: 24px; }
}

/* fields and buttons on green (property enquiry) */
.dark .field input, .dark .field textarea, .dark .field select { border-bottom-color: var(--on-green-muted); color: #fff; }
.dark .field input:focus, .dark .field textarea:focus, .dark .field select:focus { border-bottom-color: #fff; }
.dark .field label, .dark .consent { color: var(--on-green-muted); }
.dark .field select option { color: var(--ink); }
.circle--light { background: #fff; color: var(--green); }
.circle--light:hover { background: var(--on-green-muted); }

@media (max-width: 800px) { .ftr li a, .ftr__base a { padding: 12px 0; } .crumbs a { display: inline-block; padding: 12px 0; } }

/* ---- map: Malta, Gozo and Comino from OpenStreetMap outlines, drawn in the site's ink.
   Islands are links (filter by region). Pins and labels are HTML over the SVG: fixed size at any width. */
.where { max-width: 1040px; }
/* ── map: a chart of Malta, Gozo and Comino. Green sea, lighter land, gold for listings.
   site.js draws the islands, labels and pins; towns.js adds the 68 towns and the zoom. ── */
.map { margin: 0; --sea: var(--green); --land: #1D5133; --land-dim: #184A2D; --coast: rgba(255, 255, 255, .5);
  --chart-text: #fff; --chart-muted: var(--on-green-muted); --chart-gold: var(--gold-on-green); }
.map__box { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--sea); color: var(--chart-text); isolation: isolate; }
.map__box::before { content: ""; position: absolute; inset: 0; pointer-events: none;   /* a faint chart grid */
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; }
.map svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.map__shore path { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 10; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map__island path, .map__islet { fill: var(--land); stroke: var(--coast); stroke-width: .9; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .6s var(--ease-vi), stroke .6s var(--ease-vi); }
.map__islet { stroke-width: .6; }
.map__island { cursor: pointer; outline: none; }
.map__island:focus-visible path { stroke: #fff; stroke-width: 2; }
.map__island[aria-current="true"] path { fill: #24603D; }
.is-zoomed .map__island path, .is-zoomed .map__islet { fill: var(--land-dim); stroke: rgba(255, 255, 255, .28); }

.map__towns { pointer-events: all; }
.map__town { fill: transparent; stroke: rgba(255, 255, 255, .13); stroke-width: .6; vector-effect: non-scaling-stroke; stroke-linejoin: round; cursor: pointer;
  transition: fill .35s var(--ease-vi), stroke .35s var(--ease-vi); }
.map__town.has { fill: rgba(224, 176, 100, .13); }
.map__town:hover { fill: rgba(255, 255, 255, .13); stroke: rgba(255, 255, 255, .4); }
.map__town.has:hover { fill: rgba(224, 176, 100, .26); }
.is-zoomed .map__town.has { fill: transparent; }
.is-zoomed .map__town:hover { fill: rgba(255, 255, 255, .07); }
.map__town.on, .is-zoomed .map__town.on:hover { fill: #24603D; stroke: var(--chart-gold); stroke-width: 1.4; cursor: default; }

/* island names, counts and pins (site.js) */
.map__label { position: absolute; transform: translate(-50%, -50%); font-size: 12px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--chart-text); text-align: center; white-space: nowrap; pointer-events: none; transition: opacity .4s var(--ease-vi); }
.map__label--start { transform: translate(0, -50%); text-align: left; }
.map__label small { display: block; margin-top: 2px; font-size: 12px; line-height: 16px; letter-spacing: 0; text-transform: none; color: var(--chart-muted); }
.map__pin { position: absolute; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--chart-gold); box-shadow: 0 0 0 4px rgba(224, 176, 100, .22); pointer-events: none; transition: transform .3s var(--ease-vi), opacity .4s var(--ease-vi); }
.map__pin.on { transform: scale(1.8); }
.is-zoomed .map__label, .is-zoomed .map__pin, .is-flying .map__label, .is-flying .map__pin { opacity: 0; }

/* listing areas: a soft gold circle, about 300 m across, with one slow ring on arrival */
.map__area { fill: rgba(224, 176, 100, .2); stroke: var(--chart-gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .3s var(--ease-vi);
  transform-box: fill-box; transform-origin: center; animation: map-in .7s var(--ease-vi) both; }
.map__areas a:hover .map__area, .map__areas a.on .map__area, .map__areas a:focus-visible .map__area { fill: rgba(224, 176, 100, .42); stroke: #fff; }
.map__areas a { outline: none; }
.map__ring { fill: none; stroke: var(--chart-gold); stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: map-ring 2.2s var(--ease-vi) .3s both; }
@keyframes map-in { from { opacity: 0; transform: scale(.6); } }
@keyframes map-ring { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(2.1); } }

/* what appears on arrival: numbered badges, landmark icons, neighbourhood names */
.map__zoom { position: absolute; inset: 0; pointer-events: none; }
.map__zoom > * { animation: map-rise .55s var(--ease-vi) calc(var(--i, 0) * 35ms) both; }
@keyframes map-rise { from { opacity: 0; translate: 0 6px; } }
.map__badge { position: absolute; transform: translate(-50%, -50%); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--chart-gold); color: var(--ink); font-size: 11px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.map__mark { position: absolute; display: flex; align-items: center; gap: 7px; transform: translate(-11px, -50%); font-size: 12px; line-height: 16px; color: var(--chart-text); white-space: nowrap; pointer-events: auto; cursor: default; }
.map__mark i { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fff; color: var(--green); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .3s var(--ease-vi); }
.map__mark i svg { position: static; width: 12px; height: 12px; display: block; }
.map__mark:hover { z-index: 2; }
.map__mark:hover i { transform: scale(1.12); }
.map__mark b { font-weight: 400; letter-spacing: .01em; text-shadow: 0 0 2px rgba(11, 42, 23, .95), 0 0 5px rgba(11, 42, 23, .9); }
.map__mark--left { flex-direction: row-reverse; transform: translate(calc(-100% + 11px), -50%); }
.map__mark b.is-hidden { opacity: 0; transition: opacity .25s var(--ease-vi); }
.map__mark:hover b.is-hidden { opacity: 1; background: var(--ink); padding: 3px 8px; border-radius: 999px; text-shadow: none; }
.map__hood { position: absolute; transform: translate(-50%, -50%); font-size: 10.5px; line-height: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--chart-muted); opacity: .85; white-space: nowrap; }
.map__hood.is-hidden { display: none; }

/* controls on the chart */
.map__hover { position: absolute; z-index: 3; transform: translate(14px, -120%); background: #fff; color: var(--ink); font-size: 13px; line-height: 18px; font-weight: 500; padding: 6px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .22); }
.map__hover small { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--muted); }
.map__back, .map__pick select { height: 36px; border-radius: 999px; font: inherit; font-size: 14px; line-height: 20px; cursor: pointer; }
.map__back { position: absolute; z-index: 2; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px 0 12px; border: 0; background: #fff; color: var(--ink);
  animation: map-rise .5s var(--ease-vi) both; transition: background-color .3s var(--ease-vi); }
.map__back svg { position: static; width: 14px; height: 14px; }
.map__back:hover { background: var(--tint); }
.map__pick { position: absolute; z-index: 2; right: 16px; top: 16px; margin: 0; }
.map__pick select { appearance: none; -webkit-appearance: none; padding: 0 36px 0 16px; border: 1px solid rgba(255, 255, 255, .34); background: rgba(18, 63, 36, .7) no-repeat right 14px center / 10px 6px; color: #fff; max-width: 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E"); transition: border-color .3s var(--ease-vi); }
.map__pick select:hover { border-color: #fff; }
.map__pick option { color: var(--ink); background: #fff; }
.map__back:focus-visible, .map__pick select:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--green), 0 0 0 4px #fff; border-radius: 999px; }
.map__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.map__scale { position: absolute; z-index: 1; left: 16px; bottom: 14px; display: flex; align-items: flex-end; gap: 8px; font-size: 11px; line-height: 12px; letter-spacing: .06em; color: var(--chart-muted); pointer-events: none; transition: opacity .3s var(--ease-vi); }
.map__scale i { display: block; height: 5px; border: 1px solid var(--chart-muted); border-top: 0; transition: width .5s var(--ease-vi); }
.is-flying .map__scale { opacity: 0; }

/* the town's details: a white card on the chart when there is room, a plain block under it when not */
.map__panel { background: #fff; color: var(--ink); }
.map--side .map__panel { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: min(320px, 44%); max-height: calc(100% - 84px); overflow: auto; padding: 22px 22px 18px; border-radius: 4px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28); animation: map-rise .6s var(--ease-vi) .15s both; }
.map:not(.map--side) .map__panel { padding: 20px 0 4px; }
.map__kicker { margin: 0; font-size: 11px; line-height: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.map__town-name { margin: 4px 0 0; font: 500 28px/1.1 var(--font-display); letter-spacing: -0.02em; }
.map__count { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.map__list { margin: 14px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--hair); }
.map__list a { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--hair); text-decoration: none; font-size: 14px; line-height: 20px; transition: color .3s var(--ease-vi); }
.map__list a:hover { color: var(--gold-text); }
.map__list i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-on-green); color: var(--ink); font-size: 11px; font-style: normal; font-weight: 600; }
.map__list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map__list b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.map__list small { font-weight: 400; color: var(--muted); }
.map__more { display: inline-block; margin-top: 14px; font-size: 14px; line-height: 20px; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.map__fine { margin: 14px 0 0; font-size: 12px; line-height: 17px; color: var(--muted); }
.map__note { margin: 12px 0 0; font-size: 12px; line-height: 18px; color: var(--muted); }
.map__note a { color: inherit; }
.r-map .map__box { aspect-ratio: 1 / 1.05; }   /* the results page keeps the map in a narrow column */
@media (max-width: 700px) { .map__box { aspect-ratio: 1 / 1.08; } }
/* a narrow map (a phone, or the search page's column): the back button is just its arrow */
.map:not(.map--side) .map__back { left: 12px; top: 12px; width: 36px; padding: 0; justify-content: center; }
.map:not(.map--side) .map__back span { display: none; }
.map:not(.map--side) .map__pick { right: 12px; top: 12px; }
.map:not(.map--side) .map__pick select { max-width: 170px; }
@media (prefers-reduced-motion: reduce) { .map *, .map__zoom > * { animation: none !important; transition: none !important; } }
html[data-motion="reduce"] .map *, html[data-motion="reduce"] .map__zoom > * { animation: none !important; transition: none !important; }


/* results: list beside the map; under 1100px the map waits behind a button */
.r-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 36%); gap: 56px var(--gutter); align-items: start; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px var(--gutter); align-content: start; }
.r-map { position: sticky; top: calc(var(--bar-bottom, 240px) + 24px); }
.r-maptoggle { display: none; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; margin-bottom: 24px; }
@media (max-width: 1100px) {
  .r-body { grid-template-columns: 1fr; }
  .r-map { position: static; order: -1; display: none; }
  .r-map.open { display: block; }
  .r-maptoggle { display: inline-block; }
}
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }

/* ---- live content: real photographs, the gallery, and contact buttons in place of the form */
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 12px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
/* WhatsApp leads (filled green on white, gold on green); email and call step back (audit 3 Dec 2026) */
.dark .contact-btns .pill:not(.pill--go) { background: rgba(255, 255, 255, .12); color: #fff; }
@media (hover: hover) { .dark .contact-btns .pill:not(.pill--go):hover { color: var(--green); } }
.consent a { color: inherit; }

/* privacy notice and other long text */
.prose { max-width: 680px; }
.prose h2 { font: 500 22px/28px var(--font-display); letter-spacing: -0.015em; margin: 48px 0 12px; }
.prose p, .prose li { font-size: 17px; line-height: 1.55; }
.prose p { margin: 0 0 14px; }
.prose .heading { margin: 24px 0 10px; }

/* hero photograph (licensed, see assets/photos/LICENCES.md) under a green overlay; text stays white */
.hero-photo { position: relative; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; display: block; animation: settle 9s var(--ease-vi) both; }
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 42, 23, .70) 0%, rgba(11, 42, 23, .34) 34%, rgba(11, 42, 23, .38) 58%, rgba(11, 42, 23, .82) 100%); }
.hero-photo > .wrap { position: relative; z-index: 1; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__photo img { animation: none; } }
html[data-motion="reduce"] .hero__photo img { animation: none; }
/* the moving harbour: over the still, fades in once it actually plays */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%;
  opacity: 0; transition: opacity .9s var(--ease-vi); pointer-events: none; }
.hero__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
html[data-motion="reduce"] .hero__video { display: none; }
.credit a { color: inherit; }

/* ecosystem: a dial. Guru at the centre, the eight professions round it on a dark disc. One is
   lit at a time: a gold arc travels to it, its spoke lights, the centre names it and the index
   beside it shows its line. The dial is a picture (aria-hidden); the index is the content. */
.eco-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px clamp(40px, 6vw, 120px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.eco { container-type: inline-size; position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; margin: 1.6% ; --eco-gold: var(--gold-on-green); }
.eco::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #1C5032 0%, var(--green) 68%);
  box-shadow: 0 0 0 1.4cqi #fff, 0 0 0 calc(1.4cqi + 1px) var(--gold); opacity: 0; transform: scale(.94); transition: opacity .9s var(--ease-vi), transform 1.2s var(--ease-vi); }
.eco.in::before { opacity: 1; transform: none; }

.eco__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; opacity: 0; transition: opacity .9s var(--ease-vi) .25s; }
.eco.in .eco__ring { opacity: 1; }
/* stroke widths are in the ring's own units (100 across): dash lengths need them unscaled */
.eco__dash { stroke: rgba(255, 255, 255, .22); stroke-width: .2; stroke-dasharray: .2 1.5; stroke-linecap: round; transform-box: view-box; transform-origin: 50% 50%; animation: eco-spin 160s linear infinite; }
.eco__ticks line { stroke: rgba(255, 255, 255, .28); stroke-width: .2; }
.eco__orbit { stroke: rgba(255, 255, 255, .16); stroke-width: .2; }
.eco__spokes line { stroke: rgba(255, 255, 255, .16); stroke-width: .2; transition: stroke .5s var(--ease-vi); }
.eco__spokes line.on { stroke: var(--eco-gold); stroke-width: .32; }
.eco__arc { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(var(--rot, 0deg)); transition: transform 1s var(--ease-vi); }
.eco__arc circle { stroke: var(--eco-gold); stroke-width: .42; stroke-linecap: round; stroke-dasharray: 0 360; transition: stroke-dasharray 1.1s var(--ease-vi) .5s; }
.eco.in .eco__arc circle { stroke-dasharray: 45 315; }
@keyframes eco-spin { to { transform: rotate(360deg); } }

.eco__hub { position: absolute; left: 50%; top: 50%; width: 37cqi; aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--ink); --logo-accent: #884D17;
  display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 3.4cqi; box-shadow: 0 0 0 1.1cqi rgba(255, 255, 255, .1), 0 2.4cqi 7cqi rgba(0, 0, 0, .3);
  opacity: 0; transform: translate(-50%, -50%) scale(.86); transition: opacity .8s var(--ease-vi) .15s, transform 1s var(--ease-vi) .15s; }
.eco.in .eco__hub { opacity: 1; transform: translate(-50%, -50%); }
.eco__hub svg { width: 8.4cqi; height: 7.1cqi; color: var(--green); }
.eco__for { margin-top: 1.5cqi; font-size: max(8.5px, 1.75cqi); line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.eco__name { margin-top: .9cqi; min-height: 2.3em; display: grid; align-items: start; font: 500 max(13px, 3.9cqi)/1.14 var(--font-display); letter-spacing: -0.02em; text-wrap: balance;
  transition: opacity .28s var(--ease-vi), transform .28s var(--ease-vi); }
.eco.swap .eco__name { opacity: 0; transform: translateY(.5cqi); }

.eco ul { list-style: none; margin: 0; padding: 0; }
.eco__node { position: absolute; left: 50%; top: 50%; width: 14.5cqi; aspect-ratio: 1; --a: calc(var(--i) * 45deg);
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(-35cqi) rotate(calc(var(--a) * -1)); }
.eco__node > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #1D5133; color: #fff; border: 1px solid rgba(255, 255, 255, .26); cursor: pointer;
  opacity: 0; transform: scale(.7);
  transition: opacity .7s var(--ease-vi) calc(.45s + var(--i) * 70ms), transform .7s var(--ease-vi) calc(.45s + var(--i) * 70ms), background-color .45s var(--ease-vi), color .45s var(--ease-vi), border-color .45s var(--ease-vi), box-shadow .45s var(--ease-vi); }
.eco.in .eco__node > span { opacity: 1; transform: none; }
.eco.ready .eco__node > span { transition-delay: 0s; }   /* after the entry, changes answer at once */
.eco__node svg { width: 5.6cqi; height: 5.6cqi; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.eco__node:hover > span { border-color: #fff; }
.eco.in .eco__node.on > span { background: var(--eco-gold); color: var(--ink); border-color: var(--eco-gold); transform: scale(1.14); box-shadow: 0 0 0 1.1cqi rgba(224, 176, 100, .2), 0 1.4cqi 3.6cqi rgba(0, 0, 0, .28); }

/* the line for the lit profession, then the index of all eight */
.eco-read { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; min-height: 104px; margin-top: 40px; padding-top: 22px; border-top: 2px solid var(--gold); }
.eco-read__n { font: 500 44px/1 var(--font-display); letter-spacing: -0.03em; color: var(--gold-text); font-variant-numeric: tabular-nums; min-width: 1.3em; }
.eco-read__t { margin: 0; transition: opacity .28s var(--ease-vi), transform .28s var(--ease-vi); }
.eco-read__t b { display: block; font: 500 22px/1.2 var(--font-display); letter-spacing: -0.015em; }
.eco-read__t span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.4; color: var(--muted); max-width: 36ch; }
.eco-read.swap .eco-read__t, .eco-read.swap .eco-read__n { opacity: 0; transform: translateY(4px); }
.eco-read__n { transition: opacity .28s var(--ease-vi), transform .28s var(--ease-vi); }
.eco-read:has(b:empty) { display: none; }   /* no script: the index below shows every line instead */

.eco-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.eco-list button { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: baseline; width: 100%; padding: 13px 0 12px; border: 0; border-top: 1px solid var(--hair); background: none;
  color: var(--muted); font: inherit; font-size: 15px; line-height: 20px; text-align: left; cursor: pointer; transition: color .35s var(--ease-vi); }
.eco-list button::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--gold); }
.eco-list i { font-style: normal; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.eco-list b { font-weight: 500; }
.eco-list button:hover, .eco-list button.on { color: var(--ink); }
.eco-list button.on i { color: var(--gold-text); }
.eco-list button.on::before { width: 100%; }
.eco-list.auto button.on::before { animation: eco-fill var(--eco-step, 4s) linear both; }   /* the wait before the next one */
@keyframes eco-fill { from { width: 0; } to { width: 100%; } }
.eco-desc { display: none; }
.eco-read:has(b:empty) ~ .eco-list { grid-template-columns: 1fr; }
.eco-read:has(b:empty) ~ .eco-list .eco-desc { display: block; grid-column: 2; margin-top: 2px; }

/* one column: heading and lead, then the dial, then its line and the index straight under it */
@media (max-width: 1000px) {
  .eco-grid { grid-template-columns: 1fr; row-gap: 0; }
  .eco-grid > div:last-child { display: contents; }
  .eco-grid .sub { order: 1; } .eco-grid .lead { order: 2; }
  .eco { order: 3; max-width: 480px; margin: 44px auto 4px; }
  .eco-read { order: 4; margin-top: 32px; } .eco-list { order: 5; } .eco-grid .note { order: 6; }
}
/* a small dial: a slightly larger centre, the kicker on one line */
@container (max-width: 400px) {
  .eco__hub { width: 40cqi; padding: 0 2cqi; }
  .eco__hub svg { width: 7.4cqi; height: 6.2cqi; }
  .eco__for { letter-spacing: .1em; white-space: nowrap; font-size: 8px; }
  .eco__name { font-size: 13px; line-height: 1.12; }
}
@media (max-width: 520px) { .eco-list { grid-template-columns: 1fr; } .eco-read { min-height: 0; } .eco-read__n { font-size: 36px; } }
@media (prefers-reduced-motion: reduce) { .eco, .eco *, .eco::before, .eco-read *, .eco-list button::before { transition: none !important; animation: none !important; } }
html[data-motion="reduce"] .eco, html[data-motion="reduce"] .eco *, html[data-motion="reduce"] .eco::before, html[data-motion="reduce"] .eco-read *, html[data-motion="reduce"] .eco-list button::before { transition: none !important; animation: none !important; }

/* gold accents (27 Nov): a short rule before each section label and under the hero headline,
   gold buttons on the green bands, gold note rules */
.band .label::before, .eco-grid ~ .label::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold); vertical-align: middle; margin: -2px 12px 0 0; }
.dark .label::before { background: var(--gold-on-green); }
.hero h1::after { content: ""; display: block; width: 72px; height: 3px; background: var(--gold-on-green); margin-top: clamp(16px, 2vw, 28px); }
.dark .pill { background: #F0D39A; color: var(--ink); }   /* paler gold under text: ink on it Lc 78.5, 13.6:1 */
.dark .pill::before { background: #fff; }
.note { border-left: 2px solid var(--gold); }
.dark .note { border-left-color: var(--gold-on-green); }
.circle--sm { border-color: var(--gold-on-green); }

/* ---- advertise.html: owner adverts (flow after willhaben Immobilien: tiles, sell or let, steps, preview) */
.ad-hero { padding-block: clamp(56px, 7vw, 112px) clamp(64px, 7vw, 112px); }
.ad-hero .display { margin-top: 28px; }
.ad-hero .display::after { content: ""; display: block; width: 72px; height: 3px; background: var(--gold-on-green); margin-top: clamp(16px, 2vw, 28px); }
.ad-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: 48px; }
.ad-hero__end { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
/* sell.html: text beside a photograph; square corners, as every photograph on the site */
.ad-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 380px); gap: clamp(40px, 6vw, 112px); align-items: end; }
.ad-hero__photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: rgba(255, 255, 255, .06); }
.ad-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
@media (max-width: 900px) {
  .ad-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .ad-hero__photo { aspect-ratio: 4 / 3; }
}
.ad-price { margin: 0; display: flex; flex-direction: column; font: 500 clamp(28px, 2.64vw, 38px)/1 var(--font-display); letter-spacing: -0.02em; color: #F0D39A; }   /* pale gold as text on green */
.ad-price small { font: 400 13px/18px var(--font-body); letter-spacing: 0; color: var(--on-green-muted); margin-top: 6px; }
.ad-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gutter); }
.ad-steps li { counter-increment: s; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--hair); padding-top: 20px; }
.ad-steps li::before { content: counter(s, decimal-leading-zero); font: 500 clamp(34px, 3.4vw, 48px)/1 var(--font-display); letter-spacing: -0.03em; color: var(--gold); margin-bottom: 12px; }
.ad-steps b { font-weight: 500; font-size: 20px; line-height: 1.25; }
@media (max-width: 1100px) { .ad-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ad-steps { grid-template-columns: 1fr; } }
.ad-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.ad-plan { border: 1px solid var(--hair); border-top: 3px solid var(--gold); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.ad-plan ul { list-style: none; margin: 0; padding: 0; }
.ad-plan li { padding: 10px 0 10px 28px; border-top: 1px solid var(--hair); position: relative; font-size: 17px; line-height: 1.35; }
.ad-plan li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 6px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.ad-plan__foot { margin: auto 0 0; display: flex; flex-direction: column; gap: 4px; font: 500 28px/1.1 var(--font-display); letter-spacing: -0.02em; }
.ad-plan__foot .muted { font: 400 14px/20px var(--font-body); letter-spacing: 0; }
.ad-plan .pill { align-self: flex-start; }
@media (max-width: 800px) { .ad-plans { grid-template-columns: 1fr; } }

.ad-start { border-top: 1px solid var(--hair); }
.ad-build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 56px clamp(40px, 6vw, 120px); align-items: start; margin-top: 40px; }
.ad-preview { position: sticky; top: 96px; }
.ad-preview .label { margin-bottom: 16px; }
@media (max-width: 1000px) { .ad-build { grid-template-columns: minmax(0, 1fr); } .ad-preview { position: static; max-width: 420px; } }
.wiz { scroll-margin-top: 88px; }   /* clears the sticky header when a step changes */
.wiz fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wiz legend { padding: 0; margin-bottom: 32px; }
.wiz legend:focus { outline: none; }
.wiz__steps { list-style: none; margin: 0 0 48px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--hair); }
.wiz__steps button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; cursor: pointer; font-size: 15px; color: var(--ink); }
.wiz__steps button:disabled { cursor: default; color: var(--muted); }
.wiz__steps .num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; font-size: 12px; }
.wiz__steps [aria-current] button { border-bottom-color: var(--gold); }
.wiz__steps [aria-current] .num { background: var(--green); border-color: var(--green); color: #fff; }
.wiz__of { display: none; }
@media (max-width: 700px) { .wiz__steps { justify-content: space-between; align-items: center; } .wiz__steps li:not([aria-current]):not(.wiz__of) { display: none; } .wiz__of { display: block; font-size: 14px; color: var(--muted); } }
.wiz__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); }
.wiz__nav [data-next], .wiz__nav [data-send] { margin-left: auto; }
.pill--go { background: var(--green); color: #fff; border: 0; }
.pill--go::before { background: var(--green-hover); }
.pill--ghost { background: transparent; border: 1px solid var(--hair); }
.seg { display: inline-flex; border: 1px solid var(--hair); border-radius: 9999px; padding: 3px; margin-bottom: 32px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 12px 22px; border-radius: 9999px; font-size: 16px; line-height: 20px; transition: background-color .4s var(--ease-vi), color .4s var(--ease-vi); }
.seg input:checked + span { background: var(--green); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 800px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile > span { display: flex; flex-direction: column; gap: 14px; min-height: 120px; padding: 20px; border: 1px solid var(--hair); transition: border-color .4s var(--ease-vi), background-color .4s var(--ease-vi), color .4s var(--ease-vi); }
.tile svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile b { font-weight: 500; font-size: 17px; line-height: 1.25; margin-top: auto; }
.tile:hover > span { border-color: var(--gold); }
.tile input:checked + span { background: var(--green); color: #fff; border-color: var(--green); }
.tile input:checked + span svg { stroke: var(--gold-on-green); }
.tile input:focus-visible + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green); }
.tile.is-off > span { opacity: .4; }
.tile.is-off input { cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--hair); border-radius: 9999px; font-size: 15px; transition: background-color .4s var(--ease-vi), border-color .4s var(--ease-vi), color .4s var(--ease-vi); }
.chip input:checked + span { background: var(--tint); border-color: var(--gold); }
.chip input:checked + span::before { content: ""; width: 10px; height: 5px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg) translateY(-2px); margin-right: 10px; }
.chip input:focus-visible + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green); }
.err { color: #9B2C1F; font-size: 14px; line-height: 20px; margin: 6px 0 0; }   /* 6.9:1 on white */
.hint { color: var(--muted); font-size: 14px; line-height: 20px; margin: 12px 0 0; padding-left: 18px; }
p.hint { padding-left: 0; }
.count-in { position: absolute; right: 0; top: 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
[aria-invalid="true"] { border-bottom-color: #9B2C1F !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.drop { display: grid; place-items: center; min-height: 180px; padding: 24px; border: 1.5px dashed rgba(176, 122, 44, .55); text-align: center; cursor: pointer; transition: background-color .4s var(--ease-vi), border-color .4s var(--ease-vi); }
.drop > span { display: flex; flex-direction: column; gap: 6px; }
.drop b { font-weight: 500; font-size: 18px; }
.drop:hover, .drop.is-over { background: var(--wash); border-color: var(--gold); }
.drop:focus-within { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green); }
.drop--sm { min-height: 88px; margin-top: 28px; }
.drop.is-off { cursor: default; border-color: var(--hair); }
.drop.is-off:hover { background: none; }
.thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.thumbs li { position: relative; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.thumb__cover { position: absolute; left: 8px; top: 8px; background: var(--green); color: #fff; font-size: 12px; line-height: 16px; padding: 3px 8px; border-radius: 9999px; }
.thumb__tools { display: flex; justify-content: flex-end; gap: 4px; margin-top: 6px; }
.thumb__tools button { width: 44px; height: 44px; border: 1px solid var(--hair); border-radius: 50%; background: #fff; cursor: pointer; font-size: 16px; }
.thumb__tools button:hover:not(:disabled) { border-color: var(--gold); }
.thumb__tools button:disabled { opacity: .35; cursor: default; }
.agree { list-style: none; margin: 16px 0 0; padding: 0; }
.agree li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--hair); color: var(--muted); }
.agree li:last-child { border-bottom: 1px solid var(--hair); }
.agree input { width: 20px; height: 20px; margin: 0; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; font-size: clamp(18px, 1.53vw, 22px); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 28px; line-height: 1; transition: transform .4s var(--ease-vi); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 60ch; color: var(--muted); font-size: 17px; line-height: 1.5; }
.faq a { color: inherit; }

/* ══ production pass, 28 Nov 2026 (Ross: the site should look like time and money went into it).
   Type rendering, one motion system, a designed empty-photo state, the About blocks, a dark
   footer. Everything here is the pack's two tones plus gold; nothing new is introduced. ══ */

/* type: crisp rendering, balanced headings, figures that line up */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.display, .sub, h1, h2, h3 { text-wrap: balance; }
.lead, p { text-wrap: pretty; }
.label { font-weight: 400; }   /* section labels are real headings now; they keep their quiet look */
::selection { background: #F0D39A; color: var(--ink); }
.dark ::selection { background: var(--gold-on-green); color: var(--ink); }

/* header: a hairline once the page has moved under it */
.hdr { box-shadow: 0 1px 0 transparent; transition: background-color .6s var(--ease-vi), color .6s var(--ease-vi), box-shadow .6s var(--ease-vi); }
.hdr.is-moved:not([data-tone="dark"]) { box-shadow: 0 1px 0 var(--hair); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-vi); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current] { text-decoration: none; }
.nav a[aria-current]::after { transform: scaleX(1); }

/* pages cross-fade into one another (browsers without view transitions just load) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: var(--ease-vi); }

/* hero: the headline rises line by line, the gold rule draws, the intro follows */
.hero__intro { animation: rise 1.1s var(--ease-vi) .1s both; }
.hero h1 { animation: rise 1.2s var(--ease-vi) .25s both; }
.hero h1::after { animation: rule 1.1s var(--ease-vi) .9s both; transform-origin: left; }
.hero__down { animation: rise 1s var(--ease-vi) 1.1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes rule { from { transform: scaleX(0); } }

/* scroll reveals: site.js marks what should rise as it comes into view. Without script, or with
   reduced motion, nothing is ever hidden. */
html.js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-vi) var(--d, 0ms), transform 1.1s var(--ease-vi) var(--d, 0ms); }
html.js [data-rise].is-in { opacity: 1; transform: none; }
html.js [data-rise="line"] { transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease-vi) var(--d, 0ms), opacity .2s linear var(--d, 0ms); }
html.js [data-rise="line"].is-in { clip-path: inset(0 0 0 0); }

/* big list of property types: the row answers the pointer */
.biglist a { position: relative; transition: color .4s var(--ease-vi), padding-left .6s var(--ease-vi); }
.biglist a::before { content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 2px; margin-top: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-vi); }
.biglist a:hover { padding-left: 44px; }
.biglist a:hover::before { transform: scaleX(1); }

/* photographs: a slow push on hover; and a designed state for the ones still to come */
.media { overflow: hidden; }
.media img { transition: transform 1.4s var(--ease-vi); }
.case:hover .media, .card:hover .media { opacity: 1; }
.case:hover .media img, .card:hover .media img, .row:hover .media img { transform: scale(1.04); }
.media--empty { border: 0; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, rgba(18, 63, 36, .028) 0 1px, transparent 1px 14px), linear-gradient(160deg, #EFF3F0 0%, #E3EAE5 100%); }
.media--empty svg { width: clamp(44px, 14%, 120px); height: auto; aspect-ratio: 322 / 271; color: rgba(18, 63, 36, .17); --logo-accent: rgba(18, 63, 36, .17); transition: transform 1.4s var(--ease-vi); }
.media--empty span { left: 0; right: 0; bottom: 14px; text-align: center; font-size: 11px; line-height: 14px; letter-spacing: .16em; text-transform: uppercase; color: rgba(18, 63, 36, .5); }
.case:hover .media--empty svg, .card:hover .media--empty svg, .row:hover .media--empty svg { transform: scale(1.06); }

/* featured properties: the title leads */
.case__meta > :first-child { font: 500 clamp(22px, 2vw, 30px)/1.12 var(--font-display); letter-spacing: -0.02em; }
.case { transition: border-color .4s var(--ease-vi); }

/* About: values as a numbered grid, reasons as a numbered list, the tagline as a statement */
.vals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 var(--gutter); margin: 28px 0 0; counter-reset: v; }
.vals > div { counter-increment: v; border-top: 1px solid var(--ink); padding: 18px 0 8px; }
.vals > div::before { content: counter(v, decimal-leading-zero); display: block; font: 500 13px/16px var(--font-body); letter-spacing: .08em; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.vals dt { margin: 44px 0 0; font: 500 clamp(16px, 1.25vw, 22px)/1.15 var(--font-display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.vals dd { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.whys { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: w; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); }
.whys li { counter-increment: w; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--hair); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.3; }
.whys li::before { content: counter(w, decimal-leading-zero); font: 500 13px/16px var(--font-body); letter-spacing: .08em; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.whys li:last-child { grid-column: 1 / -1; border-bottom: 1px solid var(--hair); }
.tagline { margin: 88px 0 0; font: 500 clamp(40px, 5.6vw, 84px)/1 var(--font-display); letter-spacing: -0.035em; }
.tagline span { display: block; color: var(--gold-text); }
@media (max-width: 1100px) { .vals { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } .vals dt { margin-top: 20px; } }
@media (max-width: 700px) { .vals, .whys { grid-template-columns: 1fr; } }

/* a photograph across a section (figure.shot), with its credit kept in LICENCES.md */
.shot { margin: 72px 0 0; position: relative; overflow: hidden; aspect-ratio: 21 / 9; background: var(--wash); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); transition: transform 2.4s var(--ease-vi); }
.shot.is-in img, html:not(.js) .shot img { transform: none; }
.shot figcaption { position: absolute; left: 20px; bottom: 16px; font-size: 12px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
@media (max-width: 700px) { .shot { aspect-ratio: 4 / 3; margin-top: 48px; } }
/* a dark band over a photograph: the picture sits under a green veil, the type stays as it was */
.band--photo { overflow: hidden; isolation: isolate; }
.band--photo > .band__photo { position: absolute; inset: 0; z-index: -1; }
.band--photo > .band__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The veil is set per band, as light as the text allows, so the limestone's warmth shows (audit 3 Dec 2026).
   Measured over each photograph at 1265 and 375 px, brightest 5% of pixels under every line of text:
   invest .75 → muted headings 5.3:1 (need 4.5); owners .60 → large heading 4.4:1 (need 3), label 7:1.
   Re-measure before changing a photograph or this value. */
.band--photo > .band__photo::after { content: ""; position: absolute; inset: 0; background: rgba(18, 63, 36, var(--veil, .82)); }
#invest { --veil: .75; }
#owners { --veil: .6; }
.band--photo .muted { color: #E6F0E9; }   /* a step brighter than --on-green-muted, so the veil can be lighter */
.band--photo > .band__photo img { transform: scale(1.06); transition: transform 3s var(--ease-vi); }
.band--photo.is-seen > .band__photo img, html:not(.js) .band--photo > .band__photo img { transform: none; }

/* footer: the page ends on the green, with room */
.ftr.dark { border-top: 0; padding-block: clamp(56px, 6vw, 88px) 28px; position: relative; }
.ftr.dark::before { content: ""; position: absolute; left: var(--side); right: var(--side); top: 0; height: 2px; background: var(--gold-on-green); max-width: var(--wrap); margin-inline: auto; }
.ftr.dark .brand { font-size: 22px; } .ftr.dark .brand svg { width: 44px; height: 37px; }
.ftr.dark li a { padding: 4px 0; transition: opacity .4s var(--ease-vi); }
.ftr.dark .ftr__base { margin-top: clamp(56px, 6vw, 96px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); color: var(--on-green-muted); }
.ftr.dark .ftr__base a { color: inherit; }
.ftr.dark .muted { color: var(--on-green-muted); }

/* forms: the line under a field draws in gold when it has focus */
.field { position: relative; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-vi); pointer-events: none; }
.dark .field::after { background: var(--gold-on-green); }
.field:focus-within::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html.js [data-rise] { opacity: 1; transform: none; clip-path: none; transition: none; }
  .hero__intro, .hero h1, .hero h1::after, .hero__down { animation: none; }
  .shot img { transform: none; transition: none; }
  .media img, .media--empty svg, .biglist a, .biglist a::before, .nav a::after, .field::after { transition: none; }
  @view-transition { navigation: none; }
}
html[data-motion="reduce"].js [data-rise] { opacity: 1; transform: none; clip-path: none; transition: none; }
html[data-motion="reduce"] .shot img, html[data-motion="reduce"] .band--photo > .band__photo img { transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .band--photo > .band__photo img { transform: none; transition: none; } }

/* ── phone-and-tablet menu: motion and effects (Ross, 28 Nov 2026; DEC-119) ──
   Same selectors as the .menu and .burger rules above, loaded later, so these win. Folded in from the
   Django repo's static/guru/site-menu.css on 1 Dec 2026. The markup is unchanged. Under reduced motion
   the menu fades and nothing moves. The light that followed the pointer was cut ("too much"). */
.menu {
  display: block;                       /* always laid out; shown and hidden by the clip and visibility */
  visibility: hidden; pointer-events: none; overflow: hidden auto; overscroll-behavior: contain;
  /* the panel opens as a circle growing out of the menu button, top right */
  --at: calc(100% - var(--side) - 22px) -30px;
  clip-path: circle(0 at var(--at));
  transition: clip-path .55s var(--ease-vi), visibility 0s .55s;
}
.menu.open {
  visibility: visible; pointer-events: auto;
  clip-path: circle(150vmax at var(--at));
  transition: clip-path .85s var(--ease-vi), visibility 0s;
}

/* a gold line draws across under the header as the panel opens */
.menu::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-vi);
}
.menu.open::after { transform: scaleX(1); transition: transform 1.1s var(--ease-vi) .15s; }

/* the links come up one after another; --i is each link's place (set by site.js) */
.menu a {
  position: relative; width: fit-content; max-width: 100%;
  opacity: 0; transform: translateY(34px);
  transition: opacity .2s linear, transform .3s var(--ease-vi);
}
.menu.open a {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease-vi) calc(.18s + var(--i, 0) * .055s),
              transform .8s var(--ease-vi) calc(.18s + var(--i, 0) * .055s);
}
/* the site's gold dash, waiting just left of each link */
.menu a::before {
  content: ""; position: absolute; left: -44px; top: 50%; width: 28px; height: 2px; margin-top: -1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-vi);
}
/* the page you are on keeps its dash */
.menu.open a[aria-current="page"] { transform: translateX(44px); }
.menu a[aria-current="page"]::before { transform: scaleX(1); }

/* pointing at a link: it steps right, its dash draws in, the others stand back */
@media (hover: hover) {
  .menu.open:has(a:hover) a:not(:hover) { opacity: .38; transition: opacity .35s var(--ease-vi), transform .5s var(--ease-vi); }
  .menu.open a:hover { transform: translateX(44px); transition: transform .5s var(--ease-vi), opacity .2s linear; }
  .menu a:hover::before { transform: scaleX(1); }
}
/* the same for the keyboard */
.menu.open a:focus-visible { transform: translateX(44px); outline: 0; transition: transform .5s var(--ease-vi); }
.menu a:focus-visible::before { transform: scaleX(1); }
.menu.open:has(a:focus-visible) a:not(:focus-visible) { opacity: .38; }
/* a tap answers at once */
.menu.open a:active { transform: translateX(44px) scale(.985); }

@media (prefers-reduced-motion: reduce) {
  .menu, .menu.open { clip-path: none; transition: opacity .2s linear, visibility 0s; }
  .menu { opacity: 0; transition: opacity .2s linear, visibility 0s .2s; }
  .menu.open { opacity: 1; }
  .menu a, .menu.open a, .menu.open a:hover, .menu.open a:focus-visible, .menu.open a[aria-current="page"] { transform: none; transition: opacity .2s linear; }
  .menu.open a { opacity: 1; }
  .menu a::before, .menu::after { transition: none; }
}
