:root {
  font-family: "neulis-sans", system-ui, sans-serif;
  color: #21201b;
  background: #fbf7f2;
  --ink: #21201b;
  --muted: #66574f;
  --orange: #d33100;
  --line: #e6d4cb;
  --tint: #f9eae0;
  --paper: #fbf7f2;
  --display: "neulis-neue", "neulis-sans", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, ol { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #a62700; outline-offset: 4px; }
[hidden] { display: none !important; }
.frame { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .75rem; z-index: 2; padding: .75rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.page-progress { position: fixed; z-index: 5; inset: 0 0 auto; height: .25rem; background: #efd4c8; pointer-events: none; }
.page-progress::before { content: ""; display: block; height: 100%; background: var(--orange); transform: scaleX(var(--page-progress, 0)); transform-origin: left; }
.site-header { padding-top: .25rem; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; flex-direction: column; gap: .65rem; padding-block: 1rem; }
.group-wordmark { width: 10.75rem; height: auto; }
.header-inner nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .4rem; }
.header-inner nav a { display: grid; min-height: 2.35rem; align-items: center; padding-inline: .68rem; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 700; text-decoration: none; }
.header-inner nav a:hover { color: var(--orange); border-color: #e4bdad; background: var(--tint); }
.hero { display: grid; align-items: center; gap: clamp(1.5rem, 5vw, 4.25rem); padding-block: clamp(2.25rem, 7vw, 6.5rem); text-align: center; }
.eyebrow { color: #a62700; font-size: .875rem; font-weight: 700; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
.caps { font-family: var(--display); text-transform: uppercase; }
h1 { font-size: clamp(1.95rem, 7vw, 4.75rem); margin-block: .65rem 1rem; text-wrap: balance; }
h1 em { color: var(--orange); font-style: normal; }
.hero-copy > p:not(.eyebrow), .section-heading > p { color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.15rem); line-height: 1.55; max-width: 37ch; }
.hero-copy > p:not(.eyebrow) { margin-inline: auto; }
.hero-copy .button { margin-top: 1.45rem; }
.button { display: inline-flex; min-height: 3.1rem; align-items: center; justify-content: center; padding: .65rem 1.1rem; border: 1px solid var(--orange); border-radius: .55rem; background: var(--orange); color: #fff; font-weight: 700; text-decoration: none; }
.button:hover { background: #a62700; border-color: #a62700; }
.button.secondary { background: transparent; color: #a62700; border-color: #e4bdad; }
.button.secondary:hover { background: var(--tint); }
.hero-scene { position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(17rem, 72vw, 29rem); padding: clamp(.6rem, 1.5vw, 1.25rem); }
.hero-scene::before { content: ""; position: absolute; z-index: -1; inset: 4% 2%; border-radius: 50%; background: radial-gradient(ellipse, #ffdf9e 0%, #fce8d3 45%, transparent 72%); }
.hero-scene::after { content: ""; position: absolute; z-index: -1; bottom: 8%; width: 64%; height: 16%; background: radial-gradient(ellipse, #703b2243, transparent 70%); }
.hero-bottle,.hero-model { grid-area: 1 / 1; }
.hero-bottle { width: clamp(10.5rem, 47vw, 17.5rem); height: auto; }
.hero-model { display: block; visibility: hidden; width: min(100%,26rem); height: auto; aspect-ratio: 1; }
[data-model-ready] .hero-model { visibility: visible; }
[data-model-ready] .hero-bottle { visibility: hidden; }
.section { padding-block: clamp(2.75rem, 7vw, 5.25rem); scroll-margin-top: 1rem; }
.brands { border-top: 1px solid var(--line); }
.section-heading { display: flex; flex-direction: column; gap: .8rem 2rem; margin-bottom: clamp(1.35rem, 4vw, 2.65rem); }
h2 { font-size: clamp(2.2rem, 4.7vw, 4rem); }
.brand-grid { display: grid; gap: 1rem; }
.brand-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fffdfb; }
.brand-photo { aspect-ratio: 2.2; background: var(--tint); }
.brand-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.brand-body { display: grid; justify-items: center; gap: .55rem 1rem; padding: 1.15rem; }
.brand-body h3 img { width: auto; height: 1.5rem; }
.brand-body p { color: var(--muted); }
.brand-body .button { width: 100%; margin-top: .25rem; }
.identity { background: #fffaf6; border-block: 1px solid var(--line); }
.identity-grid { display: grid; gap: 1.5rem; }
.identity-grid article { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.identity-grid article > svg { display: block; margin-bottom: .6rem; }
.identity-grid h3 { color: #a62700; font-size: 1.5rem; margin-bottom: .7rem; }
.identity-grid p, .identity-grid li { line-height: 1.55; }
.identity-grid ul { display: grid; gap: 1.55rem clamp(1rem, 3vw, 2.75rem); margin: 1.5rem 0 0; padding: 0; list-style: none; }
.identity-grid li { display: grid; align-content: start; justify-items: start; gap: .42rem; }
.identity-grid li strong { font-size: 1.1rem; line-height: 1.2; }
.identity-grid li p { max-width: 29ch; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.value-icon { width: 2.7rem; height: 2.7rem; margin-bottom: .2rem; color: var(--orange); fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.history { padding-bottom: clamp(1.25rem, 3vw, 2.25rem); }
.history-layout { --gutter: max(1rem, calc((100% - 72rem) / 2)); }
.history-track { margin-inline: var(--gutter); }
.history-aside { position: relative; min-height: 10rem; overflow: hidden; border-radius: .9rem; background: var(--tint); }
.history-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 55%; }
.history-aside p { position: absolute; bottom: 1rem; left: 1rem; padding: .35rem .6rem; border-radius: .25rem; background: var(--paper); color: var(--ink); font-size: .9rem; font-weight: 700; }
.timeline-events { margin-top: 1.6rem; padding: 0 0 0 1.15rem; border-left: 1px solid #ddab96; list-style: none; }
.timeline-events li { position: relative; }
.timeline-events li + li { margin-top: 1.65rem; }
.timeline-events li::before { content: ""; position: absolute; left: -1.46rem; top: .65rem; width: .55rem; aspect-ratio: 1; border-radius: 50%; background: var(--orange); }
.timeline-events :is(time,.year) { display: block; margin-bottom: .4rem; color: #a62700; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; line-height: 1; }
.timeline-events h3 { margin-bottom: .38rem; font-size: 1.2rem; }
.timeline-events p { color: var(--muted); line-height: 1.5; }

.history-journey[data-scroll-driven] { min-height: calc(var(--stage-height, 0px) + var(--journey-distance, 0px)); }
[data-scroll-driven] .history-layout { position: sticky; top: var(--stage-inset, 0px); overflow: clip; }
[data-scroll-driven] .history-heading { margin-bottom: 1rem; }
[data-scroll-driven] .history-track { display: flex; align-items: stretch; gap: clamp(1.75rem, 6vw, 5rem); width: max-content; height: clamp(22rem, 53svh, 27rem); margin: 0; padding-inline: var(--gutter); transform: translate3d(var(--track-shift, 0px), 0, 0); }
[data-scroll-driven] .history-aside { width: min(75vw, 23rem); min-height: 0; align-self: center; height: 83%; }
[data-scroll-driven] .timeline-events { position: relative; display: flex; margin: 0; padding: 0; border: 0; }
[data-scroll-driven] .timeline-events::before,
[data-scroll-driven] .timeline-events::after { content: ""; position: absolute; left: 0; top: 50%; height: 1px; }
[data-scroll-driven] .timeline-events::before { width: var(--line-size, 0px); background: #e2c5b9; }
[data-scroll-driven] .timeline-events::after { width: var(--line-progress, 0px); background: var(--orange); }
[data-scroll-driven] .timeline-events li { z-index: 1; display: grid; grid-template-rows: 1fr 1fr; width: min(76vw, 20rem); margin: 0; padding-right: 1.4rem; }
[data-scroll-driven] .timeline-events li::before { left: 0; top: 50%; translate: 0 -50%; opacity: calc(.25 + .75 * var(--reveal, 1)); }
[data-scroll-driven] .timeline-events li::after { content: ""; position: absolute; left: .24rem; bottom: 50%; width: 1px; height: 1rem; background: var(--orange); transform: scaleY(var(--reveal, 1)); transform-origin: bottom; }
[data-scroll-driven] .timeline-events li:nth-child(even)::after { top: 50%; bottom: auto; transform-origin: top; }
[data-scroll-driven] .timeline-copy { align-self: end; padding-bottom: 1.35rem; }
[data-scroll-driven] li:nth-child(even) .timeline-copy { grid-row: 2; align-self: start; padding-top: 1.35rem; padding-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  [data-scroll-driven] .timeline-copy > * { opacity: var(--entry-opacity, 1); transform: translateY(calc((1 - var(--entry-opacity, 1)) * .85rem)); }
  [data-scroll-driven] .timeline-copy > :first-child { --entry-opacity: clamp(0, calc(var(--reveal, 1) * 1.55), 1); }
  [data-scroll-driven] .timeline-copy > h3 { --entry-opacity: clamp(0, calc((var(--reveal, 1) - .16) * 1.4), 1); }
  [data-scroll-driven] .timeline-copy > p { --entry-opacity: clamp(0, calc((var(--reveal, 1) - .31) * 1.45), 1); }
}
.site-footer { background: #fffaf6; border-top: 1px solid var(--line); color: var(--ink); }
.footer-inner { padding-block: 1.6rem; font-size: .875rem; }
.footer-inner .group-wordmark { width: 8.5rem; }
@media (min-width: 24rem) {
  .identity-grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 40rem) {
  .frame { width: min(100% - 2.5rem, 72rem); }
  .header-inner, .footer-inner { flex-direction: row; justify-content: space-between; gap: 1rem 2rem; }
  .header-inner nav { gap: .4rem .55rem; }
  .section-heading { flex-direction: row; align-items: end; justify-content: space-between; }
  .brand-grid, .identity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .identity-grid article:last-child { grid-column: 1 / -1; }
  .history-layout { --gutter: max(1.25rem, calc((100% - 72rem) / 2)); }
}
@media (min-width: 60rem) {
  .hero { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); text-align: left; }
  .hero-copy > p:not(.eyebrow) { margin-inline: 0; }
  h1 { font-size: clamp(2.8rem, 4.7vw, 4.75rem); text-wrap: initial; }
  .brand-body { grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: start; padding: 1.3rem; }
  .brand-body p { grid-area: 2 / 1; }
  .brand-body .button { grid-area: 1 / 2 / span 2; margin: 0; }
  .identity-grid ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-scroll-driven] .history-aside { width: min(32vw, 29rem); }
  [data-scroll-driven] .timeline-events li { width: min(27vw, 20rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
