/* ==========================================================
   HOME PAGE SECTIONS
   Only loaded on index.html
   ========================================================== */

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  padding-top: calc(60px + 60px);
  padding-bottom: var(--section-pad);
  min-height: min(70vh, 700px);
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero__name {
  font-size: var(--text-hero);
  font-weight: var(--w-bold);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.hero__desc {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero__photo:hover {
  transform: scale(1.03);
  border-color: var(--text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about {
  padding: var(--section-pad) 0;
}

.about__text {
  max-width: var(--reading-width);
  margin-bottom: 32px;
}

.about__text p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-pill {
  font-size: var(--text-sm);
  font-weight: var(--w-medium);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ==========================================================
   SKILLS / TECHNOLOGIES
   ========================================================== */
.skills {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.skills__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.skills__group-title {
  font-size: var(--text-sm);
  font-weight: var(--w-semibold);
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================
   SELECTED WORK — 3-Column Compact Grid
   ========================================================== */
.work {
  padding: var(--section-pad) 0;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---- Compact Card ---- */
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 180ms ease, transform 180ms ease;
}

.card:hover {
  border-color: var(--text);
  transform: translateY(-3px);
}

.card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 10px 10px 0 0;
}

.card__body {
  padding: 16px 18px 18px;
}

.card__category {
  font-size: 0.72rem;
  font-weight: 500;
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
  line-height: 1.3;
}

.card__desc {
  font-size: 0.85rem;
  color: #444444;
  line-height: 1.5;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 10px;
}

/* Override the global .tag for card context — tighter */
.card__tags .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: #F3F3F3;
  color: #333333;
  padding: 2px 8px;
  border-radius: 4px;
  border: none;
}

.card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.card__arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.card:hover .card__arrow {
  transform: translateX(3px);
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__intro {
  max-width: var(--reading-width);
}

.contact__heading {
  font-size: var(--text-2xl);
  font-weight: var(--w-bold);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.contact__subtext {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease-fast);
  width: fit-content;
}

.contact__channel:hover {
  color: var(--text);
}

.contact__channel svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Medium PNG icon — match SVG icon sizing */
.contact__channel-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.15s ease;
  border-radius: 3px;
}

.contact__channel:hover .contact__channel-icon {
  opacity: 1;
}

/* Contact form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: var(--text-sm);
  font-weight: var(--w-medium);
  color: var(--text);
}

.form-field input,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color var(--ease-fast);
  outline: none;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-status {
  font-size: var(--text-sm);
  padding: 10px 14px;
  border-radius: 6px;
  display: none;
}

.form-status--success {
  display: block;
  background: #E8F5E9;
  color: #2E7D32;
}

.form-status--error {
  display: block;
  background: #FFEBEE;
  color: #C62828;
}

/* ==========================================================
   RESPONSIVE — HOME
   ========================================================== */
@media (max-width: 1024px) {
  .hero__grid {
    gap: 32px;
  }

  .hero__photo {
    width: 220px;
    height: 220px;
  }

  .work__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: calc(60px + 40px);
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__photo-wrapper {
    order: -1;
  }

  .hero__photo {
    width: 150px;
    height: 150px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .skills__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .work__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .btn--submit {
    width: 100%;
  }

  .about__stats {
    flex-direction: column;
    gap: 8px;
  }

  .stat-pill {
    text-align: center;
  }
}


/* ==========================================================
   LIVE ROLE STATUS
   ========================================================== */
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19a463;
  box-shadow: 0 0 0 4px rgba(25, 164, 99, 0.1);
  flex-shrink: 0;
}

.hero__status-date {
  color: var(--text);
  margin-left: 3px;
}

/* ==========================================================
   EXPERIENCE TIMELINE
   ========================================================== */
.experience {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.experience__intro {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.experience__intro .section-title {
  margin-bottom: 12px;
}

.experience__summary {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 55ch;
}

.experience__timeline {
  max-width: 900px;
  position: relative;
}

.experience__timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 1px;
  background: var(--border);
}

.experience__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 20px;
  position: relative;
  padding-bottom: 48px;
}

.experience__item:last-child {
  padding-bottom: 0;
}

.experience__marker {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.experience__marker span {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--text-muted);
  transition: background var(--ease-base), border-color var(--ease-base), transform var(--ease-base);
}

.experience__item--current .experience__marker span {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
  box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.09);
}

.experience__content {
  padding: 0 0 2px;
}

.experience__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.experience__company {
  font-size: 1.2rem;
  font-weight: var(--w-semibold);
  letter-spacing: -0.02em;
}

.experience__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.experience__role {
  margin-top: 5px;
  color: var(--accent-blue);
  font-size: var(--text-sm);
  font-weight: var(--w-medium);
}

.experience__points {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  max-width: 760px;
}

.experience__points li {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}

.experience__points li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text);
}

.experience__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.experience__item:hover .experience__marker span {
  transform: scale(1.16);
  border-color: var(--accent-blue);
}

/* ==========================================================
   RESTRAINED MOTION
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .status-dot {
    animation: status-pulse 2.6s ease-in-out infinite;
  }

  .hero__photo {
    animation: photo-drift 7s ease-in-out infinite;
  }

  .experience__item:nth-child(2) {
    transition-delay: 80ms;
  }
}

@keyframes status-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(25, 164, 99, 0.1);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(25, 164, 99, 0.03);
  }
}

@keyframes photo-drift {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 640px) {
  .hero__status {
    align-items: flex-start;
    flex-wrap: wrap;
    line-height: 1.5;
  }

  .hero__status-date {
    flex-basis: 100%;
    margin-left: 16px;
  }

  .experience__intro {
    margin-bottom: 36px;
  }

  .experience__item {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 38px;
  }

  .experience__timeline::before {
    left: 5px;
  }

  .experience__meta {
    display: block;
  }

  .experience__date {
    display: block;
    margin-top: 6px;
  }

  .experience__company {
    font-size: 1.1rem;
  }
}

/* ==========================================================
   HERO CANVAS & INTERACTIVE SIMULATOR
   ========================================================== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Interactive Phone Kiosk Simulator */
.phone-kiosk {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 14px;
  width: 310px;
  max-width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.phone-kiosk:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.phone-screen {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-notch {
  width: 50px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 4px;
}

.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-app-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.phone-tabs {
  display: flex;
  gap: 3px;
  background: var(--surface);
  padding: 2px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.phone-tab {
  flex: 1;
  font-size: 0.65rem;
  padding: 4px 6px;
  text-align: center;
  border-radius: 4px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.phone-tab.active {
  background: var(--accent);
  color: #ffffff;
}

.phone-app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-app-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-app-card-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.dev-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #2e7d32;
  background: #e8f5e9;
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid #a5d6a7;
}

/* ==========================================================
   CONSOLE MODAL DRAWER
   ========================================================== */
.console-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.console-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.console-box {
  background: #111111;
  color: #00ff66;
  font-family: var(--font-mono);
  width: min(92%, 520px);
  border-radius: 12px;
  border: 1px solid #333333;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.console-topbar {
  background: #1a1a1a;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #262626;
  color: #888888;
  font-size: 0.72rem;
}

.console-close {
  color: #888;
  cursor: pointer;
  font-size: 1rem;
}

.console-close:hover {
  color: #fff;
}

.console-output {
  padding: 14px 16px;
  max-height: 220px;
  overflow-y: auto;
  font-size: 0.75rem;
  line-height: 1.65;
  color: #dddddd;
}

.console-output .log-cmd {
  color: #00ff66;
}

.console-output .log-res {
  color: #b0b0b0;
  margin-bottom: 8px;
}

.console-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid #262626;
  background: #161616;
}

.console-prompt {
  color: #00ff66;
  font-weight: bold;
}

.console-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  flex: 1;
  outline: none;
}

.console-quick-actions {
  display: flex;
  gap: 6px;
  padding: 8px 14px 10px;
  flex-wrap: wrap;
  border-top: 1px solid #222;
  background: #111;
}

.console-chip {
  font-size: 0.65rem;
  background: #222;
  color: #ccc;
  border: 1px solid #333;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.console-chip:hover {
  background: #333;
  color: #fff;
}

/* ==========================================================
   HERO — LETTER ANIMATION
   ========================================================== */
.hero__name {
  overflow: visible;
}

.hero__name .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: char-lift-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  /* delay set inline via JS */
}

@keyframes char-lift-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--accent-blue);
  margin-left: 2px;
  vertical-align: middle;
  border-radius: 1px;
  animation: blink 0.9s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================
   CARDS — IMAGE ZOOM + OVERLAY + STAGGER
   ========================================================== */
.card {
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  border-color: var(--text);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.card__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.card__img {
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card__img {
  transform: scale(1.04) translateZ(0);
}

.card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  padding: 20px 14px 10px;
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 0;
}

.card:hover .card__overlay {
  transform: translateY(0);
}

.card__overlay-category {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Card stagger entrance */
.card.reveal {
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================
   EXPERIENCE — TIMELINE LINE DRAW + DOT PULSE
   ========================================================== */
.experience__timeline::before {
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.experience__timeline.line-drawn::before {
  transform: scaleY(1);
}

/* Dot entrance pulse */
@keyframes dot-enter {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.35); opacity: 1; }
  80%  { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

.experience__marker span {
  opacity: 0;
}

.experience__marker.dot-visible span {
  opacity: 1;
  animation: dot-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Company name shimmer on hover */
.experience__company {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, var(--text) 0%, var(--accent-blue) 50%, var(--text) 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-position: 0% center;
  transition: background-position 0.6s ease;
}

.experience__item:hover .experience__company {
  background-position: 100% center;
}

/* Bullet stagger */
.experience__points li {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.experience__points.bullets-visible li {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================
   SKILLS — TAG POP STAGGER
   ========================================================== */
.skills__tags .tag {
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background var(--ease-fast), color var(--ease-fast), border-color var(--ease-fast);
}

.skills__tags.tags-visible .tag {
  opacity: 1;
  transform: scale(1);
}

/* Shimmer hover on tags */
.skills__tags .tag:hover {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ==========================================================
   ABOUT — STAT PILLS SPRING + COUNT-UP
   ========================================================== */
.stat-pill {
  opacity: 0;
  transform: scale(0.8) translateY(8px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.stat-pill.pill-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.stat-pill:hover {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
  transform: scale(1.04) translateY(-2px);
}

/* About text keyword emphasis */
.about__text strong {
  position: relative;
  cursor: default;
}

.about__text strong::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-blue);
  transition: width 0.35s ease;
}

.about__text strong:hover::after {
  width: 100%;
}

/* ==========================================================
   SECTION BOUNDARIES — Clean dividers
   ========================================================== */
.skills,
.contact,
.experience {
  border-top: 1px solid var(--border);
}

/* ==========================================================
   SECTION TITLE — MASKED WIPE REVEAL
   ========================================================== */
.section-title {
  position: relative;
  overflow: hidden;
}

.section-title .title-inner {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title.title-revealed .title-inner {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   NAV BRAND — HOVER EFFECT
   ========================================================== */
.nav__brand {
  position: relative;
  letter-spacing: 0;
  transition: letter-spacing 0.25s ease;
}

.nav__brand:hover {
  letter-spacing: 0.02em;
}

/* Sliding nav active indicator */
.nav__links {
  position: relative;
}

.nav__indicator {
  position: absolute;
  bottom: -2px;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 1px;
  transition: left 0.3s cubic-bezier(0.22, 1, 0.36, 1), width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* ==========================================================
   HERO EYEBROW TYPEWRITER
   ========================================================== */
.hero__eyebrow {
  min-height: 1.4em;
}

/* ==========================================================
   CONTACT CHANNELS — HOVER SLIDE
   ========================================================== */
.contact__channel {
  transition: color var(--ease-fast), transform 0.2s ease;
}

.contact__channel:hover {
  color: var(--text);
  transform: translateX(4px);
}

.contact__channel svg {
  transition: transform 0.2s ease;
}

.contact__channel:hover svg {
  transform: scale(1.15);
}

/* ==========================================================
   CARD LINK HOVER ANIMATION
   ========================================================== */
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.card:hover .card__link {
  color: var(--accent-blue);
  gap: 8px;
}

/* ==========================================================
   HERO PHOTO — FLOAT ANIMATION (stronger)
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero__photo {
    animation: photo-float 6s ease-in-out infinite;
  }
}

@keyframes photo-float {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  33%       { transform: translateY(-8px) rotate(0.5deg); }
  66%       { transform: translateY(-4px) rotate(-0.3deg); }
}