/* ==========================================================================
   GAMZE İNCİ KALYONCU — V3 (INSPIRED BY TFISAK.VERCEL.APP/LIGHT)
   Surface: #f5f5f5 | Cards: #ffffff | Accent: #00de51 | Crisp Layered Shadows
   ========================================================================== */

:root {
  --surface: #f5f5f5;
  --white: #ffffff;
  --black: #000000;
  --black-72: rgba(0, 0, 0, 0.72);
  --black-56: rgba(0, 0, 0, 0.56);
  --black-50: rgba(0, 0, 0, 0.5);
  --black-15: rgba(0, 0, 0, 0.15);
  --black-6: rgba(0, 0, 0, 0.06);
  --primary: #00de51;
  --primary-dark: #00bf43;

  --shadow:
    0 0 0 1px #0000000f,
    0 0.5px 0.5px #00000008,
    0 1px 1px -0.5px #00000008,
    0 3px 3px -1.5px #00000008,
    0 5px 5px -2.5px #00000008,
    0 8px 8px -4px #00000008;
  --shadow-2:
    0 0.5px 0.5px #00000008,
    0 1px 1px -0.5px #00000008,
    0 3px 3px -1.5px #00000008,
    0 5px 5px -2.5px #00000008,
    0 8px 8px -4px #00000008;
  --shadow-3: 0 12px 32px -3px rgba(0, 0, 0, 0.12);

  --f-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-serif: 'EB Garamond', Georgia, serif;
  --f-script: 'Caveat', cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Theme Color Presets */
body[data-preset="silver"] {
  --surface: #e8ecf1;
  background: linear-gradient(155deg, #f3f5f8 0%, #dde3eb 100%);
}
body[data-preset="lavender"] {
  --surface: #ece9f2;
  background: linear-gradient(155deg, #f4f2f9 0%, #e1dced 100%);
}
body[data-preset="ocean"] {
  --surface: #e5eff2;
  background: linear-gradient(155deg, #f1f7f9 0%, #d4e6ec 100%);
}
body[data-preset="midnight"] {
  --surface: #12141a;
  --white: #1b1f29;
  --black: #f5f5f5;
  --black-72: rgba(255, 255, 255, 0.78);
  --black-56: rgba(255, 255, 255, 0.6);
  --black-50: rgba(255, 255, 255, 0.5);
  --black-6: rgba(255, 255, 255, 0.1);
}
body[data-preset="charcoal"] {
  --surface: #161616;
  --white: #212121;
  --black: #f5f5f5;
  --black-72: rgba(255, 255, 255, 0.78);
  --black-56: rgba(255, 255, 255, 0.6);
  --black-50: rgba(255, 255, 255, 0.5);
  --black-6: rgba(255, 255, 255, 0.1);
}
body[data-preset="forest"] {
  --surface: #0f1a14;
  --white: #16241d;
  --black: #f4f7f5;
  --black-72: rgba(244, 247, 245, 0.78);
  --black-56: rgba(244, 247, 245, 0.6);
  --black-50: rgba(244, 247, 245, 0.5);
  --black-6: rgba(255, 255, 255, 0.1);
}

body.theme-dark:not([data-preset="silver"]):not([data-preset="lavender"]):not([data-preset="ocean"]) {
  --surface: #111214;
  --white: #1a1c20;
  --black: #f5f5f5;
  --black-72: rgba(255, 255, 255, 0.78);
  --black-56: rgba(255, 255, 255, 0.6);
  --black-50: rgba(255, 255, 255, 0.5);
  --black-6: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--surface);
  color: var(--black);
}

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.005em;
  background: var(--surface);
  color: var(--black);
  transition: background-color 0.35s ease, color 0.35s ease;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ==========================================================================
   RIGHT-EDGE 4PX SCROLL PROGRESS BAR
   ========================================================================== */

.edge-scrollbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 4px;
  height: 100vh;
  background: var(--black-6);
  z-index: 900;
  pointer-events: none;
}

.edge-scrollbar-fill {
  width: 100%;
  height: 0%;
  background: var(--primary);
  border-radius: 0 0 999px 999px;
}

/* ==========================================================================
   COLOR CONFIGURATION DRAWER
   ========================================================================== */

.config-drawer {
  position: fixed;
  top: 20px;
  right: 20px;
  bottom: 20px;
  width: min(320px, calc(100vw - 40px));
  z-index: 1000;
  padding: 24px;
  border-radius: 24px;
  background: rgba(16, 16, 18, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateX(120%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}

.config-drawer.is-open {
  transform: translateX(0);
}

.config-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.config-kicker {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 4px;
}

.config-head h4 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 500;
}

.config-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.config-sub {
  font-size: 13px;
  line-height: 19px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.preset-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preset-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  font-size: 13.5px;
  text-align: left;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.preset-item.is-active,
.preset-item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--primary);
}

.preset-swatch {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.swatch-default { background: #f5f5f5; }
.swatch-silver { background: linear-gradient(135deg, #f3f5f8, #d0d8e3); }
.swatch-lavender { background: linear-gradient(135deg, #f4f2f9, #d4cbe8); }
.swatch-ocean { background: linear-gradient(135deg, #f1f7f9, #b9dbe6); }
.swatch-midnight { background: #12141a; }
.swatch-charcoal { background: #1c1c1c; }
.swatch-forest { background: #0f1a14; }

/* ==========================================================================
   MAIN SPLIT ARCHITECTURE
   ========================================================================== */

.app-shell {
  position: relative;
  min-height: 100vh;
}

/* LEFT FIXED PROFILE CARD */
.sidebar-user {
  position: fixed;
  top: 28px;
  bottom: 28px;
  left: 20px;
  width: min(400px, 31vw);
  z-index: 400;
}

@media (min-width: 1440px) {
  .sidebar-user {
    width: 440px;
    left: 32px;
  }
}

.user-card-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 24px;
  padding: 6px;
  box-shadow: var(--shadow);
}

.status-ribbon {
  position: absolute;
  left: -10px;
  top: 118px;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: left top;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 222, 81, 0.22);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 222, 81, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(0, 222, 81, 0.06); }
}

.user-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--black-6);
  background: #141414;
}

.user-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.user-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.05) 42%,
    rgba(0, 0, 0, 0.78) 78%,
    rgba(0, 0, 0, 0.92) 100%
  );
  pointer-events: none;
}

.card-top-bar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-logo {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.card-socials {
  display: flex;
  gap: 8px;
}

.social-circle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.social-circle:hover {
  background: var(--primary);
  color: #000;
}

.user-info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  color: #fff;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.typing-line {
  font-family: var(--f-display);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
}

.typing-word {
  color: var(--primary);
}

.typing-cursor {
  color: var(--primary);
  animation: blinkCursor 0.9s steps(2) infinite;
}

@keyframes blinkCursor {
  50% { opacity: 0; }
}

.user-subtitle {
  font-size: 13.5px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}

.user-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 16px;
}

.user-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill-green-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #000;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.pill-green-btn .circle-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.pill-green-btn:hover .circle-arrow {
  transform: rotate(45deg);
}

.animate-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s ease;
}

.animate-btn:hover::after {
  left: 140%;
}

.cv-link {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.cv-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* DYNAMIC FROSTED-GLASS WORK TAKEOVER ON SCROLL */
.work-takeover {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.sidebar-user.is-takeover .work-takeover {
  opacity: 1;
  pointer-events: all;
}

.sidebar-user.is-takeover .user-info {
  opacity: 0;
  transform: translateY(12px);
}

.takeover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) brightness(0.45);
  transform: scale(1.1);
}

.takeover-glass {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 22px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.takeover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.takeover-logo {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 600;
}

.takeover-counter {
  color: var(--primary);
  font-weight: 600;
}

.takeover-body h3 {
  font-family: var(--f-display);
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.takeover-body p {
  font-size: 14px;
  line-height: 21px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.takeover-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 14px;
}

.takeover-meta small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.56);
}

.takeover-meta strong {
  font-size: 13.5px;
}

.takeover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.takeover-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
}

/* ==========================================================================
   RIGHT SCROLLABLE COLUMN
   ========================================================================== */

.main-column {
  margin-left: min(432px, 34vw);
  margin-right: 88px;
  padding: 28px 28px 64px 20px;
  max-width: 960px;
}

@media (min-width: 1440px) {
  .main-column {
    margin-left: 504px;
    margin-right: 104px;
    padding: 28px 32px 64px;
  }
}

/* TOP HEADER */
.tf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--black-6);
}

.header-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center top;
  padding: 2px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.header-name {
  display: block;
  font-family: var(--f-display);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
}

.header-role {
  font-size: 12.5px;
  color: var(--black-50);
}

.top-inline-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-inline-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--black-56);
  transition: color 0.25s ease;
}

.top-inline-nav a:hover {
  color: var(--primary-dark);
}

.tf-header-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.live-datetime {
  text-align: right;
  font-size: 12px;
  line-height: 16px;
  color: var(--black-50);
}

.live-datetime strong {
  display: block;
  color: var(--black);
  font-weight: 600;
}

.gear-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: var(--black);
  transition: transform 0.4s ease, color 0.25s ease;
}

.gear-btn:hover {
  transform: rotate(60deg);
  color: var(--primary-dark);
}

/* ==========================================================================
   1. HERO SECTION (#home)
   ========================================================================== */

.section-intro {
  padding-bottom: 56px;
  border-bottom: 1px solid var(--black-6);
}

.intro-title {
  font-family: var(--f-display);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.pill-word {
  display: inline-block;
  padding: 2px 20px 5px;
  border-radius: 999px;
  color: var(--primary);
  margin: 2px 4px;
}

.pill-word--white {
  background: var(--white);
  box-shadow: var(--shadow);
}

.pill-word--dark {
  background: #0f0f0f;
}

/* Inline Handwriting Row */
.hero-handwriting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  min-height: 44px;
}

.hw-inline-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hw-pen-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hw-pen-dot.is-active {
  opacity: 1;
}

.hw-script-line {
  font-family: var(--f-script);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--black-72);
}

.hw-char-v3 {
  display: inline-block;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.16s ease, transform 0.24s var(--ease);
}

.hw-char-v3.is-in {
  opacity: 1;
  transform: translateY(0);
}

.hw-char-v3.is-green {
  color: var(--primary-dark);
}

.hw-replay-chip {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--black-72);
  transition: color 0.25s ease;
}

.hw-replay-chip:hover {
  color: var(--primary-dark);
}

/* Scribble Ribbon + Rotating Stamp */
.ribbon-stage {
  position: relative;
  margin: 8px 0 28px;
}

.scribble-svg {
  width: 100%;
  height: auto;
  display: block;
}

.scribble-path {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: drawRibbon 1.8s var(--ease) 0.2s forwards;
}

@keyframes drawRibbon {
  to { stroke-dashoffset: 0; }
}

.rotating-badge {
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 126px;
  height: 126px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-3);
  display: grid;
  place-items: center;
}

.badge-ring-svg {
  width: 100%;
  height: 100%;
  animation: spinBadge 18s linear infinite;
}

@keyframes spinBadge {
  to { transform: rotate(360deg); }
}

.badge-wireframe {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--black-15);
  display: grid;
  place-items: center;
}

.badge-wireframe span {
  position: absolute;
  inset: 4px 10px;
  border-radius: 50%;
  border: 1px solid var(--primary);
}

.badge-wireframe span:nth-child(2) { transform: rotate(60deg); }
.badge-wireframe span:nth-child(3) { transform: rotate(120deg); }

.hero-kpis {
  display: flex;
  gap: 44px;
  margin-top: 8px;
}

.kpi-block strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.05;
}

.kpi-block span {
  font-size: 13.5px;
  color: var(--black-56);
}

/* Marquee */
.clients-marquee-wrap {
  margin-top: 28px;
}

.clients-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--black-50);
  margin-bottom: 12px;
}

.globe-icon {
  color: var(--primary-dark);
}

.marquee-window {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--black-50);
  animation: marqueeRun 16s linear infinite;
}

@keyframes marqueeRun {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SHARED SECTION STYLING
   ========================================================================== */

.content-section {
  padding: 58px 0;
  border-bottom: 1px solid var(--black-6);
}

.sect-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.tag-dot {
  color: var(--primary);
  font-size: 11px;
}

.section-h4 {
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 22px;
}

.text-body-2 {
  font-size: 15.5px;
  line-height: 24px;
  color: var(--black-56);
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.awards-list {
  border-top: 1px solid var(--black-6);
}

.award-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--black-6);
  transition: padding-left 0.25s ease;
}

.award-row:hover {
  padding-left: 8px;
}

.award-row h6 {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 2px;
}

.award-row span {
  font-size: 13.5px;
  color: var(--black-50);
}

.award-year {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--black) !important;
  white-space: nowrap;
}

/* ==========================================================================
   3. TIMELINE (#education)
   ========================================================================== */

.timeline-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-track {
  position: absolute;
  left: 140px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--black-6);
}

.prg-line {
  width: 100%;
  height: 0%;
  background: var(--primary);
  transition: height 0.15s linear;
}

.timeline-entry {
  display: grid;
  grid-template-columns: 126px 28px 1fr;
  align-items: start;
  gap: 14px;
}

.tl-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--black-50);
  padding-top: 4px;
}

.tl-node {
  width: 12px;
  height: 12px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--primary);
  position: relative;
  z-index: 2;
}

.tl-card-body {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.tl-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}

.tl-card-body h6 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.tl-card-body p {
  font-size: 14px;
  line-height: 21px;
  color: var(--black-56);
}

/* ==========================================================================
   4. WORK HIGHLIGHTS (#work)
   ========================================================================== */

.sticky-tag {
  position: sticky;
  top: 24px;
  z-index: 10;
}

.works-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.wg-work {
  background: var(--white);
  padding: 5px;
  border-radius: 24px;
  box-shadow: var(--shadow-2);
  transition: transform 0.35s var(--ease);
}

.wg-work:hover {
  transform: translateY(-4px);
}

.wg-work-inner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.wg-work-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.wg-work:hover .wg-work-inner img {
  transform: scale(1.04);
}

.wg-work-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(12px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}

.wg-work-bar span {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   5. SERVICES ACCORDION (#service)
   ========================================================================== */

.accordion-list {
  border-top: 1px solid var(--black-6);
}

.acc-item {
  border-bottom: 1px solid var(--black-6);
}

.acc-trigger {
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.acc-trigger h4 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
}

.acc-toggle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}

.acc-panel-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 0.4s ease;
}

.acc-item.is-open .acc-panel-inner {
  padding-bottom: 24px;
}

.acc-thumbs {
  display: flex;
  margin-bottom: 16px;
}

.acc-thumbs img {
  width: 96px;
  height: 70px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.acc-thumbs img + img {
  margin-left: -18px;
}

.acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.acc-tags span {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 12.5px;
  font-weight: 500;
}

/* ==========================================================================
   6. PROGRESS BARS (#tech)
   ========================================================================== */

.tech-list {
  border-top: 1px solid var(--black-6);
}

.wg-tech {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--black-6);
}

.tech-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  font-size: 16px;
  flex-shrink: 0;
}

.tech-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.tech-meta small {
  font-size: 12.5px;
  color: var(--black-50);
}

.pill-progress {
  height: 48px;
  padding: 4px;
  border-radius: 999px;
  background: var(--black-6);
}

.pill-fill {
  height: 100%;
  width: var(--pct);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4px;
}

.progress-num {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-3);
}

/* ==========================================================================
   7. TESTIMONIAL / PERSPECTIVES (#testimonial)
   ========================================================================== */

.testi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.head-image {
  width: 148px;
  height: 148px;
  padding: 4px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.head-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.persp-carousel {
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.persp-quote-icon {
  font-size: 32px;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 12px;
}

.persp-text {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 24px;
}

.persp-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.persp-counter {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.persp-author {
  display: block;
  font-size: 15px;
}

.persp-role {
  font-size: 13px;
  color: var(--black-50);
}

.persp-controls {
  display: flex;
  gap: 10px;
}

.circle-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: background-color 0.25s ease;
}

.circle-nav-btn:hover {
  background: var(--primary);
  color: #000;
}

/* ==========================================================================
   8. MINIMAL BOTTOM-BORDER FORM (#contact)
   ========================================================================== */

.minimal-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.line-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.line-field span {
  font-size: 13px;
  font-weight: 500;
  color: var(--black-56);
}

.line-field input,
.line-field textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--black-15);
  background: transparent;
  font-family: var(--f-body);
  font-size: 15.5px;
  color: var(--black);
  outline: none;
  transition: border-color 0.25s ease;
}

.line-field input:focus,
.line-field textarea:focus {
  border-bottom-color: var(--primary);
}

.form-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mailto-link {
  font-size: 14.5px;
  font-weight: 500;
  border-bottom: 1px solid var(--black-15);
  padding-bottom: 2px;
}

.mailto-link:hover {
  color: var(--primary-dark);
  border-color: var(--primary);
}

.v3-form-status {
  min-height: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

/* ==========================================================================
   9. FOOTER (#footer)
   ========================================================================== */

.tf-footer {
  padding-top: 56px;
}

.footer-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 12px;
}

.footer-cite {
  display: block;
  font-style: normal;
  font-size: 14px;
  color: var(--black-50);
}

.footer-rule {
  height: 1px;
  background: var(--black-6);
  margin: 36px 0;
}

.footer-wordmark-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.giant-wordmark {
  font-family: var(--f-display);
  font-size: clamp(46px, 8vw, 112px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.footer-top-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.footer-top-btn:hover {
  background: var(--primary);
  color: #000;
}

/* ==========================================================================
   RIGHT FIXED FLOATING PILL RAIL (.sidebar-tools)
   ========================================================================== */

.sidebar-tools {
  position: fixed;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  z-index: 450;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tool-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.tool-circle:hover {
  background: var(--primary);
  color: #000;
}

.tool-pill-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 6px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.tool-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--black-56);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.tool-icon.is-active,
.tool-icon:hover {
  color: var(--primary-dark);
  background: rgba(0, 222, 81, 0.12);
}

.tool-icon::before {
  content: attr(data-tip);
  position: absolute;
  right: 44px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tool-icon:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE (< 992px STACKED)
   ========================================================================== */

@media (max-width: 1160px) {
  .top-inline-nav {
    display: none;
  }
}

@media (max-width: 991px) {
  .sidebar-user {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 32px);
    height: 520px;
    margin: 20px auto 0;
  }

  .main-column {
    margin: 0 auto;
    padding: 24px 18px 88px;
  }

  .sidebar-tools {
    top: auto;
    bottom: 14px;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
  }

  .tool-pill-stack {
    flex-direction: row;
    padding: 6px 10px;
  }

  .tool-icon::before {
    display: none;
  }

  .wg-tech,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .timeline-track {
    left: 118px;
  }

  .timeline-entry {
    grid-template-columns: 104px 28px 1fr;
  }

  .testi-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
