/* ===== Fonts (self-hosted, SIL Open Font License) ===== */
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ===== Brand tokens (İznik palette) ===== */
:root {
  --cobalt: #1B3A8C;
  --turquoise: #2BA6A4;
  --coral: #C8382E;
  --coral-text: #9E2A22; /* darker coral for small text on cream */
  --gold: #C9A24A;
  --cream: #F5EFE2;
  --cream-dark: #E9E1CF;
  --paper: #FFFDF8;
  --navy: #14213D;
  --muted: #3B4560;
  --muted-light: #DCE3F2;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--cobalt); font-weight: 600; }
a:hover { color: var(--coral); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.05; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 24px; display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 8px; }
.section-head.row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head h2 { font-size: clamp(36px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 18px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-family: var(--sans); font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-coral { background: var(--coral); color: var(--cream); }
.btn-coral:hover { background: #A92F26; color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--navy); }
.btn-cream:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--cream); color: var(--cream); }
.btn-outline:hover { background: rgba(245, 239, 226, 0.12); color: var(--cream); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--cobalt); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Header */
.site-header { background: var(--navy); color: var(--cream); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; }
.brand:hover { color: var(--cream); }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 28px; letter-spacing: 0.08em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav-links a:not(.btn) { color: var(--cream); text-decoration: none; padding: 12px 0; }
.nav-links a:not(.btn):hover { color: var(--gold); }

/* Hero */
.hero { background: var(--cobalt); color: var(--cream); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.hero-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1 { font-size: clamp(44px, 5vw, 72px); line-height: 1.02; }
.lead { font-size: 19px; color: var(--muted-light); max-width: 520px; }
.featured { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.featured-title { font-weight: 600; font-size: 17px; }
.tile-strip {
  height: 28px;
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Crect x='7' y='7' width='14' height='14' fill='%232BA6A4'/%3E%3Crect x='7' y='7' width='14' height='14' fill='%232BA6A4' transform='rotate(45 14 14)'/%3E%3Ccircle cx='14' cy='14' r='3' fill='%23C8382E'/%3E%3C/svg%3E");
  background-size: 28px 28px;
}

/* Video player */
.player { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 12px; overflow: hidden; background: var(--navy); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--navy); cursor: pointer; }
.player-btn img { width: 100%; height: 100%; object-fit: cover; }
.play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform 0.15s; }
.player-btn:hover .play-icon { transform: translate(-50%, -50%) scale(1.08); }
.player-placeholder { display: flex; align-items: center; justify-content: center; border: 3px dashed var(--turquoise); }
.player-placeholder .play-icon { position: static; transform: none; opacity: 0.85; }
.player-note { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--muted-light); font-weight: 600; font-size: 14px; }

/* Series cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.series-card { background: var(--paper); border: 1px solid #DED4BF; border-top: 10px solid var(--accent); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.series-card h3 { font-size: 32px; }
.series-card p { color: var(--muted); font-size: 16px; }
.series-card a { padding: 8px 0; margin-top: auto; }

/* Video grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--sans); font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; min-height: 44px; }
.chip.is-active { background: var(--navy); color: var(--cream); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 28px; }
.video-card { display: flex; flex-direction: column; gap: 10px; }
.video-card .player-placeholder { background: var(--cobalt); border: 0; }
.video-card .player-placeholder .player-note { display: none; }
.video-series { font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-text); }
.video-title { font-family: var(--sans); font-weight: 600; font-size: 19px; line-height: 1.35; }
.video-status { color: var(--muted); font-size: 15px; }
.video-status:empty { display: none; }

/* Newsletter */
.newsletter { background: var(--cream-dark); }
.newsletter-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.newsletter-inner > div { flex: 1 1 360px; display: flex; flex-direction: column; gap: 8px; }
.newsletter h2 { font-size: clamp(32px, 3.5vw, 40px); }
.newsletter p { color: var(--muted); }
.newsletter-form { flex: 1 1 400px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input { font: 16px var(--sans); padding: 13px 16px; border: 2px solid var(--navy); border-radius: 8px; background: var(--paper); color: var(--navy); }
.form-msg { flex-basis: 100%; font-weight: 600; color: var(--cobalt); min-height: 1.6em; }

/* About */
.about { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 48px; }
.about-mark { flex: 0 1 320px; aspect-ratio: 1; border-radius: 16px; background: var(--cobalt); display: flex; align-items: center; justify-content: center; }
.about-mark img { width: 62%; height: auto; }
.about-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-text h2 { font-size: clamp(36px, 4vw, 48px); }
.about-text p { color: var(--muted); font-size: 18px; line-height: 1.7; }

/* Footer */
.site-footer { background: var(--navy); color: var(--cream); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.footer-brand { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: 0.08em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { color: var(--cream); padding: 10px 0; }
.footer-links a:hover { color: var(--gold); }
.small { font-size: 14px; color: var(--muted-light); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play-icon { transition: none; }
}
