/* ============================================================
   Kampüs İçinde — Editorial system, 2026
   Fotoğraf, tipografi ve boşluk merkezli görsel katman.
   ============================================================ */

:root {
  --green: #1fb55e;
  --green-bright: #2fe07a;
  --green-deep: #06a051;
  --blue: #3652ad;
  --blue-bright: #5f76d7;
  --yellow: #ffcc4d;
  --cream: #fff3d4;
  --bg: #000000;
  --surface: #111111;
  --surface-2: #1c1c1e;
  --surface-3: #2c2c2e;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #ffffff;
  --muted: #9ca3af;
  --muted-2: #8e8e93;
  --paper: #111111;
  --paper-2: #1c1c1e;
  --ink: #ffffff;
  --ink-muted: #9ca3af;
  --paper-line: rgba(255, 255, 255, 0.12);
  --paper-line-strong: rgba(255, 255, 255, 0.2);
  --container: 1240px;
  --radius: 20px;
  --radius-lg: 34px;
  --header-h: 58px;
  --shadow-soft: 0 28px 90px rgba(0, 0, 0, 0.22);
  --shadow-green: none;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  letter-spacing: -0.012em;
  font-feature-settings: "kern" 1, "liga" 1;
}

main {
  overflow: clip;
}

.scene-atmosphere {
  display: none !important;
}

.container {
  max-width: var(--container);
  padding-inline: clamp(22px, 4.5vw, 64px);
}

.section {
  padding: clamp(96px, 12vw, 176px) 0;
}

.section-head {
  max-width: 920px;
  margin: 0 0 clamp(54px, 7vw, 96px);
  text-align: left;
}

.eyebrow,
.feature-row-text .eyebrow {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: currentColor;
  opacity: 0.58;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.17em;
}

.section-title {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(3rem, 6.8vw, 6.3rem);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-wrap: balance;
  color: var(--cream);
}

.section-sub {
  max-width: 52ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.48;
}

.text-green {
  color: var(--green);
}

.scroll-progress {
  height: 2px;
  background: var(--green);
  box-shadow: none;
}

.reveal,
.reveal.from-left,
.reveal.from-right,
.reveal.zoom {
  transform: translateY(20px);
  transition-duration: 0.8s;
}

/* Header */
.site-header,
.site-header.scrolled {
  height: var(--header-h);
  background: rgba(5, 5, 5, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: none;
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
}

.header-inner {
  gap: 28px;
}

.brand {
  gap: 9px;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 29px;
  height: 29px;
  border-radius: 8px;
}

.brand-green {
  margin-left: 3px;
  color: var(--green);
}

.nav {
  gap: 2px;
}

.nav a {
  position: relative;
  padding: 8px 11px;
  border-radius: 0;
  color: rgba(245, 245, 247, 0.68);
  font-size: 0.78rem;
  font-weight: 480;
  letter-spacing: -0.005em;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: transparent;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--green);
  transform: translateX(-50%);
}

.lang-toggle {
  margin-left: 8px;
  padding: 6px 10px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  font-weight: 600;
}

.lang-toggle:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: transparent;
}

/* 3D gallery: the photographic prologue */
.hero-circular-gallery {
  background: #000;
}

.circular-gallery-sticky {
  background: #000;
}

.circular-gallery-sticky::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 31%, transparent 74%, rgba(0, 0, 0, 0.6)),
    radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, 0.2) 100%);
}

.circular-gallery-heading {
  top: clamp(24px, 5.6vh, 60px);
  width: min(980px, calc(100% - 36px));
}

.circular-gallery-heading .eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  opacity: 1;
}

.circular-gallery-heading h1 {
  max-width: 12ch;
  margin: 0 auto 12px;
  font-size: clamp(2.8rem, 6.2vw, 6.4rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.circular-gallery-heading p {
  color: rgba(245, 245, 247, 0.65);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
}

.circular-gallery-card-inner {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: clamp(14px, 1.5vw, 22px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
  transform: scale(0.985);
}

.circular-gallery-card.is-active .circular-gallery-card-inner {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.78);
  transform: scale(1);
}

.circular-gallery-card figcaption {
  padding: 54px 18px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.76));
}

.circular-gallery-card figcaption strong {
  font-size: 0.82rem;
  font-weight: 540;
  letter-spacing: 0;
}

.circular-gallery-help {
  bottom: clamp(34px, 6vh, 66px);
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.circular-gallery-progress {
  bottom: clamp(18px, 3.2vh, 32px);
  width: min(180px, 36vw);
  height: 1px;
}

.circular-gallery-progress span {
  background: var(--green);
}

/* Opening statement */
.home-intro {
  min-height: 96svh;
  display: grid;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
}

.home-intro .hero-text {
  max-width: 1080px;
  text-align: left;
}

.home-intro-title {
  max-width: 11ch;
  margin-bottom: clamp(28px, 4vw, 48px);
  font-size: clamp(4rem, 9.5vw, 9.2rem);
  font-weight: 650;
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-wrap: balance;
  color: var(--cream);
}

.home-intro .text-green {
  color: var(--green-bright);
}

.home-intro .hero-sub {
  max-width: 44ch;
  margin: 0 0 30px;
  color: var(--ink-muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.home-intro .hero-cta,
.home-intro .trust {
  justify-content: flex-start;
}

.home-intro .trust {
  margin-top: 22px;
  color: var(--ink-muted);
}

.home-intro .avatars {
  display: none;
}

.store-badges {
  gap: 10px;
}

.store-badge {
  min-height: 50px;
  padding: 8px 14px;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.home-intro .store-badge,
.cta-band .store-badge {
  border-color: var(--paper-line);
  background: #080808;
  color: var(--text);
}

.store-badge .sb-small {
  font-size: 0.58rem;
  font-weight: 450;
  letter-spacing: 0.01em;
}

.store-badge .sb-big {
  font-size: 1rem;
  font-weight: 600;
}

/* Full-bleed photographic chapters connect the gallery to the product story. */
.campus-story {
  padding-bottom: clamp(104px, 13vw, 190px);
  background: var(--paper);
  color: var(--ink);
}

.campus-story-frame {
  width: 100%;
  height: min(76vw, 860px);
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--surface-2);
}

.campus-story-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.campus-story-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: end;
  padding-top: clamp(54px, 8vw, 104px);
}

.campus-story-copy h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 7rem);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-wrap: balance;
  color: var(--cream);
}

.campus-story-copy p {
  max-width: 37ch;
  margin: 0 0 0.2em;
  color: var(--ink-muted);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  line-height: 1.58;
}

.campus-story-night {
  padding: clamp(26px, 4vw, 54px) clamp(18px, 3vw, 46px) clamp(104px, 13vw, 190px);
  background: #050505;
  color: var(--text);
}

.campus-story-night .campus-story-frame {
  height: min(68vw, 800px);
  min-height: 520px;
  border-radius: 34px;
}

.campus-story-night .campus-story-copy {
  padding-inline: 0;
}

.campus-story-night .campus-story-copy p {
  color: var(--muted);
}

/* Homepage chapters */
.page-index #neden {
  padding-top: clamp(48px, 7vw, 96px);
  background: #050505;
  color: var(--ink);
}

.page-index #neden .section-sub,
.page-index #neden .ps-card p {
  color: var(--ink-muted);
}

.ps-grid {
  max-width: none;
  gap: 0;
  border-top: 1px solid var(--paper-line-strong);
}

.ps-card,
.ps-card.solution {
  min-height: 360px;
  padding: clamp(34px, 5vw, 72px) clamp(10px, 5vw, 72px) 20px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ps-card + .ps-card {
  padding-right: 0;
  padding-left: clamp(28px, 5vw, 72px);
  border-left: 1px solid var(--paper-line-strong);
}

.ps-label,
.ps-card.problem .ps-label,
.ps-card.solution .ps-label {
  margin-bottom: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  opacity: 0.48;
  font-size: 0.7rem;
}

.ps-card.solution .ps-label {
  color: var(--green-bright);
  opacity: 1;
}

.ps-card h3 {
  max-width: 16ch;
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 3.3vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.ps-card p {
  max-width: 43ch;
  font-size: 1.05rem;
}

.page-index #nasil-calisir {
  background: var(--surface);
}

.steps {
  gap: clamp(28px, 4vw, 60px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.step {
  padding: clamp(30px, 4vw, 52px) 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.step::before {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 clamp(54px, 7vw, 94px);
  border-radius: 0;
  background: none;
  color: var(--green);
  font-size: clamp(3.6rem, 7vw, 6.8rem);
  font-weight: 500;
  line-height: 0.8;
}

.step h3 {
  max-width: 14ch;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.step p {
  max-width: 34ch;
  color: var(--muted);
}

.page-index #ozellikler {
  background: #050505;
}

.page-index #ozellikler .feature-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.page-index #ozellikler .feature-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: span 6;
  padding: clamp(28px, 4vw, 50px);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background: #121212;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.page-index #ozellikler .feature-card:nth-child(1),
.page-index #ozellikler .feature-card:nth-child(6) {
  grid-column: span 7;
}

.page-index #ozellikler .feature-card:nth-child(2),
.page-index #ozellikler .feature-card:nth-child(5) {
  grid-column: span 5;
}

.page-index #ozellikler .feature-card:hover {
  border-color: rgba(255, 255, 255, 0.13);
  background: #181818;
  transform: translateY(-2px);
}

.feature-ico,
.feature-card.accent-blue .feature-ico,
.feature-card.accent-yellow .feature-ico {
  width: 34px;
  height: 34px;
  margin-bottom: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.feature-ico svg,
.feature-card.accent-blue .feature-ico svg,
.feature-card.accent-yellow .feature-ico svg {
  width: 32px;
  height: 32px;
  stroke: var(--green);
  stroke-width: 1.35;
}

.feature-card.accent-blue .feature-ico svg {
  stroke: var(--blue-bright);
}

.feature-card.accent-yellow .feature-ico svg,
.contact-card.accent-yellow .feature-ico svg {
  stroke: var(--yellow);
}

.feature-card h3 {
  max-width: 17ch;
  margin-top: 48px;
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.feature-card p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 1rem;
}

.page-index #ilgi-alanlari {
  background: var(--green);
  color: #052010;
}

.tags-showcase {
  max-width: 1180px;
  text-align: left;
}

.tags-showcase .eyebrow {
  opacity: 0.62;
}

.tags-showcase .section-title {
  max-width: 13ch;
  color: #052010;
}

.tags-showcase .text-green {
  color: #052010;
}

.tags-showcase .section-sub {
  color: rgba(5, 32, 16, 0.68);
}

.tags-pills {
  justify-content: flex-start;
  gap: 0;
  margin-top: clamp(64px, 9vw, 120px);
}

.pill,
.pill.blue,
.pill.gold,
.pill.green {
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #062313;
  font-size: clamp(1.55rem, 3.8vw, 4rem);
  font-weight: 570;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.pill:not(:last-child)::after {
  content: "·";
  display: inline-block;
  padding: 0 0.22em;
  opacity: 0.35;
}

.page-index #ekranlar {
  background: var(--paper);
  color: var(--ink);
}

.scrolly-inner {
  grid-template-columns: 1fr 0.88fr;
  gap: clamp(48px, 8vw, 110px);
}

.scrolly-visual {
  top: calc(var(--header-h) + 26px);
  height: min(740px, calc(100vh - var(--header-h) - 52px));
  border-radius: 46px;
  border: 1px solid var(--surface-3);
  background: var(--paper-2);
}

.phone {
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.2));
}

.phone-glow-green .phone-bezel {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 16px 50px rgba(0, 0, 0, 0.28);
}

.scrolly-dot {
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
}

.scrolly-dot.is-active {
  background: var(--green);
  box-shadow: none;
  transform: scale(1.4);
}

.scrolly-step {
  opacity: 0.18;
}

.scrolly-num,
.scrolly-step.is-active .scrolly-num {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 24px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--green-bright);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  transform: none;
}

.scrolly-step h3 {
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.scrolly-step p {
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.page-index #rehberler {
  background: #050505;
  color: var(--ink);
  padding-top: clamp(80px, 10vw, 140px);
}

.page-index #rehberler .section-sub,
.page-index #rehberler .guide-card p {
  color: var(--ink-muted);
}

.guide-grid {
  gap: 0;
}

.guide-card {
  min-height: 360px;
  padding: 34px 34px 24px 0;
  border: 0;
  border-top: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
}

.guide-card + .guide-card {
  padding-left: 34px;
  border-left: 1px solid var(--paper-line);
}

.guide-card h2,
.guide-card h3 {
  max-width: 15ch;
  font-size: clamp(1.55rem, 2.7vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.guide-card a {
  color: inherit;
  font-size: 0.86rem;
  font-weight: 600;
}

.guide-card a::after {
  content: "  ↗";
  color: var(--green-bright);
}

.page-index #guven {
  background: #0a0a0a;
}

.page-index #guven .feature-grid {
  gap: clamp(30px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.page-index #guven .feature-card {
  min-height: 320px;
  padding: 42px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-index main > section:last-of-type {
  padding-top: 0;
  background: #0a0a0a;
}

/* Shared closing panel */
.cta-band {
  padding: clamp(64px, 9vw, 118px) clamp(28px, 7vw, 90px);
  border: 1px solid var(--paper-line);
  border-radius: 38px;
  background: var(--paper);
  color: var(--ink);
}

.cta-band::before {
  display: none;
}

.cta-band h2 {
  max-width: 12ch;
  margin: 0 auto 24px;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  font-weight: 650;
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: var(--cream);
}

.cta-band p {
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* Secondary pages */
.page-hero {
  min-height: min(760px, 72svh);
  display: grid;
  align-items: center;
  padding: clamp(96px, 13vw, 180px) 0;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  border-bottom: 1px solid var(--paper-line);
}

.page-hero .container {
  width: 100%;
}

.page-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.8rem, 8.5vw, 8.5rem);
  font-weight: 650;
  line-height: 0.89;
  letter-spacing: -0.07em;
  text-wrap: balance;
  color: var(--cream);
}

.page-hero p {
  max-width: 48ch;
  margin: 34px 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.5;
}

.page-hero .text-green,
main > .page-hero ~ .section .text-green {
  color: var(--green-bright);
}

main > .page-hero ~ .section,
main > .page-hero ~ .prose {
  background: #050505;
  color: var(--ink);
}

main > .page-hero ~ .section .section-sub,
main > .page-hero ~ .section .feature-row-text p,
main > .page-hero ~ .section .feature-card p,
main > .page-hero ~ .section .contact-note,
main > .page-hero ~ .prose p,
main > .page-hero ~ .prose li,
main > .page-hero ~ .prose .updated {
  color: var(--ink-muted);
}

.feature-row {
  min-height: 760px;
  gap: clamp(48px, 8vw, 120px);
  margin-bottom: clamp(80px, 12vw, 170px);
  padding-top: clamp(58px, 7vw, 94px);
  border-top: 1px solid var(--paper-line);
}

.feature-row-text h2,
.feature-row-text h3 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
  font-weight: 630;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.feature-row-text p {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}

.feature-list {
  margin-top: 28px;
  gap: 0;
}

.feature-list li {
  padding: 13px 0;
  border-top: 1px solid var(--paper-line);
  color: var(--ink);
}

.feature-list li::before {
  width: 7px;
  height: 7px;
  margin: 9px 5px 0 2px;
  background: var(--green);
}

.feature-row-media {
  min-height: 650px;
  border-radius: 44px;
  border: 1px solid var(--surface-3);
  background: var(--paper-2);
}

.feature-row-media .phone {
  width: min(290px, 66vw);
}

.editorial-media-photo {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

main > .page-hero ~ .section .feature-grid {
  gap: 0;
  border-top: 1px solid var(--paper-line-strong);
}

main > .page-hero ~ .section .feature-card {
  min-height: 320px;
  padding: 42px 38px 32px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

main > .page-hero ~ .section .feature-card + .feature-card {
  padding-left: 38px;
  border-left: 1px solid var(--paper-line);
}

main > .page-hero ~ .section .feature-ico svg {
  stroke: var(--green-bright);
}

main > .page-hero ~ .section .feature-card.accent-blue .feature-ico svg {
  stroke: var(--blue-bright);
}

main > .page-hero ~ .section .feature-card.accent-yellow .feature-ico svg,
main > .page-hero ~ .section .contact-card.accent-yellow .feature-ico svg {
  stroke: var(--yellow);
}

/* FAQ and contact as documents, not widgets */
.faq {
  max-width: 980px;
  gap: 0;
  border-top: 1px solid var(--paper-line-strong);
}

.faq-item {
  border: 0;
  border-bottom: 1px solid var(--paper-line);
  border-radius: 0;
  background: transparent;
}

.faq-q {
  padding: 28px 0;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 560;
}

.faq-q .faq-icon::before,
.faq-q .faq-icon::after {
  height: 1px;
  background: var(--ink);
}

.faq-a-inner {
  max-width: 62ch;
  padding: 0 44px 28px 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.contact-grid {
  max-width: none;
  gap: 0;
  border-top: 1px solid var(--paper-line-strong);
}

.contact-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 42px 40px 32px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.contact-card + .contact-card {
  padding-left: 40px;
  border-left: 1px solid var(--paper-line);
}

.contact-card .feature-ico {
  margin: 0 0 auto;
}

.contact-card h2,
.contact-card h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  letter-spacing: -0.04em;
}

.contact-card a {
  color: var(--green-bright);
  font-weight: 600;
}

/* Guides and legal reading pages */
main > .page-hero ~ .guide-grid {
  padding-bottom: clamp(96px, 12vw, 176px);
}

main > .page-hero ~ .guide-grid .guide-card p {
  color: var(--ink-muted);
}

.prose {
  max-width: 850px;
  padding-top: clamp(36px, 6vw, 76px);
  padding-bottom: clamp(96px, 12vw, 176px);
  font-size: 1.04rem;
  line-height: 1.72;
}

.prose h2 {
  margin-top: 2.7em;
  padding-top: 0.9em;
  border-top: 1px solid var(--paper-line);
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
}

.prose h3 {
  color: var(--ink);
  font-size: 1.22rem;
}

.prose a {
  color: var(--green-bright);
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  padding: clamp(72px, 9vw, 120px) 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #050505;
}

.footer-statement {
  margin-bottom: clamp(64px, 9vw, 110px);
  padding-bottom: clamp(58px, 8vw, 96px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-statement p {
  max-width: 10ch;
  margin: 0;
  color: var(--cream);
  font-size: clamp(3.2rem, 8vw, 8rem);
  font-weight: 630;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.footer-top {
  grid-template-columns: 1.7fr repeat(3, 0.75fr);
  gap: clamp(32px, 5vw, 76px);
}

.footer-brand p {
  color: var(--muted);
  line-height: 1.5;
}

.footer-col h4 {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.footer-col a {
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.75rem;
}

@media (max-width: 960px) {
  .section {
    padding: clamp(80px, 12vw, 128px) 0;
  }

  .section-title {
    font-size: clamp(2.8rem, 9vw, 5rem);
  }

  .home-intro {
    min-height: 84svh;
  }

  .home-intro-title {
    font-size: clamp(3.6rem, 12vw, 7rem);
  }

  .campus-story-frame,
  .campus-story-night .campus-story-frame {
    min-height: 500px;
  }

  .campus-story-copy {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-index #ozellikler .feature-card,
  .page-index #ozellikler .feature-card:nth-child(n) {
    grid-column: span 6;
    min-height: 330px;
  }

  .scrolly-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .scrolly-visual {
    top: calc(var(--header-h) + 8px);
    min-height: 48vh;
    max-height: 56vh;
    padding: 12px 0 14px;
    border-radius: 30px;
    background: rgba(28, 28, 30, 0.94);
  }

  .scrolly-step {
    min-height: 62vh;
  }

  .feature-row {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 52px;
    text-align: left;
  }

  .feature-row:nth-child(even) .feature-row-media {
    order: 0;
  }

  .feature-row-text p,
  .feature-list {
    margin-inline: 0;
  }

  .feature-row-media {
    min-height: 580px;
  }

  .guide-card,
  .guide-card + .guide-card {
    min-height: 300px;
    padding: 30px 24px 24px 0;
    border-left: 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    padding-inline: 20px;
  }

  .site-header,
  .site-header.scrolled {
    background: rgba(5, 5, 5, 0.9);
  }

  .nav {
    padding: 20px;
    background: #050505;
  }

  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .nav a.active::after {
    left: auto;
    right: 3px;
    bottom: 50%;
  }

  .circular-gallery-heading h1 {
    font-size: clamp(2.5rem, 12vw, 4.8rem);
  }

  .home-intro {
    min-height: auto;
  }

  .home-intro-title {
    font-size: clamp(3.2rem, 15vw, 5.3rem);
  }

  .home-intro .store-badges {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .home-intro .store-badge {
    width: 100%;
    justify-content: center;
  }

  .campus-story-frame,
  .campus-story-night .campus-story-frame {
    height: 72svh;
    min-height: 480px;
  }

  .campus-story-night {
    padding-inline: 12px;
  }

  .campus-story-night .campus-story-frame {
    border-radius: 24px;
  }

  .campus-story-copy h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

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

  .ps-card,
  .ps-card + .ps-card {
    min-height: 0;
    padding: 36px 0 64px;
    border-left: 0;
  }

  .ps-card + .ps-card {
    border-top: 1px solid var(--paper-line-strong);
  }

  .ps-label {
    margin-bottom: 32px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    min-height: 330px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .step::before {
    margin-bottom: 64px;
  }

  .page-index #ozellikler .feature-grid {
    grid-template-columns: 1fr;
  }

  .page-index #ozellikler .feature-card,
  .page-index #ozellikler .feature-card:nth-child(n) {
    grid-column: 1;
    min-height: 320px;
    border-radius: 28px;
  }

  .tags-pills {
    margin-top: 58px;
  }

  .pill,
  .pill.blue,
  .pill.gold,
  .pill.green {
    font-size: clamp(1.5rem, 8vw, 2.4rem);
  }

  .scrolly-visual {
    margin-inline: -6px;
  }

  .scrolly-phone {
    width: min(154px, 42vw);
  }

  .scrolly-step {
    align-items: flex-start;
    min-height: 58vh;
    padding-inline: 0;
    text-align: left;
  }

  .scrolly-step h3 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .scrolly-step p,
  .scrolly-num {
    margin-inline: 0;
  }

  .guide-grid,
  main > .page-hero ~ .section .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .guide-card,
  .guide-card + .guide-card,
  main > .page-hero ~ .section .feature-card,
  main > .page-hero ~ .section .feature-card + .feature-card,
  .contact-card,
  .contact-card + .contact-card {
    padding: 32px 0 42px;
    border-left: 0;
    border-top: 1px solid var(--paper-line);
  }

  .page-index #guven .feature-card,
  .page-index #guven .feature-card + .feature-card {
    border-top-color: rgba(255, 255, 255, 0.14);
  }

  .page-hero {
    min-height: 68svh;
    padding: 92px 0 84px;
  }

  .page-hero h1 {
    font-size: clamp(3.2rem, 14.5vw, 5.2rem);
  }

  .page-hero p {
    margin-top: 26px;
  }

  .feature-row {
    margin-bottom: 108px;
    padding-top: 46px;
  }

  .feature-row-text h2,
  .feature-row-text h3 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .feature-row-media {
    min-height: 500px;
    border-radius: 28px;
  }

  .cta-band {
    margin-inline: -4px;
    padding: 64px 22px;
    border-radius: 28px;
  }

  .cta-band h2 {
    font-size: clamp(2.6rem, 12vw, 4.5rem);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 82px 0;
  }

  .circular-gallery-help {
    max-width: calc(100% - 40px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-index #guven .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-col:last-child {
    grid-column: auto;
  }
}

/* Short laptop and landscape viewports need a dedicated vertical composition:
   the default front card is too tall to sit between the heading and controls. */
@media (min-width: 721px) and (max-height: 820px) {
  .hero-circular-gallery {
    --gallery-card-width: clamp(164px, calc(46.666svh - 86.667px), 280px);
    --gallery-card-height: clamp(123px, calc(35svh - 65px), 210px);
  }

  .circular-gallery-scene {
    transform: translateY(clamp(70px, calc(50px + 4vh), 82px));
  }
}

@media (min-width: 721px) and (max-height: 500px) {
  .hero-circular-gallery {
    --gallery-card-width: clamp(164px, 20vw, 210px);
    --gallery-card-height: clamp(123px, 15vw, 158px);
    --gallery-radius: clamp(260px, 33vw, 360px);
  }

  .circular-gallery-heading {
    top: 10px;
  }

  .circular-gallery-heading h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .circular-gallery-scene {
    transform: translateY(74px);
  }

  .circular-gallery-help,
  .circular-gallery-progress {
    display: none;
  }
}

@media (max-width: 480px) and (max-height: 700px) {
  html[lang="en"] .circular-gallery-heading h1 {
    font-size: clamp(2.1rem, 10.5vw, 4.2rem);
  }
}

/* Keep the 3D scene in its own vertical region. The card dimensions are
   capped by viewport height as well as width, so short screens do not let
   perspective enlarge the front card into the heading. */
.hero-circular-gallery {
  --gallery-card-width: clamp(210px, 24vw, 360px);
  --gallery-card-width: clamp(210px, min(24vw, 31svh), 360px);
  --gallery-card-height: clamp(158px, 18vw, 270px);
  --gallery-card-height: clamp(158px, min(18vw, 23.25svh), 270px);
  --gallery-radius: clamp(360px, 42vw, 640px);
  --gallery-radius: clamp(360px, min(42vw, 64svh), 640px);
  --gallery-heading-safe-area: clamp(250px, 31vh, 340px);
  --gallery-heading-safe-area: clamp(250px, 31svh, 340px);
  --gallery-controls-safe-area: clamp(44px, 6vh, 64px);
  --gallery-controls-safe-area: clamp(44px, 6svh, 64px);
}

.circular-gallery-scene {
  inset: var(--gallery-heading-safe-area) 0 var(--gallery-controls-safe-area);
  transform: none;
  perspective-origin: 50% 50%;
}

@media (max-width: 960px) {
  .hero-circular-gallery {
    --gallery-card-width: clamp(190px, 32vw, 260px);
    --gallery-card-width: clamp(190px, min(32vw, 31svh), 260px);
    --gallery-card-height: clamp(143px, 24vw, 195px);
    --gallery-card-height: clamp(143px, min(24vw, 23.25svh), 195px);
    --gallery-radius: clamp(280px, 48vw, 420px);
    --gallery-radius: clamp(280px, min(48vw, 58svh), 420px);
    --gallery-heading-safe-area: clamp(190px, 27vh, 260px);
    --gallery-heading-safe-area: clamp(190px, 27svh, 260px);
    --gallery-controls-safe-area: clamp(36px, 5vh, 52px);
    --gallery-controls-safe-area: clamp(36px, 5svh, 52px);
  }

  .circular-gallery-scene {
    perspective: 1200px;
  }
}

@media (max-width: 720px) {
  .hero-circular-gallery {
    --gallery-card-width: clamp(144px, 48vw, 210px);
    --gallery-card-width: clamp(144px, min(48vw, 30svh), 210px);
    --gallery-card-height: clamp(108px, 36vw, 158px);
    --gallery-card-height: clamp(108px, min(36vw, 22.5svh), 158px);
    --gallery-radius: clamp(190px, 60vw, 280px);
    --gallery-radius: clamp(190px, min(60vw, 48svh), 280px);
    --gallery-heading-safe-area: clamp(168px, 26vh, 210px);
    --gallery-heading-safe-area: clamp(168px, 26svh, 210px);
    --gallery-controls-safe-area: clamp(34px, 5vh, 46px);
    --gallery-controls-safe-area: clamp(34px, 5svh, 46px);
  }

  .circular-gallery-scene {
    perspective: 1050px;
  }
}

/* Landscape phones have very little vertical room. Preserve the same regions
   with a compact heading and a smaller ring instead of allowing overlap. */
@media (max-width: 960px) and (max-height: 520px) and (orientation: landscape) {
  .hero-circular-gallery {
    --gallery-card-width: clamp(128px, 28vw, 200px);
    --gallery-card-width: clamp(128px, min(28vw, 42svh), 200px);
    --gallery-card-height: clamp(96px, 21vw, 150px);
    --gallery-card-height: clamp(96px, min(21vw, 31.5svh), 150px);
    --gallery-radius: clamp(210px, 38vw, 320px);
    --gallery-radius: clamp(210px, min(38vw, 72svh), 320px);
    --gallery-heading-safe-area: clamp(112px, 36vh, 142px);
    --gallery-heading-safe-area: clamp(112px, 36svh, 142px);
    --gallery-controls-safe-area: 24px;
  }

  .circular-gallery-heading {
    top: 8px;
  }

  .circular-gallery-heading .eyebrow {
    margin-bottom: 3px;
    font-size: 0.64rem;
  }

  .circular-gallery-heading h1,
  html[lang="en"] .circular-gallery-heading h1 {
    max-width: 20ch;
    margin-bottom: 5px;
    font-size: clamp(1.7rem, 5.4vw, 2.5rem);
    line-height: 0.92;
  }

  .circular-gallery-heading p {
    font-size: 0.72rem;
  }

  .circular-gallery-progress {
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.from-left,
  .reveal.from-right,
  .reveal.zoom {
    transform: none;
  }

  .circular-gallery-scene {
    inset: auto;
  }

  .circular-gallery-sticky {
    padding-top: calc(var(--gallery-heading-safe-area) + 64px);
  }
}
