/* Glasgow Ventures LLC - palette sampled from the logo */
:root {
  --navy: #00255C;        /* logo navy */
  --navy-dark: #001A42;
  --gold: #C9963D;        /* logo gold */
  --gold-dark: #8C6420;   /* accessible gold for small text on white */
  --gold-tint: #F5ECDB;
  /* Insight Education Partners accents (sampled from the IEP logo) */
  --sage: #6B7A5F;
  --sage-dark: #556349;
  --sage-tint: #EEF1EA;
  --iep-navy: #0E2840;
  --bg: #FFFFFF;
  --off-white: #F8F6F1;
  --text: #1C2433;
  --muted: #5A6475;
  --line: #E4E1D8;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 37, 92, 0.08);
  --font-head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); text-transform: uppercase; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .75rem;
}
.eyebrow-light { color: var(--gold); }

.rule { display: block; width: 64px; height: 3px; background: var(--gold); margin-top: .5rem; }
.rule-center { margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; align-items: baseline; gap: .45rem; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  color: var(--navy); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
}
.brand-llc {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--gold-dark); letter-spacing: .2em;
}
.site-nav ul { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--text);
  transition: color .2s;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a:not(.nav-cta):hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-cta {
  background: var(--navy); color: #fff !important; padding: .55rem 1.15rem; border-radius: 6px;
}
.nav-cta:hover { background: var(--navy-dark); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: none; }

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 6px; font-weight: 600;
  text-decoration: none; font-size: .98rem; transition: background .2s, color .2s, border-color .2s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-ghost { border-color: var(--gold); color: var(--navy); }
.btn-ghost:hover { background: var(--gold-tint); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 150, 61, .10), transparent 45%),
    linear-gradient(180deg, var(--off-white), #fff);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem;
  padding: 6rem 0 5.5rem;
}
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-logo {
  background: #fff; border-radius: 16px; padding: 2.5rem 2rem; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* Sections */
.section { padding: 5.5rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.about-copy > p { font-size: 1.12rem; color: var(--text); }
.pillars {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.pillars li { border-top: 3px solid var(--gold); padding-top: 1rem; }
.pillars h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.pillars p { color: var(--muted); font-size: .97rem; margin: 0; }

.companies { background: var(--off-white); border-block: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 37, 92, .12); }
.badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: #EFEDE7; color: #6B7280; padding: .25rem .6rem; border-radius: 999px;
}
.card p { color: var(--muted); }

/* Real portfolio company card */
.card.company { align-items: center; text-align: center; border-top: 3px solid var(--gold); }
.company-logo { display: block; width: 168px; height: 168px; margin: 0 auto 1.25rem; }
.company-logo img { width: 100%; height: 100%; object-fit: contain; }
.card.company h3 { margin-bottom: .35rem; }
.card.company > p { margin-bottom: 1.25rem; }
.company-contact {
  margin: auto 0 0; width: 100%; padding-top: 1.1rem; border-top: 1px solid var(--line);
  display: grid; gap: .55rem;
}
.company-contact div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.company-contact dt {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark);
}
.company-contact dd { margin: 0; font-weight: 500; color: var(--text); }
.company-contact a { color: var(--navy); font-weight: 600; text-decoration: none; }
.company-contact a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Placeholder / coming-soon cards: intentionally muted */
.card.placeholder {
  background: transparent; box-shadow: none; border: 2px dashed #D3CEC2;
  align-items: center; justify-content: center; text-align: center; min-height: 260px;
}
.card.placeholder:hover { transform: none; box-shadow: none; }
.card.placeholder h3 { color: #8A909C; }
.card.placeholder p { color: #9AA0AA; font-size: .95rem; margin: 0; }
.placeholder-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 2px dashed #C9C3B5; color: #A8A397; font-size: 1.6rem; line-height: 1; margin-bottom: 1rem;
}

/* Insight Education Partners card link */
.learn-more { font-weight: 600; text-decoration: none; color: var(--navy); font-size: .95rem; margin: -.4rem 0 1.25rem; }
.learn-more:hover { color: var(--sage-dark); text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 4px; }

/* Insight Education Partners detail section */
.iep { background: #fff; border-bottom: 1px solid var(--line); }
.iep-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; }
.iep-intro { position: sticky; top: 104px; }
.iep-logo { display: block; width: 132px; height: 132px; margin-bottom: 1.5rem; }
.iep-logo img { width: 100%; height: 100%; }
.iep-eyebrow { color: var(--sage-dark); }
.iep h2 { color: var(--iep-navy); }
.iep-rule { background: var(--sage); }
.iep-lead { font-size: 1.15rem; line-height: 1.7; color: var(--text); margin-top: 1.5rem; max-width: 36rem; }
.iep-details { display: grid; gap: 2.25rem; }
.iep-group { border-left: 3px solid var(--sage); padding-left: 1.5rem; max-width: 40rem; }
.iep-group h3 { color: var(--iep-navy); font-size: 1.2rem; margin-bottom: .5rem; }
.iep-group p { color: #3A4354; margin: 0; }
.iep-pull {
  margin: 4rem auto 0; max-width: 52rem; text-align: center; padding: 2.25rem 2rem;
  background: var(--sage-tint); border-radius: var(--radius); position: relative;
}
.iep-pull::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 64px; height: 3px; background: var(--gold);
}
.iep-pull p {
  margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.4; color: var(--iep-navy); letter-spacing: .01em;
}
.iep-contact {
  margin: 2rem auto 0; max-width: 52rem; display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1rem 2.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
}
.iep-contact-item { display: flex; flex-direction: column; }
.iep-contact-label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-dark); }
.iep-contact-value { font-size: 1.12rem; font-weight: 600; color: var(--iep-navy); text-decoration: none; }
a.iep-contact-value:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.iep-call { background: var(--sage-dark); color: #fff; }
.iep-call:hover { background: var(--iep-navy); }

/* Contact */
.contact { background: var(--navy); color: #E6EAF2; }
.contact h2 { color: #fff; }
.contact-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: start; }
.contact-lede { color: #C5CEDD; font-size: 1.12rem; max-width: 30rem; }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .85rem; }
.contact-list li {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .9rem 1.25rem; border: 1px solid rgba(255, 255, 255, .14); border-left: 3px solid var(--gold);
  border-radius: 8px; background: rgba(255, 255, 255, .04);
}
.contact-label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact-list a, .contact-list span:not(.contact-label) { color: #fff; font-size: 1.12rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Contact form */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  border-top: 3px solid var(--gold); border-radius: 12px; padding: 2rem 2rem 1.75rem;
}
.form-card h3 { color: #fff; font-size: 1.45rem; margin-bottom: .25rem; }
.form-intro { color: #AEB9CC; font-size: .9rem; margin-bottom: 1.5rem; }
.req { color: var(--gold); font-weight: 600; }
.optional { color: #93A0B6; font-weight: 400; font-size: .85rem; }
.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { font-size: .9rem; font-weight: 500; color: #E6EAF2; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 2px solid transparent; border-radius: 8px; padding: .7rem .85rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2300255C' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 150, 61, .35);
}
.field [aria-invalid="true"] { border-color: #F2A7A0; box-shadow: 0 0 0 3px rgba(242, 167, 160, .25); }
.field-error { margin: .35rem 0 0; font-size: .85rem; color: #FFC2BC; min-height: 0; }
.field-error:empty { display: none; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.25rem; margin-top: .25rem; }
.btn-gold { background: var(--gold); color: var(--navy-dark); border: 0; cursor: pointer; font-family: var(--font-body); padding: .9rem 1.8rem; }
.btn-gold:hover { background: #D8A94F; }
.btn-gold:disabled { opacity: .7; cursor: wait; }
.form-status { margin: 0; font-size: .95rem; flex: 1 1 240px; }
.form-status:empty { display: none; }
.form-status.is-success, .form-status.is-error, .form-status.is-info {
  padding: .75rem 1rem; border-radius: 8px; border-left: 3px solid;
}
.form-status.is-success { background: rgba(124, 196, 140, .14); border-color: #7CC48C; color: #DDF3E2; }
.form-status.is-error { background: rgba(242, 167, 160, .14); border-color: #F2A7A0; color: #FFE1DE; }
.form-status.is-info { background: rgba(201, 150, 61, .16); border-color: var(--gold); color: #F6E9CF; }

/* IEP strip actions */
.iep-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.iep-ask { border: 2px solid var(--sage); color: var(--iep-navy); background: #fff; }
.iep-ask:hover { background: var(--sage-tint); }

/* Thank-you page (no-JS form fallback) */
.thanks-page { background: var(--off-white); }
.thanks { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; gap: .5rem; }
.thanks h1 { margin-top: 1rem; }
.thanks p { color: var(--muted); margin-bottom: 1.5rem; }
.thanks p.eyebrow { color: var(--gold-dark); margin: 1rem 0 0; }
.thanks .eyebrow + h1 { margin-top: .25rem; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #AEB8CA; padding: 1.75rem 0; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.brand-footer img { width: 36px; height: 36px; background: #fff; border-radius: 50%; }
.brand-footer .brand-name { color: #fff; font-size: 1.1rem; }

a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 4.5rem 0 4rem; gap: 2.5rem; }
  .hero-logo { max-width: 520px; }
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .iep-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .iep-intro { position: static; }
}

@media (max-width: 720px) {
  .nav-toggle-label {
    display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block; width: 24px; height: 2px; background: var(--navy); position: relative; content: "";
    transition: transform .2s;
  }
  .nav-toggle-label span::before { position: absolute; top: -7px; }
  .nav-toggle-label span::after { position: absolute; top: 7px; }
  .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:focus-visible + .nav-toggle-label { outline: 3px solid var(--gold); outline-offset: 2px; }

  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 37, 92, .08);
    display: none;
  }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .site-nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child a { border-bottom: 0; margin-top: .75rem; text-align: center; }

  .card-grid { grid-template-columns: 1fr; }
  .iep-logo { width: 104px; height: 104px; margin-bottom: 1.25rem; }
  .iep-group { padding-left: 1.1rem; }
  .iep-pull { margin-top: 2.75rem; padding: 1.75rem 1.25rem; }
  .iep-contact { flex-direction: column; align-items: stretch; text-align: center; gap: 1rem; }
  .iep-contact-item { align-items: center; }
  .iep-call { text-align: center; }
  .iep-actions { flex-direction: column; }
  .iep-actions .btn { text-align: center; line-height: 1.35; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem 1.25rem; }
  .btn-gold { width: 100%; }
  .card.placeholder { min-height: 190px; padding: 2.25rem 1.5rem 1.75rem; }
  .pillars { grid-template-columns: 1fr; gap: 1rem; }
  .section { padding: 4rem 0; }
  .hero-inner { padding: 3.5rem 0 3.25rem; }
  .hero-logo { padding: 1.5rem 1.25rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 1.15rem; }
  .brand-llc { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
