/* FONT — ospitati in locale (nessuna richiesta a Google). Licenza OFL: vedi fonts/LICENSE-*.txt */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; font-display: swap; src: url('fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/syne-latin-700-normal.woff2') format('woff2'); }

:root {
  --ink: #0a0a0f;
  --paper: #f4f1eb;
  --cream: #ede8de;
  --zen: #2d4a3e;
  --moss: #4a7c68;
  --moss-ink: #3a6654;   /* moss più scuro per testi piccoli su fondo chiaro */
  --sand: #c9b99a;
  --sand-ink: #77673f;   /* sand leggibile per numeri/etichette piccole su fondo chiaro */
  --gold: #b8941f;
  --text-soft: #3f3f4f;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Cormorant Garamond', serif; background: var(--paper); color: var(--ink); overflow-x: hidden; cursor: none; }
body.menu-open { overflow: hidden; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (hover: none) { body { cursor: auto; } .cursor, .cursor-ring { display: none; } }
@media (hover: hover) { a, button, select { cursor: none; } }

/* CURSOR */
.cursor { position: fixed; width: 10px; height: 10px; background: var(--zen); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .3s, height .3s, background .3s; }
.cursor-ring { position: fixed; width: 40px; height: 40px; border: 1px solid var(--moss); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: left .12s, top .12s, width .3s, height .3s, border-color .3s; }
.cursor.hover { width: 20px; height: 20px; background: var(--gold); }
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--gold); }

/* NOISE */
body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none; z-index: 1; opacity: .6; }

/* NAV
   Lo sfondo sfocato sta su ::before: un backdrop-filter direttamente su <nav>
   farebbe diventare il menu mobile (position: fixed) alto quanto la barra. */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 4rem; mix-blend-mode: multiply; transition: box-shadow .4s; }
nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(244,241,235,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s; }
nav.scrolled { mix-blend-mode: normal; box-shadow: 0 1px 0 rgba(45,74,62,.08); }
nav.scrolled::before { opacity: 1; }

.logo { position: relative; z-index: 101; display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.logo-mark { display: block; height: 40px; width: auto; }
.logo-word { font-family: 'DM Mono', monospace; font-size: .8rem; letter-spacing: .2em; color: var(--ink); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-family: 'DM Mono', monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; opacity: .7; transition: opacity .3s; }
.nav-links a:hover { opacity: 1; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 1.5px; background: var(--zen); transition: transform .3s, opacity .3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* HERO */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 4rem; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-circle { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-circle-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(45,74,62,.12) 0%, transparent 70%); right: -100px; top: 50%; transform: translateY(-50%); }
.hero-circle-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(184,148,31,.1) 0%, transparent 70%); left: 30%; top: 20%; }
.hero-circle-3 { width: 220px; height: 220px; background: radial-gradient(circle, rgba(74,124,104,.08) 0%, transparent 70%); left: 8%; bottom: 18%; animation: floatY 9s ease-in-out infinite; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-28px)} }

.hero-content { position: relative; z-index: 2; padding-top: 6rem; }

.hero-tag { font-family: 'DM Mono', monospace; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--moss-ink); margin-bottom: 2rem; display: flex; align-items: center; gap: .75rem; }
.hero-tag::before { content: ''; display: inline-block; width: 32px; height: 1px; background: var(--moss); }
.hero-tag::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 5.5vw, 5.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 1.5rem; }
h1 .line { display: block; }
h1 em { font-style: italic; color: var(--zen); }
h1 .accent { font-style: italic; color: var(--gold); }

.hero-sub { font-size: 1.2rem; font-weight: 400; line-height: 1.75; color: #33333f; max-width: 44ch; margin-bottom: 3rem; }
.hero-sub strong { font-weight: 600; color: var(--zen); }

.cta-group { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.btn-primary { font-family: 'Syne', sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); background: var(--zen); border: none; padding: 1rem 2.5rem; cursor: none; text-decoration: none; transition: background .3s, transform .2s; display: inline-flex; align-items: center; gap: .5rem; }
.btn-primary:hover { background: var(--moss); transform: translateY(-2px); }
.btn-ghost { font-family: 'DM Mono', monospace; font-size: .72rem; letter-spacing: .1em; color: var(--zen); text-decoration: none; display: flex; align-items: center; gap: .5rem; transition: gap .3s; }
.btn-ghost:hover { gap: 1rem; }
.btn-ghost::after { content: '→'; }

.hero-visual { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; height: 70vh; }
/* la maschera sfuma la rete ai bordi invece di tagliarla di netto */
.neural-canvas { width: 100%; height: 100%; -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 55%, transparent 100%); }

.canvas-label { position: absolute; font-family: 'DM Mono', monospace; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--moss-ink); opacity: 0; animation: fadeLabel 7s ease-in-out infinite; }
.canvas-label:nth-child(1) { top: 22%; left: 8%; animation-delay: 0s; }
.canvas-label:nth-child(2) { top: 62%; left: 4%; animation-delay: 2.5s; }
.canvas-label:nth-child(3) { top: 38%; right: 6%; animation-delay: 5s; }
@keyframes fadeLabel { 0%,100%{opacity:0;transform:translateY(6px)} 30%,70%{opacity:.85;transform:translateY(0)} }

/* MARQUEE */
.marquee-wrap { overflow: hidden; background: var(--zen); padding: 1rem 0; position: relative; z-index: 2; }
.marquee-track { display: flex; animation: marquee 32s linear infinite; white-space: nowrap; }
.marquee-item { font-family: 'DM Mono', monospace; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,241,235,.65); padding: 0 2rem; flex-shrink: 0; }
.marquee-item span { color: var(--sand); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* SHARED */
section { position: relative; }
.section-label { font-family: 'DM Mono', monospace; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--moss-ink); margin-bottom: 1rem; }

/* WHY */
.why { padding: 8rem 4rem; background: var(--ink); color: var(--paper); overflow: hidden; }
.why-inner { max-width: 1100px; margin: 0 auto; }
.why-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 6rem; align-items: end; }
.why-header h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 300; line-height: 1.1; }
.why-header h2 em { font-style: italic; color: var(--sand); }
.why-header p { font-size: 1.15rem; font-weight: 400; line-height: 1.8; color: rgba(244,241,235,.8); }
.why-header .section-label { color: var(--sand); }
.why-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.pillar { display: flex; flex-direction: column; background: rgba(255,255,255,.03); padding: 2.5rem; border-top: 1px solid rgba(255,255,255,.08); transition: background .4s; }
.pillar:hover { background: rgba(255,255,255,.07); }
.pillar-icon { width: 48px; height: 48px; margin-bottom: 1.5rem; opacity: .7; }
.pillar h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: .75rem; color: var(--paper); }
.pillar p { font-size: 1.02rem; font-weight: 400; line-height: 1.7; color: rgba(244,241,235,.72); }
.pillar-tag { font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-top: auto; padding-top: 1.5rem; display: block; }

/* PROBLEM */
.problem { padding: 8rem 4rem; background: var(--cream); }
.problem-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 6rem; align-items: start; }
.problem-left { position: sticky; top: 8rem; }
.problem-left h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300; line-height: 1.1; margin-bottom: 1.5rem; }
.problem-left h2 em { font-style: italic; color: var(--zen); }
.problem-left p { font-size: 1.05rem; font-weight: 400; color: var(--text-soft); line-height: 1.7; margin-top: 1rem; }
.problem-cards { display: flex; flex-direction: column; gap: 2px; }
.problem-card { background: var(--paper); padding: 2rem; border-left: 3px solid transparent; transition: border-color .3s, padding-left .3s; cursor: none; }
.problem-card:hover { border-left-color: var(--gold); padding-left: 2.5rem; }
.problem-card-num { font-family: 'DM Mono', monospace; font-size: .68rem; color: var(--sand-ink); margin-bottom: .75rem; }
.problem-card h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: .5rem; }
.problem-card p { font-size: 1.05rem; font-weight: 400; color: var(--text-soft); line-height: 1.6; }

/* SERVICES */
.services { padding: 8rem 4rem; }
.services-inner { max-width: 1100px; margin: 0 auto; }
.services-top { display: flex; justify-content: space-between; align-items: end; margin-bottom: 5rem; }
.services-top h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300; max-width: 20ch; }
.services-top h2 em { font-style: italic; color: var(--zen); }
.services-top p { max-width: 38ch; font-size: 1.1rem; line-height: 1.7; color: var(--text-soft); font-weight: 400; }
.services-top .tagline { display: block; margin-top: .5rem; font-style: italic; color: var(--zen); }
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; }
.service-card { display: flex; flex-direction: column; padding: 3rem; background: var(--cream); position: relative; overflow: hidden; cursor: none; transition: background .4s; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--zen); transition: width .5s ease; }
.service-card:hover { background: var(--paper); }
.service-card:hover::after { width: 100%; }
.service-num { font-family: 'DM Mono', monospace; font-size: .68rem; color: var(--sand-ink); letter-spacing: .1em; margin-bottom: 2rem; }
.service-card h3 { font-size: 1.6rem; font-weight: 500; margin-bottom: 1rem; }
.service-card p { font-size: 1.05rem; font-weight: 400; line-height: 1.7; color: var(--text-soft); }
.service-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: 2rem; }
.tag { font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: .1em; padding: .3rem .75rem; border: 1px solid var(--sand); color: var(--moss-ink); text-transform: uppercase; }

/* PROJECTS */
.projects { padding: 8rem 4rem; background: var(--cream); }
.projects-inner { max-width: 1100px; margin: 0 auto; }
.projects-top { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 5rem; }
.projects-top h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300; line-height: 1.1; max-width: 20ch; }
.projects-top h2 em { font-style: italic; color: var(--zen); }
.projects-top p { max-width: 38ch; font-size: 1.1rem; line-height: 1.7; color: var(--text-soft); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem 3rem; }
.project { display: flex; flex-direction: column; }
.project-shot { display: block; color: inherit; text-decoration: none; }

.browser { border-radius: 10px 10px 4px 4px; overflow: hidden; background: var(--paper); border: 1px solid rgba(45,74,62,.18); box-shadow: 0 30px 50px -30px rgba(10,10,15,.4); transition: transform .5s ease, box-shadow .5s ease; }
.project:hover .browser { transform: translateY(-4px); box-shadow: 0 38px 56px -28px rgba(10,10,15,.45); }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .65rem .9rem; background: #e2dccf; border-bottom: 1px solid rgba(45,74,62,.12); }
.browser-bar i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--sand); }
.browser-bar span { margin-left: .75rem; font-family: 'DM Mono', monospace; font-size: .64rem; letter-spacing: .06em; color: #55555f; background: var(--paper); padding: .2rem .8rem; border-radius: 99px; }
.browser-view { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: linear-gradient(135deg, var(--zen), #1a3027); }
.browser-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s ease; }
.project:hover .browser-view img { transform: scale(1.03); }
/* se lo screenshot non c'è, la cornice mostra il nome del progetto */
.browser-view::after { content: attr(data-name); position: absolute; inset: 0; display: none; align-items: center; justify-content: center; font-style: italic; font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); color: rgba(244,241,235,.85); }
.browser-view.no-shot::after { display: flex; }
.browser-view.no-shot img { display: none; }

.project-body { display: flex; flex-direction: column; flex: 1; padding: 1.75rem 0 0; }
.project-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.project-head h3 { font-size: 1.9rem; font-weight: 500; line-height: 1.1; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-family: 'DM Mono', monospace; font-size: .68rem; letter-spacing: .06em; color: var(--moss-ink); white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--moss); }
.status.demo { color: var(--sand-ink); }
.status.demo::before { background: var(--gold); }
.project-kind { margin-top: .35rem; font-size: 1.15rem; font-style: italic; color: var(--zen); }
.project-text { margin-top: 1rem; font-size: 1.05rem; line-height: 1.7; color: var(--text-soft); }
.project .service-tags { padding-top: 1.5rem; }
.project-link { align-self: flex-start; margin-top: 1.5rem; padding-bottom: .25rem; font-family: 'DM Mono', monospace; font-size: .72rem; letter-spacing: .08em; color: var(--zen); text-decoration: none; border-bottom: 1px solid var(--sand); transition: border-color .3s, color .3s; }
.project-link:hover { color: var(--gold); border-bottom-color: var(--gold); }


/* PAGINE LEGALI (privacy) */
.legal { padding: 9rem 4rem 6rem; background: var(--paper); }
.legal-inner { max-width: 720px; margin: 0 auto; }
.legal-back { display: inline-block; margin-bottom: 2rem; font-family: 'DM Mono', monospace; font-size: .72rem; letter-spacing: .08em; color: var(--zen); text-decoration: none; border-bottom: 1px solid var(--sand); padding-bottom: .2rem; }
.legal-back:hover { color: var(--gold); border-bottom-color: var(--gold); }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: .75rem; }
.legal .legal-meta { font-family: 'DM Mono', monospace; font-size: .68rem; letter-spacing: .06em; color: var(--moss-ink); margin-bottom: 2.5rem; }
.legal .legal-summary { margin-bottom: 3rem; padding: 1.5rem 1.75rem; background: var(--cream); border-left: 3px solid var(--zen); font-size: 1.2rem; line-height: 1.7; color: var(--ink); }
.legal h2 { font-size: 1.7rem; font-weight: 500; line-height: 1.2; margin: 3rem 0 .75rem; }
.legal h3 { font-size: 1.25rem; font-weight: 600; margin: 1.75rem 0 .35rem; }
.legal p, .legal li { font-size: 1.15rem; line-height: 1.75; color: var(--text-soft); }
.legal p + p { margin-top: 1rem; }
.legal ul { margin: .75rem 0 0 1.25rem; }
.legal li + li { margin-top: .4rem; }
.legal a { color: var(--zen); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--gold); }

/* PROCESS */
.process { padding: 8rem 4rem; background: var(--zen); color: var(--paper); }
.process-inner { max-width: 1100px; margin: 0 auto; }
.process h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300; margin-bottom: 5rem; max-width: 26ch; }
.process h2 em { font-style: italic; color: var(--sand); }
.process .section-label { color: rgba(244,241,235,.7); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.15); }
.step { padding: 2.5rem 2rem 2.5rem 0; border-right: 1px solid rgba(255,255,255,.1); }
.step:last-child { border-right: none; padding-right: 0; }
.step-n { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300; font-style: italic; color: rgba(255,255,255,.2); line-height: 1; margin-bottom: 1.5rem; }
.step h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: .75rem; }
.step p { font-size: 1rem; font-weight: 400; line-height: 1.7; color: rgba(244,241,235,.82); }

/* CONTACT */
.contact-section { padding: 8rem 4rem; background: var(--paper); position: relative; overflow: hidden; }
.contact-section::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(45,74,62,.06) 0%, transparent 70%); right: -200px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.contact-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: start; }
.contact-left h2 { font-size: clamp(2.2rem, 3.5vw, 3.5rem); font-weight: 300; line-height: 1.1; margin-bottom: 1.5rem; }
.contact-left h2 em { font-style: italic; color: var(--zen); }
.contact-left p { font-size: 1.15rem; font-weight: 400; color: var(--text-soft); line-height: 1.75; margin-bottom: 2.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-family: 'DM Mono', monospace; font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; color: var(--moss-ink); }
.form-group input, .form-group textarea, .form-group select { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 400; color: var(--ink); background: var(--cream); border: none; border-bottom: 1px solid rgba(45,74,62,.3); padding: .75rem 0; outline: none; width: 100%; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-bottom-color: var(--zen); }
.form-group textarea { resize: none; height: 120px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(10,10,15,.4); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.form-note { font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: .08em; color: rgba(10,10,15,.6); }
.form-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-note a:hover { color: var(--zen); }

.form-feedback { display: none; padding: 1rem 1.5rem; font-family: 'DM Mono', monospace; font-size: .72rem; letter-spacing: .06em; line-height: 1.6; margin-bottom: .5rem; }
.form-feedback.success { background: rgba(45,74,62,.08); color: var(--zen); border-left: 3px solid var(--zen); display: block; }
.form-feedback.error { background: rgba(184,60,30,.06); color: #a03010; border-left: 3px solid #a03010; display: block; }

.btn-spinner { display: none; width: 14px; height: 14px; border: 2px solid rgba(244,241,235,.3); border-top-color: var(--paper); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }
.btn-primary.loading .btn-spinner { display: inline-block; }
.btn-primary.loading .btn-text { opacity: .7; }

/* FOOTER */
footer { background: var(--ink); color: var(--paper); padding: 3rem 4rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-logo { display: block; }
.footer-logo img { display: block; width: 190px; height: auto; }
.footer-meta { font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: .08em; color: rgba(244,241,235,.6); line-height: 1.9; text-align: center; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-family: 'DM Mono', monospace; font-size: .65rem; letter-spacing: .1em; color: rgba(244,241,235,.7); text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--sand); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .22s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .5s; }

/* MOBILE */
@media (max-width: 900px) {
  nav { padding: .9rem 1.5rem; }
  .logo-mark { height: 32px; }
  .logo-word { font-size: .72rem; }
  .nav-links { display: none; position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .nav-hamburger { display: flex; position: relative; z-index: 101; }
  .hero { grid-template-columns: 1fr; padding: 6rem 1.5rem 3rem; min-height: auto; gap: 2rem; }
  .hero-visual { height: 55vw; min-height: 240px; }
  .canvas-label { display: none; }
  h1 { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .why { padding: 5rem 1.5rem; }
  .why-header { grid-template-columns: 1fr; gap: 2rem; }
  .why-pillars { grid-template-columns: 1fr; }
  .problem { padding: 5rem 1.5rem; }
  .problem-inner { grid-template-columns: 1fr; gap: 3rem; }
  .problem-left { position: static; }
  .services { padding: 5rem 1.5rem; }
  .services-top { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .projects { padding: 5rem 1.5rem; }
  .projects-top { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .projects-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .legal { padding: 7rem 1.5rem 4rem; }
  .process { padding: 5rem 1.5rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 2rem; }
  .step:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); padding-right: 1.5rem; }
  .contact-section { padding: 5rem 1.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; padding: 2.5rem 1.5rem; }
  .footer-meta { order: 3; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  .hero { padding: 5rem 1.2rem 3rem; }
  .cta-group { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(odd) { border-right: none; padding-right: 0; }
  .service-card { padding: 2rem; }
}

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