@charset "UTF-8";
/* =========================================
   DESIGN SYSTEM — TYPE, SPACE & LAYOUT
   UTOPIA | Min 320px → Max 2560px
========================================= */

/* =====================
   DESIGN TOKENS
===================== */

:root {
  /* Font */
  --font-family: "Poppins", sans-serif;

  /* Type scale */
  --h1-size: clamp(3.2rem, 2.6rem + 2vw, 4.8rem);
  --h2-size: clamp(2.2rem, 2rem + 0.8vw, 2.8rem);
  --h3-size: clamp(1.9rem, 1.8rem + 0.3vw, 2.2rem);
  --h4-size: clamp(1.5rem, 1.45rem + 0.2vw, 1.7rem);
  --h5-size: clamp(1.3rem, 1.25rem + 0.1vw, 1.45rem);
  --h6-size: clamp(1.15rem, 1.1rem + 0.05vw, 1.3rem);

  --body-size: 1rem;

  /* Line heights */
  --lh-tight: clamp(0.95, 0.9 + 0.2vw, 1.05);
  --lh-normal: 1.6;

  /* Space scale */
  --space-xs: clamp(0.5rem, 0.4rem + 0.3vw, 0.75rem);
  --space-s: clamp(0.75rem, 0.6rem + 0.4vw, 1rem);
  --space-m: clamp(1.25rem, 1rem + 0.6vw, 2rem);
  --space-l: clamp(2rem, 1.5rem + 1vw, 3rem);
  --space-xl: clamp(3rem, 2.5rem + 2vw, 5rem);
}

/* =====================
   RESET
===================== */

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

/* =====================
   BASE
===================== */

body {
  font-family: var(--font-family);
  font-size: var(--body-size);
  line-height: var(--lh-normal);
  color: #36454f;
}

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

/* =====================
   TYPOGRAPHY
===================== */

h1 {
  font-size: var(--h1-size);
  line-height: var(--lh-tight);
  text-transform: uppercase;
  margin-bottom: var(--space-m);
}

h2 {
  font-size: var(--h2-size);
  line-height: var(--lh-tight);
  text-transform: uppercase;
  margin-bottom: var(--space-s);
}

h2.hero-two {
  color: #fa7268;
}

h3 {
  font-size: var(--h3-size);
  margin-bottom: var(--space-xs);
}

h4 {
  font-size: var(--h4-size);
  margin-bottom: var(--space-xs);
}

h5 {
  font-size: var(--h5-size);
  margin-bottom: var(--space-xs);
}

h6 {
  font-size: var(--h6-size);
  margin-bottom: var(--space-xs);
}

p {
  max-width: 65ch;
  margin-bottom: var(--space-m);
}

/* Flow rhythm */
h1 + p,
h2 + p,
h3 + p {
  margin-top: var(--space-xs);
}

p + h1,
p + h2,
p + h3 {
  margin-top: var(--space-l);
}

/* =====================
   BUTTON
===================== */

.btn {
  display: inline-block;
  background: #fa7268;
  color: #fff;
  padding: 0.75rem 2rem;
  font-weight: 700;
  text-decoration: none;
}

/* =====================
   LAYOUT
===================== */

section,
.panel {
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.panel {
  min-height: 100vh;
  padding-block: var(--space-xl);
  display: flex;
  align-items: flex-start;
}

.hero-one {
  background: #fa7268;
}

.hero-two {
  background: #ffffff;
}

.hero .content {
  max-width: 900px;
  margin: 0 auto;
}

/* =====================
   HEADER / NAV
===================== */

.site-header {
  height: 150px;
  background: #36454f;
}

.header-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  max-width: 80px;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.nav-list a.active {
  color: #fa7268;
}

.burger {
  display: none;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fa7268;
  margin: 6px 0;
}

/* =====================
   MASONRY GRID
===================== */

.masonry-section {
  width: 100vw;
  min-height: 100vh;
}

.masonry-grid {
  column-count: 5;
  column-gap: 0;
}

.masonry-grid img {
  break-inside: avoid;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
}

/* Stagger */
.masonry-grid img:nth-child(n) {
  animation-delay: calc(var(--i, 0) * 0.05s);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================
   FOOTER
===================== */

.footer-upper {
  height: 150px;
  background: #36454f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-lower {
  height: 50px;
  background: #fa7268;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.footer-lower p {
  color: #fff;
  margin: 0;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {
  .masonry-grid {
    column-count: 1;
  }

  .nav {
    position: fixed;
    top: 150px;
    left: 0;
    width: 100%;
    height: calc(100vh - 150px);
    background: #36454f;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    padding: 2rem;
  }

  .burger {
    display: block;
  }
}
