/* =========================================================
   YILDIRIM LAB — BASE SITE STYLES
   Organized without changing the final visual behavior.
   ========================================================= */

:root {
  --navy: #08111f;
  --navy2: #11243f;
  --ink: #17253a;
  --muted: #607087;
  --sapphire: #426bff;
  --teal: #19b8b7;
  --aqua: #7ee8dd;
  --champagne: #c6a36a;
  --line: #e0e7f0;
  --soft: #f5f7fb;
  --white: #fff;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 20px 70px rgba(6,19,33,.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg,#fbfcfe 0%,#ffffff 45%,#f6f8fc 100%);
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  max-width: var(--max);
  margin: auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: white;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(225,232,240,.9);
}

.navbar {
  max-width: var(--max);
  margin: auto;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: conic-gradient(from 210deg,var(--teal),var(--sapphire),#172554,var(--champagne),var(--teal));
  box-shadow: 0 10px 28px rgba(45,91,255,.22);
  position: relative;
  overflow: hidden;
}

.brand-mark:before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255,255,255,.78);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(35deg);
}

.brand-title {
  display: block;
  font-weight: 850;
  letter-spacing: -.035em;
  color: var(--navy);
  line-height: 1;
}

.brand-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 760;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav>a,.dropdown>button {
  font: 760 14px/1 Inter,ui-sans-serif,system-ui,sans-serif;
  color: #24324a;
  text-decoration: none;
  padding: 13px 12px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav>a:hover,.dropdown:hover>button,.dropdown>button:focus {
  background: #eef7f7;
  color: #087f7b;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  min-width: 252px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(6,19,33,.14);
  border-radius: 14px;
  padding: 8px;
  z-index: 1000;
  transition: none;
}

.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu a {
  display: block;
  text-decoration: none;
  color: #263553;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.25;
}

.dropdown-menu a:hover {
  background: #effafa;
  color: #087f7b;
}

.nav .ayla-pill {
  background: linear-gradient(135deg,var(--teal),var(--sapphire));
  color: white;
  box-shadow: 0 10px 26px rgba(25,198,194,.24);
}

.nav .ayla-pill:hover {
  color: white;
  background: linear-gradient(135deg,#10aaa6,#2548d8);
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 8% 12%,rgba(25,184,183,.18),transparent 28%),radial-gradient(circle at 90% 10%,rgba(66,107,255,.18),transparent 28%),linear-gradient(135deg,#07111f 0%,#0b1930 52%,#07101d 100%);
  color: #fff;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,rgba(255,255,255,.055) 0 1px,transparent 1px 92px),linear-gradient(30deg,rgba(133,244,238,.055) 0 1px,transparent 1px 125px);
  opacity: .55;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: auto;
  padding: 92px 24px 82px;
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 46px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 7px 12px;
  color: #e3fffd;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(40px,5.6vw,70px);
  line-height: 1.01;
  margin: 20px 0 18px;
  letter-spacing: -.07em;
}

.hero p {
  font-size: 19px;
  color: #d6e3f2;
  max-width: 690px;
}

.hero-actions,.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.hero-tags span {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 850;
  color: #d8fffb;
  border: 1px solid rgba(133,244,238,.23);
  background: rgba(255,255,255,.07);
  border-radius: 999px;
  padding: 7px 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease;
}

.btn.primary {
  background: linear-gradient(135deg,var(--teal),var(--sapphire));
  color: #fff;
  box-shadow: 0 18px 45px rgba(25,198,194,.25);
}

.btn.secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.24);
}

.btn.light {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn:hover {
  transform: translateY(-1px);
}

.hero-art {
  position: relative;
  border-radius: 36px;
  background: linear-gradient(135deg,rgba(255,255,255,.18),rgba(198,163,106,.24),rgba(66,107,255,.22));
  box-shadow: 0 34px 110px rgba(0,0,0,.35);
  overflow: hidden;
}

.hero-art img {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}

.hero-art-caption {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(8,17,31,.72);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 14px 16px;
}

.hero-art-caption strong {
  color: #fff;
}

.hero-art-caption span {
  color: #cde4f4;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 14px;
}

.stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 13px;
}

.stat strong {
  display: block;
  font-size: 20px;
  color: #fff;
}

.stat span {
  font-size: 12px;
  color: #cae1ff;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: var(--soft);
  border-block: 1px solid #eaf0f8;
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.kicker {
  font-weight: 850;
  color: #087f7b;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 13px;
}

.section h2,.page-title h1 {
  font-size: clamp(30px,4.5vw,50px);
  line-height: 1.05;
  letter-spacing: -.05em;
  margin: 8px 0 14px;
  color: var(--navy);
}

.section-head p,.lead {
  font-size: 18px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3,1fr);
}

.grid.two {
  grid-template-columns: repeat(2,1fr);
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 44px rgba(6,19,33,.055);
  overflow: hidden;
}

.card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg,var(--teal),var(--sapphire),var(--champagne));
  opacity: .72;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 22px;
  letter-spacing: -.025em;
}

.card p {
  color: var(--muted);
  margin: 0 0 12px;
}

.card a.more {
  font-weight: 850;
  color: #087f7b;
  text-decoration: none;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  background: #eefafa;
  color: #087f7b;
  font-weight: 850;
  padding: 5px 10px;
  font-size: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .065em;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg,rgba(25,198,194,.16),rgba(45,91,255,.10));
  border: 1px solid rgba(25,198,194,.24);
}

.card-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: #087f7b;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-icon circle {
  fill: #19c6c2;
  stroke: #087f7b;
}

.page-hero {
  background: radial-gradient(circle at 15% 10%,rgba(25,198,194,.20),transparent 30%),linear-gradient(135deg,#061321,#0d2b49);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,rgba(255,255,255,.055) 0 1px,transparent 1px 85px);
  opacity: .55;
}

.page-title {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: auto;
  padding: 62px 24px;
}

.page-title p {
  max-width: 820px;
  color: #d7e5ff;
  font-size: 18px;
}

.content {
  max-width: var(--max);
  margin: auto;
  padding: 54px 24px;
}

.content-narrow {
  max-width: 900px;
}

.prose {
  font-size: 17px;
}

.prose h2 {
  color: var(--navy);
  letter-spacing: -.03em;
  font-size: 32px;
  margin-top: 38px;
}

.prose h3 {
  color: var(--navy);
  font-size: 23px;
}

.prose p,.prose li {
  color: #34415b;
}

.prose a {
  color: #087f7b;
  font-weight: 760;
}

.callout {
  background: linear-gradient(135deg,#effafa,#f9fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 26px 0;
}

.people-list {
  display: grid;
  gap: 16px;
}

.person {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.avatar {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  background: linear-gradient(135deg,#ecfdfc,#e4e9ff);
  display: grid;
  place-items: center;
  color: #087f7b;
  font-weight: 900;
  font-size: 26px;
}

.pub-list {
  counter-reset: item;
  display: grid;
  gap: 14px;
}

.pub {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.resource-list {
  columns: 2;
  column-gap: 28px;
}

.resource-list li {
  break-inside: avoid;
  margin: 0 0 10px;
}

.ayla-panel {
  background: radial-gradient(circle at top right,rgba(25,198,194,.21),transparent 42%),linear-gradient(135deg,#061321,#0d2b49);
  color: #fff;
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 24px 76px rgba(6,19,33,.22);
}

.ayla-panel p {
  color: #d8e7ff;
}

.ayla-embed {
  display: none;
}

.site-footer {
  background: #061321;
  color: #dce8ff;
  padding: 34px 0;
  margin-top: 40px;
}

.footer-grid {
  max-width: var(--max);
  margin: auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-grid a {
  color: #dce8ff;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width:980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
    background: #f7faff;
    margin: 2px 0 8px;
  }

  .dropdown .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav>a,.dropdown>button {
    text-align: left;
    width: 100%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 620px;
  }

  .grid.three,.grid.two {
    grid-template-columns: 1fr;
  }

  .resource-list {
    columns: 1;
  }

  .footer-grid {
    display: block;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .person {
    grid-template-columns: 1fr;
  }

  .avatar {
    width: 64px;
    height: 64px;
  }

  .hero-art-caption {
    position: static;
    margin-top: 10px;
    display: block;
  }
}

.hero-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  max-width: 620px;
}

.hero-note strong {
  display: block;
  color: #fff;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-note p {
  margin: 0;
  font-size: 15px;
  color: #d8e6f3;
}

.hero-note-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,rgba(25,184,183,.26),rgba(66,107,255,.24));
  border: 1px solid rgba(255,255,255,.16);
}

.hero-note-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #baf7f2;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.person-photo {
  width: 168px;
  height: 378px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(6,19,33,.12);
}

.person.featured {
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 22px;
}

.person.featured h3 {
  margin: 0 0 6px;
  font-size: 28px;
  color: var(--navy);
}

.person.featured p {
  margin: 0 0 10px;
  color: #34415b;
}

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
}

.map-card {
  padding: 0;
  overflow: hidden;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.info-card h3,.map-card h3 {
  margin-top: 0;
}

.muted-links a {
  color: #087f7b;
  text-decoration: none;
  font-weight: 760;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.info-list div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg,#fff,#fbfcff);
}

@media (max-width:980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .person.featured {
    grid-template-columns: 1fr;
  }

  .person-photo {
    width: 100%;
    max-width: 260px;
    height: auto;
  }
}

.hero-inner {
  padding-top: 70px;
  padding-bottom: 56px;
  align-items: center;
}

.hero-copy {
  padding-top: 6px;
}

.hero-art {
  padding: 10px;
  align-self: start;
}

.hero-art img {
  width: 100%;
  display: block;
  border-radius: 24px;
  aspect-ratio: 1.52 / 1;
  object-fit: cover;
  object-position: center center;
}

.hero-art-caption {
  left: 24px;
  right: 24px;
  bottom: 20px;
}

.hero-note {
  margin-top: 20px;
}

.hero {
  min-height: auto;
}

.page-hero.compact .page-title {
  padding: 24px 24px 20px;
}

.page-hero.compact h1 {
  font-size: clamp(26px,4vw,40px);
  margin: 6px 0 8px;
}

.page-hero.compact p {
  font-size: 16px;
  max-width: 700px;
}

.contact-tight .content {
  padding-top: 22px;
}

.contact-grid .map-card iframe {
  min-height: 360px;
}

@media (max-width:980px) {
  .hero-inner {
    padding-top: 56px;
    padding-bottom: 44px;
  }

  .contact-grid .map-card iframe {
    min-height: 300px;
  }
}

/* PEOPLE PAGE — AYLA / INQUIRY BUTTONS
   Flat at rest; homepage-style color change on hover. */

.people-page .join-cta .actions .btn.primary {
  background: #1F8A8A !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .16s ease,
    color .16s ease,
    border-color .16s ease !important;
}

.people-page .join-cta .actions .btn.primary:hover,
.people-page .join-cta .actions .btn.primary:focus-visible {
  background: #ffffff !important;
  background-image: none !important;
  color: #17324D !important;
  border-color: #1F8A8A !important;
  box-shadow: none !important;
  transform: none !important;
}
