/* ==========================================================================
   CIY SOLUTIONS LLC — Stylesheet v2
   Design concept: "Balance" — deep aubergine ink + deep teal accent + a
   warm amber spark used sparingly. Display serif (Fraunces) with italic
   flourishes, paired with Manrope for body copy. No ledger/mono motif,
   no cards in the hero, no numbered "SVC" labels.
   ========================================================================== */

:root{
  /* --- Color tokens --- */
  --ink:            #241B2E;   /* deep aubergine — dark sections, headings */
  --ink-2:          #3D2F4A;   /* lighter plum for gradients */
  --teal:           #1F7A7F;   /* primary accent — links, buttons, icons */
  --teal-deep:      #17595D;
  --teal-light:     #4FA8AC;
  --amber:          #E8A33D;   /* sparing warm highlight */
  --paper:          #FFFFFF;
  --paper-alt:      #F6F3F8;   /* soft lavender-grey section tint */
  --line:           #E5DFEA;
  --text:           #2A2333;
  --muted:          #6E6478;
  --white:          #FFFFFF;
  --danger:         #A23B3B;

  /* --- Type --- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1180px;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(36,27,46,0.07);
  --shadow-md: 0 10px 28px rgba(36,27,46,0.10);
  --shadow-lg: 0 24px 56px rgba(36,27,46,0.18);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5{ font-family: var(--font-display); font-weight:600; line-height:1.16; margin:0 0 .5em; color: var(--ink); }
p{ margin:0 0 1em; }
button{ font-family: inherit; cursor:pointer; }
:focus-visible{ outline: 2px solid var(--teal); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section{ padding: 96px 0; }
.section-alt{ background: var(--paper-alt); }
.section-tight{ padding: 56px 0; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 16px;
}
.eyebrow::before{
  content:"";
  width: 26px; height: 2px;
  background: var(--amber);
  display:inline-block;
  border-radius: 2px;
}

.section-head{ max-width: 700px; margin-bottom: 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(30px, 3.6vw, 42px); }
.section-head h2 em{ font-style: italic; color: var(--teal); }
.section-head p{ color: var(--muted); font-size: 17.5px; }

/* --- Buttons --- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--ink); color: var(--white); }
.btn-primary:hover{ background: var(--teal-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline{ background: transparent; border-color: rgba(36,27,46,.22); color: var(--ink); }
.btn-outline:hover{ border-color: var(--ink); background: rgba(36,27,46,.05); }
.btn-outline-invert{ background: transparent; border-color: rgba(255,255,255,.42); color: var(--white); }
.btn-outline-invert:hover{ border-color: var(--white); background: rgba(255,255,255,.09); }
.btn-block{ width:100%; }
.btn-sm{ padding: 10px 20px; font-size: 14px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar{
  background: var(--ink);
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:10px; padding-bottom:10px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-links{ display:flex; gap:24px; align-items:center; flex-wrap:wrap; }
.topbar-links a{ color: rgba(255,255,255,.88); font-weight:600; }
.topbar-links a:hover{ color: var(--amber); }
.topbar-hours{ color: rgba(255,255,255,.5); }

.site-header{
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top:0; z-index: 100;
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 0;
  gap: 24px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:42px; height:42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-style: italic; font-size:16px;
  flex: none;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.2; }
.brand-name{ font-family: var(--font-display); font-weight:700; font-size: 20px; color: var(--ink); letter-spacing: 0; }
.brand-tag{ font-size: 11px; letter-spacing:.06em; text-transform:uppercase; color: var(--muted); font-weight:600; }

.main-nav{ display:flex; align-items:center; gap: 4px; }
.main-nav a{
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: 100px;
  position: relative;
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover{ color: var(--teal); }
.main-nav a.active{ color: var(--white); background: var(--ink); }

.nav-toggle{
  display:none;
  width:42px; height:42px;
  border-radius:50%;
  border:1px solid var(--line);
  background: var(--paper);
  align-items:center; justify-content:center;
  flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:18px; height:2px; background: var(--ink); position:relative; transition: all .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

/* ==========================================================================
   HERO — no card, abstract line/ring graphic instead
   ========================================================================== */
.hero{
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 100px 0 108px;
}
.hero-glow{
  position:absolute; border-radius:50%; filter: blur(70px); opacity:.5; pointer-events:none;
}
.hero-glow.g1{ width:420px; height:420px; background: var(--teal); top:-140px; right:-80px; }
.hero-glow.g2{ width:280px; height:280px; background: var(--amber); opacity:.22; bottom:-100px; right:220px; }
.hero .container{ position: relative; display:grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items:center; }
.hero-eyebrow{ color: var(--amber); }
.hero-eyebrow::before{ background: var(--amber); }
.hero h1{
  color: var(--white);
  font-size: clamp(36px, 4.8vw, 58px);
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hero h1 em{ font-style: italic; color: var(--teal-light); }
.hero p.lead{ font-size: 18.5px; color: rgba(255,255,255,.76); max-width: 520px; margin-bottom: 32px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 38px; }
.hero-points{ display:flex; flex-direction:column; gap:12px; }
.hero-points li{ display:flex; gap:12px; align-items:flex-start; color: rgba(255,255,255,.78); font-size: 14.75px; }
.hero-points svg{ flex:none; margin-top:3px; color: var(--amber); }

.hero-visual{ display:flex; align-items:center; justify-content:center; position:relative; }
.rings-graphic{ width: 100%; max-width: 380px; }

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.grid{ display:grid; gap: 28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* --- Home services cards (no link, no numbering) --- */
.svc-card{ position:relative; overflow:hidden; }
.svc-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  opacity:0; transition: opacity .2s ease;
}
.svc-card:hover::before{ opacity:1; }
.svc-icon{
  width:52px; height:52px; border-radius:50%;
  background: var(--paper-alt); color: var(--teal);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.svc-card h3{ font-size: 19.5px; margin-bottom:10px; }
.svc-card p{ color: var(--muted); font-size: 14.85px; margin-bottom:0; }

/* --- Process steps: connected timeline --- */
.steps-track{ position:relative; }
.steps{ display:grid; grid-template-columns: repeat(4,1fr); gap: 34px; position:relative; }
.steps::before{
  content:""; position:absolute; top:23px; left: 12%; right:12%; height:2px;
  background: repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 16px);
  z-index:0;
}
.step{ position:relative; z-index:1; }
.step-node{
  width:46px; height:46px; border-radius:50%;
  background: var(--ink); color: var(--amber);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size:17px;
  margin-bottom: 20px;
}
.step h4{ font-size: 17.5px; margin-bottom: 8px; }
.step p{ color: var(--muted); font-size: 14.5px; margin-bottom:0; }

/* --- Why us --- */
.why-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 32px 44px; }
.why-item{ display:flex; gap: 20px; }
.why-item .why-mark{
  flex:none; width: 8px; height:8px; margin-top:9px; border-radius:50%; background: var(--amber);
}
.why-item h4{ font-size: 17px; margin-bottom:6px; }
.why-item p{ color: var(--muted); font-size:14.75px; margin-bottom:0; }

/* --- Quote block --- */
.quote-block{
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 50px 52px;
  position: relative;
}
.quote-block blockquote{ font-family: var(--font-display); font-style: italic; font-size: 23px; line-height:1.5; margin:0 0 18px; font-weight:500; }
.quote-block cite{ font-style: normal; font-size:13.5px; color: var(--teal-light); letter-spacing:.03em; font-weight:600; }

/* --- About teaser split --- */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
.split p{ color: var(--muted); }
.stat-row{ display:flex; gap: 40px; margin-top: 30px; flex-wrap:wrap; }
.stat b{ display:block; font-family: var(--font-display); font-style:italic; font-size: 34px; color: var(--teal); }
.stat span{ font-size:13px; color: var(--muted); text-transform:uppercase; letter-spacing:.05em; font-weight:600; }

/* --- CTA band --- */
.cta-band{
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 58px 58px;
  display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap;
  position: relative; overflow:hidden;
}
.cta-band::before{ content:""; position:absolute; width:260px; height:260px; border-radius:50%; background: var(--teal); opacity:.3; filter: blur(60px); right:-60px; top:-100px; }
.cta-band > *{ position:relative; }
.cta-band h2{ color: var(--white); font-size: clamp(25px,3vw,33px); margin-bottom:8px; }
.cta-band p{ color: rgba(255,255,255,.78); margin-bottom:0; }
.cta-band-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ==========================================================================
   SERVICES PAGE — alternating rows, no SVC numbering
   ========================================================================== */
.svc-row{
  display:grid; grid-template-columns: 64px 1fr; gap: 26px;
  padding: 34px 0; border-top: 1px solid var(--line);
}
.svc-row:first-child{ border-top:none; }
.svc-row-icon{
  width:56px; height:56px; border-radius:50%;
  background: var(--paper-alt); color: var(--teal);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.svc-row h3{ font-size: 21px; margin-bottom:6px; }
.svc-fit{ font-size: 13.5px; color: var(--teal); font-weight:700; margin-bottom:10px; }
.svc-row-body{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 30px; }
.svc-row-body p{ color: var(--muted); font-size: 15px; }
.included-list li{
  display:flex; gap:10px; align-items:flex-start; padding: 6px 0; font-size: 14.5px; color: var(--text);
}
.included-list svg{ flex:none; margin-top:3px; color: var(--teal); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-note{
  background: var(--paper-alt);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 14.75px;
  color: var(--text);
  margin-bottom: 52px;
  border-left: 3px solid var(--amber);
}
.pricing-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.plan-card{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display:flex; flex-direction:column; position:relative;
}
.plan-card.featured{ background: var(--ink); border-color: var(--ink); }
.plan-card.featured *{ color: var(--white); }
.plan-card.featured .plan-for, .plan-card.featured .plan-desc{ color: rgba(255,255,255,.68); }
.plan-card.featured .included-list li{ color: rgba(255,255,255,.9); }
.plan-card.featured .included-list svg{ color: var(--amber); }
.plan-badge{
  position:absolute; top:-13px; left: 28px;
  background: var(--amber); color: var(--ink);
  font-size: 11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  padding: 6px 14px; border-radius: 100px;
}
.plan-icon{
  width:44px; height:44px; border-radius:50%; background: var(--paper-alt); color: var(--teal);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.plan-card.featured .plan-icon{ background: rgba(255,255,255,.12); color: var(--amber); }
.plan-for{ font-size: 13.5px; color: var(--muted); margin-bottom:6px; font-weight:600; }
.plan-card h3{ font-size:21px; margin-bottom:10px; }
.plan-desc{ font-size:14.25px; color: var(--muted); margin-bottom:20px; min-height: 42px; }
.plan-price{ font-family: var(--font-display); font-style:italic; font-size: 32px; font-weight:700; color: var(--ink); margin-bottom:2px; }
.plan-card.featured .plan-price{ color: var(--white); }
.plan-price span{ font-size: 12.5px; font-weight:600; color: var(--muted); display:block; font-family: var(--font-body); font-style:normal; margin-top:4px; text-transform:uppercase; letter-spacing:.04em; }
.plan-card .included-list{ flex:1; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.plan-card.featured .included-list{ border-top-color: rgba(255,255,255,.18); }
.plan-card .btn{ margin-top: 22px; }

.payment-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:28px; }
.payment-grid .card h3{ font-size:17.5px; }
.payment-grid .card p{ color: var(--muted); font-size:14.5px; margin-bottom:0; }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.scope-table{ width:100%; border-collapse: collapse; background: var(--white); border-radius:var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); }
.scope-table th, .scope-table td{ text-align:left; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 14.75px; }
.scope-table th{ font-size:12px; text-transform:uppercase; letter-spacing:.06em; color: var(--muted); background: var(--paper-alt); font-weight:700; }
.scope-table tr:last-child td{ border-bottom:none; }
.tag-yes{ color: var(--teal); font-weight:700; }
.tag-support{ color: var(--amber); font-weight:700; }
.tag-no{ color: var(--muted); }

.principles-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 0; }
.principle{ padding: 26px 0; border-top: 1px solid var(--line); }
.principle:nth-child(-n+2){ border-top:none; }
.principle h4{ font-size:17px; }

/* ==========================================================================
   CONTACT PAGE — no form, showcase layout
   ========================================================================== */
.contact-showcase{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow:hidden; }
.contact-tile{ background: var(--white); padding: 44px 40px; }
.contact-tile .ci-icon{
  width:48px; height:48px; border-radius:50%; background: var(--paper-alt); color: var(--teal);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.contact-tile .ci-label{ font-size:12.5px; text-transform:uppercase; letter-spacing:.08em; color: var(--muted); font-weight:700; margin-bottom:10px; }
.contact-tile .ci-value{ font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.contact-tile a.ci-value:hover{ color: var(--teal); }
.contact-tile .ci-value.small{ font-size:17px; font-family: var(--font-body); font-weight:600; line-height:1.5; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-body h2{ font-size: 22px; margin-top: 40px; font-family: var(--font-display); }
.legal-body h2:first-child{ margin-top:0; }
.legal-body p, .legal-body li{ color: var(--text); font-size:15px; }
.legal-body ul{ list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-body ul li{ margin-bottom: 6px; }
.legal-updated{ font-size:12.5px; color: var(--muted); margin-bottom: 32px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-header{
  background: var(--ink); color: var(--white); padding: 64px 0 70px; position:relative; overflow:hidden;
}
.page-header .hero-glow.g1{ width:340px; height:340px; top:-160px; right:-60px; }
.page-header .container{ position:relative; }
.page-header .eyebrow{ color: var(--amber); }
.page-header .eyebrow::before{ background: var(--amber); }
.page-header h1{ color: var(--white); font-size: clamp(32px,4.2vw,46px); max-width: 760px; margin-bottom: 14px; }
.page-header h1 em{ font-style: italic; color: var(--teal-light); }
.page-header p{ color: rgba(255,255,255,.75); max-width: 640px; font-size:16.75px; margin-bottom:0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--ink); color: rgba(255,255,255,.72); padding: 0 0 0; }
.footer-wordmark{ padding: 64px 0 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-wordmark h2{ font-family: var(--font-display); font-style: italic; color: var(--white); font-size: clamp(32px,5vw,52px); margin-bottom:14px; }
.footer-wordmark p{ color: rgba(255,255,255,.6); max-width: 480px; font-size:15px; margin-bottom:0; }
.footer-grid{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding: 44px 0; }
.footer-col h5{ font-size:12px; text-transform:uppercase; letter-spacing:.09em; color: var(--amber); margin-bottom: 18px; font-weight:700; }
.footer-col li{ margin-bottom: 11px; }
.footer-col a{ color: rgba(255,255,255,.72); font-size: 14.5px; }
.footer-col a:hover{ color: var(--white); }
.footer-contact li{ display:flex; gap:10px; font-size:14.25px; color: rgba(255,255,255,.72); align-items:flex-start; }
.footer-contact svg{ flex:none; margin-top:3px; color: var(--teal-light); }
.footer-disclaimer{ border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: 12.5px; color: rgba(255,255,255,.48); }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 30px; display:flex; justify-content:space-between; align-items:center; gap: 16px; flex-wrap:wrap; font-size:13px; color: rgba(255,255,255,.5); }
.footer-bottom a{ color: rgba(255,255,255,.5); }
.footer-bottom-links{ display:flex; gap: 20px; flex-wrap:wrap; }
.footer-bottom-links a:hover{ color: var(--white); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; max-width:280px; margin: 0 auto 12px; }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .steps{ grid-template-columns: repeat(2,1fr); }
  .steps::before{ display:none; }
  .pricing-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .split{ grid-template-columns:1fr; }
  .contact-showcase{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .principles-grid{ grid-template-columns: 1fr; }
  .principle:nth-child(2){ border-top: 1px solid var(--line); }
  .svc-row-body{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .main-nav{
    position: fixed; inset: 0 0 0 30%; top: 73px;
    background: var(--white); flex-direction:column; align-items:stretch;
    padding: 18px; gap: 4px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .25s ease;
    overflow-y:auto;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav a{ padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius:0; }
  .main-nav a.active{ background:transparent; color: var(--teal); }
  .nav-toggle{ display:flex; }
  .topbar-hours{ display:none; }
  .cta-band{ flex-direction:column; text-align:center; padding: 44px 30px; }
}

@media (max-width: 720px){
  .section{ padding: 64px 0; }
  .grid-3, .grid-4, .pricing-grid{ grid-template-columns: 1fr; }
  .quote-block{ padding: 36px 26px; }
  .quote-block blockquote{ font-size:19px; }
  .footer-grid{ grid-template-columns: 1fr; gap:32px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .contact-tile{ padding: 34px 26px; }
  .svc-row{ grid-template-columns: 1fr; }
}
