/* Locally served typefaces, including Lithuanian characters. */
@font-face { font-family: 'Instrument Serif'; src: url('assets/fonts/instrument-serif-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('assets/fonts/instrument-serif-italic.ttf') format('truetype'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('assets/fonts/manrope-variable.ttf') format('truetype'); font-style: normal; font-weight: 200 800; font-display: swap; }

:root {
  --paper: #f7f6f1;
  --ink: #262c27;
  --secondary: #656a61;
  --line: #d6d9ce;
  --accent: #9c4f35;
  --sage: #e5e9dc;
  --panel: #eeeee6;
  --bono: #6f846c;
  --teaching: #81777b;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --text-small: 12px;
  --text-body: 15px;
  --text-subheading: 24px;
  --text-section: 48px;
  --text-display: clamp(78px, 11.3vw, 156px);
  --leading-body: 1.8;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 56px;
  --space-section: 80px;
  --gutter: 56px;
  --grid-gap: 40px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--text-body); line-height: var(--leading-body); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
img, video { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
em { font-weight: 400; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.02; }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-subheading); font-weight: 500; letter-spacing: -.025em; line-height: 1.35; }
.section-shell { width: min(1280px, calc(100% - var(--gutter) - var(--gutter))); margin-inline: auto; }
.eyebrow { text-transform: uppercase; font-size: var(--text-small); font-weight: 600; letter-spacing: .1em; line-height: 1.5; }
.small-print { font-size: var(--text-small); color: var(--secondary); line-height: 1.6; }
.body-copy { font-size: var(--text-body); line-height: var(--leading-body); }
.body-copy p + p { margin-top: var(--space-2); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 10px; }

/* Shared navigation and actions. */
.header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); position: sticky; top: 0; z-index: 20; padding: var(--space-3) var(--gutter); border-bottom: 1px solid var(--line); background: rgba(247,246,241,.96); backdrop-filter: blur(12px); }
.wordmark { min-width: 120px; font-size: var(--text-body); font-weight: 600; line-height: 1.05; letter-spacing: -.05em; }
.wordmark-dot { color: var(--accent); }
nav { display: flex; align-items: center; gap: var(--space-4); }
nav a { position: relative; padding: var(--space-1) 0; font-size: var(--text-body); line-height: 1.5; }
nav a:after { content: ''; position: absolute; bottom: 1px; left: 0; width: 0; height: 1px; background: var(--ink); transition: width .2s; }
nav a:hover:after, nav a[aria-current]:after { width: 100%; }
.menu-toggle { display: none; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-size: var(--text-body); }
.menu-toggle span { margin-left: var(--space-2); font-size: var(--text-subheading); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-width: 210px; min-height: 56px; padding: var(--space-2) var(--space-3); border: 1px solid var(--accent); background: var(--accent); color: var(--paper); font-size: var(--text-body); line-height: 1.5; transition: background .2s, border-color .2s; }
.button span { font-size: var(--text-subheading); line-height: 1; }
.button:hover { background: var(--ink); border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: max-content; max-width: 100%; min-height: 44px; padding: var(--space-1) 0; border-bottom: 1px solid var(--ink); font-size: var(--text-body); line-height: 1.5; }
.text-link span { font-size: var(--text-subheading); line-height: 1; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.section-note { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-small); line-height: 1.5; }
.section-number { color: var(--secondary); font-variant-numeric: tabular-nums; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); align-items: start; }
.section-heading .section-note { padding-top: var(--space-1); }

/* Opening: a typographic poster and a close photographic encounter. */
.hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr); column-gap: var(--space-4); padding-top: var(--space-5); padding-bottom: var(--space-5); }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: var(--space-4) 0; }
.campaign-title { font-size: var(--text-subheading); line-height: 1.3; letter-spacing: .035em; margin-bottom: var(--space-6); }
.campaign-title > span { display: block; }
h1 { font-size: var(--text-display); margin-left: -3px; white-space: nowrap; line-height: .9; letter-spacing: -.035em; }
h1 em { color: var(--accent); }
.hero-idea-link { margin-top: var(--space-5); }
.hero-gift-note, .hero-availability { max-width: 360px; font-size: var(--text-body); line-height: var(--leading-body); color: var(--secondary); }
.hero-gift-note { margin-top: var(--space-3); }
.hero-gift-note span { white-space: nowrap; color: var(--ink); }
.hero-availability { display: flex; align-items: baseline; gap: var(--space-2); margin-top: var(--space-3); }
.hero-availability strong { color: var(--accent); font-size: var(--text-subheading); line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.hero-photo { position: relative; min-width: 0; overflow: hidden; min-height: 640px; }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; filter: saturate(.85); }

/* Offer: one shared heading and text style, balanced by a real photograph. */
.idea { padding-block: var(--space-section); }
.idea-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: clamp(48px,7vw,96px); row-gap: var(--space-5); }
.idea-card { padding-top: 0; border: 0; }
.idea-card h2 { margin-bottom: var(--space-3); font-family: var(--serif); font-size: var(--text-section); font-style: normal; font-weight: 400; }
.idea-card p { font-family: var(--sans); font-size: var(--text-body); line-height: var(--leading-body); }
.idea-card p + p { margin-top: var(--space-2); }
.idea-card[aria-labelledby="idea-kas"] { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; }
.idea-card[aria-labelledby="idea-kodel"] { grid-column: 2; grid-row: 1; }
.idea-card[aria-labelledby="idea-kaip"] { grid-column: 2; grid-row: 2; padding-top: var(--space-4); border-top: 1px solid var(--line); }
.idea-photo { margin-top: auto; padding-top: var(--space-4); }
.idea-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 72%; }
.idea-criteria { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }

/* Session steps. */
.process { padding-block: var(--space-section); border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--grid-gap); margin-top: var(--space-5); }
.process-step { border-top: 1px solid var(--line); padding-top: var(--space-3); }
.step-number { display: block; margin-bottom: var(--space-3); font-family: var(--serif); font-size: var(--text-subheading); line-height: 1; color: var(--accent); }
.process-step .eyebrow { color: var(--secondary); }
.process-step h3 { margin-top: var(--space-2); min-height: 64px; }
.process-step > p:last-child { margin-top: var(--space-3); font-size: var(--text-body); line-height: var(--leading-body); }

/* Calendar and enquiry. */
.application { background: #efeee7; padding-block: var(--space-section); }
.application-top { display: flex; justify-content: space-between; align-items: center; }
.year { font-size: var(--text-small); }
.seasons { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--grid-gap); margin-block: var(--space-5); }
.seasons > div { border-top: 1px solid var(--ink); padding-top: var(--space-2); }
.seasons > div > span, .seasons p { font-size: var(--text-small); color: var(--secondary); }
.seasons h3 { margin-top: var(--space-2); font-family: var(--serif); font-weight: 400; }
.seasons p { margin-top: var(--space-1); }
.application-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); align-items: start; padding-top: var(--space-5); border-top: 1px solid var(--line); }
.application-bottom > div > p:first-child { font-size: var(--text-body); line-height: var(--leading-body); max-width: 420px; margin-bottom: var(--space-3); }

/* Horse visit and video. */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); align-items: center; padding-block: var(--space-section); }
.visit-photo { position: relative; min-width: 0; }
.visit-photo > img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 50%; filter: saturate(.75); }
.play-button { position: absolute; bottom: var(--space-3); left: var(--space-3); display: flex; align-items: center; gap: var(--space-2); min-height: 48px; padding: var(--space-1) var(--space-2) var(--space-1) var(--space-1); border: 0; background: var(--paper); color: var(--ink); font-size: var(--text-body); }
.play-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; font-size: var(--text-subheading); line-height: 1; }
.play-button:hover { background: var(--sage); }
.visit h2 { margin-top: var(--space-2); margin-bottom: var(--space-3); }
.visit .text-link { margin-top: var(--space-3); }
.video-dialog { max-width: min(880px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: var(--space-3); border: 0; background: var(--paper); color: var(--ink); }
.video-dialog::backdrop { background: rgba(15,20,16,.78); backdrop-filter: blur(5px); }
.video-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-2); }
.video-dialog h2 { font-family: var(--sans); font-size: var(--text-body); letter-spacing: 0; line-height: 1.5; }
.video-close { min-height: 44px; border: 0; padding: 0; background: none; color: var(--ink); font-size: var(--text-body); }
.video-dialog video { max-height: calc(100dvh - 144px); width: 100%; background: #182019; object-fit: contain; }

/* CV. The route geometry is kept separate from the shared text rhythm. */
.about { background: var(--panel); padding-block: var(--space-section); }
.about-heading { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: var(--grid-gap); }
.about-intro .text-link { margin-top: var(--space-4); }
.about-portrait img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.about-heading h2 { margin-top: var(--space-2); }
.cv-map-scroll { margin-top: var(--space-5); overflow-x: auto; scrollbar-width: thin; scrollbar-color: #b1b7a6 transparent; }
.cv-map-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.cv-map { --cv-columns: 1fr 3.35fr 1fr; --route: var(--accent); min-width: 0; }
.cv-stage-head { display: grid; grid-template-columns: var(--cv-columns); }
.cv-head-key { display: none; }
.cv-stage { min-height: 90px; padding: 4px var(--space-2) var(--space-3); border-left: 1px solid #d8dbce; }
.cv-stage h3 { font-family: var(--serif); font-size: var(--text-subheading); font-weight: 400; letter-spacing: -.035em; line-height: 1.2; }
.cv-stage p { margin-top: var(--space-1); color: var(--secondary); font-size: var(--text-small); line-height: 1.5; }
.cv-network { position: relative; height: 520px; --route: var(--accent); background: linear-gradient(90deg,#d8dbce 0,#d8dbce 1px,transparent 1px,transparent calc(18.692% - .5px),#d8dbce calc(18.692% - .5px),#d8dbce calc(18.692% + .5px),transparent calc(18.692% + .5px),transparent calc(81.308% - .5px),#d8dbce calc(81.308% - .5px),#d8dbce calc(81.308% + .5px),transparent calc(81.308% + .5px)); }
.cv-track-title { position: absolute; z-index: 2; margin: 0; padding: 1px 6px; width: max-content; max-width: none; background: var(--panel); font-size: var(--text-small); font-weight: 500; line-height: 16px; letter-spacing: .025em; white-space: nowrap; }
.cv-title-professional { left: 4.3%; top: 111px; color: var(--accent); }
.cv-title-teaching { left: 22.5%; top: 196px; color: var(--teaching); }
.cv-title-bono { left: 27%; top: 271px; color: var(--bono); }
.cv-route-svg { position: absolute; inset: 0; width: 100%; height: 475px; overflow: visible; pointer-events: none; }
.cv-route-professional { --route: var(--accent); }
.cv-route-teaching { --route: var(--teaching); }
.cv-route-bono { --route: var(--bono); }
.cv-route-svg path { fill: none; stroke: var(--route); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cv-route-svg circle { fill: var(--panel); stroke: var(--route); stroke-width: 2; vector-effect: non-scaling-stroke; }
.cv-route-svg .cv-minor-stops circle { stroke-width: 1.5; }
.cv-major-stops .is-active, .cv-route-svg .cv-interchanges > circle.is-active { fill: var(--route); }
.cv-route-svg .cv-interchanges > circle { stroke-width: 2.5; }
.cv-route-svg .cv-interchange-teaching { stroke: var(--teaching); stroke-width: 2; }
.cv-route-svg .cv-interchange-bono { stroke: var(--bono); stroke-width: 2; }
.cv-station { position: absolute; display: block; min-height: 44px; margin: 0; padding: 0 4px 0 0; border: 0; background: transparent; text-align: left; color: var(--ink); }
.cv-job { display: block; font-size: var(--text-body); font-weight: 500; line-height: 1.45; letter-spacing: -.025em; }
.cv-job small, .cv-date { display: block; margin-top: var(--space-1); font-size: var(--text-small); font-weight: 400; line-height: 1.5; letter-spacing: 0; color: var(--secondary); }
.cv-station:hover .cv-job, .cv-station.is-active .cv-job { color: var(--accent); }
.cv-press { left: 2.5%; top: 60px; width: 15%; }
.cv-fabula { left: 26%; top: 32px; width: 30%; }
.cv-bosanova { left: 55%; top: 65px; width: 23%; }
.cv-dancer { left: 82.5%; top: 7px; width: 17.5%; }
.cv-adviser { left: 86.7%; top: 138px; width: 13.3%; }
.cv-urban { left: 87.5%; top: 282px; width: 12.5%; }
.cv-network ul { position: absolute; display: grid; list-style: none; margin: 0; padding: 0; gap: var(--space-2); }
.cv-network li { font-size: var(--text-small); line-height: 1.7; }
.cv-bono-middle { left: 21%; top: 295px; width: 60%; grid-template-columns: 1fr 1fr; }
.cv-bono-city { left: 82.5%; top: 382px; width: 17.5%; }
.cv-network .cv-teaching-items { left: 21%; top: 335px; width: 64.5%; grid-template-columns: 1fr 1fr; column-gap: var(--space-4); row-gap: var(--space-1); padding-left: 12px; border-left: 2px solid var(--teaching); }
.cv-detail { display: flex; gap: var(--space-2); align-items: baseline; margin-left: 21%; padding-top: var(--space-2); font-size: var(--text-small); line-height: 1.8; max-width: 850px; }
.cv-detail[hidden] { display: none; }
.cv-detail > span { display: block; min-width: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cv-swipe-hint { display: none; margin-top: var(--space-2); font-size: var(--text-small); line-height: 1.5; color: var(--secondary); }
.hobbies { display: grid; grid-template-columns: 150px 1fr; gap: var(--grid-gap); margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.hobbies > h3 { font-size: var(--text-body); margin-top: var(--space-1); }
.hobbies > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3) var(--space-5); }
.hobbies > div > span, .hobbies > div > a { font-family: var(--serif); font-size: var(--text-subheading); letter-spacing: -.035em; line-height: 1.3; }
.hobbies a:hover { color: var(--accent); }
.hobbies a > span { font-size: var(--text-body); font-family: var(--sans); }
.hobbies small { display: block; font-family: var(--sans); font-size: var(--text-small); line-height: 1.6; letter-spacing: 0; margin-top: var(--space-1); max-width: 210px; }

/* Ability mixer. */
.abilities { padding-block: var(--space-section); background: var(--ink); color: var(--paper); }
.abilities-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--space-4); margin-bottom: var(--space-5); }
.console-unit { font-size: var(--text-small); color: #c7cdbf; }
.console { min-width: 0; border-top: 1px solid #4a5146; padding-top: var(--space-3); }
.faders { display: grid; grid-template-columns: repeat(9,minmax(0,1fr)); gap: var(--space-1); }
.fader { display: flex; flex-direction: column; align-items: center; position: relative; min-width: 0; border: 0; border-right: 1px solid #42493e; background: transparent; color: #a8b2a2; padding: var(--space-1) 12px var(--space-3); transition: color .2s; }
.fader:first-child { padding-left: 0; }
.fader:last-child { border-right: 0; padding-right: 0; }
.fader-value { display: block; min-height: var(--text-subheading); margin-bottom: var(--space-3); font-family: var(--serif); font-size: var(--text-subheading); line-height: 1; letter-spacing: -.06em; }
.fader-rail { position: relative; display: block; height: 150px; width: 2px; margin-bottom: var(--space-3); background: #525c4b; }
.fader-rail:before { content: ''; position: absolute; left: -20px; top: 0; width: 42px; height: 100%; background: repeating-linear-gradient(to bottom,#66725c 0,#66725c 1px,transparent 1px,transparent 15px); mask: linear-gradient(90deg,#000 0,#000 5px,transparent 5px,transparent 36px,#000 36px); }
.fader-fill { position: absolute; bottom: 0; width: 2px; height: calc(var(--score) * 10%); background: #c7d6b9; }
.fader-knob { position: absolute; width: 34px; height: 14px; left: -16px; bottom: calc(var(--score) * 10%); transform: translateY(50%); background: #b3bda8; box-shadow: 0 2px 3px rgba(0,0,0,.18); transition: background .2s; }
.fader-knob:after { content: ''; position: absolute; left: 3px; right: 3px; top: 6px; height: 1px; background: #626e59; }
.fader-label { display: block; min-height: 56px; max-width: 100px; font-size: var(--text-small); line-height: 1.5; }
.console-detail { display: flex; align-items: baseline; gap: var(--space-2); min-height: 88px; margin-top: var(--space-2); padding-top: var(--space-3); border-top: 1px solid #4a5146; }
.console-detail p { max-width: 850px; font-size: var(--text-body); line-height: var(--leading-body); }
.console-dot { display: block; width: 6px; min-width: 6px; height: 6px; border-radius: 50%; background: #e7b28f; }
.console-hint { margin-top: var(--space-2); color: #b8c2b0; font-size: var(--text-small); line-height: 1.6; }
.swipe-hint { display: none; }

/* Thoughts and contacts. */
.thoughts { padding-block: var(--space-section); }
.thoughts .section-note { display: none; }
.thoughts > p { margin-top: var(--space-2); color: var(--secondary); font-size: var(--text-body); line-height: var(--leading-body); }
.contact { padding-top: var(--space-section); background: var(--sage); }
.contact-top { display: flex; justify-content: space-between; align-items: start; }
.contact-arrow { font-size: var(--text-section); line-height: 1; }
.contact-intro { max-width: 600px; margin-top: var(--space-3); font-size: var(--text-body); line-height: var(--leading-body); }
.contact h2 { margin-top: var(--space-2); font-size: var(--text-display); }
.contact-email { display: inline-block; margin-top: var(--space-3); padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: var(--text-subheading); line-height: 1.4; letter-spacing: -.05em; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--accent); border-color: var(--accent); }
.contact-links { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-3); font-size: var(--text-body); line-height: 1.5; }
.contact-links a { padding-block: var(--space-1); }
.contact-links a:hover { color: var(--accent); }
footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-5); padding-block: var(--space-3); border-top: 1px solid #c7ccbd; font-size: var(--text-small); line-height: 1.5; color: var(--secondary); }
footer a { padding-block: var(--space-1); }

@media (min-width: 1500px) {
  .hero { column-gap: var(--space-6); }
  .hero-photo { min-height: 720px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 36px; }
  .hero-photo { min-height: 600px; }
}
@media (max-width: 960px) {
  :root { --gutter: 24px; --grid-gap: 32px; }
  nav { gap: var(--space-3); }
  .cv-map { min-width: 1120px; }
  .faders { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-color: #65745a transparent; scrollbar-width: thin; padding-bottom: var(--space-2); }
  .fader { flex: 0 0 104px; padding-inline: var(--space-2); scroll-snap-align: start; }
  .fader:first-child, .fader:last-child { padding-inline: var(--space-2); }
  .swipe-hint, .cv-swipe-hint { display: block; }
}
@media (max-width: 760px) {
  .header { gap: var(--space-3); }
  .menu-toggle { display: flex; align-items: center; }
  .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: var(--space-1); padding: var(--space-2) var(--gutter) var(--space-3); border-bottom: 1px solid var(--line); background: var(--paper); }
  .header nav.is-open { display: flex; }
  .header nav a { padding-block: var(--space-1); font-family: var(--serif); font-size: var(--text-subheading); letter-spacing: -.025em; }
  .header nav a:after { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; --grid-gap: 24px; --space-section: 56px; --text-display: clamp(58px,18.5vw,132px); }
  html { scroll-padding-top: 96px; }
  .header { padding-block: var(--space-2); }
  .hero { grid-template-columns: 1fr; row-gap: var(--space-4); padding-top: var(--space-3); padding-bottom: 0; }
  .hero-copy { padding-top: var(--space-2); padding-bottom: 0; }
  .campaign-title { margin-bottom: var(--space-3); }
  h1 { margin-left: -1px; line-height: .94; }
  .hero-idea-link { margin-top: var(--space-4); }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 4.3; margin-left: var(--space-5); }
  .hero-photo img { object-position: 50% 45%; }
  .hero-gift-note, .hero-availability { max-width: none; }
  .idea-grid, .section-heading, .application-bottom, .visit { grid-template-columns: 1fr; }
  .idea-grid { row-gap: var(--space-5); }
  .idea-card[aria-labelledby="idea-kas"], .idea-card[aria-labelledby="idea-kodel"], .idea-card[aria-labelledby="idea-kaip"] { grid-column: auto; grid-row: auto; }
  .idea-card[aria-labelledby="idea-kodel"] { padding-top: var(--space-4); border-top: 1px solid var(--line); }
  .idea-photo { margin-top: var(--space-4); padding-top: 0; }
  .section-heading .section-note { padding-top: 0; }
  .process-step { display: grid; grid-template-columns: 40px 1fr; column-gap: var(--space-2); }
  .process-grid { grid-template-columns: 1fr; row-gap: var(--space-4); margin-top: var(--space-4); }
  .step-number { grid-column: 1; grid-row: 1 / 4; margin: 0; }
  .process-step .eyebrow, .process-step h3, .process-step > p:last-child { grid-column: 2; }
  .process-step h3 { min-height: 0; }
  .process-step > p:last-child { margin-top: var(--space-2); }
  .seasons { grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--space-4) var(--space-3); margin-block: var(--space-4); }
  .application-bottom { padding-top: var(--space-4); }
  .visit-photo > img { aspect-ratio: 1 / 1.1; }
  .play-button { bottom: var(--space-2); left: var(--space-2); }
  .about-heading { grid-template-columns: 1fr; align-items: start; gap: var(--space-4); }
  .about-intro .text-link { margin-top: var(--space-3); }
  .cv-map-scroll { margin-top: var(--space-4); }
  .hobbies { grid-template-columns: 1fr; gap: var(--space-2); margin-top: var(--space-4); }
  .hobbies > h3 { margin: 0; }
  .hobbies > div { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .abilities-heading { gap: var(--space-3); margin-bottom: var(--space-4); }
  .fader { flex-basis: 96px; }
  .console-detail { min-height: 120px; }
  .contact-links { gap: var(--space-3); }
  footer { gap: var(--space-2); }
  .video-dialog { padding: var(--space-2); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

/* Participation, availability and personal invitation. */
.idea-card > .button { margin-top: var(--space-3); min-width: 0; width: 100%; gap: var(--space-2); }
.application-top { gap: var(--space-3); }
.application-top .section-note { align-items: baseline; }
.application-top h2 { font-family: var(--sans); font-size: var(--text-subheading); font-weight: 500; line-height: 1.35; letter-spacing: -.025em; }
.seasons .slot-status { display: inline-block; margin-top: var(--space-2); padding: 4px var(--space-1); border: 1px solid var(--line); background: var(--sage); color: var(--ink); font-size: var(--text-small); line-height: 1.5; }
.application-quote { font-family: var(--serif); font-size: var(--text-subheading); line-height: 1.5; letter-spacing: -.025em; }
.application-bottom .button { max-width: 100%; min-width: 0; }

/* Transport zones distinguish the three stages of life. */
.cv-map { --zone-journalism: #f0e7d9; --zone-communication: #e4eadd; --zone-city: #e3e7ee; --bono: #5d7357; --teaching: #776873; background: linear-gradient(90deg,var(--zone-journalism) 0,var(--zone-journalism) 18.692%,var(--zone-communication) 18.692%,var(--zone-communication) 81.308%,var(--zone-city) 81.308%,var(--zone-city) 100%); }
.cv-title-professional { background: var(--zone-journalism); }
.cv-title-teaching, .cv-title-bono { background: var(--zone-communication); }

.hobbies > h3 { margin: 0; font-family: var(--serif); font-size: var(--text-section); font-weight: 400; line-height: 1.02; letter-spacing: -.025em; }


/* Matching horizontal callouts in the offer and the calendar. */
.horizontal-callout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(48px,7vw,96px); align-items: start; border-top: 1px solid var(--line); padding-top: var(--space-5); }
.participation-callout { margin-top: var(--space-5); }
.horizontal-callout > h3, .horizontal-callout > .application-quote { margin: 0; font-family: var(--serif); font-size: var(--text-subheading); font-weight: 400; letter-spacing: -.01em; line-height: 1.3; }
.horizontal-callout > div > p:first-child { max-width: 100%; margin-bottom: 0; }
.horizontal-callout .button { margin-top: var(--space-3); max-width: 100%; min-width: 0; }
@media(max-width:720px) { .horizontal-callout { grid-template-columns: 1fr; padding-top: var(--space-4); } .participation-callout { margin-top: var(--space-4); } }

.participation-callout > h3 { font-size: var(--text-section); font-style: normal; line-height: 1.02; letter-spacing: -.025em; }

/* Enquiry choices work in the page before opening an external mail service. */
.enquiry-dialog { width: min(620px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: var(--space-5); border: 0; background: var(--paper); color: var(--ink); }
.enquiry-dialog::backdrop { background: rgba(15,20,16,.78); backdrop-filter: blur(5px); }
.enquiry-heading { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.enquiry-heading h2 { font-size: var(--text-section); }
.enquiry-close { border: 0; background: none; color: var(--ink); font-size: var(--text-body); min-height: 44px; padding: 0; }
.enquiry-email { margin-top: var(--space-3); font-size: var(--text-subheading); font-family: var(--serif); overflow-wrap: anywhere; }
.enquiry-actions { display: grid; justify-items: start; gap: var(--space-2); margin-top: var(--space-4); }
.enquiry-actions .button { width: 100%; }
.enquiry-copy-button { background: none; color: var(--ink); cursor: pointer; text-align: left; }
.enquiry-status { margin-top: var(--space-3); font-size: var(--text-body); }
.enquiry-status:empty { margin-top: 0; }
.enquiry-copy { width: 100%; min-height: 240px; margin-top: var(--space-2); padding: var(--space-2); border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; resize: vertical; }
@media(max-width:720px) { .enquiry-dialog { padding: var(--space-3); } }
