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

:root {
  --c-bg: #F4F2EE;
  --c-bg-alt: #ECEAE4;
  --c-bg-white: #FAF9F7;
  --c-surface: #E8E5DE;
  --c-accent: #C8FF00;
  --c-accent-hover: #B8EE00;
  --c-text: #1A1A1A;
  --c-text-medium: #3D3D3D;
  --c-text-muted: #7A7A72;
  --c-text-light: #A5A59B;
  --c-border: #D4D1CA;
  --c-border-light: #E2DFD9;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Sora', -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--c-accent); color: var(--c-text); }
a { color: inherit; text-decoration: none; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.5rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(244, 242, 238, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--c-border);
}
.nav-logo svg { height: 14px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 2.75rem; list-style: none; align-items: center;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 400; color: var(--c-text-muted); transition: color 0.3s;
}
.nav-links a:hover { color: var(--c-text); }
.nav-cta {
  font-size: 0.85rem !important; font-weight: 600 !important; color: var(--c-text) !important;
  background: var(--c-accent); padding: 0.6rem 1.6rem; border-radius: 100px;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.nav-cta:hover { background: var(--c-accent-hover); transform: scale(1.02); }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; z-index: 1001;
}
.menu-toggle span {
  display: block; width: 100%; height: 2px; background: var(--c-text);
  position: absolute; left: 0; transition: all 0.3s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 22px; }
.menu-toggle.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 10rem 4rem 4rem; max-width: 1400px; margin: 0 auto;
}
.hero-label {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--c-text-muted); margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}
.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.15;
  font-weight: 700; letter-spacing: -0.03em; max-width: 1000px;
  opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.35s forwards;
}
.hero h1 .hero-secondary {
  display: block; font-weight: 300; color: var(--c-text-muted); margin-top: 0.25em;
}
.hero-explore {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 4rem;
  font-size: 0.9rem; font-weight: 400; color: var(--c-text-muted);
  opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
  cursor: pointer; transition: color 0.3s;
}
.hero-explore:hover { color: var(--c-text); }
.hero-explore .arrow-down { font-size: 1.25rem; transition: transform 0.3s var(--ease-out); }
.hero-explore:hover .arrow-down { transform: translateY(3px); }

.hero-image {
  width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 4rem 6rem;
  opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}
.hero-image-inner {
  width: 100%; height: clamp(350px, 50vw, 600px);
  border-radius: 16px; overflow: hidden; position: relative;
}
.hero-image-inner img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block;
}

/* ─── SECTIONS ─── */
section { padding: 7rem 4rem; max-width: 1400px; margin: 0 auto; }
.section-inner { max-width: 1400px; margin: 0 auto; padding: 0 4rem; }
.section-label {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--c-text-muted); margin-bottom: 1.5rem;
}
.section-title {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3.5vw, 3rem); line-height: 1.2;
  font-weight: 700; letter-spacing: -0.03em; max-width: 750px;
}
.section-title .muted { font-weight: 300; color: var(--c-text-muted); }
.divider { width: 100%; height: 1px; background: var(--c-border); max-width: 1400px; margin: 0 auto; }

/* ─── PILLARS ─── */
.what-we-do .intro-text {
  font-size: 1.05rem; font-weight: 300; color: var(--c-text-muted);
  max-width: 600px; margin-top: 1.5rem; line-height: 1.8;
}
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 4rem; background: var(--c-border); border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden;
}
.pillar { padding: 3rem; background: var(--c-bg-white); transition: background 0.4s; }
.pillar:hover { background: #fff; }
.pillar-num { font-size: 0.75rem; font-weight: 600; color: var(--c-text-light); letter-spacing: 0.05em; margin-bottom: 2rem; }
.pillar h3 { font-family: var(--font-body); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.pillar p { font-size: 0.9rem; font-weight: 300; color: var(--c-text-muted); line-height: 1.75; }

/* ─── SERVICES ─── */
.service-grid { margin-top: 4rem; }
.service-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  padding: 4rem 0; border-top: 1px solid var(--c-border); align-items: start;
}
.service-item:last-child { border-bottom: 1px solid var(--c-border); }
.service-number { font-size: 0.75rem; font-weight: 600; color: var(--c-text-light); margin-bottom: 1.25rem; letter-spacing: 0.05em; }
.service-item h3 {
  font-family: var(--font-body); font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.service-tagline { font-size: 0.95rem; font-weight: 300; color: var(--c-text-muted); line-height: 1.7; margin-bottom: 1.75rem; }
.service-details { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-tag {
  font-size: 0.75rem; font-weight: 500; padding: 0.4rem 0.85rem; border-radius: 100px;
  border: 1px solid var(--c-border); color: var(--c-text-muted); background: var(--c-bg-white); transition: all 0.3s;
}
.service-tag:hover { border-color: var(--c-text); color: var(--c-text); }
.service-right { padding-top: 2.5rem; }
.service-right p { font-size: 0.95rem; font-weight: 300; color: var(--c-text-medium); line-height: 1.85; }
.service-cta {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.75rem;
  font-weight: 500; font-size: 0.85rem; color: var(--c-text); transition: gap 0.3s var(--ease-out);
}
.service-cta:hover { gap: 1rem; }

/* ─── FULL SERVICE ─── */
.fullservice-section { padding: 5rem 4rem; max-width: 1400px; margin: 0 auto; }
.fullservice-banner {
  background: var(--c-text); color: var(--c-bg); border-radius: 20px; padding: 5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.fullservice-banner h2 {
  font-family: var(--font-body); font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.2;
}
.fullservice-banner .fs-sub { color: rgba(244,242,238,0.55); font-weight: 300; line-height: 1.8; font-size: 1rem; margin: 1.5rem 0 2rem; }
.btn-accent {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--c-accent); color: var(--c-text); font-weight: 600; font-size: 0.9rem;
  padding: 0.9rem 2rem; border-radius: 100px; border: none; cursor: pointer;
  font-family: var(--font-body); transition: transform 0.3s var(--ease-out), background 0.3s;
}
.btn-accent:hover { transform: scale(1.02); background: var(--c-accent-hover); }
.fullservice-checks { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.fullservice-checks span {
  display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 400;
  color: rgba(244,242,238,0.85); padding: 0.5rem 1rem;
  background: rgba(244,242,238,0.07); border: 1px solid rgba(244,242,238,0.12); border-radius: 100px;
}
.fullservice-checks span::before { content: '\2713'; font-weight: 700; color: var(--c-accent); }
.fs-note { font-size: 0.8rem; color: rgba(244,242,238,0.4); margin-top: 1.5rem; font-weight: 300; }

/* ─── REFERENCES ─── */
.references { overflow: hidden; max-width: 100%; padding: 7rem 0; }
.references .section-inner { margin-bottom: 3rem; }
.ref-marquee-wrap { overflow: hidden; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 2.5rem 0; }
.ref-marquee { display: flex; gap: 0; animation: marquee 45s linear infinite; width: max-content; }
.ref-item {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400; font-style: italic; color: var(--c-text-light);
  white-space: nowrap; padding: 0 1.5rem; transition: color 0.3s;
}
.ref-item:hover { color: var(--c-text); }
.ref-dot { color: var(--c-text-light); padding: 0 0.5rem; opacity: 0.3; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ref-count { text-align: center; margin-top: 3rem; }
.ref-count h3 { font-family: var(--font-display); font-size: clamp(3.5rem, 6vw, 5rem); font-weight: 400; font-style: italic; color: var(--c-text); line-height: 1; }
.ref-count p { font-size: 0.9rem; font-weight: 300; color: var(--c-text-muted); margin-top: 0.5rem; }

/* ─── APPROACH ─── */
.approach-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 4rem; background: var(--c-border); border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden;
}
.approach-card { padding: 3rem; background: var(--c-bg-white); transition: background 0.4s; position: relative; }
.approach-card:hover { background: #fff; }
.approach-card .step-num { font-family: var(--font-display); font-size: 4rem; font-style: italic; font-weight: 400; color: var(--c-border); line-height: 1; margin-bottom: 1.5rem; }
.approach-card h3 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.approach-card p { font-size: 0.9rem; font-weight: 300; color: var(--c-text-muted); line-height: 1.75; }

/* ─── ABOUT ─── */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; margin-top: 4rem; align-items: start; }
.about-text p { font-size: 1rem; font-weight: 300; color: var(--c-text-medium); line-height: 1.85; margin-bottom: 1.5rem; }
.about-text p:first-of-type { font-size: 1.15rem; font-weight: 500; color: var(--c-text); }
.founders-card { padding: 3rem; border: 1px solid var(--c-border); border-radius: 20px; background: var(--c-bg-white); }
.founders-img { width: 100%; height: 260px; border-radius: 14px; overflow: hidden; margin-bottom: 2rem; }
.founders-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.founders-card h3 { font-family: var(--font-body); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.founders-role { font-size: 0.85rem; color: var(--c-text-muted); font-weight: 400; margin: 0.25rem 0 1.5rem; }
.founders-card > p { font-size: 0.9rem; font-weight: 300; color: var(--c-text-muted); line-height: 1.75; }
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.value-item { padding: 1.25rem; border-radius: 12px; background: var(--c-bg); border: 1px solid var(--c-border-light); }
.value-item h4 { font-size: 0.8rem; font-weight: 600; margin-bottom: 0.3rem; }
.value-item p { font-size: 0.75rem; font-weight: 300; color: var(--c-text-muted); line-height: 1.5; }

/* ─── CTA ─── */
.cta-section { text-align: center; padding: 10rem 4rem; max-width: 1400px; margin: 0 auto; }
.cta-section .section-title { max-width: 650px; margin: 0 auto; text-align: center; }
.cta-section p { font-size: 1rem; font-weight: 300; color: var(--c-text-muted); max-width: 450px; margin: 1.5rem auto 2.5rem; line-height: 1.7; }

/* ─── FOOTER ─── */
footer { border-top: 1px solid var(--c-border); background: var(--c-bg); }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 4rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-logo { margin-bottom: 1rem; }
.footer-logo svg { height: 12px; width: auto; }
.footer-brand p { font-size: 0.85rem; font-weight: 300; color: var(--c-text-muted); line-height: 1.7; max-width: 280px; margin-top: 0.75rem; }
.footer-col h4 { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-text-light); margin-bottom: 1.25rem; }
.footer-col a { display: block; font-size: 0.85rem; font-weight: 300; color: var(--c-text-muted); padding: 0.3rem 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--c-text); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--c-border-light); font-size: 0.75rem; font-weight: 300; color: var(--c-text-light); }
.footer-bottom a { color: var(--c-text-light); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--c-text-muted); }

/* ─── LEGAL PAGES ─── */
.legal-page { padding: 10rem 4rem 6rem; max-width: 900px; margin: 0 auto; }
.legal-page h1 {
  font-family: var(--font-body); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em; margin-bottom: 3rem;
}
.legal-page h2 {
  font-family: var(--font-body); font-size: 1.2rem; font-weight: 600;
  letter-spacing: -0.02em; margin: 2.5rem 0 0.75rem; color: var(--c-text);
}
.legal-page h3 {
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  margin: 1.75rem 0 0.5rem; color: var(--c-text);
}
.legal-page p {
  font-size: 0.9rem; font-weight: 300; color: var(--c-text-medium);
  line-height: 1.85; margin-bottom: 1rem;
}
.legal-page ul {
  margin: 0.5rem 0 1rem 1.5rem; font-size: 0.9rem; font-weight: 300;
  color: var(--c-text-medium); line-height: 1.85;
}
.legal-page a { color: var(--c-text); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--c-text-muted); }
.legal-page .legal-updated {
  font-size: 0.8rem; color: var(--c-text-light); margin-bottom: 2rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  nav { padding: 1.25rem 2.5rem; }
  section, .fullservice-section { padding: 5rem 2.5rem; }
  .hero { padding: 8rem 2.5rem 3rem; }
  .hero-image { padding: 0 2.5rem 5rem; }
  .pillars, .approach-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 3rem; }
  .fullservice-banner { grid-template-columns: 1fr; padding: 3.5rem; }
  .footer-inner { padding: 3rem 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .legal-page { padding: 8rem 2.5rem 5rem; }
}
@media (max-width: 768px) {
  nav { padding: 1.25rem 1.5rem; }
  section, .fullservice-section { padding: 4rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 2.5rem; }
  .hero-image { padding: 0 1.5rem 4rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; inset: 0;
    background: var(--c-bg); z-index: 999; justify-content: center; align-items: center; gap: 2rem; padding: 2rem;
  }
  .nav-links.open a { font-size: 1.5rem; font-weight: 500; color: var(--c-text); }
  .menu-toggle { display: block; }
  .service-item { grid-template-columns: 1fr; gap: 2rem; }
  .service-right { padding-top: 0; }
  .fullservice-banner { padding: 2.5rem; }
  .values-row { grid-template-columns: 1fr; }
  .footer-inner { padding: 2.5rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; }
  .cta-section { padding: 6rem 1.5rem; }
  .references { padding: 5rem 0; }
  .section-inner { padding: 0 1.5rem; }
  .legal-page { padding: 7rem 1.5rem 4rem; }
}
