/* ============================================================
   Stratum Care — demo-06 "Atelier" (Brand-faithful purple, evolved)
   Direction: the source violet (#7C3AED) executed as a premium brand
   color over a warm-neutral system, with a deep-ink + warm-gold
   secondary. Proves purple can look high-end, not cliché.
   Fonts: Fraunces (display serif) + Poppins (UI/body sans, brand-faithful)
   ============================================================ */

:root {
  /* brand violet (kept from source, used with discipline) */
  --violet: #7C3AED;
  --violet-700: #6A1B9A;
  --violet-800: #581c87;
  --violet-100: #ede4fb;
  --violet-50: #F3E8FF;

  /* secondary: warm gold + deep ink */
  --gold: #c9a14a;
  --gold-soft: #e9d9a8;
  --ink: #20182e;          /* deep aubergine-ink, not pure black */
  --ink-2: #2c2240;

  /* warm neutral system (the "strong neutral" that makes purple premium) */
  --paper: #faf7f4;        /* warm off-white page */
  --paper-2: #f3eee9;      /* card / band */
  --line: #e7ded7;         /* warm hairline */
  --line-soft: #efe8e2;

  /* text */
  --txt-hi: #241b33;
  --txt: #4a4258;
  --txt-lo: #7c7388;
  --txt-on-dark: #f4eefb;
  --txt-on-dark-lo: #c4b6d8;

  /* type */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 8px rgba(40, 24, 64, 0.05);
  --shadow: 0 22px 50px -22px rgba(64, 36, 108, 0.28);
  --shadow-lg: 0 40px 90px -34px rgba(64, 36, 108, 0.42);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--txt);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle warm paper grain + a single violet bloom, very restrained */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(124,58,237,0.07), transparent 60%),
    radial-gradient(900px 480px at 0% 102%, rgba(201,161,74,0.06), transparent 60%);
  pointer-events: none; z-index: 0;
}

.wrap { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 30px;
}

/* ---------- eyebrow ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px;
  background: var(--gold); display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow.on-dark::before { background: var(--gold); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 244, 0.82);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-weight: 600; font-size: 1.34rem;
  letter-spacing: -0.015em; color: var(--txt-hi);
}
.brand .logo { width: 34px; height: 34px; flex: none; }
.brand .light { color: var(--txt-on-dark); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--txt);
  position: relative; padding: 4px 0; transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--violet);
  transition: width 0.28s var(--ease);
}
.nav-links a:hover { color: var(--violet); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-signin { font-size: 0.95rem; font-weight: 500; color: var(--txt-hi); transition: color 0.2s; }
.nav-signin:hover { color: var(--violet); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 13px 24px; border-radius: 100px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: all 0.25s var(--ease); white-space: nowrap;
}
.btn-primary {
  background: var(--violet); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(124,58,237,0.6);
}
.btn-primary:hover {
  background: var(--violet-700);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(124,58,237,0.65);
}
.btn-ghost {
  background: transparent; color: var(--txt-hi); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn-gold {
  background: var(--ink); color: var(--gold-soft); border-color: var(--ink);
}
.btn-gold:hover { background: var(--ink-2); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-light { background: #fff; color: var(--violet-700); }
.btn-light:hover { background: var(--violet-50); transform: translateY(-2px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 92px 0 76px; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 60px; align-items: center;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.2vw, 4.2rem);
  line-height: 1.03; letter-spacing: -0.02em;
  color: var(--txt-hi); font-weight: 500;
  margin: 24px 0 22px;
}
.hero h1 em {
  font-style: italic; color: var(--violet);
  font-weight: 500;
}
.hero-sub {
  font-size: 1.16rem; color: var(--txt);
  max-width: 520px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.hero-meta .item { }
.hero-meta .item .n {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600;
  color: var(--violet-700); line-height: 1;
}
.hero-meta .item .l { font-size: 0.82rem; color: var(--txt-lo); margin-top: 5px; }

/* hero visual: layered card composition */
.hero-visual { position: relative; }
.hero-visual .photo {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: block;
}
.hero-visual .photo-frame {
  position: relative; border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-visual .photo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(124,58,237,0.16));
}
.hero-card {
  position: absolute; left: -28px; bottom: -26px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 18px 20px; display: flex; gap: 14px; align-items: center;
  max-width: 290px;
}
.hero-card .ring {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--violet) 0 86%, var(--violet-50) 86% 100%);
  display: grid; place-items: center;
}
.hero-card .ring span {
  width: 34px; height: 34px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-family: var(--serif);
  font-weight: 600; font-size: 0.84rem; color: var(--violet-700);
}
.hero-card .t .a { font-weight: 600; color: var(--txt-hi); font-size: 0.92rem; }
.hero-card .t .b { font-size: 0.8rem; color: var(--txt-lo); }
.hero-badge {
  position: absolute; top: 20px; right: -16px;
  background: var(--ink); color: var(--gold-soft);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 16px; border-radius: 100px;
  box-shadow: var(--shadow);
}

/* ============================================================
   MARQUEE / TRUST
   ============================================================ */
.trust {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-2); padding: 30px 0;
}
.trust-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 22px;
}
.trust-label {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--txt-lo); font-weight: 600;
}
.trust-items { display: flex; gap: 38px; flex-wrap: wrap; }
.trust-items span {
  font-family: var(--serif); font-weight: 500; font-size: 1.08rem;
  color: var(--violet-700);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--txt-hi); font-weight: 500;
  margin: 18px 0 16px;
}
.section-head h2 em { font-style: italic; color: var(--violet); }
.section-head p { font-size: 1.1rem; color: var(--txt); }

/* ---------- value cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.32s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--violet-100);
}
.card .ico {
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(150deg, var(--violet-50), #fff);
  border: 1px solid var(--violet-100);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card .ico svg { width: 24px; height: 24px; stroke: var(--violet); }
.card h3 {
  font-family: var(--serif); color: var(--txt-hi);
  font-size: 1.2rem; font-weight: 600; margin-bottom: 10px;
}
.card p { font-size: 0.97rem; color: var(--txt); }

/* ============================================================
   SUITES — editorial split rows
   ============================================================ */
.suites-wrap { display: flex; flex-direction: column; gap: 22px; }
.suite-row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.32s var(--ease), transform 0.32s var(--ease);
}
.suite-row:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.suite-row:nth-child(even) .suite-text { order: 2; }
.suite-row:nth-child(even) .suite-media { order: 1; }
.suite-text { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.suite-text .num {
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; color: var(--gold);
}
.suite-text h3 {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
  color: var(--txt-hi); margin: 6px 0 12px; letter-spacing: -0.01em;
}
.suite-text p { font-size: 1rem; color: var(--txt); margin-bottom: 18px; }
.suite-text .more {
  font-weight: 600; font-size: 0.92rem; color: var(--violet);
  display: inline-flex; align-items: center; gap: 8px; transition: gap 0.22s;
}
.suite-row:hover .more { gap: 13px; }
.suite-media { position: relative; min-height: 280px; }
.suite-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.suite-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(124,58,237,0.12), transparent 55%);
}

/* ============================================================
   QUOTE / PHILOSOPHY band (deep violet)
   ============================================================ */
.band {
  background: linear-gradient(160deg, var(--ink), var(--violet-800));
  color: var(--txt-on-dark);
  border-radius: 26px;
  padding: 76px 60px;
  position: relative; overflow: hidden;
}
.band::before {
  content: "";
  position: absolute; top: -30%; right: -10%;
  width: 50%; height: 160%;
  background: radial-gradient(circle, rgba(201,161,74,0.16), transparent 65%);
}
.band-inner { position: relative; z-index: 1; max-width: 820px; }
.band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.28; font-weight: 400; letter-spacing: -0.01em;
  color: var(--txt-on-dark);
}
.band blockquote em { font-style: italic; color: var(--gold-soft); }
.band-sub { color: var(--txt-on-dark-lo); margin-top: 24px; font-size: 1.05rem; max-width: 600px; }
.band-actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   METRICS
   ============================================================ */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.metric {
  text-align: left; padding: 30px;
  border-left: 2px solid var(--violet-100);
}
.metric .v {
  font-family: var(--serif); font-size: 2.9rem; font-weight: 600;
  color: var(--violet-700); line-height: 1; letter-spacing: -0.02em;
}
.metric .v em { font-style: normal; color: var(--gold); }
.metric .k { font-size: 0.95rem; color: var(--txt-lo); margin-top: 10px; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: linear-gradient(150deg, var(--violet), var(--violet-700));
  color: #fff; border-radius: 26px;
  padding: 80px 50px; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 360px at 20% -10%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(600px 320px at 100% 120%, rgba(201,161,74,0.2), transparent 60%);
}
.cta-content { position: relative; z-index: 1; }
.cta h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  letter-spacing: -0.02em; line-height: 1.1; margin: 16px 0 16px;
}
.cta p { font-size: 1.12rem; color: rgba(255,255,255,0.88); max-width: 580px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 70px 0 40px; background: var(--paper-2); border-top: 1px solid var(--line); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px; margin-bottom: 50px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 0.96rem; color: var(--txt-lo); max-width: 300px; }
.footer-col h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--txt-lo); font-weight: 600; margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 0.95rem; color: var(--txt);
  padding: 6px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--violet); }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; padding-top: 30px;
  border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--txt-lo);
}
.footer-bot .badges { display: flex; gap: 10px; }
.chip {
  font-size: 0.72rem; padding: 5px 12px; border: 1px solid var(--line);
  border-radius: 100px; color: var(--txt-lo); font-weight: 600;
  letter-spacing: 0.04em; background: #fff;
}

/* ============================================================
   SUITE DETAIL PAGE
   ============================================================ */
.detail-hero {
  padding: 80px 0 50px;
  background:
    radial-gradient(900px 420px at 100% 0%, var(--violet-50), transparent 60%);
}
.detail-hero .container { max-width: 920px; }
.detail-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 4.8vw, 3.6rem);
  letter-spacing: -0.02em; line-height: 1.05;
  color: var(--txt-hi); margin: 20px 0 18px;
}
.detail-hero h1 em { font-style: italic; color: var(--violet); }
.detail-hero .lede { font-size: 1.2rem; color: var(--txt); max-width: 700px; }
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.cap-list { display: flex; flex-direction: column; }
.cap {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.cap:last-child { border-bottom: none; }
.cap .check {
  width: 28px; height: 28px; border-radius: 9px;
  background: var(--violet-50); border: 1px solid var(--violet-100);
  display: grid; place-items: center; flex: none; margin-top: 1px;
}
.cap .check svg { width: 15px; height: 15px; stroke: var(--violet); }
.cap span { color: var(--txt-hi); font-size: 1rem; }
.services-box {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
}
.services-box h3 {
  font-family: var(--serif); color: var(--txt-hi);
  font-size: 1.2rem; margin-bottom: 20px; font-weight: 600;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-tags span {
  font-size: 0.9rem; font-weight: 500; padding: 9px 16px;
  background: var(--violet-50); border: 1px solid var(--violet-100);
  border-radius: 100px; color: var(--violet-700);
}
.detail-img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-top: 22px;
  border: 1px solid var(--line);
}

/* ============================================================
   REQUEST DEMO PAGE
   ============================================================ */
.demo-wrap { padding: 70px 0 90px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.demo-aside h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 4.2vw, 3.2rem);
  letter-spacing: -0.02em; line-height: 1.06;
  color: var(--txt-hi); margin: 20px 0 18px;
}
.demo-aside h1 em { font-style: italic; color: var(--violet); }
.demo-aside > p { color: var(--txt); font-size: 1.12rem; margin-bottom: 30px; }
.demo-points { display: flex; flex-direction: column; gap: 18px; }
.demo-point { display: flex; gap: 14px; align-items: start; }
.demo-point .check {
  width: 28px; height: 28px; border-radius: 9px;
  background: var(--violet-50); border: 1px solid var(--violet-100);
  display: grid; place-items: center; flex: none; margin-top: 1px;
}
.demo-point .check svg { width: 15px; height: 15px; stroke: var(--violet); }
.demo-point div strong { color: var(--txt-hi); display: block; font-size: 1rem; }
.demo-point div span { color: var(--txt-lo); font-size: 0.92rem; }

.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 0.84rem; font-weight: 600;
  color: var(--txt-hi); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; color: var(--txt-hi);
  font-family: var(--sans); font-size: 0.96rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--txt-lo); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); background: #fff;
  box-shadow: 0 0 0 4px rgba(124,58,237,0.12);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.84rem; color: var(--txt-lo); margin-top: 16px; text-align: center; }

/* ============================================================
   ANIMATION / RESPONSIVE
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-card { left: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .suite-row, .suite-row:nth-child(even) .suite-text, .suite-row:nth-child(even) .suite-media { grid-template-columns: 1fr; order: 0; }
  .suite-media { min-height: 220px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .detail-cols, .demo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band { padding: 56px 38px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .cards, .metrics { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 22px; }
  .cta, .band { padding: 50px 26px; }
}
