/* God Hands Hair Salon — Kernwell source-suite v8.5 remediation layer */

.mobile-actions{display:none;align-items:center;gap:.5rem;flex-shrink:0}
.mobile-nav-call{display:none;align-items:center;justify-content:center;min-height:44px;padding:.58rem .85rem;border-radius:999px;background:var(--ink);color:var(--paper);font-size:.76rem;font-weight:850;letter-spacing:.03em}
.mobile-nav-call:focus-visible,.service-panel:focus-visible,.service-care-band:focus-visible,.service-family-nav a:focus-visible,.studio-spectrum-links a:focus-visible,.contact-line:focus-visible{outline:3px solid var(--copper);outline-offset:3px}

/* Homepage: asymmetric salon-specific service map, not a repeated card wall. */
.service-editorial-map{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(330px,.78fr);grid-template-rows:repeat(2,minmax(270px,1fr));gap:1rem}
.service-panel{position:relative;overflow:hidden;border-radius:calc(var(--radius) + .15rem);min-width:0;isolation:isolate}
.service-panel figure{margin:0;min-height:100%;overflow:hidden}
.service-panel img{width:100%;height:100%;object-fit:cover}
.service-panel-copy{position:relative;z-index:2;min-width:0}
.service-panel-copy h3{font-size:clamp(2rem,3.6vw,3.8rem);max-width:10ch;margin-bottom:.7rem}
.service-panel-copy p{margin:0;max-width:30rem;line-height:1.5}
.service-panel-label{display:block;margin-bottom:.65rem;font-size:.68rem;font-weight:850;letter-spacing:.17em;text-transform:uppercase}
.service-panel-link{display:inline-flex;align-items:center;gap:.45rem;margin-top:1.25rem;padding-bottom:.18rem;border-bottom:1px solid currentColor;font-size:.72rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase}

.service-panel--colour{grid-row:1 / 3;min-height:610px;color:var(--paper);background:var(--ink)}
.service-panel--colour::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(24,23,22,.8) 0%,rgba(24,23,22,.08) 58%,rgba(24,23,22,.02) 100%);z-index:1;pointer-events:none}
.service-panel--colour>img{position:absolute;inset:0;object-position:center 42%}
.service-panel--colour .service-panel-copy{position:absolute;left:clamp(1.25rem,3vw,2.4rem);right:clamp(1.25rem,3vw,2.4rem);bottom:clamp(1.25rem,3vw,2.4rem)}
.service-panel--colour .service-panel-label{color:#f1b7a5}
.service-panel--colour p{color:#e8ddd3}

.service-panel--shape{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);background:var(--paper-2);border:1px solid var(--line)}
.service-panel--shape img{min-height:100%;object-position:center 42%}
.service-panel--shape .service-panel-copy{padding:clamp(1.25rem,2.4vw,2rem);align-self:center}
.service-panel--shape .service-panel-label{color:var(--copper)}
.service-panel--shape p{color:#625b56}

.service-panel--texture{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);background:var(--ink);color:var(--paper);border:1px solid rgba(245,240,233,.15)}
.service-panel--texture figure{order:2}
.service-panel--texture img{min-height:100%;object-position:center 38%}
.service-panel--texture .service-panel-copy{padding:clamp(1.25rem,2.4vw,2rem);align-self:center}
.service-panel--texture .service-panel-label{color:#d4c4d9}
.service-panel--texture p{color:#d4c9c0}

.service-care-band{position:relative;margin-top:clamp(2rem,4vw,3.3rem);padding:clamp(2.5rem,5vw,4.8rem);display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:clamp(2rem,5vw,5rem);align-items:end;overflow:hidden;border-radius:calc(var(--radius) + .35rem);background:linear-gradient(125deg,#9e8ca4 0%,#b9a9bd 39%,#2d2627 39.2%,#181716 100%);color:var(--paper)}
.service-care-band::before{content:"CARE";position:absolute;left:-.03em;top:-.14em;font-family:var(--serif);font-size:clamp(8rem,18vw,17rem);font-style:italic;line-height:.85;letter-spacing:-.08em;color:rgba(245,240,233,.08);pointer-events:none}
.service-care-band::after{content:"";position:absolute;width:330px;height:330px;right:-110px;bottom:-170px;border:1px solid rgba(245,240,233,.18);border-radius:50%;pointer-events:none}
.service-care-band .service-panel-label{color:#f0b8a4}
.service-care-band h3{font-size:clamp(2.7rem,5.7vw,5.7rem);max-width:8.5ch;margin:0;position:relative;z-index:1}
.service-care-band-copy{position:relative;z-index:1;max-width:37rem}
.service-care-band-copy p{color:#d9cec5;margin:0}

/* Services: grouped editorial chapters rather than name-only rows. */
.service-family-nav{display:flex;flex-wrap:wrap;gap:0;border-block:1px solid var(--line);margin:0 auto clamp(4rem,8vw,7rem)}
.service-family-nav a{display:flex;align-items:baseline;gap:.55rem;min-height:52px;padding:.8rem 1.2rem .8rem 0;margin-right:1.2rem;font-size:.75rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.service-family-nav a span{font-family:var(--serif);font-size:1.32rem;font-weight:400;letter-spacing:-.02em;text-transform:none}
.service-family-nav a:hover span{color:var(--copper)}

.service-chapter{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(2.5rem,7vw,7rem);align-items:center;margin-bottom:clamp(5rem,10vw,9rem);scroll-margin-top:96px}
.service-chapter--reverse .service-chapter-media{order:2}
.service-chapter-media{margin:0;position:relative;min-height:590px;border-radius:calc(var(--radius) + .25rem);overflow:hidden;background:#d8d0c8;box-shadow:var(--shadow)}
.service-chapter-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.service-chapter-media::after{content:"";position:absolute;inset:auto 0 0;height:35%;background:linear-gradient(to top,rgba(24,23,22,.48),transparent);pointer-events:none}
.service-chapter-media figcaption{position:absolute;left:1rem;bottom:1rem;z-index:2;padding:.55rem .75rem;border-radius:999px;background:rgba(24,23,22,.84);color:var(--paper);font-size:.7rem;font-weight:750;letter-spacing:.045em}
.service-chapter-copy>h2{font-size:clamp(3rem,5.8vw,6rem);max-width:8.5ch;margin-bottom:1rem}
.service-chapter-intro{max-width:36rem;color:#625b56;margin-bottom:2rem}
.service-clusters{border-top:1px solid var(--line)}
.service-cluster{display:grid;grid-template-columns:minmax(130px,.42fr) minmax(0,1fr);gap:1.5rem;padding:1.15rem 0;border-bottom:1px solid var(--line);align-items:start}
.service-cluster-label{font-size:.68rem;font-weight:850;letter-spacing:.15em;text-transform:uppercase;color:var(--copper);padding-top:.12rem}
.service-name-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;column-gap:.7rem;row-gap:.35rem;font-family:var(--serif);font-size:clamp(1.22rem,2vw,1.75rem);line-height:1.18;letter-spacing:-.02em}
.service-name-list li{display:inline-flex;align-items:baseline;min-width:0}
.service-name-list li:not(:last-child)::after{content:"·";font-family:var(--sans);font-size:.86rem;color:var(--copper);margin-left:.7rem}

.service-chapter--texture{padding:clamp(2rem,5vw,4rem);background:var(--ink);color:var(--paper);border-radius:calc(var(--radius) + .35rem)}
.service-chapter--texture .service-chapter-media{min-height:520px;box-shadow:none}
.service-chapter--texture .service-chapter-intro{color:#c9beb4}
.service-chapter--texture .service-clusters{border-top-color:var(--line-light)}
.service-chapter--texture .service-cluster{border-bottom-color:var(--line-light)}
.service-chapter--texture .service-cluster-label,.service-chapter--texture .service-name-list li:not(:last-child)::after{color:#d8bedf}

.service-chapter--care{position:relative;display:grid;grid-template-columns:minmax(240px,.62fr) minmax(0,1.38fr);gap:clamp(2rem,6vw,6rem);padding:clamp(2.5rem,6vw,5rem);margin:clamp(2rem,5vw,4rem) 0 clamp(5rem,10vw,9rem);overflow:hidden;border-radius:calc(var(--radius) + .55rem);background:linear-gradient(132deg,#b7a8bc 0%,#988b9c 34%,#312a2b 34.2%,#181716 100%);color:var(--paper);scroll-margin-top:96px}
.service-chapter--care::before{content:"Care";position:absolute;left:-.04em;top:-.12em;font-family:var(--serif);font-size:clamp(8rem,20vw,18rem);font-style:italic;letter-spacing:-.08em;line-height:.8;color:rgba(245,240,233,.085);pointer-events:none}
.service-care-intro{position:relative;z-index:1;align-self:end}
.service-care-intro .eyebrow{color:#efb19e}
.service-care-intro h2{font-size:clamp(3.2rem,6.2vw,6.4rem);max-width:8ch;margin-bottom:1rem}
.service-care-intro p{max-width:28rem;color:#ddd2ca;margin:0}
.service-care-groups{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-self:end}
.service-care-group{padding:1.4rem 0;border-top:1px solid rgba(245,240,233,.28)}
.service-care-group h3{font-family:var(--sans);font-size:.72rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase;margin:0 0 1rem;color:#efb19e}
.service-care-group .service-name-list{font-size:clamp(1.2rem,2vw,1.65rem)}
.service-care-group .service-name-list li{width:100%;display:block;padding:.33rem 0}
.service-care-group .service-name-list li::after{display:none}

.service-consult{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(2rem,6vw,6rem);align-items:center;padding:clamp(2rem,4vw,3.5rem);border-block:1px solid var(--line);background:rgba(233,224,214,.55)}
.service-consult-media{margin:0;position:relative;min-height:390px;overflow:hidden;border-radius:var(--radius)}
.service-consult-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%}
.service-consult-copy h2{font-size:clamp(2.8rem,5vw,5rem);max-width:9ch;margin-bottom:1rem}
.service-consult-copy p{max-width:38rem;color:#625b56}
.service-consult-note{margin-top:1.4rem;padding-top:1.1rem;border-top:1px solid var(--line);font-size:.9rem;color:#625b56}

/* Studio: navigation utility with editorial context, not another service ledger. */
.studio-spectrum-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(2.5rem,7vw,7rem);align-items:end}
.studio-spectrum-statement{font-family:var(--serif);font-size:clamp(3.8rem,7.2vw,7.8rem);line-height:.88;letter-spacing:-.055em;max-width:7.5ch}
.studio-spectrum-statement em{font-weight:400;color:#d3bacd}
.studio-spectrum-links{border-top:1px solid var(--line-light)}
.studio-spectrum-links a{display:grid;grid-template-columns:minmax(120px,.45fr) minmax(0,1fr) auto;gap:1rem;align-items:center;min-height:76px;border-bottom:1px solid var(--line-light);font-size:.88rem}
.studio-spectrum-links a>span:first-child{font-size:.67rem;font-weight:850;letter-spacing:.15em;text-transform:uppercase;color:#d4c8be}
.studio-spectrum-links strong{font-family:var(--serif);font-size:clamp(1.4rem,2.3vw,2rem);font-weight:400}
.studio-spectrum-links .arrow{font-size:1.25rem;transition:transform .2s ease}
.studio-spectrum-links a:hover .arrow{transform:translate(3px,-3px)}

/* Visit: direct contact shown as one editorial utility, not three generic cards. */
.contact-ribbon{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(2rem,6vw,6rem);align-items:end}
.contact-ribbon-intro h2{font-size:clamp(2.8rem,5vw,5rem);max-width:9ch;margin-bottom:1rem}
.contact-ribbon-intro p{max-width:30rem;color:#625b56}
.contact-lines{border-top:1px solid var(--line)}
.contact-line{display:grid;grid-template-columns:minmax(120px,.55fr) minmax(0,1fr) auto;gap:1rem;align-items:center;min-height:82px;border-bottom:1px solid var(--line);padding:.8rem 0}
.contact-line>span:first-child{font-size:.68rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:var(--copper)}
.contact-line strong{font-family:var(--serif);font-size:clamp(1.25rem,2.3vw,1.9rem);font-weight:400;overflow-wrap:anywhere}

@media (max-width:980px){
  .mobile-actions{display:flex}
  .mobile-nav-call{display:inline-flex}
  .service-editorial-map{grid-template-columns:1fr;grid-template-rows:auto}
  .service-panel--colour{grid-row:auto;min-height:620px}
  .service-panel--shape,.service-panel--texture{min-height:300px}
  .service-care-band{grid-template-columns:1fr;gap:1.4rem}
  .service-chapter,.service-consult{grid-template-columns:1fr;gap:2.2rem}
  .service-chapter--reverse .service-chapter-media{order:0}
  .service-chapter-media{min-height:560px}
  .service-chapter--care{grid-template-columns:1fr;min-height:600px}
  .service-care-intro{align-self:start;max-width:38rem}
  .studio-spectrum-layout,.contact-ribbon{grid-template-columns:1fr;gap:2.4rem}
  .studio-spectrum-statement{max-width:8.5ch}
}

@media (max-width:720px){
  body{padding-bottom:0}
  .header .nav{gap:.65rem}
  .brand{flex:1;min-width:0}
  .mobile-actions{gap:.42rem}
  .mobile-nav-call{min-height:44px;padding:.55rem .78rem;font-size:.72rem}
  .menu{min-width:52px;min-height:44px;padding:.4rem .7rem}

  .service-editorial-map{gap:1.35rem}
  .service-panel--colour{min-height:430px}
  .service-panel--colour .service-panel-copy{left:1.2rem;right:1.2rem;bottom:1.25rem}
  .service-panel--colour .service-panel-copy h3{font-size:3rem}
  .service-panel--shape,.service-panel--texture{grid-template-columns:1fr;min-height:0}
  .service-panel--shape figure,.service-panel--texture figure{order:0;min-height:250px;aspect-ratio:4/3}
  .service-panel--shape .service-panel-copy,.service-panel--texture .service-panel-copy{padding:1.35rem}
  .service-panel--shape .service-panel-copy h3,.service-panel--texture .service-panel-copy h3{font-size:2.35rem;max-width:9ch}
  .service-panel--shape p,.service-panel--texture p{font-size:.94rem;line-height:1.5}
  .service-care-band{margin-top:2.8rem;padding:2.4rem 1.35rem 2.7rem;min-height:340px;background:linear-gradient(155deg,#a594aa 0%,#b8a9bd 26%,#30292a 26.2%,#181716 100%)}
  .service-care-band::before{font-size:9rem;top:.02em}
  .service-care-band h3{font-size:3.25rem;max-width:8ch}
  .service-care-band-copy p{font-size:.96rem}

  .service-family-nav{margin-bottom:4.3rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-family-nav a{margin:0;padding:.9rem .75rem .9rem 0;min-width:0;display:block}
  .service-family-nav a span{display:block;font-size:1.12rem;margin-top:.12rem;line-height:1.12}
  .service-chapter{grid-template-columns:1fr;gap:1.6rem;margin-bottom:5.8rem;scroll-margin-top:84px}
  .service-chapter-media{min-height:430px}
  .service-chapter-copy>h2{font-size:clamp(3.2rem,14vw,4.8rem);max-width:8.3ch}
  .service-chapter-intro{font-size:.97rem;margin-bottom:1.5rem}
  .service-cluster{grid-template-columns:1fr;gap:.5rem;padding:1rem 0}
  .service-name-list{font-size:1.34rem;column-gap:.55rem;row-gap:.35rem}
  .service-name-list li:not(:last-child)::after{margin-left:.55rem}
  .service-chapter--texture{padding:1.35rem;margin-inline:-.15rem;border-radius:1.35rem}
  .service-chapter--texture .service-chapter-media{min-height:400px}
  .service-chapter--care{grid-template-columns:1fr;gap:2.3rem;padding:2.5rem 1.35rem 2.7rem;margin:2.8rem -.15rem 5.8rem;border-radius:1.45rem;background:linear-gradient(155deg,#a594aa 0%,#b8a9bd 23%,#30292a 23.2%,#181716 100%);scroll-margin-top:84px}
  .service-chapter--care::before{font-size:8rem;top:.02em}
  .service-care-intro h2{font-size:clamp(3.3rem,14vw,4.8rem)}
  .service-care-groups{grid-template-columns:1fr;gap:1.25rem}
  .service-care-group{padding-top:1.1rem}
  .service-care-group .service-name-list{font-size:1.3rem}
  .service-consult{grid-template-columns:1fr;padding:1.35rem;gap:1.4rem;margin-inline:-.15rem}
  .service-consult-media{min-height:340px}
  .service-consult-copy h2{font-size:clamp(3rem,13vw,4.5rem)}

  .studio-spectrum-layout{gap:2rem}
  .studio-spectrum-statement{font-size:clamp(4rem,17vw,5.9rem);max-width:7.5ch}
  .studio-spectrum-links a{grid-template-columns:1fr auto;gap:.45rem 1rem;padding:1rem 0;min-height:0}
  .studio-spectrum-links a>span:first-child{grid-column:1/-1}
  .studio-spectrum-links strong{font-size:1.7rem}

  .contact-ribbon{gap:2rem}
  .contact-line{grid-template-columns:1fr auto;gap:.35rem .8rem;padding:1rem 0;min-height:0}
  .contact-line>span:first-child{grid-column:1/-1}
  .contact-line strong{font-size:1.35rem}
}

@media (max-width:390px){
  .header .shell{width:calc(100% - 1.25rem)}
  .header .brand{max-width:none;font-size:.98rem;white-space:nowrap}
  .mobile-nav-call{padding:.52rem .72rem}
  .menu{min-width:50px;padding:.38rem .62rem}
  .service-panel--colour{min-height:410px}
  .service-panel--shape figure,.service-panel--texture figure{min-height:230px}
  .service-panel--shape .service-panel-copy,.service-panel--texture .service-panel-copy{padding:1.2rem}
  .service-panel--shape .service-panel-copy h3,.service-panel--texture .service-panel-copy h3{font-size:2.15rem}
  .service-panel-link{font-size:.64rem;margin-top:1rem}
  .service-care-band{min-height:325px;padding:2.15rem 1.15rem 2.45rem}
  .service-care-band h3{font-size:3rem}
  .service-family-nav a{font-size:.64rem}
  .service-family-nav a span{font-size:1.02rem}
  .service-chapter-media{min-height:400px}
  .service-chapter-copy>h2{font-size:3.65rem}
  .service-name-list{font-size:1.24rem}
  .service-chapter--texture{padding:1.05rem}
  .service-chapter--care{padding:2.2rem 1.1rem 2.4rem}
  .service-care-intro h2{font-size:3.65rem}
  .service-consult{padding:1.1rem}
  .service-consult-media{min-height:310px}
}

@media (prefers-reduced-motion:reduce){
  .studio-spectrum-links .arrow{transition:none}
  .studio-spectrum-links a:hover .arrow{transform:none}
}
