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

:root {
  --pink-deep: #c9768a;
  --pink-mid: #e8a4b4;
  --pink-blush: #f5dde4;
  --pink-soft: #fdf0f3;
  --gray-dark: #2a2729;
  --gray-mid: #6b6570;
  --gray-light: #d4cfd2;
  --gray-pale: #f7f5f6;
  --white: #ffffff;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--gray-dark);
  overflow-x: hidden;
  /* FIX: ensure body never causes horizontal overflow on rotation */
  width: 100%;
  min-height: 100vh;
}

/* ─── CENTERING HELPER ───────────────────────────────────────────────────────
   All sections now wrap content in .section-inner so it stays centred at any
   viewport width — including landscape/rotated mobile.
   ─────────────────────────────────────────────────────────────────────────── */
.section-inner {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 118, 138, 0.15);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2 rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--gray-dark);
  text-decoration: none;
  
  display: flex;
  align-items:center;
  gap: 4px;
}

.logo-icon{
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity:2;
}

.nav-logo span {
  color: var(--pink-deep);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-mid);
  text-decoration: none;
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--pink-deep);
}

.nav-cta {
  padding: 12px 28px;
  font-size: 0.75rem;
}

/* BUTTONS */
.btn-primary {
  background: var(--pink-deep);
  color: white;
  padding: 15px 36px;
  border: none;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 8px 24px rgba(201, 118, 138, 0.35);
}

.btn-primary:hover {
  background: #b5637a;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 118, 138, 0.45);
}

.btn-ghost {
  color: var(--gray-dark);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}

.btn-ghost:hover {
  color: var(--pink-deep);
}

.btn-ghost::after {
  content: '→';
  transition: transform 0.25s;
}

.btn-ghost:hover::after {
  transform: translateX(4px);
}

.btn-white {
  background: white;
  color: var(--pink-deep);
  padding: 16px 44px;
  border-radius: 50px;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* FIX: remove side padding here — handled inside .hero-inner */
  padding: 120px 48px 80px;
}

/* ── Hibiscus blurred background ── */
.hibiscus-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hibiscus-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* blur while keeping full colour */
  filter: blur(4px) brightness(0.92) saturate(1.15);
  transform: scale(1.08); /* prevents blur edge white fringe */
}

/* Soft light overlay so text stays readable but colour shines through */
.hibiscus-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(253, 240, 243, 0.72) 0%,
    rgba(245, 221, 228, 0.55) 50%,
    rgba(253, 240, 243, 0.68) 100%
  );
}

/* decorative blobs — sit above the photo, below the content */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pink-blush) 0%, transparent 70%);
  opacity: 0.45;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gray-light) 0%, transparent 70%);
  opacity: 0.25;
  z-index: 1;
}

/* FIX: hero-inner is the actual two-column grid, centred with max-width */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--pink-deep);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--gray-dark);
  margin-bottom: 28px;
}

.hero-title em {
  color: var(--pink-deep);
  font-style: italic;
  font-size: clamp (3rem, 7vw, 6 rem)
}

.hero-sub {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-mid);
  max-width: 420px;
  margin-bottom: 48px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  width: 340px;
  box-shadow: 0 30px 80px rgba(42, 39, 41, 0.12), 0 8px 24px rgba(201, 118, 138, 0.1);
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-card-tag {
  font-size: 1.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink-deep);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gray-dark);
  margin-bottom: 20px;
}

.code-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.code-line {
  height: 10px;
  border-radius: 6px;
  background: var(--gray-pale);
  position: relative;
  overflow: hidden;
}

.code-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(201, 118, 138, 0.2), transparent);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.code-line:nth-child(1) { width: 85%; background: var(--pink-blush); }
.code-line:nth-child(2) { width: 65%; }
.code-line:nth-child(3) { width: 90%; }
.code-line:nth-child(4) { width: 50%; background: var(--pink-blush); }
.code-line:nth-child(5) { width: 75%; }

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-pale);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--pink-deep);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}

.badge {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(42, 39, 41, 0.1);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 500;
}

.badge-1 {
  top: -20px; right: -20px;
  color: var(--gray-mid);
  animation: float 5s ease-in-out infinite 1s;
}

.badge-2 {
  bottom: 30px; left: -30px;
  color: var(--pink-deep);
  animation: float 5s ease-in-out infinite 2s;
}

/* MARQUEE */
.marquee-wrap {
  background: var(--gray-dark);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee {
  display: flex;
  animation: marquee 22s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.marquee-item span {
  color: var(--pink-mid);
}

/* ─── SHARED SECTION STYLES ──────────────────────────────────────────────── */
section {
  padding: 100px 48px;
}

/* FIX: sections that use .section-inner don't need extra side padding */
.work,
.services,
.testimonial,
.cta-section {
  padding-left: 48px;
  padding-right: 48px;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--pink-deep);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-title em {
  color: var(--pink-deep);
  font-style: italic;
}

/* WORK */
.work {
  background: var(--gray-pale);
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}

.view-all-link {
  color: var(--gray-mid);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}

.view-all-link:hover {
  color: var(--pink-deep);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(42, 39, 41, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(42, 39, 41, 0.12);
}

.work-card:first-child {
  grid-column: span 2;
}

.work-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.work-img{
  width:100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: brightness (0.9) saturate (1.1);
} 

.work-thumb-1 {
  background: linear-gradient(135deg, var(--pink-blush), var(--pink-mid));
}

.work-thumb-2 {
  background: linear-gradient(135deg, var(--gray-dark), #4a3f47);
}

.work-thumb-3 {
  background: linear-gradient(135deg, var(--pink-soft), var(--gray-light));
}

.work-thumb-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
  z-index: 2;
}

.work-thumb-label--dark {
  color: var(--gray-mid);
}

.work-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 118, 138, 0.65);
  color: white;
  opacity: 0;
  transition: 0.3s;
  
}

.work-card:hover .work-thumb-overlay {
  background: rgba(201, 118, 138, 0.75);
  opacity: 1;
}
.work-card:hover .work-img {
  transform:scale(1.05);
}
.work-card:hover .work-thumb-overlay {
  opacity:1;
}

.work-meta {
  padding: 24px;
}

.work-tags {p
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--pink-soft);
  color: var(--pink-deep);
  padding: 4px 12px;
  border-radius: 20px;
}

.work-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.work-card-sub {
  font-size: 0.82rem;
  color: var(--gray-mid);
}

/* SERVICES */
.services {
  background: white;
}

.services-intro {
  max-width: 560px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.service-card {
  padding: 40px 32px;
  border: 1px solid var(--pink-deep);
  border-radius: 20px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--pink-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(201, 118, 138, 0.12);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--gray-mid);
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--pink-deep);
  float: right;
  margin-top: -8px;
}

/* ─── ABOUT ──────────────────────────────────────────────────────────────── */
.about-strip {
  background: var(--gray-dark);
  padding: 80px 48px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-label {
  color: var(--pink-mid);
}

.about-label::before {
  background: var(--pink-mid);
}

.about-title {
  color: white;
}

.about-desc {
  color: var(--gray-light);
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 32px;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: rgba(201, 118, 138, 0.15);
  color: var(--pink-mid);
  border: 1px solid rgba(201, 118, 138, 0.3);
  border-radius: 30px;
  padding: 7px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* FIX: metrics grid was orphaned outside about-strip in original HTML */
.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.04);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.metric-box:hover {
  background: rgba(201, 118, 138, 0.1);
}

.metric-box:first-child  { border-radius: 16px 0 0 0; }
.metric-box:nth-child(2) { border-radius: 0 16px 0 0; }
.metric-box:nth-child(3) { border-radius: 0 0 0 16px; }
.metric-box:last-child   { border-radius: 0 0 16px 0; }

.metric-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--pink-mid);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--gray-light);
  letter-spacing: 0.05em;
}

/* TESTIMONIAL */
.testimonial {
  background: var(--pink-soft);
  text-align: center;
  padding: 100px 48px;
}

.testimonial blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gray-dark);
  max-width: 740px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.testimonial cite {
  font-size: 0.82rem;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
}

.stars {
  color: var(--pink-deep);
  font-size: 1.1rem;
  margin-bottom: 24px;
  letter-spacing: 4px;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--pink-deep) 0%, #a55470 100%);
  text-align: center;
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'GROW . BLOOM';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15vw;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: white;
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 48px;
  font-size: 1rem;
  position: relative;
}

/* FOOTER */
footer {
  background: var(--gray-dark);
  padding: 60px 48px 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 16px;
  color: white;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

.footer-col h4 {
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--gray-mid);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--pink-mid);
}

.footer-bottom {
  background: var(--gray-dark);
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: var(--gray-mid);
}

.footer-bottom a {
  color: var(--pink-mid);
  text-decoration: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav {
    padding: 20px 24px;
  }

.hero-sub {
  margin-left: auto;
  margin-right: auto;
}


  .nav-links {
    gap: 20px;
  }

  /* FIX: hero collapses to single column on mobile/portrait */
  .hero {
    padding: 120px 24px 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  section {
    padding: 72px 24px;
  }

  .work,
  .services,
  .testimonial,
  .cta-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-strip {
    padding: 72px 24px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card:first-child {
    grid-column: span 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* FIX: about goes single-column on mobile */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
    padding: 48px 24px 24px;
  }

  .footer-bottom {
    padding: 20px 24px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ── Landscape / rotated phone ── */
@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 100px 24px 60px;
  }

  .hero-inner {
    /* Show side-by-side in landscape if space allows */
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .hero-eyebrow {
    justify-content: flex-start;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  /* Show the card again in landscape */
  .hero-visual {
    display: flex;
  }

  /* Scale card down for landscape mobile */
  .hero-card {
    width: 260px;
    padding: 24px;
  }
}