@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Great+Vibes&family=Source+Sans+3:wght@400;600&display=swap");
:root {
  --font-serif: "Cormorant Garamond";
  --font-sans: "Source Sans 3";
  --font-script: "Great Vibes";
  --ivory: #f6f1e8;
  --ivory-deep: #efe6d6;
  --olive: #3e4639;
  --olive-soft: #4a5344;
  --charcoal: #292824;
  --terracotta: #b56f51;
  --champagne: #c3a46f;
  --line: rgba(41, 40, 36, 0.14);
  --line-strong: rgba(62, 70, 57, 0.28);
  --focus: #b56f51;
  --header-h: 4.25rem;
  --container: min(1120px, calc(100% - 2.5rem));
  --container-wide: min(1320px, calc(100% - 2.5rem));
  --serif: var(--font-serif), "Iowan Old Style", "Palatino Linotype", serif;
  --sans: var(--font-sans), "Gill Sans", "Trebuchet MS", sans-serif;
  --script: var(--font-script), "Great Vibes", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ivory);
  color: var(--charcoal);
}

body {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--terracotta);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  z-index: 80;
}

.skip-link:focus {
  top: 1rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 0.7rem;
}

h1,
h2,
h3,
.serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4.6rem);
  margin: 0;
}

h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 3rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.7rem);
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container-wide {
  width: var(--container-wide);
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 6vw, 7.5rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
}

.section-tight[id],
.section[id] {
  scroll-margin-top: calc(var(--header-h) + 0.8rem);
}

.section::after,
.section-tight::after {
  content: "";
  display: block;
  width: min(36rem, 88%);
  height: 2.8rem;
  margin: 2.4rem auto 0;
  background-color: #5c4a32;
  -webkit-mask: url("../ornaments/grape-divider.svg") center / contain no-repeat;
  mask: url("../ornaments/grape-divider.svg") center / contain no-repeat;
}

.enquiry-band::after {
  background-color: var(--champagne);
}

.lede {
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.28rem);
  max-width: 40rem;
  color: color-mix(in srgb, var(--charcoal) 86%, transparent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  color: inherit;
}

.btn-primary {
  background: var(--olive);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: color-mix(in srgb, var(--ivory) 55%, transparent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--ivory) 12%, transparent);
  color: var(--ivory);
}

.btn-line {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line-strong);
}

.btn-line:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.split {
  display: grid;
  gap: 1.75rem;
}

.split-top {
  align-items: start;
}

.split-fit-photo {
  min-height: min(72vw, 420px);
  aspect-ratio: 4 / 5;
}

.breeding-home-photo {
  min-height: calc(min(50vw, 380px) - 2cm);
  aspect-ratio: 4 / 5;
}

.show-career-photo {
  min-height: min(70vw, 420px);
  aspect-ratio: 744 / 1024;
}

.show-career-photo img {
  object-fit: contain;
  object-position: top center;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--ivory-deep);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--charcoal) 62%, transparent);
  margin-top: 0.65rem;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.team-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.team-card:hover {
  color: inherit;
}

.team-card-photo {
  aspect-ratio: 4 / 5;
  margin-bottom: 0.9rem;
}

.team-card .eyebrow {
  margin-bottom: 0.2rem;
}

.team-card h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
}

.pillar {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.pillars--flush .pillar {
  padding-top: 0;
  border-top: 0;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 1rem;
}

.fact dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0;
}

.fact dd {
  margin: 0.2rem 0 1.1rem;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-chrome.is-hero {
  position: absolute;
  left: 0;
  right: 0;
}

.site-header {
  position: relative;
  z-index: 2;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-hero {
  background: transparent;
  color: var(--ivory);
}

.site-header.is-solid,
.site-header.scrolled {
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  color: var(--charcoal);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  width: var(--container-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(0.92rem, 0.8rem + 0.4vw, 1.05rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover {
  color: inherit;
}

.desktop-nav {
  display: none;
  justify-content: center;
  gap: 0.15rem 1.05rem;
  flex-wrap: wrap;
}

.desktop-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.lang-switch a {
  text-decoration: none;
  min-width: 32px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
}

.lang-switch a[aria-current="true"] {
  opacity: 1;
  text-decoration: underline;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.header-cta {
  display: none;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 3;
  background: var(--ivory);
  color: var(--charcoal);
  padding: 0.65rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  max-height: min(78vh, calc(100dvh - var(--header-h)));
  overflow: auto;
  box-shadow: 0 16px 32px rgba(41, 40, 36, 0.12);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  text-decoration: none;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a.btn {
  border-bottom: 0;
  justify-content: center;
  font-size: 0.95rem;
  margin-top: 0.85rem;
}

.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--charcoal);
  background: var(--ivory);
  display: grid;
  grid-template-rows: minmax(56svh, 62svh) auto;
}

.hero-media {
  position: relative;
  min-height: 56svh;
  background: var(--ivory-deep);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.hero-copy {
  position: relative;
  width: var(--container-wide);
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.hero h1,
.hero-name {
  max-width: none;
}

.hero-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  line-height: 1;
  overflow: visible;
}

.hero-name-line {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1rem + 1.1vw, 2.05rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-name-script {
  font-family: var(--script);
  font-size: clamp(2.55rem, 1.45rem + 3.4vw, 4.55rem);
  font-weight: 400;
  line-height: 1.28;
  padding: 0.18em 0.12em 0.12em 0;
  margin-top: -0.02em;
  overflow: visible;
  background: linear-gradient(180deg, #d4b57a 0%, #8a6238 72%, #6b4a2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-rank {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  margin: 0.7rem 0 0;
}

.hero .lede {
  color: color-mix(in srgb, var(--charcoal) 86%, transparent);
  margin-top: 1rem;
}

.hero-titles {
  margin: 0.7rem 0 0;
  max-width: 40rem;
  font-size: clamp(0.78rem, 0.72rem + 0.28vw, 0.95rem);
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--olive);
}

.hero-note {
  opacity: 0.8;
  margin-top: 0.6rem;
}

.page-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.enquiry-band {
  background: var(--olive);
  color: var(--ivory);
}

.enquiry-band .lede,
.enquiry-band .eyebrow {
  color: color-mix(in srgb, var(--ivory) 80%, transparent);
}

.site-footer {
  background: var(--olive);
  color: var(--ivory);
  padding: 3.5rem 0 2rem;
}

.site-footer a:hover {
  color: var(--champagne);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-nav {
  display: grid;
  gap: 0.45rem;
}

.footer-nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--ivory) 18%, transparent);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.social-list a,
.social-list span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.social-list .muted {
  opacity: 0.55;
}

.status {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 0.4rem 0.7rem;
}

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 40rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--charcoal);
  font: inherit;
  padding: 0.7rem 0.85rem;
  border-radius: 0;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field .error {
  color: #8a3b2a;
  font-size: 0.86rem;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #8a3b2a;
}

.consent {
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  gap: 0.7rem;
  align-items: start;
}

.consent input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
}

.success-panel {
  border: 1px solid var(--line-strong);
  padding: 1.4rem;
  background: #fff;
  max-width: 42rem;
}

.success-panel pre {
  white-space: pre-wrap;
  font-size: 0.82rem;
  background: var(--ivory-deep);
  padding: 1rem;
  overflow: auto;
}

.blog-prose {
  max-width: 38rem;
}

.blog-prose p {
  margin-bottom: 1.15rem;
}

.blog-grid {
  display: grid;
  gap: 1.35rem 1.25rem;
}

.blog-card-photo {
  margin-bottom: 0.7rem;
}

.blog-card--home .blog-card-photo {
  aspect-ratio: 2 / 1;
}

.blog-card--list .blog-card-photo {
  aspect-ratio: 16 / 9;
}

.blog-card--home h3 {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.22rem);
  margin-bottom: 0.35rem;
}

.blog-card--home .blog-card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

.quote {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem);
  line-height: 1.3;
  margin: 2rem 0;
  padding-left: 1rem;
  border-left: 1px solid var(--champagne);
}

.gallery-grid {
  display: grid;
  gap: 0.7rem;
  align-items: start;
}

.gallery-item {
  padding: 0;
  border: 0;
  background: var(--ivory-deep);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 0;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  vertical-align: top;
}

.gallery-grid--compact {
  gap: 0.4rem;
}

.gallery-grid--compact .gallery-item {
  display: grid;
  place-items: center;
  max-height: 9.5rem;
  background: var(--ivory-deep);
}

.gallery-grid--compact .gallery-item img {
  max-height: 9.5rem;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1.25rem 0 1.75rem;
}

.filters label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.filters button,
.filters select {
  min-height: 44px;
  min-width: 10.5rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0 0.9rem;
  font: inherit;
  cursor: pointer;
}

.filters button[aria-pressed="true"] {
  background: var(--olive);
  color: var(--ivory);
  border-color: var(--olive);
}

.pedigree-mobile details,
.pedigree-desktop details {
  border-top: 1px solid var(--line);
}

.pedigree-mobile summary,
.pedigree-node {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.7rem 0;
}

.pedigree-desktop {
  display: none;
}

.pedigree-tree {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 0.55rem;
  align-items: stretch;
}

.pedigree-col {
  display: grid;
  gap: 0.55rem;
}

.pedigree-card {
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  min-height: 0;
  background: color-mix(in srgb, var(--ivory) 70%, #fff);
}

.pedigree-card.is-compact {
  padding: 0.5rem 0.6rem;
}

.pedigree-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
}

.pedigree-card.is-compact strong {
  font-size: 0.88rem;
}

.pedigree-titles {
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0.25rem 0 0;
  color: var(--olive);
}

.pedigree-card .caption {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.pedigree-card small {
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--olive);
  margin-bottom: 0.35rem;
}

.diploma-block {
  margin-top: 2.25rem;
}

.diploma-row {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x proximity;
}

.diploma-card {
  flex: 1 0 7.5rem;
  max-width: 11rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  scroll-snap-align: start;
}

.diploma-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 9.5rem;
  background: var(--ivory-deep);
  border: 1px solid var(--line);
  overflow: hidden;
}

.diploma-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.diploma-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

@media (min-width: 900px) {
  .diploma-row {
    overflow: visible;
  }

  .diploma-card {
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
  }

  .diploma-frame {
    height: 11rem;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(41, 40, 36, 0.92);
  z-index: 60;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--ivory);
  padding: 0.8rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  display: grid;
  place-items: center;
  min-height: 0;
}

.lightbox-stage img {
  max-height: min(78vh, 900px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

.empty-state {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  max-width: 38rem;
}

.timeline {
  display: grid;
  gap: 0;
}

.show-card {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.show-card h3 {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.08rem);
  margin: 0.12rem 0 0.2rem;
  line-height: 1.3;
}

.show-card .eyebrow {
  font-size: 0.66rem;
  margin-bottom: 0.15rem;
}

.show-details {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--charcoal) 78%, transparent);
}

.show-meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}

.timeline article {
  padding-left: 0;
  border-left: 0;
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid .span-2 {
    grid-column: auto;
  }
  .hero-media img {
    object-position: 50% 20%;
  }
}

@media (min-width: 430px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  :root {
    --container: min(1180px, calc(100% - 3.5rem));
    --container-wide: min(1360px, calc(100% - 3.5rem));
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }

  .split.split-top {
    align-items: start;
  }

  .split.split-fit {
    align-items: start;
  }

  .meet-section {
    padding-top: 2rem;
    padding-bottom: 2.75rem;
  }

  .split-fit-photo {
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: calc(100svh - var(--header-h) - 5rem);
    aspect-ratio: 1005 / 1024;
    align-self: start;
    background: transparent;
  }

  .split-fit-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 50% 18%;
  }

  .show-career-split {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "copy photo"
      "cta .";
    align-items: stretch;
    column-gap: 2.5rem;
    row-gap: 0;
  }

  .show-career-copy {
    grid-area: copy;
    min-width: 0;
  }

  .show-career-cta {
    grid-area: cta;
  }

  .show-career-photo {
    grid-area: photo;
    min-height: 0;
    max-height: none;
    height: auto;
    align-self: stretch;
    aspect-ratio: auto;
    background: transparent;
  }

  .show-career-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
  }

  .split.reverse {
    direction: rtl;
  }

  .split.reverse > * {
    direction: ltr;
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }

  .blog-grid--home {
    grid-template-columns: repeat(3, 1fr);
  }

  .blog-grid--list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2rem;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1.75rem;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item {
    grid-column: auto;
  }

  .gallery-item.hero-shot,
  .gallery-item.landscape {
    grid-column: span 2;
  }

  .gallery-item.portrait {
    grid-column: span 1;
  }

  .gallery-grid--compact {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid--compact .gallery-item,
  .gallery-grid--compact .gallery-item.hero-shot,
  .gallery-grid--compact .gallery-item.landscape {
    grid-column: auto;
    max-height: 11rem;
  }

  .gallery-grid--compact .gallery-item img {
    max-height: 11rem;
  }

  .pedigree-mobile {
    display: none;
  }

  .pedigree-desktop {
    display: block;
    overflow-x: auto;
  }

  .pedigree-tree {
    min-width: 960px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.9fr);
    grid-template-rows: 1fr;
    min-height: 100vh;
    align-items: stretch;
  }

  .hero-media {
    min-height: 100%;
  }

  .hero-media img {
    object-position: 40% 28%;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 6.5rem 2.4rem 4rem 2.2rem;
  }
}

.facts-photo {
  min-height: 0;
  aspect-ratio: auto;
  background: var(--ivory-deep);
}

.facts-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) {
  .facts-split {
    align-items: center;
  }

  .facts-photo {
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
  }
}

@media (max-width: 640px) {
  .wordmark {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    max-width: 52vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 1024px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .facts-split .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-inner {
    gap: 1.5rem;
  }

  .enquiry-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
  }

  .desktop-nav a {
    font-size: 0.84rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --container: min(1240px, calc(100% - 5rem));
    --container-wide: min(1440px, calc(100% - 4rem));
  }

  .hero-copy {
    padding: 7rem 4.5rem 4.5rem 3rem;
  }
}

@media (min-width: 1920px) {
  .hero {
    min-height: 100vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

body.nav-open {
  overflow: hidden;
}
