/* ═══════════════════════════════════════
   CARUTA SOVEREIGN - Light Shore Vibe Theme
   Powered by Damerax Cloud Solutions
═══════════════════════════════════════ */

:root {
  --ink:      #0b1a30; /* Deep Ocean Navy */
  --ink-70:   rgba(11, 26, 48, 0.7);
  --ink-40:   rgba(11, 26, 48, 0.4);
  --ink-15:   rgba(11, 26, 48, 0.15);
  --ink-06:   rgba(11, 26, 48, 0.06);
  
  --white:    #f5f8fa; /* Sea-glass White */
  --sand:     #faf7f2; /* Light Beach Sand */
  --sky:      #cbdfe8; /* Soft Sky Blue */
  --ocean:    #156da0; /* Vibrant Ocean Blue */
  --ocean-d:  #0b3d5c; /* Deep Ocean Blue */
  --seafoam:  #3fa1b5; /* Seafoam Teal */
  --gold:     #b38f43; /* Muted Bronze/Sand Gold */
  
  --border:   rgba(11, 26, 48, 0.08);
  --border-g: rgba(179, 143, 67, 0.3);

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'DM Sans', sans-serif;
  --mono:   'Space Mono', monospace;
  
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Custom Cursor */
.cur {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 8px; height: 8px; background: var(--ocean);
  border-radius: 50%; transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: multiply;
}
.cur-ring {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 38px; height: 38px; border: 1px solid rgba(21, 109, 160, 0.6);
  border-radius: 50%; transform: translate(-50%,-50%);
  transition: transform .08s ease, width .25s, height .25s, opacity .25s;
}
@media (pointer: coarse) {
  .cur, .cur-ring { display: none !important; }
  body { cursor: auto !important; }
}

/* Ambient Sea Mesh */
.ambient-sea-mesh {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(63, 161, 181, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(21, 109, 160, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(203, 223, 232, 0.06) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Intro/Greeting Screen */
#intro {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--white);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity .9s ease, transform .9s ease;
}
#intro.fade-out { opacity: 0; transform: scale(1.04); pointer-events: none; }

.greeting-orb {
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--seafoam), var(--ocean));
  box-shadow: 0 0 40px rgba(63, 161, 181, 0.4), 0 0 80px rgba(21, 109, 160, 0.2);
  margin-bottom: 48px;
  animation: orbPulse 3s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(63,161,181,0.4), 0 0 80px rgba(21,109,160,0.2); transform: scale(1); }
  50% { box-shadow: 0 0 60px rgba(63,161,181,0.6), 0 0 120px rgba(21,109,160,0.3); transform: scale(1.05); }
}

.intro-brand {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
  overflow: hidden;
}
.intro-brand em {
  font-style: italic;
  color: var(--ocean);
}
.intro-sub {
  font-size: clamp(.6rem, 1.2vw, .78rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-40);
  font-family: var(--mono);
  margin-bottom: 60px;
}
.intro-typewrite {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--ink-70);
  min-height: 5em;
  text-align: center;
  max-width: 600px;
  line-height: 1.6;
  padding: 0 24px;
  white-space: pre-line;
}
.cursor-blink {
  display: inline-block; width: 2px; height: 1.1em;
  background: var(--ocean); vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.intro-actions {
  display: flex; gap: 16px; margin-top: 48px; align-items: center;
}
.intro-enter {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--white); background: var(--ocean);
  cursor: pointer; border: none;
  transition: background .25s, box-shadow .25s;
  padding: 14px 32px;
  border-radius: 1px;
  box-shadow: 0 4px 15px rgba(21, 109, 160, 0.15);
}
.intro-enter:hover { background: var(--ocean-d); box-shadow: 0 6px 20px rgba(21, 109, 160, 0.25); }

.intro-skip {
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-40); cursor: pointer;
  border: none; background: none;
  padding: 14px 20px; transition: color .2s;
}
.intro-skip:hover { color: var(--ink); }

.intro-line {
  position: absolute; background: var(--border);
}
.intro-line.h { height: 1px; width: 100%; top: 50%; transform: translateY(-50%); opacity: .2; }
.intro-line.v { width: 1px; height: 100%; left: 50%; transform: translateX(-50%); opacity: .15; }

.intro-corner {
  position: absolute; width: 40px; height: 40px; opacity: .4;
}
.intro-corner.tl { top: 32px; left: 32px; border-top: 1px solid var(--ocean); border-left: 1px solid var(--ocean); }
.intro-corner.tr { top: 32px; right: 32px; border-top: 1px solid var(--ocean); border-right: 1px solid var(--ocean); }
.intro-corner.bl { bottom: 32px; left: 32px; border-bottom: 1px solid var(--ocean); border-left: 1px solid var(--ocean); }
.intro-corner.br { bottom: 32px; right: 32px; border-bottom: 1px solid var(--ocean); border-right: 1px solid var(--ocean); }

/* Navigation */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s, background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  padding: 16px 48px;
  background: rgba(245, 248, 250, 0.95);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-logo { display: flex; flex-direction: column; gap: 3px; text-decoration: none; }
.nav-wordmark {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.05rem; letter-spacing: 0.22em;
  color: var(--ink); text-transform: uppercase;
}
.nav-wordmark em { font-style: italic; color: var(--ocean); }
.nav-byline {
  font-size: .52rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-40); font-family: var(--mono);
}

.nav-menu {
  display: flex; align-items: center; gap: 40px;
}
.nav-menu a {
  font-size: .7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-70); text-decoration: none;
  transition: color .2s; font-weight: 400;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--ocean); }

.nav-cta {
  padding: 10px 24px;
  border: 1px solid var(--ocean);
  font-size: .65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ocean) !important;
  background: transparent;
  transition: all .25s !important;
  border-radius: 1px;
}
.nav-cta:hover { background: var(--ocean); color: var(--white) !important; }

.nav-powered {
  font-size: .55rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-40); font-family: var(--mono);
  display: flex; align-items: center; gap: 5px;
}
.nav-powered a { color: var(--seafoam); text-decoration: none; font-weight: 400; }
.nav-powered a:hover { color: var(--ocean); }

/* Hamburger Menu */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 600;
}
.hamburger span {
  display: block; width: 22px; height: 1px; background: var(--ink); transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh; min-height: 700px;
  overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: flex-end;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(245, 248, 250, 0.25) 0%, rgba(245, 248, 250, 0.15) 40%, rgba(245, 248, 250, 0.7) 80%, rgba(245, 248, 250, 1) 100%);
}

.hero-shimmer {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% 40%,
    rgba(63, 161, 181, 0.08) 0%, transparent 70%);
}

.hero-stats {
  position: absolute; top: 40%;
  transform: translateY(-50%);
  left: 48px; right: 48px;
  z-index: 3;
  display: flex; gap: 30px;
  pointer-events: none;
  opacity: 0;
  animation: fadeUp .8s 1.8s ease both;
}
.hs {
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(255, 255, 255, 0.75);
  padding: 14px 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(11, 26, 48, 0.04);
}
.hs-val {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.04em; color: var(--ink);
  line-height: 1;
}
.hs-val sup { font-size: .45em; vertical-align: super; color: var(--ocean); }
.hs-label {
  font-size: .6rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-70); font-family: var(--mono);
}

.scroll-down {
  position: absolute; bottom: 200px; left: 50%;
  transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp .6s 2.2s ease both;
  cursor: pointer;
}
.scroll-down span {
  font-size: .55rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-40); font-family: var(--mono);
}
.scroll-mouse {
  width: 22px; height: 34px; border: 1px solid var(--ink-40);
  border-radius: 11px; position: relative;
}
.scroll-mouse::after {
  content: ''; position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; background: var(--ocean);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%,100%{ transform: translateX(-50%) translateY(0); opacity: 1; }
  80%{ transform: translateX(-50%) translateY(12px); opacity: 0; }
}

.hero-headline-wrap {
  position: relative; z-index: 3;
  padding: 0 48px 70px;
  opacity: 0;
  animation: heroReveal 1.2s .8s cubic-bezier(.16,1,.3,1) both;
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: .92;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-transform: uppercase;
}
.hero-h1 em {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 26, 48, 0.7);
  display: block;
  font-size: .72em;
  letter-spacing: 0.06em;
}

.hero-sub-row {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-15);
}
.hero-sub-text {
  font-size: clamp(.82rem, 1.5vw, 1rem);
  color: var(--ink-70); max-width: 520px;
  line-height: 1.7; font-weight: 300;
  letter-spacing: 0.02em;
}
.hero-sub-text strong { color: var(--ink); font-weight: 400; }

.hero-cta-row {
  display: flex; gap: 16px; align-items: center; flex-shrink: 0;
  margin-left: 40px;
}
.btn-gold {
  padding: 14px 32px; border: 1px solid var(--ocean);
  color: var(--white); background: var(--ocean);
  font-family: var(--mono); font-size: .62rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  cursor: pointer; transition: all .25s;
  text-decoration: none; white-space: nowrap;
  border-radius: 1px;
}
.btn-gold:hover { background: var(--ocean-d); color: var(--white); box-shadow: 0 4px 15px rgba(21, 109, 160, 0.3); }

.btn-ghost-white {
  padding: 14px 28px;
  color: var(--ink-70); background: transparent;
  font-family: var(--mono); font-size: .62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: all .25s;
  text-decoration: none; white-space: nowrap;
  border: 1px solid var(--ink-15);
  border-radius: 1px;
  display: flex; align-items: center; gap: 8px;
}
.btn-ghost-white:hover { color: var(--ink); border-color: var(--ink-40); }

/* Marquee Band */
.marquee-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--sand);
  padding: 15px 0; overflow: hidden;
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}
.mi {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 0 40px;
  font-family: var(--mono); font-size: .65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-70);
}
.mi .dot { color: var(--ocean); font-size: .5rem; }

/* Section Commons */
.section-wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }

.eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.eyebrow-n {
  font-family: var(--mono); font-size: .6rem;
  letter-spacing: 0.15em; color: var(--ocean);
}
.eyebrow-rule { height: 1px; width: 36px; background: var(--ocean); opacity: .5; }
.eyebrow-t {
  font-family: var(--mono); font-size: .62rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-40);
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* Pain Points & Hover Interactivity */
.pain-section {
  padding: 120px 0;
  background: var(--sand);
  border-top: 1px solid var(--border);
}
.pain-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.pain-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .95; letter-spacing: .01em;
  color: var(--ink); margin-bottom: 28px;
}
/* RESTORE HOVER SHORE VIBE: title em transitions to ocean blue on hovering title */
.pain-title em {
  font-style: italic; display: block;
  color: var(--ink-40); font-size: .72em;
  font-weight: 300; margin-top: 6px;
  transition: color 0.4s ease;
}
.pain-title:hover em {
  color: var(--ocean);
}
.pain-intro {
  font-size: .95rem; color: var(--ink-70);
  line-height: 1.85; max-width: 420px; margin-bottom: 36px;
}
.pain-quote {
  padding: 24px 0 24px 24px;
  border-left: 1px solid var(--ocean);
}
.pain-quote blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; color: var(--ink-70);
  line-height: 1.65; margin-bottom: 12px;
}
.pain-quote cite {
  font-family: var(--mono); font-size: .58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-40);
}
.pain-right { display: flex; flex-direction: column; gap: 2px; }
.pain-item {
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  position: relative; overflow: hidden;
  transition: background .3s, border-color .3s;
  cursor: default;
}
.pain-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--ocean);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.pain-item:hover { background: rgba(21, 109, 160, 0.03); border-color: rgba(21, 109, 160, 0.2); }
.pain-item:hover::before { transform: scaleY(1); }

.pain-item-n {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 300;
  color: rgba(11, 26, 48, 0.05); line-height: 1;
  float: right; margin-left: 16px; margin-top: -4px;
}
.pain-item h4 {
  font-size: .78rem; font-weight: 500; color: var(--ink);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 8px;
}
.pain-item p {
  font-size: .85rem; color: var(--ink-70);
  line-height: 1.7; font-weight: 300;
  clear: both;
}

/* Segment Switcher */
.seg-section {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background: var(--white);
  position: relative; overflow: hidden;
}
.seg-section::before {
  content: 'SOVEREIGN';
  position: absolute;
  font-family: var(--serif); font-size: clamp(100px,18vw,220px);
  font-weight: 300; letter-spacing: .12em;
  color: transparent; -webkit-text-stroke: 1px rgba(21, 109, 160, 0.03);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.seg-header { text-align: center; margin-bottom: 64px; }
.seg-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: .95; letter-spacing: .01em; color: var(--ink);
}
.seg-title em { font-style: italic; color: var(--ocean); }
.seg-sub {
  font-size: .9rem; color: var(--ink-70);
  max-width: 480px; margin: 20px auto 0;
  line-height: 1.8; font-weight: 300;
}
.seg-tabs {
  display: flex; justify-content: center;
  gap: 0; margin-bottom: 56px;
  border: 1px solid var(--border);
  border-radius: 1px; width: fit-content;
  margin-left: auto; margin-right: auto;
  background: white;
}
.seg-tab {
  padding: 14px 36px; background: transparent;
  border: none; color: var(--ink-40);
  font-family: var(--mono); font-size: .65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: all .3s;
  position: relative;
}
.seg-tab + .seg-tab { border-left: 1px solid var(--border); }
.seg-tab.active { color: var(--ink); background: rgba(21, 109, 160, 0.05); }
.seg-tab.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--ocean);
}
.seg-tab:hover:not(.active) { color: var(--ink-70); }

.seg-panel { display: none; }
.seg-panel.active { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; animation: fadeUp .5s ease both; }

.sp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border: 1px solid var(--border-g);
  font-family: var(--mono); font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ocean);
  margin-bottom: 20px; border-radius: 1px;
  background: white;
}
.sp-badge .live-dot {
  width: 5px; height: 5px; background: var(--ocean); border-radius: 50%;
  animation: blink 2s infinite;
}
.sp-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: .95; letter-spacing: .01em;
  color: var(--ink); margin-bottom: 20px;
}
.sp-title em { font-style: italic; color: var(--ocean); }
.sp-desc { font-size: .9rem; color: var(--ink-70); line-height: 1.8; margin-bottom: 32px; }

.sp-metrics { display: flex; gap: 36px; margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.sp-metric .val {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 300;
  color: var(--ocean); line-height: 1;
}
.sp-metric .lbl {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-40); margin-top: 4px;
}
.sp-points { display: flex; flex-direction: column; gap: 16px; }
.sp-point {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: .88rem; color: var(--ink-70); line-height: 1.65;
}
.sp-point::before {
  content: '—'; color: var(--ocean); flex-shrink: 0;
  font-family: var(--serif); margin-top: 2px;
}
.sp-point strong { color: var(--ink); font-weight: 400; }

.sp-grid-title {
  font-family: var(--mono); font-size: .58rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-40); margin-bottom: 16px;
}
.unit-matrix {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 16px;
}
.uc {
  padding: 14px 12px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  transition: border-color .25s, background .25s;
  position: relative; overflow: hidden; cursor: default;
}
.uc:hover { background: rgba(21, 109, 160, 0.03); border-color: rgba(21, 109, 160, 0.2); }
.uc-id { font-family: var(--mono); font-size: .6rem; color: var(--ink-40); margin-bottom: 6px; }
.uc-info { font-size: .75rem; color: var(--ink-70); line-height: 1.4; }
.uc-price { font-family: var(--serif); font-size: .9rem; font-weight: 400; color: var(--ink); margin-top: 6px; }
.uc-tag {
  position: absolute; top: 6px; right: 6px;
  font-family: var(--mono); font-size: .52rem; letter-spacing: .1em;
  padding: 2px 7px;
}
.uc-tag.avail { background: rgba(63, 161, 181, 0.1); color: var(--seafoam); }
.uc-tag.sold  { background: rgba(239, 68, 68, 0.08); color: #ef4444; }
.uc-tag.hold  { background: rgba(179, 143, 67, 0.1); color: var(--gold); }
.uc-legend {
  display: flex; gap: 20px;
}
.uc-legend span { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; color: var(--ink-40); }
.uc-legend .a { color: var(--seafoam); }
.uc-legend .s { color: #ef4444; }
.uc-legend .h { color: var(--gold); }

/* Command AI Chat Panel */
.cmd-section {
  padding: 120px 0;
  background: var(--sand);
  border-top: 1px solid var(--border);
}
.cmd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }

/* Light Shore Chat Shell */
.workspace-panel {
  display: grid;
  grid-template-columns: 1fr;
  transition: all var(--transition-normal);
}
.workspace-panel.has-context {
  grid-template-columns: 1fr 340px;
  gap: 20px;
}

.chat-shell {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(11, 26, 48, 0.05);
  backdrop-filter: blur(15px);
  display: flex; flex-direction: column;
}
.chat-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  background: rgba(21, 109, 160, 0.03);
}
.chat-bar-l { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 30px; height: 30px; background: linear-gradient(135deg,var(--ocean),var(--seafoam));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .6rem; color: var(--white); font-weight: 700;
}
.chat-name { font-family: var(--sans); font-size: .78rem; font-weight: 600; color: var(--ink); }
.chat-tag { font-family: var(--mono); font-size: .58rem; color: var(--ocean); letter-spacing: .1em; }
.chat-live { display: flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: .6rem; color: var(--seafoam); }
.chat-live-dot { width: 6px; height: 6px; background: var(--seafoam); border-radius: 50%; animation: blink 1.6s infinite; }

.chat-msgs { padding: 24px 20px; min-height: 320px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.msg { display: flex; flex-direction: column; max-width: 85%; }
.msg.ai { align-self: flex-start; }
.msg.user { align-self: flex-end; }
.msg-b {
  padding: 12px 16px; font-size: .82rem; line-height: 1.65;
  white-space: pre-line;
}
.msg.ai .msg-b {
  background: rgba(63, 161, 181, 0.08); border: 1px solid rgba(63, 161, 181, 0.15);
  color: var(--ink-70); border-bottom-left-radius: 0;
}
.msg.user .msg-b {
  background: rgba(21, 109, 160, 0.08); border: 1px solid rgba(21, 109, 160, 0.15);
  color: var(--ink); border-bottom-right-radius: 0;
}
.msg-time { font-family: var(--mono); font-size: .55rem; color: var(--ink-40); padding: 4px 2px; }
.msg.user .msg-time { text-align: right; }

.typing-b {
  display: flex; align-items: center; gap: 4px;
  padding: 12px 16px;
  background: rgba(63, 161, 181, 0.08); border: 1px solid rgba(63, 161, 181, 0.15);
  align-self: flex-start;
  margin-bottom: 16px;
}
.td { width: 5px; height: 5px; background: var(--seafoam); border-radius: 50%; animation: tdot 1.2s ease infinite; }
.td:nth-child(2){animation-delay:.2s} .td:nth-child(3){animation-delay:.4s}

.chat-suggestions {
  padding: 14px 20px 18px; border-top: 1px solid var(--border);
}
.cs-label { font-family: var(--mono); font-size: .57rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 10px; }
.cs-btns { display: flex; flex-direction: column; gap: 7px; }
.cs-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6); color: var(--ink-70);
  font-family: var(--sans); font-size: .8rem; font-weight: 300;
  cursor: pointer; transition: all .2s; text-align: left;
}
.cs-btn:hover { background: rgba(21, 109, 160, 0.04); border-color: rgba(21, 109, 160, 0.2); color: var(--ink); }
.cs-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.cs-icon { color: var(--ocean); font-size: .7rem; flex-shrink: 0; }

/* Context Drawer (RAG Sidebar) */
.context-drawer {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(11, 26, 48, 0.05);
  backdrop-filter: blur(15px);
  padding: 24px;
  display: none; flex-direction: column;
  animation: fadeInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.workspace-panel.has-context .context-drawer {
  display: flex;
}

.cmd-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: .95; letter-spacing: .01em;
  color: var(--ink); margin-bottom: 20px;
}
.cmd-title em { font-style: italic; color: var(--ocean); }
.cmd-body { font-size: .92rem; color: var(--ink-70); line-height: 1.8; margin-bottom: 40px; }
.cmd-pillars { display: flex; flex-direction: column; gap: 0; }
.cmd-pillar {
  padding: 22px 0; border-top: 1px solid var(--border);
  display: flex; gap: 20px; align-items: flex-start;
}
.cmd-pillar:last-child { border-bottom: 1px solid var(--border); }
.cp-num { font-family: var(--serif); font-size: 2.5rem; font-weight: 300; color: rgba(21, 109, 160, 0.15); line-height: 1; flex-shrink: 0; width: 40px; }
.cp-text h4 { font-size: .8rem; font-weight: 600; color: var(--ink); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; }
.cp-text p { font-size: .82rem; color: var(--ink-70); line-height: 1.65; font-weight: 300; }

/* Stats Band */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell {
  padding: 52px 40px; border-right: 1px solid var(--border);
  text-align: center; transition: background .3s;
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: rgba(21, 109, 160, 0.02); }
.stat-v {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--ocean); line-height: 1; margin-bottom: 10px;
}
.stat-l {
  font-family: var(--mono); font-size: .6rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-40);
}

/* Contact & Sandbox Setup */
.contact-section {
  padding: 120px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  position: relative;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.urgency-flag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; background: rgba(21, 109, 160, 0.05);
  border: 1px solid rgba(21, 109, 160, 0.2);
  font-family: var(--mono); font-size: .62rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ocean);
  margin-bottom: 36px;
}
.urgency-flag .dot { width: 5px; height: 5px; background: var(--ocean); border-radius: 50%; animation: blink 2s infinite; }
.contact-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: .95; color: var(--ink); margin-bottom: 24px;
}
.contact-title em { font-style: italic; color: var(--ocean); }
.contact-desc { font-size: .9rem; color: var(--ink-70); line-height: 1.8; margin-bottom: 40px; }
.contact-perks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.perk {
  display: flex; align-items: center; gap: 14px;
  font-size: .85rem; color: var(--ink-70); font-weight: 300;
}
.perk::before { content: '—'; color: var(--ocean); font-family: var(--serif); flex-shrink: 0; }

.contact-form {
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--border);
  padding: 40px;
  box-shadow: 0 10px 40px rgba(11, 26, 48, 0.03);
  position: relative;
  overflow: hidden;
}
.form-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; color: var(--ink); margin-bottom: 4px; }
.form-sub { font-family: var(--mono); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 32px; }
.fg { margin-bottom: 20px; }
.fl { display: block; font-family: var(--mono); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 7px; }
.fi, .fsel {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border);
  background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: .88rem; font-weight: 300;
  outline: none; transition: border-color .25s;
  border-radius: 1px; -webkit-appearance: none;
}
.fi::placeholder { color: var(--ink-40); }
.fi:focus, .fsel:focus { border-color: rgba(21, 109, 160, 0.4); }
.fsel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23156da0' opacity='.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
.fsel option { background: var(--white); color: var(--ink); }

.btn-submit {
  width: 100%; padding: 16px; border: 1px solid var(--ocean);
  background: var(--ocean); color: var(--white);
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  cursor: pointer; transition: all .25s; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 1px;
}
.btn-submit:hover { background: var(--ocean-d); box-shadow: 0 4px 15px rgba(21, 109, 160, 0.25); }

/* RESTORE DYNAMIC SEASHORE LOG LOADER FOR FORM SETUP */
.provisioning-log-overlay {
  position: absolute; inset: 0;
  background: rgba(11, 26, 48, 0.98);
  color: #4ade80;
  font-family: var(--mono);
  font-size: .75rem;
  padding: 40px 30px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
  text-shadow: 0 0 4px rgba(74, 222, 128, 0.4);
}
.provisioning-log-overlay.active {
  display: flex;
}

/* Floating Click-To-Chat Widget */
.floating-chat-widget {
  position: fixed; bottom: 32px; right: 32px; z-index: 499;
  display: flex; align-items: center; gap: 12px;
  background: #25d366; color: white;
  padding: 12px 20px; border-radius: 30px;
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
}
.floating-chat-widget:hover {
  transform: translateY(-3px) scale(1.02);
  background: #20ba5a;
}
.chat-pulse-ring {
  position: absolute; inset: -4px; border: 2px solid rgba(37, 211, 102, 0.5);
  border-radius: 34px; animation: chatRingPulse 2s infinite;
  pointer-events: none;
}
@keyframes chatRingPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Editorial Subpages Layout */
.editorial-hero {
  padding: 180px 0 100px;
  background: linear-gradient(180deg, rgba(203,223,232,0.4) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}
.editorial-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .95; color: var(--ink);
  margin-bottom: 24px;
}
.editorial-title em { font-style: italic; color: var(--ocean); }
.editorial-subtitle {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--ink-40); margin-bottom: 16px;
}

.editorial-content {
  padding: 100px 0;
  background: var(--white);
}
.editorial-grid {
  display: grid; grid-template-columns: 1.8fr 1fr; gap: 80px; align-items: start;
}
.editorial-body {
  font-size: 1rem; color: var(--ink-70); line-height: 1.85;
}
.editorial-body h2 {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 300;
  color: var(--ink); margin: 56px 0 20px;
}
.editorial-body h2:first-child { margin-top: 0; }
.editorial-body h3 {
  font-family: var(--sans); font-size: 1.15rem; font-weight: 600;
  color: var(--ink); margin: 36px 0 16px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.editorial-body p { margin-bottom: 24px; }
.editorial-body ul { margin-bottom: 32px; list-style-type: none; }
.editorial-body li {
  position: relative; padding-left: 24px; margin-bottom: 14px;
}
.editorial-body li::before {
  content: '—'; color: var(--ocean); font-family: var(--serif);
  position: absolute; left: 0;
}
.editorial-body blockquote {
  border-left: 1px solid var(--ocean);
  padding: 12px 28px; font-family: var(--serif);
  font-style: italic; font-size: 1.25rem;
  color: var(--ink-70); margin: 40px 0;
  background: var(--sand);
}

.editorial-sidebar {
  position: sticky; top: 120px;
  background: var(--sand); border: 1px solid var(--border);
  padding: 36px;
}
.es-title {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 300;
  color: var(--ink); margin-bottom: 16px; border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.es-card {
  font-size: .88rem; color: var(--ink-70); line-height: 1.7;
}
.es-card strong { color: var(--ink); }
.es-card p { margin-bottom: 16px; }

/* Toast Success Message */
.toast-msg {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  padding: 16px 28px; background: var(--ink); border: 1px solid var(--ocean);
  color: var(--white); font-family: var(--mono); font-size: .7rem;
  letter-spacing: .15em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: translateY(100px); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
}
.toast-msg.show { transform: translateY(0); opacity: 1; }

/* Premium Dark Footer (anchors light website beautifully) */
footer {
  background: var(--ink); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 80px 48px 40px;
  color: rgba(250,249,247,0.8);
}
.foot-wrap { max-width: 1240px; margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.foot-wm { font-family: var(--serif); font-weight: 300; font-size: 1.5rem; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.foot-wm em { font-style: italic; color: var(--seafoam); }
.foot-tag { font-family: var(--mono); font-size: .55rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(250,249,247,0.4); margin-bottom: 18px; }
.foot-desc { font-size: .8rem; color: rgba(250,249,247,0.5); line-height: 1.75; max-width: 280px; }
.foot-desc a { color: var(--seafoam); text-decoration: none; }
.foot-desc a:hover { color: var(--white); }

.foot-col h5 { font-family: var(--mono); font-size: .58rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(250,249,247,0.6); margin-bottom: 20px; }
.foot-col a { display: block; font-size: .82rem; color: rgba(250,249,247,0.5); text-decoration: none; margin-bottom: 10px; font-weight: 300; transition: color .2s; }
.foot-col a:hover { color: var(--white); }

.foot-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-credit { font-size: .78rem; color: rgba(250,249,247,0.4); line-height: 1.7; max-width: 700px; }
.foot-credit a { color: var(--seafoam); font-weight: 400; text-decoration: none; }
.foot-credit a:hover { color: var(--white); }
.foot-copy { font-family: var(--mono); font-size: .6rem; color: rgba(250,249,247,0.4); letter-spacing: .08em; white-space: nowrap; margin-top: 4px; }

/* Responsive Adjustments */
@media(max-width:1024px){
  .pain-grid,.seg-panel.active,.cmd-grid,.contact-grid,.editorial-grid{ grid-template-columns:1fr; gap:48px; }
  .editorial-sidebar { position: static; }
  .hero-stats{ display:none; }
  .stats-inner{ grid-template-columns:1fr 1fr; }
  .stat-cell:nth-child(2){ border-right:none; }
  .stat-cell:nth-child(3){ border-top:1px solid var(--border); }
  .foot-top{ grid-template-columns:1fr 1fr; gap:40px; }
  .floating-chat-widget { bottom: 20px; right: 20px; padding: 10px 16px; font-size: .75rem; }
}
@media(max-width:768px) {
  nav{ padding:18px 24px; }
  nav.scrolled{ padding:14px 24px; }
  .nav-menu{ display:none; }
  .hamburger { display: flex; }
  
  /* Mobile links overlay */
  .nav-menu.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(245, 248, 250, 0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 24px 32px 32px;
    gap: 0;
    z-index: 499;
  }
  .nav-menu.open a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(11, 26, 48, 0.06);
    font-size: .8rem;
    width: 100%;
    color: var(--ink) !important;
  }
  .nav-menu.open .nav-powered {
    padding: 16px 0;
    border-bottom: 1px solid rgba(11, 26, 48, 0.06);
  }
  .nav-menu.open a.nav-cta {
    margin-top: 16px;
    text-align: center;
    border: 1px solid var(--ocean) !important;
    color: var(--ocean) !important;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  
  .hero-headline-wrap{ padding:0 24px 56px; }
  .hero-sub-row{ flex-direction:column; gap:24px; align-items:flex-start; }
  .hero-cta-row{ margin-left:0; }
  .section-wrap{ padding:0 24px; }
  .pain-section,.seg-section,.cmd-section,.contact-section{ padding:80px 0; }
  .seg-tabs{ flex-direction:column; width:100%; }
  .seg-tab+.seg-tab{ border-left:none; border-top:1px solid var(--border); }
  .unit-matrix{ grid-template-columns:repeat(2,1fr); }
  footer{ padding:60px 24px 36px; }
  .foot-top{ grid-template-columns:1fr; }
  .stats-inner{ grid-template-columns:1fr 1fr; }
  .contact-form{ padding:28px 24px; }
  .intro-brand{ font-size:clamp(2.2rem,10vw,4rem); }
}
@media(max-width:480px) {
  .unit-matrix { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: none; }
}
