
/*
  -----------------------------------------------
  ELEVATE HEALTH CARE — COLOUR SYSTEM
  Derived directly from clinic interior materials
  -----------------------------------------------

  LAMINEX OTWAY (cabinetry)
  "Deeply blackened, halfway between blue and green,
   evocative of lush green forest in dappled sunlight"
    --otway-deep  #1E2D26   hero/nav backgrounds
    --otway       #2B3D35   primary brand anchor
    --otway-mid   #3A5245   hover states

  AUTEX GHERKIN (feature wall panels)
  "Jade green, biophilic, mid-tone"
    --gherkin      #5C7A62  accents, CTAs, links
    --gherkin-lt   #7A9C7F  lighter highlights
    --gherkin-pale #C4D9C6  pale tints

  LAMINEX WAXED MAPLE (ply surfaces)
  "Clean, pale warm woodgrain, soft maple structure"
    --maple        #E8DCC8  warm cream
    --maple-lt     #F4EEE3  near-white warm bg
    --maple-deep   #D4C4A8  borders/dividers
    --maple-darker #BCA882  deeper accents

  PAGE BACKGROUND
    --page         #FDFAF5  warm off-white
  -----------------------------------------------
*/
:root {
  --otway-deep:   #1E2D26;
  --otway:        #2B3D35;
  --otway-mid:    #3A5245;
  --gherkin:      #5C7A62;
  --gherkin-lt:   #7A9C7F;
  --gherkin-pale: #C4D9C6;
  --maple:        #E8DCC8;
  --maple-lt:     #F4EEE3;
  --maple-deep:   #D4C4A8;
  --maple-darker: #BCA882;
  --ink:          #1A1A18;
  --mid:          #5A5A52;
  --light:        #9A9A8E;
  --page:         #FDFAF5;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { text-decoration: none; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; background: rgba(253,250,245,0.96); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(43,61,53,0.1); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 36px; height: 36px; background: var(--otway); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo svg { width: 16px; height: 16px; stroke: var(--maple-lt); fill: none; stroke-width: 1.5; }
.nav-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--otway); line-height: 1; }
.nav-sub { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gherkin); font-weight: 400; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.73rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--mid); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--otway); }
.nav-book { background: var(--otway) !important; color: var(--maple-lt) !important; padding: 9px 20px !important; border-radius: 2px; transition: background 0.2s !important; }
.nav-book:hover { background: var(--otway-mid) !important; }

/* HERO */
.hero { min-height: 100vh; display: grid; grid-template-columns: 52% 48%; padding-top: 68px; }
.hero-left { background: var(--otway-deep); display: flex; flex-direction: column; justify-content: center; padding: 80px 52px 80px 72px; position: relative; overflow: hidden; }
.hero-left::before { content: ''; position: absolute; top: -200px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(92,122,98,0.12) 0%, transparent 65%); pointer-events: none; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 0.67rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gherkin-lt); font-weight: 500; margin-bottom: 24px; animation: fadeUp 0.8s var(--ease) both; }
.eyebrow-line { width: 36px; height: 1px; background: var(--gherkin); flex-shrink: 0; }
.hero-h1 { font-family: var(--serif); font-size: clamp(2.8rem, 4.2vw, 4.4rem); font-weight: 300; line-height: 1.08; color: var(--maple-lt); letter-spacing: -0.01em; animation: fadeUp 0.8s 0.1s var(--ease) both; }
.hero-h1 em { font-style: italic; color: var(--gherkin-lt); }
.hero-h1 .dim { color: var(--maple); opacity: 0.65; }
.hero-p { font-size: 0.93rem; color: rgba(244,238,227,0.5); max-width: 360px; line-height: 1.78; margin: 28px 0 44px; font-weight: 300; animation: fadeUp 0.8s 0.2s var(--ease) both; }
.hero-btns { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; animation: fadeUp 0.8s 0.3s var(--ease) both; }
.btn-p { display: inline-flex; align-items: center; gap: 10px; background: var(--gherkin); color: var(--otway-deep); padding: 14px 28px; font-size: 0.73rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; border-radius: 2px; transition: background 0.2s, transform 0.15s; }
.btn-p:hover { background: var(--gherkin-lt); transform: translateY(-1px); }
.btn-p svg { width: 14px; height: 14px; }
.btn-g { display: inline-flex; align-items: center; gap: 8px; color: rgba(244,238,227,0.55); font-size: 0.73rem; letter-spacing: 0.13em; text-transform: uppercase; transition: color 0.2s; }
.btn-g:hover { color: var(--maple-lt); }
.btn-g svg { width: 15px; height: 15px; }
.hero-div { width: 44px; height: 1px; background: rgba(196,217,198,0.18); margin: 52px 0 36px; animation: fadeUp 0.8s 0.35s var(--ease) both; }
.hero-stats { display: flex; animation: fadeUp 0.8s 0.4s var(--ease) both; }
.hstat { padding-right: 32px; margin-right: 32px; border-right: 1px solid rgba(196,217,198,0.14); }
.hstat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hstat-n { font-family: var(--serif); font-size: 2.6rem; font-weight: 300; color: var(--maple-lt); line-height: 1; letter-spacing: -0.02em; }
.hstat-n sup { font-size: 1.1rem; }
.hstat-l { font-size: 0.64rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gherkin); margin-top: 5px; font-weight: 500; line-height: 1.4; }

.hero-right { position: relative; background: var(--maple); display: flex; flex-direction: column; }
.hero-photo { flex: 1; position: relative; overflow: hidden; background: linear-gradient(155deg, var(--maple-lt) 0%, var(--maple) 50%, var(--maple-deep) 100%); min-height: 400px; display: flex; align-items: center; justify-content: center; }
.photo-ph { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.photo-ph-icon { width: 70px; height: 70px; border-radius: 50%; border: 1.5px solid var(--maple-darker); display: flex; align-items: center; justify-content: center; opacity: 0.45; }
.photo-ph-icon svg { width: 28px; height: 28px; stroke: var(--otway); fill: none; stroke-width: 1.5; }
.photo-ph-text { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--otway); opacity: 0.4; text-align: center; max-width: 180px; line-height: 1.45; }

.npi { position: absolute; bottom: 28px; left: -20px; background: var(--otway-deep); border: 1px solid rgba(92,122,98,0.3); border-radius: 4px; padding: 16px 20px; box-shadow: 0 8px 32px rgba(30,45,38,0.22); min-width: 240px; animation: slideIn 0.7s 0.55s var(--ease) both; }
.npi-label { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gherkin); font-weight: 500; margin-bottom: 10px; }
.npi-item { display: flex; align-items: center; gap: 9px; padding: 5px 0; border-bottom: 1px solid rgba(92,122,98,0.12); }
.npi-item:last-child { border-bottom: none; padding-bottom: 0; }
.npi-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gherkin); flex-shrink: 0; }
.npi-text { font-size: 0.72rem; color: rgba(244,238,227,0.7); line-height: 1.3; }

.cond-strip { background: var(--otway); padding: 13px 22px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.cond-lbl { font-size: 0.61rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gherkin-lt); font-weight: 500; white-space: nowrap; margin-right: 4px; }
.cond-pill { font-size: 0.66rem; color: rgba(244,238,227,0.55); padding: 3px 10px; border: 1px solid rgba(92,122,98,0.3); border-radius: 20px; white-space: nowrap; transition: all 0.2s; cursor: default; }
.cond-pill:hover { color: var(--maple-lt); border-color: var(--gherkin); }

/* WHY */
.why { display: grid; grid-template-columns: 1fr 1fr; }
.why-l { background: var(--maple-lt); padding: 80px 52px 80px 72px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--maple-deep); }
.sec-eyebrow { font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gherkin); font-weight: 500; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.sec-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gherkin); flex-shrink: 0; }
.sec-h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 300; line-height: 1.14; color: var(--otway-deep); margin-bottom: 22px; letter-spacing: -0.01em; }
.sec-h2 em { font-style: italic; color: var(--gherkin); }
.sec-p { font-size: 0.9rem; color: var(--mid); line-height: 1.8; max-width: 410px; }
.sec-p + .sec-p { margin-top: 12px; }
.sec-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-size: 0.73rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--otway); font-weight: 500; transition: gap 0.2s; }
.sec-link:hover { gap: 14px; }
.sec-link svg { width: 15px; height: 15px; }

.why-r { background: var(--page); padding: 80px 72px 80px 52px; display: flex; flex-direction: column; justify-content: center; }
.pillar { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--maple-deep); }
.pillar:first-child { padding-top: 0; }
.pillar:last-child { border-bottom: none; padding-bottom: 0; }
.pillar-n { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; color: var(--maple-deep); line-height: 1; flex-shrink: 0; width: 44px; padding-top: 2px; }
.pillar-t { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--otway); margin-bottom: 5px; }
.pillar-b { font-size: 0.86rem; color: var(--mid); line-height: 1.72; }

/* TEAM */
.team { background: var(--otway-deep); padding: 88px 72px; }
.team .sec-eyebrow { color: var(--gherkin-lt); }
.team .sec-eyebrow::before { background: var(--gherkin-lt); }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 2px; margin-top: 48px; max-width: 680px; }
.team-card { background: rgba(255,255,255,0.025); border: 1px solid rgba(92,122,98,0.14); display: grid; grid-template-columns: 180px 1fr; overflow: hidden; transition: border-color 0.3s; }
.team-card:hover { border-color: rgba(92,122,98,0.38); }
.team-img { background: linear-gradient(180deg, var(--otway-mid) 0%, var(--otway) 100%); min-height: 260px; display: flex; align-items: center; justify-content: center; }
.team-img-ph { font-family: var(--serif); font-size: 0.82rem; font-style: italic; color: rgba(122,156,127,0.45); text-align: center; padding: 16px; line-height: 1.5; }
.team-info { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.team-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--maple-lt); margin-bottom: 2px; }
.team-role { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gherkin); font-weight: 500; margin-bottom: 16px; }
.team-bio { font-size: 0.85rem; color: rgba(244,238,227,0.45); line-height: 1.75; }
.team-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 18px; }
.tag { font-size: 0.63rem; letter-spacing: 0.07em; color: var(--gherkin-lt); padding: 3px 9px; border: 1px solid rgba(92,122,98,0.28); border-radius: 20px; }

/* CONDITIONS */
.conds { background: var(--maple-lt); padding: 88px 72px; border-top: 1px solid var(--maple-deep); }
.conds-hdr { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.conds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--maple-deep); border: 1px solid var(--maple-deep); }
.cond-card { background: var(--page); padding: 32px 28px; transition: background 0.22s; cursor: pointer; position: relative; overflow: hidden; }
.cond-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gherkin); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease); }
.cond-card:hover { background: var(--maple-lt); }
.cond-card:hover::after { transform: scaleX(1); }
.cond-ico { width: 42px; height: 42px; background: var(--maple); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: background 0.22s; }
.cond-card:hover .cond-ico { background: var(--gherkin-pale); }
.cond-ico svg { width: 19px; height: 19px; stroke: var(--otway); fill: none; stroke-width: 1.5; }
.cond-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--otway-deep); margin-bottom: 7px; }
.cond-desc { font-size: 0.82rem; color: var(--mid); line-height: 1.65; }
.cond-arr { display: flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gherkin); font-weight: 500; opacity: 0; transform: translateX(-6px); transition: opacity 0.22s, transform 0.22s; }
.cond-card:hover .cond-arr { opacity: 1; transform: translateX(0); }
.cond-arr svg { width: 13px; height: 13px; }

/* JOURNEY */
.journey { background: var(--page); padding: 88px 72px; border-top: 1px solid var(--maple-deep); }
.journey-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 52px; position: relative; }
.journey-grid::before { content: ''; position: absolute; top: 27px; left: calc(12.5% + 16px); right: calc(12.5% + 16px); height: 1px; background: linear-gradient(to right, var(--maple-deep), var(--gherkin-pale), var(--maple-deep)); }
.jstep { display: flex; flex-direction: column; align-items: center; padding: 0 20px; text-align: center; }
.jnum { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--gherkin-pale); background: var(--page); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.35rem; font-weight: 300; color: var(--gherkin); margin-bottom: 22px; position: relative; z-index: 1; transition: background 0.28s, border-color 0.28s, color 0.28s; }
.jstep:hover .jnum { background: var(--gherkin); border-color: var(--gherkin); color: var(--page); }
.jtitle { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--otway); margin-bottom: 8px; }
.jbody { font-size: 0.81rem; color: var(--light); line-height: 1.65; }

/* LOCATION */
.loc { background: var(--otway); padding: 80px 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; border-top: 1px solid rgba(92,122,98,0.28); }
.loc-h { font-family: var(--serif); font-size: clamp(1.9rem, 2.8vw, 2.7rem); font-weight: 300; color: var(--maple-lt); margin-bottom: 18px; line-height: 1.18; }
.loc-p { font-size: 0.88rem; color: rgba(244,238,227,0.5); line-height: 1.82; margin-bottom: 28px; }
.loc-d { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; }
.loc-d svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; stroke: var(--gherkin-lt); fill: none; stroke-width: 1.5; }
.loc-d-t { font-size: 0.84rem; color: rgba(244,238,227,0.6); line-height: 1.5; }
.loc-d-t strong { color: var(--maple-lt); display: block; font-weight: 400; }
.loc-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(92,122,98,0.18); border-radius: 4px; padding: 44px; text-align: center; }
.loc-box-h { font-family: var(--serif); font-size: 1.75rem; font-weight: 300; color: var(--maple-lt); margin-bottom: 8px; }
.loc-box-p { font-size: 0.84rem; color: rgba(244,238,227,0.42); margin-bottom: 32px; line-height: 1.6; }
.btn-big { display: block; background: var(--gherkin); color: var(--otway-deep); padding: 15px 36px; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; border-radius: 2px; transition: background 0.2s, transform 0.15s; margin-bottom: 11px; text-align: center; }
.btn-big:hover { background: var(--gherkin-lt); transform: translateY(-1px); }
.btn-tel { display: block; color: rgba(244,238,227,0.38); font-size: 0.75rem; letter-spacing: 0.1em; transition: color 0.2s; padding: 6px; text-align: center; }
.btn-tel:hover { color: var(--maple-lt); }

/* FOOTER */
.footer { background: var(--otway-deep); padding: 48px 72px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; border-top: 1px solid rgba(92,122,98,0.13); }
.footer-brand-n { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--maple-lt); margin-bottom: 4px; }
.footer-brand-s { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gherkin); margin-bottom: 14px; }
.footer-about { font-size: 0.81rem; color: rgba(244,238,227,0.32); line-height: 1.7; max-width: 260px; }
.footer-col-h { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gherkin-lt); font-weight: 500; margin-bottom: 14px; }
.footer-links { list-style: none; }
.footer-links li + li { margin-top: 7px; }
.footer-links a { font-size: 0.81rem; color: rgba(244,238,227,0.36); transition: color 0.2s; }
.footer-links a:hover { color: var(--maple-lt); }
.footer-btm { background: var(--otway-deep); padding: 18px 72px; border-top: 1px solid rgba(92,122,98,0.09); display: flex; justify-content: space-between; align-items: center; }
.footer-legal { font-size: 0.7rem; color: rgba(244,238,227,0.22); letter-spacing: 0.04em; }
.footer-legal a { color: inherit; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(244,238,227,0.45); }
.footer-ahpra { font-size: 0.63rem; letter-spacing: 0.1em; color: rgba(92,122,98,0.55); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: translateX(0); } }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--maple-lt); }
::-webkit-scrollbar-thumb { background: var(--gherkin-pale); border-radius: 3px; }

/* -----------------------------------------------
   INNER PAGE STYLES
   ----------------------------------------------- */

/* Breadcrumb */
.breadcrumb { font-size: 0.82rem; color: var(--gherkin-lt); margin-bottom: 0; }
.breadcrumb a { color: var(--gherkin-lt); text-decoration: none; opacity: 0.75; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb span { color: rgba(244,238,227,0.55); }

/* Page hero (inner pages) */
.page-hero { background: var(--otway-deep); color: var(--maple-lt); padding: 5rem 2rem 3.5rem; text-align: center; }
.page-hero .breadcrumb { margin-bottom: 1.5rem; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; margin-bottom: 1rem; letter-spacing: -0.01em; }
.page-hero .page-subtitle { font-size: 1rem; opacity: 0.6; max-width: 700px; margin: 0 auto; line-height: 1.85; font-weight: 300; }

/* Page content */
.page-content { max-width: 860px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.page-content h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 300; color: var(--otway-deep); margin: 3rem 0 1rem; border-bottom: 2px solid var(--maple); padding-bottom: 0.5rem; }
.page-content h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--otway); margin: 2rem 0 0.6rem; }
.page-content p { margin-bottom: 1rem; line-height: 1.8; color: var(--ink); }
.page-content ul { margin: 0 0 1rem 1.5rem; line-height: 1.8; }
.page-content ol { margin: 0 0 1rem 1.5rem; line-height: 1.8; }
.page-content li { margin-bottom: 0.4rem; color: var(--ink); }
.page-content hr { border: none; border-top: 1px solid var(--maple); margin: 2rem 0; }
.page-content a { color: var(--gherkin); }
.page-content a:hover { color: var(--otway); }
.page-content strong { font-weight: 600; }
.page-content em { font-style: italic; }
.page-content code { font-family: monospace; background: var(--maple-lt); padding: 0.1em 0.4em; border-radius: 3px; font-size: 0.9em; }

/* Tables */
.page-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.92rem; }
.page-content th { background: var(--otway); color: var(--maple-lt); padding: 0.65rem 1rem; text-align: left; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.05em; }
.page-content td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--maple); vertical-align: top; }
.page-content tr:nth-child(even) td { background: var(--maple-lt); }

/* CTA blockquote */
.page-content blockquote { background: var(--maple-lt); border-left: 4px solid var(--gherkin); padding: 1.5rem 2rem; margin: 2rem 0; border-radius: 0 6px 6px 0; }
.page-content blockquote p { margin: 0.35rem 0; line-height: 1.75; }
.page-content blockquote strong { color: var(--otway-deep); font-family: var(--serif); font-size: 1.05rem; }
.page-content blockquote a { color: var(--gherkin); font-weight: 500; }

/* AHPRA note */
.ahpra-note { background: var(--maple-lt); border: 1px solid var(--maple-deep); border-radius: 6px; padding: 1.2rem 1.5rem; margin: 2rem 0; font-size: 0.88rem; color: var(--mid); }
.ahpra-note p { margin: 0; line-height: 1.7; }
.ahpra-note strong { color: var(--otway); }

/* References */
.references-section { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--maple); }
.references-section h2 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); font-family: var(--sans); font-weight: 500; border: none; margin: 0 0 1rem; padding-bottom: 0; }
.references-section ol { margin-left: 1.5rem; font-size: 0.82rem; color: var(--mid); line-height: 1.65; }
.references-section li { margin-bottom: 0.6rem; }
/* -----------------------------------------------
   HAMBURGER NAV BUTTON
   ----------------------------------------------- */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--otway);
  flex-shrink: 0;
}
.nav-hamburger svg { display: block; width: 22px; height: 22px; stroke: var(--otway); fill: none; stroke-width: 2; }
.nav-hamburger .hb-close { display: none; }
.nav.nav-open .nav-hamburger .hb-open  { display: none; }
.nav.nav-open .nav-hamburger .hb-close { display: block; }

/* -----------------------------------------------
   RESPONSIVE — TABLET  (max 960px)
   ----------------------------------------------- */
@media (max-width: 960px) {
  .page-content { max-width: 100%; padding: 2.5rem 2rem 4rem; }
}

/* -----------------------------------------------
   RESPONSIVE — MOBILE  (max 768px)
   ----------------------------------------------- */
@media (max-width: 768px) {

  /* NAV */
  .nav { padding: 0 20px; }
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(253,250,245,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--maple);
    padding: 0.5rem 1.5rem 1rem;
    gap: 0;
    z-index: 199;
    list-style: none;
  }
  .nav-links li { border-bottom: 1px solid var(--maple); }
  .nav-links li:last-child { border-bottom: none; padding-bottom: 0.25rem; }
  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--mid);
  }
  .nav-links a:hover { color: var(--otway); }
  .nav-book {
    display: inline-block !important;
    margin-top: 0.25rem;
    padding: 10px 20px !important;
    width: 100%;
    text-align: center;
  }
  .nav.nav-open .nav-links { display: flex; }

  /* PAGE HERO */
  .page-hero { padding: 5.5rem 1.25rem 2.25rem; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .page-hero .page-subtitle { font-size: 0.9rem; }
  .breadcrumb { font-size: 0.76rem; }

  /* PAGE CONTENT */
  .page-content { padding: 1.75rem 1.25rem 3.5rem; }
  .page-content h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
  .page-content h3 { font-size: 1.1rem; }
  .page-content blockquote { padding: 1rem 1.25rem; }

  /* TABLES — horizontal scroll on tablet */
  .page-content table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .page-content th, .page-content td { padding: 0.5rem 0.7rem; font-size: 0.82rem; }

  /* FOOTER */
  .footer { grid-template-columns: 1fr; padding: 40px 20px; gap: 28px; }
  .footer-btm { padding: 16px 20px; flex-direction: column; gap: 6px; text-align: center; }
}

/* -----------------------------------------------
   RESPONSIVE — SMALL MOBILE  (max 480px)
   ----------------------------------------------- */
@media (max-width: 480px) {
  .page-hero h1 { font-size: 1.65rem; }
  .page-content { padding: 1.5rem 1rem 3rem; }
  .page-content h2 { font-size: 1.35rem; }
  .ahpra-note { padding: 0.9rem 1rem; }

  /* TABLES — stack vertically instead of scrolling */
  .page-content table,
  .page-content thead,
  .page-content tbody,
  .page-content tr,
  .page-content th,
  .page-content td { display: block; width: 100%; box-sizing: border-box; white-space: normal; overflow-x: visible; }

  .page-content thead tr { display: none; } /* hide header row — content is self-explanatory in stacked rows */

  .page-content tr {
    border: 1px solid var(--maple);
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
  }
  .page-content td {
    border: none;
    border-bottom: 1px solid var(--maple);
    padding: 0.6rem 0.9rem;
    font-size: 0.84rem;
    text-align: left !important;
  }
  .page-content td:last-child { border-bottom: none; }
  .page-content tr:nth-child(even) td { background: transparent; }
  .page-content tr:nth-child(odd) { background: #fff; }
  .page-content tr:nth-child(even) { background: var(--maple-lt); }
}
