/* İşte Sahne — site styles
   Palette taken from the logo: stage navy + spotlight (safety) yellow. */

:root {
    --ink: #1b1938;          /* stage navy, darkest */
    --ink-2: #2e2a63;        /* logo indigo */
    --ink-soft: #4a4670;
    --muted: #6b6788;
    --spot: #f5c542;         /* spotlight / safety yellow */
    --spot-deep: #e0a91b;
    --paper: #faf7f0;        /* warm off-white */
    --paper-2: #f2ede1;
    --card: #ffffff;
    --line: #e4dece;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(27, 25, 56, .06), 0 12px 32px -12px rgba(27, 25, 56, .18);
    --container: 1160px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-space: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }
main:focus { outline: none; }

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

a { color: var(--ink-2); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.005em;
    margin: 0;
    font-optical-sizing: auto;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
    outline: 3px solid var(--spot);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -48px;
    z-index: 100;
    background: var(--spot);
    color: var(--ink);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 240, .92);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(27, 25, 56, .5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img {
    height: 54px;
    width: auto;
    /* The logo file has a white background; multiply blends it into the header. */
    mix-blend-mode: multiply;
    filter: brightness(1.04) contrast(1.06);
}
.brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
    position: relative;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .15s ease, background-color .15s ease;
}
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--spot);
}
.site-nav .nav-cta {
    margin-left: 8px;
    background: var(--ink);
    color: var(--paper);
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] { background: var(--ink-2); color: #fff; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    cursor: pointer;
    position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    position: absolute;
    left: 50%;
    width: 20px; height: 2px;
    margin-left: -10px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
    .header-inner { min-height: 68px; }
    .brand img { height: 44px; }
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 8px var(--gutter) 20px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px -20px rgba(27, 25, 56, .45);
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 14px 12px; border-radius: var(--radius-sm); font-size: 1.05rem; }
    .site-nav a[aria-current="page"]:not(.nav-cta)::after { left: 12px; right: auto; width: 24px; bottom: 8px; }
    .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons & small bits ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font: 600 1rem/1 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-spot {
    background: var(--spot);
    color: var(--ink);
    box-shadow: 0 10px 30px -12px rgba(245, 197, 66, .8);
}
.btn-spot:hover { background: #ffd35c; color: var(--ink); }
.btn-ghost {
    border-color: rgba(250, 247, 240, .35);
    color: var(--paper);
}
.btn-ghost:hover { border-color: var(--paper); color: #fff; background: rgba(255, 255, 255, .06); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--ink-soft);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 22px; height: 2px;
    border-radius: 2px;
    background: var(--spot-deep);
}
.eyebrow-light { color: rgba(250, 247, 240, .75); }
.eyebrow-light::before { background: var(--spot); }

.link-arrow {
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
    white-space: nowrap;
}
.link-arrow span { display: inline-block; transition: transform .15s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Stage (dark) sections with spotlight ---------- */

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(120% 60% at 50% 115%, rgba(245, 197, 66, .14), transparent 60%),
        linear-gradient(180deg, #14122b 0%, var(--ink) 55%, #221f48 100%);
    color: var(--paper);
}

/* Spotlight cone shining down from the top right. */
.hero-beam {
    position: absolute;
    z-index: -1;
    top: -10%;
    right: 6%;
    width: min(760px, 90vw);
    height: 130%;
    background: linear-gradient(180deg, rgba(245, 197, 66, .38) 0%, rgba(245, 197, 66, .12) 45%, rgba(245, 197, 66, 0) 85%);
    clip-path: polygon(62% 0, 70% 0, 100% 100%, 0 100%);
    filter: blur(14px);
    transform-origin: 66% 0;
    animation: sway 14s ease-in-out infinite alternate;
    pointer-events: none;
}
.hero-beam::after {
    /* Pool of light on the stage floor. */
    content: "";
    position: absolute;
    left: 10%; right: 0; bottom: 6%;
    height: 14%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(245, 197, 66, .35), transparent);
}
.hero-beam-small { width: min(520px, 80vw); opacity: .8; }

@keyframes sway {
    from { transform: rotate(-4deg); }
    to   { transform: rotate(3deg); }
}

.hero { padding: clamp(72px, 12vw, 148px) 0 clamp(72px, 10vw, 128px); }
.hero-inner { max-width: var(--container); }

.hero-title {
    max-width: 14ch;
    font-size: clamp(2.6rem, 7vw, 5.25rem);
    font-weight: 600;
    color: #fff;
}
.hero-title .spot {
    color: var(--spot);
    font-style: italic;
    font-weight: 500;
}

.hero-lead {
    max-width: 56ch;
    margin-top: 28px;
    color: rgba(250, 247, 240, .82);
    font-size: clamp(1.08rem, 1.6vw, 1.25rem);
}

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

.hero-image {
    margin-top: 56px;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}

.page-hero { padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 80px); }
.page-hero-full { min-height: 70vh; display: flex; align-items: center; }
.page-title {
    font-size: clamp(2.3rem, 6vw, 4rem);
    color: #fff;
    max-width: 18ch;
}
.page-lead {
    max-width: 52ch;
    margin-top: 18px;
    color: rgba(250, 247, 240, .78);
    font-size: 1.15rem;
}

/* ---------- Light sections ---------- */

.section { padding: var(--section-space) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); }

.pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.pillar {
    position: relative;
    padding: 32px 28px 30px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pillar-num {
    display: inline-block;
    margin-bottom: 28px;
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink);
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--spot);
}
.pillar h3 { font-size: 1.45rem; margin-bottom: 12px; }
.pillar p { color: var(--ink-soft); }

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

.quote-band {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(56px, 8vw, 96px) 0;
    position: relative;
    overflow: hidden;
}
.quote-band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.quote-band blockquote { margin: 0; }
.quote-band blockquote p {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4.5vw, 3.4rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.15;
    color: var(--spot);
    max-width: 18ch;
}
.milestones { display: flex; gap: 40px; margin: 0; }
.milestones div { border-left: 2px solid rgba(245, 197, 66, .5); padding-left: 16px; }
.milestones dt {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.milestones dd { margin: 8px 0 0; color: rgba(250, 247, 240, .7); font-size: .95rem; }

.cta-band { padding: 0 0 clamp(32px, 5vw, 56px); }
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-band .cta-inner {
    padding-top: clamp(40px, 6vw, 64px);
    padding-bottom: clamp(40px, 6vw, 64px);
    /* Divider line aligned with the content, not the container padding. */
    background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); max-width: 22ch; }

/* ---------- Videos ---------- */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: clamp(20px, 3vw, 32px);
}

.video-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.video-thumb,
.video-frame {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--ink);
    overflow: hidden;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, opacity .3s ease;
    opacity: .92;
}
.video-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(27, 25, 56, .45));
}
.video-thumb:hover img { transform: scale(1.04); opacity: 1; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.play-button {
    position: absolute;
    z-index: 1;
    left: 50%; top: 50%;
    width: 68px; height: 68px;
    margin: -34px 0 0 -34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--spot);
    color: var(--ink);
    box-shadow: 0 0 0 10px rgba(245, 197, 66, .22), 0 14px 30px -8px rgba(0, 0, 0, .5);
    transition: transform .2s ease, box-shadow .2s ease;
}
.play-button svg { margin-left: 3px; }
.video-thumb:hover .play-button,
.video-thumb:focus-visible .play-button {
    transform: scale(1.08);
    box-shadow: 0 0 0 14px rgba(245, 197, 66, .28), 0 14px 30px -8px rgba(0, 0, 0, .5);
}

.video-meta { padding: 20px 22px 24px; }
.video-title { font-size: 1.3rem; }
.video-description { margin-top: 10px; color: var(--muted); font-size: .97rem; }

.empty-state { color: var(--muted); font-size: 1.15rem; }

/* ---------- About ---------- */

.narrow { max-width: 820px; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}
.split-center { align-items: center; }
.split-media { margin: 0; position: sticky; top: 108px; }
.split-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.split-center .split-media { position: static; }

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split-media { position: static; order: -1; }
    .split-media img { max-height: 420px; object-fit: cover; }
}

.prose { max-width: 66ch; color: var(--ink-soft); }
.prose-block + .prose-block {
    margin-top: 44px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.prose-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    color: var(--ink);
}
.prose-label::before {
    content: "";
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--spot);
    box-shadow: 0 0 0 5px rgba(245, 197, 66, .25);
    flex: none;
}
.prose p { margin-bottom: 1.1em; }
/* Editors sometimes start paragraphs in lowercase; lang="tr" makes i → İ correctly. */
.prose p::first-letter { text-transform: uppercase; }
.prose .prose-intro {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    line-height: 1.35;
    font-weight: 500;
    color: var(--ink);
}

/* ---------- Contact ---------- */

.contact-intro {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.35;
    font-weight: 500;
    max-width: 30ch;
    margin-bottom: 32px;
}

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-item:hover { border-color: #d6cfbb; box-shadow: var(--shadow); }
.contact-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--spot);
}
.contact-icon svg { width: 22px; height: 22px; fill: currentColor; }
.contact-text { display: flex; flex-direction: column; min-width: 0; }
.contact-label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}
.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    overflow-wrap: anywhere;
}
a.contact-value { text-decoration: none; }
a.contact-value:hover { text-decoration: underline; }
/* Make the whole card clickable when it holds a link. */
.contact-item:has(a.contact-value) { position: relative; }
.contact-item a.contact-value::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--ink);
    color: rgba(250, 247, 240, .72);
    padding: 48px 0;
    font-size: .95rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px 40px;
    align-items: start;
}
.footer-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}
.footer-tagline { color: var(--spot); font-style: italic; font-family: var(--font-display); }
.footer-nav { display: flex; gap: 6px 24px; flex-wrap: wrap; }
.footer-nav a { color: rgba(250, 247, 240, .85); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-meta {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(250, 247, 240, .12);
    font-size: .875rem;
    color: rgba(250, 247, 240, .5);
}

@media (max-width: 640px) {
    .footer-inner { grid-template-columns: 1fr; }
    .milestones { gap: 28px; }
    .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
