:root {
  --bg: #fff;
  --ink: #080808;
  --muted: #686868;
  --line: rgba(0,0,0,.12);
  --dark: #050505;
  --light-line: rgba(255,255,255,.16);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 6vw, 110px);
  border-bottom: 1px solid transparent;
  transition: .35s ease;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(245,245,242,.82);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.site-header.hero-dark { color: #fff; }
.site-header.hero-dark .desktop-nav .nav-cta { border-color: rgba(255,255,255,.55); }
.site-header.hero-dark .desktop-nav .nav-cta:hover { background: #fff; color: var(--dark); border-color: #fff; }
.site-header.hero-dark .menu-btn span { background: #fff; }
.site-header.hero-dark.scrolled { background: rgba(5,5,5,.88); border-bottom-color: rgba(255,255,255,.1); }
.logo { font-size: 26px; font-weight: 800; letter-spacing: -.06em; }
.desktop-nav { display: flex; gap: 42px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; align-items: center; }
.desktop-nav a { opacity: .72; }
.desktop-nav a:hover { opacity: 1; }
.desktop-nav a[aria-current="page"] { opacity: 1; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.desktop-nav .nav-cta { opacity: 1; border: 1.5px solid var(--ink); padding: 6px 16px; font-weight: 700; transition: background .2s, color .2s; }
.desktop-nav .nav-cta:hover { background: var(--ink); color: var(--bg); border-bottom: none; }
.desktop-nav .nav-cta[aria-current="page"] { border-bottom: none; }
.menu-btn {
  width: 36px; height: 36px; border: 0; background: transparent;
  display: grid; grid-template-columns: repeat(2, 5px); gap: 5px; place-content: center; cursor: pointer;
}
.menu-btn span { width: 5px; height: 5px; background: var(--ink); border-radius: 50%; }
.mobile-menu {
  position: fixed; z-index: 90; inset: 0; background: #050505; color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 40px;
  transform: translateY(-100%); transition: transform .45s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-size: clamp(38px, 10vw, 90px); font-weight: 700; letter-spacing: -.06em; }
.mobile-menu a[aria-current="page"] { opacity: .25; pointer-events: none; }

.section-grid { display: grid; grid-template-columns: 90px minmax(0,1fr) minmax(360px,1fr); max-width: 100%; margin: 0 auto; }
.hero { min-height: 100vh; padding: 150px clamp(24px, 6vw, 80px) 70px; align-items: center; position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.hero .eyebrow { color: rgba(255,255,255,.55); }
.hero .hero-text { color: rgba(255,255,255,.65); }
.hero .text-link { color: #fff; }
.side-label { writing-mode: vertical-rl; transform: rotate(180deg); align-self: end; font-size: 11px; text-transform: uppercase; color: rgba(255,255,255,.3); letter-spacing: .08em; }
.eyebrow { margin: 0 0 28px; font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: .05em; }
.hero h1 { font-size: clamp(36px, 5.5vw, 86px); line-height: .92; letter-spacing: -.06em; margin: 0; max-width: 820px; }
.word-cycle { display: inline; white-space: nowrap; }
.word-cycle::after { content: '|'; display: inline-block; margin-left: 2px; font-weight: 400; animation: cursor-blink .75s step-end infinite; }
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-text { margin: 34px 0 42px; max-width: 460px; font-size: 18px; line-height: 1.45; color: #242424; }
.text-link { display: inline-flex; gap: 18px; align-items: center; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.text-link span { font-size: 22px; transition: transform .25s; }
.text-link:hover span { transform: translateX(8px); }
.text-link.light { color: #fff; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; align-self: center; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual.hero-clients { height: auto; display: flex; flex-wrap: wrap; align-self: center; align-content: center; align-items: center; justify-content: center; padding: 0; }
.hero-client-item { flex: 0 0 33.33%; display: grid; place-items: center; padding: 28px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-client-item:nth-child(3n) { border-right: 0; }
.hero-client-item:nth-child(-n+3) { border-top: 1px solid var(--line); }
.hero-client-item:last-child { border-bottom: 0; }.blueprint { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(115deg, transparent 0 42%, rgba(0,0,0,.18) 42% 42.4%, transparent 42.4%), linear-gradient(165deg, transparent 0 58%, rgba(0,0,0,.12) 58% 58.35%, transparent 58.35%), linear-gradient(rgba(0,0,0,.08) 1px, transparent 1px); background-size: 100% 100%, 100% 100%, 42px 42px; }
.window { position: absolute; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 35px 80px rgba(0,0,0,.18); transform: rotate(-8deg); }
.window-light { width: 460px; height: 290px; right: 130px; top: 70px; background: rgba(255,255,255,.78); backdrop-filter: blur(8px); }
.window-dark { width: 430px; height: 230px; right: 0; bottom: 85px; background: #080808; color: #fff; padding: 48px; }
.window-dark small { color: #aaa; text-transform: uppercase; font-size: 10px; }
.window-dark h3 { font-size: 34px; margin: 20px 0 8px; }
.window-dark p { color: #bdbdbd; }
.window-bar { height: 36px; border-bottom: 1px solid var(--line); display: flex; gap: 7px; align-items: center; padding-left: 14px; }
.window-bar i { width: 7px; height: 7px; background: #bbb; border-radius: 50%; }
.wireframe { padding: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wireframe span { height: 36px; border: 1px solid rgba(0,0,0,.15); background: rgba(255,255,255,.35); }

.client-strip { min-height: 86px; border-top: 0px solid var(--line); border-bottom: 0px solid var(--line); display: flex; align-items: center; overflow-x: auto; overflow-y: hidden; white-space: nowrap; text-align: center; text-transform: uppercase; font-size: 14px; }
.client-strip > * { flex: 0 0 200px; padding: 30px 18px; border-right: 0px solid var(--line); }
.client-strip span { font-size: 11px; font-weight: 700; }
.client-logo-item { display: grid; place-items: center; }
.client-strip a { display: grid; place-items: center; }
.client-logo {
    max-width: 140px;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0);
    opacity: .9;
}

.client-strip a:hover .client-logo {
    filter: brightness(0);
    opacity: 1;
}

.dark-section { background: var(--dark); color: #fff; }
.about { min-height: 420px; padding: 70px clamp(24px, 6vw, 80px); align-items: center; }
.portrait { grid-column: 2; width: min(360px, 100%); height: 300px; background: linear-gradient(140deg,#222,#0b0b0b); position: relative; overflow: hidden; }
.portrait-shape { position: absolute; width: 190px; height: 260px; background: linear-gradient(#777,#111); border-radius: 42% 42% 0 0; left: 86px; bottom: -20px; filter: grayscale(1); opacity: .72; }
.about-copy { grid-column: 3; max-width: 560px; }
.about-copy h2, .footer h2 { font-size: clamp(42px, 6vw, 96px); line-height: .92; letter-spacing: -.07em; margin: 0 0 28px; }
.about-copy p { color: #d0d0d0; font-size: 20px; line-height: 1.4; }
.symbol { font-size: 260px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.28); line-height: .75; text-align: right; }

.section-pad { padding: 75px clamp(24px, 6vw, 80px); max-width: var(--max); margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 38px; }
.project-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; }
.project-images { display: grid; gap: 20px; }
.project-card { min-height: 220px; padding: 42px; display: flex; align-items: flex-end; overflow: hidden; position: relative; }
.project-card:before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 75% 30%, rgba(255,255,255,.28), transparent 34%); }
.project-card > div { position: relative; z-index: 1; }
.project-card h3 { font-size: 34px; margin: 0 0 10px; letter-spacing: -.04em; }
.dark-card { color: #fff; background: linear-gradient(120deg,#121212,#4a4f51); }
.food-card { color: #fff; background: linear-gradient(120deg,#151515,#59301f); }
.light-card { background: #e9ecec; color: #111; }
.project-list article { padding: 30px 0 48px; border-bottom: 1px solid var(--line); }
.project-list span { font-size: 24px; font-weight: 800; }
.project-list h3 { font-size: 32px; text-transform: uppercase; margin: 30px 0 10px; }
.project-list p { color: var(--muted); line-height: 1.5; max-width: 520px; }
.project-list a { font-size: 12px; font-weight: 800; text-transform: uppercase; }

.philosophy { padding: 100px clamp(24px, 6vw, 110px); }
.philosophy-inner { max-width: 900px; }
.philosophy h2 { font-size: clamp(48px, 7vw, 96px); line-height: .92; letter-spacing: -.07em; margin: 0 0 48px; text-wrap: balance; }
.philosophy p { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.55; color: #ddd; max-width: 780px; margin: 0 0 24px; }
.philosophy .text-link { margin-top: 40px; display: inline-flex; }

.service-grid { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line); }
.service-grid article { padding: 38px 30px 20px 0; border-right: 1px solid var(--line); min-height: 210px; }
.service-grid span { color: #8b8b8b; }
.service-grid h3 { font-size: 22px; margin-top: 42px; }
.service-grid p { color: var(--muted); line-height: 1.5; }

.footer { display: grid; grid-template-columns: 1fr .8fr .55fr; gap: 50px; padding: 75px clamp(24px, 6vw, 110px); }
.footer p { color: #cfcfcf; line-height: 1.5; }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--light-line); display: grid; place-items: center; font-size: 16px; }

.contact-head { flex-direction: column; align-items: flex-start; gap: 14px; }
.contact-head h2 { max-width: 780px; margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: 1; letter-spacing: -.05em; }
.contact-form { border: 1px solid var(--line); padding: clamp(22px, 4vw, 38px); background: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.form-grid input, .form-grid select, .form-grid textarea {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  outline: 0;
}
.form-grid textarea { resize: vertical; min-height: 140px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.submit-btn {
  border: 1px solid #080808;
  background: #080808;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;
  font-weight: 700;
  padding: 13px 20px;
  cursor: pointer;
}
.submit-btn:hover { background: #222; border-color: #222; }
.form-status { margin: 0; font-size: 14px; color: #6a6a6a; }
.form-status.is-error { color: #9a1f1f; }
.form-status.is-success { color: #146830; }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25D366;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 14px 30px rgba(0,0,0,.2);
  display: grid;
  place-items: center;
  font-size: 30px;
  color: #fff;
}
.whatsapp-float:hover { transform: translateY(-2px); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  body { cursor: auto; }
  .cursor-dot { display: none; }
  .desktop-nav { display: none; }
  .section-grid, .project-layout, .service-grid, .footer { grid-template-columns: 1fr; }
  .side-label { display: none; }
  .hero { padding-top: 120px; }
  .hero-visual { height: 440px; margin-top: 40px; }
  .window-light { width: 72%; right: 18%; }
  .window-dark { width: 76%; right: 0; }
  .portrait, .about-copy { grid-column: auto; }
  .section-head { align-items: flex-start; gap: 25px; flex-direction: column; }
  .service-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { padding: 0 20px; }
  .hero h1 { font-size: 54px; }
  .hero-text { font-size: 16px; }
  .window-light { width: 88%; right: 10%; height: 230px; }
  .window-dark { width: 86%; padding: 28px; }
  .project-card { padding: 28px; min-height: 190px; }
  .footer h2, .about-copy h2 { font-size: 44px; }
}


/* ── Stats bar ─────────────────────────────────────── */
.stats-bar { display: flex; border-bottom: 1px solid var(--line); }
.stats-bar > * { flex: 1; padding: 24px clamp(16px, 3vw, 48px); border-right: 1px solid var(--line); }
.stats-bar > *:last-child { border-right: 0; }
.stats-bar strong { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.stats-bar span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ── Hero CTAs ──────────────────────────────────────── */
.hero-ctas { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; margin-top: 0; }
.hero-wa-link { opacity: .5; }
.hero-wa-link:hover { opacity: 1; }

/* ── Page inner hero (inner pages) ─────────────────── */
.page-hero { padding: 160px clamp(24px, 6vw, 80px) 80px; border-bottom: 1px solid var(--line); max-width: var(--max); margin: 0 auto; }
.page-hero .eyebrow { margin-bottom: 32px; }
.page-hero h1 { font-size: clamp(54px, 8vw, 110px); line-height: .9; letter-spacing: -.07em; margin: 0 0 36px; max-width: 860px; text-wrap: balance; }
.page-hero .page-hero-lead { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.55; color: var(--muted); max-width: 640px; margin: 0; }

/* ── Services teaser (landing strip) ───────────────── */
.services-teaser { border-top: 1px solid var(--line); }
.services-teaser-header { display: flex; justify-content: space-between; align-items: center; padding: 38px clamp(24px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.services-teaser-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.services-teaser-item { padding: 48px 40px; border-right: 1px solid var(--line); }
.services-teaser-item:last-child { border-right: 0; }
.services-teaser-item .svc-num { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.services-teaser-item h3 { font-size: clamp(22px, 2.5vw, 30px); letter-spacing: -.04em; margin: 16px 0 14px; }
.services-teaser-item p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* ── Services full page ─────────────────────────────── */
.services-full-intro { padding: 64px clamp(24px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.services-full-intro p { font-size: clamp(18px, 2vw, 24px); line-height: 1.55; max-width: 820px; color: var(--muted); margin: 0 0 20px; }
.services-full-intro p:first-child { color: var(--ink); font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; }
.service-item { display: grid; grid-template-columns: 72px 1fr 1.1fr; gap: 48px; padding: 64px clamp(24px, 6vw, 80px); border-bottom: 1px solid var(--line); align-items: start; }
.service-item-num { font-size: 12px; font-weight: 800; color: var(--muted); padding-top: 10px; letter-spacing: .06em; }
.service-item h2 { font-size: clamp(30px, 3.5vw, 48px); letter-spacing: -.05em; line-height: .95; margin: 0; text-wrap: balance; }
.service-item-body p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 20px; }
.service-item-body ul { margin: 0; padding: 0 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* ── Process steps ──────────────────────────────────── */
.process-section { padding: 80px clamp(24px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.process-section h2 { font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -.05em; margin: 0 0 48px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.process-step { background: var(--bg); padding: 36px 30px 40px; }
.process-step small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.process-step h3 { font-size: 20px; letter-spacing: -.04em; margin: 18px 0 10px; }
.process-step p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }

/* ── Projects full grid ─────────────────────────────── */
.projects-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.project-grid-card { background: var(--bg); padding: 40px; min-height: 320px; display: flex; flex-direction: column; background-size: cover; background-position: center; }
.project-grid-card.has-img { color: #fff; }
.project-grid-card-body { margin-top: auto; }
.cat-tag { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .6; margin: 0; padding-bottom: 20px; display: block; }
.project-grid-card h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.04em; margin: 0 0 10px; }
.project-grid-card p { font-size: 14px; line-height: 1.5; opacity: .8; margin: 0 0 16px; }
.project-grid-card .proj-link { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }

/* ── About page ─────────────────────────────────────── */
.about-page-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; padding: 80px clamp(24px, 6vw, 80px); border-bottom: 1px solid var(--line); align-items: start; }
.bio-text p { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.65; color: var(--muted); margin: 0 0 20px; }
.bio-text p:first-child { font-size: clamp(20px, 2.2vw, 26px); color: var(--ink); line-height: 1.4; font-weight: 500; margin-bottom: 28px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.about-stat { background: var(--bg); padding: 40px 32px; }
.about-stat strong { display: block; font-size: clamp(36px, 4vw, 56px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 8px; }
.about-stat p { margin: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; line-height: 1.4; }
.tools-section { padding: 64px clamp(24px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.tools-section h2 { font-size: clamp(22px, 3vw, 34px); letter-spacing: -.05em; margin: 0 0 32px; }
.tools-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); }
.tool-item { background: var(--bg); padding: 28px 24px; font-size: 14px; font-weight: 600; }
.tool-item small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-top: 4px; }

/* ── Page CTA dark section ──────────────────────────── */
.page-cta { padding: 100px clamp(24px, 6vw, 110px); }
.page-cta h2 { font-size: clamp(42px, 6vw, 80px); letter-spacing: -.07em; line-height: .92; margin: 0 0 32px; max-width: 680px; text-wrap: balance; }
.page-cta p { color: #aaa; font-size: 18px; margin: 0 0 40px; max-width: 520px; }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-primary { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: #080808; padding: 14px 24px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border: 2px solid #fff; transition: background .2s, color .2s; }
.btn-primary:hover { background: transparent; color: #fff; }
.btn-ghost { display: inline-flex; align-items: center; gap: 12px; border: 2px solid rgba(255,255,255,.3); color: #fff; padding: 14px 24px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; transition: border-color .2s; }
.btn-ghost:hover { border-color: #fff; }

/* ── Responsive: new sections ───────────────────────── */
@media (max-width: 980px) {
  .services-teaser-row { grid-template-columns: 1fr; }
  .services-teaser-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-item { grid-template-columns: 1fr; gap: 16px; }
  .service-item-num { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .projects-page-grid { grid-template-columns: 1fr 1fr; }
  .about-page-intro { grid-template-columns: 1fr; gap: 40px; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar { flex-wrap: wrap; }
  .stats-bar > * { flex: 0 0 50%; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .page-hero h1 { font-size: 54px; }
  .process-steps { grid-template-columns: 1fr; }
  .projects-page-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { flex-direction: column; align-items: flex-start; }
  .stats-bar > * { flex: 0 0 100%; }
  .services-teaser-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* PHP dynamic additions */
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); }
.project-card { background-size: cover; background-position: center; }
