/* Figma Share Website Current — exact token + layout refinements */
:root{
  --ink:#252a22;
  --sage:#6b8060;
  --sage-logo:#90a484;
  --paper:#f8f8f8;
  --beige:#d6cabc;
  --tint:#eae5e1;
  --footer:#272c24;
  --white:#fff;
}
body{background:var(--paper);color:var(--ink);font-size:16px;line-height:1.65}
.wrap{width:83.333%;max-width:1600px}
h1 span,h2 span,.sage{color:var(--sage)}
.brand-mark{color:var(--sage-logo)}
.announcement{background:var(--footer);min-height:42px;font-size:14px;gap:28px;padding:6px 16px}
/* Header: logo | centered nav (Figma gap) | actions */
.site-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:24px;min-height:100px}
.site-header .brand{grid-column:1}
.site-header .menu-toggle{grid-column:3;justify-self:end}
.site-header nav{grid-column:2;display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:31px;margin-left:0;margin-right:0;font-size:16px;white-space:nowrap}
.site-header nav .mobile-only{display:none!important}
.header-actions{grid-column:3;display:flex;align-items:center;gap:24px;margin-left:0;font-size:16px}
.header-actions .button,.header-actions .header-cta{font-size:16px;min-height:41px;padding:8px 28px;border-radius:50px;background:var(--beige)}
.menu-toggle{display:none;align-items:center;justify-content:center;padding:0;border:0;background:transparent;line-height:0}
.menu-toggle img{display:block;width:44px;height:44px}
.social-row{display:flex;align-items:center;gap:17px;margin-top:18px}
.site-footer .social{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin-right:0;color:var(--sage-logo)}
.site-footer .social svg{width:29px;height:29px;display:block;overflow:visible}
.site-footer .social:hover{opacity:.85;text-decoration:none}
.button{background:var(--beige);color:var(--ink);font-size:18px;min-height:56px;padding:12px 30px;border-radius:60px;line-height:1.3}
.button:hover{background:#c8bdac}
.button-outline,.hero-actions .button-outline{background:transparent;border:1px solid var(--beige);color:var(--ink);text-decoration:none}
.button-outline:hover{background:rgba(214,202,188,.18);text-decoration:none}
.site-footer{background:var(--footer)}

/* Homepage hero — 1920 artboard (776 copy + 796 photo) */
.home-hero{display:flex;justify-content:space-between;align-items:center;gap:24px}
.home-hero h1{font-size:68px;line-height:75.7px;letter-spacing:-2.04px;margin-bottom:19px;max-width:776px}
.hero-copy{flex:0 1 776px;max-width:776px;padding:40px 0 20px}
.hero-copy .lead{font-size:24px;letter-spacing:-.24px;line-height:30.9px;margin-bottom:18px}
.hero-copy>p:not(.lead):not(.muted){font-size:18px;line-height:30.9px;max-width:672px;margin-bottom:0}
.hero-copy .body-mobile{display:none}
.hero-actions{display:flex;align-items:center;gap:14px;margin:28px 0 18px;flex-wrap:wrap}
.hero-actions .button,.hero-actions .button-outline{min-width:297px;min-height:56px;font-size:18px;justify-content:center}
.hero-copy .muted{font-size:15px;opacity:.85;color:var(--ink);margin:0}
.hero-photo{flex:0 0 796px;width:796px;max-width:796px;height:800px;border-radius:40px;margin-left:auto;overflow:hidden}
.hero-photo .hero-image{width:100%;height:100%;object-fit:cover;object-position:62% 28%;border-radius:0;transform:none}
.home .bio-portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;border-radius:0;transform:none}
.split.section img{width:100%;height:804px;object-fit:cover;object-position:55% 40%;border-radius:40px}

/* Statement */
.statement{background:var(--white);border-radius:30px;padding:90px 12%;margin-top:80px;text-align:center}
.statement .brand-mark{width:78px;height:78px;margin:0 auto 28px;display:grid;place-items:center;color:var(--sage-logo)}
.statement .brand-mark img,.statement .brand-mark svg{width:78px;height:78px;display:block}
.statement p{font-family:var(--font-heading);font-size:42px;line-height:59.7px;letter-spacing:-1.26px;margin:0}

/* Symptoms */
.section-heading h2{font-size:62px;line-height:65.85px;letter-spacing:-1.86px}
.symptoms .cards{gap:20px}
.symptoms .card{min-height:534px;padding:40px 34px;border-radius:30px}
.line-icon{width:89px;height:89px;border-radius:10px;background:var(--tint);display:grid;place-items:center;font-size:0}
.line-icon img,.line-icon svg{width:44px;height:52px;object-fit:contain;display:block}
.symptoms .card h3{font-family:Poppins,sans-serif;font-size:22px;font-weight:500;line-height:30.9px;margin:28px 0 16px}
.symptoms .card p{font-size:18px;line-height:28.9px}

/* Method / bio splits */
.split.section h2,.bio h2{font-size:62px;line-height:65.85px;letter-spacing:-1.86px}
.split p,.split li,.bio p{font-size:18px;line-height:28.9px}
.eyebrow{font-size:16px;margin-bottom:22px}
.split img,.bio-portrait{border-radius:40px}
.home .bio-portrait{border-radius:40px;aspect-ratio:796/800}
.home .bio-portrait img{transform:scale(1.18);transform-origin:50% 20%}

/* Assessment banner */
.photo-banner{width:calc(100% - 70px);max-width:1849px;margin:75px auto;border-radius:20px;padding:140px 24px;background-color:#272c24;background-image:linear-gradient(rgba(39,44,36,.68),rgba(39,44,36,.68)),url(/wp-content/themes/decode/assets/method-notebook.webp);background-position:center;background-size:cover}
.photo-banner h2{font-size:72px;line-height:75.7px;letter-spacing:-2.16px;color:#f8f8f8}
.photo-banner p{font-size:18px;line-height:28.9px;color:#f8f8f8;max-width:928px}
.photo-banner .button{background:#f8f8f8;color:var(--ink);min-width:242px}

/* Testimonials / CTA */
.testimonials .section-heading h2{font-size:62px}
.testimonial{border-radius:26px;padding:36px 30px}
.quote-mark{color:var(--beige);font-size:110px;line-height:.85;margin-bottom:18px}
.testimonial h3{font-size:22px;font-weight:500}
.testimonial p,.testimonial cite{font-size:18px}
#main>.cta{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 0;margin:0;min-height:360px}
#main>.cta h2{font-size:72px;line-height:75.7px;letter-spacing:-2.16px;margin:0}
#main>.cta p{font-size:18px;line-height:28.9px;margin:25px 0 30px;max-width:794px}
#main>.section:has(+.cta){margin-bottom:0}
.faq-list:has(+.cta){margin-bottom:0}

/* Footer */
.footer-nav{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,auto);grid-auto-flow:column;gap:8px 24px}
.newsletter-form{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.15)}
.newsletter-form button{background:var(--sage-logo)}

/* FAQ chevron */
.faq-list summary:after{content:'';top:50%;transform:translateY(-50%);background:var(--sage-logo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat}
.faq-list details[open] summary:after{content:'';transform:translateY(-50%) rotate(180deg)}
.decode-method-page .split.section li{margin:0;line-height:1.65}
.method-statement{line-height:1.35;letter-spacing:normal}
.method-statement p{margin:0}
.method-statement .button{margin-top:30px}
.phase-card{position:relative;padding-top:42px;margin-top:14px}
.phase-week{position:absolute;top:0;right:28px;transform:translateY(-50%);padding:4px 14px;background:var(--tint);border-radius:6px;font:400 14px/1.5 Poppins,sans-serif;color:var(--ink);white-space:nowrap}
.package-title>span:last-child{font-family:Poppins,sans-serif;font-weight:400;font-variant-numeric:lining-nums tabular-nums;letter-spacing:0}

/* Large desktop keeps Figma 1920 rhythm */
@media(min-width:1200px){ /* desktop scale: was min-width 1600px */
  body{font-size:16px}
  .announcement{font-size:14px;min-height:42px}
  .site-header{min-height:102px}
  .site-header nav{gap:44px;font-size:16px}
  .header-actions{font-size:16px;gap:28px}
  .site-header .header-actions .button{font-size:16px}
  .home-hero h1{font-size:68px}
  .hero-copy .lead{font-size:24px}
  .hero-copy>p:not(.lead):not(.muted){font-size:18px}
  .hero-photo{height:800px}
  .site-header>.brand{transform:none}
}

/* Tablet ~1440 */
@media(max-width:1125px) and (min-width:961px){ /* desktop scale: was max-width 1500px */
  .home-hero{gap:28px}
  .hero-copy{flex:1 1 52%}
  .hero-photo{flex:0 1 46%;width:auto;max-width:680px;height:680px;border-radius:36px}
  .home-hero h1{font-size:58px;line-height:1.12;letter-spacing:-1.7px}
  .statement p{font-size:36px;line-height:1.4}
  .section-heading h2,.split.section h2,.bio h2{font-size:52px;line-height:1.1}
  .symptoms .card{min-height:480px}
  .photo-banner h2{font-size:58px}
  #main>.cta h2{font-size:58px}
}

@media(max-width:960px){ /* desktop scale: was max-width 1200px */
  .site-header nav{gap:22px;font-size:14px}
  .header-actions{font-size:14px;margin-left:16px}
  .hero-actions .button,.hero-actions .button-outline{min-width:240px;font-size:16px}
  .home-hero h1{font-size:48px;line-height:1.12}
  .hero-photo{flex-basis:48%;width:auto;max-width:520px;height:560px;border-radius:32px}
}

/* Mid / tablet menu shell */
@media(max-width:960px){
  .site-header{display:flex;flex-wrap:wrap;align-items:center;position:relative;column-gap:12px}
  .site-header .brand{order:1}
  .site-header .header-actions{order:2;margin-left:auto;gap:12px}
  .site-header nav{display:none;order:4;width:100%;justify-content:flex-start;flex-wrap:wrap;gap:22px;font-size:14px;padding:16px 0 25px;white-space:normal}
  .site-header nav.open{display:flex}
  .site-header nav .mobile-only{display:inline-flex!important}
  .menu-toggle{display:flex!important}
  .header-actions .login,.header-actions .header-cta{display:none!important}
  .header-actions .cart{display:block!important}
  .hero-photo{border-radius:28px}
  .photo-banner{width:90%}
  .split.section img{height:500px}
}

/* Mobile — Figma Mobile Home 402 */
@media(max-width:650px){
  body{font-size:15px}
  .wrap{width:auto;max-width:none;margin-left:13px;margin-right:13px}
  .announcement{font-size:12px;min-height:41px;justify-content:center;padding:0 12px;gap:0}
  .announcement button:nth-of-type(2),.announcement i,.announcement a{display:none!important}
  .announcement button:first-child{display:block;width:100%;text-align:center;white-space:normal;line-height:1.3;padding:8px 0}
  .site-header{min-height:85px;padding:8px 0;gap:8px;margin-left:13px;margin-right:13px;width:auto}
  .site-header.wrap{margin-left:13px;margin-right:13px}
  .brand-mark{width:42px;height:44px}
  .wordmark{font-size:36px;letter-spacing:-1.4px}
  .wordmark small{font-size:8px;letter-spacing:.28em;margin-top:4px}
  .header-actions{display:flex!important;gap:10px;margin-left:auto}
  .header-actions .cart{display:block!important;width:32px;height:32px}
  .header-actions .cart svg{width:32px;height:32px}
  .header-actions .login,.header-actions .header-cta{display:none!important}
  .menu-toggle{display:flex!important;width:44px;height:44px}

  /* Hero: image first, then copy, Explore then Book */
  .home-hero.wrap{margin-left:13px;margin-right:13px;width:auto}
  .home-hero{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:24px}
  .home-hero .hero-photo{order:-1;flex:none;width:100%;max-width:none;height:264px;border-radius:20px;margin:8px 0 0}
  .hero-photo .hero-image{width:100%;height:100%;object-fit:cover;object-position:55% 22%;transform:none;border-radius:0}
  .hero-copy{padding:0;max-width:none;flex:none}
  .home-hero h1{font-size:42px;line-height:50.21px;letter-spacing:-1.26px;max-width:none;margin-bottom:0}
  .hero-copy .lead{font-size:18px;line-height:30.9px;letter-spacing:-.18px;margin:19px 0 0}
  .hero-copy>p:not(.lead):not(.muted){font-size:15px;line-height:25.9px;max-width:338px;margin:19px 0 0}
  .hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin:28px 0 10px}
  .hero-actions .button-outline{order:-1}
  .hero-actions .button,.hero-actions .button-outline{width:100%;max-width:291px;min-width:0;height:54px;min-height:54px;padding:0 18px;font-size:16px;line-height:54px;white-space:nowrap;border-radius:60px}
  .hero-actions .button-outline{font-size:18px}
  .hero-copy .muted{font-size:14px;opacity:.85;margin:0}
  .hero-copy .body-desktop{display:none!important}
  .hero-copy .body-mobile{display:block!important}

  .statement.wrap{margin-left:13px;margin-right:13px;width:auto}
  .statement{margin-top:40px;padding:48px 18px;border-radius:30px}
  .statement .brand-mark,.statement .brand-mark img,.statement .brand-mark svg{width:64px;height:64px}
  .statement p{font-size:25px;line-height:35.7px;letter-spacing:-.75px}
  .section{margin-top:56px;margin-bottom:56px}
  .section-heading{margin-bottom:28px}
  .section-heading h2{font-size:41px;line-height:45.8px;letter-spacing:-1.23px}
  .cards{grid-template-columns:1fr;gap:20px}
  .symptoms .card{min-height:0;padding:28px 24px;border-radius:21px}
  .line-icon{width:63px;height:63px;border-radius:7px}
  .line-icon img,.line-icon svg{width:35px;height:46px}
  .symptoms .card h3{font-size:16px;margin:20px 0 12px}
  .symptoms .card p{font-size:15px;line-height:23.5px}
  .split.section h2,.bio h2{font-size:41px;line-height:47px;letter-spacing:-1.23px}
  .split p,.split li,.bio p{font-size:15px;line-height:21px}
  .split img,.home .bio-portrait{border-radius:20px;height:auto;aspect-ratio:370/391}
  .home .bio-portrait{aspect-ratio:370/391}
  .photo-banner{width:calc(100% - 26px);margin-left:13px;margin-right:13px;padding:90px 18px;border-radius:20px;margin-top:50px;margin-bottom:50px}
  .photo-banner h2{font-size:52px;line-height:55.7px;letter-spacing:-1.56px}
  .photo-banner p{font-size:18px}
  #main>.cta{padding:60px 13px;min-height:300px}
  #main>.cta h2{font-size:41px;line-height:44px;letter-spacing:-1.23px}
  #main>.cta p{font-size:15px;line-height:22.9px}
  .phase-week{font-size:12px;right:22px}
  .footer-nav{gap:8px 18px}
  .site-footer>.wrap{margin-left:13px;margin-right:13px;width:auto}
  .testimonial{flex-basis:100%}
  .testimonial h3{font-size:16px}
  .testimonial p,.testimonial cite{font-size:15px}
  .social-row{gap:17px}
}

.decode-shop-note{margin:26px auto 0}
.decode-shop-categories{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin:24px 0}
.decode-shop-categories a{padding:4px 8px;text-decoration:none}
.decode-shop-categories a:hover,.decode-shop-categories a[aria-current=page]{text-decoration:underline;text-underline-offset:4px}
