:root{
  /* ============================================================
     BRAND PALETTE — the only 8 colors used anywhere on this site.
     Everything below is derived from these (including opacity
     variants, which stay "the same color", just faded).
     ============================================================ */
  --p-ink-950:   #10251F;
  --p-ink-800:   #17352D;
  --p-sage-700:  #777A73;
  --p-sage-500:  #A7B3A6;
  --p-sage-300:  #D8D5CC;
  --p-sage-200:  #DCE2DA;
  --p-cream-100: #F1EFE7;
  --p-cream-50:  #FAF9F5;

  /* -- Sanctuary: the dark ground -- */
  --sanctuary:       var(--p-ink-800);
  --sanctuary-deep:  var(--p-ink-950);
  --sanctuary-light: var(--p-sage-500);   /* accent wash: arch glow, hovers, gradient stops */
  --sanctuary-line:  rgba(250,249,245,0.14);

  /* -- Stone: the light ground -- */
  --stone:      var(--p-cream-100);
  --stone-dim:  var(--p-sage-300);

  /* -- Ink: text on stone — the primary brand green, never the near-black 950
     (950 is reserved for dark grounds only, so nothing on a light page ever reads as plain black) -- */
  --ink:      var(--p-ink-800);
  --ink-soft: rgba(23,53,45,0.72);        /* p-ink-800 faded — passes AA on stone, unlike flat sage-700 */

  /* -- Warm text on dark grounds -- */
  --linen:     var(--p-cream-50);
  --linen-dim: var(--p-sage-500);

  /* -- Accent-by-weight, not by hue: deep ink on light grounds, pale sage on dark -- */
  --clay:       var(--p-ink-800);
  --clay-deep:  var(--p-ink-950);
  --clay-warm:  var(--p-sage-200);        /* labels/icons/links on the sanctuary ground */

  --ff-display: 'Fraunces', serif;
  --ff-body: 'Karla', sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box;}

html{scroll-behavior:smooth;}

#programlar, #hakkimizda, #iletisim{ scroll-margin-top: 96px; }

body{
  font-family: var(--ff-body);
  background: var(--sanctuary);
  color: var(--linen);
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
}

a{color:inherit; text-decoration:none;}

::selection{ background: var(--clay); color: var(--linen); }

:focus-visible{ outline: 2px solid var(--clay-deep); outline-offset: 3px; }
.nav--on-dark :focus-visible{ outline-color: var(--clay-warm); }

/* film grain overlay for premium texture */
.grain{
  position:fixed; inset:0; z-index:999; pointer-events:none;
  opacity:.035; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- NAV ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:60;
  display:flex; align-items:center; justify-content:space-between;
  padding: 34px 48px;
  color: var(--ink);
  transition: color .5s ease;
}
.nav.nav--on-dark{ color: var(--linen); }

.nav__brand{
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav__brand span{ font-weight:400; opacity:.68; font-style:italic; }

.nav__links{ display:flex; align-items:center; gap:40px; flex-wrap:wrap; row-gap:8px; justify-content:flex-end; }
.nav__links a{
  position:relative;
  white-space:nowrap;
  font-family: var(--ff-body);
  font-size:15px;
  font-weight:600;
  letter-spacing:0.01em;
  opacity:.82;
  transition: opacity .3s ease;
}
.nav__links a::after{
  content:'';
  position:absolute; left:0; right:0; bottom:-4px;
  height:1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.nav__links a:hover{ opacity:1; }
.nav__links a:hover::after{ transform: scaleX(1); transform-origin: left; }

/* ---------- HERO ---------- */
/* .hero is a tall scroll runway; .hero__stage is the pinned viewport-sized scene inside it */
.hero{
  position:relative;
  height: 300vh;
  width:100%;
}

.hero__stage{
  position:sticky;
  top:0;
  height:100vh;
  min-height: 640px;
  width:100%;
  overflow:hidden;
  background: var(--stone);
}

.hero__reveal{
  position:absolute; inset:0; z-index:50;
  background: var(--stone);
  transform-origin: top;
}

.hero__sky{
  position:absolute; inset:0; z-index:1;
}
.hero__video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transform: scale(1.08); /* static headroom so the vertical pan never shows an edge */
  filter: saturate(.9) brightness(1.03);
}
.hero__bg-fade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(241,239,231,0) 45%, rgba(241,239,231,0.55) 78%, var(--stone) 100%);
}

/* signature: "light through the sanctuary" — a soft arched glow, as if sun fell
   through a doorway onto the wall behind her, echoing the studio's own arch niche */
.hero__arch{
  position:absolute;
  z-index:2;
  top:-8%;
  left:50%;
  transform:translateX(-50%);
  width:min(78vw, 980px);
  height:62%;
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(250,249,245,0.6) 0%, rgba(250,249,245,0.24) 38%, rgba(250,249,245,0) 72%);
  mix-blend-mode: soft-light;
  pointer-events:none;
}

/* she is the focal point: centered, large, cropped top and bottom by the stage */
.hero__figure{
  position:absolute;
  z-index:3;
  top: 4%;
  left:50%;
  transform: translate(-50%, 0) scale(1);
  transform-origin: 50% 14%;
  height: 148%;
  max-width:none;
  width:auto;
  pointer-events:none;
  user-select:none;
  will-change: transform;
}

/* the breath: as she dissolves, these words rise to take her place —
   one continuous exhale, no dead frame in between */
.hero__whisper{
  position:absolute; inset:0;
  z-index:4;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 6px;
  text-align:center;
  font-family: var(--ff-display);
  font-style: italic;
  font-variation-settings: 'opsz' 40;
  font-weight: 500;
  font-size: clamp(21px, 2.8vw, 32px);
  line-height: 1.45;
  color: var(--ink);
  padding: 0 24px;
  opacity: 0;
  pointer-events:none;
}
.hero__whisper span{ display:block; }

.hero__tagline{
  position:absolute;
  top: 42px;
  left:0; right:0;
  z-index:6;
  text-align:center;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.hero__content{
  position:absolute; inset:0;
  z-index:5;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 24px;
  padding: 0 56px 100px;
  pointer-events:none;
}
.hero__content > *{ pointer-events:auto; }

.hero__text{ max-width: 460px; }

.hero__eyebrow{
  font-family: var(--ff-body);
  font-size:14px;
  font-weight:700;
  letter-spacing:0.1em;
  color: var(--clay);
  margin-bottom: 32px;
  text-transform:uppercase;
}

.hero__title{
  font-family: var(--ff-display);
  font-variation-settings: 'opsz' 144;
  font-size: clamp(44px, 7.2vw, 100px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero__title .line{ display:block; overflow:hidden; }
.hero__title .line span{ display:inline-block; }

.hero__social{
  display:flex; align-items:center; gap:18px;
  margin-top: 30px;
}
.hero__social a{
  width:19px; height:19px; display:flex;
  color: var(--ink);
  opacity:.85;
  transition: opacity .3s ease, transform .3s ease, color .3s ease;
}
.hero__social svg{ width:100%; height:100%; }
.hero__social a:hover{ opacity:1; transform: translateY(-2px); color: var(--clay-deep); }

.hero__cta{
  display:flex; align-items:center; gap:16px;
  flex-wrap: wrap;
  flex-shrink:0;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height: 62px;
  padding: 0 36px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-size:16px; font-weight:600;
  letter-spacing: 0.01em;
  transition: background .35s ease, color .35s ease, opacity .35s ease;
  white-space:nowrap;
}
/* solid buttons invert with their ground: dark fill on the light stone,
   light fill on the dark sanctuary — always the highest-contrast pair
   available in the palette, never a hue accent */
.btn--solid{
  background: var(--sanctuary-deep);
  color: var(--linen);
}
.btn--solid:hover{ background: var(--sanctuary); }

.closing .btn--solid,
.lp-hero .btn--solid{
  background: var(--linen);
  color: var(--sanctuary-deep);
}
.closing .btn--solid:hover,
.lp-hero .btn--solid:hover{ background: var(--stone-dim); }

.btn--outline{
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(16,37,31,0.22);
}
.btn--outline:hover{
  background: var(--ink);
  color: var(--stone);
}

/* ---------- SHARED SECTION RHYTHM ---------- */
.next-section{ background: var(--sanctuary); }

.eyebrow{
  font-family: var(--ff-body);
  font-size:14px;
  font-weight:700;
  letter-spacing:0.1em;
  color: var(--clay-warm);
  text-transform:uppercase;
  margin-bottom: 18px;
}

.section-title{
  font-family: var(--ff-display);
  font-variation-settings: 'opsz' 60;
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--linen);
}

.section-sub{
  font-family: var(--ff-body);
  font-size: 17px;
  color: var(--linen-dim);
  max-width: 44ch;
  margin-top: 18px;
  line-height: 1.6;
}

.section-head{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}


/* ---------- PROGRAMS ---------- */
.programs{
  background: var(--sanctuary);
  padding: 40px 48px 160px;
}

.program-grid{
  max-width: 1160px;
  margin: 72px auto 0;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.program-card{
  background: var(--sanctuary-deep);
  border: 1px solid var(--sanctuary-line);
  border-radius: 22px;
  padding: 40px 32px;
  display:flex;
  flex-direction:column;
  min-height: 420px;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease, border-color .5s ease;
}
.program-card:hover{
  transform: translateY(-8px);
  border-color: rgba(167,179,166,0.45);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.35);
}
.program-card--featured{
  background: var(--stone);
  border-color: transparent;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.45);
}
.program-card--featured:hover{
  box-shadow: 0 34px 64px -24px rgba(0,0,0,0.5);
}

.program-card__label{
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight:700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-warm);
  margin-bottom: 22px;
}
.program-card--featured .program-card__label{ color: var(--clay); }

.program-card__title{
  font-family: var(--ff-display);
  font-variation-settings: 'opsz' 40;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.16;
  color: var(--linen);
  margin-bottom: 16px;
}
.program-card--featured .program-card__title{ color: var(--ink); }

.program-card__desc{
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--linen-dim);
  margin-bottom: 24px;
}
.program-card--featured .program-card__desc{ color: var(--ink-soft); }

.program-card__meta{
  list-style:none;
  display:flex; flex-wrap:wrap; gap: 10px;
  margin-bottom: 32px;
}
.program-card__meta li{
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight:600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--linen-dim);
  border: 1px solid var(--sanctuary-line);
  border-radius: 999px;
  padding: 6px 14px;
}
.program-card--featured .program-card__meta li{
  color: var(--ink-soft);
  border-color: rgba(16,37,31,0.16);
}

.program-card .btn{ margin-top:auto; align-self:flex-start; }

.btn--outline-dark{
  color: var(--linen);
  border-color: var(--sanctuary-line);
}
.btn--outline-dark:hover{
  background: var(--linen);
  color: var(--sanctuary-deep);
}

/* ---------- ABOUT ---------- */
.about{
  background: var(--stone);
  padding: 140px 48px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items:center;
  max-width: 1160px;
  margin: 0 auto;
}

.about__media{
  position:relative;
  aspect-ratio: 4/5;
  overflow:hidden;
  border-radius: 18px;
}
.about__img{
  width:100%; height:100%;
  border-radius: 18px;
  object-fit:cover;
  object-position: 50% 22%;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.about__media:hover .about__img{ transform: translateY(-6px) scale(1.03); }

.about__content .eyebrow{ color: var(--clay); }
.about__content .section-title{ color: var(--ink); }

.about__text{
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 24px 0 30px;
}

.about__quote{
  font-family: var(--ff-display);
  font-style: italic;
  font-variation-settings: 'opsz' 40;
  font-size: 24px;
  color: var(--clay);
  position:relative;
  padding-left: 26px;
  border-left: 2px solid var(--clay);
}

/* ---------- CLOSING / CONTACT ---------- */
.closing{
  position:relative;
  background: var(--sanctuary);
  padding: 180px 48px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  overflow:hidden;
}
.closing .eyebrow{ color: var(--clay-warm); }

.hero__arch--closing{
  top:auto; bottom:-10%;
  background: radial-gradient(ellipse at 50% 70%, rgba(167,179,166,0.3) 0%, rgba(167,179,166,0.12) 40%, rgba(167,179,166,0) 72%);
  animation: archBreathe 7s ease-in-out infinite;
}
@keyframes archBreathe{
  0%,100%{ opacity:.75; transform: translateX(-50%) scale(1); }
  50%{ opacity:1; transform: translateX(-50%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce){
  .hero__arch--closing{ animation:none; }
}

.closing__title{
  font-family: var(--ff-display);
  font-variation-settings: 'opsz' 144;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.02;
  color: var(--linen);
  position:relative;
  z-index:1;
}

.closing__text{
  font-family: var(--ff-body);
  font-size: 17px;
  color: var(--linen-dim);
  max-width: 44ch;
  margin: 26px 0 42px;
  position:relative;
  z-index:1;
}

.closing .btn{ position:relative; z-index:1; }

.closing__social{
  display:flex; gap:22px;
  margin-top: 54px;
  position:relative;
  z-index:1;
}
.closing__social a{
  width:20px; height:20px; display:flex;
  color: var(--linen-dim);
  transition: color .3s ease, transform .3s ease;
}
.closing__social svg{ width:100%; height:100%; }
.closing__social a:hover{ color: var(--clay-warm); transform: translateY(-2px); }

/* ---------- FOOTER ---------- */
.footer{
  background: var(--sanctuary-deep);
  padding: 48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 20px;
  color: var(--linen);
  border-top: 1px solid var(--sanctuary-line);
}
.footer__links{
  list-style:none;
  display:flex; gap:28px;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--linen-dim);
}
.footer__links a:hover{ color: var(--clay-warm); }
.footer__copy{
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--linen-dim);
  width:100%;
  text-align:center;
  padding-top: 24px;
  border-top: 1px solid var(--sanctuary-line);
}
.footer__credit{
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--linen-dim);
  width:100%;
  text-align:center;
  opacity: .6;
}
.footer__credit a{ color: inherit; transition: color .3s ease; }
.footer__credit a:hover{ color: var(--clay-warm); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px){
  .nav{ padding: 20px 22px; flex-wrap:wrap; row-gap:10px; }
  .nav__links{ gap:16px; width:100%; justify-content:flex-start; }
  .nav__links a{ font-size:13px; }

  .hero__content{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-end;
    gap:22px;
    padding: 0 22px 44px;
  }
  .hero__text{ max-width:100%; }
  .hero__tagline{ display:none; }
  .hero__figure{ height: 92%; top:8%; }
  .hero__cta{ gap:12px; }
  .btn{ height:54px; padding:0 26px; font-size:14px; }
  .btn--outline{ background: var(--stone); }
  .btn--outline-dark{ background: transparent; }
}

@media (max-width: 480px){
  .hero__title{ font-size: 13vw; }
  .hero__figure{ height: 78%; top:10%; }
  .nav__links{ gap:12px; }
  .nav__links a{ font-size:12px; }
  .nav__brand{ font-size:15px; }
}

@media (max-width: 960px){
  .about{ grid-template-columns:1fr; gap:56px; padding: 100px 24px; }
  .program-grid{ grid-template-columns:1fr; }
  .programs{ padding: 20px 24px 110px; }
  .section-head{ padding:0 24px; }
  .closing{ padding: 130px 24px; }
  .footer{ padding: 36px 24px; justify-content:center; text-align:center; }
  .footer__links{ flex-wrap:wrap; justify-content:center; }
}

@media (max-width: 480px){
  .about__media{ aspect-ratio:1/1; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}
