
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Cormorant+Garamond:wght@600;700&display=swap");

/* Clarity English Academy - Kısmet Atölye tarzı tema */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  /* Arka plan fotoğrafını kendine göre değiştir:
     background-image: url("images/background.jpg"); */
  background-color: #1e1e20;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-size: cover;
  background-position: center;
  letter-spacing: 0;
}

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

/* Üst menü */
.top-bar {
  position: fixed;
  top: 14px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #f5f5f5;
  text-shadow: 0 0 4px rgba(0,0,0,0.8);
  z-index: 10;
}

.brand {
  font-weight: 600;
}

.top-links a {
  margin-left: 20px;
  opacity: 0.8;
}

.top-links a:hover {
  opacity: 1;
}

/* Arka plan videosu */
#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

/* Ses butonu */
.mute-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 9999;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.mute-btn:hover {
  background: rgba(0,0,0,0.65);
}

/* Masaüstü ikonları */
.desktop-icon {
  width: 96px;
  min-height: 104px;
  text-align: center;
  color: #f5f5f5;
  text-shadow: 0 0 4px rgba(0,0,0,0.8);
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  position: absolute;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  padding: 4px;
  border-radius: 8px;
  user-select: none;
  -webkit-user-select: none;
}

.desktop-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0;
}

.desktop-icon:hover {
  background: rgba(255,255,255,0.08);
  filter: brightness(1.08);
}

.desktop-icon:focus-visible {
  outline: 2px solid rgba(255,255,255,0.85);
  outline-offset: 3px;
}

.desktop-icon[data-id="application-form"] img,
.desktop-icon[data-id="activity-archive"] img,
.desktop-icon[data-id="before-applying"] img,
.desktop-icon[data-id="about-us"] img {
  width: 78px;
  height: 78px;
}

/* İç sayfalar için arka plan */
.page-body {
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  background-color: #111216;
  color: #f5f5f5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-wrapper {
  max-width: 900px;
  margin: 80px auto 40px auto;
  padding: 0 20px 40px 20px;
}

.page-title {
  font-size: 26px;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.page-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0.7;
  margin-bottom: 8px;
}

.page-text {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.tag-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.85;
  margin-right: 8px;
  margin-bottom: 12px;
}

.program-card {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px 18px;
  margin-bottom: 16px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.09), rgba(0,0,0,0.85));
}

.program-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.program-meta {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.program-desc {
  font-size: 14px;
  line-height: 1.6;
}

.info-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.9;
}

.info-col {
  min-width: 160px;
}

.btn-outline {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.9);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.btn-outline:hover {
  background-color: #f5f5f5;
  color: #111216;
}

.small-muted {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 8px;
}

footer.page-footer {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .top-bar {
    font-size: 12px;
  }
  .brand {
    max-width: 60%;
  }
}



/* -----------------------------
   Liner (top bar)
------------------------------ */
body { padding-top: 0; }
.page-body { padding-top: 0; }

.liner{
  position: sticky;
  top: 0;
  z-index: 9999;
  height: 52px;
  background: rgba(19, 50, 91, 0.64);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  padding: 0 18px;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 10px 30px rgba(5, 13, 25, 0.12);
}


.liner-left{ display:flex; align-items:center; min-width:0; }
.liner-brand-link{ display:inline-flex; align-items:center; line-height:1; text-decoration:none; color:inherit; }

.liner-brand{
  font-family: "Rayyan", "Cormorant Garamond", "Poppins", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  color: #fff8ea;
  text-shadow: 0 1px 14px rgba(0,0,0,0.24);
}

.liner-brand-img{ height: 20px; width:auto; display:block; }

.liner-mid{ justify-self:start; display:flex; align-items:center; gap:8px; }
.liner-link{
  font-family: inherit;
  font-size: 12.5px;
  text-decoration: none;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  letter-spacing: 0;
}
.liner-sep{ opacity:.75; font-size: 12px; }

.liner-right{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:10px;
}
.liner-ig{
  display:inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255,248,234,0.34);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff8ea;
  line-height:0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.liner-ig:hover,
.liner-ig:focus-visible{
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(255,248,234,0.68);
  background: rgba(255,255,255,0.2);
}
.liner-ig svg{ width: 18px; height: 18px; fill: currentColor; display:block; }
.liner-dt{
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  opacity: .92;
}

/* Masaüstü ikon etiketleri - koyu lacivert */
.desktop-icon div {
  color: #13325b;
  text-shadow: none;
  font-weight: 700;
}

/* Başvuru formu ikonu büyütme */
.desktop-icon[data-id="application-form"] img {
  width: 88px;
  height: 88px;
}

/* Coming Soon sayfaları */
.coming-soon-page {
  background: transparent;
}

.coming-soon-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.coming-soon-tag {
  font-family: "Playfair Display", "Rayyan", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(19,50,91,0.75);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: inline-block;
  padding: 5px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.coming-soon-tag.latin-uppercase {
  text-transform: none;
}

.latin-text,
.page-subtitle[lang="en"],
.shop-kicker[lang="en"],
.planner-cover span[lang="en"] {
  text-transform: none;
}

.coming-soon-title {
  font-family: "Playfair Display", "Rayyan", Georgia, serif;
  font-size: clamp(52px, 10vw, 110px);
  font-weight: 700;
  color: #13325b;
  line-height: 1;
  text-shadow:
    0 2px 0 rgba(255,255,255,0.5),
    0 4px 24px rgba(0,0,0,0.18);
}

/* Parşömen sayfaları */
.parchment-body {
  background-color: #2a1f0f;
  min-height: 100vh;
  overflow-y: auto;
}

.parchment-scroll {
  max-width: 760px;
  margin: 80px auto 60px;
  padding: 0 24px;
}

.parchment-paper {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(210,185,130,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(180,150,90,0.3) 0%, transparent 55%),
    linear-gradient(175deg, #f5e9c8 0%, #ecdcaa 40%, #e8d59e 70%, #ddc98a 100%);
  border-radius: 4px;
  padding: 52px 60px;
  box-shadow:
    0 0 0 1px rgba(140,110,50,0.3),
    0 4px 8px rgba(0,0,0,0.3),
    0 20px 60px rgba(0,0,0,0.5),
    inset 0 0 80px rgba(140,100,30,0.15);
  position: relative;
}

.parchment-paper::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(140,100,30,0.2);
  border-radius: 2px;
  pointer-events: none;
}

.parchment-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #2c1d08;
  line-height: 1.15;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(140,100,30,0.3);
  padding-bottom: 16px;
}

.parchment-subtitle {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #7a5c2a;
  margin-bottom: 12px;
}

.parchment-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.85;
  color: #2c1d08;
  margin-bottom: 18px;
}

.parchment-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(140,100,30,0.2);
}

.parchment-section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #4a2e0a;
  margin-bottom: 10px;
}

/* Mantar pano */
.corkboard-body {
  background-color: #8B5E3C;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(160,110,60,0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 20%, rgba(120,80,40,0.5) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Ccircle cx='1' cy='1' r='0.6' fill='rgba(60,30,10,0.15)'/%3E%3Ccircle cx='3' cy='3' r='0.5' fill='rgba(100,60,20,0.12)'/%3E%3C/svg%3E");
  min-height: 100vh;
  overflow-y: auto;
}

.corkboard-area {
  position: relative;
  min-height: calc(100vh - 52px);
  padding: 40px 24px 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 24px;
  justify-content: center;
}

.cork-note {
  position: relative;
  width: 240px;
  min-height: 200px;
  background: #fef9e7;
  border-radius: 2px;
  padding: 40px 20px 20px;
  box-shadow:
    0 3px 6px rgba(0,0,0,0.25),
    0 10px 30px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  user-select: none;
}

.cork-note:nth-child(odd)  { transform: rotate(-2.5deg); }
.cork-note:nth-child(even) { transform: rotate(1.8deg); }
.cork-note:nth-child(3n)   { transform: rotate(-1deg); background: #fff8d6; }
.cork-note:nth-child(4n)   { transform: rotate(3deg);  background: #f0faf5; }

.cork-note:hover {
  transform: rotate(0deg) scale(1.04) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 20px 50px rgba(0,0,0,0.25);
  z-index: 10;
}

.cork-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e63535, #8b0000);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  z-index: 2;
}

.cork-pin::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: linear-gradient(#aaa, #666);
  border-radius: 0 0 2px 2px;
}

.cork-note-title {
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: #2c1d08;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 6px;
}

.cork-note-preview {
  font-size: 13px;
  color: #5a4020;
  line-height: 1.5;
  opacity: 0.7;
}

/* Mantar pano modal */
.cork-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.cork-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.cork-modal {
  background: #fef9e7;
  border-radius: 3px;
  padding: 48px 52px 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.92);
  transition: transform 0.25s;
}

.cork-modal-overlay.visible .cork-modal {
  transform: scale(1);
}

.cork-modal-pin {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e63535, #8b0000);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.cork-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: none;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a4020;
}

.cork-modal-title {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #2c1d08;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  padding-bottom: 10px;
}

.cork-modal-body {
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.8;
  color: #3a2810;
}

/* Zarf / mektup yorumlar */
.envelopes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.env-card {
  cursor: pointer;
  position: relative;
}

.env-outer {
  position: relative;
  width: 100%;
  padding-bottom: 58%;
  border-radius: 4px;
  overflow: visible;
}

.env-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #f7e9ca, #ecdcaa);
  border: 1px solid rgba(140,100,30,0.35);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.env-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, #e8d49a, transparent);
  z-index: 1;
}

.env-left-tri,
.env-right-tri {
  position: absolute;
  bottom: 0;
  width: 50%;
  height: 55%;
  z-index: 1;
}

.env-left-tri  { left: 0;  background: linear-gradient(to bottom right, transparent 49.5%, #dfc98a 50%); }
.env-right-tri { right: 0; background: linear-gradient(to bottom left,  transparent 49.5%, #d6be7d 50%); }

.env-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to bottom, #f2e2b0, #e8d49a);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  z-index: 3;
  border-bottom: 1px solid rgba(140,100,30,0.2);
}

.env-card.open .env-flap {
  transform: perspective(600px) rotateX(-160deg);
}

.env-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #c0392b, #7b1212);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 4;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.env-card.open .env-seal {
  opacity: 0;
  pointer-events: none;
}

.env-from {
  position: absolute;
  bottom: 16px;
  left: 14px;
  right: 14px;
  z-index: 2;
  font-family: Georgia, serif;
  font-size: 13px;
  color: #5a3e10;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.env-from strong {
  font-weight: 700;
  color: #2c1d08;
  font-size: 14px;
}

/* Mektup */
.env-letter {
  margin-top: 12px;
  background: #fffef5;
  border: 1px solid rgba(140,100,30,0.25);
  border-radius: 4px;
  padding: 24px 22px;
  font-family: Georgia, serif;
  font-size: 14.5px;
  line-height: 1.8;
  color: #2c1d08;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease 0.15s, margin-top 0.3s ease;
}

.env-card.open .env-letter {
  max-height: 500px;
  opacity: 1;
}

.env-letter-greeting {
  font-style: italic;
  color: #7a5c2a;
  margin-bottom: 10px;
}

.env-letter-sign {
  margin-top: 14px;
  font-style: italic;
  color: #7a5c2a;
  text-align: right;
}

/* İletişim - evren animasyonu */
.universe-body {
  background: #000;
  overflow: hidden;
  min-height: 100vh;
}

.universe-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.universe-content {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 52px);
}

.universe-pin {
  position: absolute;
  z-index: 20;
  cursor: pointer;
  transform: translate(-50%, -100%);
}

.universe-pin-icon {
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: radial-gradient(circle at 35% 35%, #4a9eff, #13325b);
  box-shadow: 0 0 0 3px rgba(74,158,255,0.3), 0 4px 16px rgba(0,0,0,0.5);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.universe-pin-icon svg,
.universe-pin-icon span {
  transform: rotate(45deg);
  display: block;
  color: #fff;
}

.universe-pin:hover .universe-pin-icon {
  transform: rotate(-45deg) scale(1.15);
  box-shadow: 0 0 0 5px rgba(74,158,255,0.4), 0 6px 20px rgba(0,0,0,0.6);
}

.universe-pin-needle {
  width: 2px;
  height: 16px;
  background: linear-gradient(#4a9eff, transparent);
  margin: 0 auto;
}

.universe-pin-popup {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(10,20,40,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(74,158,255,0.3);
  border-radius: 10px;
  padding: 14px 18px;
  min-width: 200px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.universe-pin:hover .universe-pin-popup,
.universe-pin.pinned .universe-pin-popup {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.universe-pin-popup-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #4a9eff;
  margin-bottom: 5px;
}

.universe-pin-popup-value {
  font-size: 14px;
  color: #e0eeff;
  text-decoration: none;
}

.universe-pin-popup-value:hover {
  color: #4a9eff;
  text-decoration: underline;
}

/* Drag feedback */
.desktop-icon.is-dragging{
  opacity: 0.9;
  transform: scale(1.03);
}

/* Mobile */
@media (max-width: 520px){
  .liner{
    grid-template-columns: 1fr auto;
    padding: 0 10px;
    gap: 8px;
  }

  .liner-brand{
    font-size: 13px;
    color: #dbe9ff;
  }
  .liner-mid{ display:none; }
  .liner-right{ gap: 7px; }
  .liner-dt{ font-size: 11px; }
  .liner-ig svg{ width: 14px; height: 14px; }
}

@media (max-width: 720px){
  .desktop-icon{
    width: 84px;
    min-height: 98px;
    font-size: 11.5px;
  }

  .desktop-icon img,
  .desktop-icon[data-id="application-form"] img,
  .desktop-icon[data-id="activity-archive"] img,
  .desktop-icon[data-id="before-applying"] img,
  .desktop-icon[data-id="about-us"] img{
    width: 58px;
    height: 58px;
  }
}



/* -----------------------------
   Application Form styles
------------------------------ */
.app-form{
  display: grid;
  gap: 14px;
  margin-top: 18px;
  max-width: 720px;
}

.form-field{ display:grid; gap:8px; }
.form-field span{ font-weight:600; font-size: 14px; }
.form-field input,
.form-field select,
.form-field textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #ffffff;
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color: rgba(255,255,255,.35);
}

.form-hint{ opacity:.75; font-size: 12px; margin-top: -4px; }
.form-note{ opacity:.85; font-size: 12.5px; margin-top: 6px; line-height: 1.35; }

.form-fieldset{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 8px;
}
.form-fieldset legend{
  padding: 0 6px;
  font-weight: 700;
  font-size: 13px;
}
.form-fieldset label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  opacity: .95;
}

.kvkk{ display:grid; gap: 10px; }
.kvkk-box{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,.04);
}
.kvkk-approve{
  display:flex;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
}

.primary-btn{
  width: fit-content;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}
.primary-btn:hover{ background: rgba(255,255,255,.12); }

.form-message{
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  opacity: .95;
}
.form-message.success{ color: #b8ffcf; }
.form-message.error{ color: #ffd0d0; }

/* Language toggle */
.lang-btn{
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.lang-btn:hover{ background: rgba(255,255,255,.24); }

/* -----------------------------
   Reviews and admin panel
------------------------------ */
.testimonials-wrapper,
.admin-wrapper{
  padding-right: 24px;
}

.review-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  align-items: start;
  max-width: 1040px;
}

.section-kicker{
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  margin-bottom: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(248,240,223,0.22);
  border-radius: 8px;
  background: rgba(216,170,77,0.16);
  color: #fff8ea;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-panel,
.review-form,
.admin-login,
.admin-panel{
  border: 1px solid rgba(248,240,223,0.24);
  border-radius: 8px;
  background: rgba(19,18,17,0.62);
  box-shadow: 0 24px 70px rgba(0,0,0,0.25);
}

.review-panel,
.review-form,
.admin-login{
  padding: 18px;
}

.review-form{
  display: grid;
  gap: 14px;
}

.review-list,
.admin-review-list{
  display: grid;
  gap: 12px;
}

.review-card,
.review-empty,
.admin-review-card,
.admin-empty{
  border: 1px solid var(--clarity-line);
  border-left: 6px solid var(--clarity-mint);
  border-radius: 8px;
  background: var(--clarity-paper);
  color: #241d17;
}

.review-card,
.review-empty,
.admin-review-card{
  padding: 16px;
}

.review-empty,
.admin-empty{
  padding: 16px;
  color: #4a3d30;
}

.review-empty p{
  margin-top: 6px;
}

.review-card-head{
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.review-avatar{
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--clarity-navy);
  color: #fff8ea;
  font-weight: 900;
}

.review-meta{
  display: grid;
  gap: 2px;
}

.review-meta strong{
  color: var(--clarity-navy);
}

.review-meta span,
.admin-review-top span{
  color: #765f43;
  font-size: 12px;
  font-weight: 800;
}

.review-comment,
.admin-review-comment{
  color: #2f2922;
  line-height: 1.65;
}

.review-note{
  margin-top: 18px;
}

.admin-login{
  display: flex;
  max-width: 520px;
  gap: 12px;
  align-items: end;
}

.admin-login .form-field{
  flex: 1;
}

.admin-panel{
  padding: 18px;
}

.admin-toolbar{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-toolbar-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.admin-stats div{
  padding: 14px;
  border: 1px solid rgba(248,240,223,0.18);
  border-radius: 8px;
  background: rgba(255,248,234,0.06);
}

.admin-stats strong{
  display: block;
  color: #fff8ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1;
}

.admin-stats span{
  color: #d8cbb8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-columns{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-columns h2{
  margin-bottom: 10px;
  color: #fff8ea;
  font-size: 18px;
}

.admin-review-top{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-review-top > div{
  display: grid;
  gap: 2px;
}

.admin-review-details{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  margin: 12px 0;
  font-size: 13px;
}

.admin-review-details dt{
  color: var(--clarity-navy);
  font-weight: 900;
}

.admin-review-details dd{
  overflow-wrap: anywhere;
}

.admin-review-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-action,
.danger-btn{
  min-height: 34px;
  padding: 7px 10px;
  font-size: 11px;
  box-shadow: none;
}

.danger-btn{
  border-color: rgba(185,105,95,0.5);
  color: #7d302b;
}

.danger-btn:hover{
  background: var(--clarity-rose);
  color: #fff8ea;
}

@media (max-width: 920px){
  .review-layout,
  .admin-columns{
    grid-template-columns: 1fr;
  }

  .admin-login,
  .admin-toolbar{
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px){
  .testimonials-wrapper,
  .admin-wrapper{
    padding-right: 16px;
  }

  .admin-stats{
    grid-template-columns: 1fr;
  }
}

/* -----------------------------
   Inner page redesign
------------------------------ */
:root{
  --clarity-navy: #13325b;
  --clarity-ink: #151312;
  --clarity-paper: #f8f0df;
  --clarity-paper-2: #fff8ea;
  --clarity-line: #d7c29b;
  --clarity-mint: #8fb9a8;
  --clarity-rose: #b9695f;
  --clarity-gold: #d8aa4d;
  --clarity-title-font: "Cinzel", "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

.page-body{
  width: 100%;
  min-height: 100vh;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--clarity-ink);
  background-image:
    linear-gradient(rgba(248,240,223,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,240,223,0.035) 1px, transparent 1px),
    linear-gradient(145deg, rgba(19,50,91,0.42), transparent 42%),
    linear-gradient(25deg, rgba(143,185,168,0.18), transparent 34%);
  background-size: 46px 46px, 46px 46px, 100% 100%, 100% 100%;
  color: #f7efe1;
}

.page-body::after{
  content: "";
  position: fixed;
  right: -58px;
  bottom: -68px;
  width: min(34vw, 360px);
  height: min(34vw, 360px);
  background: url("icons/text.png") center / contain no-repeat;
  opacity: 0.075;
  pointer-events: none;
  z-index: 0;
}

.page-wrapper{
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 24px 64px;
}

.page-wrapper::before{
  content: "";
  display: block;
  width: 96px;
  height: 6px;
  margin-bottom: 24px;
  background:
    linear-gradient(90deg, var(--clarity-gold) 0 34px, transparent 34px 42px, var(--clarity-mint) 42px 66px, transparent 66px 74px, var(--clarity-rose) 74px 96px);
  border-radius: 6px;
}

.page-subtitle{
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  margin-bottom: 14px;
  border: 1px solid rgba(248,240,223,0.24);
  border-radius: 8px;
  background: rgba(19,50,91,0.72);
  color: #f7efe1;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-title,
.page-wrapper h1{
  max-width: 820px;
  margin-bottom: 18px;
  color: #fff8ea;
  font-family: var(--clarity-title-font);
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.page-wrapper > .page-text:first-of-type{
  max-width: 760px;
  margin: 0 0 28px;
  padding-left: 18px;
  border-left: 4px solid var(--clarity-gold);
  color: #efe4d1;
  font-size: 18px;
  line-height: 1.75;
}

.page-text{
  max-width: 820px;
  color: #eadfce;
  font-size: 16px;
  line-height: 1.75;
}

.program-card{
  position: relative;
  max-width: 860px;
  margin-bottom: 14px;
  border: 1px solid var(--clarity-line);
  border-left: 6px solid var(--clarity-mint);
  border-radius: 8px;
  background: var(--clarity-paper);
  color: #241d17;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}

.program-card:nth-of-type(3n + 1){
  border-left-color: var(--clarity-gold);
}

.program-card:nth-of-type(3n + 2){
  border-left-color: var(--clarity-rose);
}

.program-card::before{
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 22px;
  border-top: 2px solid rgba(19,50,91,0.24);
  border-bottom: 2px solid rgba(19,50,91,0.16);
}

.program-title{
  max-width: calc(100% - 62px);
  color: var(--clarity-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.15;
}

.program-meta{
  color: #765f43;
  font-size: 13px;
  font-weight: 700;
}

.program-desc{
  color: #2f2922;
  font-size: 15px;
}

.programs-cloud-body{
  background: #dceef7;
  color: #12305a;
}

.programs-cloud-body::after{
  display: none;
}

.programs-bg-video{
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.programs-cloud-body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.18) 46%, rgba(255,255,255,0.52)),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.5), transparent 38%);
  pointer-events: none;
}

.programs-cloud-body .liner{
  position: sticky;
  z-index: 10;
}

.programs-wrapper{
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  color: #12305a;
}

.programs-wrapper::before{
  background:
    linear-gradient(90deg, #13325b 0 34px, transparent 34px 42px, #8fb9a8 42px 66px, transparent 66px 74px, #d8aa4d 74px 96px);
}

.programs-wrapper .page-title{
  color: #13325b;
  text-shadow: 0 2px 18px rgba(255,255,255,0.72);
}

.programs-intro{
  color: #0f2c4d !important;
  background: rgba(255,255,255,0.78);
  border-left-color: #13325b !important;
  border-radius: 0 8px 8px 0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 14px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.programs-list{
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin-bottom: 22px;
}

.program-detail-card{
  max-width: 980px;
  padding: clamp(18px, 2.4vw, 28px);
  border-color: rgba(19,50,91,0.16);
  background: rgba(255,248,234,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.program-detail-card .program-title{
  margin-bottom: 12px;
  font-family: var(--clarity-title-font);
  font-size: clamp(23px, 2.4vw, 34px);
}

.program-detail-card .program-desc{
  color: #28324a;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.75;
}

.program-mail-link,
.program-inline-link{
  color: #1f72c9;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.program-mail-link:hover,
.program-inline-link:hover{
  color: #0f4f93;
}

.campus-guide-body{
  background: #dceef7;
  color: #12305a;
}

.campus-guide-body::after{
  display: none;
}

.campus-guide-bg-video{
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.campus-guide-body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 42%, rgba(255,255,255,0.58)),
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.56), transparent 36%);
  pointer-events: none;
}

.campus-guide-body .liner{
  position: sticky;
  z-index: 10;
}

.campus-guide-wrapper{
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(84px, 12vh, 120px) 24px 64px;
}

.campus-guide-title{
  max-width: 880px;
  margin: 0 auto 30px;
  color: #13325b;
  font-family: var(--clarity-title-font);
  font-size: clamp(38px, 7vw, 82px);
  font-weight: 700;
  line-height: 0.98;
  text-align: center;
  text-shadow: 0 2px 18px rgba(255,255,255,0.72);
  text-wrap: balance;
}

.campus-guide-flow{
  display: grid;
  gap: clamp(22px, 5vw, 54px);
}

.campus-guide-step{
  display: grid;
  gap: 22px;
  align-items: center;
}

.campus-guide-step-entry{
  max-width: 860px;
  margin: 0 auto;
}

.campus-guide-step-media{
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
}

.campus-guide-copy{
  border-left: 4px solid #13325b;
  border-radius: 0 8px 8px 0;
  background: rgba(255,255,255,0.78);
  padding: clamp(18px, 2.6vw, 28px);
  color: #0f2c4d;
  box-shadow: 0 18px 50px rgba(19,50,91,0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.campus-guide-copy p{
  margin: 0;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 650;
  line-height: 1.72;
}

.campus-guide-copy p + p{
  margin-top: 14px;
}

.campus-guide-copy h3{
  margin: 0 0 10px;
  color: #13325b;
  font-family: var(--clarity-title-font);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.campus-guide-note{
  border-top: 1px solid rgba(19,50,91,0.16);
  padding-top: 12px;
  color: #244463;
}

.campus-guide-floor-title{
  max-width: 920px;
  margin: clamp(12px, 3vw, 24px) auto 0;
  color: #13325b;
  font-family: var(--clarity-title-font);
  font-size: clamp(32px, 5vw, 66px);
  font-weight: 700;
  line-height: 0.98;
  text-align: center;
  text-shadow: 0 2px 18px rgba(255,255,255,0.72);
}

.campus-guide-floor-title span{
  display: block;
  margin-top: 6px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 0.44em;
  line-height: 1.2;
}

.campus-guide-mail{
  color: #1f72c9;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.campus-guide-mail:hover{
  color: #0f4f93;
}

.campus-gif-frame{
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 1px solid rgba(19,50,91,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 24px 70px rgba(19,50,91,0.2);
}

.campus-gif-frame::before{
  display: none;
}

.campus-entry-frame{
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.4vw, 14px);
}

.campus-entry-image{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(19,50,91,0.12);
}

.campus-video-frame{
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(232,243,246,0.9)),
    #e8f3f6;
}

.campus-guide-video{
  display: block;
  width: 100%;
  height: auto;
  max-height: min(58vh, 520px);
  background: #0c2442;
}

.campus-video-frame-portrait{
  width: min(360px, 100%);
  justify-self: center;
}

.campus-video-frame-portrait .campus-guide-video{
  max-height: min(68vh, 580px);
}

.campus-video-grid{
  display: grid;
  gap: 12px;
  align-self: center;
}

.campus-video-grid .campus-guide-video{
  max-height: min(42vh, 280px);
  object-fit: contain;
}

.campus-video-grid-pair{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.campus-video-grid-pair .campus-video-frame-portrait{
  width: 100%;
}

.campus-browser-bar{
  position: relative;
  z-index: 1;
  display: flex;
  gap: 7px;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(19,50,91,0.12);
  background: rgba(19,50,91,0.1);
}

.campus-browser-bar span{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b9695f;
}

.campus-browser-bar span:nth-child(2){
  background: #d8aa4d;
}

.campus-browser-bar span:nth-child(3){
  background: #8fb9a8;
}

.campus-login-card{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(360px, calc(100% - 42px));
  margin: 34px auto;
  padding: 22px;
  border: 1px solid rgba(19,50,91,0.16);
  border-radius: 8px;
  background: rgba(255,248,234,0.92);
  color: #13325b;
  box-shadow: 0 16px 44px rgba(19,50,91,0.18);
  animation: campusFloat 3.8s ease-in-out infinite;
}

.campus-avatar-preview{
  display: grid;
  place-items: center;
  height: 118px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(19,50,91,0.08), rgba(143,185,168,0.16)),
    #e8f3f6;
}

.campus-avatar-head{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #d8aa4d;
  box-shadow: 0 56px 0 18px rgba(19,50,91,0.84);
}

.campus-avatar-body{
  display: none;
}

.campus-device-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(19,50,91,0.06);
  font-size: 14px;
  font-weight: 900;
}

.campus-toggle{
  position: relative;
  width: 54px;
  height: 28px;
  border-radius: 999px;
  background: rgba(185,105,95,0.32);
  box-shadow: inset 0 0 0 1px rgba(19,50,91,0.12);
}

.campus-toggle::after{
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #b9695f;
  box-shadow: 0 3px 8px rgba(19,50,91,0.18);
  animation: campusToggleNudge 2.8s ease-in-out infinite;
}

.campus-join-button{
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #13325b;
  color: #fff8ea;
  font-weight: 900;
  letter-spacing: 0;
}

@keyframes campusFloat{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes campusSweep{
  0%, 100% { transform: translateX(-8%); opacity: 0.72; }
  50% { transform: translateX(8%); opacity: 1; }
}

@keyframes campusToggleNudge{
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

@media (max-width: 760px){
  .campus-guide-wrapper{
    padding: 82px 18px 54px;
  }

  .campus-guide-step-media{
    grid-template-columns: 1fr;
  }

  .campus-gif-frame{
    min-height: 0;
  }

  .campus-video-grid-pair{
    grid-template-columns: 1fr;
  }

  .campus-guide-video,
  .campus-video-grid .campus-guide-video,
  .campus-video-frame-portrait .campus-guide-video{
    max-height: 72vh;
  }

  .campus-login-card{
    width: calc(100% - 28px);
    margin: 24px auto;
  }
}

.about-cloud-body{
  width: 100%;
  min-height: 100vh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  background: #dceef7;
  color: #3a2817;
  isolation: isolate;
}

.about-cloud-body::after{
  display: none;
}

.about-bg-video{
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.about-cloud-body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.18) 42%, rgba(255,255,255,0.58)),
    radial-gradient(circle at 50% 16%, rgba(255,255,255,0.58), transparent 36%);
  pointer-events: none;
}

.about-cloud-body .liner{
  position: sticky;
  z-index: 20;
}

.about-stage{
  position: relative;
  z-index: 2;
  display: grid;
  place-items: start center;
  min-height: calc(100vh - 52px);
  padding: clamp(34px, 6vw, 66px) 20px clamp(58px, 8vw, 92px);
}

.about-scroll-paper{
  position: relative;
  isolation: isolate;
  width: min(900px, 95vw);
  min-height: 1180px;
  padding: clamp(126px, 11vw, 166px) clamp(48px, 8vw, 112px) clamp(126px, 11vw, 166px);
  transform-origin: 50% 7%;
  animation: aboutUnroll 1.18s cubic-bezier(0.2, 0.86, 0.24, 1) both;
}

.about-scroll-paper.about-scroll-paper-opened{
  animation: none;
  transform: none;
  opacity: 1;
}

.about-scroll-paper::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/about/parchment-cutout.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 34px 46px rgba(52,32,13,0.3));
  pointer-events: none;
}

.about-scroll-paper::after{
  content: "";
  position: absolute;
  inset: clamp(76px, 7vw, 104px) clamp(96px, 9vw, 128px) clamp(88px, 8vw, 122px);
  z-index: -2;
  border-radius: 34px 38px 42px 36px / 44px 40px 48px 42px;
  background:
    radial-gradient(ellipse at 28% 18%, rgba(255,246,217,0.6), transparent 48%),
    radial-gradient(ellipse at 82% 72%, rgba(183,126,58,0.2), transparent 52%),
    linear-gradient(180deg, #ead8b5 0%, #e4c991 48%, #d7b174 100%);
  box-shadow: inset 0 0 62px rgba(107,66,25,0.18);
  pointer-events: none;
}

.about-scroll-copy{
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
  color: #3a2817;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.54;
  text-shadow: 0 1px 0 rgba(255,248,224,0.38);
}

.about-scroll-copy h1{
  margin: 0 0 22px;
  color: #2d1b0b;
  font-family: var(--clarity-title-font);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  line-height: 0.98;
  text-align: center;
}

.about-scroll-copy p{
  margin: 0 0 17px;
}

.about-final-line{
  margin-top: 20px !important;
  color: #40240d;
  font-size: 1.08em;
  font-style: italic;
  font-weight: 700;
  text-align: center;
}

.about-floating{
  position: fixed;
  z-index: 1;
  pointer-events: none;
  border-radius: 8px;
  opacity: 0.68;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 28px rgba(19,50,91,0.18));
  will-change: transform;
}

.about-floating-left{
  left: -74px;
  top: 18%;
  width: clamp(170px, 18vw, 292px);
  transform-origin: 58% 78%;
  animation: aboutPuppetLeft 8.6s steps(5, end) infinite alternate;
}

.about-floating-mad{
  right: clamp(22px, 6vw, 96px);
  top: 13%;
  width: clamp(118px, 13vw, 205px);
  opacity: 0.74;
  transform-origin: 50% 70%;
  animation: aboutPuppetMad 7.4s steps(4, end) infinite alternate;
}

.about-floating-right{
  right: -82px;
  bottom: 7%;
  width: clamp(178px, 19vw, 306px);
  transform-origin: 44% 74%;
  animation: aboutPuppetRight 9.2s steps(5, end) infinite alternate;
}

.about-floating-extra{
  left: var(--x);
  top: var(--y);
  width: var(--w);
  opacity: var(--o, 0.28);
  transform-origin: 50% 70%;
  animation: aboutPuppetExtra var(--dur, 9.6s) steps(4, end) infinite alternate;
}

@keyframes aboutUnroll{
  0%{
    opacity: 0;
    transform: translateY(-34px) scaleY(0.08);
  }

  56%{
    opacity: 1;
    transform: translateY(6px) scaleY(1.035);
  }

  100%{
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes aboutPuppetLeft{
  0% { transform: translate3d(0, 0, 0) rotate(-7deg); }
  45% { transform: translate3d(16px, -12px, 0) rotate(-3deg); }
  100% { transform: translate3d(28px, 12px, 0) rotate(-9deg); }
}

@keyframes aboutPuppetMad{
  0% { transform: translate3d(0, 0, 0) rotate(5deg) scale(1); }
  50% { transform: translate3d(-12px, 14px, 0) rotate(1deg) scale(1.035); }
  100% { transform: translate3d(7px, -8px, 0) rotate(7deg) scale(0.99); }
}

@keyframes aboutPuppetRight{
  0% { transform: translate3d(0, 0, 0) rotate(6deg); }
  48% { transform: translate3d(-18px, -10px, 0) rotate(2deg); }
  100% { transform: translate3d(-30px, 14px, 0) rotate(8deg); }
}

@keyframes aboutPuppetExtra{
  0% { transform: translate3d(0, 0, 0) rotate(var(--rot-a, 0deg)); }
  50% { transform: translate3d(10px, -8px, 0) rotate(var(--rot-b, 5deg)); }
  100% { transform: translate3d(-8px, 10px, 0) rotate(var(--rot-a, 0deg)); }
}

@media (max-width: 760px){
  .about-stage{
    padding: 28px 11px 48px;
  }

  .about-scroll-paper{
    width: min(100%, 560px);
    min-height: 0;
    padding: 98px 32px 106px;
  }

  .about-scroll-paper::after{
    inset: 58px 30px 62px;
    border-radius: 26px 28px 32px 28px / 34px 32px 38px 34px;
  }

  .about-scroll-copy{
    font-size: 14.5px;
    line-height: 1.48;
  }

  .about-scroll-copy h1{
    margin-bottom: 16px;
    font-size: 42px;
  }

  .about-scroll-copy p{
    margin-bottom: 13px;
  }

  .about-floating{
    opacity: 0.18;
    filter: none;
  }

  .about-floating-extra{
    opacity: 0.08;
    width: min(var(--w), 92px);
  }

  .about-floating-left{
    left: -132px;
    top: 116px;
    width: 238px;
  }

  .about-floating-mad{
    right: -34px;
    top: 80px;
    width: 128px;
    opacity: 0.22;
  }

  .about-floating-right{
    right: -138px;
    bottom: 16px;
    width: 240px;
  }
}

@media (prefers-reduced-motion: reduce){
  .about-scroll-paper,
  .about-floating{
    animation: none;
  }
}

.tag-pill{
  border-color: rgba(19,50,91,0.22);
  background: rgba(19,50,91,0.08);
  color: var(--clarity-navy);
  font-weight: 800;
  opacity: 1;
}

.info-row{
  gap: 18px;
}

.info-col{
  min-width: 180px;
  padding: 12px;
  border: 1px solid rgba(19,50,91,0.16);
  border-radius: 8px;
  background: rgba(255,248,234,0.64);
  color: #241d17;
}

.btn-outline,
.primary-btn{
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(248,240,223,0.36);
  border-radius: 8px;
  background: var(--clarity-paper-2);
  color: var(--clarity-navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(0,0,0,0.2);
}

.btn-outline:hover,
.primary-btn:hover{
  background: var(--clarity-gold);
  color: #20170d;
}

.small-muted{
  max-width: 760px;
  color: #cfc2af;
  opacity: 1;
}

footer.page-footer{
  max-width: 860px;
  margin-top: 42px;
  border-top: 1px solid rgba(248,240,223,0.2);
  color: #d8cbb8;
  opacity: 1;
}

.app-form{
  max-width: 860px;
  padding: 22px;
  border: 1px solid rgba(248,240,223,0.24);
  border-radius: 8px;
  background: rgba(19,18,17,0.58);
  box-shadow: 0 24px 70px rgba(0,0,0,0.25);
}

.form-field span,
.form-fieldset legend{
  color: #fff8ea;
}

.form-field input,
.form-field select,
.form-field textarea{
  border-color: rgba(248,240,223,0.28);
  background: rgba(255,248,234,0.08);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color: var(--clarity-gold);
}

.form-fieldset,
.kvkk-box{
  border-color: rgba(248,240,223,0.18);
  background: rgba(255,248,234,0.05);
}

.kvkk-box .page-text{
  color: #eadfce;
  font-size: 14px;
}

.kvkk-approve,
.form-fieldset label,
.form-note,
.form-hint{
  color: #eadfce;
}

@media (min-width: 920px){
  .page-wrapper:not(:has(.app-form)){
    padding-right: 330px;
  }

  .page-wrapper:not(:has(.app-form))::after{
    content: "";
    position: absolute;
    top: 112px;
    right: 24px;
    width: 250px;
    height: 330px;
    border: 1px solid rgba(248,240,223,0.24);
    border-radius: 8px;
    background:
      linear-gradient(90deg, transparent 0 23px, rgba(248,240,223,0.18) 23px 25px, transparent 25px 100%),
      linear-gradient(transparent 0 35px, rgba(248,240,223,0.14) 35px 37px, transparent 37px 100%),
      linear-gradient(145deg, rgba(216,170,77,0.16), rgba(143,185,168,0.12)),
      rgba(19,50,91,0.38);
    background-size: 62px 62px, 62px 62px, 100% 100%, 100% 100%;
    box-shadow: inset 0 0 0 8px rgba(19,18,17,0.22), 0 24px 70px rgba(0,0,0,0.22);
  }
}

@media (max-width: 760px){
  .page-body::after{
    width: 220px;
    height: 220px;
    opacity: 0.05;
  }

  .page-wrapper{
    padding: 76px 16px 48px;
  }

  .page-title,
  .page-wrapper h1{
    font-size: clamp(34px, 12vw, 48px);
  }

  .page-wrapper > .page-text:first-of-type{
    font-size: 16px;
  }

  .program-card,
  footer.page-footer,
  .app-form{
    max-width: 100%;
  }
}

/* Application page custom background and submit style */
.application-body{
  background-color: #cfe6ef;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(19,50,91,0.08)),
    url("assets/application-form-bg.jpeg");
  background-size: cover, cover;
  background-position: center top, center top;
  background-attachment: fixed, fixed;
}

.application-body::after{
  display: none;
}

.application-body .form-label-en{
  color: #eadfce;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.application-body .form-note-italic{
  display: block;
  font-style: italic;
}

.application-body .form-inline-link{
  color: var(--clarity-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.application-english-title{
  margin-top: -2px;
  margin-bottom: 24px;
  text-transform: none;
}

.application-body .application-submit{
  background: var(--clarity-navy);
  border-color: rgba(19,50,91,0.95);
  color: #fff8ea;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.application-body .application-submit:hover{
  background: #0f294d;
  color: #fff8ea;
}

/* -----------------------------
   Clarity Merch
------------------------------ */
.shop-body{
  background-color: #14100c;
  background-image:
    linear-gradient(rgba(248,240,223,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,240,223,0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(216,170,77,0.24), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(143,185,168,0.18), transparent 34%),
    linear-gradient(145deg, #14100c 0%, #251b13 48%, #0f2340 100%);
  background-size: 42px 42px, 42px 42px, 100% 100%, 100% 100%, 100% 100%;
}

.shop-body::after{
  display: none;
}

.shop-wrapper{
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 88px 24px 64px;
  color: #fff8ea;
}

.shop-hero{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.shop-kicker,
.shop-section-label,
.shop-product-status{
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(248,240,223,0.24);
  border-radius: 8px;
  background: rgba(19,50,91,0.72);
  color: #f7efe1;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-hero h1{
  max-width: 800px;
  margin: 16px 0 18px;
  color: #fff8ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.shop-hero p{
  max-width: 720px;
  color: #eadfce;
  font-size: 17px;
  line-height: 1.7;
}

.shop-note-card{
  border: 1px solid rgba(248,240,223,0.24);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,248,234,0.08);
  box-shadow: 0 18px 52px rgba(0,0,0,0.22);
}

.shop-note-card span{
  display: block;
  margin-bottom: 10px;
  color: var(--clarity-gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-note-card strong{
  display: block;
  color: #fff8ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.16;
}

.shop-products{
  margin-top: 18px;
}

.shop-product-card{
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--clarity-line);
  border-radius: 8px;
  background: var(--clarity-paper);
  color: #241d17;
  box-shadow: 0 26px 76px rgba(0,0,0,0.32);
}

.shop-product-visual{
  display: grid;
  min-height: 460px;
  place-items: center;
  padding: 34px;
  background:
    linear-gradient(90deg, transparent 0 23px, rgba(19,50,91,0.13) 23px 25px, transparent 25px 100%),
    linear-gradient(transparent 0 34px, rgba(19,50,91,0.1) 34px 36px, transparent 36px 100%),
    linear-gradient(145deg, rgba(19,50,91,0.16), rgba(216,170,77,0.12)),
    #fff8ea;
  background-size: 58px 58px, 58px 58px, 100% 100%, 100% 100%;
}

.planner-mockup{
  position: relative;
  width: min(270px, 72vw);
  aspect-ratio: 0.68;
  transform: rotate(-4deg);
}

.planner-cover{
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  padding: 28px 24px;
  border: 2px solid rgba(19,50,91,0.42);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,248,234,0.55) 0 22px, transparent 22px 100%),
    radial-gradient(circle at 75% 18%, rgba(216,170,77,0.34), transparent 28%),
    linear-gradient(160deg, #13325b 0%, #284a76 58%, #8fb9a8 100%);
  box-shadow:
    -12px 16px 0 rgba(19,50,91,0.22),
    0 24px 60px rgba(0,0,0,0.28);
  color: #fff8ea;
}

.planner-cover::before{
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 34px;
  width: 2px;
  background: rgba(255,248,234,0.34);
}

.planner-cover strong{
  align-self: center;
  justify-self: center;
  color: #fff8ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  letter-spacing: 0;
}

.planner-cover span{
  color: rgba(255,248,234,0.9);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.planner-year{
  justify-self: end;
}

.planner-pages{
  position: absolute;
  top: 12px;
  right: -12px;
  bottom: -12px;
  width: 28px;
  border-radius: 0 8px 8px 0;
  background:
    repeating-linear-gradient(to bottom, #f8f0df 0 7px, #ddcda9 7px 8px);
  box-shadow: 12px 18px 38px rgba(0,0,0,0.16);
  z-index: -1;
}

.shop-product-info{
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 5vw, 52px);
}

.shop-product-status{
  background: rgba(143,185,168,0.22);
  border-color: rgba(19,50,91,0.18);
  color: var(--clarity-navy);
}

.shop-product-info h2{
  max-width: 560px;
  color: var(--clarity-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
}

.shop-product-info p{
  max-width: 600px;
  color: #372d23;
  font-size: 16px;
  line-height: 1.72;
}

.shop-feature-list{
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: #3d3329;
  line-height: 1.55;
}

.shop-purchase-row{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(19,50,91,0.14);
}

.shop-price-label{
  display: block;
  margin-bottom: 4px;
  color: #765f43;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-purchase-row strong{
  color: var(--clarity-navy);
  font-size: 22px;
}

.shopier-button{
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(19,50,91,0.95);
  border-radius: 8px;
  padding: 11px 18px;
  background: var(--clarity-navy);
  color: #fff8ea;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(19,50,91,0.22);
}

.shopier-button:hover{
  background: #0f294d;
}

.shopier-button.is-pending{
  pointer-events: none;
  cursor: default;
  border-color: rgba(19,50,91,0.22);
  background: rgba(19,50,91,0.18);
  color: rgba(19,50,91,0.72);
  box-shadow: none;
}

.shop-coming{
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(248,240,223,0.18);
  border-radius: 8px;
  background: rgba(255,248,234,0.07);
}

.shop-coming h2{
  margin-top: 12px;
  color: #fff8ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.05;
}

.shop-coming-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.shop-coming-grid div{
  min-height: 86px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(248,240,223,0.26);
  border-radius: 8px;
  padding: 12px;
  color: #eadfce;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 880px){
  .shop-hero,
  .shop-product-card,
  .shop-coming{
    grid-template-columns: 1fr;
  }

  .shop-note-card{
    max-width: 420px;
  }

  .shop-product-visual{
    min-height: 380px;
  }
}

@media (max-width: 560px){
  .shop-wrapper{
    padding: 76px 16px 44px;
  }

  .shop-hero h1{
    font-size: clamp(38px, 14vw, 56px);
  }

  .shop-product-visual{
    min-height: 320px;
    padding: 24px;
  }

  .shop-product-info{
    padding: 24px;
  }

  .shop-purchase-row{
    align-items: stretch;
    flex-direction: column;
  }

  .shopier-button{
    width: 100%;
  }

  .shop-coming-grid{
    grid-template-columns: 1fr;
  }
}

/* -----------------------------
   Admin Feed Manager
------------------------------ */
.admin-feed-manager{
  display: grid;
  gap: 16px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(248,240,223,0.18);
  border-radius: 8px;
  background: rgba(19,18,17,0.58);
}

.admin-feed-head,
.admin-post-actions,
.admin-post-card-top,
.admin-post-options{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-feed-head h2{
  margin: 6px 0 0;
  color: #fff8ea;
  font-size: 24px;
}

.admin-post-form,
.admin-post-list{
  display: grid;
  gap: 12px;
}

.admin-post-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-post-options{
  justify-content: flex-start;
  color: #fff8ea;
  font-weight: 800;
}

.admin-post-options label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-post-card{
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--clarity-line);
  border-radius: 8px;
  background: var(--clarity-paper);
  color: var(--clarity-ink);
}

.admin-post-card-top > div:first-child{
  display: grid;
  gap: 4px;
}

.admin-post-card-top strong{
  color: var(--clarity-navy);
}

.admin-post-card-top span{
  color: #765f43;
  font-size: 13px;
}

.admin-post-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-post-meta span{
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(19,50,91,0.08);
  color: var(--clarity-navy);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 760px){
  .admin-post-grid{
    grid-template-columns: 1fr;
  }
}
