/* v2-header — site header on teal-ink, phone menu, desktop nav from 1280px (1.6.1, R161-N).
   Port of the approved mockup's header block (studio/home/design/build/index.html, "SKIN for Brad's existing site-wide
   markup": .smp-header, .smp-nav, .smp-menu-toggle). Mapping: .smp-header → .smp-v2-header, .smp-header__* → .smp-v2-header__*,
   .smp-menu-toggle → __toggle, .smp-nav → __nav, .smp-nav__book → __book, ul.menu → __menu, ul.menu > li → __item,
   details ul → __sublist, .smp-header.is-open → .smp-v2-header--open. .smp-header stays on the element as the contract name only.
   Glyph change (dev decisions #10): the desktop caret (mockup ▾/▴, U+25BE/25B4, missing from every v2 font) is a CSS triangle.
   Tokens from assets/v2/css/base.css. No !important, no IDs.
   ADDED 2026-11-03 (Claude, Mike's OK). TO UNDO: restore the stub or delete this folder. */

.smp-v2-header{background:var(--smp-v2-teal-ink);color:var(--smp-v2-white);position:relative;z-index:50}
.smp-v2-header__main{display:flex;align-items:center;gap:8px;min-height:64px}
.smp-v2-header__logo{display:flex;align-items:center;min-height:44px;margin-right:auto;flex:0 1 auto;min-width:0}
.smp-v2-header__logo img{width:132px;height:auto}
.smp-v2-header__phone{font-family:var(--smp-v2-font-display);font-size:var(--smp-v2-fs-body);line-height:1;text-decoration:none;white-space:nowrap;display:flex;align-items:center;min-height:44px;padding:0 4px}
.smp-v2-header__toggle{font:700 var(--smp-v2-fs-label)/1 var(--smp-v2-font-wide);text-transform:uppercase;letter-spacing:.04em;min-height:44px;min-width:max-content;padding:0 16px;background:transparent;color:var(--smp-v2-white);border:2px solid var(--smp-v2-white);border-radius:0;cursor:pointer;white-space:nowrap;flex:none}

/* the menu panel (under 1200px): white sheet under the header with a teal rule */
.smp-v2-header__nav{display:none}
.smp-v2-header--open .smp-v2-header__nav{display:block;position:absolute;left:0;right:0;top:100%;background:var(--smp-v2-white);color:var(--smp-v2-brown-deep);border-bottom:4px solid var(--smp-v2-dark-teal);padding:16px var(--smp-v2-gutter) 24px}
.smp-v2-header__book{display:grid;gap:8px;margin-bottom:16px}
.smp-v2-header__book .smp-v2-btn{width:100%}
.smp-v2-header__item{border-bottom:1px solid var(--smp-v2-brown-deep)}
.smp-v2-header__link,.smp-v2-header__summary,.smp-v2-header__sublink{display:flex;align-items:center;justify-content:space-between;min-height:var(--smp-v2-tap);font-family:var(--smp-v2-font-wide);font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:var(--smp-v2-fs-small);text-decoration:none;cursor:pointer;list-style:none}
.smp-v2-header__summary::-webkit-details-marker{display:none}
.smp-v2-header__summary::after{content:"+";font:400 var(--smp-v2-fs-h3)/1 var(--smp-v2-font-display)}
.smp-v2-header__sub[open] .smp-v2-header__summary::after{content:"\2212"}
.smp-v2-header__sublist{padding:0 0 8px 16px}
/* The service sub-links render as Termina caps 15px / 48px tall, as the approved mockup computes them: its
   ".smp-nav details ul a" (Poppins 500, 17px, 44px) loses to ".smp-nav ul.menu a" on specificity, so it never applies.
   Kept as rendered (design-style C5: nav is Termina caps); flagged to the art director in components-A.md. */
.smp-v2-header__cta{display:none}

@media (min-width:400px){
  .smp-v2-header__logo img{width:148px}
  .smp-v2-header__phone{font-size:var(--smp-v2-fs-line)}
}
@media (min-width:768px){
  .smp-v2-header__main{gap:16px}
  .smp-v2-header__cta{display:inline-flex;min-height:48px;padding:8px 16px;font-size:var(--smp-v2-fs-label);white-space:nowrap}
}
/* R161-N — 2026-11-03 (Claude; Mike's ruling #6 puts Total-Care in the nav): a fifth top-level link needs 138px the 1264px row
   didn't have (the logo fell to 61px, and to 0 at 1200; dev/phase1/r161/qa/hdr.js). So the desktop nav starts at 1280
   (1200-1279 keep the tablet header: logo, phone, Menu, Book), the links are tighter (6px padding, .04em tracking, no gap),
   the row gap is 12px, Book's side padding 12px, and the phone keeps its 20px tablet size. Logo: 183px at 1280 and up.
   Before: @media (min-width:1200px), link padding 0 10px, menu gap 4px, phone fs-h3 with margin-left 8px.
   TO UNDO: put 1200px back in the media query and delete the R161-N rules at the end of it. */
@media (min-width:1280px){
  .smp-v2-header__main{min-height:80px}
  .smp-v2-header__logo img{width:200px}
  .smp-v2-header__toggle{display:none}
  .smp-v2-header__nav,.smp-v2-header--open .smp-v2-header__nav{display:block;position:static;background:none;color:inherit;border:0;padding:0;margin-left:auto}
  .smp-v2-header__book{display:none}
  .smp-v2-header__menu{display:flex;gap:4px}
  .smp-v2-header__item{border:0}
  .smp-v2-header__link,.smp-v2-header__summary{font-size:var(--smp-v2-fs-label);padding:0 8px;min-height:44px;white-space:nowrap}
  .smp-v2-header__link:hover,.smp-v2-header__summary:hover{text-decoration:underline;text-underline-offset:.4em}
  .smp-v2-header__link[aria-current="page"]{text-decoration:underline;text-underline-offset:.4em}
  /* caret: a CSS triangle in place of ▾ / ▴ (decisions #10) */
  .smp-v2-header__summary{justify-content:flex-start}
  .smp-v2-header__summary::after{content:"";width:0;height:0;margin-left:8px;border-left:3.5px solid transparent;border-right:3.5px solid transparent;border-top:5px solid currentColor}
  .smp-v2-header__sub[open] .smp-v2-header__summary::after{content:"";border-top:0;border-bottom:5px solid currentColor}
  .smp-v2-header__sub{position:relative}
  .smp-v2-header__sublist{position:absolute;top:100%;left:0;min-width:260px;background:var(--smp-v2-white);color:var(--smp-v2-brown-deep);padding:8px 16px;border-top:4px solid var(--smp-v2-dark-teal);z-index:60}
  .smp-v2-header__subitem+.smp-v2-header__subitem{border-top:1px solid var(--smp-v2-light-yellow)}
  .smp-v2-header__phone{font-size:var(--smp-v2-fs-h3);margin-left:8px}
  /* the top-level links sit on teal-ink here, so their ring is white (design-style C6); beats .smp-v2-on-dark .smp-v2-on-light (0,3,0) by order */
  .smp-v2-header__menu .smp-v2-header__link:focus-visible,.smp-v2-header__sub .smp-v2-header__summary:focus-visible{outline-color:var(--smp-v2-white)}
  /* R161-N: the five-link fit */
  .smp-v2-header__main{gap:16px}
  .smp-v2-header__menu{gap:0}
  .smp-v2-header__link,.smp-v2-header__summary{padding:0 8px;letter-spacing:.04em}
  .smp-v2-header__phone{margin-left:0;font-size:var(--smp-v2-fs-line)}
  .smp-v2-header__cta{padding-inline:16px}
}
