/* ==========================================================================
   THE GINNES Disability & Community Services - Brand Stylesheet
   Color Palette extracted directly from the Butterfly Logo:
   - Deep Navy Blue: #0B1B3D
   - Vibrant Teal:   #00A896
   - Leaf Green:     #43A047
   - Amethyst:       #7B2CBF
   ========================================================================== */

:root {
  /* Updated to exactly match your logo's rich tones */
  --navy-dark: #071D49;       /* The deep blue text of "The GINNE's" */
  --navy-mid: #142850;        
  --teal-vibrant: #178B8D;    /* The outer edge of the left wing */
  --teal-soft: #E0F2F1;
  --green-leaf: #5CAD5C;      /* The inner edge of the left wing */
  --green-soft: #E8F5E9;
  --purple-amethyst: #8235A6; /* The center tone of the right wing */
  --purple-soft: #F3E5F5;
  
  --ink: #0F172A;
  --ink-soft: #475569;
  --paper: #F8FAFC;
  --paper-card: #FFFFFF;
  --white: #FFFFFF;
  
  --line: rgba(15, 23, 42, 0.1);
  --shadow-sm: 0 4px 12px rgba(11, 27, 61, 0.05);
  --shadow-md: 0 12px 32px rgba(11, 27, 61, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 27, 61, 0.12);
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

/* Accessibility Skip Link */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--navy-dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
  transition: transform .2s ease;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: all .2s ease;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: .05em;
  font-size: 1.25rem;
  color: var(--navy-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.main-nav a:hover {
  color: var(--teal-vibrant);
}

.main-nav .nav-cta {
  padding: 10px 22px;
  background: var(--navy-dark);
  color: var(--white);
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}

.main-nav .nav-cta:hover {
  background: var(--teal-vibrant);
  color: var(--white);
  transform: translateY(-1px);
}

/* Menu Button Mobile */
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: var(--navy-dark);
  border-radius: 2px;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
}
.hero-glow-teal {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: var(--teal-vibrant);
}
.hero-glow-purple {
  width: 450px;
  height: 450px;
  bottom: -150px;
  left: -100px;
  background: var(--purple-amethyst);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-vibrant);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-leaf);
  display: inline-block;
}

h1, h2, h3 {
  font-family: "Outfit", sans-serif;
  color: var(--navy-dark);
  line-height: 1.12;
}

h1 {
  font-size: clamp(3rem, 5.5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0;
}

h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal-vibrant), var(--purple-amethyst));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-amethyst);
  margin: 10px 0 0;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 24px 0 36px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: all .25s ease;
}

.button-primary {
  background: var(--navy-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.button-primary:hover {
  background: var(--teal-vibrant);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button-secondary {
  background: var(--white);
  color: var(--navy-dark);
  border: 1px solid var(--line);
}
.button-secondary:hover {
  border-color: var(--navy-dark);
  transform: translateY(-2px);
}

/* Hero Card & Logo Animation */
.hero-card-wrapper {
  perspective: 1000px;
}

.hero-card {
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  position: relative;
  text-align: center;
}

.logo-pulse-container {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-soft), var(--purple-soft));
  animation: floatPulse 4s infinite ease-in-out;
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

.hero-card-label {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--purple-amethyst);
  margin-bottom: 12px;
}

blockquote {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.4;
}

/* Section Shared */
.section { padding: 96px 0; }

.section-heading {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-heading.text-center {
  margin-inline: auto;
  text-align: center;
}

h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  letter-spacing: -.02em;
  margin: 0;
}

/* Story Section */
.story-box {
  background: var(--white);
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 32px;
  align-items: start;
}

.story-text p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.story-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.icon-teal { background: var(--teal-vibrant); }
.icon-purple { background: var(--purple-amethyst); }
.icon-green { background: var(--green-leaf); }

.highlight-item h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}
.highlight-item p {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-soft);
}

/* Acronym Section */
.acronym-section {
  background: var(--navy-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.acronym-section h2, .acronym-section .section-subheading {
  color: var(--white);
}

.section-subheading {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-top: 12px;
}

.acronym-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.acronym-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: transform .3s ease, border-color .3s ease;
}

.acronym-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-vibrant);
}

.acronym-letter {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
}

.letter-navy { color: #818CF8; }
.letter-teal { color: #2DD4BF; }
.letter-green { color: #4ADE80; }
.letter-purple { color: #C084FC; }

.acronym-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.acronym-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: .98rem;
}

/* Values Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--paper-card);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-number {
  font-size: .85rem;
  font-weight: 800;
  color: var(--teal-vibrant);
  background: var(--teal-soft);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
}

.value-card h3 {
  font-size: 1.3rem;
  margin: 24px 0 12px;
}

.value-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
}

/* Building Section */
.building-panel {
  background: var(--white);
  padding: 56px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.focus-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.focus-item {
  display: flex;
  gap: 16px;
}

.focus-arrow {
  color: var(--teal-vibrant);
  font-size: 1.4rem;
  font-weight: 800;
}

.focus-item h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.focus-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
}

/* Status Notice Box */
.status-notice {
  margin-top: 32px;
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.status-icon {
  width: 32px;
  height: 32px;
  background: #F59E0B;
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.status-notice h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #92400E;
}

.status-notice p {
  margin: 0;
  font-size: .92rem;
  color: #78350F;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-intro {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 16px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.contact-form label span {
  display: block;
  margin-bottom: 8px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--teal-vibrant);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.contact-form .button-primary {
  width: 100%;
  border: 0;
  margin-top: 10px;
}

.form-note {
  font-size: .8rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 14px;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.footer-brand .brand-name { color: var(--white); }
.site-footer p { color: rgba(255,255,255,0.65); font-size: .95rem; }
.footer-meta { text-align: right; }
.legal-status { font-size: .85rem; margin-top: 4px; }

/* Responsive Queries */
@media (max-width: 990px) {
  .hero-grid, .story-grid, .building-panel, .contact-grid {
    grid-template-columns: 1fr;
  }
  .story-box, .building-panel { padding: 36px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}
