@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #18263d;
  --muted: #475971;
  --paper: #fffcf7;
  --white: #ffffff;
  --line: #dce8f0;
  --accent: #526b8a;
  --accent-hover: #36536f;
  --action-fill: #dcecf7;
  --action-hover: #cee4f4;
  --action-ink: #2e4b68;
  --sky: #edf6fc;
  --soft: #f5f9fc;
  --control-line: #6e86a6;
  --note: #fff8e6;
  --note-line: #a87524;
  --heading-font: Georgia, "Times New Roman", serif;
  --body-font: "Segoe UI", Arial, sans-serif;
  --size-display: clamp(3rem, 5.25vw, 5.25rem);
  --size-page: clamp(2rem, 4.45vw, 4.25rem);
  --size-section: clamp(1.75rem, 2.8vw, 2.85rem);
  --size-card: clamp(1.25rem, 1.58vw, 1.5rem);
  --size-article-title: clamp(2.125rem, 4.2vw, 3.75rem);
  --size-article-section: clamp(1.375rem, 2.1vw, 1.875rem);
  --size-article-subhead: clamp(1.1875rem, 1.55vw, 1.4375rem);
  --size-lead: clamp(1.0625rem, 1.4vw, 1.25rem);
  --size-body: 1rem;
  --size-reading: 1.125rem;
  --size-label: .9375rem;
  --size-meta: .875rem;
  --leading-display: 1.08;
  --leading-heading: 1.18;
  --leading-body: 1.6;
  --leading-reading: 1.72;
  --leading-ui: 1.4;
  --weight-ui: 600;
  --max-width: 78rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: var(--size-body)/var(--leading-body) var(--body-font);
}
@media screen {
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
  }
  body > main { flex: 1 0 auto; }
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
section[id], form[id] { scroll-margin-top: 1.5rem; }

.wrap { width: min(calc(100% - 6rem), var(--max-width)); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 5;
  top: .7rem;
  left: 1rem;
  background: var(--accent);
  color: white;
  padding: .55rem 1rem;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  --header-control-size: 2.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.25rem;
}
.header-inner > .brand { min-width: 0; }
.header-tools { display: flex; align-items: center; justify-self: end; gap: .5rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .64rem;
  justify-self: start;
  text-decoration: none;
  white-space: nowrap;
  font: 700 1.3rem/var(--leading-heading) var(--heading-font);
  letter-spacing: -.035em;
}
.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  background: var(--action-fill);
  color: var(--action-ink);
  border-radius: .38rem;
}
.brand-mark i {
  width: .81rem;
  height: .93rem;
  border: 1.5px solid currentColor;
  border-radius: .47rem .47rem .07rem .07rem;
  position: relative;
}
.brand-mark i::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: .18rem;
  width: 1px;
  height: .37rem;
  background: currentColor;
}
.browse-link, .search-link, .menu-toggle {
  text-decoration: none;
  font-size: var(--size-label);
  line-height: var(--leading-ui);
  font-weight: var(--weight-ui);
  color: var(--muted);
  white-space: nowrap;
}
.browse-link:hover, .search-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: .3em; }
.search-link, .menu-toggle {
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: var(--header-control-size);
  padding: 0 .75rem;
  border-radius: .45rem;
}
.search-link { display: inline-flex; }
.search-link:hover { background: var(--soft); }
.menu-toggle {
  display: none;
  border: 1px solid var(--control-line);
  background: var(--soft);
  color: var(--action-ink);
}
.has-category-drawer .menu-toggle { display: inline-flex; }
.has-category-drawer .browse-link { display: none; }
.menu-toggle:hover { background: var(--action-fill); }
.menu-icon {
  width: .875rem;
  height: .625rem;
  border-block: 1.5px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
}
.category-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(22rem, calc(100% - 2rem));
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.category-drawer:not([open]) { display: none; }
.category-drawer[open] { animation: category-drawer-in .22s ease-out; }
.category-drawer::backdrop { background: #18263d55; }
html:has(.category-drawer[open]) { overflow: hidden; }
@keyframes category-drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.category-drawer-inner { display: flow-root; min-height: 100%; padding: 1.25rem; }
.category-drawer-header { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-bottom: 1rem; }
.category-drawer-header h2 { font-size: var(--size-section); }
.category-drawer-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .38rem;
  background: var(--soft);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}
.category-links { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.category-links a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .5rem .75rem;
  border-radius: .38rem;
  text-decoration: none;
  font-weight: var(--weight-ui);
  line-height: var(--leading-ui);
}
.category-links a:hover, .category-links a[aria-current] {
  background: var(--sky);
  color: var(--action-ink);
}
.magnifier {
  width: .9rem;
  height: .9rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
  margin-right: .14rem;
}
.magnifier::after {
  content: "";
  position: absolute;
  top: .62rem;
  left: .66rem;
  width: .37rem;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: var(--leading-heading);
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
h1, h2 { text-wrap: balance; }
p { margin: 0; }
.hero {
  display: grid;
  grid-template-columns: .87fr 1.13fr;
  align-items: stretch;
  min-height: 30rem;
  margin-top: 2.4rem;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--sky);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(2.3rem, 4.4vw, 4.1rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .67rem;
  color: var(--accent);
  font: 700 var(--size-meta)/var(--leading-ui) var(--body-font);
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.eyebrow span { display: inline-block; flex: 0 0 1.35rem; height: 1px; background: currentColor; }
.hero h1 { font-size: var(--size-display); line-height: var(--leading-display); letter-spacing: -.04em; color: var(--ink); }
.hero h1 em { font-weight: 400; color: var(--accent-hover); }
.hero-description {
  font-size: var(--size-lead);
  color: var(--muted);
  max-width: 30ch;
  margin-top: 1.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; align-items: center; margin-top: 1.6rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.85rem;
  padding: .55rem 1rem;
  border: 1px solid var(--control-line);
  border-radius: .38rem;
  font-size: var(--size-body);
  line-height: var(--leading-ui);
  font-weight: var(--weight-ui);
  text-decoration: none;
  background: var(--action-fill);
  color: var(--action-ink);
  transition: background-color .16s, border-color .16s;
}
.button:hover { background: var(--action-hover); border-color: var(--accent); }
.button.secondary { background: var(--white); color: var(--accent); border-color: var(--control-line); }
.button.secondary:hover { background: var(--sky); border-color: var(--accent); }
.text-link { color: var(--accent); font-weight: var(--weight-ui); text-underline-offset: .24em; }
.text-link:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.hero-image { min-width: 0; position: relative; background: var(--sky); }
.hero-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 53% 50%; }

.section { padding-block: clamp(2.6rem, 4.6vw, 4.5rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 1.35rem; flex-wrap: wrap; }
.section-heading h2, .measure-callout h2 { font-size: var(--size-section); }
.section-heading p, .measure-callout p { margin-top: .55rem; color: var(--muted); }
.room-section .section-heading p, .featured-section .section-heading p, .measure-callout-copy { max-width: 64ch; }
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.room-card, .guide-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .68rem;
  background: var(--white);
}
.room-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color .16s, box-shadow .16s;
}
.room-card:hover, .guide-card:hover { border-color: #99aec0; box-shadow: 0 5px 18px #36536f12; }
.room-card img { aspect-ratio: 1.65; object-fit: cover; background: var(--sky); }
.room-card-copy { padding: 1.15rem 1.2rem 1.3rem; }
.room-card h3, .guide-card-copy h3 { font-size: var(--size-card); }
.room-card p, .guide-card-copy > p:last-child { margin-top: .45rem; color: var(--muted); }
.room-card:hover h3, .guide-card:hover h3 { text-decoration: underline; text-underline-offset: .19em; }
.featured-section { border-block: 1px solid var(--line); background: var(--soft); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.guide-card { transition: border-color .16s, box-shadow .16s; }
.guide-card a { display: block; height: 100%; text-decoration: none; }
.guide-card-copy { padding: 1.25rem; }
.guide-meta { display: flex; flex-wrap: wrap; gap: .15rem .45rem; color: var(--accent); font-size: var(--size-meta); line-height: var(--leading-ui); font-weight: var(--weight-ui); margin-bottom: .62rem; }
.measure-callout-copy { flex: 1 1 27rem; }
.measure-callout { padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: .75rem; background: var(--sky); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }

.site-footer { background: var(--sky); border-top: 1px solid var(--line); padding-block: 2.15rem 1.25rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 1.4rem 3rem; align-items: start; justify-content: space-between; }
.footer-top p { color: var(--muted); margin-top: .5rem; }
.footer-top nav, .other-rooms ul { display: flex; flex-wrap: wrap; gap: .6rem 1.35rem; }
.footer-top nav a { color: var(--accent); text-decoration: none; font-weight: var(--weight-ui); }
.footer-top nav a:hover { text-decoration: underline; text-underline-offset: .24em; }
.footer-note { margin-top: 1.4rem; padding-top: .85rem; border-top: 1px solid var(--line); font-size: var(--size-meta); line-height: var(--leading-ui); color: var(--muted); }

.inner-page { padding-block: 1.65rem clamp(3.4rem, 7vw, 6rem); min-height: 60vh; }
.breadcrumbs { margin-bottom: 1.65rem; color: var(--muted); font-size: var(--size-meta); line-height: var(--leading-ui); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .6rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { min-width: 0; overflow-wrap: anywhere; }
.breadcrumbs li + li::before { content: "/"; color: var(--muted); margin-right: .6rem; }
.breadcrumbs a { text-underline-offset: .18em; }
.page-heading, .article-heading { margin-bottom: 1.8rem; }
.page-heading h1 { font-size: var(--size-page); }
.page-heading p, .article-heading > p:not(.eyebrow) { color: var(--muted); font-size: var(--size-lead); max-width: 52ch; margin-top: .75rem; }
.search-panel { background: var(--sky); border: 1px solid var(--line); border-radius: .75rem; padding: 1.15rem; margin-block: 0 2.2rem; }
.filter-form { display: grid; align-items: end; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: .8rem; }
.filter-form label { display: block; color: var(--accent); font-weight: var(--weight-ui); font-size: var(--size-label); line-height: var(--leading-ui); margin-bottom: .35rem; }
.query-field { position: relative; }
.query-field .magnifier { position: absolute; top: 50%; left: .85rem; transform: translateY(-50%); pointer-events: none; color: var(--accent); }
.filter-form input, .filter-form select {
  width: 100%; min-width: 0; min-height: 2.85rem; border: 1px solid var(--control-line);
  color: var(--ink); background: var(--white); border-radius: .38rem; padding: .6rem .75rem;
  font-size: var(--size-body); line-height: var(--leading-ui);
}
.filter-form input { padding-left: 2.3rem; }
.filter-form select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 1.05rem) 53%, calc(100% - .75rem) 53%; background-size: .3rem .3rem; background-repeat: no-repeat; }
.library-group + .library-group, .related-guides { margin-top: 2.1rem; }
.library-group h2, .related-guides h2, .other-rooms h2 { font-size: var(--size-section); margin-bottom: .85rem; }
.library-group h2 a { text-decoration: none; }
.library-group h2 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.empty-results { padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: .55rem; }
.room-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; background: var(--sky); border-radius: .95rem; overflow: hidden; margin-bottom: 2.2rem; }
.room-intro .page-heading { margin: 0; padding: clamp(1.5rem, 5vw, 3.5rem); }
.room-feature-image { width: 100%; height: clamp(14rem, 27vw, 22rem); object-fit: cover; }
.room-start { max-width: 68ch; margin-bottom: 2.2rem; }
.room-start h2 { font-size: var(--size-section); margin-bottom: .65rem; }
.room-start ul { margin: .7rem 0 0; padding-left: 1.3rem; }
.room-start li + li { margin-top: .25rem; }
.room-start a, .article-meta a { color: var(--accent); text-underline-offset: .2em; }
.other-rooms { padding-top: 2rem; }
.other-rooms ul { list-style: none; margin: 0; padding: 0; }
.other-rooms a { color: var(--accent); text-underline-offset: .2em; }

main:has(.article-page) { background: var(--white); }
.article-page { max-width: 68rem; }
.article-heading { max-width: 50rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.article-heading h1 { font-size: var(--size-article-title); }
.article-heading .eyebrow { margin-bottom: .8rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; margin-top: .85rem; color: var(--muted); font-size: var(--size-meta); line-height: var(--leading-ui); }
.plain-button { background: none; border: 0; color: var(--accent); padding: .2rem .25rem; text-decoration: underline; text-underline-offset: .2em; font-weight: var(--weight-ui); }
.article-layout { display: grid; grid-template-columns: minmax(0, 43rem) minmax(12rem, 1fr); gap: clamp(1.5rem, 5vw, 4rem); }
.article-content { max-width: 66ch; font-size: var(--size-reading); line-height: var(--leading-reading); overflow-wrap: anywhere; }
.article-content h2 { font-size: var(--size-article-section); margin-block: 1.4rem .45rem; }
.article-content p + p { margin-top: .85rem; }
.article-content h3 { font-size: var(--size-article-subhead); margin: 1rem 0 .32rem; }
.article-content ul { margin: .65rem 0 0; padding-left: 1.4rem; }
.article-content li + li { margin-top: .27rem; }
.article-intro { font-size: max(var(--size-lead), var(--size-reading)); color: var(--accent); }
.article-content .try-box { margin-top: 1.55rem; padding: 1rem 1.2rem; background: var(--note); border-radius: .5rem; border-left: 3px solid var(--note-line); }
.try-box h2 { margin-top: 0; }
.contents { position: sticky; top: 1.5rem; border: 1px solid var(--line); border-radius: .65rem; padding: 1rem; background: var(--white); }
.contents h2 { font: var(--weight-ui) var(--size-label)/var(--leading-ui) var(--body-font); letter-spacing: 0; }
.contents ol { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; }
.contents a { font-size: var(--size-label); line-height: var(--leading-ui); color: var(--accent); text-underline-offset: .18em; }
.related-guides .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plain-page { max-width: 58rem; }
.contact-details { margin: 0; }
.contact-details dt { font-weight: var(--weight-ui); }
.contact-details dd { margin: 0 0 1rem; }
.contact-details address { font-style: normal; }
.contact-details address span { display: block; color: var(--muted); margin-top: .35rem; }
.checklist { display: grid; gap: .65rem; margin: 1.1rem 0 0; border: 1px solid var(--line); border-radius: .55rem; padding: .85rem 1rem 1rem; }
.checklist legend { color: var(--accent); padding-inline: .35rem; font-size: var(--size-label); line-height: var(--leading-ui); font-weight: var(--weight-ui); }
.checklist label { display: flex; gap: .65rem; align-items: start; cursor: pointer; }
.checklist input { margin: .36rem 0 0; width: 1.1rem; height: 1.1rem; flex: 0 0 auto; accent-color: var(--accent); }
.checklist label span span { display: block; color: var(--muted); font-size: var(--size-body); line-height: var(--leading-body); }
.measurement-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: .6rem; margin: 0 0 1.25rem; }
.measurement-lines span { min-height: 2.4rem; border-bottom: 1px solid var(--control-line); color: var(--muted); font-size: var(--size-meta); line-height: var(--leading-ui); }

@media (max-width: 68rem) {
  .wrap { width: min(calc(100% - 4rem), var(--max-width)); }
  .room-grid, .featured-section .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 27rem; }
}
@media (max-width: 48rem) {
  :root {
    --size-display: clamp(2rem, 9.4vw, 3.5rem);
    --size-page: clamp(2rem, 8vw, 3.5rem);
    --size-article-title: clamp(1.875rem, 7.75vw, 3.125rem);
    --size-reading: 1.0625rem;
  }
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.75rem; gap: .5rem; padding-block: .45rem; }
  .header-inner > .brand { gap: .5rem; font-size: clamp(1rem, 5vw, 1.3rem); }
  .header-tools { gap: .2rem; }
  .search-text { display: none; }
  .search-link { width: var(--header-control-size); padding: 0; }
  .menu-toggle { padding-inline: .65rem; }
  .hero { grid-template-columns: 1fr; margin-top: 1rem; min-height: 0; }
  .hero-copy { padding: clamp(1.3rem, 5.8vw, 1.8rem); }
  .hero-image { aspect-ratio: 1.55; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { display: flex; flex-direction: column; gap: 1.15rem; }
  .article-layout aside { order: -1; }
  .contents { position: static; }
}
@media (max-width: 40rem) {
  .room-grid, .featured-section .guide-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 33rem) {
  .guide-grid, .related-guides .guide-grid, .room-intro { grid-template-columns: 1fr; }
  .room-intro { gap: 0; }
  .room-feature-image { height: 12rem; }
  .filter-form { grid-template-columns: minmax(0, 1fr); }
  .filter-form button { justify-self: start; }
}
@media (max-width: 22rem) {
  .header-inner > .brand .brand-mark { width: 1.65rem; height: 1.65rem; }
  .header-tools .menu-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .category-drawer[open] { animation: none; }
}
@media print {
  body, .try-box, .checklist { background: #fff !important; color: #000 !important; }
  .site-header, .site-footer, .breadcrumbs, .skip-link, .category-drawer, [data-print], .related-guides, .article-layout aside { display: none !important; }
  .wrap, .article-content { width: 100%; max-width: none; }
  .article-layout { display: block; }
  .inner-page { padding: 0; }
  .article-heading h1, .page-heading h1 { font-size: 26pt; }
  .article-content section, .checklist label { break-inside: avoid; }
  .measurement-lines { margin-bottom: 1rem; }
}
