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

:root {
  --ink: #0a0f0c;
  --paper: #f7f5f0;
  --sage: #1a3d28;
  --emerald: #0b8a3c;
  --mint: #7fffa8;
  --warm: #e8e2d4;
  --accent: #00ff6a;
  --muted: #6b7c70;
  --border: rgba(10,15,12,0.1);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

body, p, button, input {
    font-family: 'Poppins', sans-serif;
}

body {  
  background: var(--ink);
  color: var(--paper);
  cursor: none;
  overflow-x: hidden;
}

/* CUSTOM CURSOR */
#cursor {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.08s, width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(0,255,106,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease-out, top 0.12s ease-out, width 0.3s, height 0.3s;
}
a:hover ~ #cursor, button:hover ~ #cursor { width: 6px; height: 6px; }

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* NAV */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 1.6rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  mix-blend-mode: normal;
}
.site-header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,15,12,0.9) 0%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-geo {
  position: relative; width: 34px; height: 34px;
}
.logo-geo svg { width: 100%; height: 100%; }
.logo-text-block { line-height: 1; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.logo-sub {
  font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mint);
  margin-top: 2px;
}
.nav-menu { display: flex; gap: 2.5rem; }
.nav-menu a {
  font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--paper); }
.nav-pill {
  background: var(--accent);
  color: var(--ink);
  padding: 0.55rem 1.4rem;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-pill:hover { transform: scale(1.03); box-shadow: 0 0 28px rgba(0,255,106,0.4); }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 50%, rgba(11,138,60,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(26,61,40,0.35) 0%, transparent 55%),
    var(--ink);
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(247,245,240,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,245,240,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 12rem 4rem 6rem;
  max-width: 1400px; margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.5rem;
}
.eyebrow-line { width: 48px; height: 1px; background: var(--accent); }
.eyebrow-text {
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 9vw, 10rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  overflow: hidden;
}
.hero-title .line { display: block; animation: slideUp 0.9s cubic-bezier(0.16,1,0.3,1) both; }
.hero-title .line:nth-child(2) { animation-delay: 0.12s; padding-left: 8rem; }
.hero-title .line:nth-child(3) { animation-delay: 0.24s; color: var(--accent); font-style: italic; }
@keyframes slideUp { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }

.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3rem; flex-wrap: wrap;
}
.hero-desc {
  max-width: 400px;
  font-size: 0.95rem; line-height: 1.75;
  color: rgba(247,245,240,0.55);
  animation: fadeIn 1s 0.5s both;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 1.5rem; animation: fadeIn 1s 0.65s both; }
.hero-cta {
  display: flex; align-items: center; gap: 1rem;
  background: var(--paper);
  color: var(--ink);
  padding: 1rem 2rem;
  text-decoration: none; border-radius: 3px;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.cta-arrow { font-size: 1.1rem; transition: transform 0.2s; }
.hero-cta:hover .cta-arrow { transform: translateX(4px); }
.hero-scroll {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}
.scroll-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--muted);
  display: flex; align-items: center; justify-content: center;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

/* MARQUEE BAND */
.marquee-band {
  background: var(--accent);
  color: var(--ink);
  padding: 0.8rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 22s linear infinite;
}
.marquee-inner span {
  font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 500;
  padding: 0 2.5rem;
}
.marquee-inner span::before { content: '✦'; margin-right: 2.5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ABOUT */
.about {
  padding: 9rem 4rem;
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 8rem; align-items: center;
}
.about-label {
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem;
}
.about-label::before { content: '01'; font-size: 0.6rem; color: var(--accent); }
.about-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 2rem;
}
.about-heading em { font-style: italic; color: var(--accent); }
.about-text {
  font-size: 0.92rem; line-height: 1.8;
  color: rgba(247,245,240,0.6);
  margin-bottom: 2.5rem;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; border: 1px solid var(--border); border-color: rgba(247,245,240,0.08);
}
.astat {
  padding: 1.5rem;
  border: 1px solid rgba(247,245,240,0.08);
}
.astat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 900;
  color: var(--accent); line-height: 1;
  margin-bottom: 0.4rem;
}
.astat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }

.about-right { position: relative; }
.about-img-stack { position: relative; height: 520px; }
.about-img-main {
  position: absolute; top: 0; left: 0;
  width: 78%; height: 88%;
  object-fit: cover; border-radius: 3px;
  filter: grayscale(30%);
}
.about-img-accent {
  position: absolute; bottom: 0; right: 0;
  width: 52%; height: 58%;
  object-fit: cover; border-radius: 3px;
  border: 4px solid var(--ink);
  filter: grayscale(20%);
}
.about-tag {
  position: absolute; top: 1.5rem; right: -1rem;
  background: var(--accent); color: var(--ink);
  padding: 0.6rem 1.2rem;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 2px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* SERVICES */
.services-section {
  background: var(--paper);
  color: var(--ink);
  padding: 9rem 4rem;
}
.services-head {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 5rem; gap: 2rem;
}
.services-label {
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--emerald);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.services-label::before { content: '02'; font-size: 0.6rem; }
.services-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; line-height: 1.1;
  color: var(--ink);
}
.services-heading em { font-style: italic; color: var(--emerald); }
.services-see-all {
  flex-shrink: 0;
  font-size: 0.78rem; color: var(--emerald);
  text-decoration: none; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--emerald);
  padding-bottom: 2px;
  white-space: nowrap;
}

.services-cards {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid rgba(10,15,12,0.1);
}
.svc {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(10,15,12,0.1);
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.svc:last-child { border-right: none; }
.svc::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--emerald);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.svc:hover { background: rgba(10,15,12,0.03); }
.svc:hover::after { transform: scaleX(1); }
.svc-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; font-weight: 900;
  color: rgba(10,15,12,0.06); line-height: 1;
  margin-bottom: 2rem;
  transition: color 0.3s;
}
.svc:hover .svc-num { color: rgba(11,138,60,0.12); }
.svc-icon-line {
  width: 36px; height: 2px;
  background: var(--emerald); margin-bottom: 1.5rem;
}
.svc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  line-height: 1.2; margin-bottom: 1rem;
  color: var(--ink);
}
.svc-desc {
  font-size: 0.82rem; line-height: 1.7;
  color: rgba(10,15,12,0.55);
}
.svc-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: 0.62rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(11,138,60,0.08);
  color: var(--emerald); padding: 3px 10px;
  border-radius: 100px;
}

/* COMPETENCES BENTO */
.bento-section {
  padding: 9rem 4rem;
  max-width: 1400px; margin: 0 auto;
}
.bento-label {
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.bento-label::before { content: '03'; font-size: 0.6rem; color: var(--accent); }
.bento-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; margin-bottom: 4rem; line-height: 1.1;
}
.bento-heading em { font-style: italic; color: var(--accent); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, 180px);
  gap: 12px;
}
.bento-cell {
  border-radius: 8px;
  overflow: hidden; position: relative;
  background: rgba(247,245,240,0.04);
  border: 1px solid rgba(247,245,240,0.07);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.bento-cell:hover { border-color: rgba(0,255,106,0.25); transform: scale(1.01); }

.bc-1 { grid-column: 1/6; grid-row: 1/3; background: linear-gradient(135deg, var(--sage) 0%, rgba(11,138,60,0.6) 100%); }
.bc-2 { grid-column: 6/9; grid-row: 1; }
.bc-3 { grid-column: 9/13; grid-row: 1; }
.bc-4 { grid-column: 6/10; grid-row: 2/4; background: rgba(247,245,240,0.06); }
.bc-5 { grid-column: 10/13; grid-row: 2; }
.bc-6 { grid-column: 1/6; grid-row: 3; }
.bc-7 { grid-column: 10/13; grid-row: 3; }

.bc-emoji { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.bc-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.2; }
.bc-desc { font-size: 0.78rem; color: rgba(247,245,240,0.55); line-height: 1.6; }
.bc-big-num {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem; font-weight: 900;
  color: rgba(247,245,240,0.06); line-height: 1;
}
.bc-accent-pill {
  display: inline-block; margin-top: 0.8rem;
  background: var(--accent); color: var(--ink);
  font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 12px;
  border-radius: 100px; font-weight: 500;
}
.bc-1 .bc-title { font-size: 1.6rem; margin-bottom: 1rem; }
.bc-1 .bc-desc { font-size: 0.88rem; color: rgba(247,245,240,0.75); }

/* REALISATIONS */
.real-section {
  background: var(--paper); color: var(--ink);
  padding: 9rem 4rem;
}
.real-inner { max-width: 1400px; margin: 0 auto; }
.real-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 5rem; gap: 2rem; flex-wrap: wrap;
}
.real-label {
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--emerald);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.real-label::before { content: '04'; font-size: 0.6rem; }
.real-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; line-height: 1.1;
  color: var(--ink);
}
.real-heading em { font-style: italic; color: var(--emerald); }

.real-list { display: flex; flex-direction: column; }
.real-row {
  display: grid; grid-template-columns: 80px 1fr 200px 160px;
  align-items: center; gap: 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(10,15,12,0.08);
  transition: background 0.2s;
  border-radius: 4px;
}
.real-row:hover { background: rgba(10,15,12,0.03); padding-left: 1rem; padding-right: 1rem; }
.rr-num { font-family: 'Playfair Display', serif; font-size: 0.85rem; color: var(--emerald); font-weight: 700; }
.rr-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.rr-client { font-size: 0.78rem; color: var(--muted); }
.rr-type {
  font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(11,138,60,0.1);
  color: var(--emerald); padding: 5px 14px;
  border-radius: 100px; text-align: center;
}
.rr-period { font-size: 0.78rem; color: var(--muted); text-align: right; }

/* CONTACT */
.contact-section {
  padding: 9rem 4rem 5rem;
  max-width: 1400px; margin: 0 auto;
}
.contact-box {
  background: var(--sage);
  border-radius: 12px;
  padding: 6rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
  position: relative; overflow: hidden;
}
.contact-box::before {
  content: '';
  position: absolute; top: -30%; right: -5%;
  width: 50%; height: 160%;
  background: radial-gradient(ellipse, rgba(0,255,106,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.contact-label {
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.contact-label::before { content: '05'; font-size: 0.6rem; }
.contact-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 900;
  line-height: 1.1; margin-bottom: 2rem;
}
.contact-heading em { font-style: italic; color: var(--accent); }
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
.cd {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(247,245,240,0.06);
  border-radius: 6px; border: 1px solid rgba(247,245,240,0.08);
}
.cd-i { font-size: 1.1rem; }
.cd-v { font-size: 0.85rem; color: rgba(247,245,240,0.85); }
.cd-k { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.cf-field {
  background: rgba(247,245,240,0.06);
  border: 1px solid rgba(247,245,240,0.1);
  border-radius: 6px; padding: 1rem 1.4rem;
  font-size: 0.88rem; color: var(--paper);
  font-family: 'Poppins', sans-serif;
  outline: none; transition: border-color 0.2s;
}
.cf-field::placeholder { color: rgba(247,245,240,0.3); }
.cf-field:focus { border-color: var(--accent); }
.cf-field.textarea { resize: vertical; min-height: 120px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-btn {
  background: var(--accent); color: var(--ink);
  border: none; padding: 1rem 2.5rem;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  border-radius: 6px; cursor: none;
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
}
.cf-btn:hover { transform: scale(1.03); box-shadow: 0 0 32px rgba(0,255,106,0.35); }

/* FOOTER */
footer {
  padding: 3rem 4rem;
  border-top: 1px solid rgba(247,245,240,0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 900;
  letter-spacing: 0.03em;
}
footer p { font-size: 0.72rem; color: var(--muted); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.72rem; color: var(--muted); text-decoration: none; transition: color 0.2s; letter-spacing: 0.06em; }
.footer-links a:hover { color: var(--accent); }

/* SCROLL REVEAL */
.sr { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.sr.show { opacity: 1; transform: none; }
.sr-d1 { transition-delay: 0.1s; }
.sr-d2 { transition-delay: 0.2s; }
.sr-d3 { transition-delay: 0.3s; }

@media (max-width: 1024px) {
  .site-header { padding: 1.4rem 2rem; }
  .nav-menu { display: none; }
  .hero-inner { padding: 10rem 2rem 5rem; }
  .about { grid-template-columns: 1fr; padding: 6rem 2rem; gap: 4rem; }
  .services-section { padding: 6rem 2rem; }
  .services-cards { grid-template-columns: 1fr 1fr; }
  .bento-section { padding: 6rem 2rem; }
  .bento-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bc-1,.bc-2,.bc-3,.bc-4,.bc-5,.bc-6,.bc-7 { grid-column: auto; grid-row: auto; }
  .real-section { padding: 6rem 2rem; }
  .real-row { grid-template-columns: 60px 1fr; gap: 1rem; }
  .rr-type,.rr-period { display: none; }
  .contact-section { padding: 4rem 2rem; }
  .contact-box { grid-template-columns: 1fr; padding: 3rem 2rem; gap: 3rem; }
  footer { padding: 2rem; }
  .hero-title .line:nth-child(2) { padding-left: 2rem; }
}

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
  .site-header { padding: 1rem 1.2rem; }
  .nav-pill { padding: .5rem .9rem; font-size: .65rem; }
  .hero-title { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-bottom, .services-head { align-items: flex-start; }
  .hero-actions { align-items: flex-start; }
  .services-cards { grid-template-columns: 1fr; }
  .svc { border-right: none; border-bottom: 1px solid rgba(10,15,12,0.1); }
  .about-img-stack { height: 420px; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-heading { font-size: 2.2rem; }
  .footer-links { width: 100%; flex-wrap: wrap; gap: 1rem; }
}
