:root {
  --bg: #FCEEE3;
  --bg-alt: #F3E4D4;
  --text-primary: #4A2C2A;
  --text-secondary: #7A5C4F;
  --accent: #9B7368;
  --accent-hover: #7A5C4F;
  --peach: #F5C6A0;
  --peach-light: #FAE5D3;
  --peach-muted: #F0D4BF;
  --orange: #F0A86E;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;
  --shadow: 0 20px 50px rgba(74, 44, 42, 0.1);
  --shadow-sm: 0 6px 20px rgba(74, 44, 42, 0.06);
  --font: 'Poppins', system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #1A110E;
  --bg-alt: #261B17;
  --text-primary: #F5E6D8;
  --text-secondary: #C4A594;
  --accent: #C4A594;
  --accent-hover: #E89B5C;
  --peach: #5C3F2E;
  --peach-light: #3D2B20;
  --peach-muted: #4A3528;
  --orange: #8B5E3C;
  --white: #FFFFFF;
  --card-bg: #2D1F1A;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--card-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}

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

/* ===== Header (scrolls away) ===== */
.site-header {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5% 28px 4%;
  background: var(--bg);
  transition: background 0.4s ease;
}

.logo { display: flex; align-items: center; }

.logo-img {
  width: 130px;
  height: 130px;
  filter: drop-shadow(0 3px 8px rgba(74, 44, 42, 0.06));
  transition: transform 0.3s ease;
}

.logo-img:hover { transform: scale(1.04); }

.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav {
  display: flex;
  gap: 50px;
}

.site-nav a {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: 0.2px;
  position: relative;
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.site-nav a:hover { color: var(--orange); }
.site-nav a:hover::after { width: 100%; }

.theme-toggle {
  background: none;
  border: 2px solid var(--text-secondary);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.theme-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: rotate(15deg);
}

.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Floating Nav Pill ===== */
.floating-nav {
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  z-index: 200;
  display: flex;
  gap: 8px;
  background: var(--text-primary);
  padding: 14px 32px;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(74, 44, 42, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease;
}

.floating-nav.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.floating-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 18px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.floating-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .floating-nav {
  background: #F5E6D8;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .floating-nav a { color: rgba(26, 17, 14, 0.7); }
[data-theme="dark"] .floating-nav a:hover { color: #1A110E; background: rgba(0, 0, 0, 0.08); }

/* ===== Hero ===== */
.hero {
  padding: 40px 5% 240px 4%;
  background: var(--bg);
  position: relative;
  overflow: visible;
  display: flex;
  align-items: flex-start;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.hero-left { padding-left: 16px; position: relative; z-index: 3; }

.hero-accent-line {
  display: block;
  width: 100px;
  height: 8px;
  background: var(--orange);
  border-radius: 4px;
  margin-bottom: 28px;
}

.brand-name {
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 4px;
  line-height: 1.05;
}

.tagline {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 20px 0 48px;
}

.btn {
  display: inline-block;
  padding: 22px 72px;
  border-radius: 14px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2.5px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-cta {
  background: var(--accent-hover);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(155, 115, 104, 0.25);
}

.btn-cta:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(155, 115, 104, 0.35);
}

[data-theme="dark"] .btn-cta {
  background: #F0A86E;
  box-shadow: 0 8px 24px rgba(232, 155, 92, 0.3);
}

[data-theme="dark"] .btn-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 155, 92, 0.45);
}

/* ===== Hero Right — Card & Blobs ===== */
.hero-right {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero-card {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 580px;
  height: 480px;
  background: #FFFFFF;
  border-radius: 40px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.4s ease;
}

/* Blobs — matching zoomed screenshot exactly */
.blob { position: absolute; }

.blob-1 {
  width: 180px;
  height: 180px;
  background: var(--peach-light);
  border-radius: 54% 46% 58% 42% / 46% 54% 42% 58%;
  top: -40px;
  right: 20px;
  opacity: 0.9;
  z-index: 1;
  animation: blobFloat1 8s ease-in-out infinite;
}

.blob-2 {
  width: 520px;
  height: 380px;
  background: var(--peach);
  border-radius: 62% 38% 46% 54% / 48% 58% 42% 52%;
  bottom: 20px;
  left: -30px;
  opacity: 0.85;
  z-index: 2;
  transform: rotate(-12deg);
  animation: blobFloat2 10s ease-in-out infinite;
}

.blob-3 {
  width: 300px;
  height: 400px;
  background: var(--orange);
  border-radius: 44% 56% 38% 62% / 58% 42% 54% 46%;
  bottom: 10px;
  right: -30px;
  opacity: 0.8;
  z-index: 2;
  transform: rotate(8deg);
  animation: blobFloat3 12s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(6px, -8px) rotate(2deg); }
  66% { transform: translate(-4px, 6px) rotate(-1deg); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(-12deg); }
  33% { transform: translate(-8px, 5px) rotate(-14deg); }
  66% { transform: translate(5px, -8px) rotate(-10deg); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(8deg); }
  50% { transform: translate(8px, -6px) rotate(10deg); }
}

/* ===== About — white bg, straight top edge ===== */
.about {
  background: var(--card-bg);
  position: relative;
  margin-top: -190px;
  padding-top: 200px;
  transition: background 0.4s ease;
}

/* ===== Sections ===== */
.section {
  padding: 110px 6%;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 780px;
  margin-bottom: 22px;
  line-height: 1.85;
}

.about-text p:first-child {
  color: var(--text-primary);
  font-size: 1.1rem;
}

.about-circles {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  justify-content: flex-start;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.circle-placeholder {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--peach-light);
  transition: transform 0.3s ease, background 0.4s ease;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.circle-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.circle-placeholder:hover { transform: scale(1.06); }

.member-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.team-member:nth-child(2) .circle-placeholder {
  background: transparent;
}

.team-member:nth-child(3) .circle-placeholder img {
  object-position: center 15%;
  transform: scale(1.3);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--card-bg);
  padding: 32px 6%;
  color: var(--text-secondary);
  border-top: 1px solid rgba(74, 44, 42, 0.08);
  position: relative;
  z-index: 5;
  transition: background 0.4s ease;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-inner p { font-size: 0.92rem; }

.footer-nav { display: flex; gap: 30px; }

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.25s;
}

.footer-nav a:hover { color: var(--orange); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-card { max-width: 480px; height: 400px; }
  .blob-2 { width: 420px; height: 300px; bottom: 10px; }
  .blob-3 { width: 240px; height: 320px; bottom: 0px; }
}

@media (max-width: 900px) {
  .hero { padding: 20px 5% 180px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-left { padding-left: 0; text-align: center; }
  .hero-accent-line { margin-left: auto; margin-right: auto; }
  .hero-right { min-height: 360px; }
  .logo-img { width: 90px; height: 90px; }
  .about { margin-top: -120px; padding-top: 140px; }

  .about-circles {
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .circle-placeholder { width: 140px; height: 140px; }
  .member-name { font-size: 0.9rem; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 5%;
    flex-direction: column;
    background: var(--card-bg);
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .floating-nav { padding: 10px 20px; gap: 4px; }
  .floating-nav a { font-size: 0.75rem; padding: 5px 12px; }
}

@media (max-width: 520px) {
  .logo-img { width: 72px; height: 72px; }
  .section { padding: 70px 6%; }
  .hero-right { min-height: 280px; }
  .hero-card { max-width: 300px; height: 260px; border-radius: 28px; }
  .blob-1 { width: 120px; height: 120px; }
  .blob-2 { width: 280px; height: 200px; bottom: 0px; }
  .blob-3 { width: 180px; height: 240px; bottom: -10px; }
  .brand-name { letter-spacing: 2px; }
  .btn { padding: 18px 48px; font-size: 0.9rem; }
  .circle-placeholder { width: 110px; height: 110px; }
  .about-circles { gap: 18px; }
  .about { margin-top: -80px; padding-top: 100px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .floating-nav { padding: 8px 16px; top: 20px; }
  .floating-nav a { font-size: 0.7rem; padding: 4px 10px; }
}
