/* ============================================================
   DİJİTAL PATRON — Atölye/Defter estetiği
   Krem kâğıt · koyu mürekkep · vermilyon vurgu
   Fraunces (display) · Archivo (gövde) · JetBrains Mono (etiket)
   ============================================================ */

:root {
  --paper:    #F3ECDD;
  --paper-2:  #ECE3D0;
  --paper-3:  #E4D9C1;
  --ink:      #17120E;
  --ink-2:    #38302A;
  --ink-soft: #6A5F54;
  --accent:   #DD451C;   /* vermilyon */
  --accent-d: #B6360F;
  --line:     rgba(23, 18, 14, 0.14);
  --line-2:   rgba(23, 18, 14, 0.08);

  --ff-display: "Fraunces", Georgia, serif;
  --ff-body:    "Archivo", system-ui, sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--accent); color: var(--paper); }

a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- Arka plan: blueprint grid + grain ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 78%);
}
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem var(--pad);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
}
.wordmark { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; letter-spacing: -0.01em; }
.wordmark__mark { color: var(--accent); font-size: 0.78em; transform: translateY(-1px); }
.wordmark__txt { font-size: 1.02rem; }
.site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.4vw, 2rem); }
.site-nav a {
  font-family: var(--ff-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.02em; color: var(--ink-2); transition: color 0.2s;
}
.site-nav a:hover { color: var(--accent); }
.nav-cta {
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 0.42rem 0.95rem; color: var(--ink) !important;
  transition: background 0.22s, color 0.22s, transform 0.22s;
}
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; transform: translateY(-1px); }
@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- Shared section bits ---------- */
section { padding: clamp(4.5rem, 10vw, 9rem) var(--pad); }
.kicker {
  display: inline-block; font-family: var(--ff-mono); font-size: 0.74rem;
  font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.kicker--center { display: block; text-align: center; }
.section-head { max-width: 760px; margin: 0 auto clamp(2.8rem, 6vw, 4.5rem); text-align: center; }
.section-head h2,
.honest h2, .final__title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.5vw, 3.7rem);
  line-height: 1.04; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 80, "SOFT" 0, "WONK" 1;
}
.section-head h2 em, .honest h2 em, .hero__title em, .final__title em { color: var(--accent); }
.section-lead {
  margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.08rem;
  max-width: 60ch; margin-left: auto; margin-right: auto;
}

/* ============ HERO ============ */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-mono); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem; background: var(--paper-2);
}
.tick { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent);} 70%{ box-shadow: 0 0 0 9px transparent;} 100%{ box-shadow: 0 0 0 0 transparent;} }

.hero__title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(2.9rem, 9.2vw, 6.6rem);
  line-height: 0.97; letter-spacing: -0.035em;
  margin: 1.6rem 0 0; max-width: 14ch;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
}
.hero__title span { display: block; }
.hero__title em { font-weight: 500; }
.accent-line { position: relative; width: max-content; max-width: 100%; }
.accent-line::after {
  content: ""; position: absolute; left: 0.02em; bottom: 0.08em; height: 0.07em; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  animation: underline 0.9s cubic-bezier(.7,0,.3,1) 1.15s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }

.hero__sub {
  margin-top: 1.7rem; font-size: clamp(1.05rem, 2.1vw, 1.32rem);
  color: var(--ink-2); max-width: 54ch; line-height: 1.55;
}
.hero__sub strong { color: var(--ink); font-weight: 600; }

.hero__cta { margin-top: 2.4rem; max-width: 520px; }

/* ---------- Signup form ---------- */
.signup {
  display: flex; gap: 0.5rem; background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 0.4rem 0.4rem 0.4rem 0.5rem;
  box-shadow: 5px 6px 0 var(--ink);
  transition: box-shadow 0.18s, transform 0.18s;
}
.signup:focus-within { box-shadow: 3px 3px 0 var(--accent); transform: translate(2px, 3px); }
.signup__input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font-family: var(--ff-mono); font-size: 0.95rem; color: var(--ink);
  padding: 0.55rem 0.8rem; letter-spacing: -0.01em;
}
.signup__input:focus { outline: none; }
.signup__input::placeholder { color: var(--ink-soft); opacity: 0.7; }
.signup__btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 0; cursor: pointer; white-space: nowrap;
  background: var(--accent); color: var(--paper);
  font-family: var(--ff-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.7rem 1.3rem; border-radius: 999px;
  transition: background 0.2s, gap 0.2s;
}
.signup__btn:hover { background: var(--accent-d); gap: 0.7rem; }
.signup__btn:disabled { opacity: 0.6; cursor: progress; }
.signup__btn-arrow { transition: transform 0.2s; }
.signup__btn:hover .signup__btn-arrow { transform: translateX(2px); }
.signup__note {
  margin-top: 0.95rem; font-family: var(--ff-mono); font-size: 0.78rem;
  color: var(--ink-soft); padding-left: 0.4rem;
}
.signup__note.is-ok { color: var(--accent-d); font-weight: 600; }
.signup__note.is-err { color: #9a1b1b; font-weight: 600; }
@media (max-width: 540px) {
  .signup { flex-direction: column; border-radius: 22px; box-shadow: 4px 5px 0 var(--ink); }
  .signup__btn { justify-content: center; padding: 0.85rem; }
}

.hero__proof {
  margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem;
  font-family: var(--ff-mono); font-size: 0.82rem; color: var(--ink-soft);
}
.proof__item b { color: var(--ink); font-weight: 700; }
.proof__sep { color: var(--accent); }

/* ============ MANIFESTO ============ */
.manifesto { background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 8vw, 6rem) var(--pad); }
.manifesto__inner { max-width: 980px; margin: 0 auto; }
.manifesto p {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.7rem); line-height: 1.22; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 60, "SOFT" 20;
}
.manifesto em { color: var(--accent); font-weight: 500; }
.manifesto .strike { position: relative; color: color-mix(in srgb, var(--paper) 62%, transparent); }
.manifesto .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: 3px;
  background: var(--accent); transform: rotate(-1.4deg);
}

/* ============ İKİLİ FORMAT ============ */
.duo { max-width: var(--maxw); margin: 0 auto; }
.duo__grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.4rem; align-items: stretch;
  max-width: 920px; margin: 0 auto;
}
.persona {
  border: 1.5px solid var(--ink); border-radius: 20px; padding: 2rem 1.8rem;
  background: var(--paper-2); position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.persona::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px); background-size: 100% 28px;
}
.persona:hover { transform: translateY(-5px); box-shadow: 8px 10px 0 var(--ink); }
.persona--patron { background: var(--paper-3); }
.persona__tag {
  font-family: var(--ff-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 1.2rem;
}
.persona__name {
  font-family: var(--ff-display); font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 600;
  line-height: 1; letter-spacing: -0.02em; font-variation-settings: "opsz" 100, "WONK" 1;
}
.persona__role { font-family: var(--ff-mono); font-size: 0.8rem; color: var(--ink-soft); margin: 0.5rem 0 1.1rem; }
.persona__desc { color: var(--ink-2); font-size: 1.02rem; }
.duo__plus {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 2.6rem; color: var(--accent); font-weight: 400;
}
@media (max-width: 720px) {
  .duo__grid { grid-template-columns: 1fr; }
  .duo__plus { padding: 0.2rem 0; font-size: 2rem; }
}

/* ============ YOLCULUK ============ */
.journey { max-width: var(--maxw); margin: 0 auto; }
.levels { list-style: none; max-width: 920px; margin: 0 auto; border-top: 1px solid var(--line); }
.level {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(1rem, 4vw, 2.6rem); padding: clamp(1.4rem, 3vw, 2rem) 0.5rem;
  border-bottom: 1px solid var(--line); position: relative;
  transition: padding-left 0.28s, background 0.28s;
}
.level::before {
  content: ""; position: absolute; left: -0.5rem; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 0.28s;
}
.level:hover { padding-left: 1.4rem; background: var(--paper-2); }
.level:hover::before { transform: scaleY(1); }
.level__num {
  font-family: var(--ff-mono); font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.7rem); color: var(--ink);
  letter-spacing: -0.03em; line-height: 1; min-width: 1.8em;
  transition: color 0.28s;
}
.level:hover .level__num { color: var(--accent); }
.level__title {
  font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  line-height: 1.12; letter-spacing: -0.01em; font-variation-settings: "opsz" 50;
}
.level__desc { color: var(--ink-soft); font-size: 0.96rem; margin-top: 0.25rem; }
.level__out {
  justify-self: end; text-align: right; max-width: 18ch;
  font-family: var(--ff-mono); font-size: 0.78rem; font-weight: 500; line-height: 1.35;
  color: var(--ink-2); border-left: 2px solid var(--accent); padding-left: 0.85rem;
}
.level--star .level__num::after { content: "★"; font-size: 0.5em; color: var(--accent); vertical-align: super; margin-left: 0.1em; }
.opt-tag {
  font-family: var(--ff-mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.15em 0.6em; vertical-align: middle; margin-left: 0.5rem;
}
@media (max-width: 680px) {
  .level { grid-template-columns: auto 1fr; }
  .level__out { grid-column: 1 / -1; justify-self: start; text-align: left; max-width: none; margin-top: 0.2rem; }
}

/* ============ DÜRÜSTLÜK ============ */
.honest { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.honest__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.honest__lead { position: sticky; top: 6rem; }
.honest__cards { display: flex; flex-direction: column; gap: 1rem; }
.hcard {
  display: flex; gap: 1rem; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; background: var(--paper);
}
.hcard__no { font-family: var(--ff-mono); color: var(--accent); font-size: 1.3rem; line-height: 1; }
.hcard p { color: var(--ink-2); }
.hcard b { color: var(--ink); }
@media (max-width: 760px) {
  .honest__grid { grid-template-columns: 1fr; }
  .honest__lead { position: static; }
}

/* ============ FINAL CTA ============ */
.final { text-align: center; background: var(--ink); color: var(--paper); }
.final .kicker { color: var(--accent); }
.final__title {
  color: var(--paper); font-size: clamp(2.6rem, 8vw, 5rem); margin-top: 0.4rem;
  font-variation-settings: "opsz" 144, "WONK" 1;
}
.final__sub { color: color-mix(in srgb, var(--paper) 72%, transparent); max-width: 46ch; margin: 1.2rem auto 2.4rem; font-size: 1.1rem; }
.signup--final { max-width: 480px; margin: 0 auto; background: var(--paper); border-color: var(--paper); box-shadow: 5px 6px 0 var(--accent); }
.signup--final:focus-within { box-shadow: 3px 3px 0 var(--accent); }
.final .signup__note { text-align: center; color: color-mix(in srgb, var(--paper) 60%, transparent); }
.final .signup__note.is-ok { color: #ffd9b0; }
.final .signup__note.is-err { color: #ff9b8a; }

/* ============ FOOTER ============ */
.site-foot {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad);
  display: grid; gap: 0.8rem; text-align: center; justify-items: center;
}
.foot__brand { font-weight: 700; font-size: 1.1rem; }
.foot__brand .wordmark__mark { color: var(--accent); }
.foot__tag { font-family: var(--ff-display); font-style: italic; color: var(--ink-soft); font-size: 1.1rem; }
.foot__nav { display: flex; gap: 1.5rem; margin: 0.4rem 0; }
.foot__nav a { font-family: var(--ff-mono); font-size: 0.8rem; color: var(--ink-2); transition: color 0.2s; }
.foot__nav a:hover { color: var(--accent); }
.foot__fine { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--ink-soft); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.85s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 0.11s + 0.1s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal-up.in { opacity: 1; transform: none; }
.reveal-up:nth-child(2) { transition-delay: 0.06s; }
.reveal-up:nth-child(3) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-up { opacity: 1 !important; transform: none !important; }
  .accent-line::after { transform: scaleX(1); }
}
