:root {
  --ink: #11120f;
  --ink-soft: #20211d;
  --paper: #f1f0e9;
  --paper-deep: #e7e6de;
  --white: #fff;
  --accent: #dfff00;
  --muted: #a6a79f;
  --line: rgba(17, 18, 15, .16);
  --pad: clamp(1.25rem, 4vw, 5rem);
  --font-display: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img, video { display: block; max-width: 100%; }
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--accent); padding: .8rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute; z-index: 50; top: 0; left: 0; width: 100%;
  height: 92px; padding: 0 var(--pad); display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.2); color: var(--white);
}
.brand { width: 150px; height: 70px; display: flex; align-items: center; }
.brand img { width: 145px; }
.desktop-nav { display: flex; gap: clamp(1.2rem, 2.5vw, 2.8rem); margin-left: auto; margin-right: clamp(1.3rem, 3vw, 3.5rem); }
.desktop-nav a { font-size: .82rem; font-weight: 600; letter-spacing: .02em; position: relative; }
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -.5rem; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s;
}
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta {
  display: inline-flex; align-items: center; gap: 2.5rem; background: var(--accent); color: var(--ink);
  padding: .85rem 1rem; font-weight: 800; font-size: .82rem;
}
.menu-toggle { display: none; background: none; border: 0; padding: .7rem 0 .7rem 1rem; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--white); margin: 6px 0; transition: .3s; }
.mobile-menu { display: none; }

.hero { position: relative; min-height: 810px; height: 100svh; color: var(--white); overflow: hidden; }
.hero-media, .hero-shade, .hero-grid { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(8,9,7,.92) 0%, rgba(8,9,7,.7) 42%, rgba(8,9,7,.18) 78%), linear-gradient(0deg, rgba(8,9,7,.55), transparent 55%); }
.hero-grid {
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 11vw 11vw; mask-image: linear-gradient(to right, #000, transparent 72%);
}
.hero-content { position: absolute; z-index: 2; left: var(--pad); bottom: clamp(7rem, 13vh, 9rem); max-width: 840px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .73rem; font-weight: 700; display: flex; align-items: center; gap: .8rem; margin: 0 0 1.8rem; }
.eyebrow span { width: 34px; height: 3px; background: var(--accent); }
.hero h1, .section h2, .section-dark h2, .custom-content h2, .contact h2 {
  font-family: var(--font-display); letter-spacing: -.055em; margin: 0; line-height: .98;
}
.hero h1 { font-size: clamp(3.4rem, 7.7vw, 8rem); max-width: 900px; }
.hero h1 em, .contact h2 em { display: block; color: var(--accent); font-style: normal; }
.hero-copy { max-width: 600px; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.65; margin: 1.8rem 0 2.1rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.button { min-height: 54px; padding: 0 1.2rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 2.2rem; border: 1px solid transparent; font-size: .83rem; font-weight: 800; transition: .25s; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--white); transform: translateY(-2px); }
.button-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.hero-note {
  position: absolute; z-index: 2; right: var(--pad); bottom: 7.2rem; display: flex; flex-direction: column;
  padding: 1rem 0 1rem 1.2rem; border-left: 3px solid var(--accent); text-align: left;
}
.hero-note strong { font-family: var(--font-display); font-size: 1rem; }
.hero-note span { color: rgba(255,255,255,.6); font-size: .76rem; margin-top: .3rem; }
.scroll-cue {
  position: absolute; z-index: 2; right: var(--pad); bottom: 2rem; display: flex; align-items: center; gap: .7rem;
  text-transform: uppercase; letter-spacing: .18em; font-size: .58rem; color: rgba(255,255,255,.6);
}
.scroll-cue span { width: 35px; height: 1px; background: var(--white); }

.section { padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.section-tag { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #5f605a; }
.section-tag.light { color: #878880; }
.statement { display: grid; grid-template-columns: .7fr 2.3fr 1fr; gap: 3rem; border-bottom: 1px solid var(--line); }
.statement-copy .kicker { margin: 0 0 1rem; font-size: .83rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.statement h2 { font-size: clamp(2.3rem, 4.6vw, 5rem); }
.statement h2 span, .projects h2 span, .process h2 span, .about h2 span { color: #96978f; }
.statement-aside { align-self: end; }
.statement-aside p { color: #62635d; line-height: 1.75; font-size: .95rem; }
.text-link { display: inline-flex; gap: 2rem; border-bottom: 1px solid var(--ink); padding: 0 0 .5rem; margin-top: 1rem; font-weight: 700; font-size: .84rem; }

.section-dark { background: var(--ink); color: var(--white); padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 4rem; }
.section-heading h2 { font-size: clamp(3rem, 6vw, 6.2rem); margin-top: 1.5rem; }
.section-heading h2 span { color: var(--accent); }
.section-heading > p { width: 320px; color: var(--muted); line-height: 1.7; }
.service-list { border-top: 1px solid rgba(255,255,255,.16); }
.service-item {
  display: grid; grid-template-columns: 60px 92px 1fr 40px; gap: 1.5rem; align-items: center;
  padding: 2.1rem 0; border-bottom: 1px solid rgba(255,255,255,.16); transition: padding .3s, background .3s;
}
.service-item:hover { padding-left: 1rem; background: rgba(255,255,255,.025); }
.service-number { font-size: .64rem; color: var(--accent); }
.service-icon { width: 64px; color: var(--accent); }
.service-icon svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.service-item h3 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 2.15rem); margin: 0 0 .35rem; }
.service-item p { color: #989991; margin: 0; line-height: 1.5; font-size: .88rem; }
.service-arrow { justify-self: end; color: var(--accent); font-size: 1.35rem; }

.projects-top { display: flex; justify-content: space-between; align-items: end; margin-bottom: 3.5rem; }
.projects h2, .process h2, .about h2 { font-size: clamp(3rem, 6vw, 6rem); margin-top: 1.5rem; }
.project-filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.project-filters button { border: 1px solid var(--line); background: transparent; padding: .7rem 1rem; cursor: pointer; font-size: .75rem; }
.project-filters button.active { background: var(--ink); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 310px; gap: 1rem; }
.project-card {
  grid-column: span 4; position: relative; border: 0; padding: 0; overflow: hidden; cursor: pointer; color: var(--white); text-align: left;
  transition: opacity .3s, transform .3s;
}
.project-card.project-large { grid-column: span 7; grid-row: span 2; }
.project-card.project-wide { grid-column: span 5; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.project-card:hover img { transform: scale(1.045); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.77), transparent 60%); }
.project-meta { position: absolute; left: 1.5rem; bottom: 1.5rem; display: flex; flex-direction: column; gap: .45rem; }
.project-meta small { text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-size: .6rem; }
.project-meta strong { font-family: var(--font-display); font-size: 1.15rem; }
.open-project {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.6); font-size: 1.2rem; transition: .25s;
}
.project-card:hover .open-project { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: rotate(90deg); }
.project-card.hidden { display: none; }

.custom-project { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 700px; background: var(--ink-soft); color: var(--white); }
.custom-media { position: relative; overflow: hidden; }
.custom-media video { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.custom-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--ink-soft)); }
.video-mark { position: absolute; left: 2rem; bottom: 2rem; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: .85; color: var(--accent); }
.custom-content { padding: clamp(4rem, 8vw, 8rem); align-self: center; }
.custom-kicker { color: var(--accent); font-weight: 700; margin: 3rem 0 .8rem; }
.custom-content h2 { font-size: clamp(2.8rem, 5vw, 5.5rem); }
.custom-content > p:not(.custom-kicker) { color: #a6a79f; line-height: 1.8; margin: 2rem 0; max-width: 560px; }

.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; }
.process-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.process-steps article { border-top: 1px solid var(--line); padding: 2rem 1.5rem 3.5rem 0; }
.process-steps article:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 2rem; }
.process-steps article:nth-child(even) { padding-left: 2rem; }
.process-steps span { color: #999a93; font-size: .67rem; }
.process-steps h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 2rem 0 .7rem; }
.process-steps p { color: #686961; line-height: 1.65; font-size: .88rem; }

.about { background: var(--paper-deep); display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; }
.about-image { position: relative; height: 690px; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; right: -1.5rem; bottom: 2rem; width: 145px; height: 145px; padding: 1.1rem;
  background: var(--accent); display: flex; flex-direction: column; justify-content: end;
}
.about-badge strong { font-family: var(--font-display); font-size: 1.4rem; }
.about-badge span { font-size: .7rem; margin-top: .3rem; }
.about-copy > p { color: #62635c; line-height: 1.8; max-width: 600px; }
.about-points { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.about-points span { border: 1px solid var(--line); padding: .65rem .8rem; font-size: .72rem; font-weight: 600; }

.location-section {
  display: grid; grid-template-columns: 1.15fr .85fr; min-height: 680px;
  background: var(--ink); color: var(--white);
}
.location-map { min-height: 680px; filter: grayscale(1) contrast(1.05); }
.location-map iframe { width: 100%; height: 100%; min-height: 680px; border: 0; }
.location-details { padding: clamp(4rem, 7vw, 7rem); align-self: center; }
.location-details h2 {
  margin: 1.5rem 0 3rem; font-family: var(--font-display); font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: .98; letter-spacing: -.055em;
}
.location-details h2 span { color: var(--accent); }
.contact-detail-list { border-top: 1px solid rgba(255,255,255,.16); }
.contact-detail {
  display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.16);
}
.contact-detail small {
  color: #888981; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.contact-detail > a, .contact-detail > span { font-family: var(--font-display); font-size: 1rem; line-height: 1.6; }
.contact-detail a > span {
  display: block; color: var(--accent); font-family: var(--font-body); font-size: .7rem; margin-top: .45rem;
}
.contact-email > a { color: var(--accent); }
.location-actions { display: flex; gap: .7rem; margin-top: 2rem; flex-wrap: wrap; }
.button-location-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.button-location-ghost:hover { border-color: var(--white); }

.contact { position: relative; overflow: hidden; background: var(--accent); min-height: 570px; display: grid; place-items: center; padding: 5rem var(--pad); text-align: center; }
.contact-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(var(--ink) 1px, transparent 1px), linear-gradient(90deg, var(--ink) 1px, transparent 1px); background-size: 90px 90px; transform: perspective(500px) rotateX(58deg) scale(1.8); transform-origin: bottom; }
.contact-content { position: relative; }
.contact-content > p { text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; font-weight: 800; }
.contact h2 { font-size: clamp(4rem, 8vw, 8rem); }
.contact h2 em { color: var(--ink); }
.contact-actions { margin-top: 2.6rem; display: flex; align-items: center; justify-content: center; gap: 2rem; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { transform: translateY(-2px); }
.contact-phone { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: .3rem; }

footer { background: var(--ink); color: var(--white); padding: 4rem var(--pad) 1.5rem; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr .7fr 1fr; gap: 3rem; align-items: start; }
.footer-main > img { width: 155px; }
.footer-main p { color: #92938c; line-height: 1.6; margin: .5rem 0 0; }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: .9rem; font-size: .8rem; }
.footer-social a { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 4rem; padding-top: 1.4rem; display: flex; justify-content: space-between; color: #74756f; font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
.whatsapp-float {
  position: fixed; z-index: 40; right: 1.4rem; bottom: 1.4rem; width: 55px; height: 55px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: .25s;
}
.whatsapp-float:hover { transform: translateY(-4px); }
.whatsapp-float svg { width: 28px; fill: var(--ink); }
.lightbox { width: min(1000px, 92vw); padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { max-height: 86vh; width: 100%; object-fit: contain; }
.lightbox-close { position: absolute; right: 0; top: -45px; background: none; color: #fff; border: 0; font-size: 2rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; z-index: 61; }
  .menu-toggle.active span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; z-index: 60; inset: 0; background: var(--ink); color: var(--white); padding: 8rem var(--pad) 3rem;
    flex-direction: column; justify-content: center; gap: 1.5rem;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-family: var(--font-display); font-size: clamp(2rem, 8vw, 4rem); font-weight: 700; }
  .statement { grid-template-columns: 1fr; }
  .statement-copy { max-width: 760px; }
  .statement-aside { max-width: 580px; }
  .project-card { grid-column: span 5; }
  .project-card.project-large { grid-column: span 7; }
  .project-card.project-wide { grid-column: span 5; }
  .custom-project { grid-template-columns: 1fr; }
  .custom-media { min-height: 520px; }
  .custom-media::after { background: linear-gradient(0deg, var(--ink-soft), transparent 50%); }
  .process { grid-template-columns: 1fr; }
  .about { gap: 5vw; }
  .about-image { height: 580px; }
  .location-section { grid-template-columns: 1fr; }
  .location-map, .location-map iframe { min-height: 520px; }
}

@media (max-width: 700px) {
  .site-header { height: 76px; }
  .brand, .brand img { width: 125px; }
  .hero { min-height: 720px; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,9,7,.91) 0%, rgba(8,9,7,.48) 78%); }
  .hero-grid { background-size: 25vw 25vw; }
  .hero-content { bottom: 5rem; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5.4rem); }
  .hero-copy { line-height: 1.5; margin: 1.4rem 0; }
  .hero-note, .scroll-cue { display: none; }
  .hero-actions { gap: .5rem; }
  .button { min-height: 50px; gap: 1.2rem; }
  .section-heading, .projects-top { align-items: start; flex-direction: column; gap: 2rem; }
  .section-heading > p { width: auto; }
  .service-item { grid-template-columns: 32px 48px 1fr; gap: .8rem; }
  .service-icon { width: 43px; }
  .service-arrow { display: none; }
  .service-item p { font-size: .8rem; }
  .project-grid { display: flex; flex-direction: column; }
  .project-card, .project-card.project-large, .project-card.project-wide { min-height: 420px; width: 100%; }
  .custom-media { min-height: 430px; }
  .custom-content { padding: 4rem var(--pad) 5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps article:nth-child(odd) { border-right: 0; padding-right: 0; }
  .process-steps article:nth-child(even) { padding-left: 0; }
  .about { grid-template-columns: 1fr; }
  .about-image { height: 470px; }
  .about-badge { right: 1rem; width: 125px; height: 125px; }
  .location-map, .location-map iframe { min-height: 430px; }
  .location-details { padding: 4rem var(--pad); }
  .contact-detail { grid-template-columns: 70px 1fr; gap: 1rem; }
  .contact { min-height: 500px; }
  .contact-actions { flex-direction: column; gap: 1.2rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > img, .footer-main > p { grid-column: span 2; }
  .footer-bottom { gap: 1rem; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
