@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Nunito:wght@300;400;500;600&display=swap');

:root {
  --cream: #faf7f2;
  --cream2: #f3ede3;
  --cream3: #ebe3d5;
  --ink: #1a1714;
  --ink2: #3d3830;
  --muted: #9a8f83;
  --blush: #e8b4a0;
  --blush2: #f2cfc0;
  --sage: #a8b89a;
  --sand: #d4b896;
  --gold: #c9933a;
  --border: #e2d9ce;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom cursor ── */
.cursor {
  width: 10px; height: 10px;
  background: var(--ink);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.12s ease;
  transform: translate(-50%, -50%);
  opacity: 0.4;
}
body:hover .cursor { opacity: 1; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 5rem;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo em {
  font-style: italic;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--cream) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--ink2) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ── PAGES ── */
.page { display: none; padding-top: 80px; min-height: 100vh; }
.page.active { display: block; }

/* ── HOME HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
  position: relative;
}

.hero-left {
  padding: 6rem 4rem 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease both;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s 0.1s ease both;
}
h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 400px;
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 3rem;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-dark:hover { background: var(--ink2); transform: translateY(-2px); }

.btn-ghost {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s;
}
.btn-ghost:hover { border-color: var(--ink); gap: 0.9rem; }

.hero-right {
  background: var(--cream2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shape {
  width: 320px; height: 420px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: linear-gradient(160deg, var(--blush2) 0%, var(--sand) 50%, var(--blush) 100%);
  position: relative;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 40px 80px rgba(180, 130, 100, 0.2);
}

.hero-shape::before {
  content: '';
  position: absolute;
  top: -30px; left: -30px; right: -30px; bottom: -30px;
  border: 1px solid var(--border);
  border-radius: inherit;
  opacity: 0.5;
}

.hero-shape-inner {
  position: absolute;
  inset: 30px;
  border-radius: inherit;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink2);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hero-float-tag {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 6s ease-in-out infinite;
}
.hero-float-tag:nth-child(2) { top: 20%; left: 5%; animation-delay: -2s; }
.hero-float-tag:nth-child(3) { bottom: 25%; right: 5%; animation-delay: -4s; }

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

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--ink);
  padding: 1rem 0;
}
.marquee {
  display: flex;
  gap: 4rem;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(250,247,242,0.5);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.marquee-item strong {
  color: var(--cream);
  font-style: normal;
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION COMMONS ── */
.section { padding: 7rem 5rem; }
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--gold); }

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
h2 em { font-style: italic; color: var(--gold); }

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 3.5rem;
}

/* ── HOME CLIENTS ── */
.clients-strip {
  padding: 3rem 5rem;
  border-bottom: 1px solid var(--border);
}
.clients-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.clients-logos {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}
.client-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream3);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.client-logo:hover { color: var(--muted); }

/* ── WORK GRID (home) ── */
.work-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.work-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.work-item:first-child { grid-row: span 2; aspect-ratio: auto; }
.work-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}
.work-item:hover .work-thumb { transform: scale(1.04); }
.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,23,20,0);
  transition: background 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.work-item:hover .work-overlay { background: rgba(26,23,20,0.5); }
.work-info {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  color: white;
}
.work-item:hover .work-info { opacity: 1; transform: translateY(0); }
.work-info h4 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; }
.work-info span { font-size: 0.78rem; opacity: 0.7; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── SERVICES PAGE ── */
.services-hero {
  padding: 6rem 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  border-bottom: 1px solid var(--border);
}
.services-hero-right {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.9;
  padding-bottom: 0.5rem;
}

.services-list {
  padding: 5rem;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  cursor: default;
}
.service-row:first-child { border-top: 1px solid var(--border); }
.service-row:hover { padding-left: 1rem; padding-right: 1rem; background: var(--cream2); border-radius: 12px; border-color: transparent; }
.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--muted);
  font-style: italic;
}
.service-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.service-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.service-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.stag {
  background: var(--cream3);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink2);
}
.service-icon-big { font-size: 2.2rem; }

/* ── ABOUT PAGE ── */
.about-hero {
  padding: 6rem 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.about-left h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.about-right p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.about-right p:first-of-type {
  font-size: 1.15rem;
  color: var(--ink2);
  font-weight: 500;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin: 0;
}
.about-stat {
  background: var(--cream);
  padding: 3rem 2.5rem;
  text-align: center;
}
.about-stat .big {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.about-stat .big em { font-style: italic; color: var(--gold); }
.about-stat p { font-size: 0.82rem; color: var(--muted); font-weight: 500; letter-spacing: 0.05em; }

.team-section { padding: 6rem 5rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.team-card {
  text-align: center;
}
.team-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}
.team-card:hover .team-portrait { transform: translateY(-6px); }
.team-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.team-card span { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

/* ── CONTACT PAGE ── */
.contact-hero {
  padding: 6rem 5rem 4rem;
  border-bottom: 1px solid var(--border);
}
.contact-hero h1 { font-size: clamp(2.8rem, 5vw, 5rem); max-width: 700px; }
.contact-hero p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; max-width: 480px; margin-top: 1.5rem; }

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
}
.contact-sidebar {
  padding: 4rem 3rem 4rem 5rem;
  border-right: 1px solid var(--border);
}
.contact-sidebar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--muted);
}
.c-method {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.c-method:last-child { border-bottom: none; }
.c-method .c-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
.c-method .c-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 0.25rem; }
.c-method .c-val { font-size: 0.95rem; font-weight: 600; color: var(--ink); }

.contact-form-wrap { padding: 4rem 5rem 4rem 4rem; }
.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--sand); background: white; }
.form-group select option { background: var(--cream); }
.form-group textarea { min-height: 130px; }
.form-submit {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.form-submit:hover { background: var(--ink2); transform: translateY(-2px); }
.form-success { display: none; text-align: center; padding: 3rem 0; }
.form-success .fs-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h4 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3.5rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
}
.footer-logo em { font-style: italic; color: var(--sand); }
footer p { font-size: 0.82rem; opacity: 0.4; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: rgba(250,247,242,0.5); font-size: 0.82rem; text-decoration: none; font-weight: 600; letter-spacing: 0.06em; transition: color 0.2s; }
.footer-links a:hover { color: var(--cream); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  nav { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
  }
  nav.open .nav-cta { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 4rem 1.5rem; }
  .section { padding: 4rem 1.5rem; }
  .clients-strip { padding: 2rem 1.5rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item:first-child { grid-row: auto; }
  .services-hero { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 2rem; }
  .services-list { padding: 2rem 1.5rem; }
  .service-row { grid-template-columns: 50px 1fr; }
  .service-icon-big { display: none; }
  .about-hero { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 2rem; }
  .about-stats { grid-template-columns: 1fr; }
  .team-section { padding: 4rem 1.5rem; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-hero { padding: 4rem 1.5rem; }
  .contact-body { grid-template-columns: 1fr; }
  .contact-sidebar { padding: 3rem 1.5rem; border-right: none; border-bottom: 1px solid var(--border); }
  .contact-form-wrap { padding: 3rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 2.5rem 1.5rem; flex-direction: column; text-align: center; }
}
