/* —— Myles Grant — Portfolio — Warm light / friendly —— */
:root {
  --bg-deep: #faf6f1;
  --bg-raised: #f3ebe3;
  --bg-card: #ffffff;
  --stroke: rgba(55, 45, 38, 0.1);
  --text: #3a3632;
  --text-muted: #6f6860;
  --accent: #d9573a;
  --accent-hover: #c74a2f;
  --accent-soft: rgba(217, 87, 58, 0.12);
  --violet: #7860b6;
  --violet-soft: rgba(120, 96, 182, 0.1);
  --font-display: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --radius-lg: 1.25rem;
  --radius: 0.75rem;
  --space: clamp(1rem, 4vw, 3rem);
  --max: 1040px;
  --shadow-sm: 0 2px 12px rgba(58, 54, 50, 0.06);
  --shadow-md: 0 8px 32px rgba(58, 54, 50, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  letter-spacing: -0.012em;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Very subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9999;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

/* Layout */
.wrap {
  width: min(100% - var(--space) * 2, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10022;
  padding: 0.75rem var(--space);
  padding-top: max(0.75rem, env(safe-area-inset-top));
  background: linear-gradient(to bottom, rgba(250, 246, 241, 0.94), rgba(250, 246, 241, 0.65));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.site-header[data-scrolled] {
  border-bottom-color: var(--stroke);
  background: rgba(250, 246, 241, 0.92);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  color: var(--text);
}

.nav-desktop {
  display: none;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--text);
}

/* Mobile menu: outside header — no transitions (reliable cross-browser / hosting). */

.nav-mobile-backdrop {
  display: none;
}

.nav-mobile {
  display: none;
}

@media (max-width: 767.98px) {
  .nav-mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10020;
    background: rgba(58, 54, 50, 0.35);
  }

  body.mobile-menu-open .nav-mobile-backdrop {
    display: block;
  }

  .nav-mobile {
    box-sizing: border-box;
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: calc(3.5rem + env(safe-area-inset-top, 0px));
    bottom: 0;
    z-index: 10021;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--stroke);
    box-shadow: var(--shadow-md);
  }

  body.mobile-menu-open .nav-mobile {
    display: flex;
  }

  .nav-mobile-inner {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0.75rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    padding-inline: max(var(--space), env(safe-area-inset-left)) max(var(--space), env(safe-area-inset-right));
  }
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: var(--text);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

body.mobile-menu-open .site-header .menu-toggle span {
  background: transparent;
}

body.mobile-menu-open .site-header .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.mobile-menu-open .site-header .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 2.85rem;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--stroke);
  color: var(--text-muted);
}

.nav-mobile a:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }

  .nav-mobile-backdrop {
    display: none !important;
    pointer-events: none !important;
  }

  body.mobile-menu-open {
    overflow: auto !important;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem max(var(--space), env(safe-area-inset-right)) 4rem max(var(--space), env(safe-area-inset-left));
  padding-top: max(6rem, calc(4rem + env(safe-area-inset-top)));
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Wash + depth — richer than flat cream without going dark */
.hero-bg {
  position: absolute;
  inset: -5%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 10% -10%, rgba(56, 189, 189, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 60% at 95% 15%, rgba(217, 87, 58, 0.11), transparent 50%),
    radial-gradient(ellipse 65% 50% at 15% 100%, rgba(120, 96, 182, 0.1), transparent 48%),
    linear-gradient(
      162deg,
      #fbf7f4 0%,
      #f8f4ef 42%,
      #f5f8fa 72%,
      #faf6f1 100%
    );
  z-index: 0;
}

/* Soft blobs — avoids “startup grid” boredom */
.hero-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 42% 58% 61% 39% / 48% 45% 55% 52%;
  filter: blur(40px);
  opacity: 0.92;
}

.hero-blob--1 {
  width: min(58vw, 28rem);
  height: min(58vw, 28rem);
  top: -8%;
  right: -14%;
  background: linear-gradient(145deg, rgba(217, 87, 58, 0.22), rgba(255, 180, 120, 0.12));
  animation: blobDriftA 28s ease-in-out infinite alternate;
}

.hero-blob--2 {
  width: min(48vw, 22rem);
  height: min(48vw, 22rem);
  bottom: 5%;
  left: -12%;
  background: linear-gradient(200deg, rgba(120, 96, 182, 0.16), rgba(56, 189, 189, 0.1));
  animation: blobDriftB 34s ease-in-out infinite alternate;
}

@keyframes blobDriftA {
  from {
    transform: translate(0, 0) rotate(0deg);
  }

  to {
    transform: translate(-3%, 2%) rotate(5deg);
  }
}

@keyframes blobDriftB {
  from {
    transform: translate(0, 0) rotate(0deg);
  }

  to {
    transform: translate(4%, -3%) rotate(-4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob--1,
  .hero-blob--2 {
    animation: none;
  }
}

/* Fine dot veil — quieter than squared grid lines */
.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image: radial-gradient(rgba(58, 54, 50, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 85% 75% at 45% 38%, black 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 45% 38%, black 12%, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(111, 104, 96, 0.85);
  margin: 0 0 1.1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 7vw, 3.85rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.042em;
  margin: 0 0 0.65rem;
  color: var(--text);
}

.hero-name {
  background: linear-gradient(115deg, #2f2b27 15%, var(--accent) 50%, var(--violet) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.08rem, 2.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.024em;
  color: rgba(111, 104, 96, 0.95);
  margin: 0 0 1.25rem;
  max-width: 36ch;
}

.hero-lede {
  font-size: clamp(1.02rem, 2.35vw, 1.125rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 0 2rem;
  letter-spacing: -0.012em;
  line-height: 1.65;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  box-shadow: 0 4px 20px rgba(217, 87, 58, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(217, 87, 58, 0.35);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: rgba(55, 45, 38, 0.18);
  background: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  translate: -50% 0;
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: bounce 2.5s ease-in-out infinite;
}

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

/* Sections */
section {
  padding: clamp(4rem, 10vw, 6rem) max(var(--space), env(safe-area-inset-right)) clamp(4rem, 10vw, 6rem) max(var(--space), env(safe-area-inset-left));
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  margin: 0 0 2.5rem;
  max-width: 22ch;
  line-height: 1.2;
}

/* About */
.about {
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-raised));
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: minmax(0, 340px) 1fr;
  }
}

.about-visual {
  position: relative;
}

.about-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-md);
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.about-accent {
  position: absolute;
  width: 40%;
  height: 40%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), transparent);
  opacity: 0.35;
  bottom: -8%;
  right: -6%;
  z-index: -1;
  filter: blur(40px);
}

.about-body p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

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

/* Experience timeline */
.experience {
  border-top: 1px solid var(--stroke);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--stroke);
  position: relative;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline-item:last-child {
  border-bottom: none;
}

@media (min-width: 720px) {
  .timeline-item {
    grid-template-columns: minmax(0, 13rem) 1fr;
    padding-left: 0;
    gap: 2rem;
    align-items: start;
  }

  .timeline-item::before {
    left: 11.875rem;
    top: 2.2rem;
  }
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.timeline-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}

.timeline-org {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.timeline-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Highlights bento */
.highlights .bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .highlights .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Let wide / tall spans work on tablets when we activate them */
}

@media (min-width: 640px) and (max-width: 959px) {
  .bento-card--lead {
    grid-column: 1 / -1;
  }

  .bento-card--astro {
    grid-column: 1 / -1;
  }

}

@media (min-width: 960px) {
  .highlights .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(min-content, auto);
    align-items: stretch;
  }

  /*
   * Column 4 = hobbies only (two rows tall). Astronomy lives on row 3 full width —
   * it cannot sit beside column 4 on row 2 or it overlaps that stack.
   */
  .bento-card--lead {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .bento-card--scholar {
    grid-column: 3;
    grid-row: 1;
  }

  .bento-card--hackathon {
    grid-column: 4;
    grid-row: 1;
  }

  .bento-card--astro {
    grid-column: 2 / 4;
    grid-row: 2;
  }

  .bento-card--music {
    grid-column: 1;
    grid-row: 2;
  }

  .bento-card--play {
    grid-column: 4;
    grid-row: 2;
  }
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}

.bento-card:hover {
  border-color: rgba(217, 87, 58, 0.28);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.5rem;
}

.bento-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.bento-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

/* Skills */
.skills {
  background: var(--bg-raised);
}

.skills-intro {
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.skill-pillars {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .skill-pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-pillar {
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
}

.skill-pillar h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.skill-pillar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.35rem;
  justify-content: center;
  align-items: center;
  background: var(--bg-card);
  border: 1px dashed var(--stroke);
  border-radius: var(--radius-lg);
}

.skill-tag {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  background: var(--bg-deep);
  border: 1px solid var(--stroke);
  border-radius: 999px;
}

.projects-subheading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 2rem 0 1rem;
  letter-spacing: -0.02em;
}

.project-media.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(217, 87, 58, 0.12), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(120, 96, 182, 0.15), transparent 45%),
    var(--bg-raised);
}

.project-placeholder-inner {
  text-align: center;
  padding: 1rem;
}

.project-placeholder-inner span.emoji {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.project-placeholder-inner span.label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Projects */
.projects {
  padding-bottom: 5rem;
}

.project-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  border-color: rgba(120, 96, 182, 0.28);
  box-shadow: var(--shadow-md);
}

.project-media {
  aspect-ratio: 16 / 10;
  background: var(--bg-raised);
  overflow: hidden;
}

.project-media--embed {
  position: relative;
  padding: 0;
  background: #0d0d12;
}

.project-media--embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-card:hover .project-media--embed iframe {
  transform: none;
}

.project-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 0 0 0.75rem;
}

.project-meta {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet);
  margin-bottom: 0.5rem;
}

.project-body p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex: 1;
}

.project-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.project-link::after {
  content: "→";
  transition: transform 0.2s;
}

.project-link:hover::after {
  transform: translateX(4px);
}

/* Contact / footer */
.contact {
  padding: 4rem max(var(--space), env(safe-area-inset-right)) max(4rem, env(safe-area-inset-bottom)) max(var(--space), env(safe-area-inset-left));
  border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--bg-raised), #efe6dc);
}

.contact-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  text-align: center;
}

.contact .section-title {
  max-width: none;
  margin-bottom: 0.5rem;
}

.contact-lede {
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-muted);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.contact-links a:hover {
  color: var(--text);
  border-color: rgba(217, 87, 58, 0.35);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.contact-fine {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
