/* GG DESIGNS - brand tokens taken from the visiting card */
:root {
  --slate: #3d4248;
  --slate-deep: #2b2f34;
  --slate-soft: #4a5057;
  --taupe: #a89a8a;
  --taupe-ink: #74665a;      /* taupe dark enough for text on paper (4.6:1) */
  --paper: #f4f1ec;
  --paper-2: #ebe6df;
  --white: #fbfaf8;
  --ink: #2b2f34;
  --muted: #565c63;
  --line: rgba(61, 66, 72, .16);
  --line-light: rgba(244, 241, 236, .18);
  --error: #a8322a;

  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-label: "Josefin Sans", "Century Gothic", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px;
  --radius: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-serif); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-size: .85em; background: rgba(0,0,0,.06); padding: 2px 6px; border-radius: 3px; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--slate); color: var(--paper); padding: 10px 16px; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ---------- Labels & buttons ---------- */
.label, .eyebrow {
  font: 600 .78rem/1 var(--f-label);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--taupe-ink);
  margin: 0 0 var(--s-2);
  display: flex; align-items: center; gap: 14px;
}
.label::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.label-light { color: var(--taupe); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px;
  font: 600 .8rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-light { background: var(--paper); color: var(--slate-deep); }
.btn-light:hover { background: var(--taupe); color: var(--slate-deep); }
.btn-ghost { border-color: var(--line-light); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(244,241,236,.06); }
.btn-dark { background: var(--slate); color: var(--paper); }
.btn-dark:hover { background: var(--slate-deep); }
.btn-outline { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn-outline:hover { background: var(--slate); color: var(--paper); }

.text-link {
  font: 600 .8rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 12px 0;
  border-bottom: 1px solid var(--taupe);
}
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(6px); }

.tag {
  display: inline-block; font: 600 .66rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 10px 5px; border: 1px dashed var(--taupe-ink); color: var(--taupe-ink); border-radius: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--paper);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(244, 241, 236, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--slate);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 64px;
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 5px; }
.brand-name { font: 600 1.05rem/1 var(--f-label); letter-spacing: .22em; margin: 0; }
.brand-sub { font: 400 .58rem/1 var(--f-label); letter-spacing: .26em; text-transform: uppercase; opacity: .8; margin: 0; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font: 600 .74rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  position: relative;
}
.nav-menu a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-menu a:not(.nav-cta):hover::after, .nav-menu a.is-current::after { transform: scaleX(1); }
.nav-cta { border: 1px solid currentColor; border-radius: var(--radius); margin-left: 10px; transition: background-color .25s, color .25s; }
.nav-cta:hover { background: var(--taupe); border-color: var(--taupe); color: var(--slate-deep); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; color: inherit; cursor: pointer;
  position: relative; z-index: 2;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 28px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 8px;
    background: var(--slate-deep); color: var(--paper);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; }
  .nav-menu a { font-size: .95rem; padding: 0 20px; min-height: 52px; }
  .nav-cta { margin: 16px 0 0; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(120% 90% at 70% 40%, #474d54 0%, var(--slate) 45%, var(--slate-deep) 100%);
  color: var(--paper); overflow: hidden; isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(43,47,52,.92) 0%, rgba(43,47,52,.55) 45%, rgba(43,47,52,0) 75%);
}
@media (max-width: 767px) {
  .hero-grain { background: linear-gradient(180deg, rgba(43,47,52,.35) 0%, rgba(43,47,52,.85) 70%); }
}
.hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.hero .eyebrow { color: var(--taupe); }
.plus { color: var(--paper); font-size: 1.1em; }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 400; max-width: 12ch; margin-bottom: var(--s-4);
  line-height: 1.05;
}
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.hero-title .word > span { display: inline-block; }
.hero-title em { font-style: italic; color: var(--taupe); }
.hero-lead { max-width: 52ch; font-size: 1.06rem; color: rgba(244,241,236,.82); margin-bottom: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 32px; display: flex; gap: 28px;
  font: 400 .68rem/1 var(--f-label); letter-spacing: .28em; text-transform: uppercase; color: rgba(244,241,236,.55);
}
.scroll-cue {
  position: absolute; right: 40px; bottom: 28px; width: 44px; height: 64px;
  display: flex; justify-content: center;
}
.scroll-cue span { width: 1px; height: 100%; background: linear-gradient(var(--taupe), transparent); position: relative; overflow: hidden; }
.scroll-cue span::after {
  content: ""; position: absolute; left: 0; top: -30%; width: 1px; height: 30%; background: var(--paper);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { to { top: 100%; } }
@media (max-width: 767px) {
  .hero-meta, .scroll-cue { display: none; }
  .hero .eyebrow { letter-spacing: .2em; font-size: .7rem; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s-7) 0; position: relative; }
@media (max-width: 767px) { .section { padding: 72px 0; } }
.section-head { margin-bottom: var(--s-6); max-width: 720px; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section-head.split .section-intro { max-width: 420px; margin: 0; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: var(--s-3); }
.section-intro { color: var(--muted); font-size: 1.05rem; }

/* About */
.about-grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 6fr; gap: 88px; } }
.portrait { margin: 0; position: relative; }
.portrait-frame {
  position: relative; aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden;
  border-radius: var(--radius);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.08); }
.portrait::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--taupe); z-index: -1; border-radius: var(--radius);
}
.portrait-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; color: var(--muted); border: 1px dashed var(--taupe-ink); padding: 24px;
}
.portrait-placeholder svg { width: 72px; height: 72px; color: var(--slate); }
.portrait figcaption {
  position: absolute; left: 24px; bottom: -22px; background: var(--slate); color: var(--paper);
  padding: 16px 22px; display: flex; flex-direction: column; gap: 6px;
}
.portrait figcaption span:first-child { font: 500 1.15rem/1.1 var(--f-serif); }
.portrait figcaption span:last-child { font: 600 .66rem/1 var(--f-label); letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); }
.about-copy p { color: var(--muted); max-width: 58ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: var(--s-4) 0; border-top: 1px solid var(--line); }
.facts li { padding: 20px 16px 20px 0; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line); }
.facts strong { font: 500 1.3rem/1.2 var(--f-serif); }
.facts span { font-size: .88rem; color: var(--muted); }

/* Services */
.services { background: var(--white); }
.service-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  background: var(--white); padding: 40px 30px 36px; position: relative; overflow: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0; background: var(--slate); transform: translateY(101%);
  transition: transform .5s var(--ease); z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { color: var(--paper); }
.service-card:hover::before { transform: translateY(0); }
.service-card:hover p, .service-card:hover li { color: rgba(244,241,236,.78); }
.service-card:hover .service-icon { stroke: var(--taupe); }
.service-no { font: 600 .74rem/1 var(--f-label); letter-spacing: .3em; color: var(--taupe-ink); }
.service-card:hover .service-no { color: var(--taupe); }
.service-icon {
  width: 48px; height: 48px; margin: 28px 0 24px; fill: none; stroke: var(--slate); stroke-width: 1.4; stroke-linejoin: round;
  transition: stroke .4s var(--ease);
}
.service-card h3 { font-size: 1.55rem; margin-bottom: 14px; }
.service-card p { color: var(--muted); font-size: .95rem; transition: color .4s; }
.service-card ul { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }
.service-card li { font-size: .88rem; color: var(--muted); padding: 5px 0 5px 18px; position: relative; transition: color .4s; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--taupe); }

/* Projects */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-4); }
.filter {
  min-height: 44px; padding: 0 20px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: 600 .72rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; border-radius: 999px;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filter:hover { border-color: var(--slate); }
.filter.is-active { background: var(--slate); color: var(--paper); border-color: var(--slate); }
.project-grid { display: grid; gap: 28px; }
@media (min-width: 700px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card { cursor: default; }
.project-card[hidden] { display: none; }
.project-media {
  aspect-ratio: 4 / 3; position: relative; overflow: hidden; border-radius: var(--radius);
  background-color: var(--slate);
  background-image:
    linear-gradient(rgba(168,154,138,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,154,138,.12) 1px, transparent 1px);
  background-size: 24px 24px;
}
.project-media svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .8s var(--ease); }
.project-media svg .draw { fill: none; stroke: var(--paper); stroke-width: 1.2; stroke-linejoin: round; opacity: .85; }
.project-media svg .accent { fill: none; stroke: var(--taupe); stroke-width: 1.2; }
.project-card:hover .project-media svg { transform: scale(1.05); }
.project-info { padding: 20px 2px 0; }
.project-info .tag { margin-bottom: 12px; }
.project-info h3 { font-size: 1.4rem; margin-bottom: 6px; }
.project-info p { font-size: .88rem; color: var(--muted); margin: 0; }

/* Process */
.process { background: var(--slate); color: var(--paper); overflow: hidden; }
.process .section-title { color: var(--paper); }
.steps { display: grid; gap: 40px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-light); }
.step::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--taupe); transform: rotate(45deg);
}
.step-no { font: 400 3rem/1 var(--f-serif); color: var(--taupe); display: block; margin-bottom: 16px; }
.step h3 { font-size: 1.45rem; margin-bottom: 10px; }
.step p { color: rgba(244,241,236,.72); font-size: .95rem; }
.process-line { height: 1px; margin-top: 48px; background: var(--line-light); }
.process-line span { display: block; height: 100%; width: 100%; background: var(--taupe); transform-origin: left; transform: scaleX(0); }

/* Testimonials */
.quote-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote {
  margin: 0; background: var(--white); padding: 32px 30px; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(43,47,52,.45); }
.quote .tag { align-self: flex-start; }
.quote blockquote { margin: 0; font: italic 400 1.2rem/1.5 var(--f-serif); flex: 1; }
.quote figcaption { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 16px; }
.quote figcaption span { font-size: .85rem; color: var(--muted); }

/* Contact */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 80px; } }
.contact-copy > p { color: var(--muted); }
.contact-list { margin-top: var(--s-4); display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg {
  width: 44px; height: 44px; padding: 11px; flex: none; border-radius: 50%; background: var(--slate);
  fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.contact-list span { display: block; font: 600 .68rem/1 var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--taupe-ink); margin: 4px 0 8px; }
.contact-list a { display: inline-block; padding: 8px 0; text-decoration: none; font-size: 1.05rem; border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-list a:hover { border-color: var(--taupe); }

.contact-form { background: var(--white); padding: 36px 32px; border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(43,47,52,.5); }
@media (max-width: 500px) { .contact-form { padding: 28px 20px; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.field-row { display: grid; gap: 0 20px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font: 600 .72rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; }
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); font-family: var(--f-body); }
input, select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  padding: 13px 14px; min-height: 48px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(168,154,138,.35); }
[aria-invalid="true"] { border-color: var(--error); }
.error { min-height: 1.3em; margin: 0; font-size: .82rem; color: var(--error); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.form-actions .btn { flex: 1 1 200px; }
.form-note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); min-height: 1.3em; }

/* Map */
.map { position: relative; height: 460px; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); display: block; }
.map-card {
  position: absolute; left: max(24px, calc((100vw - var(--container)) / 2 + 40px)); top: 50%; transform: translateY(-50%);
  background: var(--white); padding: 28px; max-width: 320px; box-shadow: 0 20px 50px -25px rgba(43,47,52,.55); border-radius: var(--radius);
}
.map-card p:not(.label) { color: var(--muted); }
@media (max-width: 640px) {
  .map { height: auto; display: flex; flex-direction: column-reverse; }
  .map iframe { height: 320px; }
  .map-card { position: static; transform: none; max-width: none; box-shadow: none; border-radius: 0; }
}

/* Footer */
.footer { background: var(--slate-deep); color: var(--paper); padding: 72px 0 28px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; } }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-mark { width: 56px; height: 56px; }
.footer-brand .brand-name { margin-bottom: 8px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.footer-links a, .footer-contact a, .footer-bottom a {
  text-decoration: none; color: rgba(244,241,236,.75); display: inline-flex; align-items: center; min-height: 40px; transition: color .2s;
}
.footer-links a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: var(--taupe); }
.footer-contact { display: flex; flex-direction: column; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; font-size: .82rem; color: rgba(244,241,236,.6); }
.footer-bottom p { margin: 0; align-self: center; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px;
  background: #1f8c4e; color: #fff; border-radius: 999px; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.45);
  font: 600 .74rem/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase;
  transition: transform .3s var(--ease), background-color .3s;
}
.wa-float:hover { background: #18733f; transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1f8c4e;
  animation: pulse 2.6s ease-out infinite; pointer-events: none;
}
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }
@media (max-width: 600px) { .wa-label { display: none; } .wa-float { width: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; } }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note a { color: var(--ink); }
button[disabled] { opacity: .6; cursor: progress; }

/* Real 3D models in cards: one fixed click-through canvas, drawn under the header and WhatsApp button */
.cards-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 45; }
.has-3d .project-media .art, .has-3d .service-art .art { visibility: hidden; }
.is-3d { cursor: grab; touch-action: pan-y; }
.is-3d.is-grabbing { cursor: grabbing; }

/* Concept illustrations */
.art { display: block; width: 100%; height: 100%; }
.service-art {
  margin: -40px -30px 26px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.service-art .art { transition: transform .8s var(--ease); }
.service-card:hover .service-art .art { transform: scale(1.05); }
.service-card .service-icon { display: none; }
.service-card .service-no { display: block; margin-bottom: 14px; }
.project-media { background: var(--paper-2); }

/* 3D building interaction */
.hero.can-grab { cursor: grab; }
.hero.is-grabbing { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.hero-hint {
  position: absolute; right: 250px; bottom: 30px; margin: 0; z-index: 2; pointer-events: none;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  border: 1px solid var(--line-light); border-radius: 999px; background: rgba(43,47,52,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 600 .66rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: rgba(244,241,236,.85);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hero-hint svg { width: 16px; height: 16px; fill: none; stroke: var(--taupe); stroke-width: 1.8; stroke-linecap: round; animation: spin-hint 3s var(--ease) infinite; }
@keyframes spin-hint { 0%, 40% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
.hero-hint.is-used { opacity: 0; transform: translateY(8px); }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }
@media (max-width: 767px) { .hero-hint { right: 96px; left: 24px; bottom: 28px; letter-spacing: .14em; justify-content: center; } }

/* Scroll progress */
.scroll-progress {
  position: fixed; left: 0; top: 0; z-index: 70; width: 100%; height: 2px;
  background: var(--taupe); transform-origin: left; transform: scaleX(0);
}

/* Marquee band */
.marquee { background: var(--slate-deep); color: var(--paper); overflow: hidden; border-top: 1px solid var(--line-light); padding: 26px 0; }
.marquee-track {
  display: flex; align-items: center; gap: 40px; width: max-content;
  font: 400 clamp(1.6rem, 3.4vw, 2.6rem)/1 var(--f-serif); white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee-track i { font-style: normal; color: var(--taupe); font-family: var(--f-label); }
.marquee-track span:nth-of-type(even) { font-style: italic; color: var(--taupe); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Split headings */
.section-title .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.section-title .word > span { display: inline-block; }

/* Reveal start states are set only when JS + motion are available */
.js-motion .reveal, .js-motion .reveal-card, .js-motion .reveal-hero { opacity: 0; }
.js-motion .portrait-frame { clip-path: inset(100% 0 0 0); }
.js-motion .portrait::before { opacity: 0; transform: translate(-16px, -16px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js-motion .portrait.frame-in::before { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .process-line span { transform: none; }
}
