:root {
  --cream: #F7F4EF;
  --ink: #1A1614;
  --ink-muted: #6B6460;
  --violet: #6B28B8;
  --violet-mid: #9538D6;
  --violet-bright: #C07FF0;
  --blue-violet: #4858D0;
  --magenta: #B835B0;
  --rule: #E2DDD8;
}

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TOP BANNER ── */
.top-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 24px;
  min-height: 44px;
}

.top-banner-text {
  font-size: 13px;
  color: rgba(255,255,255,0.90);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.top-banner-btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--violet);
  background: #fff;
  text-decoration: none;
  padding: 5px 14px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.top-banner-btn:hover { background: var(--violet-bright); color: #fff; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 44px; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 52px;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav-brand-name {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--violet-mid);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 112px; left: 0; right: 0;
  background: rgba(247, 244, 239, 0.97);
  backdrop-filter: blur(14px);
  padding: 32px 28px 40px;
  z-index: 199;
  border-bottom: 1px solid var(--rule);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.3s;
  pointer-events: none;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-mobile ul li a {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.nav-mobile ul li:last-child a { border-bottom: none; }
.nav-mobile ul li a:hover { color: var(--violet-mid); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 52px;
  padding-top: 144px;
  align-items: center;
  overflow: hidden;
  gap: 40px;
}

.hero-text {
  padding-bottom: 80px;
  padding-top: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(50px, 6vw, 86px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 36px;
}
.hero-headline em { font-style: italic; color: var(--violet-mid); }

.hero-sub {
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 360px;
  line-height: 1.75;
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  margin-top: 44px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-cta:hover { color: var(--violet-mid); border-color: var(--violet-mid); }

/* ── HERO LOGO ── */
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: floatIn 1.2s ease 0.1s forwards;
  padding-top: 60px;
}

.hero-logo-img {
  width: clamp(280px, 38vw, 500px);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 40px rgba(149,56,214,0.20))
    drop-shadow(0 32px 60px rgba(107,40,184,0.15));
  animation: float 7s ease-in-out infinite;
}

/* ── SEPARATOR ── */
.separator {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 52px;
  margin: 0;
}

.separator-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.separator-mark {
  display: flex;
  align-items: center;
  gap: 16px;
}

.separator-mark span {
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
  opacity: 0.6;
}

.separator-diamond {
  width: 5px;
  height: 5px;
  background: var(--violet-mid);
  transform: rotate(45deg);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ── ABOUT ── */
#about {
  padding: 140px 52px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  border-bottom: 1px solid var(--rule);
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
  padding-top: 6px;
  position: sticky;
  top: 100px;
}

.about-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  color: var(--ink);
}
.about-headline em { font-style: italic; color: var(--violet-mid); }

.about-body {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-muted);
  max-width: 560px;
  line-height: 1.8;
}
.about-body p + p { margin-top: 20px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-num span {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-mid) 50%, var(--violet-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-top: 8px;
  font-weight: 300;
}

.stat-counting {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--violet-mid);
  margin-top: 6px;
  font-weight: 400;
  opacity: 0.8;
}

/* ── PROJECTS ── */
#projects {
  padding: 140px 52px;
  border-bottom: 1px solid var(--rule);
}

.projects-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 72px;
}

.projects-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.projects-headline em { font-style: italic; color: var(--violet-mid); }

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

.project-card {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover { transform: scale(0.975); }

.project-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:nth-child(1) .project-card-bg {
  background: radial-gradient(ellipse at 38% 42%, #B835B0 0%, #7B28C8 30%, #3A1878 65%, #18083A 100%);
}
.project-card:nth-child(2) .project-card-bg {
  background: radial-gradient(ellipse at 55% 38%, #9538D6 0%, #5528A8 30%, #2A1468 65%, #120830 100%);
}
.project-card:nth-child(3) .project-card-bg {
  background: radial-gradient(ellipse at 45% 48%, #8878E0 0%, #4858C8 30%, #283098 60%, #0E1848 100%);
}
.project-card:hover .project-card-bg { transform: scale(1.04); }

/* Grid overlay */
.project-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 36px 36px;
}

.project-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.project-card:hover .project-card-img { opacity: 1; }

.project-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(to top, rgba(12,6,28,0.72) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.project-card:hover .project-card-inner { opacity: 1; }

.project-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.project-name {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}
.project-number {
  position: absolute;
  top: 28px;
  left: 32px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}
.projects-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-muted);
  font-style: italic;
  font-family: 'Fraunces', serif;
}

/* ── PHOTO BREAK ── */
.photo-break {
  position: relative;
  overflow: hidden;
}
.photo-break-img {
  display: block;
  width: 100%;
  height: auto;
}
.photo-break-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 19px,
      rgba(107, 40, 184, 0.13) 20px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 19px,
      rgba(107, 40, 184, 0.13) 20px
    ),
    linear-gradient(135deg, rgba(107, 40, 184, 0.60) 0%, rgba(149, 56, 214, 0.32) 60%, transparent 100%);
  transition: opacity 0.55s ease;
}
.photo-break:hover .photo-break-overlay {
  opacity: 0;
}

/* ── APPROACH ── */
#approach {
  padding: 140px 52px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

.approach-list { list-style: none; }

.approach-item {
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
}
.approach-item:last-child { border-bottom: 1px solid var(--rule); }

.approach-num {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-muted);
  padding-top: 4px;
}
.approach-text h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.approach-text p {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.75;
}

/* ── CONTACT ── */
#contact {
  padding: 140px 52px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.contact-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.contact-headline em { font-style: italic; color: var(--violet-mid); }

.contact-details { padding-bottom: 8px; }

.contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}
.contact-item:last-child { margin-bottom: 0; }

.contact-item-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.contact-item-value {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
a.contact-item-value:hover { color: var(--violet-mid); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 24px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer span {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* ── OFFER BUTTONS ── */
.btn-offer-nav {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--violet-mid);
  background: none;
  border: 1px solid var(--violet-mid);
  padding: 7px 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
  text-decoration: none;
}
.btn-offer-nav:hover { background: var(--violet-mid); color: #fff; }

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 44px;
}
.hero-cta { margin-top: 0; }

.btn-offer-hero {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--violet-mid);
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
  text-decoration: none;
}
.btn-offer-hero:hover { background: var(--violet); }


.offer-form { display: flex; flex-direction: column; gap: 24px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
}

.form-input,
.form-textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 8px 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--violet-mid); }
.form-textarea { resize: vertical; min-height: 80px; }

.form-submit {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--violet-mid);
  border: none;
  padding: 15px 32px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
  margin-top: 8px;
}
.form-submit:hover { background: var(--violet); }

@media (max-width: 820px) {
  .btn-offer-nav { display: none; }
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes rise    { to { opacity: 1; transform: translateY(0); } }
@keyframes floatIn { to { opacity: 1; } }
@keyframes float {
  0%,100% { transform: translateY(0px)   rotate(0deg);   }
  33%     { transform: translateY(-22px) rotate(0.6deg); }
  66%     { transform: translateY(-10px) rotate(-0.4deg);}
}

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: block; }

  #hero {
    grid-template-columns: 1fr;
    padding: 144px 24px 60px;
    gap: 24px;
  }
  .hero-text { padding-bottom: 0; padding-top: 24px; }
  .hero-logo-wrap { padding-top: 0; }

  .separator { padding: 0 24px; }

  #about { grid-template-columns: 1fr; gap: 32px; padding: 80px 24px; }
  .projects-header { grid-template-columns: 1fr; gap: 20px; }
  #projects { padding: 80px 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { aspect-ratio: 4/3; }
  #approach { grid-template-columns: 1fr; gap: 32px; padding: 80px 24px; }
  #contact { grid-template-columns: 1fr; gap: 48px; padding: 80px 24px 64px; }
  .about-stats { gap: 16px; }
  footer { padding: 20px 24px; flex-direction: column; gap: 6px; text-align: center; }
}
