/* ================================================================
   ASWATHY SHEEJA — PORTFOLIO
   Main Stylesheet
================================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --bg:         #050505;
  --bg-card:    rgba(255,255,255,0.045);
  --bg-card-hov:rgba(255,255,255,0.075);
  --line:       rgba(255,255,255,0.08);
  --line-hov:   rgba(255,160,60,0.35);
  --text:       #f7f3ef;
  --text-soft:  rgba(255,255,255,0.72);
  --text-muted: rgba(255,255,255,0.48);
  --accent:     #ff8a00;
  --accent2:    #ff4d00;
  --accent-soft:#ffb889;
  --radius:     1.6rem;
  --radius-sm:  0.9rem;
  --shadow:     0 20px 60px rgba(0,0,0,0.35);
  --header-h:   72px;
  --max:        1380px;
  --pad:        clamp(1.2rem, 4vw, 3rem);
}

/* ── BASE ───────────────────────────────────────────────────── */
html { scroll-behavior: auto; }

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 72% 16%, rgba(255,136,0,.26) 0%, transparent 26%),
    radial-gradient(circle at 85% 54%, rgba(255,68,0,.18) 0%, transparent 24%),
    linear-gradient(180deg, #040404 0%, #0b0908 34%, #130704 62%, #050505 100%);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── NOISE OVERLAY ──────────────────────────────────────────── */
.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .06;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 120px 120px;
}

/* ── SCROLL PROGRESS BAR ────────────────────────────────────── */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  z-index: 9000;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 16px rgba(255,119,0,.4);
  transition: width .1s linear;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 4000;
  backdrop-filter: blur(20px);
  background: rgba(5,5,5,.38);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}

.site-header.scrolled { background: rgba(5,5,5,.72); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  gap: 1.5rem;
}

.brand {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: #fff6f0;
  white-space: nowrap;
  transition: color .3s;
}
.brand:hover { color: var(--accent-soft); }

/* Navigation */
.navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  font-weight: 500;
  padding: .25rem 0;
  transition: color .3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -.25rem;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transition: width .35s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  z-index: 5000;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .35s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGES ──────────────────────────────────────────────────── */
.page { min-height: 100vh; }
.page.hidden { display: none; }
.page.active { display: block; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 4rem) var(--pad) 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.glow-1 { width: 36rem; height: 36rem; right: 3%; top: 8%; background: rgba(255,119,0,.34); }
.glow-2 { width: 26rem; height: 26rem; right: 18%; bottom: 10%; background: rgba(255,51,0,.2); }

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 88%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100vh - var(--header-h) - 4rem - 60px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}

.kicker {
  font-size: .88rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.05em;
  margin-bottom: 2.2rem;
}
.hero-title em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  background: linear-gradient(90deg, #fff4ea 0%, #ffb168 42%, #ff6a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero orb */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-orb {
  position: relative;
  width: min(32rem, 90vw);
  height: min(32rem, 90vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  animation: spin 28s linear infinite;
}
.o2 { inset: 12%; border-style: dashed; animation: spin 18s linear infinite reverse; }

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

.orb-core {
  width: 10rem; height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffd7b2, #ff9a2f 30%, #ff5a00 58%, rgba(255,90,0,.06));
  box-shadow: 0 0 80px rgba(255,102,0,.45), inset 0 0 28px rgba(255,255,255,.3);
}

.float-tag {
  position: absolute;
  padding: .85rem 1rem;
  min-width: 110px;
  border-radius: 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  color: #fff7f2;
  text-align: center;
  font-size: .88rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.ft1 { top: 8%;  left: 12%;  animation: bob1 2.4s ease-in-out infinite alternate; }
.ft2 { top: 18%; right: 4%;  animation: bob2 2.8s ease-in-out infinite alternate; }
.ft3 { bottom: 14%; left: 0%; animation: bob1 2.5s ease-in-out infinite alternate; }
.ft4 { bottom: 20%; right: 8%; animation: bob2 2.7s ease-in-out infinite alternate; }

@keyframes bob1 { from { transform: translateY(0); } to { transform: translateY(-18px); } }
@keyframes bob2 { from { transform: translateY(0); } to { transform: translateY(16px); } }

/* Marquee */
.marquee-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255,90,0,.14), rgba(255,153,0,.07), rgba(255,90,0,.14));
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  padding: 1rem 0;
  min-width: max-content;
  animation: marquee 26s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #fff0e5;
  font-size: 1.05rem;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ───────────────────────────────────────────────── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem var(--pad) 0;
}

.section-head { margin-bottom: 2.5rem; }

.section-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent-soft);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.04em;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 10px 32px rgba(255,102,0,.22);
  transition: transform .3s ease, box-shadow .3s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,102,0,.3); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
  font-weight: 600;
  font-size: .9rem;
  transition: border-color .3s, color .3s, background .3s;
}
.btn-ghost:hover { border-color: var(--accent); color: #fff; background: rgba(255,138,0,.08); }

.btn-full { width: 100%; }

/* ── PROJECT GRID ───────────────────────────────────────────── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding-bottom: 1rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 22rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform .4s ease, border-color .4s, box-shadow .4s;
  text-align: left;
  cursor: pointer;
}
.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,.9) 0%, rgba(5,5,5,.08) 55%, transparent);
}
.card-overlay {
  position: absolute;
  z-index: 2;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.card-overlay h3 { font-size: 1.1rem; color: #fff4ea; font-weight: 700; }
.card-overlay p  { font-size: .84rem; color: rgba(255,255,255,.68); }
.card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 1rem;
  margin-top: .5rem;
  transition: background .3s, border-color .3s;
  align-self: flex-start;
}

.project-card:hover { transform: translateY(-8px); border-color: var(--line-hov); box-shadow: 0 22px 52px rgba(0,0,0,.32); }
.project-card:hover img { transform: scale(1.08); }
.project-card:hover .card-arrow { background: rgba(255,138,0,.25); border-color: var(--accent); }

/* ── ABOUT ──────────────────────────────────────────────────── */
.about-section { padding-bottom: 0; }

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.about-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  line-height: 1.9;
  color: var(--text-soft);
}

.resume-cta {
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.resume-cta p { margin-bottom: 1rem; font-size: .92rem; }

/* ── SKILLS ─────────────────────────────────────────────────── */
.skills-section { padding-bottom: 1rem; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  padding: 1.4rem .8rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform .3s, border-color .3s;
  text-align: center;
}
.skill-item img {
  width: 48px; height: 48px;
  object-fit: contain;
}
.skill-item span {
  font-size: .76rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.skill-item:hover { transform: translateY(-4px); border-color: var(--line-hov); }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-section { padding-bottom: 6rem; }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 1rem;
}
.contact-sub { color: var(--text-soft); line-height: 1.8; }

.contact-right {}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.form-field { display: flex; flex-direction: column; gap: .5rem; }

label {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.72);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-size: .95rem;
  transition: border-color .3s, background .3s;
  outline: none;
}
input:focus, textarea:focus {
  border-color: rgba(255,128,0,.45);
  background: rgba(255,255,255,.055);
}
textarea { resize: vertical; min-height: 140px; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.form-success.visible { display: block; }
.success-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.2rem;
}
.form-success h4 { font-size: 1.4rem; margin-bottom: .6rem; }
.form-success p  { color: var(--text-soft); line-height: 1.7; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  margin-top: 4rem;
  padding: 2rem var(--pad);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .85rem;
}

/* ── PROJECT PAGE (case study wrapper) ──────────────────────── */
#project-content { min-height: 100vh; }

/* ── CASE STUDY SHARED STYLES ───────────────────────────────── */
.case-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) var(--pad) 5rem;
}

/* Hero */
.cs-hero {
  border-radius: 2rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255,121,0,.22), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255,86,0,.16), transparent 30%),
    linear-gradient(135deg, rgba(18,18,18,.97), rgba(7,7,7,.99));
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}

.cs-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2.5rem;
  align-items: center;
}

.cs-kicker {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent-soft);
  margin-bottom: 1rem;
}

.cs-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.04em;
  margin-bottom: 1rem;
}
.cs-title em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  background: linear-gradient(90deg, #fff4ea, #ffb168 45%, #ff6a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-summary {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.8rem;
  max-width: 42rem;
}

.cs-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.cs-meta-card {
  padding: .9rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}
.cs-meta-card span {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-soft);
  margin-bottom: .35rem;
}
.cs-meta-card strong { font-size: .9rem; color: #fff; line-height: 1.5; }

.cs-hero-img {
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.cs-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}
.cs-tag {
  padding: .55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
}

/* Case study sections */
.cs-section { margin-bottom: 2.5rem; }

.cs-section-head { margin-bottom: 1.4rem; }
.cs-section-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent-soft);
  margin-bottom: .5rem;
}
.cs-section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

/* Grid helpers */
.cs-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.cs-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cs-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

/* Cards */
.cs-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.cs-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .7rem;
  color: #fff;
}
.cs-card p {
  color: var(--text-soft);
  font-size: .92rem;
  line-height: 1.75;
}

/* Point lists */
.cs-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .5rem;
}
.cs-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: .92rem;
  line-height: 1.7;
}
.cs-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .68rem;
  width: .38rem; height: .38rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

/* Feature layout (image + text side by side) */
.cs-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
  margin-bottom: 1.4rem;
}
.cs-feature.rev { grid-template-columns: 1fr 1fr; }
.cs-feature.rev .cs-feature-img { order: 2; }
.cs-feature.rev .cs-feature-text { order: 1; }

.cs-feature-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 300px;
  background: #0a0a0a;
}
.cs-feature-img img,
.cs-feature-img iframe { width: 100%; height: 100%; object-fit: cover; }

.cs-feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Placeholder box */
.cs-placeholder {
  min-height: 14rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.015)),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.04), rgba(255,255,255,.04) 10px, transparent 10px, transparent 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.cs-placeholder-inner { max-width: 18rem; }
.cs-placeholder-inner h3 { font-size: 1rem; margin-bottom: .5rem; }
.cs-placeholder-inner p { font-size: .9rem; color: var(--text-muted); }

/* Video embed */
.cs-video {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);

}
.cs-video iframe { width: 100%; aspect-ratio: 16/9; display: block; }

/* Outcome cards */
.cs-outcome { border-left: 2px solid var(--accent); }

/* Back link */
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  transition: border-color .3s, color .3s, background .3s;
}
.cs-back:hover { border-color: var(--accent); color: #fff; background: rgba(255,138,0,.08); }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── ANIMATE (hero) ─────────────────────────────────────────── */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  animation: animUp .9s ease forwards;
  animation-delay: var(--d, 0s);
}
.animate-fade {
  opacity: 0;
  animation: animFade 1s ease forwards;
  animation-delay: var(--d, 0s);
}


.cs-signage-frame {
  margin-top: 2rem;
  width: 100%;
  height: 673px; /* you can increase if needed */
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}


.cs-signage-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.cs-project-link {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* BUTTON STYLE (matches your cards + dark theme) */
.cs-project-btn {
  flex: 1;
  min-width: 240px;
  padding: 1.5rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: #0a0a0a;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 1rem;
  letter-spacing: 0.5px;

  transition: all 0.3s ease;
}

/* Arrow styling */
.cs-project-btn .arrow {
  transition: transform 0.3s ease;
}

/* HOVER (same vibe as your cards) */
.cs-project-btn:hover {
  border-color: #ffff00;
  background: #111;
  transform: translateY(-4px);
}

.cs-project-btn:hover .arrow {
  transform: translateX(6px);
}


.cs-figma-embed {
  margin-top: 2rem;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.cs-figma-embed iframe {
  width: 100%;
  height: 500px;
  border: none;
}


.cs-video-box {
  max-width: 100%;
}



/* Mobile */
@media (max-width: 768px) {
  .cs-figma-embed iframe {
    height: 400px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .cs-project-link {
    flex-direction: column;
  }
}

@keyframes animUp  { to { opacity: 1; transform: none; } }
@keyframes animFade { to { opacity: 1; } }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-content    { grid-template-columns: 1fr; }
  .about-grid      { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .project-grid    { grid-template-columns: repeat(2, 1fr); }
  .skills-grid     { grid-template-columns: repeat(4, 1fr); }
  .cs-hero-grid    { grid-template-columns: 1fr; }
  .cs-meta         { grid-template-columns: repeat(2, 1fr); }
  .cs-grid-4       { grid-template-columns: repeat(2, 1fr); }
  .hero-right      { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .hamburger { display: flex; }

  .navigation {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: rgba(5,5,5,.96);
    backdrop-filter: blur(24px);
    border-left: 1px solid var(--line);
    transition: right .4s cubic-bezier(.25,.8,.25,1);
    z-index: 4500;
  }
  .navigation.open { right: 0; }
  .nav-link { font-size: 1.2rem; }

  .project-grid  { grid-template-columns: 1fr; }
  .skills-grid   { grid-template-columns: repeat(4, 1fr); }
  .cs-grid-2,
  .cs-grid-3     { grid-template-columns: 1fr; }
  .cs-feature    { grid-template-columns: 1fr; }
  .cs-feature.rev .cs-feature-img,
  .cs-feature.rev .cs-feature-text { order: unset; }
  .cs-meta       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-meta     { grid-template-columns: 1fr; }
  .project-card { min-height: 18rem; }
  .hero-title  { font-size: clamp(2.2rem, 10vw, 3rem); }
}






