/* rgloorLab palette (named) */
:root {
  --background: #CC97F7;
  --accent: #54A210;
  --text: #05291B;
  --primary: #E5FCE4;
  --pear: #B1ED4A;
  --ocean-mist: var(--background);
  --shallow-water: var(--primary);
  --sea-foam: var(--primary);
  --tide-line: rgb(5 41 27 / .24);
  --deep-sea: var(--text);
  --harbor: var(--text);
  --thread-grey: #8c8781;
  --turmeric-deep: var(--text);

  --font-body: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --font-display: var(--font-body);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 10vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ocean-mist);
  color: var(--deep-sea);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: var(--deep-sea); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--deep-sea); outline-offset: 3px; }

/* Wordmark */
.wordmark {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .025em;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.wordmark.small { font-size: 1.25rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem var(--gutter);
  transition: background .3s ease;
}
.site-header.scrolled { background: rgb(204 151 247 / .95); box-shadow: 0 1px 0 var(--tide-line); backdrop-filter: blur(10px); }
.site-header nav { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); align-items: center; }
.site-header nav a {
  font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--deep-sea); font-weight: 400;
  transition: opacity .2s, color .2s;
}
.site-header nav a:hover { text-decoration: underline; text-underline-offset: .3em; }

/* Type */
.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--turmeric-deep); margin: 0 0 1.25rem; font-weight: 400;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.08; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.01em; }
em { font-style: italic; color: var(--turmeric-deep); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: drift 18s ease-out forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(229 252 228 / .96) 0%, rgb(229 252 228 / .86) 42%, rgb(229 252 228 / .26) 75%, transparent),
              linear-gradient(0deg, rgb(229 252 228 / .84) 0%, transparent 36%),
              linear-gradient(180deg, rgb(229 252 228 / .96), rgb(229 252 228 / .74) 4rem, transparent 10rem);
}
.hero-inner { padding: 7rem var(--gutter) clamp(4rem, 12vh, 8rem); max-width: 860px; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); letter-spacing: -0.025em; margin-bottom: 1.5rem; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 40rem; color: var(--harbor); margin: 0 0 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-motto {
  position: absolute; right: var(--gutter); bottom: clamp(5rem, 12vh, 8rem);
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--thread-grey); margin: 0;
}

.btn {
  display: inline-block; padding: .95rem 1.6rem; font-size: .8125rem; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; font-weight: 400;
  transition: background .25s, color .25s;
}
.btn-pear { background: var(--pear); color: var(--deep-sea); }
.hero-actions .btn-pear { font-weight: 700; }
.btn-pear:hover { background: var(--deep-sea); color: var(--sea-foam); }
.btn-line { background: var(--background); color: var(--deep-sea); }
.btn-line:hover { background: var(--deep-sea); color: var(--sea-foam); }

/* Why */
.why { padding: var(--section) 0; background: var(--shallow-water); }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.why-copy p { margin: 0 0 1.25rem; color: var(--harbor); max-width: 34rem; }

/* Approach */
.approach { padding: var(--section) 0; background: #3E790C; color: var(--primary); }
.approach .eyebrow { color: inherit; }
.approach .section-title { margin-bottom: 1rem; }
.approach-intro { margin: 0 0 clamp(3rem, 6vw, 5rem); }
.approach-intro em { color: inherit; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--tide-line); }
.steps li { padding: 2rem 1.5rem 0 0; border-right: 1px solid var(--tide-line); padding-left: 1.5rem; }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.num { display: block; font-size: .75rem; letter-spacing: .2em; margin-bottom: 2.5rem; }
.steps h3 { font-size: 1.9rem; margin-bottom: .9rem; }
.steps p { margin: 0; font-size: 1rem; }

/* Band */
.band { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.band video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Origin */
.origin { padding: var(--section) 0; background: var(--primary); }
.origin-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.origin-fig { margin: 0; }
.origin-fig img { width: 100%; height: auto; }
.origin-copy .section-title { margin-bottom: 2rem; }
.origin-copy p { color: var(--harbor); margin: 0 0 1.25rem; max-width: 36rem; }

/* Recognition */
.recognition { padding: var(--section) 0; background: var(--primary); }
.rec-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--tide-line); }
.rec-list li { border-bottom: 1px solid var(--tide-line); }
.rec-list a { display: block; padding: 1.75rem 1.5rem 1.75rem 0; text-decoration: none; transition: color .2s; }
.rec-list strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; line-height: 1.2; margin-bottom: .35rem; }
.rec-list span { font-size: .9rem; color: var(--harbor); }
.rec-list a:hover strong { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }

/* Contact */
.contact { padding: var(--section) 0; background: var(--shallow-water); }
.contact-inner { text-align: center; }
.contact h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin-bottom: 1.25rem; }
.contact p { color: var(--harbor); margin: 0 auto 2.5rem; max-width: 36rem; }
.contact .btn { text-transform: none; letter-spacing: .04em; font-family: 'Arial Black', Arial, sans-serif; font-weight: 900; font-size: clamp(1rem, 4.5vw, 1.375rem); max-width: 100%; overflow-wrap: anywhere; }
.contact .founder-credit { margin: 1.5rem auto 0; }

/* Footer */
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--tide-line); font-size: .875rem; color: var(--harbor); letter-spacing: .04em; background: var(--ocean-mist); }
.foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}
.footer-tagline { text-align: center; }
.footer-credit { text-align: right; }

/* Responsive */
@media (max-width: 900px) {
  .why-grid, .origin-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { border-right: 0; padding: 2rem 1rem 2rem 0; border-bottom: 1px solid var(--tide-line); }
  .rec-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero-motto { display: none; }
  .hero-shade {
    background: linear-gradient(180deg, rgb(229 252 228 / .96), transparent 9rem),
                linear-gradient(0deg, rgb(229 252 228 / .96) 0%, rgb(229 252 228 / .84) 65%, rgb(229 252 228 / .34) 100%);
  }
  .steps, .rec-list { grid-template-columns: 1fr; }
  .num { margin-bottom: 1rem; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; transform: none; }
}
