/* =====================================================
   TOKENS
   File: assets/css/aboutv1.css
   Depends on: assets/css/global.css
===================================================== */
:root {
  --cream:        #FAFAF8;
  --cream-mid:    #F5F1EA;
  --cream-border: #E8E4DC;
  --dark:         #1C1A18;
  --mid:          #6A6A6A;
  --light-mid:    #9A9A9A;
  --burgundy:     #7A1F2B;
  --burgundy-dk:  #5C1720;
  --gold:         #C8A36A;
  --gold-lt:      #D9BC8F;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t:        all 0.35s var(--ease);

  --max-w:       1240px;
  --pad-x:       32px;
  --section-gap: 112px;
  --radius:      20px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: 0; background: none; cursor: pointer; font: inherit; }

/* =====================================================
   LAYOUT
===================================================== */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* =====================================================
   TYPE
===================================================== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--dark { color: var(--burgundy); }
.body-text {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  font-weight: 400;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  height: 52px;
  padding: 0 30px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: rgba(210,176,120,0.40);
  filter: blur(18px);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
  pointer-events: none;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }

.btn--fill {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
  box-shadow: 0 10px 28px -10px rgba(122,31,43,.45);
}
.btn--fill:hover { background: var(--burgundy-dk); border-color: var(--burgundy-dk); }

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--cream-border);
}
.btn--outline:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

.btn--outline-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn--outline-light:hover { background: #fff; color: var(--burgundy); border-color: #fff; }

.btn--lg  { height: 60px; padding: 0 38px; font-size: 14.5px; }
.btn--sm  { height: 44px; padding: 0 24px; font-size: 12px; }

.btn .arrow { transition: transform 0.35s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* =====================================================
   REVEAL
===================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible          { opacity: 1; transform: none; }
[data-reveal-delay="1"]           { transition-delay: 0.08s; }
[data-reveal-delay="2"]           { transition-delay: 0.16s; }
[data-reveal-delay="3"]           { transition-delay: 0.26s; }
[data-reveal-delay="4"]           { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =====================================================
   GRAIN
===================================================== */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =====================================================
   SECTION 1: HERO
===================================================== */
.section-first {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.section-first__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.section-first__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(28,26,24,.75) 0%, rgba(28,26,24,.45) 45%, rgba(28,26,24,.20) 100%);
  z-index: 1;
}
.section-first .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.section-first__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 680px;
  padding-top: 40px;
  padding-bottom: 60px;
}
.section-first__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 16px;
  opacity: 0;
  animation: ssAbFadeUp 0.8s 0.2s var(--ease-out) forwards;
}
.section-first__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 80px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.93;
  opacity: 0;
  animation: ssAbFadeUp 0.9s 0.35s var(--ease-out) forwards;
}
.section-first__title .accent { color: var(--gold-lt); }
.section-first__sub {
  margin-top: 16px;
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255,255,255,.80);
  max-width: 480px;
  line-height: 1.65;
  font-weight: 300;
  opacity: 0;
  animation: ssAbFadeUp 0.9s 0.5s var(--ease-out) forwards;
}
.section-first__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  opacity: 0;
  animation: ssAbFadeUp 0.9s 0.65s var(--ease-out) forwards;
}

@keyframes ssAbFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* =====================================================
   SECTION 2: SCIENCE
===================================================== */
.section-science {
  padding-block: var(--section-gap);
  background: var(--cream-mid);
}
.section-science__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 80px;
  align-items: start;
}
.section-science__left {
  display: flex;
  flex-direction: column;
}
.section-science__left h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.2vw, 52px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--dark);
  margin-top: 14px;
}
.section-science__left h2 em { font-style: normal; color: var(--burgundy); }
.section-science__left p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  max-width: 440px;
  margin-top: 14px;
  font-weight: 400;
}
.section-science__right {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}
.science-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid var(--cream-border);
  padding-bottom: 24px;
  padding-top: 24px;
}
.science-item:first-child { padding-top: 0; }
.science-item:last-child  { border-bottom: 0; padding-bottom: 0; }
.science-item__number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--gold);
  flex: 0 0 48px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.science-item__content h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 4px;
}
.science-item__content p {
  font-size: 14px;
  color: var(--light-mid);
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 860px) {
  .section-science__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================================================
   SECTION 3: IMAGE CARDS
===================================================== */
.section-studio {
  padding-block: var(--section-gap);
  background: var(--dark);
}
.section-studio__head {
  text-align: center;
  margin-bottom: 48px;
}
.section-studio__head .eyebrow {
  color: var(--gold);
}
.section-studio__head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.2vw, 52px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin-top: 14px;
  color: #fff;
}
.section-studio__head h2 em { font-style: normal; color: var(--gold); }
.studio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.studio-imgcard {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  min-height: 300px;
}
.studio-imgcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.studio-imgcard:hover .studio-imgcard__img { transform: scale(1.04); }
.studio-imgcard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(28,26,24,.15) 0%, rgba(28,26,24,.60) 100%);
  transition: background 0.4s;
}
.studio-imgcard:hover .studio-imgcard__overlay {
  background: linear-gradient(160deg, rgba(28,26,24,.25) 0%, rgba(28,26,24,.72) 100%);
}
.studio-imgcard__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.studio-imgcard__label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 35px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--burgundy);
  line-height: 1;
}
.studio-imgcard .btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 860px) {
  .studio-cards { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .studio-imgcard__label { font-size: 32px; }
  .studio-imgcard { min-height: 240px; }
  .studio-imgcard__body { padding: 20px; }
}

/* =====================================================
   SECTION 4: MARQUEE
===================================================== */
.marquee-wrap {
  overflow: hidden;
  position: relative;
  background: var(--cream-mid);
  padding-block: 20px;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: ssAbMarquee 28s linear infinite;
  will-change: transform;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes ssAbMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  flex-shrink: 0;
}
.marquee-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 64px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--burgundy);
  opacity: 0.25;
}
.marquee-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--burgundy);
  opacity: 0.2;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .marquee-text { font-size: 40px; -webkit-text-stroke-width: 1.2px; }
}

/* =====================================================
   SECTION 5: CTA
===================================================== */
.section-fifth {
  padding-block: var(--section-gap);
  background: var(--cream-mid);
  color: var(--burgundy);
  position: relative;
  overflow: hidden;
}
.section-fifth::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(200,163,106,.06), transparent 65%);
  pointer-events: none;
  filter: blur(50px);
}
.section-fifth .grain { opacity: .04; }
.section-fifth__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.section-fifth__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.2vw, 52px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin-top: 14px;
}
.section-fifth__title .accent { color: var(--dark); }
.section-fifth__sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 400;
  margin-top: 4px;
}
.section-fifth__actions { margin-top: 28px; }

/* =====================================================
   STICKY BOTTOM CTA
===================================================== */
.sticky-bottom {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: none;
  background: var(--burgundy);
  color: #fff;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 18px 44px -12px rgba(80,15,30,.55);
  transform: translateY(120%);
  transition: transform 0.35s var(--ease-out);
  text-decoration: none;
}
.sticky-bottom.show { transform: none; }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 860px) {
  :root { --section-gap: 72px; --pad-x: 20px; }
}
@media (max-width: 600px) {
  .sticky-bottom { display: block; }
  body { padding-bottom: 76px; }
}

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--burgundy); border-radius: 9px; border: 2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--burgundy-dk); }
::selection { background: var(--burgundy); color: #fff; }