@import url('fonts.css');

/* Revised hair and beauty direction, informed by Hairlust Hair Talk,
   Latest Hairstyles and Hairstory. User explicitly rejected green.
   DM Sans throughout, blush surfaces, raspberry controls, charcoal type.
   Radius system: 34px hero panels, 24px photos and information panels,
   18px compact images, pill controls. All five pages remain HTML/CSS only. */
:root{color-scheme:light dark;--paper:#fffbfc;--surface:#faeaf0;--panel:#f5e1e9;--ink:#292329;--body:#51474d;--muted:#735e68;--accent:#a52a58;--hover:#812044;--on-accent:#fffbfc;--line:#e6cdd8;--white:#fffbfc;--focus:#812044;--max:1320px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-underline-offset:.2em}
button,input,summary{font:inherit}
button,a,summary,label{-webkit-tap-highlight-color:transparent}
::selection{background:var(--accent);color:var(--on-accent)}
:focus-visible{outline:3px solid var(--focus);outline-offset:5px}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font-weight:400;line-height:1.08;text-wrap:balance}
h1,h2,.display{font-family:'DM Sans',Arial,sans-serif;font-weight:600}
.container{width:min(calc(100% - 88px),var(--max));margin-inline:auto}
.skip{position:absolute;left:20px;top:-150px;z-index:5}
.skip:focus{top:12px}
.button,.nav-link,.filter-label,summary.action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 24px;border:0;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:15px;font-weight:600;line-height:1.2;text-decoration:none;cursor:pointer;transition:background .18s,transform .18s;white-space:nowrap}
.button:hover,.nav-link:hover,.filter-label:hover,summary.action:hover{background:var(--hover);color:var(--on-accent);transform:translateY(-2px)}
.button:active,.nav-link:active{transform:translateY(0)}
.button.soft,.nav-link,.filter-label{background:var(--panel);color:var(--ink)}
.button.soft:hover,.nav-link:hover,.filter-label:hover{background:var(--accent);color:var(--on-accent)}
.nav-link[aria-current=page]{background:var(--accent);color:var(--on-accent)}
.site-header{padding-block:20px}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:40px}
.brand{width:232px;flex-shrink:0}
.brand img{width:232px;height:auto}
.desktop-nav{display:flex;align-items:center;gap:8px}
.nav-link{padding:10px 19px;min-height:42px;font-size:14px}
.mobile-nav{display:none}
.hero{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:transparent;min-height:560px;margin-top:12px}
.hero-copy{background:var(--surface);border-radius:34px;padding:48px 40px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;margin-bottom:26px}
.hero h1{font-size:clamp(3.8rem,6.1vw,5.7rem);font-weight:600;letter-spacing:-.065em;line-height:1.04;max-width:560px;margin-bottom:26px}
.hero .intro{max-width:34ch;font-size:18px;line-height:1.6;margin-bottom:30px;color:var(--body)}
.hero-photo{border-radius:34px;height:100%;min-height:560px;object-fit:cover;object-position:58% center;width:100%}
.welcome{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-block:29px;border-bottom:1px solid var(--line);font-size:15px;color:var(--body)}
.welcome strong{font-weight:500;color:var(--ink)}
.topic-nav{display:flex;flex-wrap:wrap;gap:8px}
.topic-nav .button{font-size:14px;min-height:40px;padding:10px 18px}
.section{padding-block:86px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}
.section-heading h2{font-size:clamp(2.2rem,3.5vw,3.3rem);letter-spacing:-.045em}
.story-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:30px}
.story-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.story-card img{width:100%;height:265px;object-fit:cover;border-radius:24px;margin-bottom:21px}
.story-card:first-child img{height:320px}
.story-card .category{font-size:13px;text-transform:uppercase;letter-spacing:.08em;font-weight:600;color:var(--muted);margin-bottom:10px}
.story-card h2,.story-card h3{font-family:'DM Sans',Arial,sans-serif;font-weight:500;font-size:29px;font-weight:600;line-height:1.2;letter-spacing:-.035em;margin-bottom:12px}
.story-card p{color:var(--body);font-size:16px;margin-bottom:20px;max-width:35ch}
.story-card .button{margin-top:auto;font-size:14px;min-height:42px;padding:11px 20px}
.feature{display:grid;grid-template-columns:1fr 1fr;background:var(--surface);border-radius:24px;overflow:hidden}
.feature-image{width:100%;height:520px;object-fit:cover;object-position:57% center}
.feature-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:56px}
.feature-copy h2{font-size:clamp(2.5rem,3.6vw,3.7rem);letter-spacing:-.045em;line-height:1.1;margin-bottom:24px}
.feature-copy p{color:var(--body);font-size:18px;max-width:35ch;margin-bottom:26px}
.about-section{padding-block:98px 86px;display:grid;grid-template-columns:1.1fr 1fr;gap:100px;align-items:start}
.about-section h2{font-size:clamp(2.3rem,3.5vw,3.4rem);max-width:16ch;letter-spacing:-.045em}
.about-section p{color:var(--body);font-size:18px;margin-bottom:20px;max-width:48ch}
.about-section p:last-child{margin-bottom:0}
.site-footer{background:var(--surface);padding:44px 0 24px}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-bottom:30px}
.footer-top .brand{width:210px}
.footer-top p{font-size:15px;color:var(--body);margin-top:14px}
.footer-nav{display:flex;gap:8px;flex-wrap:wrap}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:22px;font-size:13px;color:var(--muted)}
.index-intro{padding:64px 0 50px;max-width:860px}
.index-intro h1{font-size:clamp(3.4rem,6vw,5.6rem);letter-spacing:-.04em;margin-bottom:22px}
.index-intro p{font-size:20px;max-width:48ch;color:var(--body)}
.filters{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:28px;margin-bottom:36px}
.filter-input{position:absolute;width:1px;height:1px;opacity:0}
.filter-input:focus-visible+.filter-label{outline:3px solid var(--focus);outline-offset:4px}
.filter-input:checked+.filter-label{background:var(--accent);color:var(--on-accent)}
.filter-input:checked+.filter-label::after{content:' ✓';margin-left:8px}
.filter-label{font-size:15px;padding:12px 22px}
.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:58px 38px;padding-bottom:80px}
.library-grid .story-card img,.library-grid .story-card:first-child img{height:350px}
.library-grid .story-card h2,.library-grid .story-card h3{font-size:34px;max-width:24ch}
.library-grid .story-card p{max-width:46ch}
.article-library:has(#filter-fine:checked) .story-card:not([data-category=fine]),.article-library:has(#filter-style:checked) .story-card:not([data-category=style]){display:none}
.library-note{max-width:55ch;padding:32px;background:var(--surface);border-radius:24px;align-self:start}
.library-note h2{font-size:32px;margin-bottom:14px}
.library-note p{font-size:17px;color:var(--body)}
.article-library:has(#filter-fine:checked) .library-note,.article-library:has(#filter-style:checked) .library-note{display:none}
.article-top{padding:30px 0 0}
.article-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:64px;align-items:center;padding:42px 0 54px}
.article-hero h1{font-size:clamp(3.2rem,4.9vw,4.8rem);letter-spacing:-.035em;margin:19px 0 24px;max-width:16ch}
.article-hero .lead{font-size:20px;line-height:1.6;max-width:43ch;color:var(--body)}
.article-meta{font-size:14px;color:var(--muted);margin-top:25px}
.article-tag{font-size:13px;text-transform:uppercase;letter-spacing:.1em;font-weight:600}
.article-hero figure img{height:480px;width:100%;object-fit:cover;object-position:center;border-radius:24px}
.article-hero figcaption{font-size:12px;color:var(--muted);padding-top:10px}
.article-layout{display:grid;grid-template-columns:240px minmax(0,730px);gap:74px;padding:30px 0 80px;border-top:1px solid var(--line)}
.article-sidebar{align-self:start;position:sticky;top:24px}
.article-sidebar h2{font-family:'DM Sans',Arial,sans-serif;font-size:17px;font-weight:600;margin-bottom:18px}
.toc{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.toc .button{text-align:left;justify-content:flex-start;white-space:normal;border-radius:24px;font-size:14px;line-height:1.4;padding:13px 17px}
.article-body{font-size:19px;color:var(--body);line-height:1.85}
.article-body p{margin-bottom:24px}
.article-body h2{font-family:'DM Sans',Arial,sans-serif;font-weight:600;color:var(--ink);font-size:34px;line-height:1.16;letter-spacing:-.02em;margin:45px 0 20px;scroll-margin-top:28px}
.article-body h2:first-child{margin-top:0}
.article-body h3{font-size:21px;font-weight:600;color:var(--ink);line-height:1.4;margin:28px 0 10px}
.article-body ul{padding-left:22px;margin:0 0 26px}
.article-body li{padding-left:6px;margin-bottom:10px}
.article-body strong{color:var(--ink);font-weight:600}
.takeaway{background:var(--surface);border-radius:24px;padding:30px 34px;margin-bottom:38px}
.takeaway h2{font-family:'DM Sans',Arial,sans-serif;font-size:17px;font-weight:600;line-height:1.4;margin:0 0 14px}
.takeaway p{font-size:18px;line-height:1.7;margin-bottom:0}
.quote{font-family:'DM Sans',Arial,sans-serif;font-weight:500;font-size:32px;line-height:1.3;color:var(--ink);border-left:3px solid var(--accent);padding-left:26px;margin:34px 0}
.inline-photo{margin:32px 0}
.inline-photo img{width:100%;max-height:440px;object-fit:cover;border-radius:24px}
.inline-photo.portrait{display:flex;gap:28px;align-items:center}
.inline-photo.portrait img{width:185px;object-fit:contain;max-height:270px}
.inline-photo figcaption{font-size:14px;line-height:1.6;color:var(--muted)}
.article-body .source-note{font-size:14px;line-height:1.7;border-top:1px solid var(--line);padding-top:24px;margin-top:40px}
.related{padding:65px 0 85px;border-top:1px solid var(--line)}
.related h2{font-size:44px;letter-spacing:-.025em;margin-bottom:30px}
.related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
.related .story-card{display:grid;grid-template-columns:180px 1fr;gap:24px;align-items:start}
.related .story-card img,.related .story-card:first-child img{border-radius:18px;height:200px;margin:0;grid-row:1/5}
.related .story-card .category{margin:0}
.related .story-card h2,.related .story-card h3{font-size:29px;margin:0}
.related .story-card p{display:none}
.related .story-card .button{margin-top:0;justify-self:start}
@media(prefers-color-scheme:dark){
 :root{--paper:#241d22;--surface:#34262e;--panel:#49323e;--ink:#fff1f6;--body:#eadce3;--muted:#d4b8c5;--accent:#f3a5c1;--hover:#f8c5d8;--on-accent:#34202a;--line:#634352;--focus:#ffcadd}
 .brand img{filter:invert(1)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
@media(min-width:1600px){.hero h1{font-size:92px}}
@media(max-width:1100px){
 .container{width:calc(100% - 56px)}
 .hero-copy{padding:38px 32px}
 .hero h1{font-size:67px}
 .hero,.hero-photo{min-height:540px}
 .feature-copy{padding:40px}
 .story-grid{gap:24px;grid-template-columns:1.1fr 1fr 1fr}
 .story-card h2,.story-card h3{font-size:27px}
 .story-card img{height:230px}
 .story-card:first-child img{height:285px}
 .about-section{gap:55px}
 .article-hero{gap:40px}
 .article-layout{grid-template-columns:200px minmax(0,1fr);gap:45px}
 .related .story-card{grid-template-columns:130px 1fr;gap:18px}
 .related .story-card h2,.related .story-card h3{font-size:25px}
 .desktop-nav{gap:5px}.nav-link{padding:10px 14px}
}
@media(max-width:767px){
 body{font-size:16px}
 .container{width:calc(100% - 36px)}
 .site-header{padding-block:18px}
 .brand,.brand img{width:190px}
 .desktop-nav{display:none}
 .mobile-nav{display:block;position:relative}
 .mobile-nav summary{list-style:none;padding:12px 20px;min-height:44px;font-size:14px}
 .mobile-nav summary::-webkit-details-marker{display:none}
 .mobile-nav[open] summary{background:var(--hover)}
 /* Navigation dropdown is the only overlay layer. */
 .mobile-nav nav{position:absolute;right:0;top:54px;width:230px;padding:14px;background:var(--paper);border:1px solid var(--line);border-radius:24px;z-index:2;display:grid;gap:8px;box-shadow:0 12px 30px #a52a5814}
 .mobile-nav .nav-link{justify-content:flex-start;min-height:46px}
 .hero{grid-template-columns:1fr;margin-top:0;min-height:0}
 .hero-copy{padding:38px 26px 36px;border-radius:28px}
 .eyebrow{font-size:11px;letter-spacing:.1em;margin-bottom:20px}
 .hero h1{font-size:clamp(3.1rem,12.5vw,4.8rem);max-width:12ch;line-height:1.05;margin-bottom:22px}
 .hero .intro{font-size:17px;max-width:31ch;margin-bottom:25px}
 .hero-photo{border-radius:28px;min-height:0;height:360px;object-position:58% center}
 .welcome{flex-direction:column;align-items:flex-start;padding:24px 0;gap:17px}
 .welcome p{font-size:15px}
 .topic-nav{gap:7px}.topic-nav .button{font-size:13px;min-height:40px;padding:10px 15px}
 .section{padding-block:56px}
 .section-heading{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:28px}
 .section-heading h2{font-size:40px}
 .story-grid{grid-template-columns:1fr;gap:40px}
 .story-card img,.story-card:first-child img{height:290px}
 .story-card h2,.story-card h3{font-size:33px;max-width:24ch}
 .story-card p{max-width:38ch}
 .feature{grid-template-columns:1fr}
 .feature-image{height:330px}
 .feature-copy{padding:35px 27px 38px}
 .feature-copy h2{font-size:43px}
 .feature-copy p{font-size:17px}
 .about-section{grid-template-columns:1fr;gap:25px;padding-block:60px}
 .about-section h2{font-size:40px;max-width:18ch}
 .about-section p{font-size:17px}
 .footer-top,.footer-bottom{flex-direction:column;align-items:flex-start;gap:24px}
 .footer-bottom{gap:8px}
 .footer-nav .button{font-size:14px;padding:12px 20px}
 .index-intro{padding:40px 0 32px}
 .index-intro h1{font-size:54px}
 .index-intro p{font-size:18px}
 .filters{gap:8px;margin-bottom:28px;padding-bottom:24px}
 .filter-label{font-size:14px;padding:11px 17px;min-height:44px}
 .library-grid{grid-template-columns:1fr;gap:42px;padding-bottom:50px}
 .library-grid .story-card img,.library-grid .story-card:first-child img{height:300px}
 .library-grid .story-card h2,.library-grid .story-card h3{font-size:35px}
 .library-note{padding:28px}
 .article-top{padding-top:15px}
 .article-hero{grid-template-columns:1fr;gap:30px;padding:32px 0 34px}
 .article-hero h1{font-size:clamp(2.9rem,11.5vw,4.4rem);max-width:16ch;margin-top:15px}
 .article-hero .lead{font-size:18px}
 .article-hero figure img{height:320px}
 .article-meta{font-size:13px;margin-top:20px}
 .article-layout{grid-template-columns:1fr;gap:30px;padding-top:28px;padding-bottom:40px}
 .article-sidebar{position:static}
 .toc{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .toc .button{font-size:13px;padding:12px 15px}
 .article-body{font-size:18px;line-height:1.8}
 .article-body h2{font-size:34px;margin-top:36px}
 .takeaway{padding:25px;margin-bottom:30px}
 .quote{font-size:29px;padding-left:22px}
 .inline-photo.portrait{align-items:flex-start;gap:20px}
 .inline-photo.portrait img{width:45%}
 .related{padding:40px 0 55px}
 .related h2{font-size:37px}
 .related-grid{grid-template-columns:1fr;gap:30px}
 .related .story-card{grid-template-columns:115px 1fr;gap:13px 20px}
 .related .story-card img,.related .story-card:first-child img{height:185px}
 .related .story-card h2,.related .story-card h3{font-size:27px}
}
@media(max-width:370px){.brand,.brand img{width:165px}.hero h1{font-size:49px}.hero-copy{padding-inline:22px}.toc{grid-template-columns:1fr}.article-hero h1{font-size:43px}}
