:root {
  --paper: #f7f0e7;
  --paper-deep: #f1e9de;
  --blue: #1550bd;
  --ink: #101010;
  --muted: #777268;
  --line: #d9d0c4;
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', sans-serif;
  --display: 'Oswald', sans-serif;
  --content-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select { font: inherit; }

/* Header */
.topbar {
  height: 88px;
  padding: 0 max(5%, calc((100vw - var(--content-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 124px; height: auto; }
.topbar nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 38px); }
.topbar nav a { padding: 12px 0; font-size: 12px; font-weight: 700; white-space: nowrap; transition: color .2s ease; }
.topbar nav a:hover, .text-link:hover { color: var(--blue); }
.nav-cta {
  padding: 13px 16px;
  color: var(--blue);
  border: 1px solid var(--blue);
  font: 500 10px var(--mono);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-cta span { margin-left: 14px; font-size: 15px; }
.menu { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 660px;
  padding: 65px max(6%, calc((100vw - var(--content-width)) / 2)) 72px;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(38px, 5vw, 76px);
  overflow: hidden;
}
.hero-copy { max-width: 540px; padding: 10px 0 30px; }
.eyebrow, .section-label, .tag, .small-note, .hero-index, .vertical-note,
.run-date span, .run-pace span, .join-foot, .form-note, footer > span,
footer > a:last-of-type {
  font: 10px var(--mono);
  letter-spacing: .055em;
}
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--blue); font-size: 9px; line-height: 1.7; letter-spacing: .07em; }
.pulse { width: 8px; height: 8px; flex: 0 0 auto; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 4px #1550bd22; }
.hero h1 {
  margin: 38px 0 28px;
  font-size: clamp(68px, 7.4vw, 108px);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.09em;
}
.hero h1 em, .story h2 em, .section-heading h2 em, .join h2 em,
.photo-wall-head h2 em { color: var(--blue); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.08em; }
.intro { max-width: 440px; color: #55534e; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  border: 0;
  cursor: pointer;
  font: 500 11px var(--mono);
}
.button span { font-size: 16px; }
.dark { color: #fff; background: var(--blue); }
.text-link { font: 10px var(--mono); text-transform: uppercase; }
.text-link span { margin-left: 7px; color: var(--blue); }
.hero-meta { display: flex; align-items: center; gap: 14px; margin-top: 52px; color: var(--muted); font: 9px var(--mono); letter-spacing: .06em; }
.avatars { display: flex; }
.avatars i {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  margin-right: -7px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: #d3c0ab;
  color: var(--blue);
  font: normal 10px var(--mono);
}
.avatars i:nth-child(2) { background: #ccd3d8; }
.avatars i:nth-child(3) { color: #fff; background: var(--blue); }
.hero-visual { position: relative; height: clamp(420px, 43vw, 540px); background: #d9d0c4; }
.hero-visual > img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.78); }
.photo-tag { position: absolute; bottom: 20px; left: 20px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; color: var(--blue); background: var(--paper); }
.photo-tag > span { font-size: 22px; }
.photo-tag div { display: grid; gap: 5px; }
.photo-tag b { font: 11px var(--mono); }
.photo-tag small { color: var(--muted); font: 8px var(--mono); }
.vertical-note { position: absolute; top: 34px; right: -35px; color: var(--blue); writing-mode: vertical-rl; }
.circle-stamp { position: absolute; right: -20px; bottom: -26px; width: 90px; height: 90px; display: grid; place-content: center; border-radius: 50%; color: #fff; background: var(--blue); text-align: center; font: 11px/1.1 var(--mono); transform: rotate(12deg); }
.hero-index { position: absolute; bottom: 25px; left: max(6%, calc((100vw - var(--content-width)) / 2)); color: var(--blue); }
.hero-index span { margin: 0 6px; color: #b8ad9f; }

/* Club message */
.ticker { overflow: hidden; padding: 16px 0; color: #fff; background: var(--blue); font: 11px var(--mono); letter-spacing: .08em; white-space: nowrap; }
.ticker div { word-spacing: 10px; animation: marquee 35s linear infinite; }
.ticker b { padding: 0 20px; color: #d8d0c6; }
@keyframes marquee { to { transform: translateX(-15%); } }
.section { padding: clamp(74px, 8vw, 108px) max(6%, calc((100vw - var(--content-width)) / 2)); }
.section-label { padding-top: 12px; color: var(--blue); font-size: 9px; line-height: 1.7; letter-spacing: .1em; }
.story, .next, .photo-wall-head { display: grid; grid-template-columns: minmax(155px, .65fr) minmax(0, 2.35fr); column-gap: clamp(36px, 6vw, 86px); }
.story { border-bottom: 1px solid var(--line); }
.story-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 64px); align-items: center; }
.story h2, .section-heading h2, .join h2 { margin: 0; font-size: clamp(48px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.07em; }
.story-side { max-width: 560px; padding: 0; }
.story-side p, .join-copy > p { color: #615e57; font-size: 14px; line-height: 1.85; }
.story-side p { margin: 0 0 14px; }
.round-link { width: 44px; height: 44px; display: grid; place-items: center; margin-top: 5px; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); font-size: 21px; }
.stats { grid-column: 1 / 3; display: flex; justify-content: space-between; gap: 24px; width: 100%; margin-top: 42px; padding: 25px 0 0; border-top: 1px solid var(--line); }
.stats div { display: grid; min-width: 0; gap: 9px; }
.stats b { color: var(--blue); font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.07em; }
.stats span { color: var(--muted); font: 8px var(--mono); letter-spacing: .04em; }
.about-gallery { grid-column: 1 / 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; margin-top: 48px; }
.about-gallery figure { margin: 0; }
.about-gallery img { width: 100%; height: clamp(190px, 22vw, 270px); display: block; object-fit: cover; filter: saturate(.84); }
.about-gallery figcaption { margin-top: 11px; color: var(--blue); font: 8px/1.6 var(--mono); letter-spacing: .05em; }

/* Events */
.next { gap: 0; background: var(--paper-deep); }
.next-content { width: 100%; max-width: 920px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-heading h2 { font-size: clamp(42px, 5vw, 64px); }
.small-note { flex: 0 0 auto; color: var(--muted); font-size: 8px; line-height: 1.8; }
.run-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) 82px 28px; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid #cfc6ba; }
.run-card:last-of-type { border-bottom: 1px solid #cfc6ba; }
.run-date { display: grid; align-content: center; gap: 2px; color: var(--blue); text-align: center; }
.run-date b { font-size: 29px; line-height: 1; letter-spacing: -.08em; }
.run-date span, .run-pace span { font-size: 8px; }
.run-info { min-width: 0; }
.tag { color: var(--blue); font-size: 8px; }
.run-info h3 { margin: 7px 0; font-size: 15px; line-height: 1.5; letter-spacing: -.02em; }
.run-info p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.run-pace { display: grid; align-self: center; gap: 7px; }
.run-pace span { color: var(--muted); }
.run-pace b { font-size: 12px; font-weight: 600; }
.run-arrow { color: var(--blue); font-size: 23px; }
.calendar-note { margin-top: 18px; color: var(--muted); font: 9px/1.7 var(--mono); }

/* Photo wall */
.photo-wall { padding-top: clamp(74px, 8vw, 108px); padding-bottom: clamp(74px, 8vw, 108px); }
.photo-wall-head { margin-bottom: 38px; }
.photo-wall-head h2 { margin: 0; font-size: clamp(42px, 5vw, 64px); line-height: 1.02; letter-spacing: -.075em; }
.photo-wall-head p { max-width: 58ch; margin: 14px 0 0; color: #615e57; font-size: 13px; line-height: 1.8; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.photo-tile { min-width: 0; margin: 0; }
.photo-open { width: 100%; display: block; padding: 0; overflow: hidden; border: 0; background: #e5dacf; cursor: zoom-in; aspect-ratio: 4 / 3; }
.photo-open img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.84); transition: transform .4s ease, filter .4s ease; }
.photo-open:hover img { filter: saturate(1); transform: scale(1.035); }
.photo-tile figcaption { min-height: 29px; margin-top: 8px; color: #6e685f; font: 8px/1.6 var(--mono); letter-spacing: .02em; }
.photo-tile:nth-last-child(2) { grid-column-start: 2; }
.photo-tile:last-child { grid-column-start: 3; }
.lightbox { max-width: min(92vw, 1200px); max-height: 90vh; overflow: visible; padding: 0; border: 0; background: #111; }
.lightbox::backdrop { background: #101010e8; }
.lightbox img { max-width: 92vw; max-height: 88vh; display: block; object-fit: contain; }
.lightbox-close { position: absolute; top: -42px; right: 0; border: 0; color: #fff; background: transparent; font-size: 32px; cursor: pointer; }

/* Sign-up and footer */
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: clamp(48px, 8vw, 110px); padding: clamp(68px, 8vw, 100px) max(8%, calc((100vw - 1120px) / 2)); color: var(--paper); background: var(--blue); }
.join .section-label { color: #d5dafa; }
.join-copy { max-width: 460px; }
.join h2 { margin-top: 38px; font-size: clamp(56px, 6vw, 78px); }
.join h2 em { color: #d3dafa; }
.join-copy > p { max-width: 40ch; margin-top: 22px; color: #d1d7e6; }
.join-foot { display: flex; gap: 24px; margin-top: 58px; color: #c6d2f4; font-size: 9px; }
#join-form { width: 100%; max-width: 480px; justify-self: end; display: flex; flex-direction: column; padding-top: 16px; }
#join-form label { margin: 0 0 10px; color: #d0d8ee; font: 9px var(--mono); }
#join-form input, #join-form select { margin-bottom: 26px; padding: 12px 0 14px; border: 0; border-bottom: 1px solid #839bd0; border-radius: 0; color: #fff; background: transparent; outline: none; font: 13px var(--sans); }
#join-form input::placeholder { color: #b5c5e8; }
#join-form select { color: #fff; }
#join-form select option { color: #111; }
.lime { margin-top: 4px; color: var(--blue); background: var(--paper); }
#join-form .form-note { margin-top: 12px; color: #c1cbed; font-size: 8px; line-height: 1.6; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px max(5%, calc((100vw - var(--content-width)) / 2)); color: var(--blue); background: var(--paper); }
footer .brand img { width: 112px; }
footer > span, footer > a:last-of-type { color: var(--muted); font-size: 8px; letter-spacing: .07em; }

@media (max-width: 900px) {
  .topbar nav, .nav-cta { display: none; }
  .menu { display: block; padding: 8px; border: 0; color: var(--blue); background: none; font-size: 22px; }
  .topbar nav[style*="display: flex"] { display: flex !important; }
  .hero { gap: 32px; }
  .story, .next { grid-template-columns: 1fr; gap: 28px; }
  .story-content { grid-template-columns: 1fr 1fr; }
  .section-label { padding-top: 0; }
  .next-content { max-width: none; }
  .photo-wall-head { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  .topbar { height: 72px; padding: 0 5%; }
  .brand img { width: 104px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding: 44px 7% 70px; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { max-width: 100%; font-size: 8px; }
  .hero h1 { margin: 28px 0 22px; font-size: clamp(65px, 16vw, 100px); }
  .hero-meta { margin-top: 28px; }
  .hero-visual { height: clamp(280px, 88vw, 420px); margin-right: 12px; }
  .hero-index { bottom: 24px; left: 7%; }
  .story, .next { gap: 24px; padding: 62px 7%; }
  .story-content { grid-template-columns: 1fr; gap: 20px; }
  .story h2, .section-heading h2, .join h2, .photo-wall-head h2 { font-size: clamp(42px, 11vw, 56px); }
  .story-side p { font-size: 13px; line-height: 1.8; }
  .stats { grid-column: 1; gap: 12px; margin-top: 20px; padding-top: 18px; }
  .stats b { font-size: clamp(18px, 5vw, 24px); }
  .stats span { font-size: 6px; line-height: 1.5; }
  .about-gallery { grid-column: 1; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
  .about-gallery .gallery-large { grid-column: 1 / 3; }
  .about-gallery img { height: clamp(150px, 44vw, 220px); }
  .about-gallery .gallery-large img { height: clamp(210px, 62vw, 290px); }
  .about-gallery figcaption { font-size: 7px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .small-note { display: block; margin-top: 15px; }
  .run-card { grid-template-columns: 46px minmax(0, 1fr) 24px; gap: 12px; padding: 20px 0; }
  .run-info h3 { font-size: 13px; }
  .run-info p { font-size: 10px; }
  .run-date b { font-size: 24px; }
  .run-date span { font-size: 6px; }
  .run-pace { display: none; }
  .run-arrow { font-size: 19px; }
  .photo-wall { padding: 64px 7%; }
  .photo-wall-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .photo-tile:nth-last-child(2), .photo-tile:last-child { grid-column: auto; }
  .photo-open { aspect-ratio: 1 / 1; }
  .photo-tile figcaption { min-height: 38px; font-size: 7px; }
  .join { grid-template-columns: 1fr; gap: 28px; padding: 62px 7%; }
  .join h2 { margin-top: 26px; }
  .join-foot { gap: 18px; margin-top: 28px; }
  #join-form { max-width: none; }
  footer { flex-wrap: wrap; gap: 14px; padding: 22px 6%; }
  footer > span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker div { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
/* About-page structure inspired by the reference */
.hero h1,.story h2,.section-heading h2,.photo-wall-head h2,.join h2{font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:-.025em}
.hero h1{font-size:clamp(46px,4.6vw,62px);line-height:1.02;letter-spacing:-.02em}
.hero h1 em,.story h2 em,.section-heading h2 em,.join h2 em,.photo-wall-head h2 em{font-family:var(--display);font-weight:500;font-style:normal;letter-spacing:-.025em}
.story h2,.section-heading h2,.photo-wall-head h2,.join h2{font-size:clamp(40px,4.6vw,60px);line-height:1.08;letter-spacing:-.025em}
.story-content{align-items:start;padding-top:8px}
.story h2{max-width:11ch}
.story-side{max-width:unset}
.story-side p{max-width:62ch}
.next{align-items:start}
.section-heading{align-items:flex-start;margin-bottom:38px}
.section-heading h2{max-width:15ch}
.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,34px)}
.activity-card{min-height:245px;padding:4px 22px 0;border-left:2px solid #1550bd66}
.activity-index{color:var(--blue);font:9px var(--mono);letter-spacing:.08em}
.activity-card h3{margin:18px 0 12px;font:600 17px/1.25 var(--display);letter-spacing:.015em}
.activity-card p{margin:0;color:#615e57;font-size:12px;line-height:1.8}
.next .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:42px;padding-top:30px;text-align:center}
.next .stats div{justify-items:center}
.calendar-note{margin-top:24px}
@media(max-width:900px){.activity-grid{gap:18px}.activity-card{padding-left:16px}.activity-card h3{font-size:16px}.activity-card p{font-size:11px}}
@media(max-width:760px){.hero h1{font-size:clamp(45px,11vw,58px);line-height:1.04}.story h2,.section-heading h2,.photo-wall-head h2,.join h2{font-size:clamp(38px,10vw,50px)}.story-content{padding-top:0}.activity-grid{grid-template-columns:1fr;gap:25px}.activity-card{min-height:0;padding:2px 0 0 18px}.activity-card h3{margin:11px 0 7px;font-size:17px}.activity-card p{font-size:12px}.next .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:34px;padding-top:22px}.next .stats b{font-size:clamp(17px,5vw,22px)}.next .stats span{font-size:6px}}
.topbar{position:sticky;top:0;z-index:30;background:var(--paper)}
#hikaye,#takvim,#galeri,#katil{scroll-margin-top:92px}
.instagram-link{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font:500 9px var(--mono);letter-spacing:.04em}
.instagram-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.instagram-link .instagram-dot{fill:currentColor;stroke:none}
.instagram-link:hover{opacity:.7}
.instagram-link:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
