@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-italic-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-regular-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-regular.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-regular-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-regular.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f5f4ef;
  --ink: #26392f;
  --muted: #5e675b;
  --line: #d6d9cf;
  --soft: #eaece3;
  --footer: #21382d;
  --focus: #af762f;
  --nav-resting-height: 110px;
  --nav-compact-height: 76px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { border: 0; background: none; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
picture { display: contents; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; }
h2 { font-size: clamp(44px, 5vw, 70px); letter-spacing: -1.4px; }
h3 { font-size: 36px; }
em { font-weight: 400; }
.container { width: min(1280px, 86%); margin-inline: auto; }
.eyebrow { margin-bottom: 18px; text-transform: uppercase; font-size: 11px; letter-spacing: 2.1px; font-weight: 500; line-height: 1.5; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: -100px; left: 10px; z-index: 100; background: white; padding: 10px; }
.skip-link:focus { top: 10px; }
.icon { display: inline-block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: middle; }
.icon use { pointer-events: none; }

/* Approved V1 navigation, with a more prominent Prepinson signature. */
.nav { position: absolute; inset: 0 0 auto; z-index: 30; width: 100%; height: 110px; padding: 0 5.5%; display: flex; align-items: center; gap: 20px; color: white; border-bottom: 1px solid #ffffff30; }
.nav.solid-nav { position: relative; background: var(--footer); }
.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; min-width: 285px; }
.brand img { width: 54px; height: 61px; object-fit: contain; }
.wordmark { font-family: var(--serif); font-size: 39px; letter-spacing: 2.6px; line-height: 1; white-space: nowrap; }
.brand small { display: block; margin-top: 8px; font-family: var(--sans); font-size: 8.5px; letter-spacing: 3.7px; text-align: center; }
.navlinks { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; }
.navlinks a { position: relative; white-space: nowrap; }
.nav-book { padding: 10px 0 10px 10px; }
.nav-book span { margin-left: 14px; }
.menu-toggle { display: none; color: white; align-items: center; gap: 10px; }
.mobile-nav { display: none; }
.language-switch { position: relative; flex: 0 0 auto; z-index: 35; margin-left: 20px; font-size: 12px; }
.language-switch summary { display: flex; align-items: center; gap: 7px; padding: 10px 0; cursor: pointer; list-style: none; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary .icon { width: 13px; height: 13px; }
.language-switch[open] summary .icon { transform: rotate(180deg); }
.language-options { position: absolute; right: 0; top: 100%; min-width: 215px; padding: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 14px 40px #0a251d20; border: 1px solid var(--line); }
.language-options > a { display: flex; align-items: center; gap: 15px; padding: 10px 12px; white-space: nowrap; font-size: 14px; }
.language-options > a > span { width: 20px; color: var(--muted); font-size: 10px; }
.language-options > a:hover, .language-options > a[aria-current=true] { background: #e6e9df; }

.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 50px; padding: 12px 24px; border: 1px solid var(--ink); font-size: 13px; transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.dark { background: var(--ink); color: white; }
.editorial-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 38px; padding: 10px 0; border-bottom: 1px solid #ffffff85; font-size: 14px; transition: gap .25s; }
.editorial-link:hover { gap: 50px; }
.editorial-link .icon { width: 21px; height: 21px; }
.dark-link { border-color: #879281; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-size: 13px; }

/* V1 home hero: transparent header, left editorial title, local image gradient. */
.haras-hero { position: relative; isolation: isolate; height: 94svh; min-height: 760px; max-height: 1060px; overflow: hidden; background: #304236; color: white; }
.haras-hero-photo, .haras-hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; }
.haras-hero-overlay { z-index: -1; background: linear-gradient(90deg, #10241f78 0%, #192d2133 48%, transparent 82%), linear-gradient(0deg, #112b2385 0%, transparent 58%, #13291f42 100%); }
.hero-editorial { position: absolute; left: 7%; top: 28%; right: 7%; animation: appear 1s both; }
.hero-editorial > .eyebrow { margin-bottom: 32px; font-size: 11px; letter-spacing: 2.5px; }
.haras-hero h1 { max-width: 1050px; margin: 0; font-size: clamp(85px, 8.6vw, 145px); line-height: .9; letter-spacing: -2.8px; }
.hero-intro-line { display: flex; align-items: center; gap: 80px; max-width: 85%; margin-top: 38px; }
.hero-intro-line > span { color: #f1f3e8; font-size: 14px; line-height: 1.75; max-width: 340px; }
.hero-side { position: absolute; right: 7%; bottom: 135px; }
.film-button { display: flex; align-items: center; gap: 15px; color: inherit; font-size: 13px; }
.circle { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #ffffff80; border-radius: 50%; }
.circle .icon { width: 17px; height: 17px; }
.hero-baseline { position: absolute; bottom: 31px; left: 5.5%; right: 5.5%; padding-top: 22px; border-top: 1px solid #ffffff30; display: flex; justify-content: space-between; gap: 25px; font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase; }
.hero-baseline .icon { width: 13px; height: 13px; margin-left: 10px; }

.haras-intro { padding: 135px 0 125px; display: grid; grid-template-columns: .36fr 1fr 1.05fr; gap: 65px; align-items: center; }
.intro-label { align-self: start; display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.tiny-serif { font-family: var(--serif); font-size: 23px; color: var(--muted); }
.haras-intro h2 { margin-bottom: 35px; font-size: clamp(58px, 6vw, 86px); line-height: .94; letter-spacing: -2px; }
.haras-intro-copy > p { max-width: 390px; margin-bottom: 20px; font-size: 16px; line-height: 1.85; }
.haras-intro-copy > .quiet-copy { color: var(--muted); }
.intro-portrait { margin: 0; align-self: start; }
.intro-portrait > img, .intro-portrait > picture > img { height: 580px; object-position: 45% 50%; }
.intro-portrait figcaption { padding-top: 16px; color: var(--muted); font-size: 12px; }

.expertise-section { padding: 90px 0 105px; background: var(--soft); }
.expertise-heading { display: grid; grid-template-columns: .48fr 1fr .8fr; gap: 35px; align-items: end; margin-bottom: 58px; }
.expertise-heading > .eyebrow { align-self: start; padding-top: 12px; }
.expertise-heading h2 { font-size: clamp(49px, 4.4vw, 67px); }
.expertise-heading > p:last-child { padding-bottom: 5px; color: var(--muted); line-height: 1.8; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 29px; }
.expertise-image { position: relative; height: 440px; overflow: hidden; }
.expertise-image img { transition: transform .8s; }
.expertise-card:hover img { transform: scale(1.035); }
.image-index { position: absolute; bottom: 18px; left: 20px; color: white; font-family: var(--serif); font-size: 27px; }
.expertise-title { margin: 23px 0 14px; display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.expertise-title h3 { margin: 0; font-size: 32px; line-height: 1.06; }
.expertise-title .icon { width: 21px; }
.expertise-card > p { max-width: 340px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.haras-landscape { position: relative; isolation: isolate; height: 660px; overflow: hidden; }
.haras-landscape > picture, .haras-landscape > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.haras-landscape::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 55%, #102b2190); }
.landscape-caption { position: absolute; bottom: 37px; left: 7%; right: 7%; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; }
.stat-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 38px 7%; background: var(--footer); color: white; }
.stat-strip > div { padding: 4px 25px; border-left: 1px solid #ffffff30; }
.stat-strip > div:first-child { border-left: 0; }
.stat-strip b { display: block; font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1; }
.stat-strip span { display: block; margin-top: 9px; font-size: 12px; color: #d9e0d7; }
.stat-strip.light { margin: 45px 0 65px; padding: 30px 0; background: transparent; color: var(--ink); border-block: 1px solid var(--line); }
.stat-strip.light > div { border-color: var(--line); }
.stat-strip.light span { color: var(--muted); }

.selected-section { padding: 120px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.selected-heading h2 { margin-bottom: 26px; font-size: clamp(54px, 5vw, 74px); }
.selected-heading > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.8; }
.pedigree-list { border-top: 1px solid var(--line); }
.pedigree-list > a { display: grid; grid-template-columns: 45px 1fr 24px; gap: 22px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pedigree-year { color: var(--muted); font-size: 11px; }
.pedigree-list h3 { margin: 0 0 8px; font-size: 34px; }
.pedigree-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 540px; }

.team-section { padding: 115px 0; background: #e7e9df; }
.team-heading { display: grid; grid-template-columns: .6fr 1.1fr .85fr; gap: 55px; align-items: end; margin-bottom: 58px; }
.team-heading > .eyebrow { align-self: start; }
.team-heading h2 { margin: 0; font-size: clamp(54px, 5.5vw, 78px); }
.team-heading > p:last-child { color: var(--muted); line-height: 1.8; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.team-card { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 390px; background: var(--paper); }
.team-card > picture { display: block; min-width: 0; }
.team-card > img, .team-card > picture > img { min-height: 390px; object-position: center 28%; }
.team-card > div { padding: 42px 35px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.team-card h3 { margin: 0 0 21px; font-size: 39px; }
.team-card a { margin-top: 7px; font-size: 13px; overflow-wrap: anywhere; }
.team-album { margin-top: 72px; }
.team-album h3 { margin-bottom: 26px; font-size: clamp(36px, 4vw, 56px); }
.team-group-photo { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.team-group-photo img { width: 100%; height: auto; aspect-ratio: 2000 / 1544; object-fit: contain; }
.team-gallery-more { margin-top: 26px; border-block: 1px solid var(--line); }
.team-gallery-more summary { padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; cursor: pointer; list-style: none; }
.team-gallery-more summary::-webkit-details-marker { display: none; }
.team-gallery-more summary .icon { transition: transform .28s ease; }
.team-gallery-more[open] summary .icon { transform: rotate(45deg); }
.team-gallery-more[data-expanded="false"] summary .icon { transform: none; }
.horses-team-gallery { padding: 70px 0 100px; }
.horses-team-gallery .team-album { margin-top: 0; }
.team-gallery-more .gallery { margin: 0 0 28px; }
.team-gallery-more .gallery img { object-fit: cover; }
.reference-pedigree { max-width: 760px; margin: 24px 0; font-size: 16px; line-height: 1.8; }
.reference-pedigree > span { display: block; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--muted); }

.home-houses, .estate-section { padding: 95px 0; background: #dfe3d8; }
.estate-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 9%; }
.estate-photo { height: 520px; }
.estate-copy .eyebrow { color: var(--muted); }
.estate-copy h2 { margin-bottom: 28px; }
.estate-copy p { max-width: 430px; margin-bottom: 30px; color: var(--muted); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.journal-stories { padding: 105px 0; }
.journal-stories h2 { margin: 0; font-size: 62px; }
.journal-intro { max-width: 360px; color: var(--muted); }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.journal-grid img { height: 350px; transition: transform .5s; }
.journal-grid a:hover img { transform: scale(1.02); }
.journal-grid .eyebrow { margin: 23px 0 15px; }
.journal-grid h3 { margin: 0 0 20px; font-size: 35px; }
.instagram-feed { min-height: 320px; }
.instagram-feed:empty { display: grid; place-items: center; }
.instagram-feed:empty::before { content: 'Instagram'; color: var(--muted); font-family: var(--serif); font-size: 34px; }
.instagram-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.instagram-post { display: block; aspect-ratio: 1; overflow: hidden; background: #e1e5dc; }
.instagram-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.instagram-post:hover img { transform: scale(1.035); }
.instagram-retry { display: block; margin: 20px auto 0; border: 1px solid currentColor; background: transparent; color: inherit; padding: 10px 18px; cursor: pointer; font: inherit; }
.instagram-retry[hidden] { display: none; }
.instagram-retry:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.instagram-fallback { display: flex; justify-content: flex-end; margin: 22px 0 0; }

/* Inner pages retain V1's centred photographic hero. */
.hero { position: relative; isolation: isolate; height: min(850px, 90svh); min-height: 640px; overflow: hidden; background: #314233; color: white; }
.hero-media, .hero > picture, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-shade { z-index: -1; background: linear-gradient(180deg, #101c2085 0%, #14211f55 35%, #12271f55 60%, #0c241e90 100%); }
.inner-hero { height: 650px; min-height: 550px; }
.hero-content { height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 120px 20px 155px; }
.hero-content .eyebrow { margin-bottom: 28px; letter-spacing: 3px; }
.hero h1 { max-width: 1120px; margin: 0; font-size: clamp(68px, 7.1vw, 108px); letter-spacing: -2.6px; line-height: .97; }
.hero-content > p:not(.eyebrow) { max-width: 650px; margin: 25px 0 30px; color: #f5f4eb; }
.hero-bottom { position: absolute; bottom: 30px; left: 5.5%; right: 5.5%; display: flex; align-items: center; justify-content: space-between; text-transform: uppercase; font-size: 10px; letter-spacing: 1.5px; }

.intro { padding: 94px 0 86px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; }
.intro h2 { font-size: clamp(44px, 4vw, 59px); }
.intro .body-copy { max-width: 440px; margin-left: auto; color: var(--muted); line-height: 1.9; }
.service-stories { padding: 100px 0; }
.service-story { display: grid; grid-template-columns: 1.05fr 1fr; gap: 9%; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.service-story:nth-child(even) .service-story-image { order: 2; }
.service-story-image { height: 560px; }
.service-story h2 { margin-bottom: 25px; }
.service-story p:not(.eyebrow) { max-width: 480px; color: var(--muted); line-height: 1.85; }
.instagram-band { padding: 65px 7%; background: var(--ink); color: white; display: flex; justify-content: space-between; gap: 35px; align-items: center; }
.instagram-band h2 { margin: 0; font-size: 45px; }
.instagram-band p { margin: 12px 0 0; color: #c3cdbc; }

.programmes-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; padding: 100px 0; }
.programmes-heading h2 { margin-bottom: 24px; font-size: 63px; }
.programmes-heading > p:not(.eyebrow) { max-width: 360px; color: var(--muted); }
.programme-list details { border-top: 1px solid var(--line); }
.programme-list details:last-child { border-bottom: 1px solid var(--line); }
.programme-list summary { list-style: none; cursor: pointer; padding: 25px 0; display: flex; align-items: center; gap: 23px; font-family: var(--serif); font-size: 32px; line-height: 1.15; }
.programme-list summary::-webkit-details-marker { display: none; }
.programme-number { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.programme-toggle { margin-left: auto; display: flex; transition: transform .28s ease; }
.programme-list details[open] .programme-toggle { transform: rotate(45deg); }
.programme-list details[data-expanded="false"] .programme-toggle { transform: none; }
.programme-panel { padding: 0 20px 28px 38px; color: var(--muted); }
.programme-panel p { line-height: 1.85; }

.facilities-detail { padding: 100px 0; }
.facilities-detail .section-head > p { max-width: 430px; color: var(--muted); }
.facilities-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: start; margin-bottom: 60px; }
.large-list { margin: 0; padding: 0; list-style: none; }
.large-list li { padding: 17px 0; border-bottom: 1px solid var(--line); }
.facilities-copy > div { padding-top: 14px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 55px; }
.gallery button { position: relative; height: 300px; padding: 0; overflow: hidden; }
.gallery button img { transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button::after { content: ''; position: absolute; right: 15px; bottom: 15px; width: 32px; height: 32px; border-radius: 50%; background: var(--paper) url('/assets/arrow-up-right.svg') center / 17px 17px no-repeat; }
.sales-section { padding: 100px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 9%; align-items: center; }
.sales-section p:not(.eyebrow) { max-width: 460px; color: var(--muted); }
.sales-section > picture { display: block; min-width: 0; }
.sales-section > img, .sales-section > picture > img { height: 560px; }
.reference-stories { padding: 70px 0 120px; }
.reference-story { display: grid; grid-template-columns: .35fr .8fr 1fr; gap: 45px; align-items: start; padding: 50px 0; border-bottom: 1px solid var(--line); }
.reference-story h2 { margin: 0; font-size: 52px; }
.reference-facts { grid-column: 3; padding-top: 24px; }
.reference-facts .reference-pedigree { margin: 0; }
.reference-facts .reference-pedigree + .reference-pedigree { margin-top: 12px; }
.reference-story-copy { grid-column: 2 / -1; max-width: 76ch; }
.reference-story-copy p { margin: 0; color: var(--muted); line-height: 1.85; }
.reference-media { grid-column: 2 / -1; margin-top: 18px; }
.reference-media > .eyebrow { margin-bottom: 18px; color: var(--muted); }
.reference-photo { max-width: 560px; }
.reference-photo img { height: auto; aspect-ratio: 3 / 2; }
.reference-photo--portrait { max-width: 420px; }
.reference-photo--portrait img { aspect-ratio: 3 / 4; }
.reference-photo .film-button { margin-top: 25px; }
.reference-gallery { display: flex; align-items: flex-start; gap: 14px; }
.reference-gallery button { position: relative; flex-basis: 0; min-width: 0; padding: 0; background: transparent; }
.reference-gallery picture, .reference-gallery img { display: block; width: 100%; height: auto; }
.reference-gallery button::after { content: ''; position: absolute; right: 15px; bottom: 15px; width: 32px; height: 32px; border-radius: 50%; background: var(--paper) url('/assets/arrow-up-right.svg') center / 17px 17px no-repeat; }

.property-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; padding-bottom: 90px; }
.property-image { display: block; height: 430px; overflow: hidden; }
.property-image img { transition: transform .6s; }
.property-image:hover img { transform: scale(1.035); }
.property-info { padding: 24px 0; }
.property-info .eyebrow { color: var(--muted); }
.property-info h3 { margin: 0 0 15px; font-size: 44px; }
.property-info > p { max-width: 500px; margin-bottom: 22px; color: var(--muted); }
.property-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 25px; color: var(--muted); font-size: 13px; }
.property-links { display: flex; flex-wrap: wrap; gap: 25px; align-items: center; }
.house-instagram { padding: 90px 0; background: #dfe3d8; }
.house-instagram > .container { display: grid; grid-template-columns: 1fr .75fr; gap: 100px; align-items: end; }
.house-instagram h2 { font-size: clamp(54px, 5vw, 73px); }
.house-instagram p { color: var(--muted); }
.property-detail { padding: 75px 0 100px; }
.property-summary { display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; }
.property-summary h2 { margin: 14px 0 25px; }
.property-summary p { max-width: 650px; color: var(--muted); }
.booking-panel { align-self: start; padding: 30px; border: 1px solid var(--line); }
.booking-panel h3 { margin: 0 0 15px; font-size: 31px; }
.booking-panel .btn { width: 100%; margin-bottom: 24px; }
.amenities { display: flex; flex-wrap: wrap; gap: 25px; margin: 30px 0; padding: 20px 0; border-block: 1px solid var(--line); font-size: 14px; }
.property-gallery-heading { margin-top: 85px; }
.property-film { padding: 60px 0; background: #dfe3d8; }
.property-film .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.dark-film { color: var(--ink); }
.dark-film .circle { border-color: var(--ink); }
.other-property { padding: 90px 0; }
.other-property .property-card { max-width: 620px; }

.activities-guide { padding: 105px 0 120px; }
.activities-guide-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; align-items: end; padding-bottom: 70px; }
.activities-guide-intro h2 { max-width: 690px; margin: 0; font-size: clamp(54px, 6vw, 88px); }
.activities-guide-intro-copy { max-width: 590px; }
.activities-guide-intro-copy > p { margin: 0 0 30px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.activity-index { display: flex; flex-wrap: wrap; gap: 9px; }
.activity-index a { padding: 9px 13px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.activity-index a:hover { background: var(--ink); color: white; border-color: var(--ink); }
.activity-chapter { display: grid; grid-template-columns: .68fr 1.32fr; gap: 10%; padding: 75px 0; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.activity-chapter-heading { position: sticky; top: 135px; align-self: start; }
.activity-chapter-heading h2 { margin: 12px 0 20px; font-size: clamp(40px, 4vw, 62px); }
.activity-chapter-heading > p:last-child { max-width: 420px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.activity-source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.activity-source { min-height: 245px; padding: 28px 25px 25px 0; display: flex; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); }
.activity-source:nth-child(odd) { padding-right: 28px; }
.activity-source:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.activity-source h3 { margin: 0 0 18px; font-size: 29px; line-height: 1.12; }
.activity-source p { margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.activity-source .text-link { margin-top: auto; }
.activities-guide .notice { max-width: 720px; margin: 45px 0 0 42%; color: var(--muted); font-size: 13px; }
.activities-stay { padding: 110px 0; background: var(--footer); color: white; }
.activities-stay-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8%; align-items: center; }
.activities-stay-copy h2 { margin: 12px 0 24px; font-size: clamp(48px, 5vw, 76px); }
.activities-stay-copy > p:not(.eyebrow) { max-width: 470px; color: #d2d9ce; font-size: 16px; line-height: 1.75; }
.activities-stay-copy .editorial-link { color: white; border-color: #ffffff85; }
.activities-stay-images { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.activities-stay-card { display: block; color: white; }
.activities-stay-card picture, .activities-stay-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.activities-stay-card span { display: flex; justify-content: space-between; gap: 15px; padding-top: 14px; font-size: 13px; }
.activities-stay-card .icon { width: 17px; height: 17px; }
.text-page { max-width: 850px; padding: 95px 0 130px; }
.text-page h1 { margin-bottom: 60px; font-size: clamp(50px, 6vw, 82px); }
.text-page h2 { margin-top: 45px; font-size: 32px; }

/* V1 contact and footer extended for functional Netlify forms. */
.contact-section { padding: 110px 0; background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10%; align-items: start; }
.contact-copy > .eyebrow { color: var(--muted); }
.contact-copy h2 { margin-bottom: 30px; font-size: clamp(62px, 6.5vw, 92px); }
.contact-copy > p { max-width: 410px; color: var(--muted); line-height: 1.85; }
.contact-direct { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 30px; }
.contact-direct a { font-size: 14px; border-bottom: 1px solid #99a194; }
.contact-form { display: flex; flex-direction: column; gap: 24px; padding-top: 7px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: flex; flex-direction: column; gap: 9px; }
.contact-form label > span { color: var(--muted); font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea, .updates-form input { width: 100%; padding: 12px 2px; border: 0; border-bottom: 1px solid #aeb4a8; border-radius: 0; background: transparent; color: var(--ink); font-size: 16px; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { align-self: flex-start; margin-top: 5px; }
.contact-form .form-consent { flex-direction: row; align-items: flex-start; gap: 10px; }
.form-consent input, .updates-consent input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; }
.contact-form .form-consent > span { color: var(--muted); font-size: 13px; letter-spacing: 0; text-transform: none; }
.form-required, .form-status { margin: 0; color: var(--muted); font-size: 12px; }
.form-status:not([hidden]) { padding: 12px; border-left: 2px solid currentColor; }
.form-trap { position: absolute; left: -9999px; }
.footer { padding: 85px 0 24px; background: var(--footer); color: var(--paper); }
.updates-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; padding-bottom: 58px; border-bottom: 1px solid #ffffff28; }
.updates-row .eyebrow { color: #bec8bb; }
.updates-row h2 { margin-bottom: 10px; font-size: 43px; }
.updates-row > div > p:last-child { margin: 0; color: #cdd5cb; font-size: 14px; }
.updates-form { display: flex; flex-direction: column; gap: 13px; }
.updates-fields { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid #ffffff70; }
.updates-form input { border: 0; color: white; }
.updates-form input::placeholder { color: #d7ddd3; }
.updates-fields button { padding: 10px 0 10px 24px; color: white; font-size: 12px; }
.updates-fields button, .contact-form .btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; }
.updates-fields .icon, .contact-form .btn .icon { width: 18px; height: 18px; }
.updates-consent { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; color: #d7ddd3; font-size: 12px; }
.updates-consent input { width: 17px; border: 1px solid white; }
.updates-note { margin: 0; color: #aebdaf; font-size: 11px; }
.footer-social { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; padding: 54px 0 26px; }
.footer-social > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-social .eyebrow { color: #aebdaf; }
.footer-social p, .footer-social a, .footer-social address { margin: 0; color: #d2d9ce; font-size: 13px; font-style: normal; }
.footer-signature { padding: 5px 0 35px; margin-left: -.015em; color: #e7eade; font-family: var(--serif); font-size: clamp(90px, 15vw, 230px); letter-spacing: .018em; line-height: 1; }
.footer-bottom { padding-top: 23px; border-top: 1px solid #ffffff25; display: flex; justify-content: space-between; gap: 25px; color: #bfccbc; font-size: 10px; letter-spacing: 1px; }
.footer-legal { display: flex; gap: 25px; }
.footer-legal a { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; }
.confirmation-page { min-height: calc(100vh - 110px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }

.dialog { width: min(1100px, 92vw); max-height: 92svh; overflow: visible; padding: 0; border: 0; background: #14271e; color: white; }
.dialog::backdrop { background: #0b1711e8; backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 0; top: -47px; padding: 0 8px; color: white; font-size: 32px; line-height: 1; }
.dialog video { display: block; width: 100%; max-height: 80svh; }
.dialog img { max-height: 78svh; object-fit: contain; }
.dialog-caption { padding: 12px 18px; font-size: 13px; }
.lightbox-controls { display: flex; justify-content: space-between; align-items: center; padding: 8px 15px; }
.lightbox-controls button { color: white; font-size: 25px; }
.gateway, .not-found { min-height: 100vh; background: var(--footer); color: white; }
.gateway main, .not-found main { min-height: 100vh; display: grid; grid-template-columns: 1.12fr .88fr; }
.gateway-visual, .not-found-visual { min-height: 100vh; overflow: hidden; }
.gateway-photo, .not-found-photo { object-position: center; }
.gateway-panel, .not-found-panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(45px, 7vw, 110px); background: var(--paper); color: var(--ink); }
.gateway-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: clamp(50px, 8vh, 90px); font-family: var(--serif); font-size: 31px; letter-spacing: 2px; line-height: 1; }
.gateway-brand img { width: 44px; height: 50px; margin: 0; object-fit: contain; filter: brightness(0) saturate(100%) invert(19%) sepia(13%) saturate(1112%) hue-rotate(101deg) brightness(90%) contrast(88%); }
.gateway-brand small { display: block; margin-top: 7px; font-family: var(--sans); font-size: 7px; letter-spacing: 3px; text-align: center; }
.gateway h1, .not-found h1 { max-width: 620px; margin-bottom: 25px; font-size: clamp(50px, 5vw, 78px); letter-spacing: -1.5px; }
.gateway-panel > p:not(.eyebrow), .not-found-panel > p:not(.eyebrow) { max-width: 470px; color: var(--muted); }
.gateway nav { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 25px; }
.gateway nav a { min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.gateway nav a::after { content: '→'; font-family: var(--sans); }
.gateway nav a:hover { background: var(--ink); color: white; border-color: var(--ink); }
.not-found-panel .btn { margin-top: 25px; }
.reveal { animation: appear .85s ease-out both; }
@keyframes appear { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1250px) {
  .navlinks { display: none; }
  .menu-toggle { display: flex; padding: 8px 0; }
  .language-switch { margin-left: auto; }
  .mobile-nav { display: flex; position: fixed; inset: 110px 0 0; z-index: 25; padding: 35px 8%; flex-direction: column; gap: 22px; background: #21382dfc; color: var(--paper); transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .mobile-nav { overflow-y: auto; overscroll-behavior: contain; }
  .mobile-nav.open { transform: translateX(0); visibility: visible; }
  .mobile-nav a { font-family: var(--serif); font-size: 38px; line-height: 1.1; }
  .mobile-nav small { margin-top: 20px; font-size: 10px; letter-spacing: 2px; }
  .haras-intro { gap: 40px; grid-template-columns: .2fr 1fr 1fr; }
  .expertise-image { height: 370px; }
  .selected-section { gap: 65px; }
}

@media (max-width: 1000px) {
  .haras-intro { grid-template-columns: 1fr 1fr; }
  .intro-label { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
  .expertise-heading, .team-heading { grid-template-columns: 1fr 1fr; }
  .expertise-heading > .eyebrow, .team-heading > .eyebrow { grid-column: 1 / -1; }
  .expertise-grid { gap: 20px; }
  .expertise-title h3 { font-size: 28px; }
  .selected-section { gap: 45px; }
  .team-card { grid-template-columns: 1fr; grid-template-rows: 430px 1fr; }
  .team-card > img, .team-card > picture > img { height: 430px; }
  .contact-layout { gap: 6%; }
  .property-summary { gap: 45px; }
  .gallery button { height: 230px; }
  .activities-guide-intro, .activity-chapter, .activities-stay-grid { gap: 6%; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 85px; }
  .container { width: 88%; }
  .nav { height: 85px; padding: 0 6%; gap: 14px; }
  .mobile-nav { top: 85px; }
  .brand { min-width: 0; gap: 6px; }
  .brand img { width: 36px; height: 42px; }
  .wordmark { display: block; font-size: 27px; letter-spacing: 1.8px; }
  .brand small { font-size: 6.4px; letter-spacing: 2.3px; }
  .language-switch { margin-left: auto; font-size: 11px; }
  .language-options { right: -54px; min-width: 205px; }
  .menu-toggle { font-size: 0; }
  .menu-toggle .icon { width: 23px; height: 23px; }
  .mobile-nav a { font-size: 36px; }
  .haras-hero { height: 90svh; min-height: 700px; max-height: 900px; }
  .haras-hero-photo { object-position: 58% center !important; }
  .hero-editorial { top: 25%; left: 7%; right: 7%; }
  .hero-editorial > .eyebrow { margin-bottom: 25px; font-size: 10px; letter-spacing: 1.7px; }
  .haras-hero h1 { font-size: clamp(52px, 12.4vw, 68px); line-height: .93; letter-spacing: -1.4px; }
  .hero-intro-line { margin-top: 32px; max-width: 100%; flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-intro-line > span { font-size: 13px; }
  .hero-side { right: 7%; bottom: 79px; }
  .hero-side .film-button { font-size: 11px; }
  .hero-side .circle { width: 39px; height: 39px; }
  .hero-baseline { bottom: 22px; left: 7%; right: 7%; padding-top: 18px; font-size: 9px; letter-spacing: .8px; }
  .hero-baseline > span:nth-child(2) { display: none; }
  .haras-intro { padding: 65px 0 70px; grid-template-columns: 1fr; gap: 30px; }
  .intro-label { grid-column: auto; padding: 0; }
  .haras-intro h2 { font-size: 58px; letter-spacing: -1.4px; }
  .intro-portrait > img, .intro-portrait > picture > img { height: 470px; }
  .expertise-section { padding: 65px 0; }
  .expertise-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; }
  .expertise-heading > .eyebrow { grid-column: auto; }
  .expertise-heading h2 { font-size: 48px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 42px; }
  .expertise-image { height: 420px; }
  .haras-landscape { height: 430px; }
  .landscape-caption { bottom: 25px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .stat-strip { grid-template-columns: 1fr 1fr; padding: 25px 6%; }
  .stat-strip > div { padding: 18px; border-left: 0; border-top: 1px solid #ffffff30; }
  .stat-strip.light > div { border-color: var(--line); }
  .selected-section { padding: 65px 0; grid-template-columns: 1fr; gap: 30px; }
  .selected-heading h2 { font-size: 50px; }
  .team-section { padding: 65px 0; }
  .team-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 38px; }
  .team-heading > .eyebrow { grid-column: auto; }
  .team-heading h2 { font-size: 49px; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .team-card { grid-template-rows: 380px auto; }
  .team-card > img, .team-card > picture > img { height: 380px; min-height: 0; }
  .estate-grid { grid-template-columns: 1fr; gap: 38px; }
  .estate-photo { height: 360px; }
  .journal-stories { padding: 65px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 20px; }
  .journal-stories h2 { font-size: 49px; }
  .journal-grid { grid-template-columns: 1fr; gap: 40px; }
  .journal-grid img { height: 360px; }
  .hero { min-height: 550px; height: 70svh; }
  .hero h1 { font-size: clamp(43px, 11.5vw, 60px); overflow-wrap: anywhere; }
  .hero-content { padding: 110px 6% 95px; }
  .hero-bottom .location { max-width: 52%; }
  .intro, .service-story, .sales-section { grid-template-columns: 1fr; gap: 35px; }
  .intro { padding: 55px 0; }
  .intro .body-copy { margin-left: 0; }
  .service-stories { padding: 25px 0 65px; }
  .service-story { padding: 40px 0; }
  .service-story:nth-child(even) .service-story-image { order: 0; }
  .service-story-image, .sales-section > img, .sales-section > picture > img { height: 420px; }
  .instagram-band { align-items: flex-start; flex-direction: column; padding: 45px 6%; }
  .programmes-section { grid-template-columns: 1fr; gap: 35px; padding: 65px 0; }
  .programmes-heading h2 { font-size: 51px; }
  .programme-list summary { font-size: 27px; gap: 17px; }
  .facilities-detail { padding: 65px 0; }
  .facilities-copy { grid-template-columns: 1fr; gap: 35px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 35px; }
  .gallery button { height: 190px; }
  .gallery button:first-child { grid-column: 1 / -1; height: 300px; }
  .sales-section { padding: 65px 0; }
  .reference-story { grid-template-columns: 1fr; gap: 12px; padding: 38px 0; }
  .reference-story h2 { font-size: 43px; }
  .reference-facts { grid-column: auto; padding-top: 0; }
  .reference-story-copy { grid-column: auto; }
  .reference-media { grid-column: auto; margin-top: 20px; }
  .reference-gallery { flex-direction: column; gap: 16px; }
  .reference-gallery button { flex-basis: auto; width: 100%; }
  .property-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 50px; }
  .property-image { height: 360px; }
  .property-info h3 { font-size: 36px; }
  .house-instagram { padding: 60px 0; }
  .house-instagram > .container { grid-template-columns: 1fr; gap: 28px; }
  .property-summary { grid-template-columns: 1fr; gap: 35px; }
  .property-detail { padding: 50px 0; }
  .property-film .container { align-items: flex-start; flex-direction: column; }
  .other-property { padding: 65px 0; }
  .activities-guide { padding: 65px 0 75px; }
  .activities-guide-intro { grid-template-columns: 1fr; gap: 28px; padding-bottom: 50px; }
  .activities-guide-intro h2 { font-size: 51px; }
  .activity-index { gap: 7px; }
  .activity-index a { padding: 8px 10px; }
  .activity-chapter { grid-template-columns: 1fr; gap: 25px; padding: 50px 0; }
  .activity-chapter-heading { position: static; }
  .activity-chapter-heading h2 { font-size: 43px; }
  .activity-source-list { grid-template-columns: 1fr; }
  .activity-source, .activity-source:nth-child(odd), .activity-source:nth-child(even) { min-height: 0; padding: 25px 0; border-left: 0; }
  .activity-source h3 { font-size: 28px; }
  .activities-guide .notice { margin: 38px 0 0; }
  .activities-stay { padding: 68px 0; }
  .activities-stay-grid { grid-template-columns: 1fr; gap: 40px; }
  .activities-stay-copy h2 { font-size: 51px; }
  .activities-stay-images { gap: 10px; }
  .activities-stay-card span { font-size: 12px; }
  .contact-section { padding: 65px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .contact-copy h2 { font-size: 59px; }
  .form-grid { grid-template-columns: 1fr; }
  .updates-row { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 28px 24px 32px; border: 1px solid #ffffff38; }
  .updates-row h2 { font-size: 42px; }
  .updates-form { padding-top: 5px; }
  .updates-fields { grid-template-columns: 1fr; }
  .updates-fields button { min-height: 48px; padding: 13px 0; text-align: left; font-size: 13px; }
  .updates-consent { font-size: 13px; }
  .updates-note { font-size: 12px; }
  .footer-social { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-social > div:last-child { grid-column: 1 / -1; }
  .footer-signature { padding-bottom: 25px; font-size: 15.6vw; }
  .footer-bottom { flex-wrap: wrap; font-size: 11px; }
  .footer-bottom > span { width: 100%; }
  .footer-legal { width: 100%; justify-content: space-between; }
  .is-preview .footer { padding-bottom: 110px; }
  .dialog { width: 94vw; }
  .instagram-feed { min-height: 420px; }
  .instagram-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gateway main, .not-found main { grid-template-columns: 1fr; }
  .gateway-visual, .not-found-visual { min-height: 42svh; height: 42svh; }
  .gateway-panel, .not-found-panel { min-height: 58svh; padding: 44px 7%; }
  .gateway-brand { margin-bottom: 38px; }
  .gateway h1, .not-found h1 { font-size: clamp(45px, 12vw, 60px); }
  .gateway nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 390px) {
  .brand img { width: 34px; }
  .wordmark { font-size: 26px; }
  .brand small { letter-spacing: 1.7px; }
  .language-switch { margin-left: auto; }
  .haras-hero h1 { font-size: clamp(49px, 12.4vw, 66px); }
  .expertise-image { height: 360px; }
  .property-meta { gap: 14px; }
}

@media (min-width: 1700px) {
  .haras-hero { max-height: 1060px; }
  .hero { max-height: 960px; height: 87svh; }
}

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

.hero-side .film-button small { font-size: 9px; letter-spacing: 1.4px; }
@media (min-width: 1700px) { .hero.inner-hero { height: 650px; } }

/* Long legal terms stay readable at narrow widths in every language. */
.text-page { overflow-wrap: anywhere; hyphens: auto; }

/* Publication navigation: the same destinations in the header and footer. */
.stay-ribbon { min-height: 34px; display:flex; justify-content:flex-end; align-items:center; padding:6px 5.5%; background:#e6e9df; color:var(--ink); font-size:12px; line-height:1.5; }
.stay-ribbon a { display:inline-flex; align-items:center; gap:10px; }
.stay-ribbon .icon { width:13px; height:13px; }
.nav { top:34px; }
.nav.solid-nav { top:auto; }
.navlinks { gap:24px; }
.nav-group { position:relative; }
.nav-group > summary { display:flex; align-items:center; gap:7px; list-style:none; cursor:pointer; min-height:44px; }
.nav-group > summary::-webkit-details-marker { display:none; }
.nav-group > summary .icon { width:12px; height:12px; }
.nav-group[open] > summary .icon { transform:rotate(180deg); }
.nav-group.current-group > summary { text-decoration:underline; text-underline-offset:7px; }
.nav-submenu { position:absolute; right:0; top:100%; min-width:260px; padding:12px; background:var(--paper); color:var(--ink); box-shadow:0 14px 40px #0a251d25; border:1px solid var(--line); }
.nav-submenu a { display:block; padding:12px; font-size:14px; line-height:1.4; }
.nav-submenu a:hover, .nav-submenu a[aria-current=page] { background:#e6e9df; }
.breadcrumbs { padding-block:20px; font-size:12px; color:var(--muted); }
.breadcrumbs ol { list-style:none; display:flex; flex-wrap:wrap; gap:8px 12px; margin:0; padding:0; }
.breadcrumbs li { display:flex; align-items:center; gap:12px; }
.breadcrumbs li + li::before { content:'/'; opacity:.6; }
.breadcrumbs a:hover { text-decoration:underline; }
.footer-navigation { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:50px; padding:40px 0; border-bottom:1px solid #ffffff30; }
.footer-navigation h3 { font:500 14px var(--sans); margin:0 0 18px; }
.footer-navigation a { display:block; width:fit-content; max-width:100%; overflow-wrap:anywhere; padding:7px 0; font-size:13px; line-height:1.5; color:#e1e7dc; }
.footer-navigation a:hover, .footer-navigation a[aria-current=page] { text-decoration:underline; text-underline-offset:4px; }
.page-heading { padding:35px 0 65px; max-width:900px; }
.page-heading h1 { font:400 clamp(48px,6vw,88px)/1.02 var(--serif); margin:20px 0 28px; }
.page-heading > p:not(.eyebrow) { color:var(--muted); max-width:65ch; font-size:17px; }
.team-page, .boarding-page { padding-bottom:90px; }
.team-page .team-card h2 { font-size:34px; margin:6px 0 18px; }
.team-page .team-card a { overflow-wrap:anywhere; }
.staff-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; margin-top:65px; }
.staff-card > picture { display:block; }
.staff-card img { display:block; aspect-ratio:4/5; width:100%; height:auto; object-fit:cover; object-position:center; }
.staff-card h2 { font-size:34px; margin:22px 0 5px; }
.staff-card p { font-size:14px; color:var(--muted); }
.team-section .editorial-link { margin-top:28px; }
.boarding-intro { display:grid; grid-template-columns:1fr 1fr; gap:8%; align-items:center; }
.boarding-intro img { height:510px; object-fit:cover; }
.boarding-intro h2, .boarding-work h2 { font-size:clamp(38px,4vw,60px); }
.boarding-intro p, .boarding-work p { color:var(--muted); }
.boarding-work { padding:70px 0 45px; max-width:850px; }
.related-links { display:flex; flex-wrap:wrap; gap:12px 35px; }
/* One visible form, with optional direct contact and directions alongside it. */
.contact-page-section { padding-top: 55px; }
.contact-page-section .contact-layout { row-gap: 32px; }
.contact-page-section .contact-copy h1 { margin: 0 0 24px; font-size: clamp(48px, 4.5vw, 68px); }
.contact-page-section .contact-form { grid-column: 2; grid-row: 1 / span 2; }
.contact-options { grid-column: 1; grid-row: 2; min-width: 0; }
.contact-alternatives { border-block: 1px solid var(--line); }
.contact-alternatives summary { padding: 18px 0; cursor: pointer; font-size: 14px; }
.contact-alternatives a { display: inline-block; max-width: 100%; padding-block: 10px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.contact-alternatives dl { margin: 8px 0 18px; }
.contact-alternatives dl > div + div { margin-top: 8px; }
.contact-alternatives dt { color: var(--muted); font-size: 12px; }
.contact-alternatives dd { margin: 0; }
.contact-location { padding-top: 28px; }
.contact-location h2 { font: 500 14px var(--sans); margin: 0 0 12px; }
.contact-location address { font-style: normal; font-size: 14px; line-height: 1.8; }
.address-link { display: inline-block; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.address-link:hover { text-decoration-thickness: 2px; }
@media (max-width: 700px) {
  .contact-page-section { padding-top: 30px; }
  .contact-page-section .contact-layout { gap: 28px; }
  .contact-page-section .contact-form, .contact-options { grid-column: auto; grid-row: auto; }
}
.sales-references { padding-block:70px; }
.sales-references h2 { max-width:850px; }
.sales-references ul { list-style:none; padding:0; margin:40px 0 0; }
.sales-references li { display:flex; gap:30px; align-items:center; justify-content:space-between; padding:24px 0; border-top:1px solid var(--line); }
.sales-references h3 { font-size:29px; margin:0 0 8px; }
.sales-references p { font-size:13px; margin:0; color:var(--muted); }
.destination { flex-shrink:0; font-size:14px; }
.reference-invitation { padding-block:45px; border-top:1px solid var(--line); }
.reference-invitation h2 { max-width:850px; }
.reference-media .film-button { margin-top:24px; }
.service-story#training img, .expertise-card[href$='#training'] img { object-position:center 65% !important; }
@media(max-width:1250px) {
 .mobile-nav { top:144px; max-height:calc(100dvh - 144px); overflow-y:auto; padding:22px 7% 35px; }
 .mobile-nav .nav-group { border-bottom:1px solid #ffffff30; }
 .mobile-nav .nav-group > summary { justify-content:space-between; font:400 30px/1.25 var(--serif); padding:14px 0; }
 .mobile-nav .nav-submenu { position:static; min-width:0; background:transparent; color:inherit; border:0; box-shadow:none; padding:0 0 15px 16px; }
 .mobile-nav .nav-submenu a { font:400 16px/1.4 var(--sans); padding:10px 0; white-space:normal; }
 .mobile-nav .nav-submenu a:hover, .mobile-nav .nav-submenu a[aria-current=page] { background:transparent; text-decoration:underline; }
 .mobile-nav > .nav-book { font-size:30px; padding:18px 0; }
 .mobile-nav small { display:block; padding-top:20px; }
}
@media(max-width:700px) {
 .stay-ribbon { justify-content:center; font-size:11px; }
 .footer-navigation { grid-template-columns:1fr 1fr; gap:30px 20px; }
 .staff-grid, .boarding-intro { grid-template-columns:1fr; gap:35px; }
 .staff-grid { max-width:430px; margin-inline:auto; }
 .page-heading { padding:20px 0 45px; }
 .page-heading h1 { font-size:48px; }
 .boarding-intro img { height:380px; }
 .sales-references li { flex-direction:column; align-items:flex-start; gap:12px; }
 .team-page,.boarding-page { padding-bottom:55px; }
}
@media(prefers-reduced-motion:reduce) { .nav-group *, .staff-card * { transition:none !important; } }

@media(max-width:700px) { .mobile-nav { top:119px; max-height:calc(100dvh - 119px); gap:8px; } }

/* UX review: preserve the original layout, type, palette and imagery. */
.nav-placeholder { height: var(--nav-resting-height); }
.nav.is-stuck { position: fixed; top: 0; height: var(--nav-compact-height); background: var(--footer); }
.nav.disclosure-open, .nav.mobile-menu-open { background: var(--footer); }
@media(min-width:1251px) {
  .nav .brand { transform-origin: left center; transition: transform 180ms ease-out; }
  .nav.is-stuck .brand { transform: scale(.82); }
}
.navlinks .nav-group[open] > .nav-submenu { animation: nav-reveal 160ms ease-out; }
.nav-submenu, .language-options { max-height: calc(100dvh - var(--nav-panel-top, 144px) - 16px); overflow-y: auto; overscroll-behavior: contain; }
.nav-submenu a, .language-options > a { min-height: 44px; }
.menu-toggle, .language-switch > summary, .nav-book { position: relative; }
.menu-toggle::before, .language-switch > summary::before, .nav-book::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%);
}
@keyframes nav-reveal { from { opacity: .7; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:1250px) {
  .mobile-nav { top: var(--nav-panel-top, 144px); max-height: calc(100dvh - var(--nav-panel-top, 144px)); padding-bottom: max(35px, env(safe-area-inset-bottom)); }
  .mobile-nav .nav-submenu { max-height: none; overflow: visible; }
  .mobile-nav .nav-submenu a { min-height: 44px; }
}
@media(max-width:700px) {
  :root { --nav-resting-height: 85px; --nav-compact-height: 68px; }
  .mobile-nav { top: var(--nav-panel-top, 119px); max-height: calc(100dvh - var(--nav-panel-top, 119px)); }
}
@media(prefers-reduced-motion:reduce) {
  .navlinks .nav-group[open] > .nav-submenu { animation: none; }
  .nav .brand { transition: none; }
}
@media(forced-colors:active) { :root { --focus: Highlight; } }

:root {
  --nav-gap: 30px;
  --nav-panel-radius: 0;
  --shadow-panel: 0 20px 52px #0a251d26;
  --shadow-stuck: 0 12px 34px #0a251d33;
}

.stay-ribbon { letter-spacing: .02em; }
.stay-ribbon a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s ease; }
.stay-ribbon a:hover { text-decoration-color: currentColor; }
.stay-ribbon .icon { transition: transform .2s cubic-bezier(.22, .61, .36, 1); }
.stay-ribbon a:hover .icon { transform: translate(2px, -2px); }

.nav { padding-inline: 5.5%; }

.nav:not(.solid-nav) { border-bottom-color: transparent; }

.nav:not(.solid-nav):not(.is-stuck):not(.disclosure-open):not(.mobile-menu-open)::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #10241fc4 0%, #10241f99 68%, #10241f00 100%);
}

.nav:not(.solid-nav)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, #ffffff00 0%, #ffffff42 11%, #ffffff42 89%, #ffffff00 100%);
}

.nav.is-stuck {
  border-bottom-color: #ffffff1f;
  box-shadow: var(--shadow-stuck);
}

.navlinks { gap: var(--nav-gap); font-size: 14px; }

.navlinks a,
.nav-group > summary { letter-spacing: .022em; }

@media (min-width: 1251px) {
  .navlinks a,
  .nav-group > summary { font-weight: 500; white-space: nowrap; }

  .nav-group > summary { position: relative; padding-block: 4px; }

  .nav-group > summary .icon {
    width: 13px;
    height: 13px;
    transition: transform .22s cubic-bezier(.22, .61, .36, 1);
  }

  .nav-group > summary::after {
    content: '';
    position: absolute;
    left: 0;
    right: 14px;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .22s cubic-bezier(.22, .61, .36, 1);
  }
  .nav-group > summary:hover::after,
  .nav-group > summary:focus-visible::after,
  .nav-group[open] > summary::after { transform: scaleX(1); }

  .nav-group.current-group > summary { text-decoration: none; }
  .nav-group.current-group > summary::after {
    height: 1.5px;
    background: #c5aa7b;
    transform: scaleX(1);
    transition: transform .22s cubic-bezier(.22, .61, .36, 1);
  }
}

@media (max-width: 1250px) {
  .mobile-nav .nav-group.current-group > summary { text-decoration: none; }
  .mobile-nav .nav-group.current-group > summary > span {
    padding-bottom: 4px;
    border-bottom: 1.5px solid var(--focus);
  }
}

.nav-book span { margin-left: 0; }
.navlinks .nav-book {
  padding: 11px 18px;
  border: 1px solid #ffffff59;
  border-radius: var(--nav-panel-radius);
  font-weight: 500;
  letter-spacing: .02em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.navlinks .nav-book:hover,
.navlinks .nav-book:focus-visible,
.navlinks .nav-book[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.language-switch { font-size: 12px; }
.language-switch > summary {
  gap: 8px;
  padding: 11px 0;
  font-weight: 500;
  letter-spacing: .09em;
}
.language-switch > summary::after {
  content: '';
  position: absolute;
  left: 0;
  right: 14px;
  bottom: 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s cubic-bezier(.22, .61, .36, 1);
}
.language-switch > summary:hover::after,
.language-switch[open] > summary::after { transform: scaleX(1); }
.language-switch > summary .icon { transition: transform .22s cubic-bezier(.22, .61, .36, 1); }

.language-options {
  min-width: 236px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--nav-panel-radius);
  box-shadow: var(--shadow-panel);
}
.language-options > a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 11px 12px 11px 16px;
  font-size: 13.5px;
  white-space: nowrap;
  transition: background .18s ease;
}
.language-options > a > span { width: auto; font-size: 10px; letter-spacing: .11em; color: var(--muted); }
.language-options > a:hover { background: var(--soft); }
.language-options > a[aria-current="true"] { background: transparent; }
.language-options > a[aria-current="true"] > span { color: var(--ink); font-weight: 700; }
.language-options > a[aria-current="true"]::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  width: 2px;
  height: 16px;
  transform: translateY(-50%);
  background: #c5aa7b;
}
.language-options > a { position: relative; }

@media (min-width: 1251px) {
  .nav-submenu {
    min-width: 0;
    width: max-content;
    max-width: min(380px, 92vw);
    padding: 8px;
    border: 1px solid var(--line);
    border-top: 2px solid var(--focus);
    border-radius: var(--nav-panel-radius);
    box-shadow: var(--shadow-panel);
  }
  .nav-submenu a {
    padding: 12px 14px;
    border-radius: var(--nav-panel-radius);
    white-space: normal;
    overflow-wrap: anywhere;
    transition: background .18s ease;
  }
  .nav-submenu a:hover,
  .nav-submenu a:focus-visible,
  .nav-submenu a[aria-current="page"] { background: var(--soft); }

  .navlinks .nav-group > .nav-submenu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }
}

@media (min-width: 1251px) and (prefers-reduced-motion: no-preference) {
  .navlinks .nav-group[open] > .nav-submenu > a {
    animation: nav-item .24s cubic-bezier(.22, .61, .36, 1) both;
  }
  .navlinks .nav-group[open] > .nav-submenu > a:nth-child(1) { animation-delay: 0ms; }
  .navlinks .nav-group[open] > .nav-submenu > a:nth-child(2) { animation-delay: 26ms; }
  .navlinks .nav-group[open] > .nav-submenu > a:nth-child(3) { animation-delay: 52ms; }
  .navlinks .nav-group[open] > .nav-submenu > a:nth-child(4) { animation-delay: 78ms; }
  .navlinks .nav-group[open] > .nav-submenu > a:nth-child(5) { animation-delay: 104ms; }
  .navlinks .nav-group[open] > .nav-submenu > a:nth-child(6) { animation-delay: 130ms; }
}
@keyframes nav-item {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1250px) {

  .nav-enhanced .mobile-nav {
    background: var(--footer);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, transform .24s cubic-bezier(.22, .61, .36, 1), visibility .24s;
  }
  .nav-enhanced .mobile-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }

  .mobile-nav .nav-group > summary .icon {
    width: 20px;
    height: 20px;
    transition: transform .22s cubic-bezier(.22, .61, .36, 1);
  }
  .mobile-nav .nav-submenu { padding-top: 2px; }
  .mobile-nav .nav-submenu a { padding-block: 12px; }

  .mobile-nav > .nav-book {
    align-self: flex-start;
    padding: 14px 24px;
    border: 1px solid #ffffff59;
    font-size: 24px;
  }
}

.editorial-link .icon,
.text-link .icon,
.pedigree-arrow .icon,
.expertise-title .icon,
.landscape-caption .icon { transition: transform .2s cubic-bezier(.22, .61, .36, 1); }

.editorial-link:hover .icon,
.text-link:hover .icon,
.pedigree-list > a:hover .pedigree-arrow .icon,
.expertise-card:hover .expertise-title .icon,
.landscape-caption:hover .icon { transform: translate(2px, -2px); }

.footer-navigation a,
.footer-social a,
.contact-direct a { transition: color .18s ease; }

@media (prefers-reduced-motion: reduce) {
  .nav-group > summary::after,
  .language-switch > summary::after,
  .nav-group > summary .icon,
  .language-switch > summary .icon,
  .stay-ribbon .icon,
  .stay-ribbon a,
  .editorial-link .icon,
  .text-link .icon,
  .pedigree-arrow .icon,
  .expertise-title .icon { transition: none !important; }
  .mobile-nav { transition: none !important; }
}

@media (forced-colors: active) {
  .nav-group.current-group > summary::after,
  .language-options > a[aria-current="true"]::before,
  .nav-submenu { border-color: Highlight; }
}

/* Keep the first screen immediately readable; motion belongs below the fold. */
.hero-editorial, .hero-content.reveal { animation: none; }
.nav { transition: background-color .22s ease, box-shadow .22s ease; }
.nav::after { pointer-events: none; }
.nav-enhanced .mobile-nav:not(.open) { pointer-events: none; }
.mobile-nav > .nav-book { margin-top: 18px; }
@media (min-width: 1251px) and (max-width: 1400px) {
  .navlinks { gap: 22px; }
  .language-switch { margin-left: 8px; }
}
@media (forced-colors: active) {
  .nav-group.current-group > summary::after,
  .language-options > a[aria-current="true"]::before { background: Highlight; }
}

/* Shared finishing pass. Approved fonts, colours, imagery and content stay authoritative. */
:root {
  --page-gutter: clamp(24px, 6vw, 112px);
  --section-space: clamp(64px, 7.5vw, 116px);
  --column-gap: clamp(32px, 5.5vw, 88px);
  --type-body: 16px;
  --reading-leading: 1.8;
  --shadow-panel: 0 18px 32px -18px #14271e40;
  --shadow-stuck: 0 7px 20px -15px #14271e50;
  --ease-ui: cubic-bezier(.22,.61,.36,1);
}
html { scroll-padding-top: 100px; }
body { font-size: var(--type-body); line-height: var(--reading-leading); }
::selection { background: #d4dbc9; color: #21382d; }
input, textarea { caret-color: var(--ink); accent-color: var(--ink); }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; }
main :is(p, li, h1, h2, h3, a), footer a { overflow-wrap: anywhere; }
main :is(section, div, article, figure), footer :is(div, nav) { min-width: 0; }
.container { width: min(1280px, calc(100% - var(--page-gutter) * 2)); }
.btn, .editorial-link, .text-link { min-height: 48px; line-height: 1.5; gap: 24px; }
.btn { transition: background-color .2s var(--ease-ui), color .2s var(--ease-ui), border-color .2s var(--ease-ui); }
.btn:hover { transform: none; }
.editorial-link:hover { gap: 24px; }
:focus-visible { outline-offset: 5px; }

/* The final introduction needs a real reading column, not the initial three-column slot. */
.haras-intro {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 32px var(--column-gap);
  align-items: start;
  padding-block: var(--section-space);
}
.intro-label {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.intro-label .eyebrow { margin: 0; }
.intro-label .tiny-serif { font-size: 20px; }
.haras-intro h2 {
  margin-bottom: 28px;
  font-size: clamp(48px, 4.65vw, 72px);
  line-height: 1.02;
  letter-spacing: -.028em;
}
.haras-intro-copy > p {
  max-width: 65ch;
  margin-bottom: 20px;
  font-size: var(--type-body);
  line-height: var(--reading-leading);
}
.haras-intro-copy > .editorial-link { margin-top: 4px; }
.intro-portrait { align-self: start; }
.intro-portrait > img, .intro-portrait > picture > img {
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.intro-portrait figcaption { padding-top: 14px; font-size: 12px; line-height: 1.6; }

/* One rhythm for related sections, with breathing room dictated by content. */
:is(.expertise-section,.team-section,.selected-section,.home-houses,.estate-section,
    .journal-stories,.intro,.sales-section,.programmes-section,.facilities-detail,
    .contact-section,.activities-stay,.other-property,.house-instagram) {
  padding-block: var(--section-space);
}
:is(.intro,.selected-section,.programmes-section,.property-summary,.contact-layout,
    .estate-grid,.service-story,.facilities-copy,.activities-guide-intro,.activities-stay-grid,
    .boarding-intro) { column-gap: var(--column-gap); }
.expertise-heading, .team-heading { gap: 24px 40px; margin-bottom: 44px; }
.expertise-heading h2, .team-heading h2 { margin-bottom: 0; line-height: 1.04; }
.expertise-heading > p:last-child, .team-heading > p:last-child { margin-bottom: 0; }
.intro { align-items: start; }
.intro .body-copy { max-width: 65ch; line-height: var(--reading-leading); }
.expertise-grid, .journal-grid { gap: clamp(22px, 2.3vw, 36px); }
.expertise-image { height: auto; aspect-ratio: 4 / 5; }
.expertise-card > p { max-width: 42ch; margin-bottom: 0; }
.expertise-title h3 { font-size: clamp(28px, 2.3vw, 34px); line-height: 1.13; }
.expertise-title .icon { flex-shrink: 0; margin-top: 7px; }
.service-stories { padding-block: 30px var(--section-space); }
.service-story { padding-block: clamp(40px, 5vw, 72px); }
.service-story h2, .estate-copy h2 { line-height: 1.06; }
:is(.service-story,.estate-copy,.selected-heading,.property-info) p:not(.eyebrow) { max-width: 65ch; }
.programmes-heading h2, .contact-copy h2 { font-size: clamp(44px, 4.7vw, 72px); line-height: 1.05; }
.programme-list summary { padding-block: 24px; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.2; gap: 18px; }
.programme-number, .programme-toggle { flex-shrink: 0; }
.programme-panel { padding: 0 0 28px 30px; }
.programme-panel p { max-width: 65ch; line-height: var(--reading-leading); }
.booking-panel { padding: clamp(24px, 3vw, 40px); }
.booking-panel .btn { gap: 16px; }
.contact-form { gap: 26px; }
.contact-form :is(input,select,textarea) { min-height: 48px; transition: border-color .18s ease, background-color .18s ease; }
.contact-form :is(input,select,textarea):focus { border-bottom-color: var(--ink); background: #eaece344; }
.contact-form .form-consent input { min-height: 18px; }
.contact-form label > span { line-height: 1.6; }
.form-consent { line-height: 1.6; }
.breadcrumbs { padding-block: 22px; line-height: 1.6; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-navigation a, .footer-social a { text-underline-offset: 5px; }
.footer-navigation { column-gap: var(--column-gap); }
.updates-row { gap: var(--column-gap); }
.footer-signature { font-size: clamp(64px, 14.5vw, 216px); }
.footer-bottom { flex-wrap: wrap; }
.footer-legal { flex-wrap: wrap; gap: 12px 24px; }

/* Preserve the photographic opening, but let its content establish its minimum height. */
.haras-hero {
  height: auto;
  min-height: min(940px, 94svh);
  max-height: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(194px, 25svh, 280px) var(--page-gutter) 132px;
}
.hero-editorial { position: relative; inset: auto; width: min(1280px, 100%); margin-inline: auto; }
.haras-hero h1 { font-size: clamp(54px, 8.25vw, 128px); line-height: .98; letter-spacing: -.025em; }
.hero-intro-line { max-width: 100%; gap: clamp(32px, 5vw, 80px); flex-wrap: wrap; }
.hero-intro-line > span { font-size: 14px; max-width: 360px; }
.hero-baseline { left: var(--page-gutter); right: var(--page-gutter); line-height: 1.6; }
.hero { height: auto; min-height: min(720px, 82svh); max-height: none; }
.hero-content { min-height: inherit; height: auto; padding: 180px var(--page-gutter) 115px; }
.hero h1 { font-size: clamp(48px, 6.9vw, 104px); line-height: 1.04; }
.hero-content > p:not(.eyebrow) { line-height: 1.7; }
.hero-bottom { gap: 24px; line-height: 1.6; }

/* A continuous full-width navigation panel; small controls keep the house's quiet character. */
.nav { padding-inline: var(--page-gutter); gap: 18px; }
.nav.is-stuck { box-shadow: var(--shadow-stuck); }
.nav:not(.solid-nav)::after { background: #ffffff26; }
.navlinks { gap: clamp(12px, 1.5vw, 26px); }
.navlinks .nav-group > summary { padding: 10px 12px; min-height: 46px; border-radius: 2px; transition: background-color .18s var(--ease-ui); }
.navlinks .nav-group > summary:hover,
.navlinks .nav-group[open] > summary { background: #ffffff10; }
.navlinks .nav-group > summary::after { left: 12px; right: 27px; bottom: 4px; }
.navlinks .nav-book { padding: 11px 20px; min-height: 46px; }
.language-switch { margin-left: 4px; }
.language-switch > summary { padding: 12px 4px; min-height: 46px; }
.language-options { padding: 8px; border: 0; box-shadow: var(--shadow-panel); }
.language-options > a { padding-block: 12px; }
@media (min-width: 1251px) {
  .navlinks .nav-group { position: static; }
  .navlinks .nav-submenu {
    top: 100%; left: 0; right: 0;
    width: 100%; max-width: none; min-width: 0;
    padding: 28px var(--page-gutter) 32px;
    border: 0; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 32px;
    background: var(--paper);
    box-shadow: var(--shadow-panel);
  }
  .navlinks .nav-submenu a {
    min-height: 58px; display: flex; align-items: center;
    padding: 16px 12px; font-size: 16px; font-weight: 400;
    white-space: normal; line-height: 1.45;
    border-bottom: 1px solid var(--line);
    transition: color .18s ease, background-color .18s ease;
  }
  .navlinks .nav-submenu a[aria-current="page"] { background: var(--soft); }
  .navlinks .nav-group > .nav-submenu::before { top: -16px; height: 16px; }
  .navlinks .nav-group[open] > .nav-submenu { animation: nav-reveal .2s var(--ease-ui); }
  .navlinks .nav-group[open] > .nav-submenu > a { animation: none; }
}
@media (max-width: 1250px) {
  .nav { gap: 20px; }
  .language-switch { margin-left: auto; }
  .mobile-nav { padding-inline: var(--page-gutter); gap: 6px; }
  .mobile-nav .nav-group > summary { padding-block: 19px; font-size: clamp(27px, 4vw, 36px); }
  .mobile-nav .nav-submenu { padding: 0 0 18px; }
  .mobile-nav .nav-submenu a { padding: 12px 0; font-size: 16px; line-height: 1.55; }
  .mobile-nav > .nav-book { margin-top: 24px; padding: 12px 24px; }
  .mobile-nav small { margin-top: 18px; line-height: 1.7; }
}

/* Content-driven intermediate layouts, including narrow foldable panes. */
@media (max-width: 1000px) {
  .haras-intro { column-gap: 36px; }
  .expertise-heading, .team-heading { grid-template-columns: 1fr 1fr; }
  .expertise-heading > .eyebrow, .team-heading > .eyebrow { grid-column: 1 / -1; }
  .team-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .team-card > img, .team-card > picture > img { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .team-card > div { padding: 28px; }
  .team-card h3, .team-page .team-card h2 { font-size: 32px; }
  .staff-grid { gap: 24px; }
  .staff-card h2 { font-size: 30px; }
  .activity-source-list { grid-template-columns: 1fr; }
  .activity-source, .activity-source:nth-child(odd), .activity-source:nth-child(even) { padding: 24px 0; border-left: 0; min-height: 0; }
}
@media (max-width: 900px) {
  :root { --column-gap: 32px; }
  .haras-intro { grid-template-columns: 1fr; row-gap: 28px; }
  .haras-intro-copy { max-width: 65ch; }
  .intro-portrait { width: min(100%, 560px); margin-top: 12px; }
  .intro-portrait > img, .intro-portrait > picture > img { aspect-ratio: 4 / 5; }
  .intro, .programmes-section, .property-summary, .contact-layout, .boarding-intro,
  .activities-guide-intro, .activity-chapter, .activities-stay-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .intro .body-copy { margin-left: 0; }
  .intro h2, .programmes-heading h2 { max-width: 18ch; }
  .programmes-heading > p:not(.eyebrow) { max-width: 65ch; }
  .contact-page-section .contact-form, .contact-options { grid-column: auto; grid-row: auto; }
  .contact-page-section .contact-form { grid-row: 2; }
  .contact-copy > p { max-width: 65ch; }
  .booking-panel { width: 100%; }
  .activity-chapter-heading { position: static; }
  .activities-guide .notice { margin-left: 0; }
  .footer-social, .footer-navigation { gap: 28px; }
  .updates-row { grid-template-columns: 1fr; gap: 28px; }
  .stat-strip { padding-inline: var(--page-gutter); }
  .stat-strip > div { padding-inline: 12px; }
}
@media (max-width: 700px) {
  :root { --page-gutter: clamp(20px, 6vw, 40px); --type-body: 16px; }
  .nav { gap: 14px; }
  .nav .brand { gap: 6px; }
  .wordmark { font-size: clamp(22px, 6.7vw, 30px); letter-spacing: .045em; }
  .brand small { letter-spacing: .26em; }
  .brand img { width: 30px; height: 38px; }
  .language-switch { margin-left: auto; }
  .language-options { right: -44px; max-width: calc(100vw - 40px); }
  .haras-hero { min-height: min(780px, 90svh); padding-top: clamp(170px, 25svh, 230px); padding-bottom: 115px; }
  .haras-hero h1 { font-size: clamp(46px, 12.3vw, 76px); line-height: 1.01; }
  .hero-editorial > .eyebrow { font-size: 10px; letter-spacing: .14em; margin-bottom: 24px; }
  .hero-intro-line { margin-top: 28px; gap: 20px; flex-direction: column; align-items: flex-start; }
  .hero-intro-line > span { max-width: 38ch; font-size: 14px; }
  .hero-baseline { bottom: 22px; font-size: 8px; gap: 16px; }
  .hero-baseline a { text-align: right; }
  .hero { min-height: min(660px, 82svh); }
  .hero-content { padding-top: 160px; padding-bottom: 108px; }
  .hero h1 { font-size: clamp(42px, 10.8vw, 68px); }
  .hero-bottom { font-size: 9px; letter-spacing: .08em; }
  .haras-intro h2 { font-size: clamp(44px, 11.4vw, 64px); }
  .intro-label { padding-top: 14px; }
  .haras-intro-copy > p { margin-bottom: 20px; }
  .intro-portrait { margin-top: 8px; }
  .expertise-heading, .team-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 34px; }
  .expertise-heading > .eyebrow, .team-heading > .eyebrow { grid-column: auto; padding-top: 0; margin-bottom: 0; }
  .expertise-heading h2, .team-heading h2, .selected-heading h2,
  .programmes-heading h2, .contact-copy h2 { font-size: clamp(42px, 10.8vw, 60px); }
  .expertise-grid { gap: 38px; }
  .expertise-image { height: auto; }
  .expertise-title { margin-block: 20px 12px; }
  .expertise-title h3 { font-size: 32px; }
  .team-card { grid-template-rows: auto auto; }
  .team-card > div { padding: 30px; }
  .service-story, .sales-section, .selected-section { grid-template-columns: 1fr; gap: 30px; }
  .service-story-image, .sales-section > picture > img, .estate-photo, .property-image { height: auto; aspect-ratio: 4 / 3; }
  .estate-grid, .house-instagram > .container { grid-template-columns: 1fr; gap: 30px; }
  .programme-list summary { font-size: 26px; gap: 12px; }
  .programme-panel { padding-left: 0; }
  .property-meta { gap: 12px 20px; }
  .property-links { gap: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-layout { gap: 32px; }
  .footer { padding-top: 60px; }
  .updates-row { padding: 0 0 38px; border: 0; border-bottom: 1px solid #ffffff28; }
  .updates-row h2 { font-size: 38px; }
  .footer-navigation { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-navigation a { padding-block: 9px; }
  .footer-social { grid-template-columns: 1fr 1fr; }
  .footer-signature { font-size: 15vw; }
  .footer-bottom, .footer-legal { gap: 12px 20px; }
  .sales-references li { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .dialog-close { min-width: 44px; min-height: 44px; }
}
@media (max-width: 560px) {
  .footer-social { grid-template-columns: 1fr; gap: 28px; }
  .footer-social > div:last-child { grid-column: auto; }
}
@media (max-width: 359px) {
  :root { --page-gutter: 16px; }
  .nav { gap: 10px; }
  .brand img { width: 24px; }
  .wordmark { font-size: 22px; }
  .brand small { font-size: 5.8px; letter-spacing: .18em; }
  .language-switch { font-size: 10px; }
  .haras-hero h1 { font-size: 44px; }
  .footer-navigation, .footer-social { grid-template-columns: 1fr; }
  .footer-social > div:last-child { grid-column: auto; }
  .stat-strip b { font-size: 32px; }
}
/* Short landscape windows need a scrollable page and reachable menus, not a cropped hero. */
@media (max-height: 600px) and (min-width: 701px) {
  .haras-hero { min-height: 590px; padding-top: 175px; padding-bottom: 108px; }
  .haras-hero h1 { font-size: clamp(60px, 7.1vw, 98px); }
  .hero-content { padding-top: 165px; padding-bottom: 105px; }
  .hero { min-height: 540px; }
  .activity-chapter-heading { position: static; }
  .mobile-nav .nav-group > summary { font-size: 26px; padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .navlinks .nav-group[open] > summary { outline: 1px solid Highlight; }
  .navlinks .nav-submenu, .language-options { border: 1px solid CanvasText; }
}

/* Local concept: a quiet transparent header, then an open editorial menu. */
:root {
  --section-space: clamp(64px, 7.5vw, 112px);
  --nav-resting-height: 104px;
  --nav-compact-height: 88px;
}
.nav {
  --nav-editorial: 1;
  --nav-panel-opacity: 0;
  --nav-panel-scale: 0;
  --nav-foreground: #fff;
  --nav-hover: rgb(255 255 255 / .1);
  height: var(--nav-resting-height);
  color: var(--nav-foreground);
  transition: transform .36s cubic-bezier(.22,1,.36,1), color .26s ease;
}
.nav, .nav.solid-nav, .nav.is-stuck, .nav.disclosure-open, .nav.mobile-menu-open {
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav.is-stuck { height: var(--nav-compact-height); }
.nav[data-tone="dark"], .nav.solid-nav, .nav.nav-expanded, .nav.mobile-menu-open {
  --nav-foreground: #202321;
  --nav-hover: rgb(32 35 33 / .045);
}
.nav[data-tone="light"]:not(.nav-expanded):not(.mobile-menu-open) {
  --nav-foreground: #fff;
  --nav-hover: rgb(255 255 255 / .1);
}
:is(.nav, .nav:not(.solid-nav):not(.is-stuck):not(.disclosure-open):not(.mobile-menu-open))::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: var(--nav-reveal-height, 0px);
  z-index: -1;
  pointer-events: none;
  background: #fff;
  opacity: var(--nav-panel-opacity);
  transform: scaleY(var(--nav-panel-scale));
  transform-origin: top;
  transition: opacity .26s ease, transform .42s cubic-bezier(.22,1,.36,1);
}
.nav.nav-expanded, .nav.mobile-menu-open { --nav-panel-opacity: 1; --nav-panel-scale: 1; }
/* Independent opacity layer: the header fades without affecting the menu expansion. */
:is(.nav, .nav:not(.solid-nav))::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background: #fff;
  opacity: 0;
  transition: opacity .26s ease;
}
.nav.is-stuck::after { background: #f5f4ef; opacity: 1; }
.nav-blur { display: none; }
.nav.nav-away { transform: translateY(calc(-100% - 40px)); }
.nav .brand, .nav.is-stuck .brand { transform: none; min-width: 0; gap: 0; }
.nav .brand img { display: none; }
.nav .wordmark { font-size: clamp(38px, 3.1vw, 50px); letter-spacing: .065em; }
.nav .brand small { font-size: 8px; letter-spacing: .38em; margin-top: 7px; }
.nav .navlinks { gap: clamp(8px, 1.4vw, 30px); font-size: 14px; }
.navlinks .nav-group > summary { padding: 12px 14px; border-radius: 2px; }
.navlinks .nav-group > summary:hover, .navlinks .nav-group[open] > summary { background: var(--nav-hover); }
.navlinks .nav-group > summary::after { height: 1px; background: currentColor; opacity: .45; }
.navlinks .nav-book, .navlinks .nav-book:hover, .navlinks .nav-book:focus-visible,
.navlinks .nav-book[aria-current="page"] {
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
.navlinks .nav-book { transition: background-color .18s ease; }
.navlinks .nav-book:hover { text-decoration: underline; text-underline-offset: 7px; }
.nav > .language-switch { margin-left: 8px; padding-left: 0; border: 0; font-size: 12px; }
.nav .menu-toggle { color: inherit; }
.language-options { background: #fff; color: #202321; border: 0; box-shadow: 0 12px 28px rgb(0 0 0 / .06); }
@media (min-width: 1251px) {
  .navlinks .nav-submenu {
    padding: 42px max(var(--page-gutter), calc((100vw - 1040px) / 2)) 58px;
    grid-template-columns: minmax(240px, 1fr) minmax(280px, 400px);
    column-gap: clamp(80px, 10vw, 200px);
    align-items: start;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #202321;
  }
  .navlinks .nav-submenu .nav-menu-links { display: flex; flex-direction: column; align-items: flex-start; }
  .navlinks .nav-submenu a {
    border: 0; min-height: 44px; padding: 10px 0;
    font-family: var(--sans); font-size: 17px; line-height: 1.45; font-weight: 400;
    transition: color .18s ease;
  }
  .navlinks .nav-submenu a:hover, .navlinks .nav-submenu a[aria-current="page"] { background: transparent; text-decoration: underline; text-underline-offset: 6px; }
  .navlinks .nav-submenu .nav-feature { display: block; padding: 0; }
  .nav-feature img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
  .nav-feature span { display: block; margin-top: 15px; font-size: 13px; }
  .navlinks .nav-group[open] > .nav-submenu { animation: editorial-menu-in .38s cubic-bezier(.22,1,.36,1) both; }
  .navlinks .nav-group[open] > .nav-submenu > * { animation: none; }
}
@keyframes editorial-menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1250px) {
  :root { --nav-resting-height: 90px; --nav-compact-height: 80px; }
  .nav { gap: 18px; }
  .nav .menu-toggle { order: -1; min-width: 44px; min-height: 44px; justify-content: flex-start; }
  .nav .brand { margin-inline: auto; }
  .nav > .language-switch { margin-left: 0; min-width: 44px; }
  .nav .wordmark { font-size: 38px; }
  .nav-enhanced .mobile-nav, .mobile-nav { background: #fff; color: #202321; padding-top: 30px; }
  .nav-enhanced .mobile-nav { transform: translateY(-12px); transition: opacity .28s ease, transform .36s cubic-bezier(.22,1,.36,1), visibility .28s; }
  .mobile-nav .nav-group { border-bottom: 1px solid rgb(32 35 33 / .12); }
  .mobile-nav .nav-group > summary { padding-block: 22px; font-size: 32px; }
  .mobile-nav > .nav-book { border: 0; padding: 12px 0; font-size: 30px; }
  .mobile-nav small { opacity: .6; }
}
@media (max-width: 700px) {
  :root { --nav-resting-height: 82px; --nav-compact-height: 74px; }
  .nav { gap: 8px; }
  .nav .wordmark { font-size: 30px; letter-spacing: .045em; }
  .nav .brand small { font-size: 6px; letter-spacing: .24em; margin-top: 6px; }
  .nav .language-options { right: 0; }
}
@media (max-width: 359px) { .nav .brand { display: none; } .nav > .language-switch { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { .nav, .nav::before, .nav::after, .navlinks .nav-submenu { transition: none !important; animation: none !important; } }

/* The announcement strip is gone; the approved header starts at the viewport edge. */
.nav { top: 0; }
@media (max-width: 1250px) {
  .mobile-nav { top: var(--nav-panel-top, var(--nav-resting-height)); max-height: calc(100dvh - var(--nav-panel-top, var(--nav-resting-height))); }
}

/* Four editorial service cards, with a restrained reveal and square corners. */
.expertise-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 22px); }
.expertise-card { position: relative; display: block; min-width: 0; aspect-ratio: 3 / 4.5; overflow: hidden; background: #20372e; color: #fff; isolation: isolate; }
.expertise-card::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgb(9 21 17 / .18) 5%, transparent 33%, rgb(8 20 16 / .83) 100%); transition: background-color .4s ease; }
.expertise-card .expertise-image { position: absolute; z-index: -2; inset: 0; height: 100%; aspect-ratio: auto; }
.expertise-card .expertise-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.expertise-card .expertise-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 2vw, 32px); }
.expertise-number { position: absolute; top: clamp(20px, 2vw, 32px); left: clamp(20px, 2vw, 32px); font-size: 11px; letter-spacing: .15em; }
.expertise-content h3 { margin: 0; font-size: clamp(29px, 2.5vw, 39px); line-height: 1.02; }
.expertise-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.22,1,.36,1); }
.expertise-detail > div { min-height: 0; overflow: hidden; }
.expertise-content p { max-width: 30ch; margin: 14px 0 0; font-size: 13px; line-height: 1.52; opacity: 0; transform: translateY(9px); transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1); }
.expertise-arrow { position: absolute; top: clamp(19px, 2vw, 31px); right: clamp(20px, 2vw, 32px); opacity: .88; transition: transform .4s ease; }
.expertise-arrow .icon { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .expertise-card:is(:hover,:focus-visible) .expertise-image img { transform: scale(1.055); }
  .expertise-card:is(:hover,:focus-visible) .expertise-detail { grid-template-rows: 1fr; }
  .expertise-card:is(:hover,:focus-visible) p { opacity: 1; transform: translateY(0); }
  .expertise-card:is(:hover,:focus-visible) .expertise-arrow { transform: translate(2px,-2px); }
}
@media (hover: none), (pointer: coarse) {
  .expertise-detail { grid-template-rows: 1fr; }
  .expertise-content p { opacity: 1; transform: none; }
}
@media (max-width: 1100px) { .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .expertise-card { aspect-ratio: 4 / 4.1; } }
@media (max-width: 700px) { .expertise-grid { grid-template-columns: 1fr; gap: 18px; } .expertise-card { aspect-ratio: 5 / 5.4; } .expertise-content h3 { font-size: clamp(34px, 9vw, 45px); } .expertise-content p { font-size: 14px; } }

/* A concise footer: newsletter, direct contacts, address, legal links. */
.footer { padding: clamp(48px, 6vw, 76px) 0 22px; }
.updates-row { gap: clamp(28px, 6vw, 85px); padding-bottom: 42px; }
.updates-row .eyebrow, .updates-row > div > p:last-child { display: none; }
.updates-row h2 { max-width: 11ch; margin: 0; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.02; }
.footer-social { gap: clamp(25px, 5vw, 80px); padding: 38px 0 35px; }
.footer-social .eyebrow { margin-bottom: 8px; }
.footer-bottom { align-items: center; padding-top: 15px; }
.footer-legal { align-items: center; gap: clamp(15px, 2.5vw, 36px); }
.footer-legal a { min-height: 38px; }

/* Partner marks retain their own colours and proportions. */
.partners-page { padding-block: clamp(58px, 8vw, 120px) clamp(96px, 11vw, 160px); }
.partners-heading { max-width: 820px; margin-bottom: clamp(45px, 6vw, 75px); }
.partners-heading h1 { margin: 0 0 18px; font-size: clamp(66px, 8vw, 112px); line-height: .92; }
.partners-heading > p:last-child { max-width: 47ch; margin: 0; color: var(--muted); font-size: clamp(17px, 1.7vw, 21px); }
.partners-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.partner-card { display: flex; flex-direction: column; min-width: 0; min-height: clamp(300px, 30vw, 430px); padding: clamp(23px, 3vw, 42px); background: #fdfdfa; color: #252925; }
.partner-grevlunda, .partner-equilannoo { background: #273b32; color: #fff; }
.partner-njoy { background: #f0efe9; }
.partner-logo { flex: 1; min-height: 0; display: grid; place-items: center; padding: 18px; }
.partner-logo img { width: auto; max-width: min(75%, 410px); height: auto; max-height: 190px; object-fit: contain; }
.partner-njoy .partner-logo img { max-height: 240px; }
.partner-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding-top: 22px; border-top: 1px solid currentColor; font-size: 13px; }
.partner-caption strong { font-weight: 500; }
.partner-caption > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.partner-caption .icon { width: 15px; height: 15px; }
.partner-card:hover .partner-caption > span { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 700px) { .updates-row { grid-template-columns: 1fr; } .footer-social { grid-template-columns: 1fr 1fr; } .footer-social > div:last-child { grid-column: 1 / -1; } .partners-grid { grid-template-columns: 1fr; } .partner-card { min-height: 290px; } }
@media (max-width: 480px) { .footer-social { grid-template-columns: 1fr; gap: 28px; } .footer-social > div:last-child { grid-column: auto; } .partner-card { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .expertise-card *, .expertise-card::after { transition: none !important; } }

/* The language gateway is one complete viewport, even on short screens. */
.gateway { height: 100svh; min-height: 0; overflow: hidden; }
.gateway main { height: 100%; min-height: 0; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.gateway-visual { height: 100%; min-height: 0; }
.gateway-panel { height: 100%; min-height: 0; overflow: hidden; padding: clamp(22px, 4.8vw, 76px); }
.gateway-brand { margin-bottom: clamp(13px, 3.3vh, 44px); }
.gateway-panel > .eyebrow { margin-bottom: clamp(10px, 2vh, 22px); }
.gateway h1 { width: 100%; margin-bottom: clamp(9px, 1.7vh, 21px); font-size: clamp(42px, 4vw, 62px); line-height: .98; }
.gateway-greetings { position: relative; display: block; height: 2.08em; overflow: hidden; perspective: 800px; }
.gateway-greetings > span { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translate3d(0, .55em, 0) rotateX(-12deg); transform-origin: 50% 80%; backface-visibility: hidden; animation: gateway-greeting 11.4s infinite both; animation-delay: calc(var(--step) * 1.9s - .32s); }
.gateway-greetings > span > span, .gateway-greetings em { display: block; white-space: nowrap; }
.gateway-greetings em { font-style: italic; }
.gateway-panel > p:not(.eyebrow) { margin-bottom: 0; font-size: 14px; }
.gateway nav { margin-top: clamp(14px, 2.8vh, 28px); gap: 8px; }
.gateway nav a { min-height: 46px; padding: 8px 13px; }
@keyframes gateway-greeting {
  0% { opacity: 0; transform: translate3d(0, .55em, 0) rotateX(-12deg); filter: blur(3px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  2.8%, 13.6% { opacity: 1; transform: translate3d(0, 0, 0) rotateX(0); filter: blur(0); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  16.7%, 100% { opacity: 0; transform: translate3d(0, -.55em, 0) rotateX(10deg); filter: blur(3px); }
}
@media (max-width: 1250px) {
  .gateway main { grid-template-columns: 1fr; grid-template-rows: 30% 70%; }
  .gateway-panel { padding: clamp(18px, 4.2vw, 45px) 7%; }
  .gateway-brand { margin-bottom: clamp(10px, 2vh, 24px); }
  .gateway h1 { font-size: clamp(42px, 7.5vw, 64px); }
}
@media (max-width: 700px) {
  .gateway main { grid-template-rows: 28% 72%; }
  .gateway h1 { font-size: clamp(41px, 10.5vw, 58px); }
  .gateway-panel > .eyebrow { font-size: 9px; }
  .gateway nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) { .gateway h1 { font-size: clamp(29px, 9vw, 36px); } }
@media (max-height: 650px) and (max-width: 1250px) {
  .gateway main { grid-template-rows: 18% 82%; }
  .gateway-panel { padding-block: 17px; }
  .gateway-brand { margin-bottom: 10px; }
  .gateway h1 { font-size: clamp(37px, 7vh, 49px); }
  .gateway nav { margin-top: 12px; }
}
@media (max-height: 500px) and (min-width: 540px) {
  .gateway main { grid-template-columns: 39% 61%; grid-template-rows: 1fr; }
  .gateway-panel { padding: 17px 5%; }
  .gateway-panel > .eyebrow { display: none; }
  .gateway-brand { margin-bottom: 8px; }
  .gateway h1 { font-size: clamp(34px, 9vh, 47px); margin-bottom: 8px; }
  .gateway nav { margin-top: 8px; gap: 4px 8px; }
  .gateway nav a { min-height: 44px; }
}
@media (max-height: 400px) {
  .gateway-panel > .eyebrow, .gateway-panel > p:not(.eyebrow) { display: none; }
  .gateway-brand { margin-bottom: 7px; font-size: 24px; }
  .gateway-brand img { width: 31px; height: 36px; }
  .gateway h1 { font-size: clamp(32px, 10vh, 40px); }
}
@media (max-height: 400px) and (max-width: 539px) {
  .gateway main { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .gateway-visual { display: none; }
  .gateway-panel { padding: 12px 6%; }
}
@media (prefers-reduced-motion: reduce) {
  .gateway-greetings > span { animation: none; }
  .gateway-greetings > span:first-child { opacity: 1; transform: none; filter: none; }
}

.partner-wordmark { font-family: var(--font-serif, Georgia, serif); font-size: clamp(48px, 6vw, 82px); font-weight: 500; letter-spacing: -.04em; }
@media (max-width: 700px) { .partners-heading h1 { font-size: clamp(42px, 11vw, 66px); overflow-wrap: normal; hyphens: none; } }
