:root {
  --orange: #ff9a56;
  --orange-soft: #ffd6ac;
  --blue: #5aa9e6;
  --blue-soft: #c9e4ff;
  --ink: #2b2b33;
  --muted: #686873;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  scroll-behavior: smooth;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5vw;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6vh 6vw;
  flex-wrap: wrap;
}

.hero-photo {
  flex: 0 0 auto;
}

.photo-frame {
  width: min(340px, 70vw);
  height: min(340px, 70vw);
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: 0 0 0 6px var(--orange-soft), 0 20px 40px rgba(90, 169, 230, 0.25);
  position: relative;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text {
  flex: 1 1 380px;
  max-width: 480px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 0.6rem;
  color: var(--ink);
}

.tagline {
  color: var(--blue);
  font-weight: 600;
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
}

.bio {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
  margin: 0 0 2rem;
}

.scroll-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--blue));
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(90, 169, 230, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-cta:hover {
  transform: translateY(3px);
  box-shadow: 0 6px 16px rgba(90, 169, 230, 0.35);
}

.arrow {
  display: inline-block;
  animation: bob 1.6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* hero background shapes */
.hero .shape {
  position: absolute;
  z-index: 1;
}

.s1 { /* triangle, orange */
  width: 0; height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 120px solid var(--orange-soft);
  top: -30px;
  right: 8%;
  opacity: 0.8;
  transform: rotate(15deg);
}

.s2 { /* circle, blue */
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--blue-soft);
  bottom: -60px;
  left: -60px;
  opacity: 0.9;
}

.s3 { /* square outline, orange */
  width: 90px; height: 90px;
  border: 6px solid var(--orange-soft);
  bottom: 12%;
  right: -20px;
  transform: rotate(20deg);
}

.s4 { /* small circle, orange */
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--orange);
  top: 18%;
  left: 6%;
  opacity: 0.7;
}

.s5 { /* small square, blue */
  width: 22px; height: 22px;
  background: var(--blue);
  top: 65%;
  left: 14%;
  opacity: 0.6;
  transform: rotate(12deg);
}

/* ---------- PROJECTS ---------- */

.projects {
  position: relative;
  background: linear-gradient(180deg, #fff7ef 0%, #eef7ff 100%);
  overflow: hidden;
  padding-bottom: 4rem;
}

.projects-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 6vh 6vw 2vh;
  text-align: center;
}

.projects h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.section-sub {
  color: var(--muted);
  margin: 0 0 3rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: left;
}

@media (max-width: 720px) {
  .project-grid { grid-template-columns: 1fr; }
}

.project-card {
  display: block;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-decoration: none;
  color: var(--ink);
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(43, 43, 51, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(90, 169, 230, 0.2);
  border-color: var(--orange-soft);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.icon-orange {
  background: var(--orange-soft);
  color: #c9601a;
}

.icon-blue {
  background: var(--blue-soft);
  color: #2272b8;
}

.project-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.project-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1.4rem;
}

.card-link {
  font-weight: 700;
  color: var(--blue);
}

.site-footer {
  margin-top: 4rem;
  text-align: center;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* projects background shapes */
.projects .shape {
  position: absolute;
  z-index: 1;
}

.p1 { /* circle blue */
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--blue-soft);
  top: -100px;
  right: -80px;
  opacity: 0.6;
}

.p2 { /* triangle orange */
  width: 0; height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid var(--orange-soft);
  bottom: 4%;
  left: -30px;
  opacity: 0.7;
  transform: rotate(-10deg);
}

.p3 { /* square */
  width: 70px; height: 70px;
  border: 5px solid var(--blue-soft);
  top: 10%;
  left: 4%;
  transform: rotate(25deg);
  opacity: 0.6;
}

.p4 { /* small circle orange */
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange);
  top: 30%;
  right: 10%;
  opacity: 0.6;
}

.p5 { /* small square blue */
  width: 16px; height: 16px;
  background: var(--blue);
  bottom: 20%;
  right: 6%;
  opacity: 0.5;
  transform: rotate(10deg);
}

.p6 { /* tiny triangle */
  width: 0; height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 30px solid var(--blue-soft);
  bottom: 8%;
  left: 30%;
  opacity: 0.5;
}
