/* ── Gray Owl Group — Main Stylesheet ── */
/* Design: Refined minimalism. Generous whitespace. Editorial quality. */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gog-blue: #030A8C;
  --periwinkle: #7E84F2;
  --fog: #BDBEBF;
  --navy: #023859;
  --owl-black: #0D0D0D;
  --bg: #F5F6F8;
  --white: #ffffff;
  --gold: #F5A623;
  --border: #E8E9EB;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'IBM Plex Serif', Georgia, serif;
  --font-condensed: 'IBM Plex Sans Condensed', var(--font-sans);
  --font-mono: 'IBM Plex Mono', monospace;
  --max-w: 1100px;
  --max-w-narrow: 780px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--owl-black);
  background: var(--bg);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gog-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--periwinkle); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.25;
  color: var(--owl-black);
}
h1 { font-size: 2.75rem; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
h2 { font-size: 1.75rem; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1.25rem; }

.serif { font-family: var(--font-serif); }
.condensed { font-family: var(--font-condensed); }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 2rem; }

.section {
  padding: 5rem 0;
}
.section--alt {
  background: var(--white);
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 72px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-header__logo {
  display: flex;
  align-items: center;
  color: var(--owl-black);
}
.site-header__logo .logo-wordmark {
  height: clamp(48px, 5vw, 64px);
  width: auto;
}
.site-header__logo .logo-icon {
  display: none;
  height: 40px;
  width: auto;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.site-header__nav a {
  color: var(--owl-black);
  font-size: 0.95rem;
  font-weight: 450;
  transition: color 0.2s;
}
.site-header__nav a:hover,
.site-header__nav a.active {
  color: var(--gog-blue);
}
.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--periwinkle);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}
.site-header__cta:hover {
  background: var(--gog-blue);
  color: var(--white) !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--owl-black);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  padding: 10rem 0 6rem;
  text-align: left;
}
.hero--with-bg {
  background: url('/images/hero-bg.png') center center / cover no-repeat;
  position: relative;
}
.hero--with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,56,89,0.88) 0%, rgba(3,10,140,0.78) 50%, rgba(126,132,242,0.55) 100%);
}
.hero--with-bg .container {
  position: relative;
  z-index: 1;
}
.hero--with-bg h1,
.hero--with-bg .hero__sub {
  color: var(--white);
}
.hero--with-bg .hero__sub {
  opacity: 0.92;
}
.hero--with-bg .btn--secondary {
  color: var(--white);
  border-color: var(--white);
  background: transparent;
}
.hero--with-bg .btn--secondary:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.hero h1 {
  font-size: 3.25rem;
  max-width: 700px;
}
.hero__sub {
  font-size: 1.15rem;
  color: #555;
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn--primary {
  background: var(--gog-blue);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--secondary {
  background: transparent;
  color: var(--gog-blue);
  border: 2px solid var(--gog-blue);
}
.btn--secondary:hover {
  background: var(--gog-blue);
  color: var(--white);
}
.btn--accent {
  background: var(--periwinkle);
  color: var(--white);
}
.btn--accent:hover {
  background: var(--gog-blue);
  color: var(--white);
}

/* ── Value Blocks ── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border);
}
.value-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.value-card__icon img {
  width: 48px;
  height: 48px;
}

/* ── Stage Visual ── */
.stage-visual {
  text-align: center;
  margin-bottom: 2rem;
}
.stage-visual img {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

/* ── About Illustration ── */
.about-illustration {
  margin: 2.5rem 0;
  text-align: center;
}
.about-illustration img {
  max-width: 480px;
  width: 100%;
  border-radius: 12px;
  margin: 0 auto;
}
.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.value-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Steps ── */
.steps {
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}
.step__number {
  counter-increment: step;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--periwinkle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gog-blue);
}
.step__content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.step__content p {
  color: #555;
  max-width: 600px;
}

/* ── About Bio ── */
.bio-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}
.bio-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.bio-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ── Principles ── */
.principles {
  list-style: none;
  counter-reset: principle;
}
.principles li {
  counter-increment: principle;
  margin-bottom: 2rem;
  padding-left: 2.5rem;
  position: relative;
}
.principles li::before {
  content: counter(principle) ".";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--gog-blue);
  font-size: 1.1rem;
}
.principles li strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

/* ── Profile Cards (Who This Is For) ── */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.profile-card {
  background: var(--white);
  border-left: 4px solid var(--periwinkle);
  padding: 1.5rem 1.75rem;
  border-radius: 0 8px 8px 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: #444;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info {
  padding: 2rem 0;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.contact-info__item .icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--owl-black);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--bg);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--periwinkle);
  background: var(--white);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--gog-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover {
  background: var(--navy);
}
.form-submit:disabled {
  background: var(--fog);
  cursor: not-allowed;
}
.form-message {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}
.form-message.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.form-message.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ── Pull Quote ── */
.pull-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy);
  border-left: 4px solid var(--periwinkle);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: var(--white);
  border-radius: 0 8px 8px 0;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 {
  margin-bottom: 1rem;
}
.cta-section p {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: #555;
  font-size: 1.05rem;
}
.cta-section .btn { margin: 0 0.5rem; }

/* ── Footer ── */
.site-footer {
  background: var(--owl-black);
  color: #aaa;
  padding: 3rem 0;
  font-size: 0.9rem;
  line-height: 1.8;
}
.site-footer a { color: #ccc; }
.site-footer a:hover { color: var(--white); }
.site-footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}
.site-footer__brand img {
  height: clamp(36px, 4vw, 52px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.site-footer__copy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.85rem;
}

/* ── Cookie Consent ── */
.consent-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: #333;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}
.consent-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.consent-banner__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.consent-banner__accept {
  background: var(--gog-blue);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}
.consent-banner__decline {
  background: none;
  border: none;
  color: #999;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

/* ── Spacer ── */
.header-spacer { height: 72px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .bio-section { grid-template-columns: 1fr; text-align: center; }
  .bio-photo { max-width: 240px; margin: 0 auto; }
  .step { grid-template-columns: 56px 1fr; gap: 1.25rem; }
}

@media (max-width: 768px) {
  .site-header__nav { display: none; }
  .site-header__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    gap: 1.25rem;
    z-index: 999;
  }
  .nav-toggle { display: block; }
  .site-header__logo .logo-wordmark { display: none; }
  .site-header__logo .logo-icon { display: block; }
  h1 { font-size: 2.25rem; }
  .hero { padding: 8rem 0 4rem; }
  .hero h1 { font-size: 2.5rem; }
  .container, .container-narrow { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .site-footer__grid { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .hero h1 { font-size: 2rem; }
  .hero__sub { font-size: 1rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ── Mobile sticky CTA ── */
.mobile-cta {
  display: none;
}
@media (max-width: 768px) {
  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0.75rem 1rem;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
    text-align: center;
  }
  .mobile-cta .btn {
    width: 100%;
    justify-content: center;
  }
  /* Push consent banner above mobile CTA */
  .consent-banner { bottom: 56px; }
}
