/* kayaz.co · site styles. Renkler ve ölçüler kayaz-tokens.css'ten gelir. */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--link); text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--surface);
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografi ölçeği ---------- */
.display-xl, .display-l, .heading-2, .heading-3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.display-xl { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.056; letter-spacing: -0.02em; }
.display-l  { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.125; }
.heading-2  { font-size: clamp(26px, 3vw, 32px); line-height: 1.25; }
.heading-3  { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.333; }
.body-l     { font-size: 18px; line-height: 30px; }
.small      { font-size: 14px; line-height: 22px; }

.label, .eyebrow, .site-nav a, .nav-toggle, .button {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.label { color: var(--ink-muted); }
.label--inline { color: inherit; margin-left: .35em; }

.accent-dot { color: var(--kayaz-scarlet); }

/* ---------- Nokta dizisi (1 : 1,5 : 2,25 : 3,4) ---------- */
.dots {
  display: inline-flex;
  align-items: center;
  gap: .14em;
  font-size: 40px; /* dizi bir bütün olarak font-size ile ölçeklenir */
  line-height: 0;
}
.dots i {
  display: block;
  border-radius: 50%;
  background: currentColor;
}
.dots i:nth-child(1) { width: var(--dot-1); height: var(--dot-1); }
.dots i:nth-child(2) { width: var(--dot-2); height: var(--dot-2); }
.dots i:nth-child(3) { width: var(--dot-3); height: var(--dot-3); }
.dots i:nth-child(4) { width: var(--dot-4); height: var(--dot-4); background: var(--kayaz-scarlet); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--ink-muted);
}
.eyebrow .dots { color: var(--ink); font-size: 40px; gap: 5px; }

/* ---------- Buton ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-button);
  background: var(--button-bg);
  color: var(--button-ink);
  text-decoration: none;
  transition: background-color .15s ease;
}
.button:hover { background: #B30F08; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.site-header__logo { display: block; padding: 8px 0; }
.site-header__logo img { width: 120px; } /* minimum boyut: 120 px */

.site-nav ul { display: flex; gap: 36px; }
.site-nav a {
  display: inline-block;
  padding: 14px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { border-bottom-color: currentColor; }

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 767px) {
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .js .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 16px 0; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 20px; padding: 0 0 8px; }
  html:not(.js) .site-nav li + li { border: 0; }
}

/* ---------- Bölümler ---------- */
.section { padding-block: var(--section); }
.section--alt { background: var(--surface-alt); }
.section__intro { max-width: 46ch; margin-top: 20px; color: var(--ink-muted); }

.band {
  background: var(--band);
  color: var(--band-ink);
  --ink: var(--band-ink);
  --ink-muted: var(--band-ink-muted);
  --line: var(--band-line);
}

/* Hero */
.hero { padding-top: clamp(64px, 10vw, 128px); padding-bottom: var(--section); overflow: hidden; }
.hero .label { margin-bottom: 28px; }
.hero__title { max-width: 17ch; }
.hero__lead { max-width: 40ch; margin: 28px 0 40px; color: var(--ink-muted); }
.hero__dots { margin-top: clamp(64px, 9vw, 120px); }
.dots--hero {
  font-size: clamp(160px, 26vw, 360px);
  gap: .16em;
  color: var(--ink);
}

/* About */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
}
.prose p { max-width: 64ch; }
.prose p + p { margin-top: 20px; }
.prose .body-l { color: var(--ink); }
.prose p:not(.body-l) { color: var(--ink-muted); }
.pull { display: block; margin-top: 28px; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; }

/* How we work */
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.principles li { padding: 32px 32px 0 0; }
.principles li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.principles p { margin-top: 12px; color: var(--ink-muted); max-width: 36ch; }

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.process__dot {
  display: flex;
  align-items: center;
  height: 40px;
  margin-bottom: 28px;
}
.process__dot::before {
  content: "";
  display: block;
  border-radius: 50%;
  background: currentColor;
  width: var(--d); height: var(--d);
}
.process__step:nth-child(1) { --d: 10px; }
.process__step:nth-child(2) { --d: 15px; }
.process__step:nth-child(3) { --d: 22.5px; }
.process__step:nth-child(4) { --d: 34px; }
.process__step:nth-child(4) .process__dot::before { background: var(--kayaz-scarlet); }
.process__step p { margin-top: 10px; color: var(--ink-muted); max-width: 28ch; }

/* Services */
.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  padding-block: 56px;
  border-top: 1px solid var(--line);
}
#services h2 { margin-bottom: 56px; }
.service:last-child { padding-bottom: 0; }
.service__head { align-self: start; position: sticky; top: 104px; }
.service__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}
.service__summary { margin-top: 12px; color: var(--ink-muted); max-width: 32ch; }
.service__list li + li { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.service__list p { margin-top: 10px; color: var(--ink-muted); max-width: 64ch; }

/* Contact + footer */
.contact .button { margin-top: 40px; }
.contact h2 { max-width: 18ch; }
.site-footer { padding-block: 48px; border-top: 1px solid var(--band-line); }
.site-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer img { width: 180px; }
.site-footer .small { color: var(--band-ink-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li + li { padding: 28px 0; border-left: 0; }
  .principles li + li { border-top: 1px solid var(--line); }
  .principles li:last-child { padding-bottom: 0; }
}

@media (max-width: 767px) {
  .split, .service { grid-template-columns: 1fr; gap: 24px; }
  .service__head { position: static; }
  .service { padding-block: 40px; }
  .principles { margin-top: 40px; }
  .process { grid-template-columns: 1fr; row-gap: 0; margin-top: 40px; }
  .process__step {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    padding-block: 24px;
    border-top: 1px solid var(--line);
  }
  .process__step .process__dot { grid-row: span 2; height: 32px; margin: 0; justify-content: center; }
  .process__step p { margin-top: 4px; }
  .hero__lead { margin: 20px 0 32px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
}

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