/* =============================================================================
   ORIVANA ORGANICS · v2 "Pressed" design system
   Legacy reset layer. The live type system is defined in v9.css.
   expanded for authority, compressed for emphasis — type that behaves like it
   came off a line under pressure.
   Palette from the brand blueprint: Deep Green #1A4331 · White · Light Green
   #88C999 · Golden Apricot #FFB347.
   ========================================================================== */

:root {
  /* colour */
  --g950: #07150F;
  --g900: #0B1E16;
  --g850: #0F271C;
  --g800: #133222;
  --g700: #1A4331;          /* brand deep green */
  --g600: #24573F;
  --g500: #3A7A5A;
  --g400: #5FA27C;
  --g300: #88C999;          /* brand light green */
  --g200: #BFE2C8;
  --g100: #E4F2E8;
  --white: #FFFFFF;
  --paper: #F3F6F3;         /* cool, green-tinted white — not cream */
  --paper-2: #E8EEE9;
  --ink: #0B1A13;
  --ink-2: #33473C;
  --ink-3: #5D7166;
  --apricot: #FFB347;       /* the single accent */
  --apricot-d: #E0902A;
  --on-dark: #F2F7F3;
  --on-dark-2: rgba(242, 247, 243, .72);
  --on-dark-3: rgba(242, 247, 243, .5);
  --line: rgba(11, 26, 19, .12);
  --line-2: rgba(11, 26, 19, .22);
  --line-d: rgba(242, 247, 243, .12);
  --line-d2: rgba(242, 247, 243, .24);
  --ok: #3FA66B;
  --err: #D6553E;

  /* type */
  --f: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-xl: clamp(3.4rem, 1.2rem + 9.2vw, 11.5rem);
  --t-1: clamp(2.7rem, 1.4rem + 5.4vw, 7.4rem);
  --t-2: clamp(2.1rem, 1.25rem + 3.6vw, 5rem);
  --t-3: clamp(1.6rem, 1.15rem + 1.9vw, 2.9rem);
  --t-4: clamp(1.2rem, 1.05rem + .6vw, 1.6rem);
  --t-lead: clamp(1.08rem, 1rem + .4vw, 1.35rem);
  --t-body: 1.0625rem;
  --t-sm: .9375rem;
  --t-xs: .8125rem;

  /* space */
  --gut: clamp(16px, 1.2rem + 1.4vw, 44px);
  --wrap: 1520px;
  --sec: clamp(88px, 4rem + 8vw, 200px);
  --r-xs: 6px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --hdr: 76px;

  /* motion */
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --e-press: cubic-bezier(.7, 0, .2, 1);
  --shadow-1: 0 1px 2px rgba(7, 21, 15, .06), 0 8px 24px -12px rgba(7, 21, 15, .18);
  --shadow-2: 0 2px 6px rgba(7, 21, 15, .08), 0 30px 60px -28px rgba(7, 21, 15, .45);
  --shadow-3: 0 40px 120px -40px rgba(0, 0, 0, .6);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font-family: var(--f); font-size: var(--t-body); line-height: 1.6; font-stretch: 100%; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-kerning: normal; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--apricot); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--apricot); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; border-radius: 999px; background: var(--apricot); color: var(--ink); font-weight: 600; transition: top .3s var(--e-out); }
.skip:focus { top: 16px; }

/* ---------------------------------------------------------------- type */
.d-xl, .d-1, .d-2, .d-3 { font-weight: 640; line-height: .92; letter-spacing: -.045em; text-wrap: balance; }
.d-1 { font-size: var(--t-1); font-stretch: 116%; }
.d-2 { font-size: var(--t-2); font-stretch: 110%; line-height: .95; }
.d-3 { font-size: var(--t-3); font-stretch: 106%; line-height: 1.02; letter-spacing: -.035em; }
.h-4 { font-size: var(--t-4); font-weight: 600; font-stretch: 104%; line-height: 1.18; letter-spacing: -.02em; }
.h-5 { font-size: 1.125rem; font-weight: 620; line-height: 1.3; letter-spacing: -.01em; }
.d-xl em, .d-1 em, .d-2 em, .d-3 em, .h-4 em, .press {
  font-style: normal; font-stretch: 62%; font-weight: 300; letter-spacing: -.02em; color: var(--accent-em, var(--g600));
}
.on-dark .d-xl em, .on-dark .d-1 em, .on-dark .d-2 em, .on-dark .d-3 em, .on-dark .h-4 em, .on-dark .press { color: var(--accent-em, var(--g300)); }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 58ch; }
.body { font-size: var(--t-body); line-height: 1.65; color: var(--ink-2); max-width: 64ch; }
.sm { font-size: var(--t-sm); line-height: 1.55; }
.xs { font-size: var(--t-xs); line-height: 1.5; }
.label { font-size: .75rem; font-weight: 640; font-stretch: 125%; letter-spacing: .02em; text-transform: uppercase; line-height: 1.2; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.mute { color: var(--ink-3); }
.on-dark { color: var(--on-dark); }
.on-dark .lead, .on-dark .body { color: var(--on-dark-2); }
.on-dark .mute { color: var(--on-dark-3); }
.c-apricot { color: var(--apricot); }
.c-green { color: var(--g300); }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec { position: relative; padding-block: var(--sec); }
.sec--paper { background: var(--paper); }
.sec--white { background: var(--white); }
.sec--deep { background: var(--g900); color: var(--on-dark); }
.sec--green, .sec--deep, .sec--ink { --line: var(--line-d); --line-2: var(--line-d2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: end; }
.stack-s > * + * { margin-top: 14px; }
.stack-m > * + * { margin-top: 24px; }
.stack-l > * + * { margin-top: 40px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--apricot); --fg: var(--ink); --bd: transparent; --dot: var(--ink); --dot-fg: var(--apricot);
  position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 6px 8px 6px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); font-weight: 620; font-size: .98rem; font-stretch: 108%; letter-spacing: -.01em; line-height: 1.1;
  white-space: nowrap; isolation: isolate; overflow: hidden; transition: color .45s var(--e-out), border-color .45s, transform .5s var(--e-out);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--ink)); transform: translateY(101%); border-radius: inherit; transition: transform .6s var(--e-press); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--fill-fg, var(--apricot)); }
.btn__i { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--dot); color: var(--dot-fg); overflow: hidden; transition: background .45s, color .45s; }
.btn__i svg { width: 16px; height: 16px; transition: transform .55s var(--e-press); }
.btn:hover .btn__i svg { animation: btn-arrow .6s var(--e-press); }
.btn:hover .btn__i { background: var(--apricot); color: var(--ink); }
@keyframes btn-arrow { 0% { transform: translateX(0); } 45% { transform: translateX(160%); } 46% { transform: translateX(-160%); } 100% { transform: translateX(0); } }
.btn--noicon { padding-inline: 26px; }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); --dot: var(--ink); --dot-fg: var(--paper); --fill: var(--ink); --fill-fg: var(--paper); }
.btn--ink { --bg: var(--ink); --fg: var(--on-dark); --dot: var(--apricot); --dot-fg: var(--ink); --fill: var(--g600); --fill-fg: var(--on-dark); }
.on-dark .btn--line, .btn--line-d { --fg: var(--on-dark); --bd: var(--line-d2); --dot: var(--on-dark); --dot-fg: var(--g900); --fill: var(--on-dark); --fill-fg: var(--g900); }
.btn--sm { min-height: 44px; font-size: .9rem; padding-left: 18px; gap: 10px; }
.btn--sm .btn__i { width: 32px; height: 32px; }
.btn--lg { min-height: 64px; font-size: 1.06rem; padding-left: 30px; }
.btn--lg .btn__i { width: 48px; height: 48px; }
.btn[disabled], .btn.is-busy { pointer-events: none; opacity: .65; }
.btn.is-busy .btn__i svg { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ulink { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-stretch: 108%; padding-block: 4px; }
.ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--e-press); }
.ulink:hover::after { transform: scaleX(0); }
.ulink svg { width: 15px; height: 15px; transition: transform .5s var(--e-out); }
.ulink:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--hdr); color: var(--hdr-fg, var(--on-dark)); transition: transform .6s var(--e-out), color .4s; }
.hdr::before { content: ""; position: absolute; inset: 0; background: var(--hdr-bg, rgba(11, 30, 22, .72)); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); opacity: 0; transition: opacity .4s; border-bottom: 1px solid var(--hdr-line, var(--line-d)); }
.hdr.is-scrolled::before { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
html.menu-open .hdr { transform: none; }
.hdr[data-tone="light"] { --hdr-fg: var(--ink); --hdr-bg: rgba(243, 246, 243, .82); --hdr-line: var(--line); }
.hdr__in { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr__logo { position: relative; display: block; width: 148px; flex: none; }
.hdr__logo img { width: 100%; height: auto; transition: opacity .4s; }
.hdr__logo .logo-d { position: absolute; inset: 0; opacity: 0; }
.hdr[data-tone="light"] .logo-l { opacity: 0; }
.hdr[data-tone="light"] .logo-d { opacity: 1; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav button { position: relative; padding: 10px 14px; border-radius: 999px; font-size: .92rem; font-weight: 520; font-stretch: 104%; letter-spacing: -.005em; white-space: nowrap; transition: background .3s; }
.nav a:hover, .nav button:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--apricot); }
.hdr__act { display: flex; align-items: center; gap: 10px; }
.snd { display: inline-flex; align-items: center; gap: 8px; height: 40px; white-space: nowrap; padding: 0 12px; border-radius: 999px; font-size: .8rem; font-weight: 560; font-stretch: 112%; color: inherit; opacity: .8; }
.snd:hover { opacity: 1; }
.snd__bars { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.snd__bars i { display: block; width: 2px; height: 4px; border-radius: 2px; background: currentColor; transition: height .3s; }
.snd[aria-pressed="true"] .snd__bars i { animation: eq 1s ease-in-out infinite; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(2) { animation-delay: -.3s; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(3) { animation-delay: -.6s; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); font-size: .9rem; font-weight: 600; font-stretch: 112%; }
.menu-btn__ic { position: relative; display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--apricot); }
.menu-btn__ic i { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .5s var(--e-press); }
.menu-btn__ic i:first-child { top: 12px; }
.menu-btn__ic i:last-child { top: 17px; }
html.menu-open .menu-btn__ic i:first-child { transform: translateY(2.5px) rotate(45deg); }
html.menu-open .menu-btn__ic i:last-child { transform: translateY(-2.5px) rotate(-45deg); }
.hdr__cta { margin-left: 6px; }
.hdr-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--apricot); transform-origin: left; transform: scaleX(0); }
@media (max-width: 1240px) { .nav { display: none; } .hdr__act { margin-left: auto; } }
@media (max-width: 640px) { .hdr__logo { width: 118px; } .snd__t, .hdr__cta { display: none; } .menu-btn { padding-left: 14px; } }

/* index overlay (desktop "More" + mobile navigation) */
.menu { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--hdr) + 24px) 0 28px; background: var(--g900); color: var(--on-dark); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .9s var(--e-press), visibility 0s .9s; overflow-y: auto; overscroll-behavior: contain; }
html.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--e-press), visibility 0s; }
.menu__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.menu__main a { display: flex; align-items: baseline; gap: 18px; padding: 6px 0; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); font-weight: 640; font-stretch: 118%; letter-spacing: -.045em; line-height: 1.02; color: var(--on-dark-3); transition: color .35s, font-stretch .6s var(--e-out); }
.menu__main a:hover, .menu__main a:focus-visible, .menu__main a[aria-current="page"] { color: var(--on-dark); font-stretch: 125%; }
.menu__main a small { font-size: .8rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--g300); opacity: 0; transform: translateX(-8px); transition: .4s var(--e-out); }
.menu__main a:hover small { opacity: 1; transform: none; }
.menu__col h3 { margin-bottom: 14px; color: var(--g300); }
.menu__col a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 1.04rem; font-weight: 520; transition: padding .4s var(--e-out), color .3s; }
.menu__col a:hover { padding-left: 8px; color: var(--apricot); }
.menu__col a svg { width: 15px; height: 15px; opacity: .6; }
.menu__col + .menu__col { margin-top: 36px; }
.menu__peek { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--g800); }
.menu__peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s, transform 1.2s var(--e-out); }
.menu__peek img.is-on { opacity: 1; transform: scale(1); }
.menu__peek figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; font-size: .9rem; color: var(--on-dark); }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line-d); font-size: .9rem; color: var(--on-dark-2); }
.menu [data-mi] { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .9s var(--e-out); }
html.menu-open .menu [data-mi] { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i, 0) * .04s); }
@media (max-width: 1000px) { .menu__grid { grid-template-columns: minmax(0, 1fr); } .menu__peek { display: none; } }

/* ---------------------------------------------------------------- reveal states */
html.motion [data-r] { opacity: 0; }
html.motion [data-r="up"], html.motion [data-r=""] { transform: translateY(36px); }
html.motion [data-r="clip"] { opacity: 1; clip-path: inset(100% 0 0 0); }
html.motion [data-r="scale"] { transform: scale(.94); }
html.motion [data-r].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); transition: opacity 1s var(--e-out), transform 1.2s var(--e-out), clip-path 1.4s var(--e-press); transition-delay: var(--d, 0s); }
.sw { display: inline-block; overflow: clip; overflow-clip-margin: .14em; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.sw > span { display: inline-block; will-change: transform; }
html.motion [data-split]:not(.is-split) { visibility: hidden; }


/* ---------------------------------------------------------------- prefooter + footer */


/* ---------------------------------------------------------------- cookie / toast */
.cookie { position: fixed; left: var(--gut); bottom: 20px; z-index: 120; width: min(440px, calc(100vw - 2 * var(--gut))); padding: 22px 22px 18px; border-radius: var(--r); background: var(--g850); color: var(--on-dark); border: 1px solid var(--line-d); box-shadow: var(--shadow-3); transform: translateY(calc(100% + 40px)); transition: transform .8s var(--e-out); }
.cookie.is-on { transform: none; }
.cookie p { font-size: .9rem; color: var(--on-dark-2); }
.cookie__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie__set { display: none; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-d); }
.cookie.is-manage .cookie__set { display: grid; gap: 12px; }
.tgl { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .9rem; }
.tgl small { display: block; color: var(--on-dark-3); font-size: .8rem; }
.tgl input { appearance: none; width: 44px; height: 24px; flex: none; border-radius: 99px; background: var(--line-d2); position: relative; cursor: pointer; transition: background .3s; }
.tgl input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--on-dark); transition: transform .35s var(--e-out); }
.tgl input:checked { background: var(--g500); }
.tgl input:checked::after { transform: translateX(20px); }
.tgl input:disabled { opacity: .6; cursor: default; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 130; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: .92rem; transform: translate(-50%, 140%); transition: transform .6s var(--e-out); visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.motion [data-r] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
@media (max-width: 600px) { .btn { max-width: 100%; white-space: normal; text-align: left; } .btn > span:first-child { min-width: 0; } }
