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

:root {
  color-scheme: light;
  --ink: #0c1d22;
  --sand: #f6f1e7;
  --sun: #ffb454;
  --sea: #2a9d8f;
  --coral: #f25f5c;
  --sky: #7fc8f8;
  --stone: #e2dacb;
  --shadow: 0 22px 40px rgba(12, 29, 34, 0.16);
  --radius: 18px;
  --font-display: "Syne", sans-serif;
  --font-body: "Work Sans", sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at top, #fff7e8, #f3e8d1 45%, #e9dac2 100%);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.35) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  filter: blur(0px);
  opacity: 0.6;
  border-radius: 999px;
  mix-blend-mode: multiply;
}

.orb-sun {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #ffd89b, var(--sun));
  top: -90px;
  right: -80px;
}

.orb-sea {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #b7f0e8, var(--sea));
  bottom: -160px;
  left: -140px;
}

.orb-coral {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, #ffc4b8, var(--coral));
  top: 35%;
  left: 45%;
}

.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E");
  opacity: 0.2;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 32px 72px 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.pill {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
}

.pill:hover {
  transform: translateY(-2px) scale(1.01);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  margin-top: 60px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  margin: 12px 0 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(12, 29, 34, 0.7);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0;
}

.cta {
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta.primary {
  background: var(--sea);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(12, 29, 34, 0.15);
  color: var(--ink);
}

.cta:hover {
  transform: translateY(-2px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: block;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.65rem;
  color: rgba(12, 29, 34, 0.6);
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.panel-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  width: min(360px, 100%);
  backdrop-filter: blur(4px);
}

.panel-title {
  font-family: var(--font-display);
  margin: 0 0 16px;
}

.panel-list {
  display: grid;
  gap: 14px;
}

.panel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(12, 29, 34, 0.08);
}

.panel-item span {
  font-weight: 600;
}

.section {
  padding: 40px 72px 80px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 10px 0 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transform: translateY(12px);
  opacity: 0;
  animation: floatIn 0.6s ease forwards;
  text-decoration: none;
  color: inherit;
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(127, 200, 248, 0.4), rgba(255, 180, 84, 0.6));
}

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

.thumb-fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(12, 29, 34, 0.75);
  height: 100%;
}

.card-body {
  padding: 18px 20px 22px;
  display: grid;
  gap: 12px;
}

.card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.card-body p {
  margin: 0;
  color: rgba(12, 29, 34, 0.7);
  line-height: 1.5;
}


.guide {
  display: flex;
  justify-content: center;
}

.guide-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: min(720px, 100%);
}

.guide-card h3 {
  font-family: var(--font-display);
  margin: 12px 0 16px;
}

.guide-card ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(12, 29, 34, 0.75);
}

.footer {
  padding: 40px 72px 60px;
  text-align: center;
  color: rgba(12, 29, 34, 0.6);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero,
  .section,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-grid {
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-card {
    width: 100%;
  }
}
