/* =========================================================
   FEED studio — Design System
   Renk paleti (markadan çıkarıldı):
   --ink   #29285B  (ana lacivert)
   --white #FFFFFF
   --paper #F7F6FB  (kırık beyaz zemin)
   --muted #5F5E84  (soluk lacivert metin)
   --ghost #A9A8BC  (watermark / açık ton)
   ========================================================= */

:root {
  --ink:        #29285B;
  --ink-deep:   #1C1B42;
  --ink-800:    #201F4A;
  --white:      #FFFFFF;
  --paper:      #F7F6FB;
  --paper-2:    #EFEEF6;
  --muted:      #5F5E84;
  --ghost:      #A9A8BC;
  --line:       rgba(41, 40, 91, 0.12);
  --line-soft:  rgba(41, 40, 91, 0.07);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--ink); color: var(--white); }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--muted); opacity: .6; }

/* ---------- logo lockup ---------- */
.logo {
  font-family: var(--font-display);
  display: inline-flex; align-items: baseline; line-height: 1;
  letter-spacing: -0.02em; white-space: nowrap;
}
.logo .b { font-weight: 800; }
.logo .t { font-weight: 300; letter-spacing: -0.01em; margin-left: .06em; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding-block: 12px;
}
/* over the dark hero the nav is light; once scrolled onto white it flips dark */
.nav .logo { font-size: 26px; color: var(--white); transition: color .4s var(--ease); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--white); opacity: .82; transition: opacity .25s, color .4s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  padding: 11px 22px; border-radius: 100px; background: var(--white); color: var(--ink) !important;
  font-weight: 600; opacity: 1 !important; transition: transform .25s var(--ease), background .25s, color .4s;
}
.nav-cta:hover { transform: translateY(-2px); }
.nav.scrolled .logo { color: var(--ink); }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav.scrolled .nav-cta { background: var(--ink); color: var(--white) !important; }
.nav.scrolled .nav-cta:hover { background: var(--ink-deep); }
.burger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s var(--ease); }
.nav.scrolled .burger span { background: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh; position: relative; display: flex; flex-direction: column;
  justify-content: center; color: var(--white); overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, #34336f 0%, var(--ink) 42%, var(--ink-deep) 100%);
  padding-top: 120px;
}
.hero::after { /* watermark FEED studio at bottom */
  content: "FEEDstudio"; position: absolute; left: 50%; bottom: -.18em; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(90px, 20vw, 300px); color: rgba(255,255,255,.055);
  white-space: nowrap; pointer-events: none; line-height: .8;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-tag {
  color: var(--ghost); letter-spacing: .24em; text-transform: uppercase; font-size: 12.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 12px;
}
.hero-tag::before { content:""; width: 30px; height: 1px; background: var(--ghost); }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 8.4vw, 118px); line-height: .95; letter-spacing: -0.035em;
  margin-top: 26px; text-wrap: balance;
}
.hero h1 .thin { font-weight: 300; }
.hero h1 em { font-style: normal; color: var(--ghost); }
.hero-sub {
  margin-top: 30px; max-width: 560px; font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(255,255,255,.72); line-height: 1.6;
}
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; font-weight: 600; font-size: 15px;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn-primary { background: var(--white); color: var(--ink); }
.btn-primary:hover { transform: translateY(-3px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.3); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* marquee of services under hero */
.hero-marquee {
  position: relative; z-index: 2; margin-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14);
  overflow: hidden; padding-block: 20px;
}
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 300; letter-spacing: -.01em;
  font-size: clamp(18px, 2.4vw, 30px); color: rgba(255,255,255,.62); display: inline-flex; align-items: center; gap: 48px;
}
.marquee-track span::after { content: "✳"; color: var(--ghost); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { background: var(--paper); }
.manifesto .wrap { max-width: 1000px; }
.manifesto-body {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(26px, 4.2vw, 54px); line-height: 1.28; letter-spacing: -0.02em;
  color: var(--muted); text-wrap: balance;
}
.manifesto-body b { font-weight: 700; color: var(--ink); }
.manifesto-body .em { color: var(--ink); font-weight: 300; }
.manifesto-lead { margin-bottom: 34px; }

/* =========================================================
   SERVICES
   ========================================================= */
.services-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
.section-title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(32px, 5.2vw, 64px); line-height: 1.02; margin-top: 16px; text-wrap: balance;
}
.section-title .thin { font-weight: 300; color: var(--muted); }
.services-head p { color: var(--muted); max-width: 520px; font-size: 17px; }

.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc {
  grid-column: span 4; position: relative; overflow: hidden;
  padding: 34px 32px 30px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line-soft);
  transition: transform .45s var(--ease), background .45s, color .45s, box-shadow .45s;
  min-height: 260px; display: flex; flex-direction: column;
}
.svc:nth-child(1), .svc:nth-child(6) { grid-column: span 8; }
.svc-num { font-size: 13px; font-weight: 600; color: var(--ghost); letter-spacing: .1em; }
.svc-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: auto;
  display: grid; place-items: center; background: var(--white); border: 1px solid var(--line);
  transition: background .45s, border-color .45s;
}
.svc-ico svg { width: 26px; height: 26px; stroke: var(--ink); transition: stroke .45s; }
.svc h3 { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -.02em; margin-top: 26px; }
.svc p { color: var(--muted); margin-top: 10px; font-size: 15px; transition: color .45s; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.svc-tags span { font-size: 12.5px; color: var(--muted); padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px; transition: .45s; }
.svc:hover { transform: translateY(-6px); background: var(--ink); color: var(--white); box-shadow: 0 30px 60px -30px rgba(41,40,91,.5); }
.svc:hover h3 { color: var(--white); }
.svc:hover p, .svc:hover .svc-num { color: rgba(255,255,255,.72); }
.svc:hover .svc-ico { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.svc:hover .svc-ico svg { stroke: var(--white); }
.svc:hover .svc-tags span { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.8); }

/* =========================================================
   STATS
   ========================================================= */
.stats { background: var(--ink); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-left: 1px solid rgba(255,255,255,.16); padding-left: 22px; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6vw, 68px); letter-spacing: -.03em; line-height: 1; }
.stat .num small { font-size: .5em; margin-left: 2px; }
.stat .lbl { color: rgba(255,255,255,.62); margin-top: 12px; font-size: 14.5px; }

/* =========================================================
   PROCESS
   ========================================================= */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 60px; }
.step { position: relative; padding-top: 30px; border-top: 2px solid var(--ink); }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--muted); letter-spacing: .1em; }
.step h4 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin-top: 14px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* =========================================================
   WORK / PORTFOLIO
   ========================================================= */
.work { background: var(--paper); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 54px; }
.card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/11;
  background: var(--ink); color: var(--white); display: flex; align-items: flex-end;
  padding: 32px; isolation: isolate; transition: transform .5s var(--ease);
}
.card::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.9;
  background: linear-gradient(135deg, var(--ink-deep), var(--ink) 60%, #3b3a7a); }
.card::after { content:""; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(80% 80% at 80% 10%, rgba(255,255,255,.08), transparent 60%); }
.card:nth-child(3), .card:nth-child(4) { aspect-ratio: 16/9; }
.card:hover { transform: translateY(-6px); }
.card .cat { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ghost); font-weight: 600; }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.02em; margin-top: 8px; }
.card .go { position: absolute; top: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; transition: .3s var(--ease); }
.card:hover .go { background: var(--white); }
.card:hover .go svg { stroke: var(--ink); }
.card .go svg { width: 18px; height: 18px; stroke: var(--white); transition: stroke .3s; }
.card .ghost-logo { position: absolute; left: 30px; top: 26px; font-family: var(--font-display); opacity: .5; font-size: 15px; }
.card .ghost-logo .b { font-weight: 800; } .card .ghost-logo .t { font-weight: 300; }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(120% 140% at 50% -20%, #35346f, var(--ink) 55%, var(--ink-deep)); color: var(--white); }
.cta::after { content:"FEEDlemek."; position:absolute; left:50%; bottom:-.15em; transform:translateX(-50%);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(80px, 16vw, 240px); letter-spacing:-.03em;
  color: rgba(255,255,255,.05); white-space: nowrap; pointer-events:none; }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 7vw, 92px); letter-spacing:-.035em; line-height:1; text-wrap: balance; }
.cta h2 .thin { font-weight: 300; color: var(--ghost); }
.cta p { color: rgba(255,255,255,.72); max-width: 480px; margin: 24px auto 0; font-size: 18px; }
.cta .btn { margin-top: 38px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 15% -20%, #35346f, var(--ink) 55%, var(--ink-deep)); color: var(--white); }
.contact::after { content:"FEEDlemek."; position:absolute; left:50%; bottom:-.15em; transform:translateX(-50%);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(80px, 16vw, 240px); letter-spacing:-.03em;
  color: rgba(255,255,255,.05); white-space: nowrap; pointer-events:none; }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-intro h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 6vw, 76px); letter-spacing:-.035em; line-height:1; margin-top: 18px; text-wrap: balance; }
.contact-intro h2 .thin { font-weight: 300; color: var(--ghost); }
.contact-intro p { color: rgba(255,255,255,.72); max-width: 440px; margin-top: 22px; font-size: 17px; }
.contact-info { margin-top: 34px; display: grid; gap: 16px; }
.contact-info li { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.85); font-size: 16px; }
.contact-info a { transition: color .25s; } .contact-info a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.ci-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.ci-ico svg { width: 20px; height: 20px; stroke: var(--white); }

.contact-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ghost); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font-family: inherit; font-size: 15.5px; color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); border-radius: 12px;
  padding: 14px 16px; transition: border-color .25s, background .25s; resize: vertical;
}
.contact-form select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23A9A8BC' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.contact-form select option { color: #1C1B42; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.38); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.09); }
.contact-form .invalid { border-color: #ff8a8a !important; }
.form-submit { justify-content: center; margin-top: 4px; }
.form-submit:disabled { opacity: .6; pointer-events: none; }
.form-note { min-height: 20px; font-size: 14px; color: var(--ghost); text-align: center; }
.form-note.ok { color: #9be7b6; } .form-note.err { color: #ff9d9d; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink-deep); color: var(--white); padding-block: 70px 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .logo { font-size: 30px; color: var(--white); }
.footer-brand p { color: rgba(255,255,255,.6); margin-top: 18px; max-width: 300px; font-size: 15px; }
.fcol h5 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ghost); margin-bottom: 18px; }
.fcol a { display: block; color: rgba(255,255,255,.72); font-size: 15px; padding: 6px 0; transition: color .25s, padding-left .25s; }
.fcol a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 26px; color: rgba(255,255,255,.5); font-size: 13.5px; }
.footer-bottom .socials { display: flex; gap: 8px; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: .3s var(--ease); }
.footer-bottom .socials a:hover { background: var(--white); color: var(--ink); }
.footer-bottom .socials svg { width: 16px; height: 16px; }

/* =========================================================
   reveal-on-scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 940px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding: 0 40px;
    background: var(--ink); color: var(--white); transform: translateX(100%); transition: transform .45s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a { color: var(--white); font-size: 22px; }
  .nav-cta { background: var(--white); color: var(--ink) !important; }
  .burger { display: flex; z-index: 101; }
  .burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg);} .burger.open span:nth-child(2){opacity:0;} .burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg);}
  .burger.open span { background: var(--white); }
  .svc, .svc:nth-child(1), .svc:nth-child(6) { grid-column: span 6; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 620px) {
  .svc, .svc:nth-child(1), .svc:nth-child(6) { grid-column: span 12; min-height: auto; }
  .work-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
