/* Ana sayfa */

/* ---------- Ortak bölüm başlıkları ---------- */
.section-head {
  display: grid; gap: 20px;
  padding: 0 var(--gutter);
  margin-bottom: clamp(48px, 8vw, 96px);
}
.section-title {
  font-size: clamp(40px, 7.4vw, 112px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.045em;
}
.section-title--sm { font-size: clamp(36px, 5vw, 72px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li {
  font-size: 12px; font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--g-200);
}
.chips--sm li { font-size: 11px; padding: 4px 10px; }

.tag {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), .5);
  color: var(--accent);
}

.u-line {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
  padding-bottom: 2px;
}
.u-line:hover { background-size: 100% 1px; }

.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, #7c7d7f 0%, var(--photo) 45%, var(--photo-edge) 100%);
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%;
  background: linear-gradient(to bottom, transparent, var(--g-900));
  z-index: 4; pointer-events: none;
}
.hero .contours { z-index: 0; opacity: 0; transition: opacity 2s ease 1s; }
.is-ready .hero .contours { opacity: 1; }

.hero__meta {
  position: absolute; z-index: 5;
  top: 84px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(10px);
  transition: opacity 1s var(--ease) 1.1s, transform 1s var(--ease) 1.1s;
}
.hero__meta .eyebrow { color: var(--g-100); }
.is-ready .hero__meta { opacity: 1; transform: none; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(29, 29, 31, .35);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.status i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7);
  animation: ping 2s infinite;
}
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); } }

.hero__stage { position: absolute; inset: 0; }

.hero__word {
  position: absolute; left: 0; right: 0; top: 50%;
  text-align: center;
  font-size: min(31vw, 52vh);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.06em;
  transform: translateY(-62%);
  will-change: transform;
  white-space: nowrap;
}
.hero__word .line-mask { padding: .16em .04em .04em; }
.hero__word--back { z-index: 1; color: #858688; }
.hero__word--front {
  z-index: 3;
  color: transparent;
  -webkit-text-stroke: max(1.5px, .16vw) var(--accent);
  font-weight: 800;
}
.hero__word .char {
  transform: translate3d(0, 105%, 0);
  transition: transform 1.4s var(--ease);
  transition-delay: calc(var(--i) * 70ms + .35s);
}
.is-ready .hero__word .char { transform: none; }

.hero__photo {
  position: absolute; z-index: 2;
  left: 50%; bottom: 0;
  height: 94%;
  aspect-ratio: 1125 / 2000;
  transform: translateX(-50%);
  will-change: transform;
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 22%);
  mask-composite: intersect;
  opacity: 0; transform: scale(1.12); filter: blur(12px);
  transition: opacity 1.4s var(--ease) .15s, transform 2.2s var(--ease) .15s, filter 1.4s var(--ease) .15s;
}
.is-ready .hero__photo img { opacity: 1; transform: none; filter: none; }

.hero__bottom {
  position: absolute; z-index: 5;
  left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 5vh, 48px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero__intro { max-width: 380px; }
.hero__surname {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.05;
  margin-bottom: 12px;
}
.hero__surname .char {
  transform: translate3d(0, 110%, 0);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 35ms + .9s);
}
.is-ready .hero__surname .char { transform: none; }
.hero__lead {
  font-size: 15px; line-height: 1.55; color: var(--g-200);
  opacity: 0; transform: translateY(16px);
  transition: opacity 1s var(--ease) 1.3s, transform 1s var(--ease) 1.3s;
}
.hero__lead strong { color: var(--g-50); font-weight: 600; }
.is-ready .hero__lead { opacity: 1; transform: none; }

.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--g-200);
  opacity: 0; transition: opacity 1s 1.6s;
}
.is-ready .scroll-cue { opacity: 1; }
.scroll-cue i {
  position: relative; width: 1px; height: 56px; overflow: hidden;
  background: rgba(255, 255, 255, .2);
}
.scroll-cue i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  animation: cue 2s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 720px) {
  .hero__photo { height: 74%; bottom: 12%; }
  .hero__word { top: 27%; font-size: 33vw; }
  .hero__bottom { flex-direction: row; }
  .hero__lead { font-size: 14px; }
  .scroll-cue { display: none; }
}

/* ---------- MARQUEE ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  width: max-content;
  will-change: transform;
}
.marquee__track span {
  font-size: clamp(28px, 4.4vw, 64px);
  font-weight: 700; letter-spacing: -.04em;
  color: var(--g-600);
  transition: color .4s, -webkit-text-stroke-color .4s;
}
.marquee__track span:nth-of-type(3n+2) {
  color: transparent; -webkit-text-stroke: 1.2px var(--accent);
}
.marquee__track span:hover { color: var(--g-50); }
.marquee__track b { color: var(--accent); font-size: clamp(14px, 1.6vw, 22px); font-weight: 400; }

/* ---------- MANIFESTO ---------- */
.manifesto { position: relative; height: 260vh; }
.manifesto__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: 0 var(--gutter);
  max-width: 1400px; margin: 0 auto;
}
.manifesto__text {
  font-size: clamp(30px, 4.6vw, 72px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.035em;
}
.manifesto__text .word {
  opacity: var(--o, .14);
  transition: opacity .15s linear;
  margin-right: .22em;
}
.manifesto__text em { font-style: normal; }
.manifesto__text em .word {
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
}

/* ---------- PROJECTS ---------- */
.projects { padding: clamp(80px, 12vw, 160px) 0 10vh; }
.projects__list {
  display: grid; gap: 4vh;
  padding: 0 var(--gutter);
}
.pcard {
  position: sticky;
  top: calc(10vh + var(--i) * 16px);
  min-height: 78vh;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255, 255, 255, .05), transparent 60%),
    linear-gradient(180deg, #2f2f31, #252527);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .35);
  transform-origin: 50% 0;
  will-change: transform;
  overflow: hidden;
}
.pcard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: #000; opacity: var(--dim, 0);
  pointer-events: none; z-index: 5;
}
.pcard__info { display: flex; flex-direction: column; gap: 18px; justify-content: center; position: relative; z-index: 1; }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard__index { font-family: var(--mono); font-size: 13px; color: var(--g-400); }
.pcard__title {
  font-size: clamp(44px, 6.4vw, 104px);
  font-weight: 700; letter-spacing: -.05em; line-height: .95;
}
.pcard__kicker { font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; color: var(--accent); letter-spacing: -.02em; }
.pcard__desc { color: var(--g-300); font-size: 16px; max-width: 46ch; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  margin-top: 6px;
  padding: 12px 18px 12px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  color: var(--g-50); font-weight: 600; font-size: 14px;
  transition: background .4s var(--ease), color .4s;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.link-arrow:hover { background: var(--accent); color: var(--g-950); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

.pcard__visual {
  position: relative;
  border-radius: calc(var(--radius) - 8px);
  background: radial-gradient(90% 90% at 50% 40%, #3a3a3c, #232325);
  border: 1px solid rgba(255, 255, 255, .06);
  display: grid; place-items: center;
  overflow: hidden;
  min-height: 360px;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}

/* Login Earth: telefon */
.phone {
  position: relative;
  width: min(260px, 62%);
  aspect-ratio: 9 / 19;
  border-radius: 40px;
  border: 1.5px solid var(--accent);
  padding: 10px;
  background: #1a1a1c;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5), 0 0 0 8px rgba(255, 255, 255, .02);
  transform: translateZ(40px);
}
.phone__notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; border-radius: 999px; background: #0d0d0e;
}
.phone__screen {
  position: relative; height: 100%;
  border-radius: 31px; overflow: hidden;
  background: #2a2a2c;
}
.phone__screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin {
  position: absolute; left: var(--x); top: var(--y);
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
  transform: scale(0);
}
.pcard.in .pin { animation: pinDrop .8s var(--ease) var(--d) forwards; }
.pin::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: pinRing 3s var(--d) infinite;
}
@keyframes pinDrop { 0% { transform: translateY(-30px) scale(0); } 100% { transform: none; } }
@keyframes pinRing { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

.phone__card {
  position: absolute; left: 10px; right: 10px; bottom: 12px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(29, 29, 31, .7);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
}
.phone__card i { width: 34px; height: 34px; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--g-400), var(--g-700)); }
.phone__card b { display: block; font-weight: 600; }
.phone__card small { color: var(--g-300); font-family: var(--mono); font-size: 9.5px; }

/* İHA: uçuş profili + HUD */
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 28px; }
.stats dt { font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stats dd { font-size: 12px; color: var(--g-400); }

.pcard__visual--uav { grid-template-rows: 1fr auto; padding: 24px; gap: 16px; }
.flight { width: 100%; height: 100%; min-height: 220px; fill: none; transform: translateZ(30px); }
.flight__grid path { stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.flight__ground { stroke: var(--g-500); stroke-width: 1.5; }
.flight__path { stroke: var(--g-600); stroke-width: 1.5; stroke-dasharray: 4 6; }
.flight__trail { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.flight__uav rect, .flight__uav path { fill: var(--g-50); stroke: var(--accent); stroke-width: 1.2; stroke-linejoin: round; }
.flight__uav .duct { fill: var(--g-900); }

.hud {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--mono);
}
.hud div { display: grid; gap: 2px; padding: 10px 12px; background: #1c1c1e; }
.hud span { font-size: 9.5px; letter-spacing: .08em; color: var(--g-500); }
.hud b { font-size: 13px; font-weight: 500; color: var(--g-50); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hud div:first-child b { color: var(--accent); }

/* CS2: bellek görüntüleyici */
.pcard__visual--mem { padding: 24px; }
.mem {
  width: 100%; max-width: 520px;
  border-radius: 16px;
  background: #161617;
  border: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--mono); font-size: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  transform: translateZ(30px);
  overflow: hidden;
}
.mem__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mem__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--g-700); }
.mem__bar i:first-child { background: var(--accent); }
.mem__bar span { margin-left: auto; color: var(--g-500); font-size: 11px; }
.mem__body { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 14px 16px; }
.hex { display: grid; gap: 1px; color: var(--g-400); line-height: 1.55; }
.hex__row { display: flex; gap: 7px; padding: 0 6px; border-radius: 4px; transition: background .2s; }
.hex__row i { font-style: normal; color: var(--g-600); margin-right: 4px; }
.hex__row.is-scan { background: rgba(var(--accent-rgb), .14); color: var(--g-100); }
.hex__row.is-scan i { color: var(--accent); }
.hex span.flip { animation: flip .6s ease-out; }
@keyframes flip { 0% { color: var(--accent); } 100% { color: inherit; } }
.schema { display: grid; align-content: start; gap: 8px; padding-left: 16px; border-left: 1px dashed rgba(var(--accent-rgb), .4); }
.schema__cls { color: var(--accent); margin-bottom: 4px; }
.schema__row { display: flex; justify-content: space-between; gap: 10px; opacity: 0; transform: translateX(-8px); transition: opacity .6s var(--ease) var(--d), transform .6s var(--ease) var(--d); }
.in .schema__row { opacity: 1; transform: none; }
.schema__row em { font-style: normal; color: var(--g-200); }
.schema__row b { font-weight: 500; color: var(--g-500); font-variant-numeric: tabular-nums; }
.schema__row b.ok { color: var(--accent); }

@media (max-width: 1100px) {
  .mem__body { grid-template-columns: 1fr; }
  .hex__row:nth-child(n+7) { display: none; }
  .schema { padding-left: 0; padding-top: 12px; border-left: 0; border-top: 1px dashed rgba(var(--accent-rgb), .4); }
}
@media (max-width: 520px) {
  .hud { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px 14px; }
  .mem { font-size: 10.5px; }
  .hex__row { gap: 5px; }
}

@media (max-height: 820px) and (min-width: 901px) {
  .pcard { padding: 28px; top: calc(8vh + var(--i) * 12px); }
  .pcard__info { gap: 12px; }
  .pcard__title { font-size: clamp(40px, 5vw, 76px); }
  .pcard__desc { font-size: 14px; }
  .pcard__visual--uav, .pcard__visual--mem { padding: 16px; }
  .flight { min-height: 160px; }
}

@media (max-width: 900px) {
  .pcard { position: relative; top: auto; grid-template-columns: 1fr; min-height: auto; }
  .pcard__visual { min-height: 300px; order: -1; }
  .pcard__desc { font-size: 15px; }
  .phone { width: 180px; }
  .phone__card small { display: none; }
}

/* ---------- ARCHIVE ---------- */
.archive { position: relative; }
.archive__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px);
}
.archive__head { padding: 0 var(--gutter); display: grid; gap: 12px; }
.archive__track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.tile {
  position: relative;
  width: clamp(280px, 30vw, 420px);
  height: clamp(380px, 56vh, 520px);
  flex: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #2c2c2e, #222224);
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden;
  transition: border-color .5s, transform .6s var(--ease);
}
.tile:hover { border-color: rgba(var(--accent-rgb), .6); transform: translateY(-6px); }
.tile__num { font-size: clamp(56px, 6vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.tile__glyph {
  position: absolute; right: 22px; top: 26px;
  width: 42%; fill: none;
  stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.tile__glyph * { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2s var(--ease); }
.tile.in .tile__glyph *, .tile:hover .tile__glyph * { stroke-dashoffset: 0; }
.tile__body { display: grid; gap: 10px; }
.tile__body h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.tile__body p { color: var(--g-300); font-size: 14px; }
.tile--cta { background: var(--g-50); color: var(--g-950); border-color: transparent; }
.tile--cta .tile__num { color: var(--g-200); }
.tile--cta p { color: var(--g-600); }
.tile--cta .outline { -webkit-text-stroke-color: var(--accent); }
.tile__arrow {
  position: absolute; right: 24px; top: 24px; width: 52px; height: 52px; padding: 13px;
  border-radius: 50%; background: var(--g-950); fill: none; stroke: var(--accent); stroke-width: 2;
  transition: transform .5s var(--ease);
}
.tile--cta:hover .tile__arrow { transform: rotate(-45deg); }

/* ---------- SKILLS (bento) ---------- */
.skills { padding: clamp(80px, 12vw, 160px) 0; }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 var(--gutter);
}
.bcard {
  --mx: 50%; --my: 50%;
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 2.6vw, 36px);
  min-height: 300px;
  border-radius: var(--radius);
  background: #232325;
  overflow: hidden;
  isolation: isolate;
}
/* imleci takip eden turuncu kontür */
.bcard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--accent), rgba(255, 255, 255, .08) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none; z-index: 2;
}
.bcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(var(--accent-rgb), .08), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.bcard:hover::after { opacity: 1; }
.bcard h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.bcard p { color: var(--g-300); font-size: 15px; max-width: 40ch; }
.bcard--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.bcard__text { display: grid; gap: 10px; }
.bcard__big { margin-top: auto; font-size: clamp(44px, 4.6vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: .92; }

.terminal {
  border-radius: 16px;
  background: #161617;
  border: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--mono); font-size: 12.5px;
  min-height: 220px;
  overflow: hidden;
}
.terminal__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--g-700); }
.terminal__bar i:first-child { background: var(--accent); }
.terminal__bar span { margin-left: auto; color: var(--g-500); font-size: 11px; }
.terminal__body { padding: 14px 16px; white-space: pre-wrap; color: var(--g-200); line-height: 1.7; }
.terminal__body .c-ok { color: var(--accent); }
.terminal__body .c-dim { color: var(--g-500); }
.terminal__caret { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.meter { height: 6px; border-radius: 999px; background: var(--g-800); overflow: hidden; margin-top: auto; }
.meter + .meter { margin-top: 8px; }
.meter span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--g-500), var(--accent)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease) .3s; }
.in .meter span { transform: none; }
.in .meter + .meter span { transition-delay: .45s; }
.in .meter + .meter + .meter span { transition-delay: .6s; }

.sig {
  margin-top: auto; align-self: flex-start;
  font-family: var(--mono); font-size: 12px;
  padding: 8px 12px; border-radius: 10px;
  border: 1px dashed rgba(var(--accent-rgb), .6);
  color: var(--accent);
}

.orbit { position: relative; margin-top: auto; height: 96px; }
.orbit i {
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%; border: 1.5px solid var(--g-600);
  transform: translate(-50%, -50%);
}
.orbit i:nth-child(1) { width: 92px; height: 92px; border-color: var(--accent); animation: spin 8s linear infinite; border-top-color: transparent; }
.orbit i:nth-child(2) { width: 60px; height: 60px; animation: spin 5s linear infinite reverse; border-right-color: transparent; }
.orbit i:nth-child(3) { width: 14px; height: 14px; background: var(--accent); border: 0; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bcard--wide { grid-column: auto; grid-template-columns: 1fr; }
  .bcard { min-height: 240px; }
}

/* ---------- CONTACT ---------- */
.contact {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: radial-gradient(120% 80% at 50% 100%, var(--photo) 0%, #3b3c3e 50%, var(--g-900) 100%);
  overflow: hidden;
  isolation: isolate;
}
.contact .contours { z-index: -1; }
.contact__inner {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: 120px var(--gutter) 64px;
}
.contact__title {
  font-size: clamp(48px, 10vw, 168px);
  font-weight: 800; letter-spacing: -.055em; line-height: .92;
}
.contact__title .outline { -webkit-text-stroke-width: max(1.5px, .14vw); transition: color .6s var(--ease); }
.contact__title:hover .outline { color: var(--accent); }
.contact__actions { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }

.orb {
  position: relative;
  width: clamp(128px, 13vw, 176px); aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  font-weight: 600; font-size: 16px; line-height: 1.15;
  border: 1.5px solid var(--accent);
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.orb::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.orb:hover { color: var(--g-950); }
.orb:hover::before { transform: none; }
.contact__mail { display: grid; gap: 6px; }
.contact__mail a { font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.02em; }

.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px; color: var(--g-300);
}
.footer__time { font-family: var(--mono); font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .manifesto { height: auto; }
  .manifesto__sticky { position: static; height: auto; padding-block: 120px; }
  .manifesto__text .word { opacity: 1; }
}
