/* ==========================================================================
   Origins of Light — homepage sections (1:1 port of Lovable design)
   ========================================================================== */
body#index #wrapper > .container { max-width: none; padding: 0; }
body#index #wrapper { padding: 0; }
body#index .breadcrumb { display: none; }
#index #content.page-home { margin: 0; }

.ool-hero, .ool-section, .ool-brand {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
body { overflow-x: hidden; }

.ool-hero .container, .ool-section .container, .ool-brand .container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .ool-hero .container, .ool-section .container, .ool-brand .container { padding-left: 2.5rem; padding-right: 2.5rem; }
}

/* ---------- Hero ---------- */
.ool-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--border);
  background: var(--onyx);
}
.ool-hero__stage { position: relative; height: 64vh; min-height: 480px; max-height: 760px; }
.ool-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease;
}
.ool-hero__slide.is-active { opacity: 1; z-index: 10; }
.ool-hero__slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ool-hero__shade-x {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, oklch(0 0 0 / 0.7), oklch(0 0 0 / 0.3), transparent);
}
.ool-hero__shade-y {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0 0 0 / 0.5), transparent);
}
.ool-hero__content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}
.ool-hero__text { max-width: 36rem; color: #fff; }
.ool-hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}
.ool-hero__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.05;
  color: #fff;
  margin: 0;
}
@media (min-width: 1024px) { .ool-hero__title { font-size: 3.75rem; } }
.ool-hero__title em { font-style: italic; }
.ool-hero__desc {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 28rem;
}
.ool-hero__ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.ool-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--gold);
  color: var(--onyx);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-elegant);
}
.ool-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-elegant);
}
.ool-hero__controls { pointer-events: none; position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; }
.ool-hero__controls-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
}
.ool-hero__dots { pointer-events: auto; display: flex; align-items: center; gap: 0.75rem; }
.ool-hero__dots button {
  height: 2px;
  width: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.5s;
}
.ool-hero__dots button.is-active { width: 2.5rem; background: var(--gold); }
.ool-hero__arrows { pointer-events: auto; display: flex; align-items: center; gap: 0.5rem; }
.ool-hero__arrows button {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0 0 0 / 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: all var(--transition-elegant);
}
@media (min-width: 1024px) { .ool-hero__arrows button { width: 2.75rem; height: 2.75rem; } }

/* ---------- Sections ---------- */
.ool-section { background: var(--background); padding: 5rem 0; }
@media (min-width: 1024px) { .ool-section { padding: 7rem 0; } }
.ool-section--marble { background: var(--marble); border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.ool-section--bordered { border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.ool-section__head { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2.5rem; }
.ool-section__head--row { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.ool-section__head-text { max-width: 36rem; }
.ool-eyebrow-gold {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}
.ool-h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.25;
  margin: 0;
}
@media (min-width: 1024px) { .ool-h2 { font-size: 2.25rem; } }
.ool-h2 em { font-style: italic; }
.ool-section__lead { margin-top: 1.25rem; color: var(--muted-foreground); line-height: 1.65; }
.ool-link-underline {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--foreground);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.25rem;
  text-decoration: none;
  transition: all var(--transition-elegant);
}
.ool-arrows { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.ool-arrows button {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in oklab, var(--foreground) 20%, transparent);
  background: none;
  color: var(--foreground);
  cursor: pointer;
  transition: all var(--transition-elegant);
}

/* ---------- Tabs ---------- */
.ool-tabsrow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.ool-tabs { display: flex; flex-direction: column; row-gap: 0.5rem; column-gap: 2rem; }
@media (min-width: 1024px) { .ool-tabs { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.ool-tab {
  position: relative;
  padding: 0 0 0.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted-foreground);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color var(--transition-elegant);
}
@media (min-width: 1024px) { .ool-tab { padding-bottom: 1rem; } }
.ool-tab.is-active { color: var(--foreground); }
.ool-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
}
.ool-tabsrow .ool-arrows { padding-bottom: 0.75rem; }

/* ---------- Sliders ---------- */
.ool-slider { overflow: hidden; margin: 0 -0.75rem; }
@media (min-width: 1024px) { .ool-slider { margin: 0 -1rem; } }
.ool-slider.is-hidden { display: none; }
.ool-slider__track { display: flex; transition: transform 0.5s ease-out; }
.ool-slider__cell { flex-shrink: 0; width: 100%; padding: 0 0.75rem; }
@media (min-width: 640px) { .ool-slider__cell { width: 50%; } }
@media (min-width: 1024px) {
  .ool-slider__cell { padding: 0 1rem; }
  .ool-slider[data-ool-perview="4"] .ool-slider__cell { width: 25%; }
  .ool-slider[data-ool-perview="3"] .ool-slider__cell { width: 33.3333%; }
}

/* ---------- Product card ---------- */
.ool-card { background: var(--pearl); box-shadow: var(--shadow-card); overflow: hidden; }
.ool-card__imgwrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--marble);
}
.ool-card__imgwrap--square { aspect-ratio: 1 / 1; }
.ool-card__imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ool-card__fav, .ool-card__eye {
  position: absolute;
  right: 0.75rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklab, var(--background) 90%, transparent);
  backdrop-filter: blur(4px);
  color: var(--foreground);
  box-shadow: var(--shadow-card);
  border: 0;
  cursor: pointer;
  transition: all var(--transition-elegant);
}
.ool-card__fav { top: 0.75rem; }
.ool-card__eye { bottom: 0.75rem; }
.ool-card__fav.is-fav { color: var(--gold); }
.ool-card__fav.is-fav svg { fill: var(--gold); }
.ool-card__body { padding: 1.25rem; text-align: left; }
.ool-card__eyebrow {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 0 0 0.5rem;
}
.ool-card__name { font-family: var(--font-display); font-size: 1.125rem; margin: 0; font-weight: 400; }
.ool-card__name a { color: var(--foreground); text-decoration: none; }
.ool-card__price { margin: 0.5rem 0 0; font-size: 0.875rem; font-weight: 500; color: var(--gold); }

/* ---------- Lookbook card ---------- */
.ool-lookcard { display: block; text-decoration: none; }
.ool-lookcard__imgwrap {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--marble);
}
.ool-lookcard__imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s; }

/* ---------- Quotes ---------- */
.ool-quote {
  position: relative;
  background: var(--pearl);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}
@media (min-width: 1024px) { .ool-quote { padding: 2.5rem; } }
.ool-quote__mark { color: var(--gold); margin-bottom: 1.25rem; }
.ool-quote__text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.65;
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
  font-style: italic;
  margin: 0;
  border: 0;
  padding: 0;
}
.ool-quote__caption { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.ool-quote__author { font-weight: 500; font-size: 0.875rem; margin: 0; }
.ool-quote__role { font-size: 0.75rem; color: var(--muted-foreground); margin: 0.125rem 0 0; }
.ool-quote__stars { display: flex; align-items: center; gap: 0.25rem; margin-top: 0.75rem; color: var(--gold); }

/* ---------- Brand / accordion / parallax ---------- */
.ool-brand {
  background: var(--breadcrumb);
  border-top: 2px solid var(--border);
  padding-top: 5rem;
  overflow: hidden;
}
@media (min-width: 1024px) { .ool-brand { padding-top: 6rem; } }
.ool-brand__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .ool-brand__grid { grid-template-columns: 7fr 5fr; gap: 0; } }
.ool-brand__text { padding: 0 1.5rem; }
@media (min-width: 1024px) {
  .ool-brand__text { padding-left: max(2.5rem, calc((100vw - 80rem) / 2 + 2.5rem)); padding-right: 3rem; }
}
.ool-brand__head { margin-bottom: 3rem; }
.ool-accordion { width: 100%; }
.ool-accordion__item { border-bottom: 1px solid var(--border); }
.ool-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--foreground);
  padding: 1.5rem 0;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}
@media (min-width: 1024px) { .ool-accordion__trigger { font-size: 1.25rem; } }
.ool-accordion__trigger svg { transition: transform 0.3s; flex-shrink: 0; color: var(--muted-foreground); }
.ool-accordion__item.is-open .ool-accordion__trigger svg { transform: rotate(180deg); }
.ool-accordion__content {
  display: none;
  color: var(--muted-foreground);
  line-height: 1.65;
  padding-bottom: 1.5rem;
}
.ool-accordion__content p { margin: 0; }
.ool-accordion__item.is-open .ool-accordion__content { display: block; }
.ool-brand__imgwrap {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 1024px) { .ool-brand__imgwrap { min-height: 680px; margin-top: calc(-6rem - 2px); } }
.ool-brand__imgwrap > img {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  width: 100%;
  height: 140%;
  object-fit: cover;
  will-change: transform;
}
.ool-brand__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0 0 0 / 0.3), transparent 50%);
  pointer-events: none;
}
