.hair-atlas {
  --ink: #232321; --muted: #54534f; --line: #d7d6d1; --paper: #fff;
  --sans: 'Renouve Geist',Arial,sans-serif; --serif: 'Atelier Serif',Georgia,serif;
  --atlas-top: calc(var(--r6-header-height,65px) + 15px);
  color:var(--ink);background:var(--paper);font-family:var(--sans);
}
.hair-atlas *,.hair-atlas *::after,.hair-atlas *::before {box-sizing:border-box}
.ha-wrap {width:min(100%,1600px);margin:auto;padding:clamp(54px,7vw,114px) clamp(18px,4.7vw,80px) clamp(36px,4.6vw,74px)}
.ha-heading {display:flex;align-items:end;justify-content:space-between;gap:40px;padding-bottom:clamp(23px,3vw,48px)}
.ha-pretitle,.ha-zone {margin:0 0 14px;font:550 .88rem/1.3 var(--sans);color:var(--muted)}
.ha-heading h2,.ha-copy h3 {margin:0;color:var(--ink);font:440 clamp(3.9rem,8vw,8.9rem)/.95 var(--sans);letter-spacing:-.081em}
.hair-atlas em {font:italic 400 1.07em/.98 var(--serif);letter-spacing:-.057em}
.ha-intro,.ha-body,.ha-step {color:#45433f;font:400 clamp(1rem,1.14vw,1.14rem)/1.58 var(--sans)}
.ha-intro {max-width:37ch;margin:0 0 .1em}
.ha-spread {display:grid;grid-template-columns:minmax(0,1.27fr) minmax(0,.84fr);gap:clamp(30px,6.7vw,110px);align-items:start;border-top:1px solid var(--line);padding-top:clamp(22px,2.1vw,36px)}
.ha-stage {position:sticky;align-self:start;top:var(--atlas-top);min-width:0}
.ha-plates,.ha-profile,.ha-print,.ha-image {position:relative;margin:0}
.ha-profile {max-width:min(100%,43vh)}
.ha-profile img,.ha-print img {display:block;width:100%;height:auto}
.ha-index {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);margin-top:12px}
.ha-index a {position:relative;display:grid;align-content:center;min-height:44px;color:#56534e;text-decoration:none;font:500 .92rem/1.3 var(--sans)}
.ha-index a:nth-child(2) {text-align:center}
.ha-index a:last-child {text-align:right}
.ha-index a::before {content:"";position:absolute;inset:-1px 0 auto;height:2px;background:var(--ink);transform:scaleX(0);transition:transform .32s ease}
.ha-index a:hover,.ha-index a[aria-current] {color:var(--ink)}
.ha-index a[aria-current]::before {transform:scaleX(1)}
.ha-chapter {margin:0;border-bottom:1px solid var(--line);padding:clamp(28px,3.8vw,58px) 0;scroll-margin-top:12px}
.ha-chapter:first-child {padding-top:0}
.ha-chapter:last-child {border-bottom:0}
.ha-chapter:focus {outline:0}
.ha-copy h3 {max-width:14ch;font-size:clamp(2.4rem,4.25vw,4.65rem);line-height:1.04;letter-spacing:-.066em}
.ha-print {width:min(100%,410px);margin:24px 0}
.ha-image {overflow:hidden;isolation:isolate;background:#dfdedb}
.ha-caption {display:flex;gap:.6rem;align-items:center;justify-content:space-between;margin:0;padding:2px 0;color:var(--ink);font:500 .86rem/1.25 var(--sans)}
.ha-enlarge {flex:none;display:inline-flex;align-items:center;gap:7px;min-height:44px;border:0;background:transparent;color:inherit;padding:0 1px;text-decoration:underline;text-underline-offset:4px;font:inherit;cursor:pointer}
.ha-enlarge::before {content:"";width:13px;height:13px;border:1.5px solid currentColor;border-radius:50%;box-shadow:4px 5px 0 -5px currentColor;transform:rotate(-25deg)}
.ha-enlarge:hover {text-decoration-thickness:2px}
.ha-body {max-width:38ch;margin:clamp(18px,2vw,30px) 0 0}
.ha-step {max-width:38ch;margin:clamp(16px,1.9vw,30px) 0 0;padding-top:clamp(12px,1.3vw,20px);border-top:1px solid var(--line);font-size:1rem}
.ha-step strong {display:block;margin-bottom:4px;color:var(--ink);font-weight:550}
.ha-foot {display:flex;justify-content:flex-end;border-top:1px solid var(--line);padding-top:8px}
.ha-foot a {display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-underline-offset:5px;font:500 .92rem/1.3 var(--sans)}
.hair-atlas :is(a,button):focus-visible {outline:2px solid #75654e;outline-offset:3px}
.ha-tip {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ha-glass {
  position:absolute;z-index:2;display:grid;place-items:center;left:var(--gx,50%);top:var(--gy,50%);
  transform:translate(-50%,-50%);width:clamp(92px,13vw,177px);max-width:54%;aspect-ratio:1;
  border:3px solid #fbfaf6;border-radius:50%;margin:0;padding:0;color:white;background-color:#39332e;
  background-repeat:no-repeat;background-origin:border-box;background-clip:border-box;
  box-shadow:0 0 0 1px #34312c99,0 6px 21px #17140f55;cursor:grab;touch-action:none;
}
.ha-glass[hidden] {display:none!important}
.ha-scale {position:absolute;bottom:7px;left:50%;transform:translateX(-50%);padding:2px 6px;border-radius:20px;background:#1f1d1bdb;color:#fff;font:500 .76rem/1.1 var(--sans);pointer-events:none}
.ha-stage:has(.ha-print[data-active] .ha-image[data-open]) .ha-profile {visibility:hidden}
.ha-glass:active {cursor:grabbing}
.hair-atlas .ha-glass:focus-visible {outline:3px solid #fff;outline-offset:3px}
.ha-glass::before,.ha-glass::after {content:"";position:absolute;background:rgb(255 255 255 / .9);pointer-events:none;filter:drop-shadow(0 1px 1px #141311)}
.ha-glass::before {width:11px;height:1px}.ha-glass::after {width:1px;height:11px}
.ha-image[data-open] {cursor:crosshair}
.hair-atlas[data-scroll] .ha-plates {height:clamp(298px,calc(78svh - var(--r6-header-height,65px)),704px);isolation:isolate}
.hair-atlas[data-scroll] .ha-macros {position:absolute;inset:0 0 0 19%;overflow:hidden}
.ha-macros .ha-print {position:absolute;inset:0;display:grid;grid-template-rows:minmax(0,1fr) auto;width:100%;margin:0;visibility:hidden}
.ha-macros {isolation:isolate}
.ha-macros .ha-print[data-active] {visibility:visible;z-index:2}
.ha-macros .ha-print[data-outgoing] {visibility:visible;z-index:1;pointer-events:none}
.ha-macros .ha-print[data-outgoing] .ha-caption {visibility:hidden}
.ha-macros .ha-image > img {width:100%;height:100%;object-fit:cover;transform:scale(var(--ha-zoom,1));pointer-events:none}
.hair-atlas[data-scroll] .ha-profile {position:absolute;left:0;bottom:15%;z-index:2;width:31%;max-width:none;box-shadow:0 0 0 clamp(4px,.48vw,8px) var(--paper);pointer-events:none}
.ha-finder {display:none}
.hair-atlas[data-scroll] .ha-finder {display:block;position:absolute;left:0;right:0;top:var(--ha-locator,16.5%);height:1px;transform:translateY(-50%);background:#fff;box-shadow:0 1px 3px #201d19}
.ha-finder::after {content:"";position:absolute;top:0;left:var(--ha-locator-x,50.4%);width:11px;height:11px;transform:translate(-50%,-50%);border:1.5px solid #fff;border-radius:50%;background:#302c2680;box-shadow:0 0 0 1px #373530}
.hair-atlas[data-scroll] .ha-chapter {display:flex;align-items:center;min-height:clamp(370px,70svh,740px);padding-block:clamp(22px,4vw,65px);scroll-margin-top:clamp(16px,5svh,54px)}
@media(prefers-reduced-motion:no-preference) {
 .ha-macros .ha-print[data-enter] .ha-image {animation:ha-expose .48s cubic-bezier(.16,.76,.22,1)}
 @keyframes ha-expose {from{clip-path:inset(0 0 18%);opacity:.66}to{clip-path:inset(0);opacity:1}}
}
@media(min-width:781px) and (max-height:690px) {
 .hair-atlas[data-scroll] .ha-plates {height:calc(90svh - var(--r6-header-height,65px) - 74px)}
 .hair-atlas[data-scroll] .ha-chapter {min-height:calc(85svh - 55px)}
}
@media(max-width:780px) {
 .hair-atlas {--atlas-top:var(--r6-header-height,65px);--atlas-photo:clamp(138px,29svh,250px)}
 .ha-wrap {padding-inline:clamp(16px,4.6vw,34px)}
 .ha-heading {display:block}.ha-pretitle {margin-bottom:10px}
 .ha-heading h2 {font-size:clamp(3.5rem,12.5vw,6.3rem)}.ha-intro {max-width:47ch;margin:15px 0 0}
 .ha-spread {display:block;padding-top:16px}.ha-stage {position:static}.ha-profile {width:min(48%,180px)}
 .ha-print {width:min(100%,320px);margin:18px 0 8px}
 .ha-copy h3 {font-size:clamp(2.12rem,7.65vw,3.65rem);max-width:17ch}
 .ha-chapter:first-child {padding-top:24px}.ha-zone {margin-bottom:8px}
 .hair-atlas[data-scroll] .ha-stage {position:sticky;top:var(--atlas-top);z-index:3;background:var(--paper);padding-top:4px}
 .hair-atlas[data-scroll] .ha-plates {height:calc(var(--atlas-photo) + 46px)}
 .hair-atlas[data-scroll] .ha-profile {width:auto;height:calc(var(--atlas-photo)*.81);aspect-ratio:4/5;bottom:54px}
 .hair-atlas[data-scroll] .ha-profile img {width:auto;height:100%}
 .hair-atlas[data-scroll] .ha-macros {inset:0}.ha-macros .ha-image {margin-left:18%}
 .ha-macros .ha-caption {min-height:46px}.ha-macros .ha-print {margin:0}
 .hair-atlas[data-scroll] .ha-index {margin-top:0;border-bottom:1px solid var(--line)}
 .hair-atlas[data-scroll] .ha-chapter {min-height:clamp(280px,54svh,435px);padding:clamp(22px,4vh,36px) 0;scroll-margin-top:calc(var(--atlas-photo) + 97px)}
 .ha-body {margin-top:14px}.ha-step {margin-top:15px;padding-top:12px}.ha-foot {justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce) {.ha-index a::before {transition:none}}
/* On phones the photograph stays in the same position while readers switch care zones. */
@media (max-width: 760px), (max-width: 1024px) and (max-height: 529px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .hair-atlas {
    --paper: #fcfbf8;
    --ink: #292521;
    --muted: #60584f;
    --line: #d7d1c8;
  }
  .hair-atlas .ha-wrap {max-width: 660px; padding: clamp(32px, 8vw, 52px) clamp(18px, 5vw, 32px) 25px;}
  .hair-atlas .ha-heading {display: block; padding: 0 0 16px;}
  .hair-atlas .ha-heading h2 {margin: 0; font: 510 clamp(2.4rem, 10.1vw, 3.9rem)/1.02 var(--salon-display); letter-spacing: -.061em;}
  .hair-atlas .ha-heading #haaratlas em {font: italic 400 1.035em/1 var(--serif); letter-spacing: -.05em;}
  .hair-atlas .ha-intro {max-width: 36ch; margin: 10px 0 0; color: var(--muted); font: 400 1rem/1.48 var(--sans);}
  .hair-atlas .ha-spread {display: block; padding: 0; border: 0;}
  .hair-atlas .ha-stage {position: static; padding: 0; background: transparent;}
  .hair-atlas .ha-plates {display: none;}
  .hair-atlas .ha-index {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
    margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line);
  }
  .hair-atlas .ha-index a {
    display: grid; place-items: center; min-height: 46px; padding: 8px 3px;
    color: var(--muted); text-align: center; font: 500 1rem/1.25 var(--salon-display);
  }
  .hair-atlas .ha-index a::before {
    content: ''; position: absolute; inset: auto auto -1px 50%; width: 2.4em; height: 2px;
    background: currentColor; transform: translateX(-50%) scaleX(0);
  }
  .hair-atlas .ha-index a[aria-selected="true"] {color: var(--ink); font-weight: 650;}
  .hair-atlas .ha-index a[aria-selected="true"]::before {transform: translateX(-50%) scaleX(1);}
  .hair-atlas .ha-index a:focus-visible {outline: 2px solid #6c513d; outline-offset: -3px;}
  .hair-atlas .ha-chapter {display: block; min-height: 0; margin: 0; padding: 16px 0 24px; border: 0; scroll-margin-top: 48px;}
  .hair-atlas .ha-chapter[hidden] {display: none;}
  .hair-atlas .ha-zone {display: none;}
  .hair-atlas .ha-copy h3 {
    max-width: 23ch; margin: 13px 0 0; color: var(--ink);
    font: 520 clamp(1.63rem, 6.6vw, 2.45rem)/1.09 var(--salon-display); letter-spacing: -.044em;
    text-wrap: balance;
  }
  .hair-atlas .ha-print {width: 100%; margin: 0;}
  .hair-atlas .ha-image {aspect-ratio: 1.62; border-radius: 2px; background: #e7e1d8;}
  .hair-atlas .ha-image > img {display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;}
  .hair-atlas .ha-caption {min-height: 44px; padding: 0; gap: 10px; color: var(--muted); font: 400 .875rem/1.25 var(--sans);}
  .hair-atlas .ha-enlarge {min-height: 44px; color: var(--ink); font-weight: 500; text-underline-offset: .24em;}
  .hair-atlas .ha-body {max-width: 50ch; margin: 9px 0 0; color: #443e38; font: 400 1rem/1.55 var(--sans);}
  .hair-atlas .ha-foot {justify-content: flex-start; padding-top: 4px;}
  /* With JavaScript the tab and the loupe are the focusable controls. Native fragment links also work without it. */
  .hair-atlas .ha-chapter:focus-visible {outline: none;}
  .hair-atlas .ha-chapter:not([role="tabpanel"]):focus-visible h3 {text-decoration: underline; text-underline-offset: .16em;}
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference), (max-width: 1024px) and (max-height: 529px) and (orientation: landscape) and (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .hair-atlas .ha-chapter[data-changed] .ha-image > img {animation: ha-phone-develop .22s ease-out;}
  @keyframes ha-phone-develop {from {opacity: .78;} to {opacity: 1;}}
}
@media (min-width: 560px) and (max-width: 760px) and (max-height: 529px) and (orientation: landscape), (min-width: 761px) and (max-width: 1024px) and (max-height: 529px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .hair-atlas .ha-wrap {max-width: 840px;}
  .hair-atlas .ha-heading {padding-bottom: 8px;}
  .hair-atlas .ha-copy {display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 clamp(20px, 4vw, 34px); align-items: start;}
  .hair-atlas .ha-print {grid-area: 1/1/3/2;}
  .hair-atlas .ha-copy h3 {grid-area: 1/2; margin-top: 0; font-size: clamp(1.55rem, 3.8vw, 2rem);}
  .hair-atlas .ha-body {grid-area: 2/2;}
}
