/* İsmail Alkan — site stili
   Layout idea: editorial left-aligned sheet; a huge didone name, then one band per practice
   (title column + content column), the music band inverted to night. */
:root {
  --paper: #f7f7f4;
  --ink: #17171c;
  --muted: #5c5c66;
  --rule: #dcdce0;
  --accent: #2633c9;
  --night: #0e0f1a;
  --night-ink: #ececf2;
  --night-muted: #9b9cb0;
  --night-accent: #8c95ff;
  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.375rem;
  --step-2: 2rem;
  --step-3: clamp(2.5rem, 6vw, 4.25rem);
  --step-4: clamp(4.5rem, 21vw, 11.5rem);
  --gutter: clamp(18px, 5vw, 64px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111117; --ink: #ededf0; --muted: #a0a0ab; --rule: #2a2a33; --accent: #8c95ff;
    --night: #07070d; --night-ink: #ececf2; --night-muted: #9b9cb0; --night-accent: #8c95ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111117; --ink: #ededf0; --muted: #a0a0ab; --rule: #2a2a33; --accent: #8c95ff;
  --night: #07070d; --night-ink: #ececf2; --night-muted: #9b9cb0; --night-accent: #8c95ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.mono { font: italic 500 1.5rem/1 var(--font-display); text-decoration: none; letter-spacing: -0.02em; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: var(--step--1); }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.ctrl { display: flex; gap: 6px; align-items: center; }
.ctrl button {
  font: 500 var(--step--1)/1 var(--font-body); color: var(--muted); background: none;
  border: 1px solid var(--rule); border-radius: 999px; height: 32px; min-width: 32px; padding: 0 10px; cursor: pointer;
}
.ctrl button:hover { color: var(--ink); border-color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 2px; }
.lang button { border: 0; height: 26px; min-width: 34px; padding: 0 8px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) { .nav { display: none; } .ctrl { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(40px, 7vw, 88px); border-bottom: 1px solid var(--rule); }
.name {
  font-family: var(--font-display); font-size: var(--step-4); line-height: 0.86; letter-spacing: -0.035em;
  font-weight: 400; font-optical-sizing: auto;
}
.name span { display: block; }
.name span + span { padding-left: 0.62em; font-style: italic; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; margin-top: clamp(36px, 6vw, 72px); align-items: end; }
.lead { font-size: var(--step-1); line-height: 1.45; max-width: 30ch; }
.roles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.roles li { border-bottom: 1px solid var(--rule); }
.roles a { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; text-decoration: none; }
.roles .where { font: italic 400 1.25rem/1.2 var(--font-display); }
.roles .what { color: var(--muted); }
.roles .go { color: var(--muted); transition: transform .2s; }
.roles a:hover .go { transform: translateX(4px); color: var(--accent); }
.roles a:hover .what { color: var(--ink); }
@media (max-width: 760px) {
  .hero-foot { grid-template-columns: 1fr; }
  .roles a { grid-template-columns: 6rem 1fr auto; }
}

/* page-load moment: the name sets in, once */
@media (prefers-reduced-motion: no-preference) {
  .name span { animation: set .9s cubic-bezier(.2,.7,.1,1) both; }
  .name span + span { animation-delay: .12s; }
  @keyframes set { from { transform: translateY(0.18em); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(0 0 -10% 0); } }
}

/* ---------- practice bands ---------- */
.band { padding: clamp(56px, 9vw, 112px) 0; border-bottom: 1px solid var(--rule); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); }
.band-title .field { font-size: var(--step--1); color: var(--muted); margin-bottom: 10px; }
.band-title h2 { font-family: var(--font-display); font-size: var(--step-3); line-height: 0.95; letter-spacing: -0.025em; }
.band-title .role { margin-top: 14px; font-size: var(--step-0); color: var(--muted); }
.band-body { display: grid; gap: 28px; align-content: start; }
.band-body > p.big { font-size: var(--step-1); line-height: 1.45; max-width: 34ch; }
@media (min-width: 900px) { .band-title { position: sticky; top: 104px; align-self: start; } }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } }

.facets { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.facets li { border: 1px solid var(--rule); border-radius: 999px; padding: 5px 12px; font-size: var(--step--1); color: var(--muted); }

/* Soulife: the four areas as a tidy definition list */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); margin: 0; }
.areas div { padding: 16px 16px 18px 0; border-bottom: 1px solid var(--rule); }
.areas div:nth-child(odd) { border-right: 1px solid var(--rule); }
.areas div:nth-child(even) { padding-left: 16px; }
.areas dt { font: italic 400 1.25rem/1.25 var(--font-display); }
.areas dd { margin: 4px 0 0; color: var(--muted); font-size: var(--step--1); }

/* Apps */
.apps { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.app { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.app-icon { width: 56px; height: 56px; }
.app-icon svg { width: 56px; height: 56px; display: block; border-radius: 14px; }
.app-group { font: 500 var(--step--1)/1.3 var(--font-body); color: var(--muted); margin: 8px 0 10px; }
.app .links a + a { margin-left: 0; }
.app h3 { font: 600 var(--step-1)/1.2 var(--font-body); letter-spacing: -0.01em; }
.app .kind { color: var(--muted); font-size: var(--step--1); margin-top: 2px; }
.app p.desc { margin-top: 10px; max-width: 52ch; }
.app .links { margin-top: 10px; font-size: var(--step--1); display: flex; gap: 16px; flex-wrap: wrap; }
.soon { color: var(--muted); }
.pledge { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; max-width: 54ch; color: var(--muted); }
.pledge strong { color: var(--ink); font-weight: 600; }

/* Music band: night */
.band.music { background: var(--night); color: var(--night-ink); border-bottom: 0; }
.band.music .band-title .field, .band.music .band-title .role, .band.music .muted { color: var(--night-muted); }
.band.music a:hover { color: var(--night-accent); }
.wave { width: 100%; height: 120px; display: block; }
.listen { display: flex; flex-wrap: wrap; gap: 12px; }
.listen a {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--night-ink) 30%, transparent); font-weight: 550;
}
.listen a:hover { border-color: var(--night-accent); }
.listen svg { width: 18px; height: 18px; fill: currentColor; }
.genres { color: var(--night-muted); font-size: var(--step--1); }

/* Focus quote */
.focus { padding: clamp(64px, 11vw, 140px) 0; border-bottom: 1px solid var(--rule); }
.focus blockquote { margin: 0; max-width: 20ch; font: italic 400 var(--step-3)/1.08 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.focus figcaption { margin-top: 22px; color: var(--muted); font-size: var(--step--1); }

/* Contact */
.contact { padding: clamp(56px, 9vw, 112px) 0 40px; }
.contact .label { color: var(--muted); font-size: var(--step--1); margin-bottom: 12px; }
.mail { font: 400 clamp(1.9rem, 6.4vw, 4.75rem)/1.05 var(--font-display); letter-spacing: -0.02em; text-decoration: none; word-break: break-word; }
.mail:hover { color: var(--accent); }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; font-size: var(--step--1); }
.foot { margin-top: clamp(56px, 8vw, 96px); padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: var(--step--1); }

/* Apps page */
.page-head { padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 5vw, 56px); border-bottom: 1px solid var(--rule); }
.back { font-size: var(--step--1); color: var(--muted); text-decoration: none; display: inline-block; margin-bottom: 28px; }
.page-head h1 { font-family: var(--font-display); font-size: clamp(3rem, 10vw, 7rem); line-height: 0.92; letter-spacing: -0.03em; }
.page-head p { margin-top: 20px; font-size: var(--step-1); max-width: 36ch; line-height: 1.45; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
#theme { display: inline-grid; place-items: center; padding: 0; width: 32px; }
