/* Self-hosted Google Fonts (latin + latin-ext for Turkish), no third-party requests */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-300i-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-300i-latin.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-400-latin.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-400-latin.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: 'Saira';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/saira-300-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/saira-300-latin.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: 'Saira';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/saira-300-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/saira-300-latin.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: 'Saira';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/saira-300-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/saira-300-latin.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;
}

:root {
  --night: #0a1428;
  --panel: #101d38;
  --line: #22355a;
  --steel: #8da2c4;
  --ice: #e8eef8;
  --red: #e0283f;
  --display: "Saira", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--ice); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; }
h2 { font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: .01em; }
h3 { font-weight: 500; font-size: 1.25rem; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ice); color: var(--night); padding: 8px 12px; z-index: 10; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--night) 80%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.mark { font: 700 1.125rem var(--display); letter-spacing: .12em; text-decoration: none; border-left: 3px solid var(--red); padding-left: 10px; }
nav { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
nav a { text-decoration: none; color: var(--steel); font-size: .9375rem; white-space: nowrap; }
nav a:hover { color: var(--ice); }

/* Hero: the cut-out figure stands in front of his name, inside signal rings */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 72% 40%, #1b3264 0%, transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--night);
  background-blend-mode: normal, soft-light, soft-light, normal;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--night)); pointer-events: none; z-index: 3; }
.hero-in { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; height: clamp(600px, calc(100svh - 64px), 920px); padding-top: 56px; }
.hero h1 { position: relative; z-index: 1; font-weight: 700; text-transform: uppercase; font-size: clamp(3.5rem, 10.5vw, 9.5rem); letter-spacing: -.01em; line-height: .88; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: transparent; -webkit-text-stroke: 1.5px var(--steel); }
/* Figure overlaps the end of the name; the clip's empty sky runs off the top. Rings sit on his head (37% across, 31% down the clip) */
.figure { position: absolute; z-index: 2; margin: 0; left: 42%; bottom: 0; height: 112%; aspect-ratio: 576 / 1024; }
.figure video { width: 100%; height: 100%; display: block; -webkit-mask-image: linear-gradient(#000 70%, transparent 96%); mask-image: linear-gradient(#000 70%, transparent 96%); }
.rings { position: absolute; width: 260%; left: 37%; top: 31%; transform: translate(-50%, -50%); z-index: -1; fill: none; stroke: var(--steel); stroke-width: 1; opacity: .4; }
.rings circle { transform-origin: 400px 400px; animation: ring 1.6s cubic-bezier(.2,.7,.2,1) both; }
.rings circle:nth-child(1) { stroke: var(--red); stroke-width: 1.5; }
.rings circle:nth-child(2) { animation-delay: .15s; }
.rings circle:nth-child(3) { animation-delay: .3s; }
.rings circle:nth-child(4) { animation-delay: .45s; }
.rings circle:nth-child(5) { animation-delay: .6s; stroke-dasharray: 2 10; }
@keyframes ring { from { transform: scale(.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rings circle { animation: none; } }

.hero-text { position: relative; z-index: 4; padding-bottom: 64px; max-width: 420px; }
.lede { font-size: 1.1875rem; color: var(--steel); margin: 0; }
.motto { margin: 20px 0 0; padding-left: 16px; border-left: 2px solid var(--red); font-style: italic; font-weight: 300; font-size: 1.125rem; }
/* Quotes stack in one grid cell, so the box keeps the tallest quote's height and nothing jumps */
.motto { display: grid; }
.motto p { margin: 0; grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .6s, transform .6s; }
.motto p.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .motto p { transition: none; transform: none; } }
.cta { margin: 32px 0 0; }
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; padding: 14px 28px; font: 500 1rem var(--display); letter-spacing: .04em; clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 12px) 100%, 0 100%); }
.btn:hover { background: #f03a50; }

/* Sections */
section[id] { padding-block: 104px; scroll-margin-top: 64px; }
.band { background: var(--panel); border-block: 1px solid var(--line); }
.two { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.prose { font-size: 1.1875rem; line-height: 1.8; max-width: 64ch; }
.prose p:first-child { margin-top: 0; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 0 0 40px 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 7px; width: 11px; height: 11px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 25%, transparent), 0 0 18px var(--red); }
.timeline .yr { font: 500 1rem var(--display); color: var(--red); }
.timeline p { margin: 6px 0 0; color: var(--steel); }

.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.news article { border-top: 1px solid var(--line); padding-top: 20px; position: relative; }
.news article::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--red); }
.news img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 25%; margin-bottom: 16px; }
.news time { font-size: .875rem; color: var(--steel); }
.news h3 { margin-top: 8px; }
.news p { color: var(--steel); margin: 8px 0 0; }

/* All photos are portrait, so tiles are portrait too */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 48px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; filter: saturate(.9); }

.contact { background: radial-gradient(70% 120% at 85% 0%, #1b3264, transparent 70%), var(--panel); border-top: 1px solid var(--line); }
.contact p { margin: 0 0 16px; color: var(--steel); }
.mail { font: 300 clamp(1.25rem, 3vw, 2rem) var(--display); color: var(--ice); text-underline-offset: 8px; text-decoration-color: var(--red); overflow-wrap: anywhere; }
.social { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 24px; }
.social a { color: var(--steel); }

.foot { padding-block: 32px; color: var(--steel); font-size: .875rem; }

/* Content still to come from Mesut Bey; remove the class as each piece arrives */
.tbd { outline: 1px dashed #c9a400; outline-offset: 4px; }

@media (max-width: 800px) {
  .hero-in { height: auto; padding-top: 32px; gap: 0; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5.5rem); }
  .figure { position: relative; left: auto; height: auto; width: min(80%, 380px); align-self: flex-end; margin-top: -24px; }
  .hero-text { padding: 0 0 56px; margin-top: -96px; }
  .two, .news { grid-template-columns: 1fr; }
  section[id] { padding-block: 64px; }
  .two { gap: 24px; }
  nav { gap: 16px; }
}
@media (max-width: 560px) { .mark { display: none; } .top-in { justify-content: flex-start; } }
