/* Shared mobile layout and progressive motion, loaded after page styles. */
html.menu-open { overflow: hidden; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.fade-up:not(.reveal-ready), .fade-in:not(.reveal-ready), .fade-scale:not(.reveal-ready) {
  opacity: 1; transform: none;
}
.reveal-ready {
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: auto;
}
.reveal-ready.fade-up:not(.is-visible) { transform: translateY(26px); }
.reveal-ready.is-visible { opacity: 1; }
.drawer-close { width: 44px; height: 44px; }
.drawer-nav a { opacity: 0; transform: translateX(18px); transition: opacity 350ms ease, transform 450ms ease, color 200ms; }
.mobile-drawer.open .drawer-nav a { opacity: 1; transform: none; }
.mobile-drawer.open .drawer-nav a:nth-child(2) { transition-delay: 45ms; }
.mobile-drawer.open .drawer-nav a:nth-child(3) { transition-delay: 90ms; }
.mobile-drawer.open .drawer-nav a:nth-child(4) { transition-delay: 135ms; }
.mobile-drawer.open .drawer-nav a:nth-child(5) { transition-delay: 180ms; }
.faq-list details[open] p { animation: heroFadeUp 350ms ease both; }

@media (max-width: 960px) {
  :root { --header-height: 72px; }
  .site-header .top, .site-header.scrolled .top { height: calc(72px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .mobile-drawer { padding-inline: 24px; background: linear-gradient(150deg, #31412e, #1b281d); }
  .drawer-header { padding-bottom: 22px; margin-bottom: 18px; }
  .drawer-nav { font-size: 16px; letter-spacing: .04em; }
  .drawer-nav a { min-height: 58px; }
  .drawer-quick-actions { margin-top: 28px; }
  .drawer-action-btn { min-height: 50px; }
  .hero-slider-tag { display: none; }
}

@media (max-width: 768px) {
  :root { --container-gutter: 22px; }
  .wrap { width: calc(100% - 44px); }
  .hero {
    min-height: 100svh;
    padding: calc(112px + env(safe-area-inset-top)) 22px max(22px, env(safe-area-inset-bottom));
    gap: 24px;
  }
  .hero-slider::after {
    background: linear-gradient(180deg, 
      rgba(14, 20, 12, 0.5) 0%, 
      rgba(14, 20, 12, 0.22) 28%, 
      rgba(14, 20, 12, 0.68) 56%, 
      rgba(14, 20, 12, 0.95) 88%
    );
  }
  .hero-copy-wrapper { position: relative; inset: auto; margin-top: auto; width: 100%; }
  .hero-copy .caps { font-size: 10.5px; letter-spacing: .14em; line-height: 1.5; max-width: 100%; margin-bottom: 8px; color: #e2e8db; }
  .hero-copy .caps::before { width: 24px; flex-shrink: 0; margin-right: 10px; }
  .hero h1 { font-family: var(--font-serif); font-size: clamp(30px, 8.4vw, 48px); line-height: 1.1; letter-spacing: -.025em; margin: 12px 0 16px; overflow-wrap: break-word; }
  .hero h1 i { color: #d2ddc3; }
  .hero p { font-size: 14.5px; line-height: 1.65; max-width: 100%; color: rgba(255, 255, 255, 0.92); margin: 0; }
  
  /* BUTONLAR: ALT ALTA (KULLANICI TALEBİ) */
  .hero-actions { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    margin-top: 20px; 
    width: 100%; 
  }
  .hero-actions .button { 
    min-height: 48px; 
    width: 100%; 
    font-size: 12.5px; 
    padding: 13px 18px; 
    justify-content: center; 
    text-align: center;
    letter-spacing: .08em; 
    box-sizing: border-box; 
  }
  .hero-actions .button b { 
    font-size: 16px; 
    margin-left: 6px; 
    line-height: 1; 
  }
  .hero-actions .button--hero { 
    background: var(--cream) !important; 
    color: var(--pine) !important; 
    border-color: var(--cream) !important; 
  }
  .hero-actions .button--ghost { 
    border-color: rgba(255, 255, 255, 0.4); 
    background: rgba(255, 255, 255, 0.08); 
  }

  /* ALTTTAKİ LOADING / SLIDER YAPISI: SATIRI KAPLAMASIN, ORTALASIN (KULLANICI TALEBİ) */
  .hero-slider-controls { 
    position: relative; 
    inset: auto; 
    margin: 18px auto 0; 
    width: auto; 
    max-width: max-content; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px; 
    padding: 8px 18px; 
    background: rgba(14, 20, 12, 0.55); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.16); 
    border-radius: 999px; 
    box-sizing: border-box; 
  }
  .hero-slider-controls .slider-arrow,
  .hero-slider-tag { 
    display: none !important; 
  }
  .slider-dots { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    flex: 0 0 auto; 
  }
  .slider-dot { 
    width: 28px !important; 
    height: 3px !important; 
    border-radius: 2px; 
    background: rgba(255, 255, 255, 0.28); 
    padding: 0; 
    overflow: hidden; 
    position: relative; 
    border: none; 
    flex: 0 0 28px !important;
  }
  .slider-dot .dot-fill { 
    position: absolute; 
    top: 0; 
    left: 0; 
    bottom: 0; 
    width: 0%; 
    background: #ffffff; 
    border-radius: 2px; 
  }
  .hero-slider-counter { 
    font-size: 11px; 
    letter-spacing: 0.12em; 
    color: rgba(255, 255, 255, 0.85); 
    display: flex; 
    align-items: center; 
    gap: 3px; 
    user-select: none; 
    margin: 0; 
  .page-intro, .page-intro-inner { min-height: 500px; }
  .page-intro-inner { padding-top: calc(98px + env(safe-area-inset-top)); padding-bottom: 30px; }
  .page-intro h1 { font-size: clamp(36px, 10vw, 54px); line-height: 1.12; }
  .page-intro-copy { padding-top: 26px; }
  .page-intro-copy p { font-size: 15px; }
  .page-intro-location { margin-top: auto; }
  .page-breadcrumb { flex-wrap: wrap; gap: 10px; }
  .section-title, .statement h2, .program-top .section-title, .collab-text .section-title { font-family: var(--font-serif); font-size: clamp(30px, 8vw, 42px); line-height: 1.18; }
  .caps { font-size: 10px; letter-spacing: .14em; line-height: 1.6; }
  .caps::before { width: 25px; flex-shrink: 0; }
  .statement, .program, .pillars, .feel-results { padding-block: 64px; }
  .statement p, .pillar p, .agenda article p { font-size: 16px; line-height: 1.75; }
  .feel-header { text-align: left; margin-bottom: 30px; }
  .feel-header .section-title { font-size: clamp(30px, 8vw, 42px); }
  .feel-grid { grid-template-columns: 1fr; gap: 12px; }
  .feel-card { display: grid; grid-template-columns: 82px minmax(0, 1fr); column-gap: 18px; padding: 24px 18px; border-radius: 8px; }
  .feel-num { grid-column: 1; grid-row: 1 / 3; font-size: 40px; margin: 2px 0 0; }
  .feel-card h3 { grid-column: 2; font-size: 21px; margin-bottom: 8px; }
  .feel-card p { grid-column: 2; font-size: 14px; line-height: 1.65; }
  .pillar { padding-block: 28px; }
  .pillar h3 { font-family: var(--font-serif); font-size: 25px; }
  .program-bottom-bar .button { width: 100%; justify-content: space-between; font-size: 11px; }
  .package-card, .schedule-day, .policy-card, .contact-form { min-width: 0; border-radius: 8px; }
  .package-meta { gap: 10px; }
  .schedule-content, .policy-card, .contact-form { overflow-wrap: anywhere; }
  .photo-band, html.is-ios .photo-band { background-attachment: scroll !important; clip-path: none; }
  .photo-band::before, html.is-ios .photo-band::before { position: absolute; width: 100%; height: 100%; }
  .footer { padding-top: 48px; }
  .footer-top { gap: 28px; padding-bottom: 24px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .footer-links a { min-height: 44px; font-size: 14px; }
  .footer-info { font-size: 14px; }
  .closing .button { min-height: 52px; font-size: 12px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding-inline: 18px; }
  .feel-card { grid-template-columns: 66px minmax(0, 1fr); gap: 10px; padding: 20px 14px; }
  .feel-num { font-size: 34px; }
  .hero-slider-counter { display: none; }
}
@media (hover: none) {
  .pillar:hover, .feel-card:hover, .policy-card:hover, .button:hover { transform: none; box-shadow: none; }
  .button:active, .drawer-action-btn:active, .slider-arrow:active { transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
  .hero-slide { transform: none !important; }
}
