:root {
  --ink: #0E1013;
  --ink-2: #171A1F;
  --gold: #C59A3E;
  --gold-2: #E2C47F;
  --sand: #F3EEE3;
  --paper: #FBF9F4;
  --text: #1B1D21;
  --muted: #6B6E75;
  --line: #E4DED0;
  --radius: 14px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 640px; color: rgba(255,255,255,.82); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .95em 1.6em; border-radius: 999px; font: 700 .95rem var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: .2s; }
.btn-sm { padding: .6em 1.1em; font-size: .85rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2e35; }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-2); }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--gold); }
.link-arrow::after { content: ' →'; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled, .site-header.open { background: rgba(14,16,19,.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand .logo { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: #fff; }
.nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: .25s; }
.site-header.open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.site-header.open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 24px; background: rgba(14,16,19,.98); display: none; }
  .site-header.open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a[aria-current]::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .brand .logo { height: 32px; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,16,19,.92) 0%, rgba(14,16,19,.7) 50%, rgba(14,16,19,.35) 100%), linear-gradient(0deg, rgba(14,16,19,.7), transparent 40%); }
.hero-in { position: relative; padding: 140px 0 120px; }
.hero h1 { max-width: 820px; }
.hero h1, .page-hero h1 { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-proof { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,.12); background: rgba(14,16,19,.55); backdrop-filter: blur(6px); padding: 18px 0; font-size: .92rem; color: rgba(255,255,255,.8); }
.hero-proof a { color: var(--gold-2); font-weight: 700; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; box-shadow: 0 0 0 4px rgba(197,154,62,.25); }

.page-hero { position: relative; color: #fff; padding: 190px 0 100px; background: linear-gradient(90deg, rgba(14,16,19,.94), rgba(14,16,19,.65)), var(--bg) center/cover, var(--ink); }
.page-hero h1 { max-width: 880px; }
.page-hero .facts-inline { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 1.5rem; color: rgba(255,255,255,.8); font-size: .95rem; }

/* Sections */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .muted { color: rgba(255,255,255,.62); }
.section-sand { background: var(--sand); }
.section-head { margin-bottom: 48px; max-width: 680px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.row > div { max-width: 640px; }

.split-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.audience-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.audience-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.audience-card > div { padding: 30px 32px 34px; }

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.project-card { display: flex; flex-direction: column; text-decoration: none; background: #fff; color: var(--text); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
.pc-img { aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .pc-img img { transform: scale(1.05); }
.pc-body { padding: 24px 26px 28px; }
.pc-body h3 { color: var(--text) !important; margin-top: .6rem; }
.pc-meta { color: var(--muted); font-size: .9rem; font-weight: 600; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag-live { background: #FBF1DC; color: #8A6417; }
.tag-done { background: #E7EEE8; color: #2F6A3F; }
.empty { color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { padding: 28px 26px; border-top: 2px solid var(--gold); background: #fff; border-radius: 0 0 var(--radius) var(--radius); }
.section-sand .steps li { background: var(--paper); }
.step-n { font-family: var(--serif); font-size: 2rem; color: var(--gold); display: block; margin-bottom: .6rem; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.feature-img img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--radius); }
.ticks { list-style: none; padding: 0; margin: 0 0 2rem; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 1.1rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230E1013' stroke-width='3'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks.small li { margin-bottom: .6rem; }

.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector { min-height: 340px; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(0deg, rgba(14,16,19,.92) 10%, rgba(14,16,19,.1) 70%), var(--bg) center/cover; }
.sector h3 { color: #fff; }
.sector p { color: rgba(255,255,255,.78); font-size: .93rem; margin: 0; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillars article { background: var(--paper); padding: 36px 32px; border-radius: var(--radius); }
.pillar-n { display: inline-block; font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.values > div { padding: 32px 32px 0 0; }
.values h3 { font-size: 1.6rem; }

.services { display: grid; gap: clamp(60px, 8vw, 110px); }
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.service.reverse > :first-child { order: 2; }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.cta-band { background: var(--ink); color: #fff; padding: 70px 0; border-top: 4px solid var(--gold); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-in h2 { color: #fff; margin-bottom: .3em; }
.cta-in p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Project detail */
.project-layout { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.prose { font-size: 1.07rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.facts { background: var(--sand); border-radius: var(--radius); padding: 28px; position: sticky; top: 110px; }
.facts dl { margin: 0 0 24px; }
.facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 16px; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 30px; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(8,9,11,.92); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lb-close, .lb-nav { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; }
.lb-next { right: 20px; top: 50%; }
.back-link { color: rgba(255,255,255,.7); text-decoration: none; font-weight: 600; font-size: .9rem; display: inline-block; margin-bottom: 1.5rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-bottom: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-side { display: grid; gap: 20px; align-content: start; }
.big-link { font-family: var(--serif); font-size: 1.8rem; text-decoration: none; color: var(--text); display: block; margin-bottom: .3rem; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
.form input:not([type=radio]), .form textarea, .form select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: var(--paper); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--gold); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.seg label { margin: 0; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--gold); background: #FBF1DC; }
.seg input { accent-color: var(--gold); margin-right: 6px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 12px 0 0; font-weight: 600; }
.map { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }

/* Footer */
.site-footer { background: #08090B; color: rgba(255,255,255,.75); padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-grid img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-grid h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
.footer-grid a { display: block; text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-grid .muted { color: rgba(255,255,255,.5); }
.footer-phone { font-family: var(--serif); font-size: 1.4rem; color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; font-size: .85rem; color: rgba(255,255,255,.45); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 1000px) {
  .steps, .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-layout { grid-template-columns: 1fr; }
  .facts { position: static; }
}
@media (max-width: 760px) {
  .split-cards, .feature, .service, .pillars, .values, .faq-wrap, .contact-grid, .form .two { grid-template-columns: 1fr; }
  .service.reverse > :first-child { order: 0; }
  .steps, .sector-grid, .footer-grid { grid-template-columns: 1fr; }
  .sector { min-height: 260px; }
  .values > div { padding-right: 0; }
  .hero-in { padding: 120px 0 140px; }
  .card { padding: 24px; }
  .project-grid { grid-template-columns: 1fr; }
}
