:root {
  --ink: #2b1a12;
  --ink-soft: #543c2f;
  --muted: #7d6252;
  --paper: #fdf6ec;
  --paper-2: #f7e9d9;
  --card: #fffaf3;
  --line: #ecd8c3;
  --accent: #b5482f;
  --accent-dark: #93341f;
  --sage: #7d8a63;
  --radius: 16px;
  --shadow: 0 12px 28px rgba(90, 45, 25, 0.11);
  --wrap: 1120px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 2em 0 .6em; }
h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

code {
  background: var(--paper-2);
  padding: .12em .4em;
  border-radius: 5px;
  font-size: .9em;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  background: rgba(53, 32, 24, 0.97);
  border-bottom: 4px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.02em;
}
.logo span { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: .95rem;
}
.nav > a { color: #f6e6d7; text-decoration: none; font-weight: 500; }
.nav > a:hover { color: #f0a184; }

.dropdown { position: relative; }
.dropdown summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink-soft);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after {
  content: "";
  width: .42rem;
  height: .42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .2s ease;
}
.dropdown[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .7rem);
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: .5rem;
  display: grid;
  gap: .1rem;
}
.dropdown-menu a {
  padding: .55rem .7rem;
  border-radius: 7px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .92rem;
}
.dropdown-menu a:hover { background: var(--paper-2); color: var(--ink); }

/* Hero */
.hero {
  background:
    linear-gradient(90deg, rgba(52, 24, 14, .83) 0%, rgba(52, 24, 14, .55) 50%, rgba(52, 24, 14, .25) 100%),
    url('../img/hero.jpg') center / cover no-repeat;
  border-bottom: 1px solid var(--line);
  color: #f7f2ea;
}
.hero .kicker { color: #f2b394; }
.hero h1 { color: #fff; }
.hero .lede { color: #e6ddd1; }
.hero .btn { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn:hover { background: #e9dfd1; border-color: #e9dfd1; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-inner { padding: clamp(3rem, 9vw, 6rem) 0; max-width: 780px; }
.hero h1 { margin-bottom: .5em; }
.kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .9rem;
}
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: .62rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  border: 1px solid var(--ink);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: .8rem 1.5rem; font-size: 1rem; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-sub { color: var(--muted); max-width: 60ch; margin-top: -.3rem; }
.intro-2 { max-width: 68ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}
.grid.three { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 16 / 9; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.12rem; margin: .5rem 0 .45rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent-dark); }
.card-body p { font-size: .93rem; color: var(--muted); flex: 1; }
.card .btn { align-self: flex-start; margin-top: .4rem; }

.badge {
  display: inline-block;
  align-self: flex-start;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage);
  text-decoration: none;
  background: rgba(111, 127, 99, .1);
  padding: .25rem .6rem;
  border-radius: 999px;
}

/* Category tiles */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}
.cat-tile {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 1.2rem;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.cat-tile:hover { background: var(--paper-2); transform: translateY(-2px); }
.cat-name { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); font-weight: 600; }
.cat-desc { font-size: .85rem; color: var(--muted); }

/* Values */
.values { background: var(--paper-2); border-block: 1px solid var(--line); }
.value h3 { margin-top: 0; }
.value p { color: var(--muted); font-size: .95rem; }

/* Page head + breadcrumb */
.page-head { padding: 2.2rem 0 1rem; }
.page-head .lede { margin-top: -.2rem; }

.breadcrumb { font-size: .82rem; color: var(--muted); padding-top: 1.2rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; gap: .3rem; margin: 0; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); }

/* Article */
.article-wrap { padding-bottom: 3rem; }
.article { max-width: 780px; margin: 0 auto; }
.article-head { padding: 2rem 0 1rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.article-head h1 { margin-bottom: .45em; }
.article-head .lede { font-size: 1.05rem; }
.meta { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

.prose { font-size: 1.05rem; color: var(--ink-soft); }
.prose p { margin-bottom: 1.25em; }
.prose h2 { color: var(--ink); scroll-margin-top: 90px; }
.prose h3 { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }

.article-figure { margin: 2rem 0; }
.article-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper-2); }
.article-figure figcaption { font-size: .82rem; color: var(--muted); margin-top: .55rem; }

.faq { margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .85rem 1rem;
  margin-bottom: .6rem;
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin: .7rem 0 0; color: var(--muted); font-size: .95rem; }

.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-top: 2.5rem;
}
.author-avatar {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
}
.author-box h2 { font-size: 1.05rem; margin: 0 0 .25rem; font-family: var(--font-body); }
.author-box p { margin: 0; font-size: .9rem; color: var(--muted); }

.related { max-width: 1120px; margin: 3rem auto 0; border-top: 1px solid var(--line); padding-top: 1rem; }

/* Sitemap/subtopics */
.subtopics {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.subtopics li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .85rem;
  color: var(--ink-soft);
  margin: 0;
}
.other-cats ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.other-cats a { font-weight: 600; }

/* Forms */
.contact-form { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact-form .btn { justify-self: start; cursor: pointer; }

.narrow { max-width: 820px; }
.updated { font-size: .82rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: #35201a;
  color: #d9d2c7;
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h3 { color: #f3ede3; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 0; }
.site-footer p { color: #b7ada0; font-size: .92rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: #d9d2c7; text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { color: #f3ede3; font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 .6rem; }
.footer-logo span { color: #cbb89d; }
.footer-bottom { border-top: 1px solid #5b3a2c; margin-top: 2.5rem; padding-top: 1.2rem; }
.footer-bottom p { margin: 0; font-size: .82rem; color: #8e857a; }

/* Responsive */
@media (max-width: 720px) {
  .hero-inner { padding: 2.6rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer > .footer-grid > div:first-child { grid-column: 1 / -1; }
  .nav { gap: 1rem; font-size: .9rem; }
  .dropdown-menu {
    position: static;
    min-width: 200px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: .3rem 0 0;
  }
  .dropdown-menu a { padding: .45rem .2rem; }
  .article-head { padding-top: 1.4rem; }
  .article-figure { margin: 1.5rem 0; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 1.6rem); }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
  .btn { width: 100%; text-align: center; }
  .card .btn { width: auto; }
}

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


/* ShowAndRoom bold theme */
.site-header .logo { color: #fff4e7; }
.site-header .logo span { color: #f0a184; }
.site-header .nav summary { color: #f6e6d7; }
.site-header .dropdown-menu { background: #43291f; border-color: #5d3a2c; }
.site-header .dropdown-menu a { color: #f6e6d7; }
.site-header .dropdown-menu a:hover { background: #5a382a; color: #ffffff; }
.card { border-top: 5px solid var(--accent); }
.cat-tile { border-top: 5px solid var(--accent); }
.cat-tile:hover { background: var(--card); }
.badge { background: var(--paper-2); color: var(--accent-dark); }
.site-footer .footer-logo span { color: #f0a184; }

/* === Colour-block mosaic (ShowAndRoom) === */
.hero { align-items: flex-end; }
.hero-inner { background: rgba(53, 32, 24, 0.84); padding: clamp(1.4rem, 3vw, 2.4rem); border-left: 6px solid var(--accent); border-radius: 0 14px 14px 0; max-width: 660px; }
.grid { grid-template-columns: repeat(2, 1fr); }
.grid > .card:first-child { grid-column: 1 / -1; }
.grid > .card:first-child .card-media { aspect-ratio: 21 / 9; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid.three > .card:first-child { grid-column: auto; }
.grid.three > .card:first-child .card-media { aspect-ratio: 16 / 9; }
.cat-grid { grid-template-columns: repeat(2, 1fr); }
.cat-tile { background: var(--paper-2); }
@media (max-width: 720px) { .grid { grid-template-columns: 1fr; } .grid > .card:first-child { grid-column: auto; } .cat-grid { grid-template-columns: 1fr; } .hero-inner { border-radius: 0 12px 12px 0; } }
