/* solair.css — standalone, no other stylesheet needed */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

:root {
  --bg:       #eeebe6;
  --white:    #ffffff;
  --black:    #0a0a0a;
  --gray:     #888888;
  --body-col: #3a3a3a;
  --lavender: #c5c2f0;
  --dark:     #141414;
  --border:   #e0ddd8;
  --pm:       50px;
  --label-sz: 190px;
  --f-dis:    -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --f-body:   -apple-system, "SF Pro Text",    "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--f-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--black);
  overflow-x: hidden;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
img { display: block; }

/* NAV */
.site-header {
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 300;
  display: flex; justify-content: center;
  padding: 0 var(--pm);
  pointer-events: none;
}
.nav-pill {
  pointer-events: all;
  width: 100%; max-width: 1100px; height: 40px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  border-radius: 40px;
  background: rgba(250,250,248,0.82);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(0,0,0,0.09);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07), 0 0 0 0.5px rgba(0,0,0,0.05);
}
.nav-logo {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.01em; color: var(--black);
  white-space: nowrap; transition: opacity 0.15s;
}
.nav-logo:hover { opacity: 0.55; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-size: 0.75rem; font-weight: 400; color: #444; transition: color 0.15s; }
.nav-links a:hover { color: var(--black); }

/* BOTTOM TOGGLE */
.page-toggle {
  position: fixed;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex; align-items: center;
  background: rgba(250,250,248,0.88);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-radius: 40px;
  border: 1px solid rgba(0,0,0,0.09);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08), 0 0 0 0.5px rgba(0,0,0,0.05);
  padding: 3px;
}
.toggle-btn {
  display: flex; align-items: center;
  padding: 6px 18px; border-radius: 40px;
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.02em; color: #777;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap; line-height: 1;
}
.toggle-btn:hover { color: var(--black); }
.toggle-btn.active { background: var(--black); color: #fff; font-weight: 500; }

/* SECTION LABELS
   KEY FIX: observe .label-clip (the container), not the span.
   The clip has real height and is visible to IntersectionObserver.
   The span starts at translateY(110%) — below the clip — so
   it's invisible until .in is added.
   Removing .in on scroll-up resets it so it replays on next scroll.
*/
.label-clip {
  overflow: hidden;
  position: relative; z-index: 2;
  background: var(--bg);
  padding-top: 10px; padding-bottom: 10px;
  line-height: 0;
}
.label-clip.bg-white { background: var(--white); }
.label-clip.bg-fi    { background: var(--white); }
.label-clip.bg-dark  { background: var(--dark); }

.section-label {
  display: block;
  font-family: var(--f-dis);
  font-size: var(--label-sz);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
  padding: 0 44px;
  transform: translateY(110%);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.section-label.in { transform: translateY(0); }

/* FADE UP */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.in { opacity: 1; transform: translateY(0); }

/* HERO */
.hero {
  position: relative; background: var(--black);
  height: 100vh; overflow: hidden;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero-wordmark { position: absolute; bottom: 52px; left: 52px; }
.hero-wordmark h1 {
  font-family: var(--f-dis);
  font-size: 120px; font-weight: 900;
  letter-spacing: -0.05em; line-height: 1; color: #fff;
}
.hero-sub {
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-top: 12px;
}

/* SHARED TYPE */
.eyebrow {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 24px;
}
.panel-title {
  font-family: var(--f-dis); font-size: 36px; font-weight: 600;
  letter-spacing: -0.025em; color: var(--black);
  line-height: 1.1; margin-bottom: 28px;
}
.body-text { font-size: 14px; font-weight: 300; line-height: 1.85; color: var(--body-col); max-width: 400px; }
.body-text p { margin-bottom: 18px; }
.body-text p:last-child { margin-bottom: 0; }
.body-text ul { list-style: none; margin: 4px 0 18px; }
.body-text ul li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.body-text ul li::before { content: "—"; position: absolute; left: 0; color: #bbb; }

/* FIRST IMPRESSION */
.fi-section { display: grid; grid-template-columns: 62% 38%; background: var(--white); min-height: 64vh; }
.fi-image-wrap { background: var(--white); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.fi-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.fi-text { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }

/* THE DETAILS */
.details-section { display: grid; grid-template-columns: 50% 50%; min-height: 72vh; }
.details-left { background: var(--lavender); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.details-left img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.details-right { background: var(--white); padding: 88px 72px; display: flex; flex-direction: column; justify-content: center; }

/* OUR SOLUTION */
.solution-section { display: grid; grid-template-columns: 36% 64%; background: var(--white); min-height: 58vh; }
.solution-text { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--border); }
.solution-image { overflow: hidden; }
.solution-image img { width: 100%; height: 100%; object-fit: cover; }

/* THE EXPERIENCE */
.exp-section { display: grid; grid-template-columns: 58% 42%; background: var(--white); min-height: 68vh; }
.exp-image-wrap { background: #e8e5e0; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.exp-image-wrap img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.exp-text { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }

/* THE FILTER */
.filter-section { display: grid; grid-template-columns: 50% 50%; min-height: 64vh; }
.filter-image-wrap { background: var(--dark); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.filter-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.filter-text { background: var(--white); padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }

/* IN CONTEXT */
.context-image-wrap { width: 100%; overflow: visible; }
.context-image-wrap img { width: 100%; height: auto; }
.context-caption { background: var(--white); padding: 36px 64px 48px; display: flex; gap: 80px; align-items: flex-start; }
.context-caption .cap-label { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px; }
.context-caption p { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--body-col); max-width: 540px; }

/* FURTHER REFINEMENT */
.refine-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 58vh; border-bottom: 1px solid var(--border); }
.refine-cell { overflow: hidden; }
.refine-cell img { width: 100%; height: 100%; object-fit: cover; }
.refine-caption { background: var(--white); padding: 40px 64px 72px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 64px; }
.refine-caption .rc-label { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
.refine-caption p { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--body-col); }

/* FOOTER */
footer { background: var(--bg); padding: 28px var(--pm); border-top: 1px solid #d5d0c8; font-size: 0.7rem; color: #aaa; }