/* Shared stylesheet — Mr Adam Blackburn FRCS (Plast) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --warm-bg: #faf8f5;
  --warm-bg2: #f3efe8;
  --warm-bg3: #ede7de;
  --rose: #8c4a5a;
  --rose-light: #f0e8eb;
  --rose-mid: #c4869a;
  --sage: #6b8c7a;
  --sage-light: #e8f0eb;
  --text: #2a2220;
  --muted: #7a6e6a;
  --border: #e0d8d0;
  --font: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
a { color: var(--rose); }
a:hover { color: #7a3a4a; }
body { font-family: var(--font-sans); color: var(--text); background: var(--warm-bg); font-size: 16px; line-height: 1.65; }
nav { background: var(--warm-bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { width: 100%; padding: 0 28px; display: flex; align-items: center; justify-content: flex-start; height: 70px; gap: 24px; }
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--rose); color: #fff; font-family: var(--font); font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.nav-logo-text { line-height: 1.25; white-space: nowrap; }
.nav-logo-text .name { font-family: var(--font); font-size: 0.92rem; color: var(--text); }
.nav-logo-text .role { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 14px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.72rem; transition: color 0.2s; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: var(--rose); }
.nav-links a.active { color: var(--rose); }
.nav-dropdown { position: relative; }
.nav-links .nav-dropdown > a::after { content: ' ▾'; font-size: 0.65rem; }
.nav-inner > .nav-dropdown > .nav-logo::after { content: ' ▾'; font-size: 0.65rem; color: var(--muted); }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 0 8px; min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 200; }
.dropdown-menu a { display: block; padding: 9px 18px; font-size: 0.78rem; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color 0.15s, background 0.15s; }
.dropdown-menu a:hover { color: var(--rose); background: var(--warm-bg2); }
.nav-dropdown:hover .dropdown-menu { display: block; }
.nav-book { background: var(--rose); color: #fff; padding: 7px 16px; border-radius: 40px; font-size: 0.73rem; font-weight: 600; text-decoration: none; letter-spacing: 0.03em; transition: background 0.2s; white-space: nowrap; margin-left: auto; }
.nav-book:hover { background: #7a3a4a; color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; background: var(--warm-bg); border-top: 1px solid var(--border); padding: 12px 28px 20px; }
.mobile-menu.open { display: flex; }
.mob-group { border-bottom: 1px solid var(--border); }
.mob-header { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; font-size: 0.9rem; color: var(--muted); cursor: pointer; user-select: none; }
.mob-header:hover { color: var(--rose); }
.mob-arrow { font-size: 1rem; transition: transform 0.2s; display: inline-block; }
.mob-header.open .mob-arrow { transform: rotate(90deg); }
.mob-sub { display: none; padding-bottom: 6px; }
.mob-sub.open { display: flex; flex-direction: column; }
.mob-sub a { color: var(--muted); text-decoration: none; padding: 8px 0 8px 16px; font-size: 0.83rem; border-bottom: none; border-left: 2px solid var(--border); margin-left: 4px; }
.mob-sub a:hover { color: var(--rose); }
footer { background: var(--text); color: rgba(255,255,255,0.55); padding: 48px 28px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-logo { font-family: var(--font); color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer-desc { font-size: 0.82rem; line-height: 1.65; }
.footer-h { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
footer .dropdown-menu a { color: var(--muted); }
footer .dropdown-menu a:hover { color: var(--rose); background: var(--warm-bg2); }
.footer-bottom { max-width: 1100px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 0.75rem; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) {
  .nav-links, .nav-book { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}
