@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('../fonts/cormorant-latin.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/jakarta-latin.woff2') format('woff2'); }

:root {
  --cream: #f4ede2;
  --cream-warm: #ece3d4;
  --paper: #faf7f2;
  --coffee: #493c35;
  --coffee-dark: #2f2520;
  --olive: #465033;
  --olive-dark: #3d442d;
  --olive-light: #737d5a;
  --champagne: #cfc0aa;
  --text: #3a322d;
  --muted: #6b6058;
  --line: rgba(73, 60, 53, .16);
  --line-light: rgba(244, 237, 226, .26);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Plus Jakarta Sans', Arial, sans-serif;
  --max: 1280px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--text); font-family: var(--sans); line-height: 1.68; }
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin-top: 0; }
h1, h2, h3 { color: var(--coffee); font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .99; }
h2 { font-size: clamp(3rem, 6.3vw, 6.5rem); margin-bottom: 1.6rem; }
h3 { font-size: clamp(1.65rem, 2.7vw, 2.7rem); margin-bottom: .75rem; }
p { font-size: 1rem; }
em { color: var(--olive); font-style: italic; font-weight: 400; }
:focus-visible { outline: 3px solid #92a16a; outline-offset: 4px; }
[hidden] { display: none !important; }

.container { width: min(calc(100% - 6rem), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--coffee-dark); color: white; transform: translateY(-170%); }
.skip-link:focus { transform: none; }
.eyebrow { margin-bottom: 1.2rem; color: var(--olive); font-size: .69rem; font-weight: 600; letter-spacing: .23em; text-transform: uppercase; }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.05vw, 1.8rem); line-height: 1.47; }

/* Header */
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 2.15rem clamp(1.4rem, 4vw, 4.5rem); transition: padding .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease); }
.site-header.scrolled { padding-block: 1.1rem; background: rgba(244, 237, 226, .94); border-bottom: 1px solid rgba(79, 88, 59, .13); box-shadow: 0 5px 22px rgba(73, 60, 53, .07); backdrop-filter: blur(14px); }
.header-logo { color: var(--olive); font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.75rem); letter-spacing: .07em; line-height: 1; opacity: 0; pointer-events: none; transform-origin: left center; }
.menu-toggle { position: relative; z-index: 3; width: 42px; height: 42px; padding: 10px 4px; background: transparent; }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: 6px 0; background: var(--olive); transition: transform .3s var(--ease), opacity .2s ease; }
.menu-toggle.active span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:last-child { transform: translateY(-7px) rotate(-45deg); }
.site-nav { position: absolute; z-index: 2; right: clamp(1rem, 4vw, 4rem); top: 5.6rem; width: min(92vw, 440px); display: grid; gap: .2rem; padding: 2rem 2.25rem 2.25rem; background: rgba(250, 247, 242, .99); border: 1px solid var(--line); box-shadow: 0 24px 65px rgba(73, 60, 53, .15); opacity: 0; pointer-events: none; transform: translateY(-14px); transition: opacity .25s ease, transform .35s var(--ease); }
.site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
.site-nav a { display: grid; grid-template-columns: 2.8rem 1fr; align-items: baseline; padding: .72rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.45rem; }
.site-nav small { color: var(--olive); font-family: var(--sans); font-size: .62rem; letter-spacing: .1em; }
.site-nav .button { margin-top: 1.55rem; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; background: #e8e1d6 url('../../public/images/nora-sunlit-wall.webp') center top / cover no-repeat; }
.hero::before { position: absolute; z-index: -1; top: -30%; left: 8%; width: 58vw; height: 170vh; content: ''; opacity: .58; background: linear-gradient(90deg, transparent, rgba(255,255,255,.52), transparent); filter: blur(42px); transform: rotate(-22deg); }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg, rgba(244,237,226,.16), transparent 65%); }
.hero-inner { position: relative; z-index: 2; width: min(calc(100% - 9rem), 1320px); margin: auto; padding: 9rem 0 5.5rem; }
.hero-lockup { display: flex; align-items: baseline; gap: clamp(1.2rem, 3vw, 3.2rem); }
.hero-word { position: relative; z-index: 2; margin: 0; color: #424935; font-family: var(--serif); font-size: clamp(5.1rem, 12.5vw, 11.5rem); letter-spacing: -.025em; line-height: .82; text-shadow: 14px 18px 26px rgba(60, 66, 48, .2); transform-origin: top left; will-change: transform, opacity; }
.hero h1 { position: relative; z-index: 3; width: min-content; min-width: 150px; margin: 0; color: #667050; font-family: var(--sans); font-size: clamp(.68rem, 1vw, .82rem); font-weight: 600; letter-spacing: .24em; line-height: 1.66; text-transform: uppercase; transition: opacity .15s linear; }
.hero-intro { margin: 2.55rem 0 2rem; color: #555e46; font-size: clamp(1.05rem, 1.3vw, 1.23rem); line-height: 1.64; transition: opacity .15s linear; }
.hero-leaf { position: absolute; z-index: 1; right: -4%; bottom: -8%; width: clamp(320px, 38vw, 620px); max-width: 85vw; filter: saturate(1.14) contrast(1.03) drop-shadow(-20px 20px 35px rgba(50,56,40,.22)); pointer-events: none; transform-origin: bottom right; will-change: transform; }
.hero-leaf img { width: 100%; height: auto; }
.hero-aside { position: absolute; z-index: 2; right: 1.6rem; bottom: 2rem; margin: 0; color: #697250; font-size: .62rem; font-weight: 600; letter-spacing: .21em; text-transform: uppercase; writing-mode: vertical-rl; }
.text-link { display: inline-flex; align-items: center; gap: 1.25rem; padding-bottom: .35rem; border-bottom: 1px solid currentColor; color: var(--olive); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: gap .2s var(--ease); }
.text-link:hover { gap: 1.7rem; }
.line-icon { position: relative; width: 30px; height: 1px; background: currentColor; }
.line-icon::after { position: absolute; right: 0; bottom: 0; width: 7px; height: 7px; border-right: 1px solid; border-bottom: 1px solid; content: ''; transform: rotate(-45deg); transform-origin: right bottom; }

/* Editorial sections */
.section { position: relative; padding-block: clamp(7rem, 11vw, 11.5rem); overflow: hidden; transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .section, .js .final-cta, .js footer { opacity: 0; transform: translateY(20px); }
.section.is-revealed, .final-cta.is-revealed, footer.is-revealed { opacity: 1; transform: none; }
.cream { background: var(--cream); }
.sand { background: var(--cream-warm); }
.olive { background: var(--olive); color: #eee9dd; }
.coffee { background: var(--coffee-dark); color: #eee9dd; }
.olive h2, .olive h3, .coffee h2, .coffee h3 { color: var(--paper); }
.olive em, .coffee em { color: #cbd5ae; }
.olive .eyebrow, .coffee .eyebrow { color: #cbd5ae; }
.numbered::before { position: absolute; top: .7rem; right: 3vw; z-index: 0; content: attr(data-section); color: rgba(73,60,53,.055); font-family: var(--serif); font-size: clamp(10rem, 19vw, 19rem); line-height: 1; pointer-events: none; }
.olive.numbered::before, .coffee.numbered::before { color: rgba(244,237,226,.055); }
.split, .section-intro { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .76fr); gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.section-intro { align-items: end; margin-bottom: clamp(4rem, 8vw, 7rem); }
.ruled-list { padding: 0; margin: 2.5rem 0; list-style: none; counter-reset: editorial-list; border-top: 1px solid var(--line); }
.ruled-list li { display: grid; grid-template-columns: 3rem 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--line); counter-increment: editorial-list; }
.ruled-list li::before { content: '0' counter(editorial-list); color: var(--olive); font-size: .68rem; font-weight: 600; letter-spacing: .12em; }
.light > div { color: #e1dfd5; }

/* Services */
.services { position: relative; z-index: 1; border-top: 1px solid var(--line-light); }
.services details { border-bottom: 1px solid var(--line-light); }
.services summary { min-height: 102px; display: grid; grid-template-columns: 4.2rem 1fr 34px; align-items: center; cursor: pointer; list-style: none; }
.services summary::-webkit-details-marker { display: none; }
.services summary span { color: #cbd5ae; font-size: .68rem; font-weight: 600; letter-spacing: .12em; }
.services summary strong { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3.35rem); font-weight: 400; letter-spacing: -.03em; }
.services summary i, .faq summary i { position: relative; width: 22px; height: 22px; }
.services summary i::before, .services summary i::after, .faq summary i::before, .faq summary i::after { position: absolute; top: 50%; left: 0; width: 100%; height: 1px; content: ''; background: currentColor; transition: opacity .25s ease, transform .25s ease; }
.services summary i::after, .faq summary i::after { transform: rotate(90deg); }
.services details[open] summary i::after, .faq details[open] summary i::after { opacity: 0; }
.service-body { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(270px, 1.3fr); gap: clamp(2rem, 6vw, 6rem); padding: 0 3rem 3.1rem 4.2rem; color: #e7e4d9; }
.service-body p { margin-bottom: 1rem; }
.service-body ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 2rem; padding: 0; margin: 0; list-style: none; }
.service-body li { position: relative; padding-left: 1rem; font-size: .9rem; }
.service-body li::before { position: absolute; top: .7em; left: 0; width: 4px; height: 4px; border-radius: 50%; content: ''; background: #cbd5ae; }
.service-body .note { grid-column: 1 / -1; padding: 1rem 1.3rem; border-left: 1px solid #cbd5ae; color: #faf7f2; }
.section-action { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 3rem; }
.section-action p { margin: 0; color: #d9d9cb; }

/* Process and capacities */
.process { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.process li { min-height: 278px; display: flex; flex-direction: column; padding: 1.5rem; border-right: 1px solid var(--line); }
.process li:first-child { border-left: 1px solid var(--line); }
.process span, .capacities span { color: var(--olive); font-size: .68rem; font-weight: 600; letter-spacing: .12em; }
.process h3 { margin-top: auto; }
.process p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.capacities { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.capacities article { min-height: 370px; display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid var(--line); transition: background .3s var(--ease); }
.capacities article:first-child { border-left: 1px solid var(--line); }
.capacities article:hover { background: rgba(255,255,255,.3); }
.capacities article > p:nth-child(2) { margin: 2.5rem 0 auto; color: var(--olive); font-size: .69rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.capacities article > p:last-child { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

/* Comparison, audience and FAQ */
.comparison .lead { color: #e1d9cf; }
.compare-list { position: relative; z-index: 1; border-top: 1px solid var(--line-light); }
.compare-list article { display: grid; grid-template-columns: 150px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line-light); }
.compare-list article > span { color: #cbd5ae; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.compare-list ul { display: grid; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.compare-list li { position: relative; padding-left: 1rem; }
.compare-list li::before { position: absolute; left: 0; top: .7em; width: 4px; height: 4px; border-radius: 50%; content: ''; background: #cbd5ae; }
.audience { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.audience button { width: 100%; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--coffee); font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2.2rem); text-align: left; }
.audience button:hover { color: var(--olive); }
.audience i { position: relative; width: 26px; height: 20px; flex: 0 0 auto; }
.audience i::before { position: absolute; top: 50%; left: 0; width: 100%; height: 1px; content: ''; background: currentColor; }
.audience i::after { position: absolute; top: 6px; right: 0; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; content: ''; }
.faq { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 84px; display: grid; grid-template-columns: 1fr 24px; align-items: center; gap: 1.5rem; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 3rem 1.7rem 0; margin-bottom: 0; color: var(--muted); }

/* CTAs and footer */
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.55rem; border: 1px solid transparent; background: transparent; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: transform .2s var(--ease), color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--coffee-dark); color: var(--paper); }
.button-dark:hover { background: var(--olive-dark); }
.button-light { background: var(--paper); color: var(--coffee-dark); }
.button-full { width: 100%; }
.final-cta { position: relative; padding: clamp(8rem, 13vw, 13rem) 0; overflow: hidden; background: var(--olive); color: #edeade; text-align: center; transition: opacity .75s var(--ease), transform .75s var(--ease); }
.final-cta::before { position: absolute; top: -3rem; left: 50%; content: 'NORAH'; color: rgba(244,237,226,.045); font-family: var(--serif); font-size: min(31vw, 31rem); line-height: 1; transform: translateX(-50%); pointer-events: none; }
.final-cta .container { position: relative; }
.final-cta h2 { max-width: 1050px; margin-inline: auto; color: var(--paper); font-size: clamp(3.2rem, 7.2vw, 7.2rem); }
.final-cta > .container > p:not(.eyebrow) { max-width: 620px; margin: 0 auto 2rem; }
.final-cta .eyebrow { color: #cbd5ae; }
footer { padding: 5rem 0 1.5rem; background: var(--coffee-dark); color: #dcd4cb; transition: opacity .75s var(--ease), transform .75s var(--ease); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr .8fr; gap: 4rem; padding-bottom: 4rem; }
.footer-logo { margin-bottom: 1rem; color: var(--paper); font-family: var(--serif); font-size: 2.5rem; letter-spacing: .12em; }
.footer-grid p, .footer-grid a { font-size: .88rem; }
.footer-grid nav { display: grid; align-content: start; gap: .55rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); color: #aa9f95; font-size: .72rem; }

/* Contact modal */
.modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(32, 27, 22, .72); backdrop-filter: blur(5px); }
.modal-sheet { width: min(100%, 700px); max-height: min(90dvh, 760px); overflow: auto; padding: clamp(2rem, 5vw, 4rem); background: var(--paper); box-shadow: 0 28px 90px rgba(0,0,0,.24); }
.modal-head { display: grid; grid-template-columns: 1fr 46px; gap: 2rem; align-items: start; }
.modal-head h2 { margin-bottom: .75rem; font-size: clamp(2.7rem, 6vw, 4.8rem); }
.modal-close { position: relative; width: 46px; height: 46px; background: transparent; }
.modal-close span { position: absolute; top: 22px; left: 10px; width: 26px; height: 1px; background: var(--coffee); transform: rotate(45deg); }
.modal-close span:last-child { transform: rotate(-45deg); }
.modal-intro { max-width: 540px; color: var(--muted); }
.modal form { display: grid; gap: 1rem; margin-top: 2rem; }
.modal label { display: grid; gap: .45rem; color: var(--coffee); font-size: .78rem; font-weight: 600; }
.modal label small { margin-left: .3rem; color: var(--muted); font-weight: 400; }
.modal input, .modal textarea, .modal select { width: 100%; min-height: 50px; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--text); }
.modal textarea { min-height: 92px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 2.5rem), var(--max)); }
  .hero-inner { width: calc(100% - 2.5rem); }
  .split, .section-intro { grid-template-columns: 1fr; gap: 2rem; }
  .section-intro { margin-bottom: 3.5rem; }
  .service-body { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li:nth-child(3) { border-left: 1px solid var(--line); }
  .capacities { grid-template-columns: 1fr; }
  .capacities article { min-height: 260px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .capacities article:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-header { padding: 1.25rem; }
  .site-header.scrolled { padding-block: .8rem; }
  .site-nav { top: 4.7rem; right: .75rem; width: calc(100vw - 1.5rem); padding: 1.5rem; }
  .hero { min-height: 720px; background-position: 58% top; }
  .hero-inner { padding: 8rem 0 4rem; }
  .hero-lockup { display: block; }
  .hero-word { font-size: clamp(4.8rem, 24vw, 7.5rem); line-height: .88; }
  .hero h1 { width: auto; min-width: 0; margin-top: 1.5rem; font-size: .7rem; }
  .hero-intro { max-width: 280px; }
  .hero-leaf { right: -10%; bottom: -6%; width: clamp(280px, 68vw, 420px); opacity: .94; }
  .hero-aside { display: none; }
  .section { padding-block: 6rem; }
  .section-action { align-items: flex-start; flex-direction: column; }
  .services summary { min-height: 84px; grid-template-columns: 2.35rem 1fr 24px; gap: .55rem; }
  .services summary strong { font-size: 1.62rem; }
  .service-body { padding: 0 0 2.5rem 2.35rem; }
  .service-body ul { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process li, .process li:nth-child(3) { min-height: auto; padding: 1.35rem 0; border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process h3 { margin: 1.5rem 0 .45rem; }
  .compare-list article { grid-template-columns: 1fr; gap: .8rem; }
  .faq details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .modal { place-items: end center; padding: 0; }
  .modal-sheet { width: 100%; max-height: 88dvh; padding: 0 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; overscroll-behavior: contain; }
  .modal-head { position: sticky; z-index: 2; top: 0; margin: 0 -1.25rem; padding: 1.5rem 1.25rem .6rem; background: var(--paper); }
  .modal-head::before { position: absolute; top: .55rem; left: 50%; width: 40px; height: 3px; border-radius: 99px; content: ''; background: rgba(73,60,53,.2); transform: translateX(-50%); }
  .modal-head h2 { font-size: 2.6rem; }
  .modal-intro { font-size: .9rem; }
  .modal form { margin-top: 1.2rem; }
  .modal form > .button { position: sticky; bottom: 0; width: calc(100% + 2.5rem); min-height: 60px; margin: 0 -1.25rem -1.25rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .section, .final-cta, footer { opacity: 1; transform: none; }
}
