:root {
  --ink: #303033;
  --forest: #026241;
  --forest-deep: #013b29;
  --sage: #79a28f;
  --sage-light: #dce9e2;
  --paper: #f6f1e8;
  --paper-deep: #e7dfd2;
  --terracotta: #d2202f;
  --gold: #d9b35f;
  --white: #fffdf8;
  --line: rgba(31, 40, 33, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(21, 32, 25, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 99px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 80px;
  padding: 14px clamp(20px, 4vw, 64px);
  color: var(--white);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(245, 241, 232, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: max-content; }
.brand-logo {
  width: 76px;
  height: 56px;
  object-fit: contain;
  padding: 3px 5px;
  border-radius: 9px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 6px 20px rgba(5,26,18,.12);
}
.brand small { display: block; font-size: 9px; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 36px); }
.main-nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  background: transparent;
}
.nav-toggle > span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: currentColor; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible, .icon-button:focus-visible, .breed-tab:focus-visible, .filter-chip:focus-visible, .gallery-media:focus-visible, .choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.button-primary { background: var(--terracotta); color: var(--white); }
.button-primary:hover { background: #a85b3d; }
.button-dark { background: var(--forest-deep); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.button-small { min-height: 42px; padding: 10px 18px; font-size: 10px; }
.button-full { width: 100%; }
.site-header:not(.is-scrolled) .header-cta { color: var(--ink); background: var(--white); }

.text-link, .text-button {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  padding: 7px 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
}

.section { padding-right: clamp(22px, 6vw, 100px); padding-left: clamp(22px, 6vw, 100px); }
.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h2 { margin: 0; font-size: clamp(40px, 5.6vw, 78px); line-height: .98; }

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 40%);
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: #9b8a76;
  color: var(--white);
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media {
  background: url("../images/mcroc-hero.webp") center / cover no-repeat;
  transform: scale(1.01);
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 25, 19, .82) 0%, rgba(18, 25, 19, .58) 38%, rgba(18, 25, 19, .12) 66%, rgba(18, 25, 19, .15) 100%),
    linear-gradient(0deg, rgba(18, 25, 19, .52) 0%, transparent 34%);
}
.hero-content {
  position: relative;
  z-index: 2;
  grid-column: 1;
  align-self: center;
  max-width: 760px;
  padding: 130px 30px 70px clamp(22px, 6vw, 100px);
}
.eyebrow-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.private-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.private-badge::before { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); content: ""; }
.hero h1 { margin: 0; font-size: clamp(54px, 7vw, 104px); line-height: .88; }
.hero-copy { max-width: 650px; margin: 30px 0 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.hero-proof {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  margin: 0 24px 26px 0;
  padding: 22px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background: rgba(20, 27, 22, .42);
  backdrop-filter: blur(12px);
}
.hero-proof div { display: flex; gap: 10px; min-width: 0; padding: 0 14px; }
.hero-proof div + div { border-left: 1px solid rgba(255,255,255,.25); }
.hero-proof strong { font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--gold); }
.hero-proof span { font-size: 10px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }

.breeds-section { padding-top: clamp(90px, 12vw, 170px); padding-bottom: clamp(100px, 13vw, 180px); }
.section-heading { display: grid; grid-template-columns: 1.5fr .72fr; align-items: end; gap: 8vw; }
.section-heading > p { margin: 0 0 2px; font-size: 17px; color: #5c655d; }
.breed-explorer { margin-top: 76px; }
.breed-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.breed-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  min-height: 108px;
  padding: 22px 24px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.breed-tab:first-child { border-left: 1px solid var(--line); }
.breed-tab.is-active { background: var(--forest); color: var(--white); }
.breed-tab span:last-child { font-family: var(--serif); font-size: clamp(19px, 2vw, 27px); line-height: 1.03; }
.tab-index { padding-top: 3px; font-size: 10px; letter-spacing: .12em; }

.breed-panel {
  display: grid;
  grid-template-columns: minmax(330px, .8fr) minmax(0, 1.2fr);
  min-height: 610px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  outline: none;
}
.breed-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--terracotta);
  transition: background .35s ease;
}
.breed-visual[data-breed-visual="westie"] { background: #b6ad94; }
.breed-visual[data-breed-visual="xolo"] { background: #6c746b; }
.breed-visual > p {
  position: absolute;
  bottom: 26px;
  left: 30px;
  margin: 0;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.breed-ghost {
  position: absolute;
  top: -8%;
  left: -3%;
  font-family: var(--serif);
  font-size: clamp(260px, 31vw, 460px);
  line-height: 1;
  color: rgba(255,255,255,.10);
}
.breed-shape { position: relative; width: 230px; height: 280px; filter: drop-shadow(0 22px 22px rgba(18,20,18,.16)); }
.breed-shape .head {
  position: absolute;
  left: 44px;
  top: 60px;
  width: 144px;
  height: 158px;
  border-radius: 48% 48% 42% 42%;
  background: var(--forest-deep);
}
.breed-shape .ear { position: absolute; z-index: -1; top: 22px; width: 66px; height: 104px; background: var(--forest-deep); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.breed-shape .ear-one { left: 40px; transform: rotate(-8deg); }
.breed-shape .ear-two { right: 38px; transform: rotate(8deg); }
.breed-shape .muzzle {
  position: absolute;
  left: 48px;
  top: 138px;
  width: 140px;
  height: 92px;
  border-radius: 35% 38% 55% 55%;
  background: #27362c;
  box-shadow: inset 0 -22px 0 rgba(255,255,255,.04);
}
.breed-visual[data-breed-visual="westie"] .head,
.breed-visual[data-breed-visual="westie"] .ear,
.breed-visual[data-breed-visual="westie"] .muzzle { background: #f2eee1; }
.breed-visual[data-breed-visual="xolo"] .head { width: 130px; left: 50px; border-radius: 44% 44% 49% 49%; background: #332f2d; }
.breed-visual[data-breed-visual="xolo"] .ear { height: 128px; top: 0; background: #332f2d; }
.breed-visual[data-breed-visual="xolo"] .muzzle { width: 106px; left: 62px; top: 150px; background: #453e3b; }

.breed-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 84px); background: var(--white); }
.breed-content h3 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5.4vw, 76px); font-weight: 400; line-height: .95; }
.breed-lead { max-width: 760px; margin: 26px 0; font-size: 17px; color: #536057; }
.trait-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 12px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trait-grid div { padding: 18px 14px 18px 0; }
.trait-grid div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.trait-grid span, .trait-grid strong { display: block; }
.trait-grid span { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #6a726b; }
.trait-grid strong { margin-top: 4px; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.breed-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.breed-notes h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.breed-notes p { margin: 0; font-size: 14px; color: #626a63; }
.breed-content .text-button { align-self: flex-start; margin-top: 30px; }

.gallery-section {
  padding-top: clamp(90px, 11vw, 150px);
  padding-bottom: clamp(100px, 12vw, 170px);
  background: var(--paper-deep);
}
.gallery-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) auto;
  gap: 30px;
  align-items: end;
  margin-top: 70px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gallery-filter { min-width: 0; margin: 0; padding: 0; border: 0; }
.gallery-filter legend {
  margin-bottom: 10px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #69716a;
}
.gallery-filter > div { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid rgba(31, 40, 33, .24);
  border-radius: 999px;
  background: transparent;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-chip:hover { border-color: var(--forest); }
.filter-chip.is-active { border-color: var(--forest); background: var(--forest); color: var(--white); }
.gallery-count { margin: 0 0 7px; white-space: nowrap; font-size: 11px; color: #666f68; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}
.gallery-card {
  grid-column: span 4;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(31, 40, 33, .14);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 15px 45px rgba(28, 39, 31, .07);
}
.gallery-card[hidden] { display: none; }
.gallery-card--feature { border-top: 5px solid var(--terracotta); }
.gallery-card--landscape { grid-column: span 5; }
.gallery-card--document { grid-column: span 3; background: var(--forest-deep); color: var(--white); }
.gallery-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #d8d1c5;
  cursor: zoom-in;
}
.gallery-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .45s ease;
}
.gallery-card--landscape .gallery-media img { aspect-ratio: 5 / 4; }
.gallery-media:hover img { transform: scale(1.025); }
.gallery-view {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .92);
  color: var(--ink);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 5px 16px rgba(17, 24, 18, .15);
}
.gallery-copy { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.gallery-copy > span {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.gallery-copy h3 { margin: 9px 0 10px; font-family: var(--serif); font-size: clamp(25px, 2.5vw, 36px); font-weight: 400; line-height: 1; }
.gallery-copy p { margin: 0; color: #5d665e; font-size: 13px; }
.gallery-card--document .gallery-copy > span { color: var(--gold); }
.gallery-card--document .gallery-copy p { color: rgba(255,255,255,.66); }
.gallery-document-button { align-self: flex-start; margin-top: 22px; color: var(--white); }
.pedigree-preview {
  position: relative;
  min-height: 285px;
  margin: 20px 20px 0;
  padding: 30px 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.32);
  background: var(--paper);
  color: var(--ink);
}
.pedigree-preview::before { position: absolute; inset: 10px; border: 1px solid rgba(2,98,65,.28); content: ""; }
.pedigree-mark { position: relative; margin-bottom: 36px; font-family: var(--serif); font-size: 25px; color: var(--forest); }
.pedigree-preview > span, .pedigree-preview > strong { position: relative; z-index: 1; display: block; }
.pedigree-preview > span { font-size: 7px; letter-spacing: .15em; text-transform: uppercase; color: #737b74; }
.pedigree-preview > strong { margin-top: 4px; font-family: var(--serif); font-size: 17px; font-weight: 400; }
.pedigree-lines { display: grid; gap: 13px; margin-top: 28px; }
.pedigree-lines i { display: block; height: 1px; background: rgba(31,40,33,.2); }
.pedigree-seal { position: absolute; right: 28px; bottom: 25px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--terracotta); border-radius: 50%; font-family: var(--serif); font-size: 13px; color: var(--terracotta); }
.gallery-empty { margin-top: 34px; padding: 36px; border: 1px dashed rgba(31,40,33,.28); border-radius: 20px; text-align: center; }
.gallery-empty strong { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.gallery-empty p { max-width: 680px; margin: 8px auto 0; color: #616a62; }
.gallery-note { max-width: 880px; margin: 32px 0 0 auto; padding-left: 18px; border-left: 3px solid var(--terracotta); color: #5f685f; font-size: 13px; }

.gallery-dialog {
  width: min(980px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 32px 100px rgba(0,0,0,.34);
}
.gallery-dialog::backdrop { background: rgba(14, 20, 16, .78); backdrop-filter: blur(7px); }
.gallery-dialog-close { position: absolute; z-index: 2; top: 18px; right: 18px; background: rgba(255,253,248,.94); }
.gallery-dialog-media { background: #171d19; }
.gallery-dialog-media[hidden] { display: none; }
.gallery-dialog-media img { display: block; width: 100%; max-height: 68svh; object-fit: contain; }
.gallery-dialog-copy { padding: clamp(28px, 5vw, 54px); }
.gallery-dialog-copy h2 { font-size: clamp(38px, 5vw, 66px); }
.gallery-dialog-copy > p:not(.eyebrow) { max-width: 720px; margin: 20px 0 0; color: #596259; font-size: 16px; }
.gallery-dialog-copy small { display: block; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: #727a73; }

.commitment-section { overflow: hidden; background: var(--forest); color: var(--white); }
.commitment-intro { padding-top: clamp(90px, 12vw, 170px); text-align: center; }
.commitment-intro h2 { max-width: 1100px; margin: 0 auto; }
.commitment-intro > p:last-child { max-width: 760px; margin: 35px auto 0; color: rgba(255,255,255,.68); font-size: 18px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 86px; }
.principles article { min-height: 270px; padding: 28px; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.principles article + article { border-left: 1px solid rgba(255,255,255,.2); }
.principle-number { font-family: var(--serif); color: var(--gold); }
.principles h3 { margin: 50px 0 10px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.principles p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }

.heritage {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  gap: clamp(42px, 8vw, 130px);
  align-items: center;
  padding-top: clamp(100px, 12vw, 170px);
}
.heritage-copy > p:last-child { max-width: 760px; margin: 30px 0 0; color: rgba(255,255,255,.68); font-size: 17px; }
.heritage-feature {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--radius);
  background: var(--terracotta);
  box-shadow: 0 28px 70px rgba(1, 38, 25, .28);
}
.heritage-feature::after {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(255,255,255,.05);
  content: "";
}
.heritage-feature > span { font-size: 9px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.heritage-feature > strong { position: relative; z-index: 1; display: block; margin: 30px 0 18px; font-family: var(--serif); font-size: clamp(52px, 7vw, 88px); font-weight: 400; line-height: .9; }
.heritage-feature p, .heritage-feature small { position: relative; z-index: 1; }
.heritage-feature p { margin: 0; color: rgba(255,255,255,.86); }
.heritage-feature small { display: block; margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.7); }

.process { position: relative; padding-top: clamp(120px, 14vw, 200px); padding-bottom: clamp(120px, 14vw, 200px); }
.process::before {
  position: absolute;
  right: -120px;
  bottom: -260px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(255,255,255,.018), 0 0 0 200px rgba(255,255,255,.012);
  content: "";
}
.process-heading { display: grid; grid-template-columns: .5fr 1.5fr; align-items: start; gap: 4vw; }
.process-list { position: relative; z-index: 1; max-width: 1020px; margin: 86px 0 46px auto; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 90px 1fr; gap: 25px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.2); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.process-list > li > span { font-family: var(--serif); font-size: 42px; color: var(--gold); }
.process-list h3 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.process-list p { max-width: 650px; margin: 7px 0 0; color: rgba(255,255,255,.62); }
.process > .button { margin-left: calc(100% - min(1020px, 100%)); }

.faq-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .65fr);
  gap: clamp(50px, 8vw, 130px);
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(100px, 12vw, 160px);
  background: var(--paper);
  color: var(--ink);
}
.section-heading.compact { grid-template-columns: 1fr; }
.accordion { margin-top: 56px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 23px 0;
  font-size: 16px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { font-family: var(--serif); font-size: 26px; font-weight: 400; transition: transform .2s ease; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { max-width: 760px; margin: -5px 42px 25px 0; color: #5b645c; }
.contact-card {
  align-self: start;
  position: sticky;
  top: 110px;
  padding: clamp(32px, 4vw, 54px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--terracotta);
}
.contact-card h2 { font-size: clamp(38px, 4.3vw, 58px); }
.contact-card > p:not(.eyebrow) { margin: 25px 0 30px; color: #5b645c; }
.contact-email { display: block; margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); text-decoration: none; }
.contact-email span, .contact-email strong { display: block; }
.contact-email span { font-size: 9px; letter-spacing: .13em; text-transform: uppercase; color: #747c75; }
.contact-email strong { overflow-wrap: anywhere; margin-top: 4px; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.contact-card small { display: block; margin-top: 16px; color: #747c75; font-size: 11px; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; min-height: 150px; border-top: 1px solid rgba(255,255,255,.2); background: var(--forest); color: var(--white); }
.site-footer p { margin: 0; color: rgba(255,255,255,.56); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.brand-footer .brand-logo { width: 88px; height: 68px; }

.guide-dialog {
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 32px 100px rgba(0,0,0,.34);
}
.guide-dialog::backdrop { background: rgba(14, 20, 16, .72); backdrop-filter: blur(7px); }
.guide-shell { min-height: min(760px, calc(100svh - 32px)); }
.guide-topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(24px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-family: var(--serif); font-size: 28px; cursor: pointer; }
.guide-progress { height: 3px; background: var(--paper-deep); }
.guide-progress span { display: block; width: 20%; height: 100%; background: var(--terracotta); transition: width .3s ease; }
.guide-form { max-width: 880px; margin: 0 auto; padding: clamp(40px, 6vw, 78px) clamp(22px, 5vw, 56px) 38px; }
.guide-header { margin-bottom: 38px; }
.guide-header h2, .guide-result h2 { font-size: clamp(38px, 5.6vw, 66px); }
.guide-header > p:last-child { max-width: 710px; color: #5e675f; }
.guide-step { margin: 0; padding: 0; border: 0; }
.guide-step legend { max-width: 760px; margin-bottom: 25px; font-family: var(--serif); font-size: clamp(25px, 3vw, 36px); line-height: 1.14; }
.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.6);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.choice:hover { transform: translateX(3px); border-color: rgba(31,40,33,.38); }
.choice:has(input:checked) { border-color: var(--terracotta); background: #fff5ee; }
.choice input { width: 18px; height: 18px; accent-color: var(--terracotta); }
.choice strong, .choice small { display: block; }
.choice strong { font-size: 14px; }
.choice small { margin-top: 2px; color: #69716a; font-size: 12px; }
.guide-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); }
.guide-controls .text-button { justify-self: start; }
.guide-controls .button { justify-self: end; }
.guide-controls > span { font-size: 11px; letter-spacing: .13em; }
.text-button:disabled { opacity: .28; cursor: not-allowed; }

.guide-result { text-align: center; }
.result-mark { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 25px; border-radius: 50%; background: var(--forest); color: var(--white); font-size: 25px; }
.guide-result > p:not(.eyebrow) { max-width: 730px; margin: 22px auto; color: #5e675f; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 34px 0; background: var(--line); border: 1px solid var(--line); text-align: left; }
.result-grid > div { padding: 26px; background: var(--white); }
.result-grid h3 { margin: 0 0 15px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.result-grid strong { font-family: var(--serif); font-size: 27px; font-weight: 400; }
.result-grid p, .result-grid li { color: #5e675f; font-size: 13px; }
.result-grid ul { margin: 0; padding-left: 20px; }
.summary-box { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding: 20px 22px; border-radius: 14px; background: var(--sage-light); text-align: left; }
.summary-box p { margin: 0; font-size: 13px; }
.guide-result > .button { margin-top: 16px; }
.guide-result > small { display: block; max-width: 620px; margin: 15px auto 0; color: #737a74; }

.toast {
  position: fixed;
  z-index: 500;
  right: 24px;
  bottom: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--forest-deep);
  color: var(--white);
  font-size: 12px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1060px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .main-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 16px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 12px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: block; justify-self: end; grid-column: 3; grid-row: 1; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: 1fr auto; min-height: 880px; }
  .hero-media { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(18,25,19,.82), rgba(18,25,19,.27)), linear-gradient(0deg, rgba(18,25,19,.72), transparent 45%); }
  .hero-content { grid-column: 1; }
  .hero-proof { grid-column: 1; width: calc(100% - 44px); margin: 0 22px 22px; }
  .breed-panel { grid-template-columns: .75fr 1.25fr; }
  .breed-content { padding: 48px; }
  .gallery-toolbar { grid-template-columns: 1fr 1fr; }
  .gallery-count { grid-column: 1 / -1; }
  .gallery-card { grid-column: span 6; }
  .gallery-card--landscape, .gallery-card--document { grid-column: span 6; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principles article:nth-child(3) { border-left: 0; }
  .heritage { grid-template-columns: 1fr; }
  .heritage-feature { max-width: 680px; }
  .faq-contact { grid-template-columns: 1fr; }
  .contact-card { position: static; max-width: 700px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer p:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .site-header { min-height: 70px; padding: 11px 18px; }
  .brand small { font-size: 8px; }
  .hero { min-height: 840px; }
  .hero-media { background-position: 63% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(17,24,18,.92) 0%, rgba(17,24,18,.36) 78%, rgba(17,24,18,.2) 100%); }
  .hero-content { align-self: end; padding: 220px 22px 38px; }
  .hero h1 { font-size: clamp(49px, 15vw, 75px); }
  .hero-copy { font-size: 16px; line-height: 1.55; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 28px; }
  .hero-proof { display: none; }
  .section-heading, .process-heading { grid-template-columns: 1fr; gap: 30px; }
  h2 { font-size: clamp(39px, 12vw, 58px); }
  .section-heading > p { font-size: 15px; }
  .breed-explorer { margin-top: 46px; }
  .breed-tabs { display: flex; overflow-x: auto; border-left: 1px solid var(--line); }
  .breed-tab { flex: 0 0 72%; min-height: 92px; border-left: 0 !important; }
  .breed-panel { grid-template-columns: 1fr; }
  .breed-visual { min-height: 360px; }
  .breed-content { padding: 36px 24px 42px; }
  .trait-grid { grid-template-columns: 1fr; }
  .trait-grid div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .breed-notes { grid-template-columns: 1fr; gap: 22px; }
  .gallery-toolbar { grid-template-columns: 1fr; gap: 22px; margin-top: 46px; }
  .gallery-count { grid-column: auto; }
  .gallery-grid { gap: 16px; }
  .gallery-card, .gallery-card--landscape, .gallery-card--document { grid-column: 1 / -1; }
  .gallery-card--landscape .gallery-media img { aspect-ratio: 4 / 3; }
  .gallery-dialog { width: 100%; max-width: none; max-height: 100svh; margin: 0; border-radius: 0; }
  .gallery-dialog-media img { max-height: 60svh; }
  .principles { grid-template-columns: 1fr; }
  .principles article + article { border-left: 0; border-top: 0; }
  .heritage { gap: 50px; }
  .process-list { margin-top: 55px; }
  .process-list li { grid-template-columns: 52px 1fr; }
  .process > .button { margin-left: 0; }
  .faq-contact { gap: 76px; }
  .site-footer { grid-template-columns: 1fr; padding-top: 50px; padding-bottom: 50px; }
  .site-footer p:nth-child(2) { grid-column: auto; grid-row: auto; }
  .guide-dialog { width: 100%; max-width: none; max-height: 100svh; margin: 0; border-radius: 0; }
  .guide-shell { min-height: 100svh; }
  .guide-topbar { padding: 14px 18px; }
  .guide-form { padding: 35px 18px 28px; }
  .guide-header { margin-bottom: 28px; }
  .choice { padding: 14px; }
  .result-grid { grid-template-columns: 1fr; }
  .summary-box { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* WordPress y Elementor */
.admin-bar .site-header { top: 32px; }
.mcroc-content-page { min-height: 60vh; padding-top: 130px; padding-bottom: 100px; }
.mcroc-content-page .entry-content { max-width: 920px; margin: 0 auto; }
.mcroc-content-page .entry-title { font-size: clamp(44px, 6vw, 78px); }
.mcroc-elementor-page .elementor { overflow: hidden; }
.mcroc-section-anchor { display: block; height: 0; scroll-margin-top: 100px; }
.mcroc-el-section { padding: clamp(80px, 10vw, 140px) clamp(22px, 6vw, 100px); }
.mcroc-el-hero { min-height: min(900px, 100svh); color: var(--white); background: #3c463d url("../images/mcroc-hero.webp") center / cover no-repeat; }
.mcroc-el-hero .elementor-heading-title { max-width: 850px; font-family: var(--serif); font-size: clamp(54px, 7vw, 104px); font-weight: 400; line-height: .9; color: var(--white); }
.mcroc-el-hero .elementor-widget-text-editor { max-width: 680px; color: rgba(255,255,255,.9); }
.mcroc-el-light { background: var(--paper); color: var(--ink); }
.mcroc-el-dark { background: var(--forest); color: var(--white); }
.mcroc-el-dark .elementor-heading-title { color: var(--white); }
.mcroc-el-dark .elementor-widget-text-editor { color: rgba(255,255,255,.72); }
.mcroc-shortcode-shell .breed-explorer, .mcroc-shortcode-shell .gallery-grid { margin-top: 0; }
.mcroc-shortcode-shell .gallery-section { padding: 0; }
body.elementor-page .reveal { opacity: 1; transform: none; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
