:root {
  --ink: #17241b;
  --moss: #263e2d;
  --nav-blue: #34287b;
  --deep-moss: #17271d;
  --sage: #83947c;
  --paper: #fbf7ee;
  --cream: #eee6d7;
  --petal: #d8b9a5;
  --clay: #91482e;
  --gold: #b78a47;
  --line: rgb(23 36 27 / 18%);
  --display: "Cinzel Decorative", Georgia, serif;
  --text: "Almarai", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-weight: 300; line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.skip { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .7rem 1rem; background: white; color: var(--ink); }
.skip:focus { top: 1rem; }
.shell { width: min(1280px, calc(100% - 56px)); margin-inline: auto; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; color: white; border-bottom: 1px solid rgb(255 255 255 / 24%); }
.site-header.solid { position: relative; background: var(--nav-blue); }
.nav { min-height: 94px; display: flex; align-items: center; gap: 2rem; }
.brand { margin-right: auto; font-family: var(--display); font-size: .96rem; line-height: 1.2; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(.85rem, 1.8vw, 1.65rem); font-size: .68rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.nav-links a { position: relative; white-space: nowrap; }
.nav-links a::after { position: absolute; right: 100%; bottom: -.45rem; left: 0; height: 1px; background: currentColor; content: ""; transition: right .25s ease; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { right: 0; }
.nav-links .login-link { padding: .55rem .85rem; border: 1px solid currentColor; }
.nav-links .login-link::after { display: none; }
.menu { display: none; width: 38px; height: 38px; padding: 8px; border: 0; background: transparent; color: inherit; }
.menu span { display: block; width: 100%; height: 1px; margin: 7px 0; background: currentColor; }

.hero { min-height: 96svh; display: grid; align-items: end; padding: 170px 0 9vh; color: white; background: linear-gradient(90deg, rgb(18 32 23 / 80%) 0%, rgb(18 32 23 / 52%) 45%, rgb(18 32 23 / 7%) 78%), url("/images/hero-skincare.webp") center / cover; }
.hero-layout { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.hero-copy { width: min(710px, 100%); }
.eyebrow, .kicker { font-size: .69rem; font-weight: 700; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; }
.eyebrow { margin-bottom: 1.3rem; }
.kicker { color: var(--clay); }
.dark .kicker { color: #e1b995; }
.hero h1, .page-hero h1 { max-width: 1050px; margin: 0 0 1.65rem; font-family: var(--display); font-size: clamp(2.85rem, 6.7vw, 6.5rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.hero p { max-width: 680px; margin: 0; font-size: clamp(1.02rem, 1.55vw, 1.27rem); line-height: 1.7; }
.hero-note { padding: 0 0 .55rem 1.2rem; border-left: 1px solid rgb(255 255 255 / 48%); font-size: .65rem; font-weight: 700; letter-spacing: .16em; line-height: 1.8; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.8rem; padding: .75rem 1.2rem; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: .68rem; font-weight: 700; letter-spacing: .11em; line-height: 1.3; text-transform: uppercase; cursor: pointer; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-3px); border-color: var(--clay); background: var(--clay); }
.btn.light { border-color: white; background: white; color: var(--ink); }
.btn.ghost { border-color: rgb(255 255 255 / 70%); background: transparent; }
.btn.outline { background: transparent; color: var(--ink); }
.btn.small { min-height: 44px; gap: .9rem; padding: .65rem .85rem; font-size: .61rem; }

.section { padding: clamp(78px, 10vw, 145px) 0; }
.editorial-grid, .page-hero-grid { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.side-note { max-width: 260px; margin-top: 1.5rem; font-size: .86rem; }
.display { max-width: 900px; margin: .55rem 0 1.45rem; font-family: var(--display); font-size: clamp(2rem, 4.15vw, 4.35rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.lead { font-size: clamp(1.08rem, 1.75vw, 1.42rem); line-height: 1.62; }
.dark { background: var(--moss); color: var(--paper); }
.pathways-section { overflow: hidden; }
.pathways { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; border-top: 1px solid var(--line); }
.path { position: relative; min-height: 210px; padding: 2rem 2rem 1.8rem 0; border-bottom: 1px solid var(--line); }
.path + .path { padding-left: 2rem; border-left: 1px solid var(--line); }
.path small { display: block; margin-bottom: 2.5rem; color: rgb(23 36 27 / 68%); font-size: .65rem; letter-spacing: .15em; }
.path strong { display: block; max-width: 260px; font-family: var(--display); font-size: 1.35rem; font-weight: 400; line-height: 1.3; }
.path span { display: block; max-width: 250px; margin-top: .65rem; color: rgb(23 36 27 / 72%); font-size: .85rem; }
.path b { position: absolute; top: 1.6rem; right: 1.2rem; font-size: 1.5rem; font-weight: 300; transition: transform .25s ease; }
.path:hover b { transform: translate(4px, -4px); }
.dark .pathways { border-top-color: rgb(255 255 255 / 25%); }
.dark .path { border-bottom-color: rgb(255 255 255 / 25%); }
.dark .path + .path { border-left-color: rgb(255 255 255 / 25%); }
.dark .path small { color: rgb(255 255 255 / 68%); }
.dark .path span { color: rgb(255 255 255 / 76%); }
.quote-section { background: var(--cream); }
.quote { max-width: 1100px; margin: 0; font-family: var(--display); font-size: clamp(1.75rem, 4vw, 3.9rem); letter-spacing: -.02em; line-height: 1.28; text-wrap: balance; }

.page-hero { padding: clamp(105px, 13vw, 175px) 0 clamp(74px, 9vw, 120px); background: var(--cream); }
.page-hero .page-hero-grid { align-items: end; }
.page-hero h1 { margin: 0; font-size: clamp(2.6rem, 5.7vw, 5.7rem); }
.page-hero .lead { max-width: 760px; margin: 1.6rem 0 0; }
.content-start { padding-top: clamp(40px, 6vw, 86px); }
.content-heading { margin: 0 0 2rem; font-family: var(--text); font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 700; line-height: 1.45; }
.service-heading { font-size: clamp(1.15rem, 1.75vw, 1.42rem); font-weight: 400; line-height: 1.62; }
.shop-heading .content-heading { margin: 0; }
.image-copy { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(320px, 1.1fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.editorial-image { margin: 0; overflow: hidden; background: var(--cream); }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.75,.25,1); }
.editorial-image:hover img { transform: scale(1.025); }
.editorial-image.portrait { aspect-ratio: 4 / 5; }
.editorial-image.landscape { aspect-ratio: 4 / 3; }
.prose { max-width: 760px; font-size: 1.04rem; }
.prose .kicker { margin-bottom: 2rem; }
.prose p { margin: 0 0 1.55rem; }
.prose h2 { margin: 3.1rem 0 1rem; font-family: var(--display); font-size: clamp(1.5rem, 2.3vw, 2.2rem); font-weight: 400; line-height: 1.25; }
.story-copy { padding-top: 0; }
.manifesto { display: grid; grid-template-columns: minmax(290px, .9fr) minmax(340px, 1.1fr); gap: clamp(3rem, 10vw, 10rem); align-items: start; }
.manifesto.reverse { grid-template-columns: minmax(290px, .9fr) minmax(340px, 1.1fr); }
.manifesto-heading { position: sticky; top: 3rem; }
.manifesto-heading h2 { margin: 1.2rem 0 0; font-family: var(--display); font-size: clamp(2.1rem, 4vw, 4rem); font-weight: 400; line-height: 1.15; }
.vision-section { background: #eadfcd; }
.service-copy { align-items: center; }
.service-copy .prose h2 { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.service-band { background: var(--cream); }
.enquiry-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(340px, .9fr); gap: clamp(3rem, 9vw, 9rem); align-items: start; }

.form { display: grid; gap: 1rem; }
.form label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.form input, .form textarea { width: 100%; margin-top: .38rem; padding: .95rem 1rem; border: 1px solid var(--line); border-radius: 0; outline: none; background: rgb(255 255 255 / 65%); color: var(--ink); }
.form input:focus, .form textarea:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgb(164 84 53 / 12%); }
.form textarea { min-height: 155px; resize: vertical; }
.form .btn { width: 100%; }
.status { min-height: 1.5em; font-weight: 700; text-transform: none; }
.hp { position: absolute; left: -10000px; }

.shop-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.text-link { padding-bottom: .2rem; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.1rem 1.2rem; }
.product-image { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.product-image:hover img { transform: scale(1.035); }
.product-info { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.product-info h2 { max-width: 340px; margin: 0 0 .3rem; font-family: var(--display); font-size: 1.05rem; font-weight: 400; line-height: 1.4; }
.product-info p { margin: 0; font-size: .85rem; font-weight: 700; }
.shop-note { margin: 2.5rem 0 0; color: rgb(23 36 27 / 64%); font-size: .75rem; }
.loading { grid-column: 1 / -1; min-height: 180px; display: grid; place-items: center; border-block: 1px solid var(--line); }
.shop-fallback { grid-column: 1 / -1; padding: clamp(2rem, 6vw, 5rem); background: var(--cream); }
.shop-fallback h2 { font-family: var(--display); font-weight: 400; }

.quiz { max-width: 820px; }
.quiz-q { margin: 0; padding: 1.7rem 0; border: 0; border-top: 1px solid var(--line); }
.quiz-q legend { padding: 0; font-weight: 700; }
.choices { display: grid; gap: .55rem; margin-top: 1rem; }
.choice { display: flex; gap: .8rem; align-items: center; padding: .85rem; border: 1px solid var(--line); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--gold); background: var(--cream); }
.quiz-result { margin-top: 3rem; padding: clamp(1.8rem, 5vw, 4rem); background: var(--cream); }
.quiz-result h2 { font-family: var(--display); font-weight: 400; }

.footer { padding: 75px 0 30px; background: var(--deep-moss); color: #ece7dc; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 4rem; }
.footer-grid > div { display: flex; flex-direction: column; align-items: start; gap: .45rem; }
.footer-grid p { margin: 0; color: rgb(255 255 255 / 63%); }
.footer-brand { margin-bottom: .7rem; font-family: var(--display); font-size: 1.5rem; }
.footer .eyebrow { margin-bottom: .5rem; color: #dfb58e; }
.footer-grid a { color: rgb(255 255 255 / 75%); font-size: .84rem; }
.footer-grid a:hover { color: white; }
.footer-base { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.4rem; border-top: 1px solid rgb(255 255 255 / 16%); color: rgb(255 255 255 / 48%); font-size: .7rem; }

.reveal, .reveal-group > * { opacity: 0; transform: translateY(22px); transition: opacity .75s ease var(--delay, 0ms), transform .75s cubic-bezier(.2,.75,.25,1) var(--delay, 0ms); }
.reveal.visible, .reveal-group > *.visible { opacity: 1; transform: none; }
.server-fallback .btn { margin-top: 1.5rem; }

@media (max-width: 1180px) {
  .nav { min-height: 76px; }
  .menu { display: block; }
  .nav-links { position: absolute; top: 76px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 1.2rem 28px 1.7rem; background: var(--nav-blue); }
  .nav-links.open { display: flex; flex-direction: column; }
  .nav-links a { padding: .75rem 0; }
  .nav-links .login-link { margin-top: .5rem; padding: .75rem; text-align: center; }
  .hero-note { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 36px, 1280px); }
  .hero { min-height: 90svh; padding: 130px 0 8vh; background-position: 58% center; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4.4rem); }
  .hero .btn { flex: 1 1 100%; }
  .editorial-grid, .page-hero-grid, .image-copy, .manifesto, .manifesto.reverse, .enquiry-grid, .footer-grid { grid-template-columns: 1fr; }
  .page-hero-grid { gap: 1.5rem; }
  .page-hero h1 { font-size: clamp(2.3rem, 11.5vw, 4rem); }
  .pathways { grid-template-columns: 1fr; }
  .path { min-height: 170px; }
  .path + .path { padding-left: 0; border-left: 0; }
  .manifesto-heading { position: static; }
  .editorial-image.portrait { aspect-ratio: 5 / 5.5; }
  .service-copy .editorial-image { order: -1; }
  .product-grid { grid-template-columns: 1fr; }
  .product-info { align-items: end; }
  .shop-heading, .footer-base { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
}

/* September 2026 presentation updates. */
.pathways-section, .mission-section, .footer { background: #34287B; }
.service-heading { font-family: var(--text); font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 700; line-height: 1.45; }
.service-copy .prose h2, .service-band .display, .product-info h2 { font-family: var(--text); }
.mission-section .manifesto, .vision-section .manifesto { grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); }
.manifesto-heading { position: static; text-align: center; }
.manifesto-heading h2 { margin: 0; font-family: var(--display); }
.manifesto > .prose { width: 100%; margin-inline: auto; }
.blog-intro { padding: clamp(32px, 4vw, 56px) 0; }
.blog-intro .page-hero-grid { align-items: center; }
.blog-intro h1.kicker { margin: 0; font-family: var(--text); font-size: .69rem; font-weight: 700; letter-spacing: .2em; line-height: 1.4; }
.blog-intro .lead { margin: 0; }

/* First paint is the complete page; do not hide it while JS attaches events. */
.server-rendered .reveal, .server-rendered .reveal-group > * { opacity: 1; transform: none; }
