:root {
  --ink: #3f2b4a;
  --muted: #59465f;
  --paper: #fcf2e6;
  --surface: #fcf2e6;
  --warm: #f5e7d8;
  --accent: #754f80;
  --accent-dark: #442c50;
  --line: #cdbfb4;
  --focus: #704187;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--accent-dark); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: .65rem 1rem;
  color: #fbf7f2;
  background: var(--focus);
}
.skip-link:focus { top: 1rem; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar, main, .footer-inner { width: min(100% - 2rem, 70rem); margin: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.site-header .bar { position: relative; display: flex; width: min(100% - 2rem, 90rem); min-height: 13.5rem; margin: auto; }
.site-header nav { width: 100%; }
.brand { position: absolute; z-index: 1; top: 50%; left: 50%; display: inline-block; width: 11.5rem; height: 11.5rem; overflow: hidden; background: url("assets/rodaho-logo.png") center / contain no-repeat; transform: translate(-50%, -50%); text-indent: -9999px; white-space: nowrap; text-decoration: none; }
nav > ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .8rem; margin: 0; padding: 0; list-style: none; }
nav > ul > li:nth-child(3) { margin-right: 12.5rem; }
nav a { display: inline-block; padding: .35rem .15rem; font-weight: 650; text-decoration-thickness: 1px; }
nav a[aria-current="page"] { color: var(--accent); text-decoration-thickness: 3px; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { padding: .35rem .15rem; color: var(--accent-dark); cursor: pointer; font-weight: 650; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "⌄"; margin-left: .3rem; font-size: .85em; }
.nav-dropdown[open] summary::after { content: "⌃"; }
.nav-dropdown > ul { position: absolute; z-index: 5; top: calc(100% + .3rem); left: -.75rem; display: grid; min-width: 17rem; margin: 0; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--surface); box-shadow: 0 5px 14px rgb(63 43 74 / 14%); list-style: none; }
.nav-dropdown > ul a { width: 100%; padding: .5rem 0; }

main { padding: 3rem 0 4rem; }
.hero { max-width: 47rem; padding: 2rem 0 2.75rem; }
.eyebrow { margin: 0 0 .35rem; color: var(--accent); font-size: .88rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; }
h1 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 3.55rem); letter-spacing: -.035em; }
h2 { margin-top: 2.8rem; font-size: 1.65rem; }
h3 { margin-bottom: .35rem; font-size: 1.15rem; }
.lead { max-width: 42rem; color: var(--muted); font-size: 1.18rem; }
.button { display: inline-block; margin: .4rem .5rem .4rem 0; padding: .75rem 1rem; border: 2px solid var(--accent); border-radius: .25rem; color: var(--accent-dark); background: #d9cadc; font-weight: 750; text-decoration: none; }
.button:hover { border-color: var(--accent-dark); color: var(--accent-dark); background: #c7b1cd; }
.button.secondary { color: var(--accent-dark); background: transparent; }
.button.secondary:hover { color: var(--accent-dark); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.card, .notice, .table-wrap, form { padding: 1.25rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--surface); box-shadow: 0 2px 7px rgb(63 43 74 / 6%); }
.card { display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card a { margin-top: auto; font-weight: 750; }
.notice { border-left: 5px solid var(--accent); background: var(--warm); }
.notice h2 { margin-top: 0; }
.list-tight li { margin-bottom: .45rem; }
.section-intro { max-width: 48rem; color: var(--muted); }

.queen-profiles { display: grid; gap: 2.5rem; margin: 2.2rem 0 3rem; }
.queen-profile { display: grid; grid-template-columns: minmax(15rem, .75fr) minmax(0, 1.25fr); gap: clamp(1.25rem, 4vw, 3.25rem); align-items: start; padding: 1.1rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--surface); box-shadow: 0 2px 7px rgb(63 43 74 / 6%); }
.queen-profile-reverse .queen-photo { order: 2; }
.queen-profile-reverse .queen-copy { order: 1; }
.queen-photo { margin: 0; }
.queen-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .35rem; }
.queen-photo figcaption { margin-top: .55rem; color: var(--muted); font-size: .9rem; font-weight: 750; text-align: center; }
.queen-copy h2 { margin: .1rem 0 .35rem; }
.queen-copy > .eyebrow { margin-bottom: .15rem; }
.queen-fact { margin: 0 0 1rem; color: var(--muted); font-weight: 750; }
.queen-detail { margin-top: 1.2rem; padding: 1rem 1.1rem; border-left: 4px solid var(--accent); border-radius: 0 .35rem .35rem 0; background: var(--warm); }
.queen-detail h3 { margin-top: 0; }
.queen-detail p:last-child { margin-bottom: 0; }
.health-detail { border-left-color: #5e4775; }

.term-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1rem; }
.term-grid div { padding: .8rem; border: 1px solid var(--line); border-radius: .3rem; background: rgb(252 242 230 / 74%); }
.term-grid strong, .term-grid span { display: block; }
.term-grid strong { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.term-grid span { font-weight: 800; }
.coat-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.pattern-card { padding: 1.2rem; border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: .45rem; background: var(--surface); }
.pattern-card.mink { border-top-color: #8b6595; }
.pattern-card.solid { border-top-color: #9a769f; }
.pattern-card h3 { margin-top: 0; }
.pattern-label { margin: 0 0 .7rem; color: var(--accent-dark); font-size: .85rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.pattern-label span { padding: .13rem .4rem; border-radius: 99px; color: white; background: var(--accent-dark); font-size: .75rem; }
.mink .pattern-label { color: #5f3e6d; }
.mink .pattern-label span { background: #5f3e6d; }
.solid .pattern-label { color: #684675; }
.solid .pattern-label span { background: #684675; }
.colour-pair-grid { display: grid; gap: 1rem; margin-top: 1.4rem; }
.colour-pair { display: grid; grid-template-columns: 3.2rem minmax(9rem, 1fr) 3.2rem minmax(9rem, 1fr); gap: .7rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--surface); }
.colour-pair h3 { margin: 0; }
.colour-pair p { margin: .2rem 0 0; color: var(--muted); font-size: .93rem; }
.colour-swatch { width: 3.2rem; height: 3.2rem; border: 1px solid rgb(0 0 0 / 15%); border-radius: 50%; box-shadow: inset 0 0 0 .3rem rgb(255 255 255 / 30%); }
.brown { background: #4b2c20; }.blue { background: #7c8798; }.chocolate { background: #9a6545; }.lilac { background: #b7a2ad; }.cinnamon { background: #b96d47; }.fawn { background: #d6b893; }

.table-wrap { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--warm); }
tr:last-child td { border-bottom: 0; }

label { display: block; margin-top: 1rem; font-weight: 750; }
input, textarea, select { width: 100%; margin-top: .3rem; padding: .7rem; border: 1px solid #a797a3; border-radius: .25rem; color: var(--ink); background: #fcf2e6; font: inherit; }
textarea { min-height: 8rem; resize: vertical; }
fieldset { margin: 1.4rem 0; padding: 0; border: 0; }
legend { font-size: 1.25rem; font-weight: 800; }
.helper { color: var(--muted); font-size: .92rem; }
.required { color: #6c315d; }
.form-note { margin-bottom: 1.2rem; }
button { cursor: pointer; font: inherit; }
.consent { display: flex; align-items: flex-start; gap: .65rem; padding: 1rem; border-radius: .3rem; background: var(--warm); }
.consent input { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; margin: .2rem 0 0; }
.honeypot { display: none; }
.captcha-wrap { margin-top: 1.4rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.5rem 0; color: var(--muted); font-size: .92rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { font-weight: 750; }
.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; }

@media (max-width: 42rem) {
  .site-header .bar { display: flex; flex-direction: column; width: calc(100% - 2rem); min-height: 0; margin: auto; }
  .brand { position: static; width: 9.5rem; height: 9.5rem; transform: none; }
  nav > ul { justify-content: center; margin-top: .6rem; }
  nav > ul > li:nth-child(3) { margin-right: 0; }
  .nav-dropdown > ul { position: static; min-width: 0; margin-top: .25rem; box-shadow: none; }
  main { padding-top: 2rem; }
  .term-grid, .coat-overview { grid-template-columns: 1fr; }
  .colour-pair { grid-template-columns: 3.2rem 1fr; }
  .queen-profile { grid-template-columns: 1fr; }
  .queen-profile-reverse .queen-photo, .queen-profile-reverse .queen-copy { order: initial; }
  .queen-photo { max-width: 28rem; margin: 0 auto; }
}

@media print {
  .site-header, .site-footer, .skip-link, .button, .no-print { display: none; }
  body { background: white; font-size: 11pt; }
  main { width: 100%; padding: 0; }
  .card, .notice, form { box-shadow: none; }
}
