:root {
  --bg: #0C0B09;
  --panel: #14120E;
  --text: #EFEADF;
  --muted: #9C968A;
  --line: rgba(239, 234, 223, .13);
  --honey: #D9A441;
  --honey-hi: #F6DDA0;
  --honey-deep: #9A6A1B;
  --gold: linear-gradient(105deg, #F6DDA0 0%, #D9A441 48%, #A9761F 100%);
  --ivory: #F4EFE4;
  --ink: #15130F;
  --serif: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* İnce film greni: düz koyu yüzeylere doku verir */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--honey); color: var(--ink); }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 4px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografi ---------- */
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.03em;
  word-spacing: .05em;
  line-height: 1.08;
  text-wrap: balance;
}
h2 { font-size: clamp(30px, 4.5vw, 60px); }
h3 { font: 500 18px/1.3 var(--sans); letter-spacing: -.01em; }
em {
  font-style: normal; font-weight: inherit;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 10px; height: 11px; background: var(--honey); clip-path: var(--hex); }

/* ---------- Butonlar ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 2px;
  font-size: 15px; font-weight: 500;
  border: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s, box-shadow .4s, transform .4s var(--ease);
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(5px); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 rgba(217, 164, 65, 0); }
.btn--gold:hover { box-shadow: 0 14px 50px -8px rgba(217, 164, 65, .6); transform: translateY(-2px); }
.btn--lg { padding: 22px 36px; font-size: 18px; }
.btn--ghost { border-color: var(--line); padding: 10px 20px; font-size: 14px; }
.btn--ghost:hover { border-color: var(--honey); color: var(--honey-hi); }

.link {
  font-size: 15px; font-weight: 500; padding-bottom: 4px;
  background: linear-gradient(var(--honey), var(--honey)) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease), color .3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--honey-hi); }

/* ---------- Üst menü ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.nav.is-stuck {
  background: rgba(12, 11, 9, .72);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 36px; height: 76px; }
.nav__links { display: flex; gap: 36px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav__links a { transition: color .25s; }
.nav__links a:hover { color: var(--text); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand__mark { width: 31px; height: 28px; }
.brand__word { font-size: 22px; font-weight: 300; letter-spacing: -.035em; }
.brand__word b { font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s ease; }
.hero__canvas { -webkit-mask-image: radial-gradient(ellipse 75% 85% at 70% 45%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 75% 85% at 70% 45%, #000 35%, transparent 100%); }
.hero__canvas.is-ready { opacity: 1; }
/* WebGL yoksa: sabit petek deseni */
.hero--static {
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(217, 164, 65, .2), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='180' viewBox='0 0 104 180'%3E%3Cpath d='M52 0l52 30v60l-52 30L0 90V30zM0 150l52 30 52-30' fill='none' stroke='%23D9A441' stroke-opacity='.22'/%3E%3Cpath d='M52 120v60M0 90v60M104 90v60' stroke='%23D9A441' stroke-opacity='.22'/%3E%3C/svg%3E");
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(12, 11, 9, .55) 22%, transparent 48%),
    linear-gradient(90deg, rgba(12, 11, 9, .8) 0%, rgba(12, 11, 9, .4) 36%, transparent 62%),
    linear-gradient(180deg, rgba(12, 11, 9, .7) 0%, transparent 22%);
}
.hero__inner { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-block: 150px clamp(64px, 10vh, 112px); }
.hero__title { font-size: clamp(40px, 6.9vw, 104px); line-height: 1.04; letter-spacing: -.035em; max-width: 10.8em; margin-top: 30px; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; width: 100%; margin-top: clamp(32px, 5vh, 56px); padding-top: 32px; border-top: 1px solid var(--line); }
.hero__lead { max-width: 36em; font-size: clamp(16px, 1.4vw, 19px); color: #C9C3B6; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.hero__cue { position: absolute; left: 50%; bottom: 0; width: 1px; height: 46px; background: linear-gradient(var(--honey), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Açılış: yazılar sırayla yükselir */
.js .hero__inner > * , .js .hero__foot > * { animation: rise 1.2s var(--ease) both; }
.js .hero__title { animation-delay: .15s; animation-duration: 1.5s; }
.js .hero__foot { animation-delay: .5s; }
.js .hero__foot > * { animation-delay: .65s; }
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

/* ---------- Bölümler ---------- */
.section { position: relative; padding-block: clamp(96px, 13vw, 184px); }
.section__head { max-width: 900px; margin-bottom: clamp(48px, 7vw, 96px); }
.section__head h2 { margin-top: 24px; }

.section--light {
  --text: var(--ink); --muted: #6B665C; --line: rgba(21, 19, 15, .14);
  background: var(--ivory); color: var(--text);
}
.section--light em { background: none; color: var(--honey-deep); }

/* ---------- Hizmetler: petek ---------- */
#hizmetler::before {
  content: ""; position: absolute; inset: 10% 0 auto 30%; height: 70%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(217, 164, 65, .11), transparent);
}
.hive ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile__shape {
  position: relative; height: 100%; padding: 32px 30px 36px;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s;
}
.tile__shape::before, .tile__shape::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.tile__shape::after { background: var(--gold); opacity: 0; transition: opacity .45s; }
.tile__body { position: relative; z-index: 1; }
.tile i { display: block; font: 500 17px/1 var(--serif); letter-spacing: .04em; color: var(--honey); transition: color .4s; }
.tile h3 { margin-top: 18px; font-size: 19px; transition: color .4s; }
.tile p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); transition: color .4s; }
.tile:hover .tile__shape { transform: translateY(-8px); }
.tile:hover .tile__shape::after { opacity: 1; }
.tile:hover i, .tile:hover h3 { color: var(--ink); }
.tile:hover p { color: rgba(21, 19, 15, .78); }
.tile { transition: filter .5s; }
.tile:hover { filter: drop-shadow(0 24px 44px rgba(217, 164, 65, .32)); position: relative; z-index: 2; }

@media (min-width: 1200px) {
  .hive { container-type: inline-size; }
  .hive ul {
    --w: calc(100cqw / 3.5); --h: calc(var(--w) * 1.1547);
    grid-template-columns: repeat(7, calc(var(--w) / 2)); gap: 0;
  }
  .tile { grid-column: span 2; height: var(--h); padding: 7px; }
  .tile:nth-child(4) { grid-column: 2 / span 2; }
  .tile:nth-child(n+4) { margin-top: calc(var(--h) * -.25); }
  .tile__shape {
    display: grid; place-items: center; padding: 0 13%; border: 0; text-align: center;
    clip-path: var(--hex);
    background: linear-gradient(155deg, rgba(246, 221, 160, .7), rgba(239, 234, 223, .16) 34%, rgba(239, 234, 223, .07) 70%, rgba(217, 164, 65, .4));
  }
  .tile__shape::before { inset: 1px; clip-path: var(--hex); background: radial-gradient(120% 90% at 30% 0%, #1E1B14, #100F0B 70%); }
  .tile__shape::after { clip-path: var(--hex); }
  .tile i { font-size: 17px; }
  .tile h3 { margin-top: 10px; font-size: 17px; text-wrap: balance; }
  .tile p { margin-top: 8px; font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
}

/* ---------- Yaklaşım ---------- */
.steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: clamp(96px, 12vw, 168px); height: 1px; background: var(--line); }
.steps::after { height: 2px; margin-top: -.5px; background: linear-gradient(90deg, var(--honey-deep), var(--honey)); transform-origin: left; transform: scaleX(var(--p)); }
.step { position: relative; padding-right: 28px; }
.step__num {
  display: block; height: clamp(96px, 12vw, 168px);
  font: 500 clamp(76px, 10vw, 140px)/.95 var(--serif); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(21, 19, 15, .34);
  transition: color .6s, -webkit-text-stroke-color .6s;
}
.step:hover .step__num { color: var(--honey); -webkit-text-stroke-color: var(--honey); }
.step__node { position: relative; z-index: 1; display: block; width: 17px; height: 19px; margin-top: -9px; background: var(--ink); clip-path: var(--hex); transition: background .4s, transform .6s var(--ease); }
.step:hover .step__node { background: var(--honey-deep); transform: rotate(60deg) scale(1.25); }
.step h3 { margin-top: 30px; font: 500 clamp(22px, 2.1vw, 28px)/1.15 var(--serif); letter-spacing: -.03em; }
.step p { margin-top: 12px; font-size: 15.5px; color: var(--muted); max-width: 22em; }

/* ---------- Neden petek ---------- */
.section--petek { overflow: hidden; }
.petek { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.petek__art { position: relative; }
.petek__art::before { content: ""; position: absolute; inset: 8%; background: radial-gradient(closest-side, rgba(217, 164, 65, .3), transparent); filter: blur(30px); }
.petek__art svg { position: relative; display: block; width: 116%; margin-left: -12%; overflow: visible; animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(1.2deg); } }
.petek__text h2 { margin-top: 24px; }
.petek__text > p:not(.eyebrow) { margin-top: 28px; color: var(--muted); max-width: 32em; }
.principles { margin-top: 40px; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; transition: padding-left .4s var(--ease); }
.principles li:hover { padding-left: 12px; }
.principles b { font: 500 20px/1.3 var(--serif); letter-spacing: -.02em; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.principles span { color: var(--muted); }

.c { fill: none; stroke: var(--text); stroke-width: .8; }
.c--ghost { stroke-opacity: .09; }
.c--faint { stroke-opacity: .2; }
.c--line  { stroke: var(--honey); stroke-opacity: .7; }
.c--honey { fill: url(#gold); stroke: none; filter: drop-shadow(0 0 14px rgba(217, 164, 65, .7)); }
.c--soft  { fill: var(--honey); fill-opacity: .28; stroke: var(--honey); }
.c--core  { fill: var(--text); stroke: none; }

.js .petek__art .c { opacity: 0; transition: opacity 1s ease; }
.js .petek__art.is-in .c { opacity: 1; }
.petek__art.is-in .c--honey { animation: glow 4.5s ease-in-out 1.6s infinite; }
@keyframes glow { 50% { filter: drop-shadow(0 0 30px rgba(246, 221, 160, .95)); } }
.petek__art .c:nth-child(7)  { transition-delay: .05s; }
.petek__art .c:nth-child(5)  { transition-delay: .2s; }
.petek__art .c:nth-child(8)  { transition-delay: .3s; }
.petek__art .c:nth-child(10) { transition-delay: .4s; }
.petek__art .c:nth-child(9)  { transition-delay: .5s; }
.petek__art .c:nth-child(6)  { transition-delay: .6s; }
.petek__art .c:nth-child(4)  { transition-delay: .7s; }
.petek__art .c:nth-child(-n+3), .petek__art .c:nth-child(11), .petek__art .c:nth-child(12), .petek__art .c:nth-child(13) { transition-delay: 1s; }
.petek__art .c:nth-child(n+14) { transition-delay: 1.35s; }

/* ---------- İletişim ---------- */
.contact { position: relative; overflow: hidden; padding-block: clamp(112px, 16vw, 220px); border-top: 1px solid var(--line); isolation: isolate; }
.contact::before { content: ""; position: absolute; z-index: -1; right: -10%; top: 50%; width: min(1000px, 110vw); aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(217, 164, 65, .26), transparent); }
.contact__rings { position: absolute; z-index: -1; right: -8%; top: 50%; width: min(860px, 100vw); transform: translateY(-50%); overflow: visible; }
.ring { fill: none; stroke: url(#gold); stroke-width: .6; transform-box: fill-box; transform-origin: center; animation: spin 120s linear infinite; }
.ring--a { stroke-opacity: .35; }
.ring--b { stroke-opacity: .5; animation-duration: 90s; animation-direction: reverse; }
.ring--c { stroke-opacity: .7; animation-duration: 60s; }
.ring--d { fill: url(#gold); fill-opacity: .14; stroke-opacity: 1; animation-duration: 40s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact__inner { display: flex; flex-direction: column; align-items: flex-start; }
.contact h2 { font-size: clamp(36px, 5.6vw, 86px); line-height: 1.06; letter-spacing: -.035em; margin-top: 26px; max-width: 10.5em; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; }
.link--mail { font-size: 17px; }
.contact__lead { margin: 32px 0 48px; color: #C9C3B6; max-width: 36em; font-size: clamp(16px, 1.4vw, 19px); }

/* ---------- Alt bilgi ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.mega {
  font: 300 20.5vw/.78 var(--sans); letter-spacing: -.065em; white-space: nowrap; text-align: center;
  padding-top: .16em; margin-bottom: -.1em; user-select: none;
  background: linear-gradient(180deg, rgba(217, 164, 65, .6), rgba(217, 164, 65, .04) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mega b { font-weight: 600; }
.footer__slogan { font: 500 15px/1 var(--serif); letter-spacing: -.01em; color: var(--honey-hi); }
.footer__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 28px; }

/* ---------- Görünürken belirme ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s ease, transform 1.1s var(--ease), filter .5s; }
.js .reveal.is-in { opacity: 1; transform: none; }
.hive .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.hive .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; }
.hive .reveal:nth-child(4) { transition-delay: .15s; }
.hive .reveal:nth-child(5) { transition-delay: .25s; }
.hive .reveal:nth-child(6), .steps .reveal:nth-child(4) { transition-delay: .35s; }

/* ---------- Duyarlı ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 64px; }
  .steps::before, .steps::after { display: none; }
  .step__node { margin-top: 6px; }
  .petek { grid-template-columns: 1fr; }
  .petek__art svg { width: 100%; max-width: 420px; margin-inline: auto; }
  .contact__rings { right: -40%; opacity: .7; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 6%, rgba(12, 11, 9, .82) 46%, rgba(12, 11, 9, .2) 78%, rgba(12, 11, 9, .6) 100%); }
  .hero__cue { display: none; }
  .hive ul { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 48px; }
  .principles li { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .petek__art .c { opacity: 1; transform: none; transition: none; }
}
