:root {
  --bg: #0a1220;
  --bg-soft: #101d30;
  --card: #122239;
  --gold: #d5ad68;
  --gold-bright: #f0c878;
  --text: #f5f2eb;
  --muted: #aab5c4;
  --line: rgba(255,255,255,.12);
  --header: rgba(10,18,32,.88);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background .35s, color .35s;
}

body.light-theme {
  --bg: #f3f1eb;
  --bg-soft: #e8e5dc;
  --card: #fff;
  --text: #172438;
  --muted: #667184;
  --line: rgba(20,35,55,.15);
  --header: rgba(243,241,235,.92);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: #101827;
}

.scroll-progress {
  position: fixed;
  z-index: 500;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* Header */

.header {
  height: 82px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--header);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -2px;
}

.logo span {
  color: var(--gold);
}

.header nav {
  display: flex;
  align-items: center;
  gap: 29px;
}

.header nav a {
  position: relative;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  transition: color .3s;
}

.header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s;
}

.header nav a:hover,
.header nav a.active {
  color: var(--gold);
}

.header nav a:hover::after,
.header nav a.active::after {
  width: 100%;
}

.header nav .nav-contact {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 11px 18px;
}

.header nav .nav-contact::after {
  display: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  font-size: 20px;
}

/* Hero */

.hero {
  min-height: 710px;
  padding: 100px 12% 90px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 55px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(37,69,101,.27), transparent 45%),
    linear-gradient(120deg, var(--bg), #101e32 75%, var(--bg));
}

body.light-theme .hero {
  background:
    radial-gradient(ellipse at 80% 40%, rgba(201,164,92,.16), transparent 45%),
    linear-gradient(120deg, var(--bg), #e7e4dc 75%, var(--bg));
}

.hero::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(213,173,104,.12);
  border-radius: 50%;
  right: -260px;
  top: -100px;
  animation: slowRotate 35s linear infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.orb-one {
  width: 280px;
  height: 280px;
  background: rgba(213,173,104,.06);
  top: 10%;
  left: -150px;
}

.orb-two {
  width: 190px;
  height: 190px;
  background: rgba(53,110,160,.1);
  bottom: 0;
  right: 30%;
  filter: blur(45px);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #78c99b;
  box-shadow: 0 0 12px #78c99b;
  animation: pulse 2s infinite;
}

.hero h1,
.section h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(55px, 6.3vw, 88px);
}

.gold-text {
  color: var(--gold);
}

.hero-description {
  max-width: 475px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 27px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  padding: 15px 23px;
  font-size: 11px;
  font-weight: 700;
  transition: transform .3s, background .3s, color .3s;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn-gold {
  background: var(--gold);
  color: #101827;
}

.btn-gold:hover {
  background: var(--gold-bright);
  box-shadow: 0 10px 35px rgba(213,173,104,.2);
}

.text-link {
  color: var(--muted);
  font-size: 12px;
  transition: color .3s;
}

.text-link:hover {
  color: var(--gold);
}

.hero-location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 72px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2px;
}

.hero-location i {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-visual {
  width: 100%;
  max-width: 390px;
  justify-self: center;
}

.portrait-glow {
  position: absolute;
  inset: 10% -10%;
  background: rgba(213,173,104,.13);
  filter: blur(70px);
  border-radius: 50%;
}

.portrait-frame {
  height: 490px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(213,173,104,.55);
  background: linear-gradient(145deg, #243b53, #101827);
  box-shadow: 0 25px 80px rgba(0,0,0,.32);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .8s;
}

.portrait-frame:hover img {
  transform: scale(1.045);
}

.portrait-fallback {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: radial-gradient(circle, rgba(213,173,104,.2), transparent 65%);
}

.portrait-fallback span {
  font-family: "Manrope", sans-serif;
  font-size: 120px;
  font-weight: 800;
  color: var(--gold);
}

.portrait-fallback small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 3px;
}

.portrait-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 48px 25px 23px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: linear-gradient(transparent, rgba(0,0,0,.86));
  color: white;
  font-size: 10px;
  letter-spacing: 2px;
}

.portrait-caption small {
  color: #d6d6d6;
  font-size: 10px;
  letter-spacing: .5px;
}

.floating-note {
  position: absolute;
  right: -45px;
  bottom: 65px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  background: var(--gold);
  color: #172438;
  font-size: 11px;
  line-height: 1.7;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  animation: float 4s ease-in-out infinite;
}

.note-symbol {
  font-size: 22px;
  margin-bottom: 5px;
}

.portrait-index {
  margin-top: 16px;
  text-align: right;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 2px;
}

.hero-bottom-line {
  position: absolute;
  bottom: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .35;
}

/* Sections */

.section {
  padding: 115px 12%;
  border-top: 1px solid var(--line);
}

.section-label {
  margin-bottom: 58px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.section-heading {
  margin-bottom: 55px;
}

.section h2 {
  font-size: clamp(38px, 5vw, 62px);
  margin-bottom: 22px;
}

.section-intro {
  color: var(--muted);
  font-size: 14px;
  max-width: 560px;
}

.about {
  background: var(--bg);
}

.about-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

.about-heading h2 {
  font-size: clamp(40px, 4.8vw, 58px);
}

.about-copy {
  max-width: 670px;
}

.about-copy p {
  margin-bottom: 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.underlined-link {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
}

.underlined-link span {
  margin-left: 12px;
}

/* Highlights */

.highlights {
  padding: 55px 12%;
  background: var(--bg-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.stat-card {
  padding: 27px 20px;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform .35s, border-color .35s;
}

.stat-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold);
}

.stat-number {
  display: block;
  color: var(--gold);
  font-family: "Manrope", sans-serif;
  font-size: 42px;
  font-weight: 800;
}

.stat-card p {
  color: var(--muted);
  font-size: 11px;
}

/* Expertise */

.expertise,
.projects {
  background: var(--bg-soft);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.expertise-card {
  position: relative;
  min-height: 320px;
  padding: 34px 27px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}

.expertise-card:hover {
  transform: translateY(-9px);
  border-color: var(--gold);
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

.card-number {
  position: absolute;
  top: 25px;
  right: 25px;
  color: var(--muted);
  font-size: 10px;
}

.card-icon {
  margin-bottom: 25px;
  color: var(--gold);
  font-size: 35px;
}

.expertise-card h3,
.project-info h3,
.timeline-content h3 {
  margin-bottom: 13px;
  font-family: "Manrope", sans-serif;
  font-size: 19px;
}

.expertise-card p,
.project-info > p:not(.eyebrow),
.timeline-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.tags,
.business-services {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.tags span {
  padding: 5px 8px;
  border: 1px solid rgba(213,173,104,.3);
  color: var(--gold);
  font-size: 9px;
}

/* Journey */

.experience {
  background: var(--bg);
}

.timeline {
  max-width: 820px;
  margin-left: 20px;
  border-left: 1px solid rgba(213,173,104,.5);
}

.timeline-item {
  position: relative;
  padding: 0 0 45px 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -7px;
  top: 4px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.timeline-content {
  padding: 29px;
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color .3s, transform .3s;
}

.timeline-content:hover {
  border-color: var(--gold);
  transform: translateX(5px);
}

.timeline-label {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 2px;
}

/* Projects */

.project-list {
  display: grid;
  gap: 27px;
}

.project-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 45px;
  align-items: center;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.project-art {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #263e58, #111e31);
  border: 1px solid var(--line);
  transition: transform .4s, border-color .4s;
}

.project-card:hover .project-art {
  transform: scale(1.025);
  border-color: var(--gold);
}

.project-art span {
  color: var(--gold);
  font-family: "Manrope", sans-serif;
  font-size: 78px;
  font-weight: 800;
  letter-spacing: -7px;
}

.project-art small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 3px;
}

.art-two {
  background: linear-gradient(135deg, #37313d, #17263a);
}

.art-three {
  background: linear-gradient(135deg, #2c4544, #132538);
}

.art-four {
  background: linear-gradient(135deg, #4b3e2b, #172438);
}

.project-info .eyebrow {
  margin-bottom: 12px;
}

.project-info h3 {
  font-size: 25px;
}

.project-status {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 1.5px;
}

/* Business */

.business {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
  background: var(--gold);
  color: #172438;
}

.business .eyebrow {
  color: #624b25;
}

.business h2 {
  color: #172438;
}

.business h2 span {
  color: #715523;
}

.business-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.9;
}

.business-services {
  margin: 25px 0 30px;
}

.business-services span {
  padding: 7px 10px;
  border: 1px solid rgba(23,36,56,.4);
  font-size: 9px;
  font-weight: 700;
}

.btn-dark {
  background: #172438;
  color: white;
}

.btn-dark:hover {
  background: white;
  color: #172438;
}

.business-mark {
  padding: 55px 25px;
  text-align: center;
  border: 1px solid rgba(23,36,56,.4);
}

.zubhex-symbol {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 115px;
  font-weight: 800;
  line-height: 1;
}

.business-mark h3 {
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  letter-spacing: 3px;
}

.business-mark h3 span {
  display: block;
  font-size: 11px;
  letter-spacing: 6px;
}

.business-mark p {
  margin-top: 22px;
  font-size: 9px;
  letter-spacing: 3px;
}

/* CV */

.cv-section {
  background: var(--bg-soft);
}

.cv-content {
  max-width: 750px;
  margin: auto;
}

.cv-content > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
}

.cv-content small {
  display: block;
  margin-top: 15px;
  color: var(--muted);
  font-size: 10px;
}

/* Contact */

.contact {
  background: var(--bg);
}

.contact-content {
  max-width: 850px;
  margin: auto;
}

.contact-content > div > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.contact-links a {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(213,173,104,.3);
  color: var(--gold);
  font-size: 13px;
  transition: opacity .3s;
}

.contact-links a:hover {
  opacity: .7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
  padding: 35px;
  border: 1px solid var(--line);
  background: var(--card);
}

.contact-form h3 {
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 23px;
}

.contact-form label {
  color: var(--muted);
  font-size: 11px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  outline: none;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  resize: vertical;
  transition: border-color .3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form button {
  align-self: flex-start;
  margin-top: 10px;
}

.form-note {
  color: var(--muted);
  font-size: 10px;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer and floating buttons */

.footer {
  min-height: 105px;
  padding: 25px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer p,
.footer > a:last-child {
  color: var(--muted);
  font-size: 10px;
}

.footer > a:last-child {
  letter-spacing: 1px;
}

.theme-toggle,
.floating-whatsapp {
  position: fixed;
  right: 23px;
  z-index: 180;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
}

.theme-toggle {
  bottom: 87px;
  border: 1px solid var(--gold);
  background: var(--card);
  color: var(--gold);
  font-size: 21px;
}

.floating-whatsapp {
  bottom: 25px;
  background: #168d58;
  color: white;
  font-weight: 800;
  transition: transform .3s;
}

.floating-whatsapp:hover {
  transform: scale(1.12);
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s ease, transform .85s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(120,201,155,.5); }
  50% { box-shadow: 0 0 0 7px rgba(120,201,155,0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive */

@media (max-width: 1050px) {
  .header { padding: 0 6%; }
  .header nav { gap: 17px; }
  .header nav a { font-size: 10px; }
  .hero { padding-left: 7%; padding-right: 7%; }
  .section { padding-left: 7%; padding-right: 7%; }
  .highlights { padding-left: 7%; padding-right: 7%; }
  .floating-note { right: -20px; }
}

@media (max-width: 760px) {
  .header {
    height: 72px;
    padding: 0 6%;
  }

  .menu-toggle { display: block; }

  .header nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 25px 7%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
  }

  .header nav.open { display: flex; }
  .header nav a { font-size: 13px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 75px 7% 85px;
    gap: 50px;
  }

  .hero h1 { font-size: clamp(52px, 12vw, 70px); }
  .hero-description { font-size: 14px; }
  .hero-location { margin-top: 45px; line-height: 2; }
  .hero-visual { max-width: 340px; }
  .portrait-frame { height: 420px; }
  .floating-note { right: -10px; bottom: 50px; }

  .section { padding: 82px 7%; }
  .section-label { margin-bottom: 38px; }
  .section h2 { letter-spacing: -2px; }
  .about-layout { grid-template-columns: 1fr; gap: 28px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: auto; }

  .project-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-art { min-height: 190px; }

  .business {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form { padding: 23px; }
  .footer {
    flex-direction: column;
    text-align: center;
    padding: 35px 7%;
  }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 49px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .stats-grid { gap: 9px; }
  .stat-card { padding: 20px 14px; }
  .stat-number { font-size: 34px; }
  .floating-note { padding: 13px 15px; font-size: 9px; }
  .portrait-frame { height: 370px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}