:root { --ivory: #fbf7f0; --cream: #f3eadf; --cream-deep: #e9d9ca; --paper: #fffdf9; --rose: #dcb6aa; --blush: #f0d8d1; --copper: #b5633c; --copper-light: #d28b5f; --amber: #d49a49; --burgundy: #672838; --burgundy-deep: #431923; --wine: #7f3445; --brown: #3b2924; --muted: #74635c; --line: rgba(92, 49, 43, .15); --shadow-sm: 0 12px 32px rgba(73, 37, 30, .08); --shadow: 0 28px 80px rgba(73, 37, 30, .16); --shadow-dark: 0 28px 90px rgba(24, 10, 13, .3); --serif: Iowan Old Style, Baskerville, Palatino Linotype, Book Antiqua, Georgia, serif; --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --shell: min(1180px, calc(100vw - 48px)); --header: 88px; --radius-sm: 14px; --radius: 24px; --radius-lg: 38px; --ease: cubic-bezier(.22, 1, .36, 1); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--burgundy) var(--cream); scrollbar-width: thin; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--brown); background: var(--ivory); font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--cream); }
body::-webkit-scrollbar-thumb { background: linear-gradient(var(--copper), var(--burgundy)); border: 2px solid var(--cream); border-radius: 99px; }
img, picture, svg, video { display: block; max-width: 100%; }
img { object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; font: inherit; }
button { border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
::selection { color: #fff; background: var(--burgundy); }
:focus-visible { outline: 3px solid rgba(197, 112, 66, .62); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 12px 18px; color: #fff; background: var(--burgundy-deep); border-radius: 10px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: clamp(76px, 9vw, 140px) 0; }
.eyebrow { margin: 0 0 16px; color: var(--copper); font-size: .74rem; font-weight: 800; letter-spacing: .19em; line-height: 1.3; text-transform: uppercase; }
.eyebrow--light { color: #efbd8f; }
.display-title { max-width: 820px; margin: 0; color: var(--burgundy-deep); font-family: var(--serif); font-size: clamp(2.35rem, 5.2vw, 5.3rem); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.section-heading { display: flex; align-items: end; justify-content: space-between; }
.section-heading--wide > p { max-width: 430px; margin: 0; color: var(--muted); }
.section-heading--stack { display: block; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; color: var(--burgundy); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.text-link span, .text-link i { font-size: 1.2rem; font-style: normal; transition: transform .25s var(--ease); }
.text-link:hover span, .text-link:hover i { transform: translateX(6px); }
.button { position: relative; isolation: isolate; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden; padding: 13px 24px; border: 1px solid transparent; border-radius: 999px; font-size: .84rem; font-weight: 800; letter-spacing: .055em; line-height: 1.1; text-align: center; text-transform: uppercase; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, background-position .55s var(--ease), color .3s, border-color .3s, filter .3s; }
.button::after { content: ""; position: absolute; z-index: 2; top: -70%; left: -34%; width: 24%; height: 240%; pointer-events: none; opacity: 0; background: linear-gradient(90deg,transparent,rgba(255,255,255,.46),transparent); transform: translateX(-180%) rotate(17deg); transition: transform .62s var(--ease),opacity .24s ease; }
.button:hover { transform: translateY(-4px) scale(1.025); filter: saturate(1.1) brightness(1.045); }
.button:hover::after { opacity: .72; transform: translateX(650%) rotate(17deg); }
.button:active { transform: translateY(-1px) scale(.985); transition-duration: .11s; }
.button--small { min-height: 44px; padding: 10px 18px; font-size: .73rem; }
.button--copper { color: #fff; background: linear-gradient(110deg,var(--copper-light),var(--copper) 45%,#985030 68%,var(--copper-light)); background-size: 180% 100%; background-position: 0 50%; box-shadow: 0 13px 32px rgba(164,84,44,.28); }
.button--copper:hover { background-position: 100% 50%; box-shadow: 0 22px 46px rgba(164,84,44,.43),0 0 0 1px rgba(255,224,195,.16); }
.button--glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .46); backdrop-filter: blur(12px); }
.button--glass:hover { background: rgba(255, 255, 255, .18); }
.button--cream { color: var(--burgundy-deep); background: var(--paper); box-shadow: var(--shadow-sm); }
.button--outline { color: var(--burgundy); background: transparent; border-color: rgba(103, 40, 56, .32); }
.button--outline:hover { color: #fff; background: var(--burgundy); border-color: var(--burgundy); }
.ambient { position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.ambient span { position: absolute; width: 9px; height: 15px; opacity: .1; background: linear-gradient(145deg, var(--amber), var(--burgundy)); border-radius: 80% 0 80% 0; animation: ambient-fall 18s linear infinite; }
.ambient span:nth-child(1) { top: -5%; left: 12%; animation-delay: -4s; }
.ambient span:nth-child(2) { top: -8%; left: 70%; animation-duration: 23s; animation-delay: -13s; }
.ambient span:nth-child(3) { top: -5%; left: 88%; animation-duration: 20s; animation-delay: -8s; }
@keyframes ambient-fall {
    to { transform: translate3d(100px, 110vh, 0) rotate(680deg); }
}
.site-header { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; color: #fff; transition: color .35s, background .35s, box-shadow .35s, transform .35s; }
.site-header.is-scrolled { color: var(--brown); background: rgba(251, 247, 240, .9); box-shadow: 0 10px 35px rgba(51, 28, 24, .08); backdrop-filter: blur(18px) saturate(1.3); }
.site-header__inner { height: var(--header); display: flex; align-items: center; gap: 34px; transition: height .35s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 8px 22px rgba(0, 0, 0, .14); }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-family: var(--serif); font-size: 1.24rem; font-weight: 600; }
.brand small { margin-top: 5px; opacity: .68; font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; }
.desktop-nav a { position: relative; font-weight: 800; text-transform: uppercase; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 20px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-pill { min-width: 43px; min-height: 43px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; font-size: .7rem; font-weight: 900; transition: background .2s, border-color .2s; }
.site-header.is-scrolled .language-pill { border-color: var(--line); }
.language-pill:hover { background: rgba(255, 255, 255, .14); }
.menu-toggle { width: 48px; height: 48px; display: none; align-content: center; gap: 5px; padding: 13px; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 50%; }
.menu-toggle span:not(.sr-only) { width: 100%; height: 1px; display: block; background: currentColor; transition: transform .3s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; display: grid; color: #fff; opacity: 0; visibility: hidden; transform: translateY(-20px); transition: opacity .35s, visibility .35s, transform .45s var(--ease); }
.mobile-menu[aria-hidden="false"] { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__glow { position: absolute; width: 500px; height: 500px; top: -190px; right: -180px; background: radial-gradient(circle, rgba(226, 147, 86, .36), transparent 68%); pointer-events: none; }
.mobile-menu nav { position: relative; display: grid; gap: 5px; }
.mobile-menu nav a { display: flex; gap: 22px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-family: var(--serif); line-height: 1; }
.mobile-menu nav a span { width: 28px; color: var(--copper-light); font-family: var(--sans); font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.mobile-menu__footer { align-self: end; display: flex; justify-content: space-between; margin-top: 42px; color: rgba(255, 255, 255, .62); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; }
.page-hero { position: relative; min-height: min(880px, 100svh); display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--burgundy-deep); }
.page-home .page-hero { min-height: max(700px, 100svh); }
.page-hero__media, .page-hero__veil, .page-hero__grain { position: absolute; inset: 0; }
.page-hero__media picture, .page-hero__media img { width: 100%; height: 100%; }
.page-hero__media img { animation: hero-enter 1.8s var(--ease) both; }
@keyframes hero-enter {
    from { opacity: .55; transform: scale(1.06); }
    to { opacity: 1; transform: scale(1); }
}
.page-hero__veil { background: linear-gradient(90deg, rgba(37, 12, 17, .78) 0%, rgba(45, 16, 21, .45) 46%, rgba(38, 14, 18, .17) 72%), linear-gradient(0deg, rgba(44, 15, 21, .7), transparent 50%); }
.page-hero__grain { opacity: .16; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.page-hero__content { position: relative; z-index: 2; }
.page-hero__content > * { max-width: 780px; }
.page-hero__content h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 7.8vw, 7.6rem); font-weight: 500; letter-spacing: -.055em; line-height: .9; text-wrap: balance; }
.page-hero__intro { max-width: 640px; margin: 28px 0 0; color: rgba(255, 255, 255, .82); font-size: clamp(1rem, 1.5vw, 1.24rem); line-height: 1.7; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.page-hero__edge { position: absolute; z-index: 3; right: 0; left: 0; height: 72px; background: var(--ivory); clip-path: polygon(0 72%, 16% 42%, 35% 68%, 57% 27%, 75% 56%, 100% 22%, 100% 100%, 0 100%); }
.hero-scroll { position: absolute; z-index: 4; right: clamp(22px, 4vw, 70px); bottom: 40px; display: flex; align-items: center; gap: 13px; color: rgba(255, 255, 255, .72); font-size: .62rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll span { width: 1px; height: 62px; background: linear-gradient(transparent, #fff); animation: scroll-line 2s ease-in-out infinite; }
@keyframes scroll-line {
    0%, 100% { transform: scaleY(.35); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: bottom; }
}
.editorial-intro { display: grid; grid-template-columns: 90px minmax(0, 1.15fr) minmax(270px, .85fr); align-items: start; }
.editorial-intro__number { color: rgba(103, 40, 56, .16); font-family: var(--serif); font-size: 4.2rem; line-height: 1; }
.editorial-intro__copy { padding-top: 35px; }
.editorial-intro__copy p { margin: 0 0 28px; color: var(--muted); font-size: 1.08rem; }
.deity-section { overflow: hidden; background: linear-gradient(145deg, #efe2d5, #fbf7f0 58%); }
.deity-section__halo { position: absolute; width: 730px; height: 730px; top: 50%; left: 15%; background: radial-gradient(circle, rgba(210, 139, 95, .3), rgba(240, 216, 209, .15) 42%, transparent 70%); transform: translate(-50%, -50%); filter: blur(4px); }
.deity-composition { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(310px, .75fr); align-items: center; }
.deity-frame { position: relative; min-height: 560px; display: grid; place-items: center; }
.deity-frame picture { position: relative; z-index: 2; width: min(100%, 610px); filter: drop-shadow(0 30px 35px rgba(83, 35, 31, .22)); }
.deity-frame img { width: 100%; height: auto; object-fit: contain; }
.deity-frame__ring { position: absolute; width: 78%; aspect-ratio: 1; border: 1px solid rgba(181, 99, 60, .32); border-radius: 50%; }
.deity-frame__ring::before, .deity-frame__ring::after { content: ""; position: absolute; inset: 7%; border: 1px dashed rgba(103, 40, 56, .16); border-radius: inherit; }
.deity-frame__ring::after { inset: -8%; border-style: solid; opacity: .35; }
.deity-copy > p:not(.eyebrow) { max-width: 490px; margin: 28px 0; color: var(--muted); }
.deity-copy blockquote { margin: 30px 0 0; color: var(--burgundy); font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.45rem); font-style: italic; line-height: 1.2; }
.ornament { max-width: 280px; display: flex; align-items: center; gap: 10px; margin: 32px 0; }
.ornament span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--copper)); }
.ornament span:last-child { transform: scaleX(-1); }
.ornament i { width: 7px; height: 7px; background: var(--copper); transform: rotate(45deg); }
.chronicles-preview { background: var(--paper); }
.event-preview { overflow: hidden; }
.event-preview__inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; }
.event-preview__image { position: relative; min-width: 0; min-height: 520px; }
.event-preview__image img { width: 100%; max-width: 100%; height: 100%; min-height: 520px; display: block; object-fit: cover; object-position: center; border-radius: 260px 260px 24px 24px; box-shadow: var(--shadow); }
.event-preview__stamp { position: absolute; right: -25px; bottom: 50px; width: 112px; height: 112px; display: grid; place-content: center; color: #fff; background: var(--burgundy); border: 7px solid var(--ivory); border-radius: 50%; text-align: center; box-shadow: var(--shadow-sm); }
.event-preview__stamp span { font-family: var(--serif); font-size: 2.2rem; line-height: .8; }
.event-preview__stamp small { margin-top: 7px; font-size: .6rem; letter-spacing: .16em; }
.event-preview__copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 4.6rem); font-weight: 500; line-height: 1; }
.event-preview__copy > p { margin: 25px 0; }
.event-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.event-meta span { padding: 8px 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.recruitment-ribbon { min-height: 650px; display: grid; align-items: center; overflow: hidden; color: #fff; }
.recruitment-ribbon__media, .recruitment-ribbon__veil { position: absolute; inset: 0; }
.recruitment-ribbon__media img { width: 100%; height: 100%; }
.recruitment-ribbon__veil { background: linear-gradient(90deg, rgba(49, 15, 22, .9), rgba(63, 20, 28, .55) 55%, rgba(50, 14, 20, .25)); }
.recruitment-ribbon__content { position: relative; z-index: 2; }
.recruitment-ribbon__content h2 { max-width: 780px; margin: 25px 0 18px; font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 6.2rem); font-weight: 500; line-height: .92; }
.recruitment-ribbon__content p { max-width: 600px; margin: 0 0 30px; color: rgba(255, 255, 255, .74); }
.status-badge { width: fit-content; display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 999px; font-size: .66rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.status-badge i { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 5px rgba(255, 255, 255, .1); }
.status-badge--open { color: #29513a; background: #e7f3e8; }
.status-badge--open i { background: #3d9b62; }
.recruitment-ribbon .status-badge--open { color: #fff; background: rgba(52, 133, 83, .28); border: 1px solid rgba(164, 232, 183, .38); }
.status-badge--closed { color: #6a3037; background: #f5dede; }
.status-badge--closed i { background: #9b3d4c; }
.guestbook-preview { background: var(--paper); }
.empty-state { border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; background: rgba(255, 255, 255, .55); }
.empty-state > span { display: block; height: 50px; color: rgba(181, 99, 60, .35); font-family: var(--serif); font-size: 6rem; line-height: .9; }
.empty-state h3 { margin: 10px 0; color: var(--burgundy-deep); font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.8rem); font-weight: 500; }
.empty-state p { max-width: 540px; margin: 0 auto 25px; color: var(--muted); }
.empty-state--soft { background: linear-gradient(145deg, #f8efe7, #fff); }
.guestbook-mini-grid, .guestbook-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.guestbook-note { display: flex; flex-direction: column; }
.guestbook-note > span { color: var(--copper-light); font-family: var(--serif); font-size: 3.5rem; line-height: .6; }
.guestbook-note > p { flex: 1; }
.guestbook-note footer { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .72rem; }
.social-links { flex-wrap: wrap; }
.social-links a { font-weight: 700; }
.social-placeholder { padding: 35px; color: var(--muted); background: var(--cream); border-radius: var(--radius); }
.site-footer { position: relative; overflow: hidden; color: rgba(255, 255, 255, .75); }
.site-footer__orb { position: absolute; width: 650px; height: 650px; right: -280px; top: -300px; background: radial-gradient(circle, rgba(211, 133, 81, .24), transparent 70%); }
.site-footer__grid { position: relative; display: grid; }
.site-footer__brand { display: flex; align-items: center; }
.site-footer__brand h2 { margin: 0; color: #fff; font-family: var(--serif); font-weight: 500; line-height: 1.05; }
.site-footer__nav { display: grid; align-content: start; }
.site-footer__nav p { margin: 0 0 12px; color: var(--copper-light); font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.site-footer__nav a { width: fit-content; transition: color .2s, transform .2s; }
.site-footer__nav a:hover { color: #fff; transform: translateX(3px); }
.site-footer__bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom p { max-width: 760px; margin: 0; }
.chronicles-tabs a { justify-content: center; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.chronicles-tabs a span { color: var(--copper); font-size: .61rem; }
.tab-panel[hidden] { display: none; }
.journal-feature { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.journal-feature__media { min-height: 450px; }
.journal-feature__media img { width: 100%; height: 100%; }
.journal-feature > div:last-child { display: grid; align-content: center; }
.journal-feature h3 { margin: 25px 0 20px; color: var(--burgundy-deep); font-family: var(--serif); font-size: clamp(2rem, 4vw, 4.2rem); font-weight: 500; line-height: 1; }
.guestbook-panel { padding-top: 10px; }
.guestbook-layout { display: grid; align-items: start; }
.guestbook-form-wrap { position: sticky; top: 105px; }
.guestbook-form-card { color: #fff; }
.guestbook-form-card h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 500; line-height: 1; }
.guestbook-form-card > p:not(.eyebrow) { color: rgba(255, 255, 255, .68); }
.public-form { display: grid; gap: 20px; margin-top: 28px; }
.public-form label, .field-control { position: relative; display: grid; gap: 8px; }
.public-form label > span, .field-control > span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.public-form input, .public-form textarea, .public-form select, .application-form input, .application-form textarea, .application-form select { width: 100%; min-height: 52px; padding: 13px 15px; color: var(--brown); background: rgba(255, 255, 255, .96); border: 1px solid rgba(255, 255, 255, .2); border-radius: 13px; outline: none; transition: border-color .2s, box-shadow .2s; }
.public-form textarea, .application-form textarea { min-height: 120px; resize: vertical; }
.public-form input:focus, .public-form textarea:focus, .public-form select:focus, .application-form input:focus, .application-form textarea:focus, .application-form select:focus { border-color: var(--copper-light); box-shadow: 0 0 0 4px rgba(197, 109, 65, .15); }
.character-count { position: absolute; right: 10px; bottom: 9px; color: var(--muted); font-size: .68rem; }
.field-error { color: #ffd1d1; font-size: .75rem; }
.form-alert { margin: 20px 0; padding: 15px 18px; color: #722a32; background: #fde9e8; border: 1px solid #e9bcbc; border-radius: 13px; font-size: .87rem; }
.form-alert p { margin: 5px 0 0; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.horse-section { overflow: hidden; }
.horse-composition { display: grid; }
.horse-name { font-family: var(--serif); }
.horse-copy > p:last-of-type { color: var(--muted); }
.horse-line { width: 120px; height: 1px; margin-top: 35px; background: var(--copper); }
.horse-art { position: relative; display: grid; place-items: center; }
.horse-art::before { content: ""; position: absolute; aspect-ratio: 1; border-radius: 50%; }
.horse-art img { position: relative; width: min(100%, 700px); height: auto; object-fit: contain; filter: drop-shadow(0 25px 30px rgba(75, 32, 29, .22)); }
.equipment-grid { display: grid; counter-reset: equipment; }
.equipment-card { position: relative; flex-direction: column; overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.equipment-card:hover { box-shadow: var(--shadow-sm); }
.equipment-card__index { line-height: 1; }
.equipment-card__body { flex: 1; flex-direction: column; }
.equipment-card h3 { color: var(--burgundy-deep); font-family: var(--serif); font-weight: 600; }
.equipment-card p { color: var(--muted); }
.optional-badge { width: fit-content; margin-top: auto; margin-bottom: 14px; padding: 5px 9px; color: var(--burgundy); background: var(--blush); border-radius: 999px; font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.equipment-prices, .prices { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.price { display: inline-flex; align-items: center; gap: 6px; color: var(--brown); font-size: .86rem; font-weight: 800; }
.price img { width: 21px; height: 21px; object-fit: contain; }
.schedule-section { overflow: hidden; background: var(--surface-main); color: var(--brown); }
.schedule-section .display-title { color: var(--burgundy-deep); }
.schedule-section .eyebrow { color: var(--copper); }
.schedule-section .section-heading > p { color: var(--muted); }
.schedule-track { position: relative; display: grid; grid-template-columns: repeat(7,minmax(138px,1fr)); gap: 10px; overflow-x: auto; padding: 8px 1px 10px; scrollbar-width: thin; scrollbar-color: rgba(181,99,60,.34) transparent; }
.schedule-track::before { display: none; }
.schedule-day { position: relative; display: flex; flex-direction: column; padding: 14px 13px 13px; overflow: hidden; background: var(--surface-card); border: 1px solid var(--surface-line); border-radius: 13px 24px 13px 24px; box-shadow: 0 8px 24px rgba(73,37,30,.045); }
.schedule-day > span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; color: #4b1825; background: linear-gradient(145deg,#efb47e,var(--copper-light)); border: 3px solid color-mix(in srgb,var(--surface-paper) 86%,transparent); border-radius: 50%; box-shadow: 0 7px 16px rgba(103,40,56,.1); font-size: .62rem; font-weight: 900; }
.schedule-day h3 { margin: 0 0 7px; color: var(--burgundy-deep); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.05; }
.schedule-day time { margin-top: auto; color: var(--copper); font-size: .65rem; font-weight: 850; letter-spacing: .07em; }
.schedule-day p { margin: 4px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.schedule-day__leaf { width: 18px; height: 28px; margin: auto 5px 2px auto; opacity: .16; background: linear-gradient(145deg,var(--copper-light),var(--burgundy)); border-radius: 90% 0 90% 0; transform: rotate(32deg); }
html[data-theme="dark"] .schedule-day { box-shadow: 0 10px 28px rgba(0,0,0,.12); }
html[data-theme="dark"] .schedule-day h3 { color: #f1dcd8; }
html[data-theme="dark"] .schedule-day > span { border-color: #2a1d22; }
.events-section { background: var(--ivory); }
.events-list { display: grid; gap: 0; }
.event-row { display: grid; grid-template-columns: 90px 1px minmax(0, 1fr); align-items: center; border-bottom: 1px solid var(--line); }
.event-row__date { text-align: center; }
.event-row__date strong { display: block; color: var(--burgundy); font-family: var(--serif); font-size: 3rem; line-height: .9; }
.event-row__date span { color: var(--copper); font-size: .66rem; font-weight: 900; letter-spacing: .15em; }
.event-row__line { height: 100%; min-height: 105px; background: var(--line); }
.event-row time { color: var(--copper); font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.event-row h3 { margin: 7px 0 8px; color: var(--burgundy-deep); font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.7rem); font-weight: 500; }
.event-row p { max-width: 700px; margin: 0; color: var(--muted); }
.practical-section { background: var(--paper); }
.practical-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.practical-card { position: relative; overflow: hidden; background: var(--cream); border-radius: var(--radius-lg); }
.practical-card > span { position: absolute; right: 25px; bottom: -25px; color: rgba(103, 40, 56, .08); font-family: var(--serif); font-size: 12rem; line-height: 1; }
.practical-card h2 { max-width: 440px; margin: 0 0 20px; color: var(--burgundy-deep); font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); font-weight: 500; line-height: 1; }
.practical-card p:last-child { position: relative; max-width: 520px; color: var(--muted); }
.practical-card--accent { color: #fff; background: linear-gradient(145deg, var(--burgundy), var(--burgundy-deep)); }
.practical-card--accent .eyebrow { color: var(--copper-light); }
.practical-card--accent h2 { color: #fff; }
.practical-card--accent p:last-child { color: rgba(255, 255, 255, .68); }
.recruitment-editorial { display: grid; grid-template-columns: 1.12fr .88fr; }
.recruitment-editorial__image { position: relative; }
.recruitment-editorial__image img { box-shadow: var(--shadow); }
.recruitment-editorial__image span { position: absolute; right: -25px; bottom: 30px; padding: 14px 20px; color: var(--burgundy); background: var(--paper); border-radius: 999px; box-shadow: var(--shadow-sm); font-family: var(--serif); font-size: 1.15rem; }
.recruitment-editorial__copy > p:not(.eyebrow) { margin: 30px 0; color: var(--muted); }
.recruitment-editorial__copy ul { display: grid; gap: 13px; padding: 0; margin: 0; list-style: none; }
.recruitment-editorial__copy li { position: relative; padding-left: 27px; }
.recruitment-editorial__copy li::before { content: ""; position: absolute; top: .65em; left: 0; width: 11px; height: 7px; border-bottom: 2px solid var(--copper); border-left: 2px solid var(--copper); transform: rotate(-45deg); }
.process-timeline { display: grid; }
.process-step { border-left: 1px solid rgba(103, 40, 56, .16); }
.process-step:last-child { border-right: 1px solid rgba(103, 40, 56, .16); }
.process-step > span { font-weight: 900; letter-spacing: .14em; }
.process-step h3 { color: var(--burgundy-deep); font-family: var(--serif); font-weight: 500; }
.application-shell { color: #fff; }
.application-heading { max-width: 760px; }
.application-heading .display-title { color: #fff; }
.application-heading > p:last-child { color: rgba(255, 255, 255, .66); }
.application-form { overflow: hidden; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-dark); color: var(--brown); }
.form-progress { background: #f1e4d8; }
.form-progress__bar { height: 3px; overflow: hidden; background: rgba(103, 40, 56, .13); border-radius: 999px; }
.form-progress__bar i { width: 0; height: 100%; display: block; background: linear-gradient(90deg, var(--copper), var(--burgundy)); transition: width .45s var(--ease); }
.form-progress__steps { display: flex; justify-content: space-between; gap: 15px; margin-top: 17px; }
.form-progress__steps button { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 0; color: var(--muted); background: transparent; font-size: .73rem; font-weight: 800; }
.form-progress__steps button span { color: var(--copper); font-size: .6rem; }
.form-progress__steps button.is-active { color: var(--burgundy); }
.form-step { min-width: 0; margin: 0; border: 0; }
.form-step legend { width: 100%; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; padding: 0; margin-bottom: 35px; }
.form-step legend > span { grid-row: 1 / 3; color: rgba(103, 40, 56, .2); font-family: var(--serif); font-size: 3.2rem; }
.form-step legend strong { color: var(--burgundy-deep); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; line-height: 1; }
.form-step legend small { color: var(--muted); }
.form-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.form-fields > .field-control:has(textarea), .form-fields > .field-control:has(.choice-grid) { grid-column: 1 / -1; }
.field-control > span { color: var(--burgundy); }
.field-control > small { color: var(--muted); }
.field-control .field-error { color: #a52c39; }
.choice-grid { display: grid; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card span { min-height: 50px; display: flex; align-items: center; padding: 12px 15px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice-card input:checked + span { border-color: var(--copper); }
.form-navigation { display: flex; justify-content: flex-end; gap: 12px; margin-top: 40px; }
.form-navigation .button--outline { margin-right: auto; }
.no-js .form-progress { display: none; }
.no-js .form-step { border-bottom: 1px solid var(--line); }
.closed-card { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; overflow: hidden; color: var(--brown); background: var(--paper); border-radius: var(--radius-lg); }
.closed-card__art { position: relative; min-height: 400px; display: grid; place-items: center; background: radial-gradient(circle, var(--blush), transparent 65%); }
.closed-card__art img { width: 100%; height: auto; object-fit: contain; }
.closed-card h2 { margin: 25px 0; color: var(--burgundy-deep); font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4.4rem); font-weight: 500; line-height: 1; }
.application-confirmation { color: var(--brown); background: var(--paper); border-radius: var(--radius-lg); text-align: center; }
.application-confirmation > span { width: 80px; height: 80px; display: grid; place-items: center; margin: 0 auto 25px; color: #fff; background: #45875d; border-radius: 50%; font-size: 2rem; }
.application-confirmation h2 { max-width: 800px; margin: 10px auto 20px; color: var(--burgundy-deep); font-family: var(--serif); font-size: clamp(2.2rem, 4.8vw, 5rem); font-weight: 500; line-height: 1; }
.language-gate { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 35px 20px; overflow: hidden; }
.language-gate__background, .language-gate__background img, .language-gate__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.language-gate__background img { object-position: center 44%; }
.language-gate__veil { background: linear-gradient(135deg, rgba(47, 13, 21, .78), rgba(79, 24, 32, .45)), radial-gradient(circle at 75% 25%, rgba(221, 148, 87, .25), transparent 38%); backdrop-filter: blur(2px); }
.language-card { position: relative; z-index: 2; width: min(680px, 100%); padding: clamp(32px, 6vw, 70px); background: rgba(255, 250, 244, .94); border: 1px solid rgba(255, 255, 255, .55); border-radius: 42px; box-shadow: 0 40px 120px rgba(20, 6, 11, .42); text-align: center; backdrop-filter: blur(24px); }
.language-card__mark { width: 104px; height: 104px; margin: -105px auto 20px; border: 8px solid rgba(255, 250, 244, .9); border-radius: 50%; box-shadow: var(--shadow-sm); }
.language-card__mark img { border-radius: 50%; }
.language-card h1 { margin: 0; color: var(--burgundy-deep); font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 500; line-height: 1; }
.language-card h1 span { color: var(--copper); font-size: .7em; font-style: italic; }
.language-card__intro { margin: 22px 0 30px; color: var(--muted); }
.language-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.language-option { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-align: left; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.language-option:hover, .language-option.is-suggested { transform: translateY(-3px); border-color: var(--copper-light); box-shadow: var(--shadow-sm); }
.language-option.is-suggested::after { content: "•"; position: absolute; top: 5px; right: 8px; color: var(--copper); }
.flag { width: 40px; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.language-option strong, .language-option small { display: block; }
.language-option strong { color: var(--burgundy); }
.language-option small { color: var(--muted); font-size: .68rem; }
.language-option > i { color: var(--copper); font-style: normal; }
.language-card__note { margin: 22px 0 0; color: var(--muted); font-size: .72rem; }
.error-page { color: #fff; }
.error-scene__media, .error-scene__veil { position: absolute; inset: 0; }
.error-scene__media img { opacity: .52; }
.error-scene > div:last-child { position: relative; z-index: 2; max-width: 730px; text-align: center; }
.error-code { color: var(--copper-light); font-family: var(--serif); font-size: clamp(5rem, 15vw, 12rem); line-height: .7; opacity: .8; }
.error-scene p { max-width: 580px; margin: 0 auto 30px; color: rgba(255, 255, 255, .7); }
.toast { position: fixed; z-index: 1500; top: 100px; right: 20px; max-width: min(420px, calc(100vw - 40px)); display: flex; align-items: center; gap: 18px; padding: 14px 16px; color: #fff; background: var(--burgundy); border-radius: 14px; box-shadow: var(--shadow-dark); animation: toast-in .45s var(--ease); }
.toast--error { background: #872e39; }
.toast button { margin-left: auto; color: #fff; background: transparent; font-size: 1.3rem; }
@keyframes toast-in {
    from { opacity: 0; transform: translateY(-15px); }
}
.page-loader { position: fixed; z-index: 990; top: var(--header); right: 0; left: 0; height: 3px; overflow: visible; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .16s ease, visibility .16s ease; }
.page-loader::before { content: ""; position: absolute; inset: -10px 0 -14px; opacity: .28; background: linear-gradient(180deg,rgba(181,99,60,.14),transparent 72%); filter: blur(6px); }
.page-loader.is-visible, .page-loader.is-swapping { opacity: 1; visibility: visible; }
.page-loader span { position: absolute; top: 0; left: 0; width: min(420px,38vw); height: 3px; background: linear-gradient(90deg,transparent,var(--copper-light) 22%,var(--amber) 52%,var(--burgundy) 78%,transparent); border-radius: 999px; box-shadow: 0 0 18px rgba(210,139,95,.42); transform: translate3d(-120%,0,0); animation: navigation-thread 1.05s cubic-bezier(.45,0,.2,1) infinite; }
.page-loader span::after { content: ""; position: absolute; top: 50%; right: 7%; width: 8px; height: 11px; background: var(--copper-light); border-radius: 80% 0 80% 0; box-shadow: 0 0 14px rgba(255,211,169,.72); transform: translateY(-50%) rotate(40deg); }
@keyframes navigation-thread {
    0% { transform: translate3d(-120%,0,0); opacity: 0; }
    14% { opacity: 1; }
    82% { opacity: 1; }
    100% { transform: translate3d(calc(100vw + 120%),0,0); opacity: 0; }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }
@media (max-width: 1080px) {
    :root { --shell: min(100% - 40px, 1040px); }
    .desktop-nav { gap: 16px; }
    .desktop-nav a { font-size: .68rem; }
    .desktop-cta { display: none; }
    .equipment-grid { grid-template-columns: repeat(3, 1fr); }
    .event-preview { background: linear-gradient(90deg, #f2e7dc 0 50%, var(--burgundy-deep) 50%); }
    .guestbook-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 45px; }
    .site-footer__grid { gap: 40px; }
}
@media (max-width: 900px) {
    :root { --header: 76px; }
    .desktop-nav, .desktop-cta { display: none; }
    .menu-toggle { display: grid; }
    .site-header__inner { height: 76px; }
    .editorial-intro { grid-template-columns: 65px 1fr; }
    .editorial-intro__copy { grid-column: 2; padding-top: 0; }
    .deity-composition { grid-template-columns: 1fr; }
    .deity-frame { min-height: 480px; }
    .deity-copy { max-width: 640px; }
    .event-preview { background: linear-gradient(#f2e7dc 0 48%, var(--burgundy-deep) 48%); }
    .event-preview__inner { grid-template-columns: 1fr; }
    .event-preview__image { min-height: 450px; }
    .event-preview__copy { padding: 25px 0 20px; }
    .guestbook-layout { grid-template-columns: 1fr; }
    .guestbook-form-wrap { position: static; }
    .guestbook-mini-grid, .guestbook-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
    .journal-feature { grid-template-columns: 1fr; }
    .journal-feature__media { min-height: 420px; }
    .horse-composition { grid-template-columns: 1fr; }
    .horse-art { min-height: 450px; grid-row: 1; }
    .equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .practical-grid { grid-template-columns: 1fr; }
    .recruitment-editorial { grid-template-columns: 1fr; }
    .recruitment-editorial__image { min-height: 480px; }
    .process-step h3 { margin-top: 35px; }
    .closed-card { grid-template-columns: 1fr; }
    .closed-card__art { max-height: 430px; }
}
@media (max-width: 700px) {
    :root { --shell: calc(100% - 32px); }
    .section { padding: 75px 0; }
    .brand small { display: none; }
    .brand img { width: 43px; height: 43px; }
    .page-hero, .page-home .page-hero { min-height: 720px; }
    .page-hero__media img { object-position: 58% center; }
    .page-hero__veil { background: linear-gradient(0deg, rgba(38, 11, 17, .87), rgba(42, 13, 19, .28) 70%), linear-gradient(90deg, rgba(38, 11, 17, .35), transparent); }
    .page-hero__content { padding-bottom: 105px; }
    .page-hero__content h1 { font-size: clamp(3.05rem, 14vw, 5.25rem); }
    .page-hero__actions { align-items: stretch; flex-direction: column; }
    .page-hero__actions .button { width: 100%; }
    .hero-scroll { display: none; }
    .page-hero__edge { height: 45px; }
    .section-heading { display: block; }
    .section-heading .text-link { margin-top: 25px; }
    .display-title { font-size: clamp(2.5rem, 12vw, 4.2rem); }
    .editorial-intro { grid-template-columns: 1fr; }
    .editorial-intro__number { display: none; }
    .editorial-intro__copy { grid-column: 1; }
    .deity-frame { min-height: 390px; }
    .event-preview { background: linear-gradient(#f2e7dc 0 45%, var(--burgundy-deep) 45%); }
    .event-preview__image, .event-preview__image img { min-height: 400px; }
    .event-preview__image img { border-radius: 190px 190px 20px 20px; }
    .event-preview__stamp { right: -5px; width: 95px; height: 95px; }
    .recruitment-ribbon { min-height: 610px; }
    .guestbook-mini-grid, .guestbook-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
    .site-footer__brand { align-items: flex-start; }
    .site-footer__brand img { width: 68px; height: 68px; }
    .site-footer__bottom { flex-direction: column; gap: 15px; }
    .chronicles-tabs { width: 100%; margin-top: -105px; }
    .chronicles-tabs a { flex: 1; min-width: 0; padding-inline: 12px; }
    .journal-feature__media { min-height: 300px; }
    .guestbook-form-card { border-radius: 26px; }
    .horse-art { min-height: 360px; }
    .equipment-grid { grid-template-columns: 1fr; }
    .equipment-card { min-height: 220px; }
    .schedule-track { margin-right: -16px; padding-right: 16px; }
    .event-row { grid-template-columns: 65px 1fr; gap: 22px; }
    .event-row__line { display: none; }
    .event-row__date strong { font-size: 2.4rem; }
    .recruitment-editorial__image, .recruitment-editorial__image img { min-height: 380px; }
    .recruitment-editorial__image img { border-radius: 10px 100px 10px 10px; }
    .recruitment-editorial__image span { right: 8px; max-width: calc(100% - 16px); }
    .process-timeline { grid-template-columns: 1fr; }
    .process-step, .process-step:last-child { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(103, 40, 56, .16); border-left: 0; }
    .process-step h3 { margin: 15px 0 10px; }
    .form-progress__steps button { font-size: 0; }
    .form-progress__steps button span { font-size: .66rem; }
    .form-step { padding: 30px 22px; }
    .form-step legend { grid-template-columns: 1fr; }
    .form-step legend > span { grid-row: auto; margin-bottom: 8px; font-size: 2.2rem; }
    .form-fields { grid-template-columns: 1fr; }
    .form-fields > * { grid-column: auto !important; }
    .choice-grid { grid-template-columns: 1fr; }
    .form-navigation { flex-wrap: wrap; }
    .form-navigation .button { width: 100%; }
    .form-navigation .button--outline { margin-right: 0; order: 2; }
    .language-card { border-radius: 28px; }
    .language-options { grid-template-columns: 1fr; }
    .language-card__mark { margin-top: -80px; }
}
@media (max-width: 430px) {
    :root { --shell: calc(100% - 28px); }
    .site-header__inner { gap: 10px; }
    .brand span strong { font-size: 1.1rem; }
    .language-pill { min-width: 40px; min-height: 40px; }
    .menu-toggle { width: 44px; height: 44px; }
    .page-hero__content h1 { font-size: 3.25rem; }
    .page-hero__intro { font-size: .96rem; }
    .chronicles-tabs a span { display: none; }
    .chronicles-tabs a { font-size: .68rem; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__brand { grid-column: auto; }
    .site-footer__brand h2 { font-size: 1.9rem; }
    .event-preview__image, .event-preview__image img { min-height: 340px; }
    .recruitment-editorial__image, .recruitment-editorial__image img { min-height: 320px; }
    .practical-card { min-height: 290px; }
    .language-card { padding-inline: 24px; }
}
@media (min-width: 1600px) {
    :root { --shell: min(1320px, calc(100vw - 90px)); }
    .page-hero__content h1 { max-width: 980px; }
    .equipment-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .ambient { display: none; }
    .reveal { opacity: 1; transform: none; }
}
#main-content { display: flex; flex-direction: column; min-width: 0; }
.page-hero__media img { object-position: var(--hero-focus-x,50%) var(--hero-focus-y,50%); }
.rich-content> :first-child { margin-top: 0; }
.rich-content> :last-child { margin-bottom: 0; }
.brand-mark { overflow: hidden; border-radius: 28%; }
.brand__mark { position: relative; display: grid; place-items: center; }
.brand__mark::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(255,255,255,.36); border-radius: 32%; opacity: .72; pointer-events: none; }
.site-header.is-scrolled .brand__mark::after { border-color: rgba(103,40,56,.17); }
.falling-leaves i { --size: calc(7px + var(--leaf-index) * .35px); }
.falling-leaves i:nth-child(4n) { transform: scale(.7); }
.site-header::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); opacity: .8; }
.site-header.is-scrolled::after { background: linear-gradient(90deg, transparent, rgba(103,40,56,.16), transparent); }
.site-header__inner { width: min(1280px, calc(100vw - 48px)); }
.desktop-nav { position: relative; gap: 5px; padding: 5px; background: rgba(40,13,21,.18); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; backdrop-filter: blur(14px); }
.site-header.is-scrolled .desktop-nav { background: rgba(255,255,255,.58); border-color: rgba(103,40,56,.11); box-shadow: 0 9px 25px rgba(71,36,30,.07); }
.desktop-nav a { min-height: 42px; display: flex; align-items: center; padding: 8px 17px; border-radius: 999px; font-size: .68rem; letter-spacing: .105em; transition: color .25s, background .25s, transform .25s; }
.desktop-nav a::after { display: none; }
.desktop-nav a:hover { background: rgba(255,255,255,.1); transform: translateY(-1px); }
.desktop-nav a[aria-current="page"] { color: var(--burgundy-deep); background: rgba(255,250,244,.94); box-shadow: 0 7px 18px rgba(32,12,18,.13); }
.site-header.is-scrolled .desktop-nav a:hover { background: rgba(103,40,56,.06); }
.site-header.is-scrolled .desktop-nav a[aria-current="page"] { color: #fff; background: linear-gradient(135deg,var(--burgundy),var(--wine)); }
.desktop-nav a i { position: absolute; right: 14px; bottom: 5px; left: 14px; height: 1px; background: currentColor; opacity: 0; transform: scaleX(.2); transition: opacity .2s, transform .3s var(--ease); }
.desktop-nav a:hover i, .desktop-nav a[aria-current="page"] i { opacity: .25; transform: scaleX(1); }
.language-orb { position: relative; width: 48px; height: 48px; display: grid; place-items: center; color: inherit; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; box-shadow: 0 9px 22px rgba(30,10,16,.09); transition: transform .25s var(--ease), background .25s, border-color .25s; }
.language-orb:hover { transform: translateY(-2px) rotate(-4deg); background: rgba(255,255,255,.16); }
.site-header.is-scrolled .language-orb { background: #fff; border-color: var(--line); }
.language-orb__globe .icon { width: 20px; height: 20px; }
.language-orb__flag { position: absolute; right: -2px; bottom: -1px; width: 20px; height: 15px; overflow: hidden; background: #fff; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 3px 9px rgba(31,12,16,.24); }
.flag { display: inline-grid; place-items: center; overflow: hidden; border-radius: 5px; }
.flag svg { width: 100%; height: 100%; }
.mobile-menu { align-content: stretch; grid-template-rows: auto 1fr auto; padding: max(22px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(25px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left)); background: radial-gradient(circle at 82% 5%,rgba(217,132,75,.3),transparent 32%), linear-gradient(145deg,#35121c,#6f2839 62%,#4a1825); }
.mobile-menu::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(circle at 20% 30%,#fff 0 1px,transparent 1.5px), radial-gradient(circle at 76% 68%,#fff 0 1px,transparent 1.5px); background-size: 70px 70px,95px 95px; }
.mobile-menu__top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.35rem; }
.mobile-menu__brand img { width: 52px; height: 52px; box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.mobile-menu__close { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.mobile-menu__close .icon { width: 22px; }
.mobile-menu nav { align-self: center; z-index: 2; }
.mobile-menu nav a { align-items: center; font-size: clamp(2rem,10vw,4rem); transition: color .2s, padding .25s; }
.mobile-menu nav a i { margin-left: auto; opacity: .45; }
.mobile-menu nav a .icon { width: 26px; }
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { color: #efbd8f; padding-left: 8px; }
.mobile-menu__footer { position: relative; z-index: 2; align-items: center; }
.mobile-menu__footer button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 13px; color: #fff; background: rgba(255,255,255,.08); border-radius: 999px; }
.mobile-menu__footer .flag { width: 22px; height: 16px; background: linear-gradient(90deg,#1c387a 0 33%,#fff 33% 66%,#e64450 66%); }
.mobile-menu__leaves i, .site-footer__leaves i, .chronicles-flourish i, .recruitment-orbit i, .application-section__leaves i { position: absolute; width: 13px; height: 22px; background: linear-gradient(145deg,#e0a05f,#9e3d36); border-radius: 90% 0 90% 0; transform: rotate(35deg); }
.mobile-menu__leaves i:nth-child(1) { right: 12%; bottom: 18%; transform: rotate(-25deg) scale(1.2); }
.mobile-menu__leaves i:nth-child(2) { right: 5%; bottom: 11%; transform: rotate(45deg) scale(.7); }
.mobile-menu__leaves i:nth-child(3) { left: 9%; top: 22%; transform: rotate(115deg) scale(.85); }
.language-modal { position: fixed; inset: 0; display: grid; place-items: center; padding: max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s,visibility .3s; }
.language-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.language-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(36,11,18,.48); backdrop-filter: blur(7px) saturate(.9); }
.language-modal.is-initial .language-modal__backdrop { background: rgba(36,11,18,.37); backdrop-filter: blur(5px) saturate(.92); }
.language-dialog { position: relative; z-index: 1; overflow: auto; color: var(--brown); background: linear-gradient(145deg,rgba(255,253,249,.98),rgba(246,234,222,.97)); border: 1px solid rgba(255,255,255,.75); border-radius: 42px 15px 42px 15px; box-shadow: 0 42px 130px rgba(27,8,13,.46), inset 0 1px rgba(255,255,255,.9); transform: translateY(20px) scale(.97); transition: transform .45s var(--ease); outline: none; }
.language-modal.is-open .language-dialog { transform: none; }
.language-dialog::before { content: ""; position: absolute; inset: 11px; pointer-events: none; border: 1px solid rgba(158,79,52,.15); border-radius: 34px 10px 34px 10px; }
.language-dialog__shimmer { position: absolute; width: 340px; height: 340px; top: -190px; right: -120px; background: radial-gradient(circle,rgba(225,155,93,.3),transparent 70%); }
.language-dialog__close { position: absolute; z-index: 2; top: 19px; right: 19px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--burgundy); background: rgba(255,255,255,.76); border: 1px solid var(--line); border-radius: 50%; }
.language-dialog__brand { position: relative; display: flex; align-items: center; }
.language-dialog__brand img { box-shadow: 0 14px 30px rgba(69,29,30,.16); }
.language-dialog__brand div { display: grid; }
.language-dialog__brand span { color: var(--burgundy-deep); font-family: var(--serif); font-size: 1.42rem; font-weight: 600; }
.language-dialog__brand small { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.language-dialog h2 { position: relative; max-width: 600px; margin: 0; color: var(--burgundy-deep); font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: .92; }
.language-dialog h2 span { display: block; margin-top: 9px; color: var(--copper); font-size: .55em; font-style: italic; letter-spacing: -.02em; }
.language-dialog__intro { max-width: 530px; color: #66534c; }
.language-dialog__options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.language-choice { position: relative; width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; color: var(--brown); background: rgba(255,255,255,.78); border: 1px solid rgba(103,40,56,.13); border-radius: 17px 28px 17px 28px; text-align: left; box-shadow: 0 10px 30px rgba(74,38,30,.06); transition: transform .28s var(--ease),border-color .25s,box-shadow .25s,background .25s; }
.language-choice:hover, .language-choice:focus-visible { transform: translateY(-4px); background: #fff; border-color: rgba(181,99,60,.55); box-shadow: 0 20px 45px rgba(74,38,30,.13); }
.language-choice.is-current::after { content: ""; position: absolute; top: 10px; right: 10px; width: 7px; height: 7px; background: #4e9c69; border-radius: 50%; box-shadow: 0 0 0 4px rgba(78,156,105,.13); }
.language-choice .flag { background: #fff; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(51,25,24,.15); }
.language-choice > span:nth-child(2) { display: grid; }
.language-choice strong { color: var(--burgundy-deep); font-family: var(--serif); font-size: 1.22rem; }
.language-choice small { color: var(--muted); font-size: .67rem; }
.language-choice > i { color: var(--copper); }
.language-choice > i .icon { width: 19px; }
.language-dialog__note { margin: 22px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.public-form input[type="checkbox"], .public-form input[type="radio"], .application-form input[type="checkbox"], .application-form input[type="radio"] { appearance: none; width: 24px; min-height: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; padding: 0; background: #fff; border: 1.5px solid rgba(103,40,56,.3); border-radius: 7px; box-shadow: inset 0 1px 2px rgba(50,22,23,.05); transition: background .2s,border-color .2s,transform .2s,box-shadow .2s; }
.public-form input[type="radio"], .application-form input[type="radio"] { border-radius: 50%; }
.public-form input[type="checkbox"]::after, .application-form input[type="checkbox"]::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .2s var(--ease); }
.public-form input[type="radio"]::after, .application-form input[type="radio"]::after { content: ""; width: 10px; height: 10px; background: #fff; border-radius: 50%; transform: scale(0); transition: transform .2s var(--ease); }
.public-form input[type="checkbox"]:checked, .public-form input[type="radio"]:checked, .application-form input[type="checkbox"]:checked, .application-form input[type="radio"]:checked { background: linear-gradient(145deg,var(--copper-light),var(--burgundy)); border-color: transparent; box-shadow: 0 6px 14px rgba(103,40,56,.2); }
.public-form input[type="checkbox"]:checked::after, .public-form input[type="radio"]:checked::after, .application-form input[type="checkbox"]:checked::after, .application-form input[type="radio"]:checked::after { transform: rotate(-45deg) scale(1); }
.public-form input[type="radio"]:checked::after, .application-form input[type="radio"]:checked::after { transform: scale(1); }
.application-form select, .public-form select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,var(--burgundy) 50%),linear-gradient(135deg,var(--burgundy) 50%,transparent 50%); background-position: calc(100% - 19px) calc(50% - 2px),calc(100% - 14px) calc(50% - 2px); background-size: 5px 5px,5px 5px; background-repeat: no-repeat; padding-right: 42px; }
.chronicles-space { overflow: hidden; background: linear-gradient(180deg,var(--ivory),#f6eee5 54%,var(--paper)); }
.chronicles-space::before { content: ""; position: absolute; width: 480px; height: 480px; top: 11%; left: -270px; background: radial-gradient(circle,rgba(207,128,75,.14),transparent 70%); }
.chronicles-flourish { position: absolute; inset: 0; pointer-events: none; }
.chronicles-flourish i:nth-child(1) { top: 12%; right: 4%; transform: rotate(80deg) scale(1.3); opacity: .25; }
.chronicles-flourish i:nth-child(2) { top: 28%; right: 8%; transform: rotate(30deg) scale(.7); opacity: .2; }
.chronicles-flourish i:nth-child(3) { bottom: 9%; left: 4%; transform: rotate(-60deg); opacity: .18; }
.chronicles-tabs { position: relative; z-index: 2; width: fit-content; display: flex; gap: 7px; margin: -42px auto 75px; padding: 7px; background: rgba(255,253,249,.92); border: 1px solid rgba(255,255,255,.74); border-radius: 999px; box-shadow: 0 22px 60px rgba(58,27,24,.16); backdrop-filter: blur(20px); }
.chronicles-tabs a { min-width: 195px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 18px; color: var(--muted); border-radius: 999px; transition: color .25s,background .25s,box-shadow .25s,transform .25s; }
.chronicles-tabs a > span { color: var(--copper); font-size: .63rem; font-weight: 900; letter-spacing: .11em; }
.chronicles-tabs a strong { font-family: var(--serif); font-size: 1.03rem; font-weight: 600; }
.chronicles-tabs a i { opacity: .45; }
.chronicles-tabs a i .icon { width: 18px; }
.chronicles-tabs a[aria-selected="true"] { color: #fff; background: linear-gradient(135deg,var(--burgundy),var(--wine)); box-shadow: 0 10px 25px rgba(103,40,56,.23); transform: translateY(-1px); }
.chronicles-tabs a[aria-selected="true"] > span { color: #efbd8f; }
.guestbook-intro { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.6fr); align-items: end; gap: 45px; margin-bottom: 60px; padding: 0 90px 28px 0; border-bottom: 1px solid rgba(103,40,56,.13); }
.guestbook-intro > p { margin: 0; color: #67544d; }
.guestbook-intro__quill { position: absolute; right: 9px; bottom: 22px; width: 62px; height: 62px; display: grid; place-items: center; color: var(--copper); background: #fff; border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow-sm); transform: rotate(-8deg); }
.guestbook-intro__quill .icon { width: 26px; }
.guestbook-layout { grid-template-columns: minmax(0,1.4fr) minmax(350px,.64fr); }
.guestbook-grid { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
.guestbook-note { position: relative; border: 1px solid rgba(111,64,48,.13); border-radius: 8px 34px 10px 30px; transform: rotate(var(--note-tilt,0)); transition: transform .35s var(--ease),box-shadow .35s; }
.guestbook-note::before { content: ""; position: absolute; inset: 10px; pointer-events: none; border: 1px solid rgba(181,99,60,.12); border-radius: 5px 26px 7px 23px; }
.guestbook-note:hover { z-index: 2; transform: rotate(0) translateY(-7px); box-shadow: 0 30px 65px rgba(76,40,31,.15); }
.guestbook-note__pin { position: absolute; left: 50%; border-radius: 2px; transform: translateX(-50%) rotate(-2deg); }
.guestbook-note__quote { color: #d89b70; font-family: var(--serif); line-height: .55; }
.guestbook-note > p { position: relative; }
.guestbook-note footer { position: relative; }
.guestbook-note footer > div { display: grid; }
.guestbook-note footer small { color: var(--muted); font-size: .61rem; font-style: italic; }
.guestbook-note.is-owned { border-color: rgba(181,99,60,.42); background: linear-gradient(145deg,#fffaf0,#f3ddcc); }
.guestbook-note__mine { position: absolute; top: 14px; right: 15px; padding: 5px 9px; color: #fff; background: var(--burgundy); border-radius: 999px; font-size: .58rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.guestbook-form-card { position: relative; overflow: hidden; background: radial-gradient(circle at 100% 0,rgba(226,147,86,.27),transparent 35%),linear-gradient(145deg,#3c1420,#6b2739); border: 1px solid rgba(255,255,255,.12); border-radius: 14px 42px 14px 42px; box-shadow: 0 35px 90px rgba(41,14,21,.32); }
.guestbook-form-card::after { content: ""; position: absolute; inset: 10px; pointer-events: none; border: 1px solid rgba(255,255,255,.1); border-radius: 9px 34px 9px 34px; }
.guestbook-form-card__glow { position: absolute; width: 280px; height: 280px; top: -170px; right: -100px; background: radial-gradient(circle,rgba(245,188,126,.33),transparent 70%); }
.guestbook-form-card__leaf { position: absolute; right: 22px; bottom: 25px; width: 28px; height: 45px; opacity: .13; background: #efbd8f; border-radius: 90% 0 90% 0; transform: rotate(30deg); }
.guestbook-form-card__head { position: relative; display: flex; align-items: flex-start; gap: 15px; }
.guestbook-form-card__head > span { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; color: #f2c495; background: rgba(255,255,255,.08); border-radius: 14px; }
.guestbook-form-card__head h2 { font-size: clamp(1.95rem,3vw,3rem); }
.guestbook-owner-status { position: relative; display: flex; align-items: center; gap: 10px; margin: 18px 0; padding: 12px 14px; color: #ffe4bd; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 13px; }
.guestbook-owner-status .icon { width: 18px; flex: 0 0 auto; }
.guestbook-owner-status p { margin: 0; font-size: .75rem; }
.guestbook-form { position: relative; }
.guestbook-form label > span { color: rgba(255,255,255,.86); }
.guestbook-form input, .guestbook-form textarea { color: #3b2924; background: rgba(255,253,249,.97); border-color: rgba(255,255,255,.22); }
.guestbook-submit { width: 100%; margin-top: 6px; }
.guestbook-own-actions { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.guestbook-own-actions button { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.07); border-radius: 10px; font-size: .69rem; }
.guestbook-own-actions button:hover { color: #fff; background: rgba(255,255,255,.12); }
.guestbook-own-actions .icon { width: 16px; }
.recruitment-conditions { overflow: hidden; }
.recruitment-orbit i:nth-child(1) { top: 15%; right: 5%; opacity: .24; transform: rotate(70deg) scale(1.2); }
.recruitment-orbit i:nth-child(2) { top: 25%; right: 10%; opacity: .15; transform: rotate(25deg) scale(.7); }
.recruitment-orbit i:nth-child(3) { bottom: 14%; left: 4%; opacity: .18; transform: rotate(-40deg); }
.recruitment-editorial__image { border-radius: 12px 52px 12px 52px; box-shadow: 0 30px 75px rgba(57,27,25,.18); }
.recruitment-editorial__image::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.36); border-radius: 8px 42px 8px 42px; pointer-events: none; }
.image-corner-leaf { position: absolute; right: 22px; bottom: 20px; width: 21px; height: 34px; background: #e9af6d; border-radius: 90% 0 90% 0; opacity: .75; transform: rotate(42deg); }
.recruitment-editorial__copy ul li { position: relative; display: flex; align-items: flex-start; gap: 11px; }
.recruitment-editorial__copy ul li > span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: var(--burgundy); border-radius: 50%; }
.recruitment-editorial__copy ul li .icon { width: 14px; }
.process-timeline { position: relative; }
.process-timeline::before { content: ""; position: absolute; height: 1px; background: linear-gradient(90deg,transparent,var(--copper-light),transparent); opacity: .45; }
.process-step { position: relative; }
.process-step > i { display: grid; place-items: center; color: var(--copper); border: 1px solid var(--line); }
.application-section { position: relative; display: grid; align-items: center; overflow: hidden; background: #451823; }
.application-section__image, .application-section__veil { position: absolute; inset: 0; }
.application-section__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.application-section__veil { background: linear-gradient(90deg,rgba(45,13,21,.92),rgba(69,23,34,.7) 55%,rgba(50,15,23,.54)),linear-gradient(0deg,rgba(33,9,15,.54),transparent 60%); }
.application-section__leaves i:nth-child(1) { top: 14%; left: 8%; opacity: .5; animation: leaf-drift 7s ease-in-out infinite; }
.application-section__leaves i:nth-child(2) { right: 12%; top: 20%; opacity: .34; transform: rotate(100deg) scale(.8); animation: leaf-drift 8s -3s ease-in-out infinite; }
.application-section__leaves i:nth-child(3) { right: 6%; bottom: 18%; opacity: .28; transform: rotate(-35deg) scale(1.3); }
.application-section__leaves i:nth-child(4) { left: 22%; bottom: 9%; opacity: .25; transform: rotate(25deg) scale(.65); }
@keyframes leaf-drift {
    50% { translate: 8px 14px; rotate: 45deg; }
}
.application-shell { position: relative; z-index: 2; }
.application-invitation { display: grid; background: rgba(66,18,29,.62); border: 1px solid rgba(255,255,255,.17); border-radius: 15px 54px 15px 54px; box-shadow: 0 35px 90px rgba(23,7,12,.36); backdrop-filter: blur(14px); }
.application-invitation h2 { margin: 0; color: #fff; font-family: var(--serif); font-size: clamp(2.5rem,5vw,5.1rem); font-weight: 500; letter-spacing: -.045em; line-height: .94; }
.application-invitation p:not(.eyebrow) { max-width: 610px; margin: 20px 0 0; color: rgba(255,255,255,.74); }
.application-invitation > small { color: #efbd8f; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.application-modal { position: fixed; inset: 0; display: none; place-items: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s,visibility .3s; }
.application-modal.is-open { display: grid; opacity: 1; visibility: visible; pointer-events: auto; }
.application-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; }
.application-dialog { position: relative; z-index: 1; color: var(--brown); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 50px 160px rgba(17,5,9,.54); transform: translateY(22px) scale(.975); transition: transform .45s var(--ease); outline: none; }
.application-modal.is-open .application-dialog { transform: none; }
.application-dialog__art { position: absolute; inset: 0 0 auto; height: 170px; overflow: hidden; pointer-events: none; }
.application-dialog__art span { position: absolute; width: 440px; height: 320px; top: -220px; right: -80px; background: radial-gradient(circle,rgba(210,139,88,.3),transparent 70%); }
.application-dialog__art i { position: absolute; width: 15px; height: 24px; right: 84px; top: 44px; background: linear-gradient(145deg,#d9945b,#8e3540); border-radius: 90% 0 90% 0; transform: rotate(36deg); }
.application-dialog__art i:last-child { right: 128px; top: 69px; transform: rotate(-25deg) scale(.7); opacity: .55; }
.application-dialog__header { position: sticky; z-index: 5; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: rgba(255,253,249,.93); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.application-dialog__header .eyebrow { margin-bottom: 3px; }
.application-dialog__header h2 { margin: 0; color: var(--burgundy-deep); font-family: var(--serif); font-weight: 500; line-height: 1; }
.application-dialog__close { display: grid; place-items: center; flex: 0 0 auto; color: var(--burgundy); background: #fff; border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow-sm); }
.application-dialog__intro { margin: 0 0 25px; }
.application-dialog .application-form { overflow: visible; background: transparent; border-radius: 0; box-shadow: none; }
.application-dialog .form-step { padding-inline: 0; }
.application-dialog .application-confirmation { display: grid; place-items: center; align-content: center; }
.application-dialog .application-confirmation > span .icon { width: 35px; }
.application-dialog .application-confirmation h3 { max-width: 760px; margin: 12px auto 20px; color: var(--burgundy-deep); font-family: var(--serif); font-weight: 500; line-height: .98; }
.choice-card { position: relative; min-height: 58px; display: flex; box-shadow: 0 7px 18px rgba(65,31,27,.05); }
.choice-card:has(input:checked) { color: var(--burgundy-deep); }
.site-footer { padding-top: clamp(75px,9vw,125px); background: radial-gradient(circle at 86% 8%,rgba(212,142,83,.18),transparent 28%),linear-gradient(145deg,#35121c,#4d1826 58%,#2c0d16); }
.site-footer::before { content: ""; position: absolute; inset: 0; opacity: .09; background-image: radial-gradient(circle,#fff 0 1px,transparent 1.5px); background-size: 55px 55px; }
.site-footer__grid { grid-template-columns: minmax(0,1.55fr) minmax(150px,.48fr) minmax(250px,.72fr); }
.site-footer__brand img { border-radius: 28%; box-shadow: 0 18px 45px rgba(0,0,0,.23); }
.site-footer__brand p:last-child { max-width: 560px; }
.site-footer__nav p, .site-footer__socials > p { margin: 0 0 15px; color: #efbd8f; font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.site-footer__nav a { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer__nav a span { opacity: .45; }
.social-links { display: grid; gap: 9px; }
.social-links a { min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 11px 14px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 13px 22px 13px 22px; transition: transform .25s var(--ease),background .25s,border-color .25s; }
.social-links a:hover { transform: translateX(4px); color: #fff; background: rgba(255,255,255,.1); border-color: rgba(239,189,143,.35); }
.social-links a .social-icon { width: 24px; height: 24px; color: #efbd8f; }
.social-empty { display: flex; align-items: flex-start; gap: 12px; padding: 15px; color: rgba(255,255,255,.6); background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.13); border-radius: 14px; }
.social-empty > span { color: #efbd8f; }
.social-empty p { margin: 0; font-size: .73rem; }
.site-footer__bottom { position: relative; align-items: center; }
.site-footer__bottom > div { display: flex; align-items: center; gap: 13px; }
.site-footer__bottom button { flex: 0 0 44px; display: grid; place-items: center; color: #efbd8f; background: rgba(255,255,255,.06); border-radius: 50%; }
.site-footer__leaves i:nth-child(1) { top: 13%; left: 4%; opacity: .24; transform: rotate(-35deg) scale(1.2); }
.site-footer__leaves i:nth-child(2) { top: 22%; left: 8%; opacity: .17; transform: rotate(35deg) scale(.7); }
.site-footer__leaves i:nth-child(3) { right: 7%; bottom: 13%; opacity: .16; transform: rotate(110deg); }
.social-section .social-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
.social-section .social-links a { color: var(--burgundy-deep); background: #fff; border-color: var(--line); }
.social-section .social-links a .social-icon { color: var(--copper); }
.social-section .social-placeholder { min-height: 58px; display: flex; align-items: center; padding: 13px 17px; color: var(--muted); background: rgba(255,255,255,.65); border: 1px dashed var(--line); border-radius: 13px 23px 13px 23px; }
.reveal { transition-delay: var(--reveal-delay,0ms); }
.no-js .application-modal { position: relative; inset: auto; z-index: 1; display: block; padding: 35px 16px; opacity: 1; visibility: visible; pointer-events: auto; background: linear-gradient(150deg,#32101a,#592031 58%,#2a0d16); }
.no-js .application-modal__backdrop,.no-js .application-dialog__close,.no-js .application-dialog__visual { display: none; }
.no-js .application-dialog { width: min(100%,980px); max-height: none; display: block; margin-inline: auto; transform: none; }
.no-js .application-dialog__panel { max-height: none; overflow: visible; }
.no-js .application-dialog__header { position: static; }
.no-js .application-dialog .form-progress,.no-js [data-form-next],.no-js [data-form-prev] { display: none; }
.no-js .application-dialog .form-step { display: block; padding-block: 28px; border-bottom: 1px solid var(--line); }
.no-js .application-dialog .form-step:last-child { border-bottom: 0; }
.no-js .language-modal:not(.is-initial) { display: none; }
@media (max-width: 1180px) {
    .desktop-nav a { padding-inline: 12px; font-size: .63rem; }
    .site-header__inner { width: min(100% - 32px,1180px); gap: 17px; }
    .guestbook-layout { grid-template-columns: minmax(0,1fr) 360px; gap: 36px; }
    .site-footer__grid { gap: 38px; }
}
@media (max-width: 900px) {
    .falling-leaves i:nth-child(n + 8) { display: none; }
    .chronicles-tabs { margin-top: -35px; margin-bottom: 55px; }
    .guestbook-intro { grid-template-columns: 1fr; gap: 18px; }
    .guestbook-layout { grid-template-columns: 1fr; }
    .guestbook-form-wrap { position: static; }
    .guestbook-form-card { max-width: 650px; margin-inline: auto; }
    .application-invitation { grid-template-columns: 1fr; }
    .application-invitation > small { grid-column: 1; text-align: left; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
    :root { --shell: min(100% - 30px,1180px); }
    .falling-leaves i:nth-child(n + 5) { display: none; }
    .site-header__inner { width: calc(100% - 24px); }
    .brand small { display: none; }
    .brand strong { font-size: 1.08rem; }
    .language-orb { width: 44px; height: 44px; }
    .mobile-menu { padding-inline: 20px; }
    .mobile-menu nav a { padding-block: 12px; }
    .language-dialog { padding: 28px 22px 25px; border-radius: 28px 10px 28px 10px; }
    .language-dialog::before { inset: 7px; border-radius: 23px 7px 23px 7px; }
    .language-dialog__brand { margin-bottom: 24px; }
    .language-dialog__brand img { width: 62px; height: 62px; }
    .language-dialog__options { grid-template-columns: 1fr; }
    .language-choice { min-height: 80px; }
    .language-choice .flag { width: 44px; height: 31px; }
    .chronicles-tabs { width: 100%; }
    .chronicles-tabs a { min-width: 0; flex: 1; grid-template-columns: auto 1fr; padding: 11px 12px; }
    .chronicles-tabs a i { display: none; }
    .chronicles-tabs a strong { font-size: .92rem; }
    .guestbook-intro { padding-right: 0; }
    .guestbook-intro__quill { display: none; }
    .guestbook-grid { grid-template-columns: 1fr; }
    .guestbook-note { min-height: 210px; }
    .guestbook-form-card { border-radius: 12px 32px 12px 32px; }
    .process-timeline::before { display: none; }
    .application-section { min-height: 500px; }
    .application-invitation { padding: 30px 24px; border-radius: 12px 34px 12px 34px; }
    .application-invitation .button { width: 100%; }
    .application-dialog { max-height: calc(100svh - 16px); border-radius: 12px 28px 12px 28px; }
    .application-dialog__header { min-height: 92px; padding: 17px 18px; }
    .application-dialog__close { width: 44px; height: 44px; }
    .application-dialog__body { padding: 20px 17px 30px; }
    .application-dialog .form-progress__steps { overflow-x: auto; }
    .application-dialog .form-progress__steps button { flex: 0 0 145px; }
    .choice-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 42px; }
    .site-footer__brand { grid-column: auto; display: grid; }
    .site-footer__brand img { width: 76px; height: 76px; }
    .site-footer__bottom { align-items: flex-start; }
    .site-footer__bottom > div { justify-content: space-between; width: 100%; }
    .social-section .social-links { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
    .brand__mark img { width: 43px; height: 43px; }
    .header-actions { gap: 7px; }
    .language-orb, .menu-toggle { width: 42px; height: 42px; }
    .language-dialog h2 { font-size: 2.05rem; }
    .language-dialog__brand small { letter-spacing: .08em; }
    .chronicles-tabs a > span { display: none; }
    .chronicles-tabs a { display: flex; justify-content: center; }
    .guestbook-note { padding-inline: 25px; }
    .guestbook-form-card { padding-inline: 22px; }
    .application-dialog__header h2 { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .falling-leaves, .ambient { display: none; }
}
body::before { content: ""; position: fixed; z-index: -2; inset: 0; pointer-events: none; opacity: .23; background-image: radial-gradient(circle at 18% 12%,rgba(214,153,88,.13),transparent 26%),radial-gradient(circle at 82% 74%,rgba(122,42,57,.08),transparent 28%),linear-gradient(rgba(255,255,255,.28) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.2) 1px,transparent 1px); background-size: auto,auto,44px 44px,44px 44px; }
.falling-leaves i { position: absolute; background: linear-gradient(145deg,#efc184 5%,#c77146 48%,#813342 100%); border: 1px solid rgba(115,49,48,.14); border-radius: 92% 4% 88% 8%; transform-origin: 50% 10%; }
.falling-leaves i::before { content: ""; position: absolute; width: 1px; height: 82%; top: 7%; left: 49%; background: rgba(89,42,38,.28); transform: rotate(-9deg); transform-origin: bottom; }
.falling-leaves i::after { content: ""; position: absolute; width: 36%; height: 1px; top: 47%; left: 35%; background: rgba(89,42,38,.2); transform: rotate(-28deg); box-shadow: -1px -5px rgba(89,42,38,.14),2px 5px rgba(89,42,38,.12); }
.falling-leaves i:nth-child(3n) { background: linear-gradient(145deg,#f1d2a4,#d58b50 52%,#a1483e); border-radius: 6% 92% 8% 88%; }
.falling-leaves i:nth-child(4n) { background: linear-gradient(145deg,#dca85e,#a54e3a 58%,#66273a); }
.falling-leaves i:nth-child(5n) { transform: scale(.78); }
.section-petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.section-petals i { position: absolute; width: 12px; height: 19px; opacity: .2; background: linear-gradient(145deg,var(--amber),var(--burgundy)); border-radius: 90% 0 90% 0; }
.section-petals i:nth-child(1) { top: 12%; right: 7%; transform: rotate(35deg) scale(1.15); }
.section-petals i:nth-child(2) { top: 28%; right: 12%; transform: rotate(105deg) scale(.72); }
.section-petals i:nth-child(3) { bottom: 15%; left: 5%; transform: rotate(-35deg) scale(.9); }
.section--intro::before,.chronicles-preview::before,.guestbook-preview::after,.equipment-section::after { content: ""; position: absolute; width: 240px; height: 240px; pointer-events: none; opacity: .08; background: radial-gradient(circle at center,var(--copper) 0 1px,transparent 1.5px); background-size: 22px 22px; border-radius: 50%; mask-image: radial-gradient(circle,#000,transparent 68%); }
.section--intro::before { top: 8%; right: -90px; }
.chronicles-preview::before { bottom: 4%; left: -110px; }
.guestbook-preview::after { top: 3%; right: -70px; }
.equipment-section::after { bottom: 2%; right: -100px; }
.chronicle-empty-feature { position: relative; min-height: 440px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); overflow: hidden; background: #3d1621; border-radius: 18px 58px 18px 58px; box-shadow: 0 30px 85px rgba(55,24,25,.2); }
.chronicle-empty-feature::after { content: ""; position: absolute; inset: 12px; pointer-events: none; border: 1px solid rgba(255,255,255,.19); border-radius: 12px 49px 12px 49px; }
.chronicle-empty-feature__media { position: relative; min-height: 440px; overflow: hidden; }
.chronicle-empty-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 55%,#3d1621),linear-gradient(0deg,rgba(40,11,18,.38),transparent 55%); }
.chronicle-empty-feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.chronicle-empty-feature__copy { position: relative; z-index: 2; display: grid; align-content: center; padding: clamp(38px,5vw,74px); color: rgba(255,255,255,.76); }
.chronicle-empty-feature__copy h3 { margin: 8px 0 18px; color: #fff; font-family: var(--serif); font-size: clamp(2.2rem,4.6vw,4.8rem); font-weight: 500; letter-spacing: -.04em; line-height: .94; }
.chronicle-empty-feature__copy p:last-child { margin: 0; }
.ornamental-number { position: absolute; top: 20px; right: 28px; color: rgba(255,255,255,.08); font-family: var(--serif); font-size: 7rem; line-height: 1; }
.guestbook-mini-grid,.guestbook-grid { align-items: stretch; gap: clamp(18px,2.6vw,30px); }
.guestbook-note { isolation: isolate; background: linear-gradient(155deg,#fffdf8,#f8eadc 92%); border-color: rgba(108,53,45,.14); box-shadow: 0 22px 52px rgba(73,37,30,.1),inset 0 1px rgba(255,255,255,.9); }
.guestbook-note::after { content: ""; position: absolute; z-index: -1; width: 92px; height: 92px; right: -28px; bottom: -34px; opacity: .08; background: linear-gradient(145deg,var(--amber),var(--burgundy)); border-radius: 90% 0 90% 0; transform: rotate(38deg); }
.guestbook-note__pin { top: -6px; width: 46px; height: 13px; background: linear-gradient(90deg,rgba(205,147,94,.62),rgba(237,195,144,.7),rgba(184,111,72,.58)); box-shadow: 0 4px 9px rgba(66,28,24,.14); }
.guestbook-note__quote { position: absolute; top: 34px; left: 28px; font-size: 5.7rem; opacity: .28; }
.guestbook-note > p { z-index: 1; color: #4e202c; font-family: var(--serif); font-size: clamp(1.15rem,1.6vw,1.38rem); line-height: 1.5; }
.guestbook-note footer { z-index: 1; align-items: end; padding-top: 16px; border-top: 1px solid rgba(103,40,56,.1); }
.guestbook-note footer strong { color: var(--burgundy); font-family: var(--serif); font-size: 1rem; }
.guestbook-note footer time { color: #79655d; }
.guestbook-note--compact { min-height: 236px; }
.guestbook-note.is-highlighted { animation: guestbook-highlight 1.5s var(--ease) both; box-shadow: 0 0 0 5px rgba(210,139,95,.16),0 30px 70px rgba(73,37,30,.18); }
@keyframes guestbook-highlight {
    0% { opacity: 0; transform: translateY(24px) rotate(var(--note-tilt,0)); }
    45% { opacity: 1; transform: translateY(-7px) rotate(0); }
    100% { transform: rotate(var(--note-tilt,0)); }
}
.social-section { overflow: hidden; color: #fff; background: radial-gradient(circle at 18% 18%,rgba(222,151,87,.22),transparent 30%),radial-gradient(circle at 84% 80%,rgba(180,91,65,.2),transparent 34%),linear-gradient(135deg,#34101a,#682739 62%,#42131f); }
.social-section::before { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none; background-image: radial-gradient(circle,#fff 0 1px,transparent 1.5px); background-size: 52px 52px; }
.social-section__glow { position: absolute; width: 560px; height: 560px; right: -230px; top: -280px; background: radial-gradient(circle,rgba(235,179,116,.34),transparent 69%); }
.social-section__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(280px,.75fr) minmax(420px,1.25fr); align-items: center; gap: clamp(44px,8vw,110px); }
.social-section__copy .eyebrow { color: #f0be8d; }
.social-section__copy .display-title { color: #fff; }
.social-section__copy > p:last-child { max-width: 520px; color: rgba(255,255,255,.72); }
.social-showcase { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.social-showcase-card { position: relative; min-height: 132px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 17px; overflow: hidden; padding: 23px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 18px 38px 18px 38px; box-shadow: 0 20px 48px rgba(18,5,10,.15); backdrop-filter: blur(12px); transition: transform .3s var(--ease),background .3s,border-color .3s,box-shadow .3s; }
.social-showcase-card::before { content: ""; position: absolute; width: 110px; height: 110px; right: -55px; bottom: -65px; opacity: .22; background: radial-gradient(circle,#f4bf88,transparent 69%); transition: transform .4s var(--ease); }
.social-showcase-card:hover { transform: translateY(-6px) rotate(-.4deg); background: rgba(255,255,255,.13); border-color: rgba(240,190,141,.48); box-shadow: 0 30px 70px rgba(18,5,10,.24); }
.social-showcase-card:hover::before { transform: scale(1.7); }
.social-showcase-card__icon { width: 58px; height: 58px; display: grid; place-items: center; color: #3f1721; background: linear-gradient(145deg,#f8d6ac,#d68c58); border-radius: 17px 28px 17px 28px; box-shadow: 0 13px 28px rgba(18,5,10,.18); }
.social-showcase-card__icon .social-icon { width: 29px; height: 29px; }
.social-showcase-card > span:nth-child(2) { display: grid; min-width: 0; }
.social-showcase-card small { color: rgba(255,255,255,.65); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.social-showcase-card strong { overflow: hidden; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.social-showcase-card > i { color: #f0be8d; font-size: 1.2rem; font-style: normal; }
.horse-section { isolation: isolate; }
.horse-section__glow { position: absolute; width: 700px; height: 700px; top: 50%; right: -210px; background: radial-gradient(circle,rgba(218,151,84,.22),transparent 68%); transform: translateY(-50%); }
.horse-section__leaves i { position: absolute; width: 16px; height: 27px; opacity: .18; background: linear-gradient(145deg,var(--amber),var(--burgundy)); border-radius: 90% 0 90% 0; }
.horse-section__leaves i:nth-child(1) { top: 12%; left: 5%; transform: rotate(-32deg); }
.horse-section__leaves i:nth-child(2) { top: 22%; left: 9%; transform: rotate(48deg) scale(.7); }
.horse-section__leaves i:nth-child(3) { right: 4%; bottom: 14%; transform: rotate(106deg) scale(1.2); }
.horse-art { min-height: 680px; }
.horse-art::before { width: 82%; background: radial-gradient(circle,rgba(216,151,83,.27),transparent 67%); }
.horse-art__arch { position: relative; z-index: 2; width: min(88%,620px); aspect-ratio: .82; overflow: hidden; padding: 12px; background: linear-gradient(145deg,#fbf0e1,#c98957 48%,#672838); border-radius: 49% 49% 24px 24px; box-shadow: 0 34px 85px rgba(75,32,29,.23); }
.horse-art__arch picture,.horse-art__arch img { width: 100%; height: 100%; }
.horse-art__arch img { object-fit: cover; object-position: 50% 46%; border-radius: calc(49% - 8px) calc(49% - 8px) 17px 17px; filter: saturate(1.05) contrast(1.02); }
.horse-art__arch::after { content: ""; position: absolute; inset: 12px; pointer-events: none; background: linear-gradient(0deg,rgba(50,18,24,.18),transparent 42%); border: 1px solid rgba(255,255,255,.55); border-radius: calc(49% - 8px) calc(49% - 8px) 17px 17px; }
.horse-art__frame { position: absolute; z-index: 3; inset: 24px; pointer-events: none; border: 1px solid rgba(246,211,166,.52); border-radius: 47% 47% 12px 12px; }
.horse-art__detail { position: absolute; z-index: 4; width: 175px; aspect-ratio: 1; right: 1%; bottom: 8%; overflow: hidden; padding: 7px; background: #fff8ef; border: 1px solid rgba(104,40,55,.14); border-radius: 50%; box-shadow: 0 25px 55px rgba(70,29,28,.2); }
.horse-art__detail img { width: 100%; height: 100%; object-fit: cover; object-position: 43% 48%; border-radius: 50%; }
.horse-art__seal { position: absolute; z-index: 5; width: 104px; height: 104px; left: 2%; bottom: 12%; display: grid; place-items: center; align-content: center; color: #fff; background: linear-gradient(145deg,#8e3c48,#4b1724); border: 7px solid #f3dfc8; border-radius: 50%; box-shadow: 0 18px 38px rgba(69,25,27,.2); transform: rotate(-8deg); }
.horse-art__seal span { font-family: var(--serif); font-size: 2rem; line-height: .8; }
.horse-art__seal small { margin-top: 7px; font-size: .5rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.recruitment-editorial { align-items: center; }
.recruitment-editorial__image picture,.recruitment-editorial__image img { width: 100%; height: 100%; }
.recruitment-editorial__seal { position: absolute; z-index: 3; width: 95px; height: 95px; left: -22px; bottom: 45px; display: grid; place-items: center; align-content: center; color: #fff; background: linear-gradient(145deg,#8b3443,#501724); border: 6px solid #f7e6d4; border-radius: 50%; box-shadow: 0 18px 45px rgba(57,25,25,.25); transform: rotate(-9deg); }
.recruitment-editorial__seal strong { font-family: var(--serif); font-size: 1.8rem; line-height: .8; }
.recruitment-editorial__seal small { font-size: .54rem; font-weight: 900; letter-spacing: .12em; }
.recruitment-conditions__text { color: #5e4b44; font-size: 1.03rem; }
.recruitment-conditions__text ul { display: grid; gap: 12px; padding: 0; list-style: none; }
.recruitment-conditions__text li { position: relative; padding: 12px 15px 12px 42px; background: #fff; border: 1px solid var(--line); border-radius: 11px 22px 11px 22px; }
.recruitment-conditions__text li::before { content: ""; position: absolute; width: 9px; height: 15px; left: 18px; top: 16px; background: linear-gradient(145deg,var(--amber),var(--burgundy)); border-radius: 90% 0 90% 0; transform: rotate(35deg); }
.recruitment-editorial__signature { display: flex; align-items: center; gap: 13px; margin-top: 32px; color: var(--copper); font-family: var(--serif); font-size: 1.05rem; font-style: italic; }
.recruitment-editorial__signature span { width: 48px; height: 1px; background: linear-gradient(90deg,transparent,var(--copper)); }
.recruitment-editorial__signature span:last-child { background: linear-gradient(90deg,var(--copper),transparent); }
.recruitment-process { overflow: hidden; }
.recruitment-process__glow { position: absolute; width: 560px; height: 560px; left: -280px; bottom: -310px; background: radial-gradient(circle,rgba(211,139,79,.18),transparent 70%); }
.process-step { overflow: hidden; background: rgba(255,255,255,.75); box-shadow: 0 20px 55px rgba(68,32,28,.08); }
.process-step::after { content: ""; position: absolute; width: 100px; height: 100px; right: -45px; bottom: -58px; opacity: .08; background: linear-gradient(145deg,var(--amber),var(--burgundy)); border-radius: 90% 0 90% 0; transform: rotate(35deg); }
.application-invitation { position: relative; isolation: isolate; overflow: hidden; max-width: 920px; border-color: rgba(255,255,255,.25); }
.application-invitation::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -180px; top: -240px; background: radial-gradient(circle,rgba(230,169,105,.29),transparent 69%); }
.application-invitation__ornament i { position: absolute; width: 13px; height: 22px; opacity: .42; background: linear-gradient(145deg,#f1bb7f,#a84442); border-radius: 90% 0 90% 0; }
.application-invitation__ornament i:nth-child(1) { top: 18px; right: 16%; transform: rotate(34deg); }
.application-invitation__ornament i:nth-child(2) { top: 42px; right: 11%; transform: rotate(96deg) scale(.72); }
.application-invitation__ornament i:nth-child(3) { left: 24px; bottom: 22px; transform: rotate(-42deg) scale(.86); }
.application-invitation > small strong { display: block; color: #fff; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.application-modal__backdrop { background: rgba(28,7,13,.75); backdrop-filter: blur(13px) saturate(.75); }
.application-dialog { display: grid; background: #fffdf8; }
.application-dialog__visual { position: relative; color: #fff; background: #481723; }
.application-dialog__visual picture,.application-dialog__visual picture img { width: 100%; height: 100%; }
.application-dialog__visual picture img { filter: saturate(.9) contrast(1.05); }
.application-dialog__visual-shade { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(39,8,16,.9),rgba(49,12,21,.12) 62%),linear-gradient(90deg,rgba(50,11,20,.3),transparent); }
.application-dialog__deity { position: absolute; z-index: 2; height: auto; object-fit: contain; opacity: .66; filter: drop-shadow(0 18px 35px rgba(9,2,4,.34)); }
.application-dialog__monogram { position: absolute; z-index: 3; display: grid; place-items: center; align-content: center; color: #fff; background: rgba(66,18,29,.72); border: 1px solid rgba(255,255,255,.36); border-radius: 50%; box-shadow: 0 16px 40px rgba(14,3,7,.26); backdrop-filter: blur(9px); }
.application-dialog__monogram strong { font-family: var(--serif); line-height: .76; }
.application-dialog__monogram small { font-size: .48rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.application-dialog__visual > p { position: absolute; z-index: 3; margin: 0; color: rgba(255,255,255,.8); font-family: var(--serif); font-style: italic; line-height: 1.35; }
.application-dialog__visual-leaves i { position: absolute; z-index: 4; width: 13px; height: 22px; opacity: .52; background: linear-gradient(145deg,#efb978,#a34741); border-radius: 90% 0 90% 0; }
.application-dialog__visual-leaves i:nth-child(1) { top: 22%; right: 12%; transform: rotate(42deg); }
.application-dialog__visual-leaves i:nth-child(2) { top: 28%; right: 21%; transform: rotate(104deg) scale(.7); }
.application-dialog__visual-leaves i:nth-child(3) { left: 8%; bottom: 22%; transform: rotate(-39deg) scale(1.2); }
.application-dialog__visual-leaves i:nth-child(4) { left: 18%; bottom: 16%; transform: rotate(32deg) scale(.66); }
.application-dialog__panel { min-width: 0; overflow: auto; scrollbar-color: var(--copper) #f4e9de; scrollbar-width: thin; }
.application-dialog__header { padding-inline: clamp(22px,4vw,54px); }
.application-dialog__intro { display: flex; align-items: flex-start; gap: 13px; max-width: none; color: #644f47; background: #f9efe5; border: 1px solid rgba(181,99,60,.13); border-radius: 12px 25px 12px 25px; }
.application-dialog__intro > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; color: var(--copper); background: #fff; border-radius: 50%; }
.application-dialog__intro p { margin: 0; }
.application-dialog .form-progress { z-index: 4; }
.application-dialog .form-step legend { position: relative; }
.application-dialog .form-step legend > span { position: absolute; left: 0; top: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,var(--copper-light),var(--burgundy)); border-radius: 13px 21px 13px 21px; font-size: .68rem; font-weight: 900; }
.application-dialog .form-step legend > strong { display: block; color: var(--burgundy-deep); font-family: var(--serif); font-weight: 500; line-height: 1; }
.application-dialog .form-step legend > small { display: block; margin-top: 8px; color: var(--muted); }
.choice-card input[type="checkbox"],.choice-card input[type="radio"] { position: relative; inset: auto; width: 19px; min-width: 19px; height: 19px; min-height: 19px; flex: 0 0 19px; opacity: 1; pointer-events: auto; }
.choice-card > span { min-height: 0; display: block; flex: 1; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.choice-card input:checked + span { color: inherit; background: transparent; border: 0; box-shadow: none; }
.public-form input[type="checkbox"],.application-form input[type="checkbox"],.choice-card input[type="checkbox"] { width: 19px; min-height: 19px; height: 19px; flex-basis: 19px; border-radius: 6px; }
.public-form input[type="radio"],.application-form input[type="radio"],.choice-card input[type="radio"] { width: 19px; min-height: 19px; height: 19px; flex-basis: 19px; }
.public-form input[type="checkbox"]::after,.application-form input[type="checkbox"]::after,.choice-card input[type="checkbox"]::after { width: 6px; height: 10px; border: 0; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) scale(0); transform-origin: center; }
.public-form input[type="checkbox"]:checked::after,.application-form input[type="checkbox"]:checked::after,.choice-card input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.public-form input[type="radio"]::after,.application-form input[type="radio"]::after,.choice-card input[type="radio"]::after { width: 7px; height: 7px; }
.site-footer__logo { flex: 0 0 96px; aspect-ratio: 1; object-fit: contain; object-position: center; }
@media (max-width: 1050px) {
    .social-section__inner { grid-template-columns: 1fr; }
    .social-section__copy { max-width: 720px; }
    .application-dialog { grid-template-columns: minmax(230px,.31fr) minmax(0,.69fr); }
    .application-dialog__deity { right: -28%; }
}
@media (max-width: 900px) {
    .chronicle-empty-feature { grid-template-columns: 1fr; }
    .chronicle-empty-feature__media { min-height: 330px; }
    .chronicle-empty-feature__media::after { background: linear-gradient(0deg,#3d1621,transparent 58%); }
    .chronicle-empty-feature__copy { margin-top: -90px; padding-top: 110px; }
    .horse-composition { grid-template-columns: 1fr; }
    .horse-copy { max-width: 720px; }
    .horse-art { min-height: 610px; }
    .recruitment-editorial__image { min-height: 470px; }
    .application-dialog { grid-template-columns: 1fr; }
    .application-dialog__visual { min-height: 170px; height: 170px; }
    .application-dialog__visual picture img { object-position: center 44%; }
    .application-dialog__deity { width: 230px; right: -25px; bottom: -90px; }
    .application-dialog__monogram { width: 82px; height: 82px; top: 18px; left: 20px; }
    .application-dialog__monogram strong { font-size: 1.7rem; }
    .application-dialog__visual > p { right: 130px; bottom: 18px; left: 120px; font-size: 1rem; }
    .application-dialog__panel { max-height: calc(100svh - 206px); }
    .application-dialog .form-progress { top: 91px; }
}
@media (max-width: 680px) {
    .falling-leaves i:nth-child(5),.falling-leaves i:nth-child(6) { display: block; }
    .falling-leaves i:nth-child(n + 7) { display: none; }
    .chronicle-empty-feature { min-height: 0; border-radius: 13px 38px 13px 38px; }
    .chronicle-empty-feature__media { min-height: 260px; }
    .chronicle-empty-feature__copy { margin-top: -72px; padding: 92px 24px 34px; }
    .guestbook-note,.guestbook-note--compact { min-height: 220px; padding: 38px 25px 25px; }
    .social-showcase { grid-template-columns: 1fr; }
    .social-showcase-card { min-height: 104px; padding: 18px; }
    .social-showcase-card__icon { width: 50px; height: 50px; }
    .horse-art { min-height: 500px; }
    .horse-art__arch { width: min(88%,440px); }
    .horse-art__detail { width: 125px; right: 0; }
    .horse-art__seal { width: 86px; height: 86px; left: 0; }
    .recruitment-editorial__image { min-height: 350px; }
    .recruitment-editorial__seal { width: 78px; height: 78px; left: -6px; bottom: 22px; }
    .application-invitation { gap: 24px; }
    .application-invitation > small { justify-self: start; }
    .application-dialog { max-height: calc(100svh - 12px); border-radius: 12px 28px 12px 28px; }
    .application-dialog__visual { height: 124px; min-height: 124px; }
    .application-dialog__visual > p { display: none; }
    .application-dialog__monogram { width: 68px; height: 68px; top: 14px; left: 14px; }
    .application-dialog__deity { width: 180px; right: -16px; bottom: -77px; }
    .application-dialog__panel { max-height: calc(100svh - 136px); }
    .application-dialog__header { min-height: 86px; }
    .application-dialog .form-progress { position: relative; top: auto; }
    .application-dialog .form-step legend { padding-left: 52px; }
    .application-dialog .form-step legend > span { width: 38px; height: 38px; }
    .site-footer__logo { width: 76px; height: 76px; min-width: 76px; flex-basis: 76px; }
}
@media (max-width: 390px) {
    .falling-leaves i:nth-child(6) { display: none; }
    .social-showcase-card strong { font-size: 1.25rem; }
    .horse-art { min-height: 430px; }
    .horse-art__detail { width: 105px; }
    .horse-art__seal { width: 75px; height: 75px; border-width: 5px; }
    .application-dialog__header h2 { font-size: 1.62rem; }
    .application-dialog__body { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .falling-leaves { display: none; }
    .guestbook-note.is-highlighted { animation: none; }
}
@keyframes guestbook-note-enter {
    from { opacity: 0; transform: translateY(18px) rotate(var(--note-tilt,0)); }
    to { opacity: 1; transform: rotate(var(--note-tilt,0)); }
}
.guestbook-note--enter { animation: guestbook-note-enter .58s var(--ease) both; animation-delay: calc((var(--note-order,0)) * 45ms); }
.guestbook-note--enter:nth-child(2) { animation-delay: 55ms; }
.guestbook-note--enter:nth-child(3) { animation-delay: 110ms; }
.guestbook-note--enter:nth-child(4) { animation-delay: 165ms; }
.guestbook-note.is-highlighted { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .guestbook-note--enter { animation: none; opacity: 1; }
}
.falling-leaves { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.falling-leaves i { will-change: transform; }
.falling-leaves i:nth-child(2n) { filter: drop-shadow(0 5px 7px rgba(71,30,31,.18)) saturate(1.08); }
.falling-leaves i:nth-child(6n) { width: calc(var(--leaf-size,15px) * 1.12); height: var(--leaf-size,15px); border: 0; border-radius: 0; clip-path: polygon(50% 0,60% 22%,79% 13%,70% 38%,97% 41%,73% 57%,84% 78%,58% 69%,50% 100%,42% 69%,16% 78%,27% 57%,3% 41%,30% 38%,21% 13%,40% 22%); background: linear-gradient(155deg,#f1c884,#ce7044 48%,#7c2d3d); }
.falling-leaves i:nth-child(6n)::before { height: 66%; top: 30%; transform: none; }
.falling-leaves i:nth-child(6n)::after { display: none; }
.falling-leaves i:nth-child(7n) { filter: blur(.25px) drop-shadow(0 4px 5px rgba(71,30,31,.13)); }
.social-showcase-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .44; background: linear-gradient(115deg,rgba(255,255,255,.09),transparent 34% 70%,rgba(255,255,255,.04)); }
.social-showcase-card__icon,.social-showcase-card > span,.social-showcase-card > i { position: relative; z-index: 2; }
.social-showcase-card--instagram { background: linear-gradient(135deg,rgba(119,52,118,.42),rgba(187,65,75,.28) 54%,rgba(217,133,74,.26)),rgba(255,255,255,.07); }
.social-showcase-card--instagram .social-showcase-card__icon { color: #fff; background: linear-gradient(145deg,#a64ca4,#d86b58 58%,#e9a35c); }
.social-showcase-card--discord { background: linear-gradient(135deg,rgba(88,101,242,.32),rgba(95,55,116,.25)),rgba(255,255,255,.07); }
.social-showcase-card--discord .social-showcase-card__icon { color: #fff; background: linear-gradient(145deg,#7380f2,#5865d8); }
.social-showcase-card--tiktok { background: linear-gradient(135deg,rgba(35,195,195,.18),rgba(24,13,24,.32) 48%,rgba(238,67,99,.2)),rgba(255,255,255,.07); }
.social-showcase-card--tiktok .social-showcase-card__icon { color: #fff; background: linear-gradient(145deg,#263238,#101317); box-shadow: -4px 4px 0 rgba(40,205,205,.35),4px -4px 0 rgba(242,70,105,.28),0 13px 28px rgba(18,5,10,.18); }
.social-showcase-card--youtube { background: linear-gradient(135deg,rgba(201,39,50,.32),rgba(93,26,41,.24)),rgba(255,255,255,.07); }
.social-showcase-card--youtube .social-showcase-card__icon { color: #fff; background: linear-gradient(145deg,#df3e49,#ae1f31); }
.social-showcase-card:hover .social-showcase-card__icon { transform: rotate(-3deg) scale(1.06); }
.social-showcase-card__icon { transition: transform .32s var(--ease),box-shadow .32s; }
.js .application-modal:not(.is-open),.js .language-modal:not(.is-open) { visibility: hidden; pointer-events: none; }
.js .application-modal.is-open,.js .language-modal.is-open { visibility: visible; pointer-events: auto; }
.guestbook-note--enter.is-highlighted { animation: guestbook-highlight-final 1.15s var(--ease) both; }
@keyframes guestbook-highlight-final {
    0% { opacity: 0; transform: translateY(26px) rotate(var(--note-tilt,0)) scale(.96); }
    55% { opacity: 1; transform: translateY(-7px) rotate(0deg) scale(1.015); }
    100% { opacity: 1; transform: rotate(var(--note-tilt,0)) scale(1); }
}
.public-form input[type="checkbox"],.application-form input[type="checkbox"],.choice-card input[type="checkbox"] { box-sizing: border-box; vertical-align: middle; }
@media (max-width: 700px) {
    .falling-leaves i:nth-child(n + 15) { display: none; }
    .falling-leaves i { opacity: .26; }
    .social-showcase-card { border-radius: 16px 30px 16px 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .guestbook-note--enter.is-highlighted { animation: none; opacity: 1; }
}
html { overflow-x: clip; }
main { overflow-x: clip; }
.guestbook-preview,.horse-section,.mobile-menu { overflow: hidden; }
.language-modal { z-index: 5000; }
.mobile-menu { z-index: 4300; width: 100%; height: 100dvh; min-height: 100svh; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; isolation: isolate; }
.mobile-menu[aria-hidden="true"] { z-index: -1; }
.mobile-menu[aria-hidden="false"] { z-index: 4300; }
.menu-open .site-header { opacity: 0; visibility: hidden; pointer-events: none; }
.menu-open .falling-leaves { z-index: 4290; }
.falling-leaves { z-index: 22; display: block; }
.falling-leaves i { top: -18vh; left: var(--leaf-x,50%); width: var(--leaf-size,24px); height: calc(var(--leaf-size,24px) * 1.55); opacity: .46; filter: drop-shadow(0 6px 8px rgba(71,30,31,.22)) saturate(1.12); animation: fh-leaf-fall-visible var(--leaf-duration,25s) linear infinite; animation-delay: var(--leaf-delay,0s); }
.falling-leaves i:nth-child(3n) { opacity: .38; }
.falling-leaves i:nth-child(4n) { opacity: .34; }
.falling-leaves i:nth-child(5n) { opacity: .4; }
.falling-leaves i:nth-child(7n) { opacity: .3; }
@keyframes fh-leaf-fall-visible {
    0% { transform: translate3d(0,-18vh,0) rotate(0deg) rotateY(0deg); }
    18% { transform: translate3d(calc(var(--leaf-drift,80px) * .24),18vh,0) rotate(calc(var(--leaf-spin,680deg) * .18)) rotateY(74deg); }
    42% { transform: translate3d(calc(var(--leaf-drift,80px) * -.16),47vh,0) rotate(calc(var(--leaf-spin,680deg) * .42)) rotateY(176deg); }
    69% { transform: translate3d(calc(var(--leaf-drift,80px) * .68),79vh,0) rotate(calc(var(--leaf-spin,680deg) * .69)) rotateY(282deg); }
    100% { transform: translate3d(var(--leaf-drift,80px),121vh,0) rotate(var(--leaf-spin,680deg)) rotateY(438deg); }
}
.error-page { min-height: 100svh; overflow: hidden; background: #35101a; }
.error-scene { position: relative; isolation: isolate; width: 100%; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: clamp(22px,4vw,64px); color: #fff; }
.error-scene__media,.error-scene__veil { position: absolute; inset: 0; }
.error-scene__media { z-index: -3; }
.error-scene__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.82) contrast(1.05); }
.error-scene__veil { z-index: -2; background: radial-gradient(circle at 72% 16%,rgba(221,145,79,.2),transparent 32%),linear-gradient(115deg,rgba(38,7,16,.88),rgba(70,19,31,.68) 52%,rgba(34,8,15,.84)); }
.error-scene__content { position: relative; z-index: 2; width: min(760px,100%); display: grid; justify-items: start; overflow: hidden; padding: clamp(32px,6vw,76px); background: linear-gradient(145deg,rgba(77,23,36,.82),rgba(47,12,22,.7)); border: 1px solid rgba(255,238,217,.24); border-radius: 24px 68px 24px 24px; box-shadow: 0 38px 120px rgba(15,3,8,.48); backdrop-filter: blur(16px) saturate(.9); }
.error-scene__content::before { content: ""; position: absolute; inset: 12px; pointer-events: none; border: 1px solid rgba(255,255,255,.1); border-radius: 17px 57px 17px 17px; }
.error-scene__content::after { content: ""; position: absolute; width: 280px; height: 280px; top: -170px; right: -110px; pointer-events: none; background: radial-gradient(circle,rgba(230,164,98,.28),transparent 69%); }
.error-scene__content > * { position: relative; z-index: 1; }
.error-scene__brand { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(22px,4vw,40px); color: #fff; font-family: var(--serif); font-size: 1.35rem; }
.error-scene__brand img { width: 70px; height: 70px; object-fit: contain; border-radius: 31%; box-shadow: 0 12px 32px rgba(11,2,6,.3); }
.error-scene .error-code { margin: 0 0 6px; color: #efbd8f; font-family: var(--serif); font-size: clamp(4rem,13vw,9rem); font-weight: 500; letter-spacing: -.075em; line-height: .72; }
.error-scene h1 { max-width: 650px; margin: 20px 0 18px; color: #fff; font-family: var(--serif); font-size: clamp(2.25rem,6vw,5.25rem); font-weight: 500; letter-spacing: -.045em; line-height: .94; overflow-wrap: anywhere; }
.error-scene__content > p:not(.error-code):not(.eyebrow) { max-width: 590px; margin: 0 0 30px; color: rgba(255,255,255,.76); }
.error-scene .button { position: relative; }
.error-scene__leaves i { position: absolute; z-index: 1; width: 24px; height: 39px; opacity: .5; background: linear-gradient(145deg,#f0bd7d,#a5483f 62%,#6e2638); border-radius: 92% 3% 90% 5%; filter: drop-shadow(0 8px 12px rgba(20,4,8,.2)); }
.error-scene__leaves i:nth-child(1) { top: 10%; right: 8%; transform: rotate(38deg); }
.error-scene__leaves i:nth-child(2) { right: 13%; bottom: 13%; transform: rotate(112deg) scale(.72); }
.error-scene__leaves i:nth-child(3) { left: 7%; bottom: 10%; transform: rotate(-42deg) scale(1.18); }
.horse-name { display: inline-flex; align-items: center; width: auto; max-width: 100%; margin: 24px 0 18px; padding: 10px 16px; color: var(--burgundy); background: rgba(255,255,255,.72); border: 1px solid rgba(103,40,56,.13); border-radius: 999px; box-shadow: 0 10px 28px rgba(72,34,28,.07); font-size: .78rem; font-weight: 850; letter-spacing: .055em; line-height: 1.35; text-transform: uppercase; }
.empty-state--agenda { position: relative; isolation: isolate; overflow: hidden; min-height: 260px; display: grid; place-items: center; align-content: center; padding: clamp(36px,6vw,72px); text-align: center; }
.empty-state--agenda::after { content: ""; position: absolute; z-index: -1; width: 270px; height: 270px; right: -105px; bottom: -145px; opacity: .1; background: linear-gradient(145deg,var(--amber),var(--burgundy)); border-radius: 90% 0 90% 0; transform: rotate(40deg); }
.agenda-empty__accent { position: relative; width: 88px; height: 48px; margin-bottom: 16px; }
.agenda-empty__accent::before { content: ""; position: absolute; right: 0; bottom: 7px; left: 0; height: 1px; background: linear-gradient(90deg,transparent,var(--copper),transparent); }
.agenda-empty__accent i { position: absolute; width: 13px; height: 22px; background: linear-gradient(145deg,#e8ad68,#9f413a); border-radius: 90% 0 90% 0; }
.agenda-empty__accent i:nth-child(1) { left: 17px; top: 8px; transform: rotate(-42deg); }
.agenda-empty__accent i:nth-child(2) { left: 39px; top: 0; transform: rotate(30deg) scale(.82); }
.agenda-empty__accent i:nth-child(3) { right: 14px; top: 13px; transform: rotate(104deg) scale(.68); }
.guestbook-note { overflow: hidden; }
.guestbook-note > .guestbook-note__quote { position: absolute; z-index: 0; top: 34px; left: 28px; width: auto; height: auto; display: block; margin: 0; padding: 0; color: #d89b70; background: transparent; border: 0; border-radius: 0; font-family: var(--serif); font-size: 5.7rem; font-weight: 400; letter-spacing: 0; line-height: .55; text-transform: none; white-space: normal; opacity: .28; transform: none; }
.guestbook-note > .guestbook-note__mine { position: absolute; z-index: 5; top: 14px; right: 15px; width: auto; min-width: 0; max-width: min(42%,150px); min-height: 25px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; margin: 0; padding: 5px 10px; color: #fff; background: linear-gradient(135deg,var(--wine),var(--burgundy-deep)); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; box-shadow: 0 7px 17px rgba(72,24,34,.18); font-family: var(--sans); font-size: .57rem; font-weight: 850; letter-spacing: .075em; line-height: 1.2; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; opacity: 1; transform: none; }
.application-invitation { width: min(860px,100%); grid-template-columns: minmax(0,1fr) auto; align-items: center; }
.application-invitation__copy { min-width: 0; display: grid; align-content: center; }
.application-invitation__copy h2 { max-width: 580px; font-size: clamp(2.25rem,4.3vw,4.45rem); }
.application-invitation__copy p:not(.eyebrow) { max-width: 560px; margin-bottom: 0; }
.application-invitation > .button { min-width: 205px; }
.application-invitation > small { grid-column: 2; justify-self: center; max-width: 220px; }
.application-modal { z-index: 12000; isolation: isolate; padding: max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)); overflow: hidden; }
.application-dialog__visual picture,.application-dialog__visual picture img { position: absolute; inset: 0; }
.application-dialog__deity { width: min(118%,290px); right: -34%; bottom: -7%; }
.application-dialog__monogram { width: 82px; height: 82px; top: 22px; left: 18px; }
.application-dialog__monogram strong { font-size: 1.7rem; }
.application-dialog__visual > p { right: 18px; bottom: 22px; left: 18px; font-size: 1rem; }
.application-dialog__close { width: 44px; height: 44px; }
.application-dialog__intro { font-size: .86rem; }
.application-dialog .form-step legend { padding-left: 50px; }
.application-dialog .form-step legend > span { width: 38px; height: 38px; }
.application-dialog .form-step legend > strong { font-size: clamp(1.55rem,2.8vw,2.15rem); }
.application-dialog .application-confirmation { min-height: 430px; padding: clamp(28px,6vw,64px); }
.application-dialog .application-confirmation h3 { font-size: clamp(2.1rem,4.5vw,3.8rem); }
@media (max-width: 900px) {
    .application-dialog { width: min(760px,calc(100vw - 20px)); max-height: calc(100dvh - 18px); grid-template-columns: 1fr; }
    .application-dialog__visual { height: 88px; min-height: 88px; }
    .application-dialog__visual picture img { object-position: center 43%; }
    .application-dialog__deity { width: 150px; right: -8px; bottom: -82px; }
    .application-dialog__monogram { width: 60px; height: 60px; top: 12px; left: 14px; }
    .application-dialog__monogram small { display: none; }
    .application-dialog__monogram strong { font-size: 1.5rem; }
    .application-dialog__visual > p,.application-dialog__visual-leaves { display: none; }
    .application-dialog__panel { max-height: calc(100dvh - 106px); }
}
@media (max-width: 700px) {
    .falling-leaves { display: block; }
    .falling-leaves i { opacity: .38; }
    .falling-leaves i:nth-child(n + 11) { display: none; }
    .error-scene { padding: max(12px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); }
    .error-scene__content { justify-items: center; padding: 30px 22px; border-radius: 20px 42px 20px 20px; text-align: center; }
    .error-scene__brand { margin-bottom: 22px; }
    .error-scene__brand img { width: 58px; height: 58px; }
    .error-scene .error-code { font-size: clamp(4.2rem,26vw,7rem); }
    .error-scene h1 { font-size: clamp(2.15rem,11vw,3.7rem); }
    .error-scene__content > p:not(.error-code):not(.eyebrow) { margin-bottom: 24px; }
    .application-invitation { grid-template-columns: 1fr; align-items: start; gap: 22px; padding: 28px 23px; border-radius: 13px 38px 13px 38px; }
    .application-invitation__copy h2 { font-size: clamp(2.1rem,11vw,3.45rem); }
    .application-invitation > .button { width: 100%; min-width: 0; }
    .application-invitation > small { grid-column: 1; justify-self: start; max-width: none; text-align: left; }
    .application-dialog { width: calc(100vw - 10px); max-height: calc(100dvh - 10px); grid-template-columns: 1fr; border-radius: 12px 26px 12px 26px; }
    .application-dialog__visual { display: none; }
    .application-dialog__panel { max-height: calc(100dvh - 10px); }
    .application-dialog__header { position: sticky; min-height: 76px; padding: 13px 15px 13px 18px; }
    .application-dialog__header .eyebrow { margin-bottom: 2px; font-size: .61rem; }
    .application-dialog__header h2 { font-size: 1.7rem; }
    .application-dialog__close { width: 42px; height: 42px; }
    .application-dialog__body { padding: 15px; }
    .application-dialog__intro { align-items: center; margin-bottom: 14px; padding: 10px 12px; }
    .application-dialog__intro > span { width: 26px; height: 26px; }
    .application-dialog .form-progress { margin: 0 0 15px; padding: 12px; border-radius: 11px 24px 11px 24px; }
    .application-dialog .form-progress__steps { overflow-x: auto; scrollbar-width: none; }
    .application-dialog .form-step legend { padding-left: 45px; }
    .application-dialog .form-step legend > span { width: 34px; height: 34px; }
    .application-dialog .form-step legend > strong { font-size: 1.55rem; }
    .application-dialog .form-grid { grid-template-columns: 1fr; }
    .application-dialog .form-navigation { display: grid; grid-template-columns: 1fr; gap: 9px; }
    .application-dialog .form-navigation .button { width: 100%; }
    .guestbook-note > .guestbook-note__mine { top: 12px; right: 12px; max-width: 45%; font-size: .53rem; }
    .horse-name { white-space: normal; text-align: left; }
}
@media (max-width: 390px) {
    .falling-leaves i:nth-child(n + 8) { display: none; }
    .guestbook-note > .guestbook-note__mine { max-width: 47%; padding-inline: 8px; letter-spacing: .055em; }
}
@media (prefers-reduced-motion: reduce) {
    .falling-leaves { display: none; }
}
.application-dialog .form-progress { padding: 15px 18px 13px; background: linear-gradient(135deg,#491621 0%,#6f2939 55%,#7d3544 100%); border: 1px solid rgba(255,255,255,.08); border-radius: 13px 30px 13px 30px; box-shadow: 0 15px 32px rgba(57,19,29,.14); }
.application-dialog .form-progress__bar { height: 3px; background: rgba(255,255,255,.15); }
.application-dialog .form-progress__bar i { background: linear-gradient(90deg,#e9a66d,#f3c696); box-shadow: 0 0 14px rgba(239,181,126,.45); }
.application-dialog .form-progress__steps { gap: 8px; margin-top: 9px; }
.application-dialog .form-progress__steps button { min-width: 0; min-height: 36px; padding: 5px 4px; color: rgba(255,255,255,.62); border-radius: 10px; font-size: .68rem; letter-spacing: .015em; transition: color .2s ease,background .2s ease,transform .2s ease; }
.application-dialog .form-progress__steps button span { color: #e8a268; font-size: .61rem; }
.application-dialog .form-progress__steps button.is-active { color: #fff; background: rgba(255,255,255,.08); }
.application-dialog .form-progress__steps button.is-complete { color: rgba(255,255,255,.82); }
.application-dialog .form-progress__steps button:not(:disabled):hover { color: #fff; background: rgba(255,255,255,.07); transform: translateY(-1px); }
@media (max-width:640px) {
    .application-dialog { width: calc(100vw - 18px); max-height: calc(100dvh - 18px); }
    .application-dialog__panel { max-height: calc(100dvh - 18px); }
    .application-dialog .form-progress { padding: 11px 12px 10px; }
    .application-dialog .form-progress__steps { gap: 5px; overflow-x: auto; scrollbar-width: none; }
    .application-dialog .form-progress__steps::-webkit-scrollbar { display: none; }
    .application-dialog .form-progress__steps button { flex: 0 0 132px; min-height: 34px; padding: 4px 5px; font-size: .64rem; }
    .application-dialog .form-progress__steps button span { font-size: .59rem; }
}
.deity-frame__leaf { position: absolute; z-index: 3; width: 58px; height: auto; overflow: visible; background: none; clip-path: none; opacity: .78; filter: drop-shadow(0 9px 12px rgba(80,35,30,.17)); }
.deity-frame__leaf-shape { fill: #b85f45; }
.deity-frame__leaf--one .deity-frame__leaf-shape { fill: #b75d42; }
.deity-frame__leaf--two .deity-frame__leaf-shape { fill: #d18b57; }
.deity-frame__leaf-vein { fill: none; stroke: rgba(255,239,216,.7); stroke-width: 1.7; stroke-linecap: round; }
.deity-frame__leaf--one { top: 11%; left: 5%; transform: rotate(-31deg); }
.deity-frame__leaf--two { right: 3%; bottom: 10%; transform: rotate(42deg) scale(.78); }
.process-timeline::before { top: 42px; right: 12%; left: 12%; }
.process-step { display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: auto auto; align-items: center; column-gap: 15px; row-gap: 4px; padding: clamp(22px,3vw,34px); border: 1px solid rgba(103,40,56,.11) !important; border-radius: 16px 36px 16px 36px; }
.process-step > span { position: absolute; }
.equipment-card { display: grid; }
.equipment-card:hover { transform: translateY(-3px); }
.equipment-card__body { align-items: start; }
.choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.choice-card { min-width: 0; align-items: center; gap: 10px; background: linear-gradient(145deg,#fff,#fbf4ed); border: 1px solid var(--line); border-radius: 12px 23px 12px 23px; cursor: pointer; transition: transform .2s var(--ease),border-color .2s,box-shadow .2s,background .2s; }
.choice-card:hover { transform: translateY(-2px); border-color: rgba(181,99,60,.42); box-shadow: 0 10px 22px rgba(80,35,30,.08); }
.choice-card:has(input:checked) { background: linear-gradient(145deg,#f9eadd,#fff); border-color: var(--copper); box-shadow: 0 10px 23px rgba(103,40,56,.1); }
.choice-card > span { font-size: .88rem; font-weight: 700; line-height: 1.35; }
@media (max-width: 1050px) {
    .equipment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
    .deity-frame__leaf { width: 45px; }
    .process-timeline { gap: 12px; }
    .process-step,.process-step:last-child { grid-template-columns: auto minmax(0,1fr); padding: 20px 18px; border: 1px solid rgba(103,40,56,.11) !important; border-radius: 14px 28px 14px 28px; }
    .process-step > i { width: 50px; height: 50px; }
    .process-step h3 { margin: 0; font-size: 2rem; }
    .process-step p { margin-top: 4px; font-size: .88rem; }
    .equipment-grid { grid-template-columns: 1fr; }
    .equipment-card { min-height: 0; padding: 15px; }
    .choice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
    .process-step { grid-template-columns: 44px minmax(0,1fr); column-gap: 12px; }
    .process-step > i { width: 44px; height: 44px; }
    .process-step h3 { font-size: 1.75rem; }
    .equipment-card { grid-template-columns: 34px minmax(0,1fr); gap: 10px; }
    .equipment-card__index { width: 34px; height: 34px; }
}
.process-timeline { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: clamp(12px,1.8vw,24px); }
.process-step,
.process-step:last-child { min-height: 190px; display: grid; grid-template-columns: 58px minmax(0,1fr); grid-template-rows: auto auto; align-content: center; align-items: center; column-gap: 17px; row-gap: 7px; padding: 28px 24px; overflow: hidden; border: 1px solid rgba(103,40,56,.12) !important; border-radius: 18px 42px 18px 42px; box-shadow: 0 18px 45px rgba(68,32,28,.075); }
.process-step > span { color: rgba(181,99,60,.78); }
@media (max-width: 1180px) {
    .equipment-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 820px) {
    .process-timeline { grid-template-columns: 1fr; gap: 11px; }
    .process-step,
    .process-step:last-child { min-height: 0; grid-template-columns: 52px minmax(0,1fr); padding: 20px 19px; border: 1px solid rgba(103,40,56,.12) !important; border-radius: 15px 31px 15px 31px; }
    .process-step > i { width: 52px; height: 52px; }
    .process-step h3 { font-size: clamp(1.8rem,7vw,2.45rem); }
    .process-step p { max-width: none; font-size: .86rem; }
    .equipment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
    .process-step,
    .process-step:last-child { grid-template-columns: 46px minmax(0,1fr); column-gap: 13px; padding: 18px 16px; }
    .process-step > i { width: 46px; height: 46px; border-radius: 13px 21px 13px 21px; }
    .process-step > i .icon { width: 20px; }
    .process-step h3 { font-size: 1.75rem; }
    .process-step p { font-size: .82rem; line-height: 1.44; }
    .equipment-grid { grid-template-columns: 1fr; }
    .equipment-card { padding: 14px 15px; }
}
.choice-field { min-width: 0; margin: 0; padding: 16px; background: linear-gradient(145deg,rgba(255,255,255,.92),rgba(251,243,235,.86)); border: 1px solid var(--line); border-radius: 14px 28px 14px 28px; }
.choice-field legend { max-width: calc(100% - 20px); padding: 0 7px; color: var(--burgundy-deep); font-family: var(--serif); font-size: 1.14rem; font-weight: 600; line-height: 1.25; }
.choice-field legend em { color: var(--copper); font-style: normal; }
.choice-field > p { margin: 0 0 11px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
@media (max-width: 560px) {
    .choice-field { padding: 13px; border-radius: 12px 23px 12px 23px; }
    .choice-field legend { font-size: 1.02rem; }
}
body { font-family: var(--sans); font-weight: var(--body-weight, 400); letter-spacing: var(--body-tracking, 0); line-height: var(--body-line-height, 1.65); }
p, li, dd, dt, label, input, textarea, select, button, a, small, time, table, .rich-content, .status-badge, .tag, .text-link { font-family: var(--sans); }
h1, h2, h3, h4, blockquote, .display-title, .brand strong, .guestbook-note > p, .closed-card h2, .application-dialog__header h2 { font-family: var(--serif); letter-spacing: var(--display-tracking, -.025em); }
button, .button, .desktop-nav a, .eyebrow, .tag, .status-badge, .text-link, .site-footer__nav > p, .site-footer__socials > p { letter-spacing: var(--ui-tracking, .06em); }
.typography-cormorant body, .typography-cormorant p, .typography-cormorant li, .typography-cormorant label, .typography-cormorant input, .typography-cormorant textarea, .typography-cormorant select, .typography-cormorant button, .typography-cormorant a, .typography-cormorant small { font-family: var(--sans); }
.typography-lora body, .typography-lora p, .typography-lora li, .typography-lora label, .typography-lora input, .typography-lora textarea, .typography-lora select, .typography-lora button, .typography-lora a, .typography-lora small { font-family: var(--sans); }
.typography-fraunces body, .typography-fraunces p, .typography-fraunces li, .typography-fraunces label, .typography-fraunces input, .typography-fraunces textarea, .typography-fraunces select, .typography-fraunces button, .typography-fraunces a, .typography-fraunces small { font-family: var(--sans); }
.typography-playfair body, .typography-playfair p, .typography-playfair li, .typography-playfair label, .typography-playfair input, .typography-playfair textarea, .typography-playfair select, .typography-playfair button, .typography-playfair a, .typography-playfair small { font-family: var(--sans); }
.page-home main > .section + .section { border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent); }
.page-home .social-section { color: #fff; background: radial-gradient(circle at 18% 18%,rgba(222,151,87,.22),transparent 30%),radial-gradient(circle at 84% 80%,rgba(180,91,65,.2),transparent 34%),linear-gradient(135deg,#34101a,#682739 62%,#42131f); }
.page-home .social-section + .guestbook-preview { background: var(--ivory); }
.page-home .recruitment-ribbon { color: #fff; background: var(--burgundy-deep); }
.theme-orb { position: relative; width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 46px; overflow: hidden; color: currentColor; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.36); border-radius: 50%; box-shadow: 0 8px 22px rgba(38,17,18,.08); transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.site-header.is-scrolled .theme-orb { background: rgba(255,255,255,.78); border-color: var(--line); }
.theme-orb:hover { transform: translateY(-2px) rotate(-4deg); }
.theme-orb .icon { width: 20px; height: 20px; }
.theme-orb__sun, .theme-orb__moon { position: absolute; display: grid; place-items: center; transition: opacity .3s, transform .35s var(--ease); }
.theme-orb__sun { opacity: 1; transform: scale(1) rotate(0); }
.theme-orb__moon { opacity: 0; transform: scale(.55) rotate(-35deg); }
html[data-theme="dark"] .theme-orb__sun { opacity: 0; transform: scale(.55) rotate(35deg); }
html[data-theme="dark"] .theme-orb__moon { opacity: 1; transform: scale(1) rotate(0); }
.theme-orb--floating { position: fixed; z-index: 1800; top: max(18px,env(safe-area-inset-top)); right: max(18px,env(safe-area-inset-right)); color: #fff; background: rgba(67,25,35,.72); border-color: rgba(255,255,255,.3); backdrop-filter: blur(16px); }
.social-icon--brand { width: 25px; height: 25px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 4px 8px rgba(30,18,45,.14)); }
.social-showcase-card--jorvik_connect .social-showcase-card__icon { background: linear-gradient(145deg,#272154,#51458f); }
.social-showcase-card--jorvik_connect .social-icon--brand { width: 32px; height: 32px; }
.social-links .social-icon--brand { width: 23px; height: 23px; }
.external-link-modal { position: fixed; z-index: 2500; inset: 0; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.external-link-modal.is-open { opacity: 1; visibility: visible; }
.external-link-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(31,12,18,.7); backdrop-filter: blur(12px); }
.external-link-dialog { position: relative; width: min(520px,100%); overflow: hidden; padding: clamp(30px,6vw,52px); color: var(--brown); background: linear-gradient(145deg,#fffdf9,#f5e7dc); border: 1px solid rgba(255,255,255,.75); border-radius: 22px 56px 22px 56px; box-shadow: 0 50px 140px rgba(20,6,11,.4); transform: translateY(18px) scale(.97); transition: transform .4s var(--ease); outline: 0; }
.external-link-modal.is-open .external-link-dialog { transform: none; }
.external-link-dialog__halo { position: absolute; width: 330px; height: 330px; top: -210px; right: -140px; background: radial-gradient(circle,rgba(210,139,88,.35),transparent 68%); }
.external-link-dialog__icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; background: linear-gradient(145deg,var(--copper),var(--burgundy)); border-radius: 16px 28px 16px 28px; box-shadow: 0 18px 35px rgba(103,40,56,.2); }
.external-link-dialog__icon .icon { width: 24px; }
.external-link-dialog__close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--burgundy); background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 50%; }
.external-link-dialog h2 { margin: 0 0 15px; color: var(--burgundy-deep); font-size: clamp(2.1rem,6vw,3.6rem); font-weight: 500; line-height: .96; }
.external-link-dialog > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.external-link-dialog__destination { min-width: 0; display: flex; align-items: center; gap: 11px; margin: 24px 0; padding: 14px 16px; color: var(--burgundy); background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 12px 24px 12px 24px; }
.external-link-dialog__destination strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.external-link-dialog__destination .icon { width: 19px; }
.external-link-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; }
.chronicles-tabs { isolation: isolate; overflow: hidden; }
.chronicles-tabs::before { content: ""; position: absolute; z-index: -1; top: 7px; bottom: 7px; left: 7px; width: calc((100% - 21px) / 2); background: linear-gradient(135deg,var(--burgundy),var(--wine)); border-radius: 999px; box-shadow: 0 10px 25px rgba(103,40,56,.23); transition: transform .48s var(--ease); }
[data-tabs][data-active-tab="guestbook"] .chronicles-tabs::before { transform: translateX(calc(100% + 7px)); }
.chronicles-tabs a, .chronicles-tabs a[aria-selected="true"] { position: relative; z-index: 1; background: transparent; box-shadow: none; transform: none; }
[data-tabs][data-active-tab="journal"] .chronicles-tabs a[data-tab="journal"], [data-tabs][data-active-tab="guestbook"] .chronicles-tabs a[data-tab="guestbook"] { color: #fff; }
[data-tabs][data-active-tab="journal"] .chronicles-tabs a[data-tab="journal"] > span, [data-tabs][data-active-tab="guestbook"] .chronicles-tabs a[data-tab="guestbook"] > span { color: #efbd8f; }
.chronicles-space.is-switching { overflow: clip; }
.recruitment-conditions { background: var(--ivory); }
.recruitment-editorial__image { min-height: 0; aspect-ratio: 16 / 11; overflow: visible; }
.recruitment-editorial__image picture { position: absolute; inset: 0; overflow: hidden; border-radius: 18px 72px 18px 72px; }
.recruitment-editorial__image img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 48%; border-radius: inherit; }
.recruitment-editorial__image::after { inset: 13px; }
.recruitment-conditions { margin-top: 0; }
.application-section { margin-top: -1px; }
.application-dialog__visual picture img { object-fit: cover; object-position: center 46%; }
.application-dialog__visual { overflow: hidden; }
.password-wrap--text-toggle { display: block; }
@media (max-width: 700px) {
    .section { padding-block: clamp(40px,11vw,62px); }
    .section-heading { margin-bottom: 28px; }
    .header-actions { gap: 8px; }
    .theme-orb { width: 42px; height: 42px; flex-basis: 42px; }
    .external-link-dialog { padding: 28px 21px 23px; border-radius: 17px 38px 17px 38px; }
    .external-link-dialog__actions { display: grid; grid-template-columns: 1fr; }
    .external-link-dialog__actions .button { width: 100%; }
    .chronicles-tabs::before { width: calc((100% - 21px) / 2); }
    .recruitment-editorial__image { aspect-ratio: 4 / 3; min-height: 0; }
    .recruitment-editorial__image picture { border-radius: 14px 52px 14px 52px; }
    .recruitment-editorial__image span { right: 10px; bottom: 13px; }
}
@media (max-width: 410px) {
    .theme-orb { width: 40px; height: 40px; flex-basis: 40px; }
    .external-link-modal { padding: 10px; }
    .external-link-dialog h2 { font-size: 2rem; }
}
html[data-theme="dark"] { color-scheme: dark; --ivory: #171114; --cream: #21171b; --cream-deep: #2c1d23; --paper: #21181b; --rose: #8f655f; --blush: #3c252c; --copper: #d18b5f; --copper-light: #e2a171; --amber: #d8a45c; --burgundy: #a74e63; --burgundy-deep: #f0d7d4; --wine: #8b3f53; --brown: #f1e7df; --muted: #c0ada6; --line: rgba(244,222,212,.15); --shadow-sm: 0 12px 32px rgba(0,0,0,.22); --shadow: 0 28px 80px rgba(0,0,0,.34); }
html[data-theme="dark"] body { color: var(--brown); background: var(--ivory); }
html[data-theme="dark"] .site-header.is-scrolled { color: #f7ece6; background: rgba(24,16,20,.9); box-shadow: 0 10px 35px rgba(0,0,0,.25); }
html[data-theme="dark"] .site-header.is-scrolled .theme-orb, html[data-theme="dark"] .site-header.is-scrolled .language-orb { color: #f6ebe4; background: rgba(58,39,46,.82); border-color: var(--line); }
html[data-theme="dark"] .section:not(.social-section):not(.recruitment-ribbon):not(.application-section), html[data-theme="dark"] .chronicles-space, html[data-theme="dark"] .information-space { background-color: var(--ivory); }
html[data-theme="dark"] .section--intro, html[data-theme="dark"] .deity-section, html[data-theme="dark"] .chronicles-preview, html[data-theme="dark"] .event-preview, html[data-theme="dark"] .guestbook-preview, html[data-theme="dark"] .recruitment-conditions, html[data-theme="dark"] .recruitment-process, html[data-theme="dark"] .equipment-section { background: var(--ivory); }
html[data-theme="dark"] .journal-feature, html[data-theme="dark"] .guestbook-form-card, html[data-theme="dark"] .process-step, html[data-theme="dark"] .equipment-card, html[data-theme="dark"] .info-card, html[data-theme="dark"] .event-card, html[data-theme="dark"] .week-card, html[data-theme="dark"] .application-dialog, html[data-theme="dark"] .language-dialog { color: var(--brown); background: linear-gradient(145deg,#24191d,#1c1417); border-color: var(--line); }
html[data-theme="dark"] .guestbook-note, html[data-theme="dark"] .guestbook-note.is-owned { background: linear-gradient(145deg,#2a1d21,#21171b); border-color: rgba(209,139,95,.25); }
html[data-theme="dark"] .guestbook-note > p { color: #f3dfdb; }
html[data-theme="dark"] .guestbook-note::before { border-color: rgba(209,139,95,.17); }
html[data-theme="dark"] input, html[data-theme="dark"] textarea, html[data-theme="dark"] select, html[data-theme="dark"] .choice-card, html[data-theme="dark"] .choice-field { color: var(--brown); background: #1b1417; border-color: var(--line); }
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder { color: #8f7c78; }
html[data-theme="dark"] .button--cream { color: #2e1a20; background: #f4e8df; }
html[data-theme="dark"] .button--outline { color: #f1d8d5; border-color: rgba(241,216,213,.35); }
html[data-theme="dark"] .chronicles-tabs { background: rgba(29,20,24,.94); border-color: var(--line); }
html[data-theme="dark"] .chronicles-tabs a { color: #c4b0aa; }
html[data-theme="dark"] .external-link-dialog { color: var(--brown); background: linear-gradient(145deg,#271a1f,#181114); border-color: var(--line); }
html[data-theme="dark"] .external-link-dialog__destination, html[data-theme="dark"] .external-link-dialog__close { background: rgba(255,255,255,.06); border-color: var(--line); }
html[data-theme="dark"] .site-footer { border-top-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .language-modal__backdrop { background: rgba(5,2,3,.78); }
html[data-theme="dark"] .error-page { background: #110b0e; }
html[data-theme="dark"] .error-card { background: rgba(31,20,24,.89); border-color: rgba(255,255,255,.14); }
@media (prefers-reduced-motion: reduce) {
    .chronicles-tabs::before, .theme-orb__sun, .theme-orb__moon, .external-link-dialog { transition-duration: .01ms !important; }
}
.external-link-dialog__progress { position: relative; height: 11px; margin: 20px 0 6px; overflow: visible; background: rgba(103,40,56,.1); border: 1px solid rgba(103,40,56,.12); border-radius: 999px; box-shadow: inset 0 2px 5px rgba(62,28,28,.06); }
.external-link-dialog__progress > span { position: absolute; inset: -1px; overflow: visible; background: linear-gradient(90deg,var(--copper-light),var(--copper) 50%,var(--burgundy)); border-radius: inherit; box-shadow: 0 5px 16px rgba(181,99,60,.2); transform: scaleX(1); transform-origin: left center; transition: transform .12s linear; }
.external-link-dialog__progress > span::after { content: ""; position: absolute; width: 14px; height: 21px; right: -4px; top: 50%; background: linear-gradient(145deg,#eab578,#9d3f42); border-radius: 92% 3% 90% 5%; box-shadow: 0 5px 12px rgba(75,31,32,.18); transform: translateY(-50%) rotate(38deg); }
.site-footer .social-links a .social-icon--brand { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; object-position: center; filter: none; transform: none; }
html[data-theme="dark"] .deity-section { background: linear-gradient(145deg,#21171b,#171114 58%); }
html[data-theme="dark"] .empty-state { background: rgba(38,27,31,.72); border-color: var(--line); }
html[data-theme="dark"] .empty-state--soft { background: linear-gradient(145deg,#24191d,#1b1417); }
html[data-theme="dark"] .status-badge--open { color: #bfe2ca; background: rgba(58,126,84,.25); border: 1px solid rgba(119,190,143,.22); }
html[data-theme="dark"] .status-badge--closed { color: #f0c9cd; background: rgba(143,58,72,.24); border: 1px solid rgba(203,107,121,.2); }
html[data-theme="dark"] .form-alert { color: #f1cbc8; background: rgba(133,47,56,.28); border-color: rgba(215,117,122,.28); }
html[data-theme="dark"] .horse-name { color: #f0d7d4; background: rgba(49,34,40,.86); border-color: var(--line); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
html[data-theme="dark"] .horse-art__detail { background: #24191d; border-color: var(--line); }
html[data-theme="dark"] .equipment-card__index { color: #e1a06f; background: #35232a; }
html[data-theme="dark"] .equipment-card .prices > span { color: #4a2930; background: #f3e5dc; border-color: rgba(71,37,43,.14); box-shadow: 0 5px 13px rgba(0,0,0,.12); }
html[data-theme="dark"] .equipment-card .prices > span strong { color: #4a2930; }
html[data-theme="dark"] .form-progress { background: #2b1d22; border-color: var(--line); }
html[data-theme="dark"] .language-option, html[data-theme="dark"] .language-choice { color: var(--brown); background: #24191d; border-color: var(--line); }
html[data-theme="dark"] .language-choice:hover, html[data-theme="dark"] .language-choice:focus-visible { background: #2d1e24; border-color: rgba(209,139,95,.48); }
html[data-theme="dark"] .guestbook-intro__quill, html[data-theme="dark"] .process-step > i, html[data-theme="dark"] .application-dialog__intro > span { color: var(--copper); background: #2a1c21; border-color: var(--line); }
html[data-theme="dark"] .recruitment-conditions__text li { color: var(--brown); background: #21181b; border-color: var(--line); }
html[data-theme="dark"] .process-step { box-shadow: 0 20px 55px rgba(0,0,0,.2); }
html[data-theme="dark"] .application-dialog__header { background: rgba(29,20,24,.94); border-color: var(--line); }
html[data-theme="dark"] .application-dialog__close { color: #f0d7d4; background: #2b1e23; border-color: var(--line); }
html[data-theme="dark"] .application-dialog__intro { color: #d4c0b8; background: #2b1d22; border-color: rgba(209,139,95,.18); }
html[data-theme="dark"] .choice-card:has(input:checked) { color: #f2d8d4; background: linear-gradient(145deg,#38242b,#2a1c21); border-color: var(--copper); box-shadow: 0 10px 23px rgba(0,0,0,.2); }
html[data-theme="dark"] .social-section .social-links a { color: #f2e4dd; background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.13); }
html[data-theme="dark"] .social-section .social-links a:hover { background: rgba(255,255,255,.12); }
html[data-theme="dark"] .social-section .social-placeholder { color: #d1bdb5; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .external-link-dialog__progress { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); box-shadow: inset 0 2px 5px rgba(0,0,0,.18); }
html[data-theme="dark"] .site-footer { color: rgba(255,255,255,.75); background: radial-gradient(circle at 86% 8%,rgba(212,142,83,.18),transparent 28%),linear-gradient(145deg,#35121c,#4d1826 58%,#2c0d16); }
html[data-theme="dark"] .site-footer__brand h2 { color: #fff; }
html[data-theme="dark"] .site-footer__nav p, html[data-theme="dark"] .site-footer__socials > p, html[data-theme="dark"] .site-footer__bottom button { color: #efbd8f; }
@media (max-width: 410px) {
    .external-link-dialog__progress { height: 10px; margin-top: 17px; }
    .external-link-dialog__progress > span::after { width: 12px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .external-link-dialog__progress > span { transition: none !important; }
}
html[data-theme="dark"] .page-chronicles .chronicles-space { background: var(--ivory); }
html[data-theme="dark"] .page-chronicles .chronicles-space::before { display: none; }
html[data-theme="dark"] .page-chronicles .journal-feature,
html[data-theme="dark"] .page-chronicles .guestbook-form-card { background: #21171b; }
html[data-theme="dark"] .page-chronicles .guestbook-note,
html[data-theme="dark"] .page-chronicles .guestbook-note.is-owned { background: #24191d; }
html[data-theme="dark"] .desktop-nav,
html[data-theme="dark"] .site-header.is-scrolled .desktop-nav { background: rgba(30,18,23,.82); border-color: rgba(244,222,212,.16); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
html[data-theme="dark"] .desktop-nav a { color: #e7d7d1; }
html[data-theme="dark"] .desktop-nav a:hover,
html[data-theme="dark"] .site-header.is-scrolled .desktop-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
html[data-theme="dark"] .desktop-nav a[aria-current="page"],
html[data-theme="dark"] .site-header.is-scrolled .desktop-nav a[aria-current="page"] { color: #35141d; background: linear-gradient(135deg,#f1c597,#d99a71); box-shadow: 0 8px 22px rgba(0,0,0,.24); }
html[data-theme="dark"] .desktop-nav a[aria-current="page"] i { color: #35141d; }
.site-footer .social-links a .social-icon--footer-jorvik { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; object-position: center; filter: none; transform: none; }
.external-link-dialog__blocked { margin: 10px 0 0; padding: 10px 13px; color: #7c4937; background: rgba(210,139,95,.11); border: 1px solid rgba(181,99,60,.18); border-radius: 12px; font-size: .76rem; line-height: 1.45; }
html[data-theme="dark"] .external-link-dialog__blocked { color: #efc6ad; background: rgba(209,139,95,.1); border-color: rgba(209,139,95,.2); }
html[data-theme="dark"] .page-chronicles .chronicles-tabs a > span { padding: 0; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.page-home main > .section + .section,
.page-information main > .section + .section,
.page-chronicles main > .section + .section,
.page-recruitment main > .section + .section { border-top: 1px solid transparent; border-image: linear-gradient(90deg,transparent 4%,rgba(181,99,60,.08) 20%,rgba(181,99,60,.27) 50%,rgba(181,99,60,.08) 80%,transparent 96%) 1; }
html[data-theme="dark"] .page-home main > .section + .section,
html[data-theme="dark"] .page-information main > .section + .section,
html[data-theme="dark"] .page-chronicles main > .section + .section,
html[data-theme="dark"] .page-recruitment main > .section + .section { border-image: linear-gradient(90deg,transparent 4%,rgba(226,161,113,.05) 20%,rgba(226,161,113,.2) 50%,rgba(226,161,113,.05) 80%,transparent 96%) 1; }
.page-hero__edge { bottom: 0; }
.page-home .page-hero__edge,
.page-chronicles .page-hero__edge { background: #fbf7f0; }
.page-information .page-hero__edge { background: #f7eee5; }
html[data-theme="dark"] .page-home .page-hero__edge,
html[data-theme="dark"] .page-chronicles .page-hero__edge { background: #171114; }
html[data-theme="dark"] .page-information .page-hero__edge { background: #20171a; }
.page-information .horse-section { background: linear-gradient(180deg,#f7eee5 0 90px,rgba(247,238,229,.82) 122px,transparent 180px),linear-gradient(150deg,#f7eee5,#fffdf9 55%); }
html[data-theme="dark"] .page-information .horse-section { background: linear-gradient(180deg,#20171a 0 90px,rgba(32,23,26,.84) 122px,transparent 180px),linear-gradient(150deg,#20171a,#171114 55%); }
@media (max-width: 700px) {
    .page-home .event-preview { background: #f2e7dc; }
    .page-home .event-preview__copy { color: var(--brown); }
    .page-home .event-preview__copy .eyebrow { color: var(--copper); }
    .page-home .event-preview__copy > p { color: var(--muted); }
    .page-home .event-preview__copy .text-link { color: var(--burgundy); }
    html[data-theme="dark"] .page-home .event-preview { background: #1c1417; }
    html[data-theme="dark"] .page-home .event-preview__copy { color: var(--brown); }
    html[data-theme="dark"] .page-home .event-preview__copy .eyebrow { color: var(--copper-light); }
    html[data-theme="dark"] .page-home .event-preview__copy > p { color: var(--muted); }
    html[data-theme="dark"] .page-home .event-preview__copy .text-link { color: #efbd8f; }
}
.page-recruitment .page-hero__edge { bottom: 0; height: 72px; background: var(--ivory); }
html[data-theme="dark"] .page-recruitment .page-hero__edge { background: var(--ivory); }
.journal-feature > div:last-child { padding: clamp(28px,4vw,54px); }
.guestbook-form-card { padding: clamp(25px,3vw,38px); }
.practical-card { min-height: 270px; padding: clamp(28px,3.8vw,46px); }
.closed-card { gap: clamp(28px,4vw,48px); padding: clamp(28px,4vw,50px); }
.application-confirmation { padding: clamp(35px,5vw,68px); }
.application-invitation { gap: clamp(22px,3vw,32px); padding: clamp(28px,3.7vw,45px); }
.form-step { padding: clamp(26px,4vw,48px); }
.event-preview { background: #f2e7dc; }
.event-preview__inner { gap: clamp(30px,5vw,70px); }
.event-preview__copy { color: var(--brown); }
.event-preview__copy .eyebrow { color: var(--copper); }
.event-preview__copy > p { color: var(--muted); }
.event-preview__copy .text-link { color: var(--burgundy); }
html[data-theme="dark"] .event-preview { background: #1c1417; }
html[data-theme="dark"] .event-preview__copy { color: var(--brown); }
html[data-theme="dark"] .event-preview__copy .eyebrow { color: var(--copper-light); }
html[data-theme="dark"] .event-preview__copy > p { color: var(--muted); }
html[data-theme="dark"] .event-preview__copy .text-link { color: #efbd8f; }
.site-footer .social-links a { border-radius: 11px 18px 11px 18px; }
@media (max-width: 760px) {
    .section { padding-block: 52px; }
    .section--intro { padding-top: 60px; }
    .section-heading { margin-bottom: 28px; }
    .event-preview__image { width: 100%; min-width: 0; min-height: 0; }
    .event-preview__image img { width: 100%; max-width: 100%; height: clamp(280px,74vw,390px); min-height: 0; object-fit: cover; object-position: center; }
    .event-preview__stamp { right: 10px; bottom: 18px; }
    .event-preview__copy { padding: 18px 0 8px; }
    .site-footer { padding: 36px 0 16px; }
    .site-footer__grid { gap: 22px; padding-bottom: 24px; }
    .site-footer__brand { gap: 14px; }
    .site-footer__logo { width: 58px; height: 58px; min-width: 58px; flex-basis: 58px; }
    .site-footer__brand h2 { font-size: 1.55rem; }
    .site-footer__brand p:last-child { font-size: .72rem; }
    .site-footer__nav a { min-height: 30px; }
    .site-footer .social-links a { min-height: 42px; }
    .site-footer__bottom { gap: 11px; padding-top: 12px; }
}
.editorial-intro { gap: clamp(24px,3.8vw,52px); }
.deity-composition { gap: clamp(34px,5.5vw,82px); }
.schedule-day { min-height: 150px; padding-bottom: 13px; }
.event-row { gap: clamp(20px,3vw,38px); }
.recruitment-editorial { gap: clamp(30px,5vw,72px); }
.process-step { min-height: 225px; padding-block: 24px; }
.application-heading { margin-bottom: 34px; }
.form-progress { padding: 19px clamp(20px,3.5vw,38px); }
@media (max-width: 760px) {
    .page-hero__content { padding-top: calc(var(--header) + 44px); padding-bottom: 82px; }
    .deity-composition, .guestbook-layout, .horse-composition, .recruitment-editorial { gap: 28px; }
    .chronicles-space { padding-top: 40px; }
    .chronicles-tabs { margin-bottom: 42px; }
    .equipment-card { min-height: 0; }
    .process-step { min-height: 0; padding-block: 21px; }
}
@media (max-width: 760px) {
    .site-footer__brand { display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; }
    .site-footer__brand > div { min-width: 0; }
    .site-footer__brand p:last-child { grid-column: 1 / -1; margin: 6px 0 0; }
    .site-footer__nav { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 18px; }
    .site-footer__nav > p { grid-column: 1 / -1; }
    .site-footer__socials .social-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .site-footer .social-links a { min-width: 0; gap: 8px; font-size: .72rem; }
    .site-footer__bottom { font-size: .66rem; line-height: 1.45; }
}
@media (max-width: 380px) {
    .site-footer__socials .social-links { grid-template-columns: 1fr; }
}
:root { --surface-main: #fbf7f0; --surface-soft: #f5ede4; --surface-paper: #fffdf9; --surface-card: rgba(255,253,249,.9); --surface-line: rgba(103,40,56,.12); }
html[data-theme="dark"] { --surface-main: #151013; --surface-soft: #1b1417; --surface-paper: #21181c; --surface-card: rgba(35,25,29,.92); --surface-line: rgba(239,211,203,.11); }
.section { padding-block: clamp(42px,4.4vw,68px); }
.section--intro { padding-top: clamp(48px,5.1vw,76px); }
.section-heading { gap: clamp(16px,2.4vw,28px); margin-bottom: clamp(20px,2.5vw,33px); }
.deity-section { padding-block: clamp(44px,4.7vw,70px); }
.page-hero__content { padding-top: calc(var(--header) + 50px); padding-bottom: clamp(66px,6.4vw,92px); }
.editorial-intro, .deity-composition, .horse-composition, .recruitment-editorial { gap: clamp(22px,3.2vw,44px); }
.chronicles-space { padding-top: 36px; }
.chronicles-tabs { margin-bottom: clamp(30px,3.5vw,46px); }
.guestbook-preview { padding-block: clamp(36px,3.8vw,56px); }
.guestbook-preview .section-heading { margin-bottom: clamp(18px,2.1vw,28px); }
.guestbook-mini-grid, .guestbook-grid { gap: clamp(13px,1.8vw,20px); }
.guestbook-note { min-height: 164px; padding: 19px; }
.guestbook-note > p { margin: 8px 0 17px; }
.guestbook-layout { gap: clamp(22px,3vw,38px); }
.empty-state { padding: clamp(22px,3vw,38px); }
.recruitment-conditions { padding-top: clamp(46px,4.8vw,70px); }
.event-row { padding: 18px 0; }
.site-footer { padding: clamp(25px,3vw,40px) 0 10px; }
.site-footer__grid { gap: clamp(16px,2.1vw,26px); padding-bottom: clamp(14px,1.8vw,23px); }
.site-footer__brand { gap: 12px; }
.site-footer__logo { width: 58px; height: 58px; min-width: 58px; flex-basis: 58px; }
.site-footer__brand h2 { font-size: clamp(1.35rem,1.8vw,1.85rem); }
.site-footer__brand p:last-child { margin-top: 5px; font-size: .7rem; line-height: 1.4; }
.site-footer__nav p, .site-footer__socials > p { margin-bottom: 5px; }
.site-footer__nav { gap: 2px; }
.site-footer__nav a { min-height: 27px; }
.site-footer .social-links { gap: 4px; }
.site-footer .social-links a { min-height: 36px; padding: 5px 8px; font-size: .7rem; }
.site-footer__bottom { gap: 18px; padding-top: 8px; font-size: .66rem; }
.site-footer__bottom button { width: 32px; height: 32px; flex-basis: 32px; }
.language-page { min-height: 100dvh; width: 100%; overflow: hidden; }
.language-page .language-modal { padding: max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); overflow: hidden; }
.language-dialog { width: min(720px,calc(100vw - 24px)); max-width: 100%; max-height: calc(100dvh - 24px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px,4.2vw,48px); scrollbar-width: thin; }
.language-dialog__shimmer { max-width: 70vw; }
.language-dialog__brand { gap: 13px; margin-bottom: clamp(18px,3vh,28px); }
.language-dialog__brand img { width: clamp(58px,8vh,72px); height: clamp(58px,8vh,72px); }
.language-dialog h2 { font-size: clamp(2.05rem,min(5.5vw,6.6vh),4.15rem); }
.language-dialog__intro { margin: clamp(14px,2.5vh,22px) 0 clamp(17px,3vh,27px); }
.language-dialog__options { gap: 12px; }
.language-choice { min-height: 82px; padding: 14px 15px; }
.language-choice .flag { width: 49px; height: 34px; }
.language-dialog__note { margin-top: clamp(14px,2.4vh,20px); }
@media (max-height: 690px) and (min-width: 640px) {
    .language-dialog { padding: 22px 34px; }
    .language-dialog__brand { margin-bottom: 14px; }
    .language-dialog__brand img { width: 52px; height: 52px; }
    .language-dialog h2 { font-size: clamp(2rem,5.6vh,3rem); }
    .language-dialog__intro { margin: 11px 0 14px; font-size: .88rem; }
    .language-choice { min-height: 70px; padding: 11px 13px; }
    .language-dialog__note { margin-top: 11px; }
}
@media (max-width: 620px) {
    .language-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 24px 19px; border-radius: 30px 12px 30px 12px; }
    .language-dialog::before { inset: 8px; border-radius: 24px 9px 24px 9px; }
    .language-dialog__options { grid-template-columns: 1fr; }
    .language-dialog__brand { margin-bottom: 17px; }
    .language-dialog h2 { font-size: clamp(2.15rem,12vw,3.35rem); }
    .language-choice { min-height: 72px; }
}
@media (max-width: 390px) {
    .language-dialog { padding: 20px 16px; }
    .language-dialog__brand img { width: 50px; height: 50px; }
    .language-dialog__brand span { font-size: 1.15rem; }
    .language-choice { grid-template-columns: 42px minmax(0,1fr) auto; gap: 10px; padding: 11px; }
    .language-choice .flag { width: 42px; height: 30px; }
}
.horse-section { background: var(--surface-soft); }
.horse-composition { grid-template-columns: minmax(0,.88fr) minmax(320px,1fr); align-items: center; gap: clamp(28px,4.4vw,62px); }
.horse-copy { position: relative; z-index: 2; }
.horse-copy > p:not(.eyebrow):not(.horse-name) { max-width: 590px; }
.horse-location-card { width: min(360px,92%); display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: 12px; margin: 24px 0 0 clamp(12px,5vw,68px); padding: 13px 15px; background: color-mix(in srgb,var(--surface-paper) 88%,transparent); border: 1px solid var(--surface-line); border-radius: 14px 28px 14px 28px; box-shadow: var(--shadow-sm); backdrop-filter: blur(13px); }
.horse-location-card__icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--copper); background: rgba(181,99,60,.1); border-radius: 12px 20px 12px 20px; }
.horse-location-card__icon .icon { width: 19px; }
.horse-location-card .eyebrow { margin: 0 0 2px; font-size: .58rem; }
.horse-location-card strong { display: block; color: var(--burgundy-deep); font-family: var(--serif); font-size: 1.08rem; line-height: 1.1; }
.horse-location-card small { display: block; margin-top: 4px; color: var(--muted); font-size: .7rem; }
.horse-art--clean { min-height: 430px; display: grid; place-items: center; overflow: visible; }
.horse-art--clean::before { width: 74%; opacity: .55; }
.horse-art--clean picture { width: min(100%,520px); display: grid; place-items: center; }
.horse-art--clean img { width: 100%; max-height: 570px; object-fit: contain; object-position: center; filter: drop-shadow(0 28px 38px rgba(60,26,25,.2)); }
html[data-theme="dark"] .horse-section { background: var(--surface-soft); }
html[data-theme="dark"] .horse-location-card { background: rgba(34,24,28,.88); border-color: var(--surface-line); }
html[data-theme="dark"] .horse-location-card strong { color: #f2dcda; }
.equipment-section { padding-block: clamp(34px,3.6vw,52px); background: var(--surface-main); }
.equipment-section--rider { background: var(--surface-soft); }
.equipment-heading { margin-bottom: clamp(17px,2vw,25px); }
.equipment-heading .display-title { font-size: clamp(2rem,3.65vw,3.7rem); }
.equipment-heading > p { max-width: 380px; font-size: .85rem; }
.equipment-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.equipment-card { position: relative; min-height: 0; grid-template-columns: 34px minmax(0,1fr); gap: 9px; padding: 13px 14px; border-radius: 12px 22px 12px 22px; background: var(--surface-card); border-color: var(--surface-line); box-shadow: 0 7px 20px rgba(72,35,31,.04); }
.equipment-card__index { width: 34px; height: 34px; display: grid; place-items: center; color: var(--copper); background: rgba(181,99,60,.1); border-radius: 9px 15px 9px 15px; font-family: var(--sans); font-size: .62rem; font-weight: 900; }
.equipment-card__body { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: start; gap: 3px 8px; }
.equipment-card h3 { grid-column: 1/-1; margin: 0; font-size: .95rem; line-height: 1.18; }
.equipment-card p { grid-column: 1; margin: 1px 0 0; font-size: .64rem; line-height: 1.35; }
.equipment-card > .optional-badge {
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 2;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 4px 11px;
    color: #7f2f49;
    background: linear-gradient(180deg, #f5d9dc, #efc8cd);
    border: 1px solid rgba(127, 47, 73, .14);
    border-radius: 999px;
    box-shadow: inset 0 1px rgba(255,255,255,.68), 0 4px 11px rgba(91,41,54,.055);
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateY(-50%);
}
.equipment-card--optional { padding-right: 104px; }
.equipment-card--optional .equipment-card__body { padding-right: 0; }
.equipment-card .prices { grid-column: 1/-1; margin-top: 5px; gap: 5px; }
.equipment-card .prices > span { min-height: 26px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; color: var(--brown); background: color-mix(in srgb,var(--surface-paper) 82%,var(--cream)); border: 1px solid var(--surface-line); border-radius: 999px; font-size: .68rem; }
.equipment-card .prices img { width: 16px; height: 16px; }
html[data-theme="dark"] .equipment-section, html[data-theme="dark"] .equipment-section--rider { background: var(--surface-main); }
html[data-theme="dark"] .equipment-section--rider { background: var(--surface-soft); }
html[data-theme="dark"] .equipment-card { background: var(--surface-card); border-color: var(--surface-line); }
html[data-theme="dark"] .equipment-card h3 { color: #f3deda; }
html[data-theme="dark"] .equipment-card p { color: #b9a49d; }
html[data-theme="dark"] .equipment-card .prices > span, html[data-theme="dark"] .equipment-card .prices > span strong { color: #42262e; background: #f5e9df; }
html[data-theme="dark"] .equipment-card > .optional-badge {
    color: #f1c39a;
    background: linear-gradient(180deg, #57303a, #48252f);
    border-color: rgba(241,195,154,.18);
    box-shadow: inset 0 1px rgba(255,255,255,.045), 0 5px 13px rgba(0,0,0,.14);
}
.equipment-showcase { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(16px,2.2vw,25px); align-items: stretch; }
.equipment-showcase.has-media { grid-template-columns: minmax(0,1fr) minmax(260px,330px); }
.equipment-showcase__items { min-width: 0; }
.equipment-showcase .equipment-grid { grid-template-columns: repeat(3,minmax(0,1fr)); height: 100%; }
.equipment-showcase__visual { position: relative; min-width: 0; min-height: 250px; margin: 0; overflow: hidden; isolation: isolate; background: #070507; border: 1px solid rgba(103,40,56,.18); border-radius: 18px 36px 18px 36px; box-shadow: 0 20px 48px rgba(62,30,26,.12); }
.equipment-showcase__visual::after { content: ""; position: absolute; z-index: 2; inset: 0; border: 1px solid rgba(255,255,255,.12); border-radius: inherit; pointer-events: none; }
.equipment-showcase__visual picture, .equipment-showcase__visual img { width: 100%; height: 100%; display: block; }
.equipment-showcase__visual img { object-fit: contain; object-position: var(--equipment-focus-x,50%) var(--equipment-focus-y,50%); transform: scale(1.002); transition: transform .55s var(--ease), filter .4s ease; }
.equipment-section--rider .equipment-showcase__visual { order: -1; }
html[data-theme="dark"] .equipment-showcase__visual { border-color: rgba(239,189,143,.12); box-shadow: 0 24px 58px rgba(0,0,0,.28); }
html[data-theme="dark"] .equipment-showcase__visual::after { border-color: rgba(239,189,143,.1); }
@media (hover:hover) and (pointer:fine) { .equipment-showcase__visual:hover img { transform: scale(1.025); filter: saturate(1.04) contrast(1.015); } }
.recruitment-conditions { background: var(--ivory); }
.recruitment-process { padding-block: clamp(34px,3.6vw,52px); background: var(--surface-main); }
.recruitment-process__heading { margin-bottom: clamp(17px,2vw,25px); }
.recruitment-process__heading .display-title { font-size: clamp(2rem,3.6vw,3.8rem); }
.process-timeline, .process-timeline--five { grid-template-columns: repeat(5,minmax(0,1fr)); align-items: stretch; gap: 9px; }
.process-timeline::before { display: none; }
.process-step, .process-step:last-child { min-height: 154px; display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: center; column-gap: 10px; padding: 15px 12px; overflow: hidden; background: var(--surface-card); border: 1px solid var(--surface-line) !important; border-radius: 13px 24px 13px 24px; box-shadow: 0 10px 28px rgba(68,32,28,.05); }
.process-step > span { top: 9px; right: 10px; font-size: .54rem; }
.process-step > i { width: 40px; height: 40px; align-self: center; margin: 0; background: color-mix(in srgb,var(--surface-paper) 90%,transparent); border-radius: 11px 18px 11px 18px; box-shadow: none; }
.process-step > i .icon { width: 18px; }
.process-step__copy { min-width: 0; align-self: center; display: grid; gap: 5px; }
.process-step h3 { margin: 0; font-size: clamp(1.18rem,1.55vw,1.55rem); line-height: 1.02; text-wrap: balance; }
.process-step p { max-width: none; margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.4; }
html[data-theme="dark"] .recruitment-conditions { background: var(--ivory); }
html[data-theme="dark"] .recruitment-process { background: var(--surface-main); }
html[data-theme="dark"] .process-step { background: var(--surface-card); border-color: var(--surface-line) !important; }
html[data-theme="dark"] .process-step h3 { color: #f2dcda; }
.recruitment-editorial__image > span { right: 18px; bottom: 18px; max-width: calc(100% - 36px); padding: 9px 16px; font-size: .9rem; }
.application-section { min-height: 0; padding-block: clamp(44px,4.7vw,68px); }
.application-shell { display: grid; place-items: center; }
.application-state-card { width: min(1040px,100%); display: grid; grid-template-columns: minmax(230px,29%) minmax(0,1fr); align-items: stretch; overflow: hidden; background: rgba(77,25,39,.9); border: 1px solid rgba(255,255,255,.2); border-radius: 19px 46px 19px 46px; box-shadow: 0 28px 76px rgba(37,12,18,.28); backdrop-filter: blur(16px); }
.application-state-card__art { min-height: 300px; position: relative; overflow: hidden; background: linear-gradient(145deg,rgba(213,119,69,.42),rgba(89,31,42,.16)); }
.application-state-card__art img { position: absolute; width: 145%; max-width: none; right: -32%; bottom: -32%; height: auto; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(15,4,7,.25)); }
.application-state-card__copy { align-self: center; padding: clamp(26px,4vw,48px); color: #f7e9e1; }
.application-state-card__copy .eyebrow { margin: 13px 0 7px; color: #e7a775; }
.application-state-card__copy h2 { margin: 0; color: #fff3eb; font-family: var(--serif); font-size: clamp(2.15rem,4vw,3.75rem); font-weight: 500; line-height: .95; }
.application-state-card__copy > p:not(.eyebrow) { max-width: 520px; margin: 15px 0 0; color: rgba(255,238,230,.77); }
.application-state-card__actions { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.application-state-card__actions small { display: flex; align-items: baseline; gap: 5px; color: rgba(255,238,230,.74); }
.application-state-card__actions small strong { color: #fff; font-family: var(--serif); font-size: 1.55rem; }
.application-dialog { width: min(1120px,calc(100vw - 42px)); max-height: min(790px,calc(100dvh - 28px)); grid-template-columns: minmax(240px,30%) minmax(0,70%); overflow: hidden; border-radius: 18px 46px 18px 46px; }
.application-dialog__visual { min-height: 0; height: min(790px,calc(100dvh - 28px)); }
.application-dialog__panel { min-height: 0; max-height: min(790px,calc(100dvh - 28px)); overflow-x: hidden; overflow-y: auto; }
.application-dialog__header { min-height: 84px; padding: 15px clamp(20px,2.7vw,32px); }
.application-dialog__header h2 { font-size: clamp(1.85rem,3.1vw,2.7rem); }
.application-dialog__body { padding: clamp(18px,2.7vw,30px); }
.application-dialog__intro { margin-bottom: 16px; padding: 10px 13px; }
.application-dialog .form-progress { position: relative; top: auto; margin-bottom: 17px; }
.application-dialog .form-grid { gap: 13px; }
.application-dialog .form-step { padding-block: 3px 9px; }
.choice-grid { gap: 8px; }
.choice-card { padding: 10px 11px; }
.application-dialog .field-control > span { color: var(--burgundy); font-size: .7rem; font-weight: 850; letter-spacing: .055em; line-height: 1.35; }
.application-dialog .field-control > span em { color: var(--copper); font-style: normal; }
.application-dialog .field-control > input,
.application-dialog .field-control > textarea,
.application-dialog .field-control > select { min-height: 55px; padding: 13px 15px; color: var(--brown); background: color-mix(in srgb,var(--surface-paper) 92%,var(--surface-soft)); border: 1px solid color-mix(in srgb,var(--surface-line) 78%,var(--copper) 22%); border-radius: 12px 22px 12px 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.48),0 7px 18px rgba(73,37,30,.035); transition: border-color .2s,box-shadow .2s,background .2s,transform .2s; }
.application-dialog .field-control > textarea { min-height: 116px; line-height: 1.55; }
.application-dialog .field-control > input::placeholder,
.application-dialog .field-control > textarea::placeholder { color: color-mix(in srgb,var(--muted) 72%,transparent); opacity: 1; }
.application-dialog .field-control > input:hover,
.application-dialog .field-control > textarea:hover,
.application-dialog .field-control > select:hover { border-color: rgba(181,99,60,.42); }
.application-dialog .field-control > input:focus,
.application-dialog .field-control > textarea:focus,
.application-dialog .field-control > select:focus { background: var(--surface-paper); border-color: var(--copper); box-shadow: 0 0 0 3px rgba(181,99,60,.12),0 10px 26px rgba(73,37,30,.07); }
.application-dialog .field-control > small { padding-inline: 3px; color: var(--muted); font-size: .67rem; line-height: 1.4; }
.application-dialog .choice-field { padding: 14px; background: color-mix(in srgb,var(--surface-paper) 88%,var(--surface-soft)); border-color: var(--surface-line); box-shadow: 0 7px 18px rgba(73,37,30,.03); }
.application-dialog .choice-card { background: color-mix(in srgb,var(--surface-paper) 94%,var(--surface-soft)); border-color: var(--surface-line); }
html[data-theme="dark"] .application-dialog .field-control > input,
html[data-theme="dark"] .application-dialog .field-control > textarea,
html[data-theme="dark"] .application-dialog .field-control > select { color: #f1dfda; background: #1b1417; border-color: rgba(239,211,203,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.025),0 8px 20px rgba(0,0,0,.08); }
html[data-theme="dark"] .application-dialog .field-control > input:focus,
html[data-theme="dark"] .application-dialog .field-control > textarea:focus,
html[data-theme="dark"] .application-dialog .field-control > select:focus { background: #21181c; border-color: var(--copper-light); box-shadow: 0 0 0 3px rgba(209,139,95,.11),0 12px 28px rgba(0,0,0,.14); }
html[data-theme="dark"] .application-dialog .choice-field,
html[data-theme="dark"] .application-dialog .choice-card { background: #1b1417; border-color: rgba(239,211,203,.11); }
.schedule-section, .events-section { background: var(--surface-main); }
.events-section { border-top: 1px solid var(--surface-line); }
html[data-theme="dark"] .schedule-section, html[data-theme="dark"] .events-section { background: var(--surface-main); }

.content-focus-pulse { position: relative; z-index: 1; scroll-margin-block: 22vh; border-radius: 10px; animation: content-focus-pulse 3.1s var(--ease); }
@keyframes content-focus-pulse {
    0%,100% { background-color: transparent; box-shadow: 0 0 0 0 rgba(198,113,65,0); }
    18%,58% { background-color: rgba(210,139,95,.12); box-shadow: 0 0 0 8px rgba(198,113,65,.1); }
}
html[data-theme="dark"] .content-focus-pulse { animation-name: content-focus-pulse-dark; }
@keyframes content-focus-pulse-dark {
    0%,100% { background-color: transparent; box-shadow: 0 0 0 0 rgba(226,161,113,0); }
    18%,58% { background-color: rgba(226,161,113,.12); box-shadow: 0 0 0 8px rgba(226,161,113,.08); }
}
.section-focus-pulse { animation: section-focus-pulse 2.8s var(--ease); }
@keyframes section-focus-pulse {
    0%,100% { box-shadow: inset 0 0 0 0 rgba(198,113,65,0); }
    24%,60% { box-shadow: inset 0 0 0 3px rgba(198,113,65,.38); }
}
@media (max-width: 1180px) {
    .equipment-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .process-timeline, .process-timeline--five { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 900px) {
    .horse-composition { grid-template-columns: 1fr; }
    .horse-art--clean { min-height: 360px; grid-row: 1; }
    .horse-art--clean picture { width: min(78vw,480px); }
    .horse-location-card { margin-left: 0; }
    .application-state-card { grid-template-columns: minmax(170px,27%) minmax(0,1fr); }
    .application-dialog { width: min(780px,calc(100vw - 20px)); max-height: calc(100dvh - 16px); grid-template-columns: 1fr; }
    .application-dialog__visual { height: 100px; min-height: 100px; }
    .application-dialog__panel { max-height: calc(100dvh - 116px); }
    .application-dialog__visual > p, .application-dialog__visual-leaves { display: none; }
}
@media (max-width: 760px) {
    .page-home .event-preview { padding-bottom: 44px; }
    .page-home .recruitment-ribbon { margin-top: 0; }
    .recruitment-editorial__image > span { right: 12px; bottom: 12px; max-width: calc(100% - 24px); }
    .section { padding-block: 36px; }
    .section--intro { padding-top: 43px; }
    .section-heading { margin-bottom: 20px; }
    .page-hero__content { padding-top: calc(var(--header) + 36px); padding-bottom: 66px; }
    .deity-composition, .guestbook-layout, .horse-composition, .recruitment-editorial { gap: 20px; }
    .chronicles-space { padding-top: 29px; }
    .chronicles-tabs { margin-bottom: 28px; }
    .guestbook-preview { padding-block: 31px; }
    .guestbook-note { min-height: 0; padding: 16px; }
    .site-footer { padding: 21px 0 8px; }
    .site-footer__grid { gap: 14px; padding-bottom: 13px; }
    .site-footer__brand { grid-template-columns: 46px minmax(0,1fr); gap: 10px; }
    .site-footer__logo { width: 46px; height: 46px; min-width: 46px; flex-basis: 46px; }
    .site-footer__brand h2 { font-size: 1.28rem; }
    .site-footer__brand p:last-child { margin-top: 3px; font-size: .66rem; }
    .site-footer__nav { column-gap: 12px; }
    .site-footer__nav a { min-height: 25px; }
    .site-footer .social-links a { min-height: 34px; padding: 5px 7px; }
    .site-footer__bottom { padding-top: 6px; font-size: .6rem; }
    .schedule-track { grid-template-columns: repeat(7,minmax(148px,1fr)); gap: 8px; margin-right: -16px; padding-right: 16px; }
    .schedule-day { min-height: 142px; padding: 13px 12px 12px; }
    .equipment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .process-timeline, .process-timeline--five { grid-template-columns: 1fr; gap: 8px; }
    .process-step, .process-step:last-child { min-height: 0; grid-template-columns: 38px minmax(0,1fr); padding: 12px; }
    .process-step > i { width: 38px; height: 38px; }
    .process-step h3 { font-size: 1.25rem; }
    .process-step p { font-size: .69rem; }
    .application-state-card { width: min(560px,100%); grid-template-columns: 1fr; }
    .application-state-card__art { min-height: 188px; }
    .application-state-card__art img { width: min(285px,74vw); right: clamp(10px,5vw,26px); bottom: -78px; }
    .application-state-card__copy { padding: 22px 19px 24px; }
    .application-state-card__copy h2 { font-size: clamp(2rem,9vw,2.8rem); }
    .application-dialog { width: calc(100vw - 10px); max-height: calc(100dvh - 10px); border-radius: 12px 26px 12px 26px; }
    .application-dialog__visual { display: none; }
    .application-dialog__panel { max-height: calc(100dvh - 10px); }
    .application-dialog__header { min-height: 73px; padding: 12px 14px 12px 17px; }
    .application-dialog__body { padding: 14px; }
    .application-dialog .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .equipment-grid { grid-template-columns: 1fr; }
    .equipment-card { padding: 12px 13px; }
    .horse-art--clean { min-height: 290px; }
    .horse-location-card { width: 100%; grid-template-columns: 38px minmax(0,1fr); }
}
@media (max-width: 420px) {
}
.page-hero__badge { width: fit-content; margin: 0 0 12px; }
.page-hero__badge .status-badge { color: #fff4ee; background: rgba(73,25,37,.48); border: 1px solid rgba(255,255,255,.26); box-shadow: 0 10px 28px rgba(25,7,12,.16); backdrop-filter: blur(12px); }
.page-hero__badge .status-badge--open { background: rgba(52,110,73,.55); }
.page-hero__badge .status-badge--closed { background: rgba(100,35,49,.57); }
.application-modal.is-mounted { display: grid; }
.application-modal.is-open { animation: application-backdrop-in .34s ease both; }
.application-modal.is-open .application-dialog { animation: application-dialog-in .58s cubic-bezier(.22,1,.36,1) both; }
@keyframes application-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes application-dialog-in {
    0% { opacity: 0; transform: translate3d(0,24px,0) scale(.965); filter: blur(5px); }
    58% { opacity: 1; transform: translate3d(0,-3px,0) scale(1.006); filter: blur(0); }
    100% { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); }
}
.application-dialog .form-fields { gap: 14px; align-items: stretch; }
.application-dialog .field-control,
.application-dialog .choice-field,
.application-dialog .info-block { min-width: 0; align-self: stretch; padding: 13px 14px; background: color-mix(in srgb,var(--surface-paper) 90%,var(--surface-soft)); border: 1px solid var(--surface-line); border-radius: 13px 25px 13px 25px; box-shadow: 0 7px 18px rgba(73,37,30,.03); }
.application-dialog .field-control { display: flex; flex-direction: column; gap: 8px; }
.application-dialog .field-control > span { min-height: 2.55em; display: flex; align-items: flex-end; }
.application-dialog .field-control > input,
.application-dialog .field-control > textarea,
.application-dialog .field-control > select { width: 100%; margin: 0; }
.application-dialog .field-control > small { margin: 0; }
.application-dialog .choice-field { display: flex; flex-direction: column; gap: 9px; }
.application-dialog .choice-field legend { width: auto; max-width: calc(100% - 18px); margin: 0 0 2px; padding: 0 5px; }
.application-dialog .choice-field > p { margin: 0; }
.application-dialog .choice-grid { margin-top: 2px; }
.application-dialog .choice-card { min-height: 50px; margin: 0; }
.application-dialog .info-block { display: flex; align-items: center; min-height: 58px; color: var(--burgundy); font-family: var(--serif); font-size: 1rem; line-height: 1.45; }
html[data-theme="dark"] .application-dialog .field-control,
html[data-theme="dark"] .application-dialog .choice-field,
html[data-theme="dark"] .application-dialog .info-block { color: #f1dfda; background: #1b1417; border-color: rgba(239,211,203,.11); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
@media (max-width: 760px) {
    .application-dialog { width: calc(100vw - 32px); max-height: min(740px,calc(100dvh - 56px)); border-radius: 15px 30px 15px 30px; }
    .application-dialog__panel { max-height: min(740px,calc(100dvh - 56px)); }
    .application-dialog__body { padding: 14px; }
    .application-dialog .form-fields { gap: 11px; }
    .application-dialog .field-control,
    .application-dialog .choice-field,
    .application-dialog .info-block { padding: 12px; border-radius: 12px 22px 12px 22px; }
    .application-dialog .field-control > span { min-height: 0; }
}
@media (max-width: 380px) {
    .application-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 40px); }
    .application-dialog__panel { max-height: calc(100dvh - 40px); }
}
.desktop-nav__glider { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); width: 0; opacity: 0; pointer-events: none; background: rgba(255,250,244,.94); border-radius: 999px; box-shadow: 0 7px 18px rgba(32,12,18,.13); transition: width .5s cubic-bezier(.22,1,.36,1),transform .5s cubic-bezier(.22,1,.36,1),opacity .2s ease,background .3s ease,box-shadow .3s ease; }
.desktop-nav[data-glider-ready="1"] .desktop-nav__glider { opacity: 1; }
.desktop-nav a { z-index: 1; }
.desktop-nav[data-glider-ready="1"] a[aria-current="page"] { background: transparent; box-shadow: none; }
.site-header.is-scrolled .desktop-nav__glider { background: linear-gradient(135deg,var(--burgundy),var(--wine)); box-shadow: 0 7px 18px rgba(74,26,39,.18); }
html[data-theme="dark"] .desktop-nav__glider,
html[data-theme="dark"] .site-header.is-scrolled .desktop-nav__glider { background: linear-gradient(135deg,#f1c597,#d99a71); box-shadow: 0 8px 22px rgba(0,0,0,.24); }
html[data-theme="dark"] .desktop-nav[data-glider-ready="1"] a[aria-current="page"],
html[data-theme="dark"] .site-header.is-scrolled .desktop-nav[data-glider-ready="1"] a[aria-current="page"] { color: #35141d; }
.site-header.is-scrolled .desktop-nav[data-glider-ready="1"] a[aria-current="page"] { color: #fff; }
.desktop-nav.is-navigating a[aria-current="page"]:not(.is-transition-target) { color: inherit; }
.site-header.is-scrolled .desktop-nav.is-navigating a[aria-current="page"]:not(.is-transition-target) { color: var(--brown); }
html[data-theme="dark"] .desktop-nav.is-navigating a[aria-current="page"]:not(.is-transition-target),
html[data-theme="dark"] .site-header.is-scrolled .desktop-nav.is-navigating a[aria-current="page"]:not(.is-transition-target) { color: #e7d7d1; }
.desktop-nav.is-navigating a.is-transition-target { color: var(--burgundy-deep); }
.site-header.is-scrolled .desktop-nav.is-navigating a.is-transition-target { color: #fff; }
html[data-theme="dark"] .desktop-nav.is-navigating a.is-transition-target,
html[data-theme="dark"] .site-header.is-scrolled .desktop-nav.is-navigating a.is-transition-target { color: #35141d; }
@media (hover: hover) and (pointer: fine) {
    :where(button:not(:disabled):not(.button):not(.application-modal__backdrop):not(.language-modal__backdrop):not(.external-link-modal__backdrop):not(.journal-viewer__backdrop)) { transition: translate .3s var(--ease),scale .3s var(--ease),filter .3s ease,box-shadow .3s var(--ease),background .3s ease,border-color .3s ease,color .3s ease,transform .3s var(--ease); }
    :where(button:not(:disabled):not(.button):not(.application-modal__backdrop):not(.language-modal__backdrop):not(.external-link-modal__backdrop):not(.journal-viewer__backdrop)):hover { translate: 0 -3px; scale: 1.035; filter: saturate(1.09) brightness(1.055); box-shadow: 0 14px 30px rgba(69,24,36,.2); }
    :where(button:not(:disabled):not(.button):not(.application-modal__backdrop):not(.language-modal__backdrop):not(.external-link-modal__backdrop):not(.journal-viewer__backdrop)):active { translate: 0 -1px; scale: .975; transition-duration: .1s; }
    .button--outline:hover { box-shadow: 0 18px 38px rgba(75,26,39,.23); }
    .button--cream:hover { box-shadow: 0 20px 42px rgba(52,22,25,.2); }
    .theme-orb:hover,.language-orb:hover,.menu-toggle:hover { box-shadow: 0 16px 34px rgba(29,8,14,.24); }
}
@media (prefers-reduced-motion: reduce) {
    .application-modal.is-open,
    .application-modal.is-open .application-dialog { animation: none; }
    .desktop-nav__glider { transition-duration: .01ms !important; }
    .page-loader span { animation: none; width: 100%; opacity: .55; transform: none; }
    .button::after { display: none; }
}


.journal-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: dense;
    align-items: start;
    gap: clamp(14px, 2vw, 24px);
}
.journal-gallery.is-masonry { grid-auto-rows: 8px; }
.journal-gallery__item {
    position: relative;
    min-width: 0;
    grid-column: span 4;
    align-self: start;
    overflow: visible;
    border-radius: clamp(20px, 2.2vw, 30px);
    transition: transform .38s var(--ease);
}
.journal-gallery__item--lead { grid-column: span 8; }
.journal-gallery__item--landscape:not(.journal-gallery__item--lead) { grid-column: span 6; }
.journal-gallery--preview .journal-gallery__item:not(.journal-gallery__item--lead) { grid-column: span 4; }
.journal-gallery--chronicles .journal-gallery__item--lead { grid-column: span 7; }
.journal-gallery--chronicles .journal-gallery__item--side { grid-column: span 5; }
.journal-gallery--chronicles .journal-gallery__item--landscape:not(.journal-gallery__item--lead):not(.journal-gallery__item--side) { grid-column: span 7; }
.journal-gallery--chronicles .journal-gallery__item--portrait:not(.journal-gallery__item--lead):not(.journal-gallery__item--side),
.journal-gallery--chronicles .journal-gallery__item--balanced:not(.journal-gallery__item--lead):not(.journal-gallery__item--side) { grid-column: span 5; }
.journal-gallery--chronicles { column-gap: clamp(14px, 2vw, 24px); row-gap: clamp(8px, 1vw, 12px); }
.journal-gallery__tile {
    appearance: none;
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: inherit;
    box-shadow: 0 24px 66px rgba(56, 28, 17, .1);
    text-align: left;
    cursor: zoom-in;
    transform: translateZ(0);
    transition: box-shadow .38s var(--ease);
}
.journal-gallery__tile::after {
    content: "";
    position: absolute;
    z-index: 4;
    inset: 0;
    border: 1px solid rgba(116, 63, 47, .2);
    border-radius: inherit;
    pointer-events: none;
    transition: border-color .38s var(--ease);
}
.journal-gallery__tile:focus-visible { outline: 3px solid rgba(213, 144, 86, .78); outline-offset: 4px; }
.journal-gallery__media {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    aspect-ratio: var(--journal-aspect, 1.6);
    background: #2b171d;
}
.journal-gallery__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.008);
    transition: transform .72s var(--ease), filter .5s var(--ease);
}
.journal-gallery__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 10, 14, .06) 20%, rgba(28, 12, 17, .1) 50%, rgba(27, 10, 16, .78) 100%);
    pointer-events: none;
}
.journal-gallery__topline {
    position: absolute;
    z-index: 2;
    top: clamp(14px, 2vw, 22px);
    left: clamp(14px, 2vw, 22px);
    right: clamp(14px, 2vw, 22px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}
.journal-gallery__topline time {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    color: #fff8f2;
    background: rgba(50, 21, 27, .64);
    border: 1px solid rgba(255, 240, 226, .22);
    border-radius: 999px;
    box-shadow: 0 8px 26px rgba(21, 8, 12, .16);
    backdrop-filter: blur(12px) saturate(1.15);
    font-size: .64rem;
    font-weight: 850;
    letter-spacing: .11em;
    line-height: 1;
    text-transform: uppercase;
}
.journal-gallery__overlay {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 0 clamp(14px, 1.7vw, 22px) clamp(12px, 1.45vw, 18px);
    color: #fff9f4;
    pointer-events: none;
}
.journal-gallery__overlay h3 {
    max-width: min(30ch, 94%);
    margin: 0;
    color: inherit;
    font-family: var(--serif);
    font-size: clamp(1rem, 1.4vw, 1.45rem);
    font-weight: 560;
    letter-spacing: -.018em;
    line-height: 1.08;
    text-wrap: pretty;
    overflow-wrap: anywhere;
}
.journal-gallery__item--lead .journal-gallery__overlay h3 { max-width: min(30ch, 94%); font-size: clamp(1.15rem, 1.75vw, 1.75rem); }
html[data-theme="dark"] .journal-gallery__tile { box-shadow: 0 26px 76px rgba(0, 0, 0, .32); }
html[data-theme="dark"] .journal-gallery__tile::after { border-color: rgba(239, 189, 143, .11); }
@media (hover: hover) and (pointer: fine) {
    .journal-gallery__tile:hover, .journal-gallery__tile:active { translate: 0; scale: 1; filter: none; }
    .journal-gallery__item:hover { transform: translateY(-5px); }
    .journal-gallery__item:hover .journal-gallery__tile { box-shadow: 0 30px 82px rgba(56, 28, 17, .17); }
    .journal-gallery__item:hover .journal-gallery__tile::after { border-color: rgba(181, 99, 60, .38); }
    .journal-gallery__item:hover .journal-gallery__media img { transform: scale(1.045); filter: saturate(1.04) contrast(1.015); }
    html[data-theme="dark"] .journal-gallery__item:hover .journal-gallery__tile { box-shadow: 0 34px 88px rgba(0, 0, 0, .42); }
}

.journal-viewer {
    position: fixed;
    z-index: 1800;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(14px, 2.4vw, 34px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}
.journal-viewer.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.journal-viewer.is-single .journal-viewer__nav, .journal-viewer.is-single .journal-viewer__rail { display: none; }
.journal-viewer__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: rgba(18, 7, 11, .83); border: 0; backdrop-filter: blur(18px) saturate(.82); cursor: zoom-out; }
.journal-viewer__dialog {
    position: relative;
    z-index: 1;
    width: min(1320px, 100%);
    max-width: calc(100vw - clamp(28px, 4.8vw, 68px));
    height: min(900px, calc(100vh - clamp(28px, 4.8vw, 68px)));
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    padding: clamp(18px, 2.3vw, 30px);
    color: #fff8f2;
    background: radial-gradient(circle at 78% 12%, rgba(181, 99, 60, .16), transparent 28%), linear-gradient(145deg, rgba(42, 22, 28, .98), rgba(22, 13, 17, .99));
    border: 1px solid rgba(255, 231, 215, .14);
    border-radius: clamp(24px, 3vw, 42px);
    box-shadow: 0 48px 150px rgba(4, 1, 2, .56), inset 0 1px 0 rgba(255, 255, 255, .04);
    outline: none;
    transform: translateY(12px) scale(.985);
    transition: transform .42s var(--ease);
}
.journal-viewer.is-open .journal-viewer__dialog { transform: none; }
.journal-viewer__glow { position: absolute; width: 420px; height: 420px; top: -230px; right: -120px; background: radial-gradient(circle, rgba(222, 139, 82, .17), transparent 68%); pointer-events: none; }
.journal-viewer__close {
    position: absolute;
    z-index: 5;
    top: clamp(16px, 2vw, 24px);
    right: clamp(16px, 2vw, 24px);
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff7ef;
    background: rgba(26, 14, 18, .7);
    border: 1px solid rgba(255, 236, 221, .16);
    border-radius: 50%;
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.journal-viewer__close .icon { width: 20px; height: 20px; }
.journal-viewer__nav {
    position: relative;
    z-index: 3;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    justify-self: center;
    padding: 0;
    color: #fff8f2;
    background: rgba(255, 247, 240, .07);
    border: 1px solid rgba(255, 235, 220, .14);
    border-radius: 50%;
    cursor: pointer;
    transition: transform .28s var(--ease), background .28s, border-color .28s, opacity .28s;
}
.journal-viewer__nav:disabled { opacity: .3; cursor: default; }
.journal-viewer__nav .icon { width: 22px; height: 22px; }
.journal-viewer__nav--prev { grid-column: 1; grid-row: 1; }
.journal-viewer__nav--prev .icon { transform: rotate(180deg); }
.journal-viewer__nav--next { grid-column: 3; grid-row: 1; }
.journal-viewer__figure { grid-column: 1; grid-row: 1; width: 100%; min-width: 0; min-height: 0; align-self: stretch; justify-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 18px; margin: 0; }
.journal-viewer__stage { min-width: 0; min-height: 0; flex: 1 1 auto; display: grid; grid-template-columns: 64px minmax(0,1fr) 64px; align-items: center; gap: 18px; }
.journal-viewer__image-wrap {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    touch-action: pan-y;
}
.journal-viewer__image-wrap::after { display: none; }
.journal-viewer__image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    overflow: hidden;
    border-radius: clamp(18px, 2vw, 28px);
    clip-path: inset(0 round clamp(18px, 2vw, 28px));
    box-shadow: 0 22px 54px rgba(4, 1, 2, .3), 0 0 0 1px rgba(255, 235, 220, .08);
    user-select: none;
    -webkit-user-drag: none;
    transform: scale(1);
    opacity: 1;
    transition: opacity .2s ease, transform .36s var(--ease);
}
.journal-viewer__image-wrap.is-changing img { opacity: .28; transform: scale(.985); }
.journal-viewer__caption { width: calc(100% - 164px); min-width: 0; align-self: center; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 3px 2px; }
.journal-viewer__caption > div { display: flex; align-items: center; gap: 10px; color: rgba(255, 231, 215, .62); font-size: .66rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.journal-viewer__caption > div span::before { content: ""; width: 4px; height: 4px; display: inline-block; margin: 0 10px 1px 0; background: var(--copper-light); border-radius: 50%; }
.journal-viewer__caption h2 { max-width: 24ch; margin: 0; color: #fff9f5; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 3.3rem); font-weight: 560; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; overflow-wrap: anywhere; }
.journal-viewer__rail {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    display: flex;
    justify-content: safe center;
    gap: 9px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 3px 2px 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(224, 151, 96, .52) transparent;
}
.journal-viewer__thumb { position: relative; width: 66px; height: 48px; flex: 0 0 66px; overflow: hidden; padding: 0; background: #190e12; border: 1px solid rgba(255, 234, 219, .11); border-radius: 11px; opacity: .48; cursor: pointer; transition: opacity .24s, transform .24s var(--ease), border-color .24s, box-shadow .24s; }
.journal-viewer__thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.journal-viewer__thumb.is-active { opacity: 1; border-color: rgba(222, 139, 82, .78); box-shadow: 0 0 0 2px rgba(181, 99, 60, .18); transform: translateY(-2px); }
.journal-viewer__thumb:focus-visible, .journal-viewer__close:focus-visible, .journal-viewer__nav:focus-visible { outline: 2px solid #efbd8f; outline-offset: 3px; }
html[data-theme="light"] .journal-viewer__backdrop { background: rgba(65, 36, 31, .34); backdrop-filter: blur(18px) saturate(.94); }
html[data-theme="light"] .journal-viewer__dialog { color: var(--brown); background: radial-gradient(circle at 78% 12%, rgba(222, 151, 96, .23), transparent 29%), radial-gradient(circle at 8% 88%, rgba(103, 40, 56, .07), transparent 36%), linear-gradient(145deg, rgba(255, 253, 249, .99), rgba(247, 237, 228, .995)); border-color: rgba(103, 40, 56, .15); box-shadow: 0 48px 150px rgba(69, 34, 29, .24), inset 0 1px 0 rgba(255, 255, 255, .94); }
html[data-theme="light"] .journal-viewer__glow { background: radial-gradient(circle, rgba(222, 151, 96, .25), transparent 68%); }
html[data-theme="light"] .journal-viewer__close { color: var(--burgundy-deep); background: rgba(255, 252, 248, .84); border-color: rgba(103, 40, 56, .14); box-shadow: 0 10px 28px rgba(73, 37, 30, .1); }
html[data-theme="light"] .journal-viewer__nav { color: var(--burgundy-deep); background: rgba(255, 252, 248, .78); border-color: rgba(103, 40, 56, .13); box-shadow: 0 10px 28px rgba(73, 37, 30, .09); }
html[data-theme="light"] .journal-viewer__image-wrap img { box-shadow: 0 22px 54px rgba(65, 31, 26, .18), 0 0 0 1px rgba(103, 40, 56, .09); }
html[data-theme="light"] .journal-viewer__caption > div { color: color-mix(in srgb, var(--muted) 88%, var(--brown) 12%); }
html[data-theme="light"] .journal-viewer__caption h2 { color: var(--burgundy-deep); }
html[data-theme="light"] .journal-viewer__rail { scrollbar-color: rgba(181, 99, 60, .4) transparent; }
html[data-theme="light"] .journal-viewer__thumb { background: var(--cream-deep); border-color: rgba(103, 40, 56, .13); opacity: .58; }
html[data-theme="light"] .journal-viewer__thumb.is-active { opacity: 1; border-color: rgba(181, 99, 60, .82); box-shadow: 0 0 0 2px rgba(181, 99, 60, .16), 0 8px 20px rgba(73, 37, 30, .1); }
html[data-theme="light"] .journal-viewer__thumb:focus-visible, html[data-theme="light"] .journal-viewer__close:focus-visible, html[data-theme="light"] .journal-viewer__nav:focus-visible { outline-color: var(--copper); }
@media (hover: hover) and (pointer: fine) {
    .journal-viewer__close:hover, .journal-viewer__nav:not(:disabled):hover { transform: scale(1.06); background: rgba(103, 40, 56, .74); border-color: rgba(239, 189, 143, .3); }
    .journal-viewer__thumb:hover { opacity: .88; transform: translateY(-2px); }
    html[data-theme="light"] .journal-viewer__close:hover, html[data-theme="light"] .journal-viewer__nav:not(:disabled):hover { color: var(--burgundy-deep); background: rgba(255, 249, 243, .96); border-color: rgba(181, 99, 60, .4); box-shadow: 0 14px 32px rgba(73, 37, 30, .14); }
    html[data-theme="light"] .journal-viewer__thumb:hover { opacity: .9; border-color: rgba(181, 99, 60, .38); }
}
@media (max-width: 900px) {
    .journal-gallery__item, .journal-gallery__item--landscape:not(.journal-gallery__item--lead) { grid-column: span 6; }
    .journal-gallery__item--lead { grid-column: span 12; }
    .journal-gallery--preview .journal-gallery__item:not(.journal-gallery__item--lead) { grid-column: span 6; }
    .journal-gallery--chronicles .journal-gallery__item:not(.journal-gallery__item--lead) { grid-column: span 6; }
    .journal-gallery--chronicles .journal-gallery__item--lead { grid-column: span 12; }
    .journal-viewer__dialog { gap: 12px; }
    .journal-viewer__stage { grid-template-columns: 50px minmax(0,1fr) 50px; gap: 12px; }
    .journal-viewer__caption { width: calc(100% - 124px); }
    .journal-viewer__nav { width: 44px; height: 44px; }
}
@media (max-width: 760px) {
    .journal-gallery { gap: 16px; }
    .journal-gallery.is-masonry, .journal-gallery--chronicles.is-masonry { grid-auto-rows: auto; }
    .journal-gallery--preview, .journal-gallery--chronicles { grid-auto-flow: row; grid-auto-rows: auto; row-gap: 12px; }
    .journal-gallery--preview > .journal-gallery__item,
    .journal-gallery__item, .journal-gallery__item--lead, .journal-gallery__item--landscape:not(.journal-gallery__item--lead), .journal-gallery--preview .journal-gallery__item:not(.journal-gallery__item--lead) { grid-column: 1 / -1; grid-row: auto; width: 100%; }
    .journal-gallery--chronicles .journal-gallery__item--lead,
    .journal-gallery--chronicles .journal-gallery__item--side,
    .journal-gallery--chronicles .journal-gallery__item--landscape:not(.journal-gallery__item--lead):not(.journal-gallery__item--side),
    .journal-gallery--chronicles .journal-gallery__item--portrait:not(.journal-gallery__item--lead):not(.journal-gallery__item--side),
    .journal-gallery--chronicles .journal-gallery__item--balanced:not(.journal-gallery__item--lead):not(.journal-gallery__item--side) { grid-column: 1 / -1; grid-row: auto; width: 100%; }
    .journal-gallery__media,
    .journal-gallery--chronicles .journal-gallery__media,
    .journal-gallery--preview .journal-gallery__media { aspect-ratio: 16 / 9; }
    .journal-gallery__item.reveal, .journal-gallery--chronicles .journal-gallery__item.reveal { opacity: 1; transform: none; transition: none; }
    .journal-gallery__tile, .journal-gallery--chronicles .journal-gallery__tile { transform: none; transition: none; box-shadow: 0 12px 30px rgba(56, 28, 17, .09); }
    .journal-gallery__media img, .journal-gallery--chronicles .journal-gallery__media img { transform: none; transition: none; }
    html[data-theme="dark"] .journal-gallery__tile, html[data-theme="dark"] .journal-gallery--chronicles .journal-gallery__tile { box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
    .journal-gallery__overlay { padding: 0 14px 12px; }
    .journal-gallery__overlay h3, .journal-gallery__item--lead .journal-gallery__overlay h3 { max-width: min(28ch, 94%); font-size: clamp(1.02rem, 4.6vw, 1.35rem); line-height: 1.08; }
    .journal-gallery__topline { top: 14px; left: 14px; right: 14px; }
    .journal-gallery__topline time { min-height: 31px; padding: 7px 10px; font-size: .58rem; }
    .journal-viewer { align-items: center; padding: 7px; }
    .journal-viewer__dialog { width: 100%; max-width: 100%; height: auto; max-height: calc(100dvh - 14px); grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; align-content: center; gap: 10px; overflow-y: auto; padding: max(58px, calc(env(safe-area-inset-top) + 48px)) 10px max(12px, env(safe-area-inset-bottom)); border-radius: 27px; scrollbar-width: none; }
    .journal-viewer__dialog::-webkit-scrollbar { display: none; }
    .journal-viewer__close { top: max(14px, env(safe-area-inset-top)); right: 14px; width: 42px; height: 42px; background: rgba(26,14,18,.78); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
    .journal-viewer__figure { grid-column: 1; grid-row: 1; width: 100%; min-height: 0; align-self: auto; gap: 11px; justify-content: flex-start; }
    .journal-viewer__stage { position: relative; flex: 0 0 auto; width: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
    .journal-viewer__image-wrap { grid-column: 1; grid-row: 1; width: 100%; height: auto; min-height: 0; }
    .journal-viewer__image-wrap img { width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 225px); border-radius: 19px; clip-path: inset(0 round 19px); }
    .journal-viewer__nav { position: absolute; z-index: 6; top: 50%; width: 44px; height: 44px; margin: 0; color: #fff8f2; background: rgba(28,14,19,.74); border-color: rgba(255,235,220,.22); box-shadow: 0 10px 28px rgba(0,0,0,.22); backdrop-filter: blur(12px); transform: translateY(-50%); }
    .journal-viewer__nav--prev { left: 8px; grid-column: auto; grid-row: auto; }
    .journal-viewer__nav--next { right: 8px; grid-column: auto; grid-row: auto; }
    .journal-viewer__nav .icon { width: 19px; height: 19px; }
    .journal-viewer__caption { width: 100%; padding: 0 5px 1px; gap: 6px; }
    .journal-viewer__caption h2 { max-width: 24ch; font-size: clamp(1.42rem, 7vw, 2rem); line-height: 1; }
    .journal-viewer__caption > div { font-size: .57rem; }
    .journal-viewer__rail { grid-column: 1; grid-row: 2; justify-content: flex-start; gap: 7px; padding: 2px 5px 1px; }
    .journal-viewer__thumb { width: 60px; height: 44px; flex-basis: 60px; border-radius: 10px; }
    html[data-theme="light"] .journal-viewer__close, html[data-theme="light"] .journal-viewer__nav { color: var(--burgundy-deep); background: rgba(255,251,246,.9); border-color: rgba(103,40,56,.16); box-shadow: 0 10px 28px rgba(73,37,30,.14); }
}
@media (max-width: 420px) {
    .journal-viewer__dialog { padding-inline: 8px; }
    .journal-viewer__nav--prev { left: 7px; }
    .journal-viewer__nav--next { right: 7px; }
    .journal-viewer__caption { padding-inline: 4px; }
    .journal-viewer__caption h2 { font-size: clamp(1.32rem, 6.8vw, 1.8rem); }
    .journal-viewer__thumb { width: 56px; height: 41px; flex-basis: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    .journal-gallery__item, .journal-gallery__media img, .journal-viewer, .journal-viewer__dialog, .journal-viewer__image-wrap img, .journal-viewer__thumb { transition-duration: .01ms !important; }
}

.horse-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0 18px; }
.horse-meta-row .horse-name { min-height: 39px; margin: 0; box-sizing: border-box; }
.horse-price-pill {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 13px;
    box-sizing: border-box;
    border-radius: 999px;
    border: 1px solid rgba(103,40,56,.13);
    background: rgba(255,255,255,.72);
    box-shadow: 0 10px 28px rgba(72,34,28,.07);
    color: var(--burgundy);
    font-size: .78rem;
    font-weight: 850;
    line-height: 1.35;
}
.horse-price-pill strong { color: inherit; font-size: inherit; font-weight: inherit; }
.horse-price-pill img { width: 18px; height: 18px; object-fit: contain; }
html[data-theme="dark"] .horse-price-pill { color: #42262e; background: #f5e9df; border-color: rgba(71,37,43,.14); box-shadow: 0 7px 18px rgba(0,0,0,.16); }
html[data-theme="dark"] .horse-price-pill strong { color: inherit; }

.schedule-section { position: relative; overflow: hidden; }
.page-information .schedule-section { background: transparent; }
html[data-theme="dark"] .page-information .schedule-section { background: transparent; }
.schedule-track--practical {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.2vw, 24px);
}
.schedule-day--practical {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    min-height: 0;
    padding: clamp(24px, 3vw, 32px);
    overflow: hidden;
    border: 1px solid rgba(113, 57, 43, .12);
    border-radius: 24px 38px 24px 38px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(249,241,233,.96)),
        var(--surface-paper);
    box-shadow: none;
    transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s ease;
}
.schedule-day--practical::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--copper-light), var(--burgundy));
    opacity: .58;
}
.schedule-day--practical::after {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    right: -48px;
    top: -54px;
    border-radius: 50%;
    border: 1px solid rgba(191, 112, 62, .09);
    box-shadow: 0 0 0 24px rgba(191,112,62,.018);
    pointer-events: none;
}
.schedule-day--practical .schedule-day__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 17px 25px 17px 25px;
    border: 1px solid rgba(123, 68, 43, .11);
    background: linear-gradient(145deg, rgba(191,112,62,.15), rgba(112,55,42,.055));
    color: var(--burgundy);
    box-shadow: inset 0 1px rgba(255,255,255,.65);
}
.schedule-day--practical .schedule-day__icon svg { width: 24px; height: 24px; }
.schedule-day--practical .schedule-day__content {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 9px;
}
.schedule-day--practical .schedule-day__content > span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(123,68,43,.065);
    color: var(--copper);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .15em;
}
.schedule-day--practical h3 {
    margin: 0;
    max-width: 22ch;
    color: var(--brown);
    font-size: clamp(1.22rem, 2vw, 1.6rem);
    line-height: 1.05;
    text-wrap: balance;
}
.schedule-day--practical time {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(91, 32, 50, .075);
    color: var(--burgundy);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.schedule-day--practical p {
    margin: 1px 0 0;
    max-width: 42ch;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
}
html[data-theme="dark"] .schedule-day--practical {
    border-color: rgba(239,189,143,.095);
    background: linear-gradient(145deg, rgba(36,25,29,.98), rgba(24,17,20,.99));
    box-shadow: none;
}
html[data-theme="dark"] .schedule-day--practical::before {
    background: linear-gradient(180deg, #efbd8f, #a55d4c);
    opacity: .52;
}
html[data-theme="dark"] .schedule-day--practical::after { border-color: rgba(239,189,143,.07); box-shadow: 0 0 0 24px rgba(239,189,143,.012); }
html[data-theme="dark"] .schedule-day--practical .schedule-day__icon {
    border-color: rgba(239,189,143,.12);
    background: linear-gradient(145deg, rgba(239,189,143,.14), rgba(191,112,62,.07));
    color: #efbd8f;
    box-shadow: inset 0 1px rgba(255,255,255,.025);
}
html[data-theme="dark"] .schedule-day--practical .schedule-day__content > span { background: rgba(239,189,143,.075); color: #efbd8f; }
html[data-theme="dark"] .schedule-day--practical h3 { color: #f7ebe4; }
html[data-theme="dark"] .schedule-day--practical time { background: rgba(239,189,143,.095); color: #fff3e8; }
html[data-theme="dark"] .schedule-day--practical p { color: rgba(240,230,222,.72); }
@media (hover: hover) and (pointer: fine) {
    .schedule-day--practical:hover {
        transform: translateY(-4px);
        border-color: rgba(158, 88, 58, .2);
        box-shadow: none;
    }
    html[data-theme="dark"] .schedule-day--practical:hover {
        border-color: rgba(239,189,143,.16);
        box-shadow: none;
    }
}
.prices { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.event-preview__copy, .event-preview__copy > * { min-width: 0; }
.event-preview__copy h2, .event-preview__copy p { overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 760px) {
    .event-preview__inner { display: flex; flex-direction: column; gap: 18px; padding: 18px; }
    .event-preview__copy { width: 100%; padding: 4px 0 2px; }
    .event-preview__copy h2 { font-size: clamp(2.2rem, 10vw, 3.35rem); line-height: 0.96; }
    .event-meta { gap: 10px; }
    .event-meta span { min-width: 0; max-width: 100%; }
    .event-preview__stamp { right: 14px; bottom: 16px; }
    .event-preview__image img { height: clamp(250px, 68vw, 360px); }
    .schedule-track--practical { grid-template-columns: 1fr; gap: 14px; }
    .schedule-day--practical { grid-template-columns: 50px minmax(0, 1fr); gap: 15px; padding: 21px 20px 21px 22px; border-radius: 21px 31px 21px 31px; }
    .schedule-day--practical::before { top: 20px; bottom: 20px; }
    .schedule-day--practical .schedule-day__icon { width: 50px; height: 50px; border-radius: 15px 22px 15px 22px; }
    .schedule-day--practical h3 { font-size: clamp(1.16rem, 5.2vw, 1.42rem); }
    .schedule-day--practical time { font-size: .82rem; }
    .horse-meta-row { align-items: stretch; }
    .horse-price-pill { width: fit-content; }
}

html[data-theme="dark"] .deity-section__halo {
    background:
        radial-gradient(circle at 34% 42%, rgba(244, 154, 89, 0.34), transparent 24%),
        radial-gradient(circle at 58% 52%, rgba(255, 205, 148, 0.18), transparent 32%),
        radial-gradient(circle at 70% 28%, rgba(175, 89, 58, 0.14), transparent 24%);
    opacity: 0.92;
    filter: blur(8px);
}
html[data-theme="dark"] .deity-frame__ring {
    border-color: rgba(239, 189, 143, 0.18);
    box-shadow: inset 0 0 0 1px rgba(239, 189, 143, 0.06), 0 0 0 1px rgba(98, 56, 41, 0.22), 0 38px 90px rgba(0,0,0,0.36);
}

html[data-theme="dark"] .page-recruitment .page-hero { background: var(--ivory); }
.page-recruitment .recruitment-conditions { margin-top: 0; background: var(--ivory); box-shadow: none; }
.page-home .recruitment-ribbon { border-top: 0 !important; border-image: none !important; }
.page-home .recruitment-ribbon::before { content: ""; position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent 4%,rgba(181,99,60,.08) 20%,rgba(181,99,60,.27) 50%,rgba(181,99,60,.08) 80%,transparent 96%); pointer-events: none; }
html[data-theme="dark"] .page-home .recruitment-ribbon::before { background: linear-gradient(90deg,transparent 4%,rgba(226,161,113,.05) 20%,rgba(226,161,113,.2) 50%,rgba(226,161,113,.05) 80%,transparent 96%); }
@media (max-width: 1080px) {
    .equipment-showcase.has-media { grid-template-columns: minmax(0,1fr) minmax(230px,280px); }
    .equipment-showcase .equipment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .equipment-showcase.has-media { grid-template-columns: 1fr; gap: 16px; }
    .equipment-showcase .equipment-grid { grid-template-columns: 1fr; }
    .equipment-showcase__visual, .equipment-section--rider .equipment-showcase__visual { order: -1; width: 100%; min-height: 0; aspect-ratio: 4 / 3; border-radius: 17px 30px 17px 30px; }
}

@media (min-width: 901px) {
    .journal-gallery--preview {
        grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
        grid-auto-flow: row;
        align-items: start;
    }
    .journal-gallery--preview > .journal-gallery__item--lead {
        grid-column: 1;
        align-self: start;
    }
    .journal-gallery--preview > .journal-gallery__item--lead .journal-gallery__tile,
    .journal-gallery--preview > .journal-gallery__item--lead .journal-gallery__media {
        width: 100%;
    }
    .journal-gallery--preview .journal-gallery__side-stack {
        grid-column: 2;
        display: grid;
        grid-template-rows: repeat(var(--journal-side-count, 2), minmax(0, 1fr));
        gap: clamp(14px, 2vw, 24px);
        min-width: 0;
        min-height: 0;
        height: var(--journal-preview-height, auto);
        align-self: start;
    }
    .journal-gallery--preview .journal-gallery__side-stack .journal-gallery__item {
        grid-column: auto;
        min-width: 0;
        min-height: 0;
        height: 100%;
        align-self: stretch;
    }
    .journal-gallery--preview .journal-gallery__side-stack .journal-gallery__tile,
    .journal-gallery--preview .journal-gallery__side-stack .journal-gallery__media {
        height: 100%;
        min-height: 0;
    }
    .journal-gallery--preview .journal-gallery__side-stack .journal-gallery__media {
        aspect-ratio: auto;
    }
}
@media (max-width: 900px) {
    .journal-gallery--preview .journal-gallery__side-stack { display: contents; }
}

.equipment-section--unified {
    padding-block: clamp(46px, 5vw, 76px);
    overflow: visible;
    background: var(--surface-main);
}
.equipment-outfit {
    display: grid;
    grid-template-columns: minmax(380px, .9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 4.6vw, 74px);
    align-items: start;
}
.equipment-outfit__visual {
    position: relative;
    top: auto;
    min-width: 0;
    margin: 0;
    display: grid;
    place-items: center;
    align-self: start;
    isolation: isolate;
}
.equipment-outfit__visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 100, 121, .15), rgba(192, 100, 121, .055) 44%, transparent 72%);
    filter: blur(22px);
    opacity: .86;
}
.equipment-outfit__visual picture {
    width: min(100%, 590px);
    display: block;
}
.equipment-outfit__visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: var(--equipment-focus-x, 50%) var(--equipment-focus-y, 50%);
    filter: drop-shadow(0 28px 34px rgba(63, 29, 36, .16));
}
html[data-theme="dark"] .equipment-outfit__visual::before {
    background: radial-gradient(circle, rgba(217, 107, 143, .18), rgba(166, 77, 102, .065) 44%, transparent 72%);
    opacity: .72;
}
html[data-theme="dark"] .equipment-outfit__visual img { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .28)); }

@media (min-width: 821px) {
    .equipment-outfit__visual {
        transform: translate3d(0, var(--equipment-follow-y, 0px), 0);
        will-change: transform;
    }
}
.equipment-outfit__catalog { min-width: 0; display: grid; gap: clamp(38px, 4vw, 58px); }
.equipment-outfit__group { min-width: 0; }
.equipment-outfit__group + .equipment-outfit__group {
    padding-top: clamp(34px, 3.8vw, 52px);
    border-top: 1px solid var(--surface-line);
}
.equipment-outfit__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 300px);
    gap: 8px 24px;
    align-items: end;
    margin-bottom: clamp(18px, 2vw, 26px);
}
.equipment-outfit__heading .eyebrow { grid-column: 1; margin: 0; }
.equipment-outfit__heading h2 {
    grid-column: 1;
    margin: 0;
    color: var(--burgundy-deep);
    font-family: var(--serif);
    font-size: clamp(2.2rem, 3.3vw, 3.9rem);
    font-weight: 520;
    letter-spacing: -.025em;
    line-height: .98;
    text-wrap: balance;
}
.equipment-outfit__heading > p:not(.eyebrow) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin: 0 0 3px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.55;
}
html[data-theme="dark"] .equipment-outfit__heading h2 { color: #f2dcda; }
.equipment-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.equipment-grid--catalog .equipment-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 15px 16px;
    overflow: hidden;
    border-radius: 14px 25px 14px 25px;
}
.equipment-grid--catalog .equipment-card__index {
    width: 38px;
    height: 38px;
    border-radius: 10px 17px 10px 17px;
}
.equipment-grid--catalog .equipment-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
}
.equipment-card__title-row {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 7px 9px;
}
.equipment-grid--catalog .equipment-card h3 {
    flex: 1 1 180px;
    min-width: 0;
    margin: 0;
    font-size: clamp(.92rem, 1vw, 1.04rem);
    line-height: 1.18;
    overflow-wrap: break-word;
    hyphens: auto;
}
.equipment-grid--catalog .equipment-card p {
    margin: 0;
    font-size: .67rem;
    line-height: 1.4;
}
.equipment-grid--catalog .equipment-card--optional { padding-right: clamp(98px, 8vw, 112px); }
.equipment-grid--catalog .equipment-card .optional-badge {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 14px;
    flex: 0 0 auto;
    margin: 0;
    padding: 6px 9px;
    font-size: .54rem;
    line-height: 1;
    white-space: nowrap;
    transform: translateY(-50%);
}
.equipment-grid--catalog .equipment-card .prices {
    margin-top: 6px;
    gap: 6px;
}
.equipment-grid--catalog .equipment-card .prices > span {
    min-height: 28px;
    max-width: 100%;
    padding: 4px 8px;
    font-size: .69rem;
}
@media (hover: hover) and (pointer: fine) {
    .equipment-outfit__visual img { transition: transform .5s var(--ease), filter .4s ease; }
    .equipment-outfit__visual:hover img { transform: translateY(-4px) scale(1.012); }
}
@media (min-width: 821px) {
    .page-information main { overflow: visible; }
    .equipment-outfit__visual { z-index: 2; }
}
@media (max-width: 1120px) {
    .equipment-outfit { grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: 30px; }
    .equipment-outfit__heading { grid-template-columns: 1fr; }
    .equipment-outfit__heading > p:not(.eyebrow) { grid-column: 1; grid-row: auto; max-width: 560px; margin: 2px 0 0; }
    .equipment-grid--catalog { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .equipment-section--unified { padding-block: 40px 48px; overflow: clip; }
    .equipment-outfit { grid-template-columns: 1fr; gap: 24px; }
    .equipment-outfit__visual { position: relative; top: auto; width: min(92vw, 620px); justify-self: center; }
    .equipment-outfit__visual picture { width: min(100%, 560px); }
    .equipment-outfit__catalog { gap: 34px; }
    .equipment-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .equipment-outfit__visual { width: 100%; }
    .equipment-outfit__visual picture { width: min(100%, 470px); }
    .equipment-outfit__heading h2 { font-size: clamp(2rem, 10vw, 3.05rem); }
    .equipment-grid--catalog { grid-template-columns: 1fr; gap: 10px; }
    .equipment-grid--catalog .equipment-card { grid-template-columns: 36px minmax(0, 1fr); padding: 14px 14px; }
    .equipment-grid--catalog .equipment-card--optional { padding-right: 94px; }
    .equipment-grid--catalog .equipment-card--optional > .optional-badge { right: 10px; padding-inline: 8px; font-size: .5rem; }
    .equipment-grid--catalog .equipment-card__index { width: 36px; height: 36px; }
    .equipment-grid--catalog .equipment-card h3 { flex-basis: 150px; font-size: .98rem; }
}

.page-chronicles .chronicles-tabs { margin-top: -18px; }
@media (max-width: 900px) {
    .page-chronicles .chronicles-tabs { margin-top: -14px; }
}
@media (max-width: 680px) {
    .page-chronicles .chronicles-tabs { margin-top: -10px; }
}
