/* Cosmic Capital Holdings Inc. — refined classic, deep navy and amber */
:root {
  --brand: #1E3A8A;          /* deep navy */
  --brand-dark: #172554;     /* near-midnight navy */
  --brand-deep: #0F172A;     /* ink navy */
  --gold: #F59E0B;           /* amber accent */
  --gold-soft: #FEF3C7;      /* champagne */
  --ink: #0F172A;
  --muted: #475569;
  --paper: #FFFFFF;
  --soft: #F8FAFC;
  --line: #E2E8F0;
  --radius: 2px;
  --shadow: 0 12px 28px rgba(15,23,42,0.10);
  --max: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
}
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: .5rem; font-weight: 600; }
p { color: var(--muted); margin-bottom: 1rem; }
a { color: var(--brand-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }
img, svg { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* Announcement bar */
.announce {
  background: var(--brand-deep);
  color: var(--gold-soft);
  font-size: .85rem;
  padding: .55rem 0;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.announce a { color: var(--gold); }

/* Header */
.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: 1.25rem 0; }
.brand img { height: 56px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 4px;
}
.nav a:hover, .nav a.active { color: var(--brand-dark); }
.nav a:hover::after,
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--brand);
}
.nav .btn { background: var(--brand); color: #fff; padding: .75rem 1.6rem; letter-spacing: 2px; }
.nav .btn::after { display: none !important; }
.nav .btn:hover { background: var(--brand-dark); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: .95rem 2.2rem;
  border-radius: var(--radius);
  font-weight: 500;
  border: 2px solid var(--brand);
  cursor: pointer;
  transition: all .2s;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: inherit;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--brand-dark); }
.btn-outline:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--brand-deep); }
.btn-gold:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--gold); }

/* Hero — split layout with image side */
.hero {
  background: var(--paper);
  padding: 5rem 0 4rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.hero-text .eyebrow {
  color: var(--brand-dark);
  font-weight: 600;
  letter-spacing: 5px;
  font-size: .8rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero .lede { font-size: 1.15rem; max-width: 540px; margin-bottom: 2rem; color: var(--muted); }
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-art {
  aspect-ratio: 3/4;
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(15,23,42,0.20) 0%, rgba(23,37,84,0.55) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=900&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}
.hero-art .monogram { display: none; }
.hero-art::after {
  content: 'HOLDINGS';
  position: absolute;
  bottom: 2rem; left: 0; right: 0;
  text-align: center;
  color: var(--gold);
  letter-spacing: 12px;
  font-size: .85rem;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* Sections */
.section { padding: 6rem 0; }
.section.alt { background: var(--soft); }
.section.dark { background: var(--ink); color: #d6d3d1; }
.section.dark h2 { color: var(--gold); }
.section.dark p { color: #d6d3d1; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 4rem; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--brand-dark);
  font-weight: 600;
  letter-spacing: 5px;
  font-size: .8rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  padding: 0 2rem;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 1.5rem;
  height: 1px;
  background: var(--brand-dark);
}
.section-head .eyebrow::before { left: 0; }
.section-head .eyebrow::after { right: 0; }

/* Image cards for about/services */
.image-block {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}
.image-block.ib-1 { background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1400&q=80&auto=format&fit=crop'); }
.image-block.ib-2 { background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1400&q=80&auto=format&fit=crop'); }
.image-block.ib-3 { background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1400&q=80&auto=format&fit=crop'); }
.image-block.ib-4 { background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1400&q=80&auto=format&fit=crop'); }
.image-block.ib-5 { background-image: url('https://images.unsplash.com/photo-1559136555-9303baea8ebd?w=1400&q=80&auto=format&fit=crop'); }

/* Service tiles — alternating numbered layout */
.svc {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}
.svc:last-child { border-bottom: 0; }
.svc .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
  min-width: 120px;
}
.svc h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.svc .more { color: var(--brand-dark); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .85rem; }

/* Three-column gold cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.gcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  padding: 2.5rem 2rem;
  transition: all .25s;
}
.gcard:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-top-color: var(--gold); }
.gcard .icon-wrap {
  width: 70px; height: 70px;
  background: var(--gold-soft);
  color: var(--brand-dark);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

/* Values strip */
.values {
  background: var(--gold-soft);
  padding: 4rem 0;
}
.values .grid-3 { gap: 3rem; }
.values .v h3 { font-size: 1.3rem; color: var(--brand-deep); margin-bottom: .5rem; }
.values .v p { color: var(--brand-deep); opacity: .8; }
.values .v .vnum {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--brand);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 1rem;
}

/* Quote block */
.quote-block {
  background: var(--ink);
  color: #fafaf9;
  padding: 6rem 0;
  text-align: center;
}
.quote-block .container { max-width: 880px; }
.quote-block blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  color: #fafaf9;
  margin-bottom: 2rem;
  line-height: 1.4;
}
.quote-block blockquote::before { content: '"'; color: var(--gold); font-size: 4rem; line-height: 0; vertical-align: -1.5rem; margin-right: .5rem; }
.quote-block blockquote::after { content: '"'; color: var(--gold); font-size: 4rem; line-height: 0; vertical-align: -2rem; margin-left: .5rem; }
.quote-block cite { color: var(--gold); font-style: normal; letter-spacing: 3px; font-size: .9rem; text-transform: uppercase; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deep) 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
}
.cta-banner h2 { color: var(--gold); margin-bottom: 1rem; }
.cta-banner p { color: var(--gold-soft); margin-bottom: 2rem; max-width: 620px; margin-left: auto; margin-right: auto; }

/* Forms */
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 3rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.5rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .5rem;
  color: var(--ink);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  transition: border .2s, box-shadow .2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(234,88,12,0.15);
}
.field textarea { min-height: 160px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.alert { padding: 1rem; border-radius: var(--radius); margin-bottom: 1rem; display: none; }
.alert.success { background: #d1fae5; color: #065f46; display: block; }
.alert.error { background: #fee2e2; color: #991b1b; display: block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-info ul { list-style: none; margin-top: 2rem; }
.contact-info li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .lbl {
  display: block;
  font-size: .75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 600;
  margin-bottom: .4rem;
}
.contact-info .val { font-size: 1.05rem; color: var(--ink); }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark) 70%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}
.page-hero h1 { color: var(--gold); margin-bottom: .5rem; }
.page-hero p { color: var(--gold-soft); font-size: 1.1rem; }
.crumbs { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 1rem; letter-spacing: 2px; text-transform: uppercase; }
.crumbs a { color: var(--gold); }

/* Legal */
.legal { padding: 5rem 0; max-width: 880px; margin: 0 auto; }
.legal h2 { margin-top: 3rem; color: var(--brand-deep); }
.legal h3 { margin-top: 2rem; color: var(--brand-dark); font-size: 1.2rem; }
.legal p, .legal li { margin-bottom: 1rem; }
.legal ul, .legal ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal li { color: var(--muted); }
.toc { background: var(--gold-soft); border-left: 4px solid var(--brand); padding: 1.75rem 2rem; margin-bottom: 2.5rem; }
.toc h3 { margin-top: 0; color: var(--brand-deep); }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: .4rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d6d3d1;
  padding: 5rem 0 0;
  border-top: 4px solid var(--brand);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; }
.site-footer h4 {
  color: var(--gold);
  font-family: inherit;
  font-size: .85rem;
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #d6d3d1; font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand-foot img { height: 60px; filter: brightness(0) invert(1); opacity: .9; }
.site-footer .brand-foot p { color: #a8a29e; margin-top: 1rem; }
.copyright {
  border-top: 1px solid #292524;
  padding: 1.5rem 0;
  text-align: center;
  font-size: .85rem;
  color: #a8a29e;
}
.copyright a { color: var(--gold); }

/* Mission / Vision / Values blocks */
.mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}
.mvv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  padding: 2.5rem 2rem;
  transition: transform .25s, box-shadow .25s;
}
.mvv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mvv-card .eyebrow {
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 4px;
  font-size: .75rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}
.mvv-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--brand-deep);
}
.mvv-card p { color: var(--muted); line-height: 1.7; }
.mvv-card.values ul { list-style: none; padding: 0; }
.mvv-card.values li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: .4rem;
  color: var(--muted);
}
.mvv-card.values li::before {
  content: '\25C6';
  position: absolute; left: 0; top: 0;
  color: var(--gold);
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero { padding: 3rem 0; }
  .hero::before { display: none; }
  .hero .container, .contact-grid, .foot-grid, .mvv { grid-template-columns: 1fr; gap: 3rem; }
  .hero-art { aspect-ratio: 16/9; }
  .svc { grid-template-columns: 1fr; gap: 1rem; }
  .svc .num { font-size: 3.5rem; min-width: auto; }
  .site-footer .brand-foot img { margin: 0 auto; display: block; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav ul {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 1.5rem;
    border-top: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
    gap: 1rem;
  }
  .nav ul.open { display: flex; }
  .nav li { width: 100%; }
  .nav .btn { display: block; text-align: center; }
}
