/* ---------- Apple-inspired foundations ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-dark: #000000;
  --text: #1d1d1f;
  --text-soft: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: #d2d2d7;
  --radius: 18px;
  --radius-lg: 24px;
  --max: 1200px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.47;
  letter-spacing: -0.022em;
}

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; display: block; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex; gap: 28px; list-style: none;
}
.nav-links a {
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
  transition: opacity .2s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; font-weight: 500; }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 52px; left: 0; right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 18px 22px;
    gap: 18px;
    display: none;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 96px 22px 80px;
  background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
}
.hero h1 {
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.hero .sub {
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--text-soft);
  font-weight: 400;
  max-width: 720px;
  margin: 0 auto 28px;
}
.hero .grad {
  background: linear-gradient(90deg, #0071e3, #6e8efb, #a777e3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 400;
  background: var(--accent);
  color: #fff;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-ghost:hover { background: rgba(0,113,227,0.08); color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 80px 22px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}
h2.section-title {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.lede {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 780px;
  margin-bottom: 48px;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.18);
}
.card h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.015em; }
.card .meta { font-size: 13px; color: var(--text-soft); margin-bottom: 14px; }
.card p { color: var(--text-soft); font-size: 15px; }
.card .tag {
  display: inline-block; font-size: 11px; font-weight: 500;
  background: #fff; color: var(--accent);
  padding: 4px 10px; border-radius: 980px; margin-right: 6px; margin-top: 12px;
}
.card .more {
  margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 500;
}

/* Dark feature card */
.feature-dark {
  background: #1d1d1f;
  color: #f5f5f7;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  margin: 22px 0;
}
.feature-dark h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; margin-bottom: 14px; letter-spacing: -0.02em; }
.feature-dark p { color: #a1a1a6; max-width: 640px; margin: 0 auto 24px; font-size: 18px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 30px; margin-top: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--accent), transparent);
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 38px 24px; }
.tl-item::before {
  content: ""; position: absolute; left: -29px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
}
.tl-date { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 4px; }
.tl-item h4 { font-size: 19px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }
.tl-item .org { font-size: 14px; color: var(--text-soft); margin-bottom: 8px; }
.tl-item p { font-size: 15px; color: var(--text-soft); }
.tl-item ul { margin-top: 10px; padding-left: 18px; color: var(--text-soft); font-size: 15px; }
.tl-item ul li { margin-bottom: 4px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.stat {
  text-align: center; padding: 32px 20px;
  background: var(--bg-soft); border-radius: var(--radius);
}
.stat .num {
  font-size: 44px; font-weight: 600;
  background: linear-gradient(90deg, #0071e3, #a777e3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.stat .lbl { font-size: 14px; color: var(--text-soft); margin-top: 4px; }

/* ---------- Skill chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 980px;
  font-size: 13px;
  color: var(--text);
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg-soft);
  padding: 40px 22px;
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
  border-top: 1px solid var(--border);
}
footer a { color: var(--text-soft); margin: 0 10px; }
footer a:hover { color: var(--accent); }

/* ---------- Enlarged standalone slideshow ---------- */
.slideshow-big {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a0a0c;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.4);
}
.slideshow-big .bg-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 49s infinite;
}
.slideshow-big .bg-slide:nth-child(1) { animation-delay: 0s; }
.slideshow-big .bg-slide:nth-child(2) { animation-delay: 7s; }
.slideshow-big .bg-slide:nth-child(3) { animation-delay: 14s; }
.slideshow-big .bg-slide:nth-child(4) { animation-delay: 21s; }
.slideshow-big .bg-slide:nth-child(5) { animation-delay: 28s; }
.slideshow-big .bg-slide:nth-child(6) { animation-delay: 35s; }
.slideshow-big .bg-slide:nth-child(7) { animation-delay: 42s; }
.slideshow-big::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.7));
  pointer-events: none;
}
.slide-cap {
  position: absolute; left: 32px; bottom: 28px; z-index: 2; color: #fff;
}
.slide-cap-eye {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px;
  color: #d2d2d7; margin-bottom: 6px; font-weight: 500;
}
.slide-cap-title {
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 600; letter-spacing: -0.02em; color: #fff;
}
@media (max-width: 600px) {
  .slideshow-big { aspect-ratio: 4 / 3; }
}

/* ---------- Hero slideshow background ---------- */
.hero-slideshow {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 22px;
  color: #f5f5f7;
  overflow: hidden;
  isolation: isolate;
}
.hero-slideshow .bg-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  animation: heroFade 49s infinite;
}
.hero-slideshow .bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-slideshow .bg-slide:nth-child(2) { animation-delay: 7s; }
.hero-slideshow .bg-slide:nth-child(3) { animation-delay: 14s; }
.hero-slideshow .bg-slide:nth-child(4) { animation-delay: 21s; }
.hero-slideshow .bg-slide:nth-child(5) { animation-delay: 28s; }
.hero-slideshow .bg-slide:nth-child(6) { animation-delay: 35s; }
.hero-slideshow .bg-slide:nth-child(7) { animation-delay: 42s; }
@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.04); }
  3%   { opacity: 1; }
  14%  { opacity: 1; transform: scale(1.08); }
  17%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero-slideshow::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.30) 45%, rgba(0,0,0,0.72));
}
.hero-slideshow > * { position: relative; z-index: 2; }
.hero-slideshow h1 { color: #fff; }
.hero-slideshow .sub { color: #d2d2d7; }
.hero-slideshow .sub strong { color: #fff; }

/* ---------- Project mini-carousel ---------- */
.proj-carousel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.proj-slide {
  background: #1d1d1f;
  color: #f5f5f7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 360px;
  transition: transform .35s var(--ease);
  text-decoration: none;
}
.proj-slide:hover { transform: translateY(-4px); color: #fff; }
.proj-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #000;
  display: block;
}
.proj-slide .proj-head {
  padding: 22px 28px 12px;
}
.proj-slide .proj-eyebrow {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: #6e8efb; margin-bottom: 8px;
}
.proj-slide h3 { font-size: 22px; margin-bottom: 10px; color: #fff; letter-spacing: -0.015em; }
.proj-slide p { color: #a1a1a6; font-size: 14px; padding: 0 28px; }
.proj-slide .proj-cta {
  margin-top: auto; padding: 18px 28px 24px;
  font-size: 13px; color: #6e8efb; font-weight: 500;
}
@media (max-width: 820px) {
  .proj-carousel { grid-template-columns: 1fr; }
}

/* ---------- Software / tools single card ---------- */
.tools-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.18);
}
.tools-group {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.tools-group:last-child { border-bottom: 0; }
.tools-group-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}
.tools-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 6px;
}
.tool {
  text-align: center;
  padding: 6px 4px;
  border-radius: 10px;
  transition: background .2s var(--ease);
}
.tool:hover { background: var(--bg-soft); }
.tool .ico {
  width: 32px; height: 32px;
  border-radius: 9px;
  margin: 0 auto 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: #fff;
  letter-spacing: -0.02em;
}
.tool .name { font-size: 11px; font-weight: 500; color: var(--text); letter-spacing: -0.01em; line-height: 1.15; }
.tool .cap { font-size: 9px; color: var(--text-soft); margin-top: 1px; line-height: 1.15; }
@media (max-width: 760px) {
  .tools-group { grid-template-columns: 1fr; gap: 8px; }
}

/* Tool palette colors */
.ico-figma    { background: linear-gradient(135deg,#f24e1e,#a259ff); }
.ico-photo    { background: linear-gradient(135deg,#001e36,#31a8ff); }
.ico-illu     { background: linear-gradient(135deg,#330000,#ff9a00); }
.ico-powerbi  { background: linear-gradient(135deg,#f2c811,#e8a200); color:#333; }
.ico-python   { background: linear-gradient(135deg,#3776ab,#ffd43b); }
.ico-excel    { background: linear-gradient(135deg,#107c41,#21a366); }
.ico-cad      { background: linear-gradient(135deg,#1b4e8a,#2a74c3); }
.ico-jira     { background: linear-gradient(135deg,#0052cc,#2684ff); }
.ico-msproj   { background: linear-gradient(135deg,#2e8c42,#52b06f); }
.ico-gantt    { background: linear-gradient(135deg,#5e60ce,#7678ed); }
.ico-ai       { background: linear-gradient(135deg,#000,#555); }
.ico-claude   { background: linear-gradient(135deg,#da7756,#f0a37d); }
.ico-openai   { background: linear-gradient(135deg,#10a37f,#1dd1a1); }
.ico-doe      { background: linear-gradient(135deg,#8e2de2,#4a00e0); }
.ico-fmea     { background: linear-gradient(135deg,#e74c3c,#f39c12); }
.ico-lean     { background: linear-gradient(135deg,#16a085,#27ae60); }
.ico-npi      { background: linear-gradient(135deg,#2c3e50,#4a6572); }
.ico-prompt   { background: linear-gradient(135deg,#5e5ce6,#bf5af2); }

/* ---------- YouTube / embed wrapper ---------- */
.yt-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.4);
}
.yt-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.yt-feature {
  background: linear-gradient(135deg, #ff0000 0%, #c40000 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 28px;
}
.yt-feature h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; margin-bottom: 12px; }
.yt-feature p { color: rgba(255,255,255,0.9); font-size: 16px; margin-bottom: 18px; }
.yt-feature .yt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #c40000;
  padding: 12px 22px; border-radius: 980px;
  font-weight: 500; font-size: 15px;
}
.yt-feature .yt-btn:hover { color: #c40000; opacity: 0.9; }
@media (max-width: 820px) {
  .yt-feature { grid-template-columns: 1fr; }
}

/* ---------- Video wrapper ---------- */
.video-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  margin: 22px 0;
  aspect-ratio: 16 / 9;
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Full portrait tall card ---------- */
.portrait-tall {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.4);
}

/* ---------- Apple highlight ---------- */
.apple-highlight {
  background: linear-gradient(90deg, #1d1d1f, #2a2a2f);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  margin-right: 6px;
}
.apple-highlight::before {
  content: "";
  width: 14px; height: 14px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/></svg>") no-repeat center / contain;
}

.apple-callout {
  background: linear-gradient(90deg, rgba(0,113,227,0.08), rgba(167,119,227,0.08));
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 12px;
  margin: 18px 0;
  font-size: 17px;
  color: var(--text);
}
.apple-callout strong { color: #1d1d1f; }

/* ---------- Aurora corporate hero ---------- */
.hero-aurora {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 110px clamp(22px, 7vw, 110px) 60px;
  overflow: hidden;
  isolation: isolate;
  background: #06060a;
  color: #f5f5f7;
}
.hero-aurora .aurora-content { position: relative; z-index: 3; max-width: 1100px; width: 100%; }

/* Fine grid overlay */
.hero-aurora .aurora-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  pointer-events: none;
}

/* Floating gradient blobs */
.hero-aurora .aurora-blob {
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  z-index: 0;
  will-change: transform;
}
.hero-aurora .aurora-blob.b1 {
  background: radial-gradient(circle, #0071e3 0%, transparent 65%);
  top: -140px; left: -120px;
  animation: blobFloat 22s ease-in-out infinite;
}
.hero-aurora .aurora-blob.b2 {
  background: radial-gradient(circle, #a777e3 0%, transparent 65%);
  bottom: -180px; right: -140px;
  animation: blobFloat 26s ease-in-out infinite reverse;
}
.hero-aurora .aurora-blob.b3 {
  background: radial-gradient(circle, #ff80b5 0%, transparent 70%);
  width: 440px; height: 440px;
  top: 40%; left: 40%;
  opacity: 0.35;
  animation: blobFloat 30s ease-in-out infinite;
  animation-delay: -8s;
}
.hero-aurora .aurora-blob.b4 {
  background: radial-gradient(circle, #30d158 0%, transparent 70%);
  width: 380px; height: 380px;
  top: 55%; left: -60px;
  opacity: 0.25;
  animation: blobFloat 24s ease-in-out infinite reverse;
  animation-delay: -12s;
}
@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(80px, -40px) scale(1.08); }
  66%  { transform: translate(-50px, 60px) scale(0.96); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Dark gradient scrim at bottom for section join */
.hero-aurora::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 30%; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
  pointer-events: none;
}

/* Eyebrow pill (shared) */
.hero-bg .hero-eye,
.hero-aurora .hero-eye {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 980px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #e8e8ed;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 22px;
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}
.hero-bg .hero-eye::before,
.hero-aurora .hero-eye::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #30d158; box-shadow: 0 0 8px #30d158;
}

/* Headline */
.hero-aurora h1 {
  color: #fff;
  font-size: clamp(56px, 10vw, 136px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
.hero-aurora h1 .grad {
  background: linear-gradient(90deg, #6e8efb, #a777e3, #ff80b5, #a777e3, #6e8efb);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShimmer 6s ease-in-out infinite;
}
.hero-aurora .sub {
  color: #c8c8cd;
  font-size: clamp(15px, 1.4vw, 19px);
  max-width: 680px;
  margin: 0 0 32px;
  line-height: 1.55;
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}
.hero-aurora .sub strong { color: #fff; font-weight: 600; }
.hero-aurora .cta-row {
  justify-content: flex-start;
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}
.btn-ghost-light { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); color: #fff !important; }

/* Marquee of brands (shared) */
.hero-bg .hero-marquee,
.hero-aurora .hero-marquee {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 48px;
  color: rgba(255,255,255,0.55);
  font-size: 13px; letter-spacing: 0.04em;
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}
.hero-bg .hero-marquee span,
.hero-aurora .hero-marquee span { white-space: nowrap; }

/* Corporate image hero: image stays bright, only a soft left vignette */
.hero-image-corp::before {
  background-position: center center !important;
  filter: brightness(0.95) saturate(1.05) !important;
}
.hero-image-corp::after {
  background:
    radial-gradient(ellipse 70% 110% at 0% 50%, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 35%, transparent 65%) !important;
}
.hero-image-corp > * { max-width: 54%; }
.hero-image-corp h1 {
  font-size: clamp(40px, 5vw, 72px) !important;
  letter-spacing: -0.035em !important;
  line-height: 1.04 !important;
}
.hero-image-corp .sub { font-size: clamp(14px, 1.1vw, 16px) !important; max-width: 480px !important; }
.hero-image-corp .hero-marquee { font-size: 12px !important; gap: 18px !important; margin-top: 36px !important; }

/* Brand row — logos below the subtitle */
.brand-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 10px 0 32px;
  padding-top: 6px;
}
.brand-row-label {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 4px;
}
.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  opacity: 0;
  animation: logoFade 0.9s ease-out forwards;
  transition: opacity .25s var(--ease);
}
.brand-logo:hover { opacity: 0.85; }

/* Per-logo tuning + stagger */
.brand-row .lg-apple {
  animation-delay: 1.0s;
  height: 46px;
  filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(255,255,255,0.2));
}
.brand-row .lg-foxconn {
  animation-delay: 1.2s;
  height: 56px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}
.brand-row .lg-pegatron {
  animation-delay: 1.4s;
  height: 32px;
  filter: invert(1) drop-shadow(0 4px 10px rgba(255,255,255,0.15));
}
.brand-row .lg-ncr {
  animation-delay: 1.6s;
  height: 42px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

@keyframes logoFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo { opacity: 1; animation: none; }
}
@media (max-width: 900px) {
  .hero-image-corp > * { max-width: 100%; }
  .hero-image-corp::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.75)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-aurora .aurora-blob { animation: none; }
  .hero-aurora h1, .hero-aurora .sub, .hero-aurora .cta-row,
  .hero-aurora .hero-eye, .hero-aurora .hero-marquee { opacity: 1; animation: none; }
  .hero-aurora h1 .grad { animation: none; }
}

/* ---------- Hero with background image ---------- */
.hero-bg {
  position: relative;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 96px clamp(22px, 7vw, 110px);
  color: #f5f5f7;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
/* Sharp background layer */
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center 15%;
  filter: brightness(0.72) saturate(1.05);
  z-index: 0;
}
/* Dark gradient overlay */
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.30) 45%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}
.hero-bg > * { position: relative; z-index: 2; }
.hero-bg h1 {
  color: #fff;
  font-size: clamp(56px, 9.5vw, 128px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 20px;
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
.hero-bg .sub {
  color: #e8e8ed;
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 680px;
  margin: 0 0 28px;
  line-height: 1.5;
  font-weight: 400;
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}
.hero-bg .sub strong { color: #fff; font-weight: 600; }
.hero-bg .cta-row {
  justify-content: flex-start;
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* Shimmer on the gradient word */
.hero-bg h1 .grad {
  background: linear-gradient(90deg, #6e8efb, #a777e3, #ff80b5, #a777e3, #6e8efb);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShimmer 6s ease-in-out infinite;
}
@keyframes gradShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg h1, .hero-bg .sub, .hero-bg .cta-row { opacity: 1; animation: none; }
  .hero-bg h1 .grad { animation: none; }
}

/* ---------- Section with background image ---------- */
.section-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #f5f5f7;
}
.section-bg::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.66), rgba(0,0,0,0.78));
}
.section-bg .wrap { position: relative; z-index: 1; }
.section-bg .section-title, .section-bg h2 { color: #fff; }
.section-bg .lede, .section-bg p { color: #d2d2d7; }
.section-bg .eyebrow { color: #6e8efb; }

/* ---------- About split (portrait + text) ---------- */
.about-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.about-split .portrait {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.4);
}
@media (max-width: 760px) {
  .about-split { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Inline milestone image ---------- */
.tl-img {
  width: 100%;
  max-width: 320px;
  border-radius: 14px;
  margin-top: 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Photo gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  transition: transform .4s var(--ease);
}
.gallery img:hover { transform: scale(1.03); }

/* ---------- Banner image ---------- */
.banner {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 21 / 9;
  object-fit: cover;
  margin-bottom: 22px;
}

/* ---------- Behance featured cards ---------- */
.behance-card { padding: 0; overflow: hidden; }
.behance-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #e5e5ea;
  transition: transform .6s var(--ease);
}
.behance-card:hover .behance-cover { transform: scale(1.04); }
.behance-card .card-body { padding: 28px 32px 32px; display: flex; flex-direction: column; flex: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
