:root {
  --color-primary: #1a2530;
  --color-secondary: #527982;
  --color-muted: #9ba4a6;
  --color-card: #ffffff;
  --color-background: #f5f8f7;
  --color-mint: #e2f1ed;
  --color-lavender: #ece7f2;
  --color-accent: #3d8a7a;
  --color-purple-text: #6b5fa5;
  --color-amber: #b07a20;
  --color-blue: #2a6fa8;
  --color-amber-bg: #fef3e2;
  --color-blue-bg: #e8f4fd;
  --color-linkedin: #0a66c2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Playfair Display", serif;
  background: var(--color-background);
  color: var(--color-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem;
  background: linear-gradient(
    135deg,
    var(--color-mint) 0%,
    var(--color-lavender) 60%,
    var(--color-background) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 130%;
  background: radial-gradient(
    ellipse,
    rgba(226, 241, 237, 0.6) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ── HERO ORBS ── */
@keyframes orb-drift-a {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-32px) scale(1.05);
  }
}
@keyframes orb-drift-b {
  0%,
  100% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(14px, -22px) scale(1.03);
  }
  66% {
    transform: translate(-10px, 12px) scale(0.97);
  }
}
@keyframes orb-drift-c {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(26px) scale(0.95);
  }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* Teal — large, top-right */
.hero-orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(61, 138, 122, 0.28) 0%,
    transparent 68%
  );
  top: -140px;
  right: 2%;
  animation: orb-drift-a 10s ease-in-out infinite;
}
/* Purple — medium, upper-centre */
.hero-orb-2 {
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle,
    rgba(107, 95, 165, 0.22) 0%,
    transparent 68%
  );
  top: 8%;
  right: 28%;
  animation: orb-drift-b 13s ease-in-out infinite 1.5s;
}
/* Amber — large, bottom-right */
.hero-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(176, 122, 32, 0.2) 0%,
    transparent 68%
  );
  bottom: -120px;
  right: 6%;
  animation: orb-drift-c 11s ease-in-out infinite 0.8s;
}
/* Blue — medium, top area */
.hero-orb-4 {
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(42, 111, 168, 0.22) 0%,
    transparent 68%
  );
  top: 5%;
  right: 48%;
  animation: orb-drift-a 8s ease-in-out infinite 2.5s;
}
/* Pink — small, lower-left */
.hero-orb-5 {
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(228, 76, 137, 0.18) 0%,
    transparent 68%
  );
  bottom: 10%;
  left: 38%;
  animation: orb-drift-b 12s ease-in-out infinite 0.3s;
}
/* Teal soft — bottom-left anchor */
.hero-orb-6 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(61, 138, 122, 0.14) 0%,
    transparent 68%
  );
  bottom: -60px;
  left: 15%;
  animation: orb-drift-c 9s ease-in-out infinite 3.5s;
}

.hero-content {
  /* max-width: 720px; */
  position: relative;
  z-index: 1;
}

.hero-greeting {
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-secondary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.hero-name {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}
.hero-name em {
  font-style: italic;
  color: var(--color-secondary);
}

.hero-role {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-role::after {
  content: "";
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--color-muted);
  opacity: 0.5;
}

.hero-bio {
  font-size: 1.5rem;
  line-height: 1.75;
  color: var(--color-primary);
  max-width: 560px;
  margin-bottom: 1.25rem;
}

.hero-quote {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-primary);
  opacity: 0.75;
  max-width: 540px;
  font-style: italic;
  padding-left: 1rem;
  border-left: 2px solid var(--color-secondary);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #456b73;
  padding: 12px 24px;
  border-radius: 100px; /* Clean pill shape */
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  border: 1px solid rgba(82, 121, 130, 0.2);
  cursor: pointer;
}

.hero-btn:hover {
  background-color: rgba(69, 107, 115, 0.15);
  color: #335056;
  transform: translateY(-2px);
}
.hero-btn .material-icons {
  font-size: 16px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.btn-love {
  background-color: #1a2530; /* Deep slate color from text */
  color: #ffffff;
  border: 1px solid #1a2530;
  box-shadow: 0 2px 8px rgba(26, 37, 48, 0.15);
}

/* ── SECTION SHARED ── */
section {
  padding: 6rem 4rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
  max-width: 520px;
  line-height: 1.75;
}

/* ── ABOUT ── */
#about {
  background: var(--color-card);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-photo img {
  width: 100%;
  border-radius: 15px;
}
.about-avatar-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-mint), var(--color-lavender));
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.about-avatar-placeholder {
  width: 75%;
  height: 85%;
  background: linear-gradient(
    180deg,
    rgba(82, 121, 130, 0.2) 0%,
    rgba(82, 121, 130, 0.5) 100%
  );
  border-radius: 50% 50% 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-avatar-placeholder svg {
  width: 50%;
  height: 50%;
  opacity: 0.4;
}
.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--color-card);
  border: 1px solid rgba(82, 121, 130, 0.15);
  border-radius: 1rem;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 8px 24px rgba(26, 37, 48, 0.08);
}
.about-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--color-mint);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.about-badge-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
}
.about-badge-text span {
  font-size: 0.75rem;
  color: var(--color-muted);
}
.about-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-primary);
  margin-bottom: 1rem;
  opacity: 0.85;
}
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}
.about-stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-secondary);
}
.about-stat span {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── SKILLS ── */
#skills {
  background: var(--color-background);
}
.skills-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.skills-header {
  margin-bottom: 3rem;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.skill-card {
  background: var(--color-card);
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid rgba(82, 121, 130, 0.1);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 37, 48, 0.08);
}
.skill-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.skill-icon.design {
  background: var(--color-mint);
}
.skill-icon.frontend {
  background: var(--color-lavender);
}
.skill-icon.testing {
  background: var(--color-amber-bg);
}
.skill-icon.process {
  background: var(--color-blue-bg);
}
.skill-icon.research {
  background: var(--color-mint);
}
.skill-icon.motion {
  background: var(--color-lavender);
}
.skill-icon .material-icons {
  font-size: 1.4rem;
}

.skill-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.skill-card p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin-bottom: 1rem;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.tag.design {
  background: var(--color-mint);
  color: var(--color-accent);
}
.tag.frontend {
  background: var(--color-lavender);
  color: var(--color-purple-text);
}
.tag.testing {
  background: var(--color-amber-bg);
  color: var(--color-amber);
}
.tag.process {
  background: var(--color-blue-bg);
  color: var(--color-blue);
}

/* ── WORK ── */
#work {
  background: var(--color-card);
}
.work-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.work-card {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(82, 121, 130, 0.1);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 37, 48, 0.1);
}
.work-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, var(--color-mint), var(--color-lavender));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.work-card-image.amber {
  background: linear-gradient(145deg, var(--color-amber-bg), #fce8c0);
}
.work-card-image.blue {
  background: linear-gradient(145deg, var(--color-blue-bg), #cce5f8);
}
.work-card-image.lavender {
  background: linear-gradient(145deg, var(--color-lavender), #dcd4f5);
}

.work-mockup {
  width: 65%;
  height: 70%;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(26, 37, 48, 0.12);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.4rem;
}
.mockup-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(82, 121, 130, 0.2);
}
.mockup-bar.short {
  width: 40%;
}
.mockup-bar.mid {
  width: 65%;
}
.mockup-bar.long {
  width: 85%;
}
.mockup-rect {
  flex: 1;
  border-radius: 0.4rem;
  background: rgba(82, 121, 130, 0.08);
  margin-top: 0.3rem;
}

.work-card-body {
  padding: 1.5rem;
  background: var(--color-card);
}
.work-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.work-card-type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.work-card-year {
  font-size: 0.7rem;
  color: var(--color-muted);
}
.work-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}
.work-card p {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.6;
}
.work-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-top: 0.9rem;
  text-decoration: none;
  transition: gap 0.2s;
}
.work-card:hover .work-card-arrow {
  gap: 0.6rem;
}
.work-card-arrow svg {
  width: 12px;
  height: 12px;
  stroke: var(--color-secondary);
  fill: none;
  stroke-width: 2;
}

.view-all-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}
.view-all-link:hover {
  gap: 0.6rem;
}
.view-all-link svg {
  width: 12px;
  height: 12px;
  stroke: var(--color-secondary);
  fill: none;
  stroke-width: 2;
}

/* ── PROCESS ── */
#process {
  background: var(--color-primary);
  color: #fff;
}
#process .section-label {
  color: var(--color-secondary);
}
#process .section-title {
  color: #fff;
}
#process .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
  margin-top: 3rem;
}
.process-step {
  padding: 2rem 1.75rem;
  background: var(--color-primary);
  transition: background 0.2s;
}
.process-step:hover {
  background: rgba(82, 121, 130, 0.15);
}
.step-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-secondary);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
}

/* ── CONTACT ── */
#contact {
  background: var(--color-background);
}
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info p {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.contact-pills {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--color-card);
  border: 1px solid rgba(82, 121, 130, 0.12);
  border-radius: 0.75rem;
  text-decoration: none;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.contact-pill:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 16px rgba(82, 121, 130, 0.12);
}
.pill-icon {
  width: 34px;
  height: 34px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pill-icon.email {
  background: var(--color-mint);
}
.pill-icon.linkedin {
  background: #e7f0fa;
}
.pill-icon.dribbble {
  background: #fce4ec;
}
.pill-icon .material-icons {
  font-size: 16px;
}
.pill-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-primary);
}
.pill-value {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.contact-form {
  background: var(--color-card);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(82, 121, 130, 0.1);
}
.contact-form h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group.full {
  grid-column: 1 / -1;
}
label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
input,
textarea {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(82, 121, 130, 0.2);
  border-radius: 0.6rem;
  background: var(--color-background);
  font-family: "Playfair Display", serif;
  font-size: 0.85rem;
  color: var(--color-primary);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
input:focus,
textarea:focus {
  border-color: var(--color-secondary);
}
textarea {
  min-height: 100px;
}
.form-submit {
  width: 100%;
  padding: 0.75rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover {
  background: var(--color-secondary);
}

/* ── FOOTER ── */
footer {
  padding: 2rem 4rem;
  border-top: 1px solid rgba(82, 121, 130, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-card);
}
footer .logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
}
footer .logo span {
  color: var(--color-secondary);
  font-style: italic;
}
footer p {
  font-size: 0.78rem;
  color: var(--color-muted);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--color-secondary);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  section {
    padding: 4rem 1.5rem;
  }
  .hero {
    padding: 6rem 1.5rem 4rem;
  }
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-form .form-row {
    grid-template-columns: auto;
  }
  .about-visual {
    order: -1;
    max-width: 300px;
  }
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: row;
    border-radius: 1rem;
    width: 100%;
  }
  .hero-btn{
    border-right: none;
    border-bottom: 1px solid rgba(82, 121, 130, 0.2);
    min-width: 200px;
  }
}
