/* =============================================
   01. Design tokens and reset
   ============================================= */
:root {
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --muted: #666666;
  --muted-light: #8a8a8a;
  --paper: #ffffff;
  --surface: #f8f9fb;
  --surface-warm: #fbfaf7;
  --gold: #c89b3c;
  --gold-bright: #d7af58;
  --gold-pale: #f4ebd7;
  --line: #e7e7e7;
  --line-dark: rgba(255, 255, 255, .14);
  --shadow-sm: 0 10px 30px rgba(20, 20, 20, .06);
  --shadow-md: 0 22px 60px rgba(20, 20, 20, .1);
  --shadow-gold: 0 18px 45px rgba(200, 155, 60, .24);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --container: 1180px;
  --section-space: clamp(5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.04em; line-height: 1.03; }
h1 { margin-bottom: 1rem; font-size: clamp(3.3rem, 6vw, 6.1rem); }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.55rem, 4.5vw, 4.6rem); }
h2 em { color: var(--gold); font-weight: 600; }
h3 { line-height: 1.25; letter-spacing: -.02em; }
p { color: var(--muted); }
::selection { color: var(--ink); background: var(--gold-pale); }
:focus-visible { outline: 3px solid rgba(200, 155, 60, .45); outline-offset: 4px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-space); }
.section-alt { background: var(--surface); }
.skip-link { position: fixed; z-index: 2000; top: 14px; left: 14px; padding: .8rem 1rem; color: #fff; background: var(--ink); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
body.modal-open { overflow: hidden; }

/* =============================================
   02. Shared components
   ============================================= */
.kicker { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1.25rem; color: var(--gold); font-size: .74rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.kicker::before { width: 24px; height: 1px; background: currentColor; content: ""; }
.section-heading { margin-bottom: clamp(2.8rem, 6vw, 5rem); }
.section-heading p { max-width: 650px; margin-bottom: 0; font-size: 1.05rem; }
.centered { max-width: 780px; margin-inline: auto; text-align: center; }
.centered p { margin-inline: auto; }
.centered .kicker::after { width: 24px; height: 1px; background: currentColor; content: ""; }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 5rem; }
.split-heading h2 { margin-bottom: 0; }
.button { position: relative; display: inline-flex; min-height: 52px; padding: .85rem 1.35rem; align-items: center; justify-content: center; gap: .65rem; overflow: hidden; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 600; line-height: 1; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button-dark { color: #fff; background: var(--ink); box-shadow: 0 12px 26px rgba(17, 17, 17, .16); }
.button-dark:hover { background: #292929; box-shadow: 0 16px 34px rgba(17, 17, 17, .22); }
.button-gold { color: var(--ink); background: var(--gold); box-shadow: var(--shadow-gold); }
.button-gold:hover { background: var(--gold-bright); }
.button-light { color: var(--ink); background: #fff; border-color: var(--line); }
.button-light:hover { border-color: #cfcfcf; box-shadow: var(--shadow-sm); }
.button-outline-dark { color: #fff; background: transparent; border-color: rgba(255,255,255,.28); }
.button-outline-dark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: inherit; font-size: .88rem; font-weight: 600; }
.text-link span { color: var(--gold); transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(4px); }
.gold-link { color: var(--gold); }
.media-placeholder { position: relative; border: 1.5px dashed rgba(200, 155, 60, .55); overflow: hidden; }
[data-glow] { --mouse-x: 50%; --mouse-y: 50%; }
[data-glow]::after { position: absolute; z-index: 0; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(360px circle at var(--mouse-x) var(--mouse-y), rgba(200,155,60,.1), transparent 60%); opacity: 0; content: ""; transition: opacity .3s; }
[data-glow]:hover::after { opacity: 1; }
[data-glow] > * { position: relative; z-index: 1; }
.ripple-wave { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255,255,255,.42); transform: scale(0); animation: ripple .65s linear; }
@keyframes ripple { to { opacity: 0; transform: scale(4); } }

/* =============================================
   03. Sticky navigation
   ============================================= */
.site-header { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255,255,255,.88); border-color: rgba(17,17,17,.07); box-shadow: 0 8px 30px rgba(17,17,17,.05); backdrop-filter: blur(18px); }
.nav-wrap { display: flex; height: 84px; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 38px; aspect-ratio: 1; place-items: center; color: var(--ink); background: var(--gold); border-radius: 50%; font-family: var(--font-body); font-size: .71rem; font-weight: 800; letter-spacing: .02em; }
.primary-nav { display: flex; margin-left: auto; align-items: center; gap: 2rem; }
.primary-nav a { position: relative; color: #4b4b4b; font-size: .86rem; font-weight: 500; }
.primary-nav a::after { position: absolute; right: 0; bottom: -.7rem; left: 0; height: 2px; background: var(--gold); content: ""; transform: scaleX(0); transition: transform .25s var(--ease); }
.primary-nav a:hover, .primary-nav a.active { color: var(--ink); }
.primary-nav a.active::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding-inline: 1.2rem; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); background: #fff; border-radius: 50%; }
.menu-toggle span { display: block; width: 100%; height: 1.5px; margin: 5px 0; background: var(--ink); transition: transform .25s, opacity .25s; }

/* =============================================
   04. Hero
   ============================================= */
.hero { min-height: 850px; padding-top: clamp(9rem, 14vw, 12rem); padding-bottom: 0; overflow: hidden; background: linear-gradient(135deg, #fff 0%, #fff 58%, #faf7ef 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; margin-bottom: 1.7rem; padding: .55rem .85rem; align-items: center; gap: .6rem; color: #555; background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: .75rem; font-weight: 600; }
.status-dot { width: 7px; height: 7px; background: #61a66c; border-radius: 50%; box-shadow: 0 0 0 4px rgba(97,166,108,.12); }
.hero-role { min-height: 31px; margin-bottom: 1.25rem; color: var(--gold); font-size: clamp(1.08rem, 1.7vw, 1.35rem); font-weight: 600; letter-spacing: -.02em; }
.typing-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 4px; vertical-align: -.15em; background: var(--gold); animation: blink .8s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-description { max-width: 640px; margin-bottom: 1.5rem; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.hero-features { display: flex; margin: 0 0 2rem; padding: 0; flex-wrap: wrap; gap: .55rem; list-style: none; }
.hero-features li { display: flex; align-items: center; gap: .5rem; color: #555; font-size: .78rem; font-weight: 600; }
.hero-features li::after { color: var(--gold); content: "•"; }
.hero-features li:last-child::after { display: none; }
.hero-actions { display: flex; margin-bottom: 2rem; flex-wrap: wrap; gap: .8rem; }
.trust-line { display: flex; align-items: center; gap: 1rem; color: var(--muted-light); font-size: .75rem; }
.avatar-stack { display: flex; }
.avatar-stack i { display: grid; width: 29px; height: 29px; margin-left: -7px; place-items: center; color: var(--ink); background: #f4ead3; border: 2px solid #fff; border-radius: 50%; font-size: .6rem; font-style: normal; font-weight: 700; }
.avatar-stack i:first-child { margin-left: 0; }
.hero-visual { position: relative; z-index: 1; min-height: 590px; }
.portrait-placeholder { position: absolute; inset: 0 2rem 0 3rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; color: #9b7d3d; background: linear-gradient(155deg, #f5f0e5, #e8e0d1); border-radius: 48% 48% 24px 24px; box-shadow: 0 30px 70px rgba(52,43,24,.18); transition: transform .5s var(--ease); }
.hero-visual:hover .portrait-placeholder { transform: scale(1.015); }
.profile-media { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.image-placeholder .media-fallback { position: absolute; inset: 0; display: none; padding: 1.5rem; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; color: #806f4d; background: linear-gradient(145deg, #f3eee4, #ded5c4); text-align: center; }
.image-placeholder.image-fallback .media-fallback { display: flex; }
.image-placeholder.image-fallback > img { visibility: hidden; }
.media-fallback > span { display: grid; min-width: 58px; min-height: 58px; padding: .6rem; place-items: center; color: var(--ink); background: rgba(255,255,255,.72); border: 1px solid rgba(200,155,60,.36); border-radius: 50%; font-family: var(--font-display); font-size: .85rem; font-weight: 700; }
.media-fallback > strong { color: var(--ink); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.media-fallback > small { font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.placeholder-grid { position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(200,155,60,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(200,155,60,.14) 1px, transparent 1px); background-size: 34px 34px; }
.placeholder-icon { display: grid; width: 88px; height: 88px; place-items: center; color: var(--ink); background: rgba(255,255,255,.62); border: 1px solid rgba(200,155,60,.34); border-radius: 50%; font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; box-shadow: 0 12px 35px rgba(0,0,0,.08); }
.portrait-placeholder strong, .about-portrait strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.portrait-placeholder small, .about-portrait small { color: #806f4d; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.floating-card { position: absolute; z-index: 3; display: flex; padding: 1rem 1.2rem; align-items: center; gap: .8rem; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.8); border-radius: 16px; box-shadow: var(--shadow-md); backdrop-filter: blur(16px); animation: float 5s ease-in-out infinite; }
.floating-card-top { top: 12%; right: -2%; }
.floating-card-bottom { bottom: 15%; left: -2%; animation-delay: -2.5s; }
.floating-card .mini-icon { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: var(--ink); border-radius: 11px; font-weight: 700; }
.floating-card strong, .floating-card small { display: block; line-height: 1.2; }
.floating-card strong { font-size: 1.05rem; }
.floating-card small { margin-top: .25rem; color: var(--muted-light); font-size: .65rem; }
.dashboard-float { position: absolute; z-index: 3; right: 0; bottom: 3%; width: 190px; padding: .9rem; color: var(--muted); background: rgba(255,255,255,.9); border-color: rgba(200,155,60,.35); border-radius: 14px; box-shadow: var(--shadow-sm); animation: float 6s ease-in-out -1.5s infinite; }
.dashboard-label { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dash-bars { display: flex; height: 48px; margin-top: .7rem; align-items: flex-end; gap: 8px; }
.dash-bars i { flex: 1; height: 35%; background: var(--gold-pale); border-radius: 3px 3px 0 0; }
.dash-bars i:nth-child(2) { height: 76%; background: var(--gold); }.dash-bars i:nth-child(3) { height: 52%; }.dash-bars i:nth-child(4) { height: 92%; background: #262626; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.hero-orb-one { top: 14%; left: -130px; width: 280px; height: 280px; border: 1px solid rgba(200,155,60,.17); animation: orbit 12s linear infinite; }
.hero-orb-two { right: 8%; bottom: 12%; width: 90px; height: 90px; background: rgba(200,155,60,.1); animation: drift 7s ease-in-out infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes drift { 50% { transform: translate(20px,-15px); } }
.hero-bottom { display: flex; margin-top: 5rem; padding-block: 1.6rem; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); color: #929292; font-size: .65rem; font-weight: 700; letter-spacing: .15em; }
.hero-bottom i { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }

/* =============================================
   05. What I do and services
   ============================================= */
.intro { background: var(--paper); }
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.highlight-card { position: relative; display: grid; min-height: 320px; padding: clamp(1.8rem, 4vw, 3rem); grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; align-items: start; gap: 1rem 2rem; overflow: hidden; background: var(--surface-warm); border: 1px solid #ece7dd; border-radius: var(--radius-lg); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.highlight-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.highlight-card::before { position: absolute; right: -70px; bottom: -100px; width: 260px; height: 260px; border: 1px solid rgba(200,155,60,.2); border-radius: 50%; content: ""; }
.highlight-number { color: var(--gold); font-family: var(--font-display); font-size: 1rem; }
.highlight-icon { display: grid; width: 76px; height: 76px; margin-left: auto; place-items: center; color: var(--gold); background: rgba(255,255,255,.75); border-radius: 20px; font-size: .66rem; font-weight: 800; letter-spacing: .08em; }
.highlight-card > div:nth-child(3) { grid-column: 1 / -1; max-width: 450px; }
.highlight-card h3 { margin-bottom: .75rem; font-family: var(--font-display); font-size: clamp(1.55rem, 3vw, 2.15rem); }
.highlight-card p { margin-bottom: 0; }
.highlight-card .text-link { grid-column: 1 / -1; }
.highlight-dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.highlight-dark p { color: #aaa; }.highlight-dark .highlight-icon { color: var(--gold); background: #242424; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service-card { position: relative; min-height: 355px; padding: 1.65rem; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.service-card:hover { transform: translateY(-9px); border-color: rgba(200,155,60,.38); box-shadow: var(--shadow-md); }
.service-index { position: absolute; top: 1.45rem; right: 1.5rem; color: #b7b7b7; font-family: var(--font-display); font-size: .83rem; }
.service-icon { display: grid; width: 58px; height: 58px; margin-bottom: 3.4rem; place-items: center; color: var(--gold); background: var(--surface-warm); border-radius: 16px; font-size: .62rem; font-weight: 800; letter-spacing: .05em; transition: transform .35s var(--ease); }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.08); }
.service-card h3 { margin-bottom: .8rem; font-family: var(--font-display); font-size: 1.35rem; }
.service-card p { margin-bottom: 1.5rem; font-size: .87rem; line-height: 1.7; }
.service-card a { position: absolute; right: 1.65rem; bottom: 1.5rem; left: 1.65rem; display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .76rem; font-weight: 600; }
.service-card a span { color: var(--gold); }

/* =============================================
   06. Portfolio projects
   ============================================= */
.projects { background: var(--paper); }
.projects-stack { display: grid; gap: 2rem; }
.project-card { position: relative; display: grid; padding: 1rem; grid-template-columns: 1.18fr .82fr; gap: clamp(1.5rem, 4vw, 4rem); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-reverse { grid-template-columns: .82fr 1.18fr; }
.project-reverse .project-visual { order: 2; }
.project-visual { position: relative; min-height: 470px; padding: 2.5rem; background: #f1ede4; border: 0; border-radius: calc(var(--radius-lg) - 8px); transition: transform .55s var(--ease); }
.project-card:hover .project-ui, .project-card:hover .realty-ui, .project-card:hover .flow-ui { transform: translateY(-6px) scale(1.015); }
.project-browser { position: absolute; top: 1.2rem; right: 1.2rem; left: 1.2rem; display: flex; height: 38px; padding: 0 1rem; align-items: center; gap: 6px; color: #8b8b8b; background: rgba(255,255,255,.88); border-radius: 10px 10px 0 0; box-shadow: 0 10px 35px rgba(0,0,0,.08); font-size: .55rem; }
.project-browser span { width: 6px; height: 6px; background: #ddd; border-radius: 50%; }
.project-browser span:first-child { background: var(--gold); }
.project-browser b { margin-left: 8px; font-weight: 600; }
.project-ui, .realty-ui, .flow-ui { position: absolute; top: 4.55rem; right: 1.2rem; bottom: 2.5rem; left: 1.2rem; overflow: hidden; background: #fff; border-radius: 0 0 14px 14px; box-shadow: 0 20px 45px rgba(43,35,20,.17); transition: transform .55s var(--ease); }
.project-ui { display: grid; grid-template-columns: 54px 1fr; }
.project-ui aside { display: flex; padding: 1rem .6rem; flex-direction: column; align-items: center; gap: 1.1rem; color: #fff; background: #181818; }
.project-ui aside strong { display: grid; width: 28px; height: 28px; place-items: center; color: #111; background: var(--gold); border-radius: 8px; font-size: .55rem; }
.project-ui aside i { width: 18px; height: 3px; background: #444; border-radius: 3px; }
.ui-main { padding: 1.5rem; background: #fbfbfb; }
.ui-title { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; }
.ui-title span { padding: .35rem .6rem; color: #fff; background: #1b1b1b; border-radius: 5px; font-size: .45rem; }
.kanban { display: grid; margin-top: 1.4rem; grid-template-columns: repeat(3,1fr); gap: .6rem; }
.kanban > div { min-height: 220px; padding: .65rem; background: #f1f2f4; border-radius: 7px; }
.kanban b { display: block; margin-bottom: .7rem; color: #555; font-size: .48rem; }
.kanban i { display: block; height: 45px; margin-bottom: .45rem; background: #fff; border-left: 2px solid var(--gold); border-radius: 4px; box-shadow: 0 3px 9px rgba(0,0,0,.04); }
.play-button { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; width: 72px; height: 72px; padding: 0; place-items: center; color: var(--ink); background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 15px 40px rgba(0,0,0,.2); transform: translate(-50%,-50%); backdrop-filter: blur(8px); transition: transform .3s var(--ease), background .3s; }
.play-button:hover { background: var(--gold); transform: translate(-50%,-50%) scale(1.1); }
.play-button span { margin-left: 4px; font-size: 1.15rem; }
.placeholder-label { position: absolute; right: 1.4rem; bottom: .7rem; color: rgba(17,17,17,.45); font-size: .53rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.project-content { align-self: center; padding: 2rem 1rem 2rem 0; }
.project-reverse .project-content { padding: 2rem 0 2rem 1.5rem; }
.project-meta { display: flex; margin-bottom: 1.5rem; justify-content: space-between; color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-meta span:last-child { color: #aaa; }
.project-content h3 { margin-bottom: .35rem; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem); }
.project-content h4 { margin-bottom: 1rem; color: #4c4c4c; font-size: .92rem; font-weight: 600; line-height: 1.5; }
.project-content p { font-size: .9rem; }
.tags { display: flex; margin: 1.5rem 0 2rem; flex-wrap: wrap; gap: .45rem; }
.tags span, .skills span { padding: .45rem .7rem; color: #555; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .65rem; font-weight: 600; }
.project-realty { background: #e9e4d9; }
.realty-ui { padding: 1.3rem; }
.realty-top { display: flex; justify-content: space-between; align-items: center; font-size: .66rem; }
.realty-top span { padding: .35rem .5rem; background: #f4f4f4; border-radius: 5px; color: #777; font-size: .45rem; }
.chart-grid { display: grid; margin-top: 1.3rem; grid-template-columns: 1.6fr .8fr; gap: .8rem; }
.chart-bars { display: flex; height: 150px; padding: .8rem; align-items: flex-end; gap: 10px; background: #f9f9f9; border-radius: 8px; }
.chart-bars i { flex: 1; height: 30%; background: #ead9b6; border-radius: 4px 4px 0 0; }.chart-bars i:nth-child(2){height:58%}.chart-bars i:nth-child(3){height:44%}.chart-bars i:nth-child(4){height:82%;background:var(--gold)}.chart-bars i:nth-child(5){height:67%}.chart-bars i:nth-child(6){height:92%;background:#222}
.chart-stat { padding: .9rem; background: #191919; border-radius: 8px; color: #fff; }.chart-stat small,.chart-stat strong,.chart-stat span{display:block}.chart-stat small{color:#888;font-size:.45rem}.chart-stat strong{margin-top:.7rem;font-size:1.1rem}.chart-stat span{margin-top:.4rem;color:#88bc8a;font-size:.5rem}
.listing-row { display: grid; margin-top: .8rem; grid-template-columns: repeat(3,1fr); gap: .6rem; }.listing-row i{height:70px;background:linear-gradient(135deg,#eee,#ddd);border-radius:7px}
.project-flow { background: #e8e2d7; }
.flow-ui { display: flex; padding: 2rem; flex-direction: column; align-items: center; justify-content: center; background: #f9f9f9; }
.flow-node { min-width: 150px; padding: .8rem; background: #fff; border: 1px solid #e5e5e5; border-left: 3px solid var(--gold); border-radius: 7px; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.flow-node small,.flow-node b{display:block}.flow-node small{color:var(--gold);font-size:.43rem;text-transform:uppercase}.flow-node b{margin-top:.3rem;font-size:.55rem}.flow-line{color:#aaa;font-size:1.2rem}.flow-split{position:relative;display:flex;gap:1.2rem}.flow-split::before{position:absolute;top:-12px;left:20%;width:60%;height:1px;background:#bbb;content:""}

/* =============================================
   07. Pricing
   ============================================= */
.pricing { overflow: visible; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1rem; }
.price-card { position: relative; display: flex; min-width: 0; padding: 2rem; flex-direction: column; overflow: visible; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.price-card.featured { z-index: 1; padding-top: 3.7rem; color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: 0 25px 60px rgba(17,17,17,.2); transform: translateY(-10px); }
.price-card.featured:hover { transform: translateY(-16px); }
.price-card-body { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; }
.price-card.featured p { color: #aaa; }.price-card.featured ul { border-color: #333; }.price-card.featured li { border-color: #2b2b2b; }.price-card.featured li::before { color: var(--ink); background: var(--gold); }
.popular { position: absolute; top: 0; right: 0; left: 0; padding: .62rem; color: var(--ink); background: var(--gold); border-radius: var(--radius-md) var(--radius-md) 0 0; text-align: center; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.plan-top { display: flex; margin-bottom: 1.5rem; align-items: center; justify-content: space-between; }
.plan-top > span { color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.plan-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--gold); background: var(--surface-warm); border-radius: 14px; font-size: .55rem; font-weight: 800; }
.featured .plan-icon { background: #232323; }
.price-card h3 { min-height: 3.8rem; margin-bottom: .7rem; font-family: var(--font-display); font-size: 1.55rem; }
.price-card-body > p { min-height: 4.6rem; margin-bottom: 1.6rem; font-size: .82rem; }
.price { margin-bottom: 1.7rem; }
.price small { display: block; margin-bottom: .25rem; color: var(--muted-light); font-size: .65rem; }
.price strong { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; }
.price sup { margin-right: .15rem; color: var(--gold); font-family: var(--font-body); font-size: 1rem; vertical-align: 1.3rem; }
.price-card ul { margin: 0 0 2rem; padding: 1.4rem 0 0; flex: 1 1 auto; border-top: 1px solid var(--line); list-style: none; }
.price-card li { display: flex; padding: .62rem 0; align-items: center; gap: .7rem; border-bottom: 1px solid #f0f0f0; color: #555; font-size: .78rem; }
.price-card.featured li { color: #c8c8c8; }
.price-card li::before { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; color: #fff; background: var(--ink); border-radius: 50%; font-size: .55rem; content: "✓"; }
.price-card .button { width: 100%; margin-top: auto; }
.pricing-note { max-width: 980px; margin: 2.25rem auto 0; text-align: center; font-size: .72rem; }

/* =============================================
   08. Add-on services
   ============================================= */
.portfolio-add-on-services { overflow: clip; background: var(--surface-warm); }
.portfolio-add-on-services .portfolio-add-on-services__intro { max-width: 830px; margin-bottom: clamp(2.8rem, 5vw, 4.5rem); }
.portfolio-add-on-services .portfolio-add-on-services__intro h2 { max-width: 800px; margin-bottom: 1.4rem; }
.portfolio-add-on-services .portfolio-add-on-services__intro > p { max-width: 740px; margin-bottom: 0; font-size: 1.02rem; }
.portfolio-add-on-services .portfolio-add-on-services__note { margin-top: 1rem; padding-left: 1rem; color: var(--muted-light); border-left: 2px solid var(--gold); font-size: .78rem !important; }
.portfolio-add-on-services .portfolio-add-on-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1.25rem; }
.portfolio-add-on-services .portfolio-add-on-services__card { position: relative; display: flex; min-width: 0; padding: 1.8rem; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.portfolio-add-on-services .portfolio-add-on-services__card:hover { border-color: rgba(200,155,60,.42); box-shadow: var(--shadow-md); transform: translateY(-7px); }
.portfolio-add-on-services .portfolio-add-on-services__icon { display: grid; width: 72px; height: 72px; margin-bottom: 1.45rem; place-items: center; color: var(--ink-soft); background: var(--gold-pale); border: 1px solid rgba(200,155,60,.18); border-radius: 20px; }
.portfolio-add-on-services .portfolio-add-on-services__icon svg { width: 43px; height: 43px; }
.portfolio-add-on-services .portfolio-add-on-services__card--voice .portfolio-add-on-services__icon { color: var(--gold-bright); background: var(--ink-soft); border-color: var(--ink-soft); box-shadow: 0 12px 28px rgba(17,17,17,.14); }
.portfolio-add-on-services .portfolio-add-on-services__card--a2p .portfolio-add-on-services__icon { color: #80662f; background: #f1efe9; border-color: #e2ddcf; }
.portfolio-add-on-services .portfolio-add-on-services__label { margin-bottom: .75rem; color: var(--gold); font-size: .62rem; font-weight: 800; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.portfolio-add-on-services .portfolio-add-on-services__card h3 { margin-bottom: .8rem; color: var(--ink); font-family: var(--font-display); font-size: clamp(1.65rem, 2.1vw, 2rem); }
.portfolio-add-on-services .portfolio-add-on-services__description { margin-bottom: 1.35rem; font-size: .82rem; line-height: 1.7; }
.portfolio-add-on-services .portfolio-add-on-services__features { margin: 0 0 1.4rem; padding: 1.2rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.portfolio-add-on-services .portfolio-add-on-services__features li { display: flex; padding: .46rem 0; align-items: flex-start; gap: .65rem; color: #555; font-size: .76rem; line-height: 1.5; }
.portfolio-add-on-services .portfolio-add-on-services__features li::before { display: grid; width: 17px; height: 17px; flex: 0 0 17px; margin-top: .12rem; place-items: center; color: var(--ink); background: var(--gold-pale); border-radius: 50%; font-size: .58rem; font-weight: 800; content: "✓"; }
.portfolio-add-on-services .portfolio-add-on-services__use-case { margin-top: auto; padding: 1rem; background: var(--surface); border-radius: var(--radius-sm); }
.portfolio-add-on-services .portfolio-add-on-services__use-case strong { display: block; margin-bottom: .32rem; color: var(--gold); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-add-on-services .portfolio-add-on-services__use-case p { margin: 0; font-size: .72rem; line-height: 1.55; }
.portfolio-add-on-services .portfolio-add-on-services__cta { width: 100%; min-height: 48px; margin-top: 1.3rem; }
.portfolio-add-on-services .portfolio-add-on-services__cta:focus-visible { outline-color: var(--gold); outline-offset: 4px; }
.portfolio-add-on-services .portfolio-add-on-services__disclaimer { display: grid; margin-top: 1.5rem; padding: 1.5rem 1.7rem; grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); grid-template-rows: auto 1fr; column-gap: 2rem; background: #fffdf8; border: 1px solid rgba(200,155,60,.35); border-radius: var(--radius-md); box-shadow: 0 12px 34px rgba(76,60,28,.06); }
.portfolio-add-on-services .portfolio-add-on-services__disclaimer-heading { display: flex; align-items: center; gap: .75rem; }
.portfolio-add-on-services .portfolio-add-on-services__disclaimer-heading > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; color: var(--ink); background: var(--gold); border-radius: 50%; font-size: .8rem; font-weight: 800; }
.portfolio-add-on-services .portfolio-add-on-services__disclaimer h3 { margin: 0; font-family: var(--font-display); font-size: 1.15rem; }
.portfolio-add-on-services .portfolio-add-on-services__disclaimer > p { margin: .8rem 0 0; font-size: .74rem; line-height: 1.65; }
.portfolio-add-on-services .portfolio-add-on-services__disclaimer > ul { margin: 0; padding: 0; grid-column: 2; grid-row: 1 / 3; list-style: none; }
.portfolio-add-on-services .portfolio-add-on-services__disclaimer > ul li { position: relative; padding: .38rem 0 .38rem 1.15rem; color: #5b5549; font-size: .72rem; line-height: 1.5; }
.portfolio-add-on-services .portfolio-add-on-services__disclaimer > ul li::before { position: absolute; top: .88rem; left: 0; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; content: ""; }

@media (max-width: 1050px) {
  .portfolio-add-on-services .portfolio-add-on-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-add-on-services .portfolio-add-on-services__card--a2p { width: calc(50% - .625rem); grid-column: 1 / -1; justify-self: center; }
}

@media (max-width: 820px) {
  .portfolio-add-on-services .portfolio-add-on-services__disclaimer { grid-template-columns: 1fr; grid-template-rows: auto; gap: 0; }
  .portfolio-add-on-services .portfolio-add-on-services__disclaimer > ul { margin-top: 1rem; grid-column: auto; grid-row: auto; }
}

@media (max-width: 700px) {
  .portfolio-add-on-services .portfolio-add-on-services__grid { grid-template-columns: 1fr; }
  .portfolio-add-on-services .portfolio-add-on-services__card--a2p { width: 100%; grid-column: auto; }
  .portfolio-add-on-services .portfolio-add-on-services__intro > p { font-size: .92rem; }
  .portfolio-add-on-services .portfolio-add-on-services__card { padding: 1.5rem; }
}

@media (max-width: 380px) {
  .portfolio-add-on-services .portfolio-add-on-services__card { padding: 1.2rem; border-radius: 18px; }
  .portfolio-add-on-services .portfolio-add-on-services__icon { width: 64px; height: 64px; border-radius: 17px; }
  .portfolio-add-on-services .portfolio-add-on-services__icon svg { width: 38px; height: 38px; }
  .portfolio-add-on-services .portfolio-add-on-services__disclaimer { padding: 1.2rem; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-add-on-services .portfolio-add-on-services__card { transition: none; }
  .portfolio-add-on-services .portfolio-add-on-services__card:hover { transform: none; }
}

/* =============================================
   09. Process and About
   ============================================= */
.process-track { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: .8rem; }
.process-card { min-height: 320px; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.process-card:hover { transform: translateY(-6px); border-color: rgba(200,155,60,.5); box-shadow: var(--shadow-sm); }
.step-number { color: var(--gold); font-family: var(--font-display); font-size: .9rem; }
.process-icon { display: grid; width: 56px; height: 56px; margin: 2rem 0 1.4rem; place-items: center; color: var(--gold); background: var(--surface-warm); border-radius: 15px; font-size: .55rem; font-weight: 800; }
.process-card h3 { margin-bottom: .6rem; font-family: var(--font-display); font-size: 1.2rem; }
.process-card p { margin-bottom: 0; font-size: .78rem; }
.process-arrow { color: var(--gold); font-size: 1.25rem; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.about-visual { position: relative; min-height: 610px; }
.about-portrait { position: absolute; inset: 0 3rem 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; color: #8a7346; background: linear-gradient(145deg,#ece8df,#dcd4c5); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-badge { position: absolute; top: 9%; right: 0; display: flex; min-width: 150px; padding: 1.2rem; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); }
.about-badge strong { color: var(--gold); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }.about-badge span { margin-top: .25rem; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.about-quote { position: absolute; right: 0; bottom: 6%; max-width: 250px; padding: 1.25rem 1.4rem; color: #fff; background: var(--ink); border-left: 3px solid var(--gold); border-radius: 14px; box-shadow: var(--shadow-md); font-family: var(--font-display); font-size: 1rem; line-height: 1.4; }
.about-copy p { font-size: .95rem; }
.skills-wrap { margin: 2rem 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.skills-wrap h3 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.skills { display: flex; flex-wrap: wrap; gap: .5rem; }
.skills span { background: #fff; }

/* =============================================
   09. Contact form
   ============================================= */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(3rem, 7vw, 7rem); }
.contact-copy { position: sticky; top: 130px; }
.contact-copy > p { max-width: 470px; }
.contact-details { display: grid; margin: 2rem 0; gap: 1rem; }
.contact-details a, .contact-details > div { display: flex; align-items: center; gap: 1rem; }
.contact-icon { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; color: var(--gold); background: var(--surface-warm); border: 1px solid #eee6d7; border-radius: 13px; font-weight: 700; }
.contact-details small, .contact-details strong { display: block; }.contact-details small{color:#999;font-size:.6rem;text-transform:uppercase;letter-spacing:.08em}.contact-details strong{font-size:.8rem}
.socials { display: flex; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .5rem; }
.socials a { display: inline-flex; height: 38px; padding: 0 .8rem; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; font-weight: 700; transition: border-color .25s, transform .25s; }.socials a:hover{transform:translateY(-2px);border-color:var(--gold)}.socials span{font-weight:500}
.booking-button { min-height: 46px; }
.contact-form { padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-heading { display: flex; margin-bottom: 2rem; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.form-heading span { color: var(--gold); font-size: .63rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.form-heading h3 { margin: .25rem 0 0; font-family: var(--font-display); font-size: 1.8rem; }
.form-heading .form-status { display: flex; padding: .45rem .65rem; align-items: center; gap: .4rem; color: #707070; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .53rem; letter-spacing: 0; text-transform: none; }
.form-status i { width: 6px; height: 6px; background: #68a870; border-radius: 50%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid label { display: flex; min-width: 0; flex-direction: column; }
.form-grid label > span { margin-bottom: .5rem; color: #3b3b3b; font-size: .7rem; font-weight: 600; }.form-grid label b { color: var(--gold); }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: .9rem 1rem; color: var(--ink); background: #fff; border: 1px solid #dedede; border-radius: 11px; outline: none; font-size: .8rem; transition: border-color .25s, box-shadow .25s; }
.form-grid input, .form-grid select { height: 50px; }.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,155,60,.1); }
.form-grid .invalid { border-color: #b94a48; box-shadow: 0 0 0 3px rgba(185,74,72,.08); }
.full-field { grid-column: 1 / -1; }
.field-error { min-height: 17px; padding-top: .25rem; color: #a83c3a; font-size: .6rem; }
.form-submit { width: 100%; margin-top: .5rem; border: 0; }
.form-message { margin: .75rem 0 0; color: #4a8453; text-align: center; font-size: .72rem; }

/* =============================================
   10. Final CTA and footer
   ============================================= */
.final-cta { position: relative; padding-block: clamp(5.5rem, 10vw, 9rem); overflow: hidden; color: #fff; background: #111; }
.final-grid { position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to right, transparent, black, transparent); }
.final-orb { position: absolute; top: 50%; left: 50%; width: 650px; height: 650px; background: radial-gradient(circle, rgba(200,155,60,.19), transparent 65%); border-radius: 50%; transform: translate(-50%,-50%); }
.final-content { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.kicker-light::after { width: 24px; height: 1px; background: currentColor; content: ""; }
.final-content h2 { font-size: clamp(3rem, 6vw, 5.6rem); }
.final-content p { max-width: 700px; margin: 0 auto 2.2rem; color: #a7a7a7; }
.final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; }
.site-footer { color: #a8a8a8; background: #0b0b0b; border-top: 1px solid #232323; }
.footer-main { display: grid; padding-block: 4rem; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer-brand { color: #fff; }.footer-main p{margin:.8rem 0 0;font-size:.75rem}.footer-main nav,.footer-social{display:grid;align-content:start;gap:.75rem}.footer-main nav a,.footer-social a{font-size:.75rem;transition:color .2s}.footer-main a:hover{color:var(--gold)}
.footer-bottom { display: flex; padding-block: 1.3rem; justify-content: space-between; border-top: 1px solid #222; font-size: .62rem; }
.back-to-top { position: fixed; z-index: 900; right: 24px; bottom: 24px; display: grid; width: 46px; height: 46px; place-items: center; color: var(--ink); background: var(--gold); border: 0; border-radius: 50%; box-shadow: var(--shadow-gold); opacity: 0; transform: translateY(15px); pointer-events: none; transition: opacity .25s, transform .25s; }.back-to-top.visible{opacity:1;transform:translateY(0);pointer-events:auto}.back-to-top:hover{transform:translateY(-3px)}

/* =============================================
   Funnel portfolio carousel
   ============================================= */
.funnel-showcase { margin-top: clamp(6rem, 10vw, 10rem); padding-top: clamp(4rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.funnel-carousel-header { display: grid; margin-bottom: 2.5rem; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
.funnel-showcase-heading { max-width: 760px; }
.funnel-showcase-heading h2 { margin-bottom: 1.25rem; }
.funnel-showcase-heading p { max-width: 650px; margin-bottom: 0; }
.funnel-carousel-actions { display: flex; padding-bottom: .35rem; flex-direction: column; align-items: flex-end; gap: 1rem; }
.funnel-drag-hint { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted-light); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.funnel-drag-hint span { color: var(--gold); font-size: 1rem; }
.funnel-carousel-controls { display: flex; gap: .55rem; }
.funnel-carousel-button { display: grid; width: 46px; height: 46px; padding: 0; place-items: center; color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 50%; font-size: 1rem; transition: transform .25s var(--ease), background .25s, border-color .25s, opacity .25s; }
.funnel-carousel-button:not(:disabled):hover { color: var(--ink); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.funnel-carousel-button:disabled { color: #aaa; background: #f1f1f1; border-color: var(--line); cursor: not-allowed; opacity: .72; }
.funnel-carousel-shell { position: relative; margin-inline: calc((100vw - min(calc(100vw - 40px), var(--container))) / -2); overflow: hidden; }
.funnel-carousel-viewport { width: 100%; overflow-x: auto; overflow-y: hidden; cursor: grab; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-y; overscroll-behavior-inline: contain; }
.funnel-carousel-viewport::-webkit-scrollbar { display: none; }
.funnel-carousel-viewport.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }
.funnel-carousel-track { display: flex; width: max-content; padding: .75rem max(20px, calc((100vw - var(--container)) / 2)) 2.5rem; flex-wrap: nowrap; gap: clamp(18px, 1.6vw, 24px); }
.funnel-card { position: relative; display: flex; width: clamp(230px, 20vw, 285px); padding: 0; flex: 0 0 auto; flex-direction: column; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); scroll-snap-align: start; text-align: left; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.funnel-card:hover { transform: translateY(-8px); border-color: rgba(200,155,60,.42); box-shadow: var(--shadow-md); }
.funnel-card:focus-visible { outline: 3px solid rgba(200,155,60,.6); outline-offset: 4px; }
.funnel-card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-warm); border: 0; border-bottom: 1px dashed rgba(200,155,60,.45); }
.funnel-card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.funnel-card:hover .funnel-card-media > img { transform: scale(1.045); }
.funnel-card-media .media-fallback { background: linear-gradient(145deg, #f5f1e8, #e2dacb); }
.funnel-card-media .media-fallback::before { position: absolute; inset: 12%; border: 1px solid rgba(200,155,60,.18); border-radius: 50%; content: ""; }
.funnel-card-media .media-fallback > strong { max-width: 190px; font-size: 1.15rem; text-align: center; }
.funnel-card-content { display: flex; min-height: 215px; padding: 1.3rem; flex-direction: column; }
.funnel-card-meta { display: flex; margin-bottom: .9rem; justify-content: space-between; gap: .7rem; color: var(--gold); font-size: .57rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.funnel-card-step-count { color: #999; white-space: nowrap; }
.funnel-card-title { display: block; margin-bottom: .45rem; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; letter-spacing: -.02em; }
.funnel-card-type { display: block; color: var(--muted); font-size: .7rem; }
.funnel-card-open { display: flex; margin-top: auto; padding-top: 1.05rem; align-items: center; justify-content: space-between; color: var(--ink); border-top: 1px solid var(--line); font-size: .68rem; font-weight: 700; }
.funnel-card-open span { color: var(--gold); transition: transform .25s var(--ease); }
.funnel-card:hover .funnel-card-open span { transform: translate(2px, -2px); }

/* =============================================
   Funnel project modal
   ============================================= */
.funnel-modal { position: fixed; z-index: 1600; inset: 0; display: grid; padding: clamp(12px, 2vw, 28px); place-items: center; }
.funnel-modal[hidden] { display: none; }
.funnel-modal-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 4, .84); backdrop-filter: blur(14px); animation: funnel-backdrop-in .28s ease both; }
.funnel-modal-dialog { position: relative; z-index: 1; display: grid; width: min(1600px, 100%); height: min(88dvh, 900px); max-height: 88dvh; grid-template-columns: minmax(0, 2.25fr) minmax(360px, .75fr); overflow: hidden; color: var(--ink); background: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); box-shadow: 0 35px 100px rgba(0,0,0,.42); animation: funnel-dialog-in .38s var(--ease) both; }
@keyframes funnel-backdrop-in { from { opacity: 0; } }
@keyframes funnel-dialog-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.funnel-modal-close { position: absolute; z-index: 5; top: 14px; right: 14px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; color: #fff; background: rgba(17,17,17,.88); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-size: 1.4rem; line-height: 1; transition: background .25s, transform .25s; }
.funnel-modal-close:hover { color: var(--ink); background: var(--gold); transform: rotate(4deg); }
.funnel-modal-gallery { display: grid; min-width: 0; min-height: 0; padding: 1.25rem; grid-template-rows: auto auto auto; align-content: center; gap: .85rem; background: #0f0f0f; }
.funnel-modal-gallery-toolbar { display: flex; min-height: 34px; padding-right: 3.3rem; align-items: center; justify-content: space-between; gap: 1rem; }
  .funnel-modal-full-page-button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem .8rem; color: #f6e7bd; background: #211d15; border: 1px solid rgba(200,155,60,.45); border-radius: 999px; font-size: .65rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
.funnel-modal-full-page-button:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.funnel-modal-counter { margin-left: auto; color: #d2c49f; font-size: .7rem; font-weight: 700; letter-spacing: .08em; }
.funnel-modal-stage { position: relative; width: 100%; min-height: 0; aspect-ratio: 16 / 9; overflow: hidden; touch-action: pan-y; background: #1a1a1a; border: 1px solid rgba(200,155,60,.28); border-radius: 18px; }
.funnel-modal-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: opacity .2s ease; }
.funnel-modal-stage.is-changing .funnel-modal-image { opacity: .25; }
.funnel-modal-image-fallback { color: #d1b36d; background: radial-gradient(circle at 50% 25%, #302b21, #151515 68%); }
.funnel-modal-image-fallback > span { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.funnel-modal-image-fallback > strong { max-width: 320px; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.35rem); }
.funnel-modal-image-fallback > small { color: #b9a779; }
.funnel-modal-gallery-button { position: absolute; z-index: 3; top: 50%; display: grid; width: 48px; height: 48px; padding: 0; place-items: center; color: var(--ink); background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.78); border-radius: 50%; box-shadow: 0 8px 26px rgba(0,0,0,.22); transform: translateY(-50%); transition: background .25s, transform .25s; }
.funnel-modal-gallery-button:hover { background: var(--gold); transform: translateY(-50%) scale(1.06); }
.funnel-modal-gallery-button:disabled { opacity: .35; cursor: not-allowed; }
.funnel-modal-image-prev { left: 16px; }.funnel-modal-image-next { right: 16px; }
.funnel-modal-thumbnails { display: flex; min-width: 0; padding: 2px; overflow-x: auto; gap: .55rem; scrollbar-width: thin; scrollbar-color: var(--gold) #232323; }
.funnel-modal-thumbnail { position: relative; width: 66px; aspect-ratio: 4 / 5; padding: 0; flex: 0 0 auto; overflow: hidden; background: #292929; border: 2px solid transparent; border-radius: 9px; opacity: .58; transition: opacity .2s, border-color .2s, transform .2s; }
.funnel-modal-thumbnail:hover, .funnel-modal-thumbnail[aria-selected="true"] { border-color: var(--gold); opacity: 1; transform: translateY(-2px); }
.funnel-modal-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.funnel-modal-thumbnail.image-fallback::after { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); background: #252219; font-size: .62rem; font-weight: 800; content: attr(data-step-label); }
.funnel-full-page-viewport { position: relative; min-height: 0; max-height: calc(100vh - 190px); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; background: #171717; border: 1px dashed rgba(200,155,60,.32); border-radius: 18px; }
.funnel-full-page-viewport[hidden] { display: none; }
.funnel-full-page-image { display: block; width: 100%; height: auto; }
.funnel-full-page-fallback { color: #d1b36d; background: radial-gradient(circle at 50% 20%, #302b21, #151515 68%); }
.funnel-scroll-hint { position: sticky; z-index: 2; bottom: .8rem; display: table; margin: -2.8rem auto .8rem; padding: .55rem .85rem; color: #fff; background: rgba(17,17,17,.88); border: 1px solid rgba(200,155,60,.5); border-radius: 999px; font-size: .62rem; font-weight: 700; backdrop-filter: blur(8px); }
.funnel-full-page-active { grid-template-rows: auto minmax(0, 1fr); align-content: stretch; }
.funnel-full-page-active .funnel-modal-stage, .funnel-full-page-active .funnel-modal-thumbnails, .funnel-full-page-active .funnel-modal-counter { display: none; }
.funnel-modal-details { min-width: 0; max-height: inherit; padding: clamp(2.2rem, 4vw, 4rem) clamp(1.6rem, 3vw, 3rem) 2rem; overflow-y: auto; }
.funnel-modal-category { display: inline-block; margin-bottom: 1rem; color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.funnel-modal-title { margin-bottom: .65rem; font-size: clamp(2rem, 3vw, 3.2rem); }
.funnel-modal-type { margin-bottom: 1.5rem; color: #444; font-size: .8rem; font-weight: 700; }
.funnel-modal-purpose-label { display: block; margin-bottom: .45rem; color: var(--gold); font-size: .61rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.funnel-modal-description { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); font-size: .9rem; line-height: 1.75; }
.funnel-modal-facts { display: grid; margin: 1.4rem 0; gap: 1rem; }
.funnel-modal-facts div { display: grid; grid-template-columns: 105px 1fr; gap: .8rem; }
.funnel-modal-facts dt { color: #999; font-size: .61rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.funnel-modal-facts dd { margin: 0; color: #444; font-size: .76rem; }
.funnel-modal-tags { display: flex; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .45rem; }
.funnel-modal-tags span { padding: .42rem .65rem; color: #555; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .61rem; font-weight: 600; }
.funnel-modal-actions { display: grid; gap: .9rem; }
.funnel-modal-actions .button { width: 100%; }
.funnel-modal-walkthrough-link { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; color: #8f6a1f; font-size: .72rem; font-weight: 700; }
.funnel-modal-live-link[hidden], .funnel-modal-walkthrough-link[hidden], .funnel-modal-full-page-button[hidden] { display: none; }

/* =============================================
   11. Reveal animations
   ============================================= */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay, .reveal-delay-1 { transition-delay: .12s !important; }.reveal-delay-2{transition-delay:.22s !important}.reveal-delay-3{transition-delay:.32s !important}

/* =============================================
   12. Responsive layout
   ============================================= */
@media (min-width: 1500px) { :root { --container: 1320px; }.hero { min-height: 930px; }.hero-visual{min-height:650px}.service-card{min-height:370px} }
@media (max-width: 1050px) {
  .primary-nav { gap: 1.3rem; }.nav-cta{display:none}
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }.hero-visual{min-height:520px}.portrait-placeholder{inset:0 1.5rem}.floating-card-top{right:-1rem}.dashboard-float{display:none}
  .services-grid { grid-template-columns: 1fr 1fr; }.service-card{min-height:320px}
  .project-card, .project-reverse { grid-template-columns: 1fr; }.project-reverse .project-visual{order:0}.project-content,.project-reverse .project-content{padding:1.5rem}.project-visual{min-height:460px}
  .pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.price-card{padding:1.5rem}.price-card.featured{padding-top:3.7rem}.price-card:last-child{width:calc(50% - .5rem);grid-column:1/-1;justify-self:center}
  .process-track { grid-template-columns: 1fr 1fr; }.process-arrow{display:none}.process-card{min-height:240px}
  .about-grid{gap:3rem}.about-visual{min-height:550px}.contact-grid{gap:3rem}
  .funnel-card { width: clamp(250px, 38vw, 330px); }
  .funnel-modal { padding: 20px; }
  .funnel-modal-dialog { max-height: calc(100dvh - 40px); grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr); }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }.nav-wrap{height:72px}.menu-toggle{display:block;margin-left:auto}.nav-cta{display:none}
  .primary-nav { position: absolute; top: 72px; right: 20px; left: 20px; display: grid; padding: 1rem; gap: 0; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(-10px) scale(.98); visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; backdrop-filter: blur(18px); }
  .primary-nav.open { opacity: 1; transform: translateY(0) scale(1); visibility: visible; }.primary-nav a{padding:.85rem;border-bottom:1px solid #eee}.primary-nav a:last-child{border:0}.primary-nav a::after{display:none}
  .menu-toggle.active span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}.menu-toggle.active span:nth-child(2){opacity:0}.menu-toggle.active span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
  .hero { padding-top: 8.4rem; }.hero-grid{grid-template-columns:1fr}.hero-copy{text-align:center}.hero-description{margin-inline:auto}.hero-features,.hero-actions,.trust-line{justify-content:center}.hero-visual{width:min(100%,560px);min-height:580px;margin-inline:auto}.portrait-placeholder{inset:0 3rem}.hero-bottom{margin-top:4rem}.hero-bottom span:nth-of-type(2){display:none}.hero-bottom i:nth-of-type(2){display:none}
  .split-heading { grid-template-columns: 1fr; gap: 1.5rem; }.split-heading p{max-width:620px}
  .highlight-grid{grid-template-columns:1fr}.highlight-card{min-height:300px}
  .pricing-grid{grid-template-columns:1fr;max-width:560px;margin-inline:auto;gap:1.25rem}.price-card,.price-card.featured{width:100%;min-height:auto;padding-bottom:1.5rem;transform:none}.price-card.featured{padding-top:3.8rem}.price-card.featured:hover,.price-card:hover{transform:translateY(-6px)}.price-card:last-child{width:100%;grid-column:auto}.price-card h3,.price-card-body>p{min-height:auto}.price-card .button{width:100%}
  .about-grid,.contact-grid{grid-template-columns:1fr}.about-visual{width:min(100%,560px);margin-inline:auto}.contact-copy{position:static}.contact-form{max-width:660px}
  .footer-main{grid-template-columns:1fr 1fr}.footer-main>div:first-child{grid-column:1/-1}
  .funnel-carousel-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .funnel-carousel-actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .funnel-carousel-shell { margin-inline: -20px; }
  .funnel-carousel-track { padding-inline: 20px; }
  .funnel-modal-dialog { grid-template-columns: 1fr; grid-template-rows: minmax(340px, 56vh) minmax(0, auto); overflow-y: auto; }
  .funnel-modal-gallery { min-height: 480px; }
  .funnel-full-page-viewport { height: 65vh; max-height: 65vh; }
  .funnel-modal-details { max-height: none; overflow: visible; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  h1 { font-size: clamp(3rem, 16vw, 4.2rem); }.hero{min-height:auto}.hero-role{font-size:1rem}.hero-features li{font-size:.68rem}.hero-actions .button{width:100%}.trust-line{align-items:flex-start;text-align:left}
  .hero-visual{min-height:460px}.portrait-placeholder{inset:0 1.2rem;border-radius:46% 46% 20px 20px}.floating-card{padding:.8rem}.floating-card-top{right:-.2rem}.floating-card-bottom{left:-.2rem}.floating-card .mini-icon{width:30px;height:30px}.hero-bottom{justify-content:center}.hero-bottom span:nth-of-type(3),.hero-bottom i{display:none}
  .section-heading br { display: none; }.services-grid{grid-template-columns:1fr}.service-card{min-height:305px}
  .project-card{padding:.6rem;border-radius:24px}.project-visual{min-height:360px;padding:1rem}.project-browser{top:.8rem;right:.8rem;left:.8rem}.project-ui,.realty-ui,.flow-ui{top:4.15rem;right:.8rem;bottom:2.2rem;left:.8rem}.ui-main{padding:.8rem}.kanban{gap:.3rem}.kanban>div{padding:.35rem}.project-content,.project-reverse .project-content{padding:1.4rem .9rem 1.7rem}.project-meta{gap:1rem}.project-content .button{width:100%;font-size:.76rem}.play-button{width:60px;height:60px}.chart-grid{grid-template-columns:1fr}.chart-stat{display:none}.flow-split{flex-direction:column}.flow-split::before{display:none}
  .process-track{grid-template-columns:1fr}.process-card{min-height:auto}.process-icon{margin:1.2rem 0}
  .about-visual{min-height:470px}.about-portrait{inset:0 1.5rem 0 0}.about-badge{top:5%}.about-quote{max-width:220px}.about-copy br{display:none}
  .form-heading{display:block}.form-heading .form-status{display:inline-flex;margin-top:1rem}.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}
  .final-actions .button{width:100%}.footer-main{grid-template-columns:1fr}.footer-main>div:first-child{grid-column:auto}.footer-bottom{flex-direction:column;gap:.4rem}.back-to-top{right:16px;bottom:16px}
  .funnel-showcase { margin-top: 5rem; padding-top: 4rem; }
  .funnel-carousel-actions { align-items: center; }
  .funnel-drag-hint { font-size: .6rem; }
  .funnel-carousel-button { width: 44px; height: 44px; }
  .funnel-carousel-shell { margin-inline: -14px; }
  .funnel-carousel-track { padding-inline: 14px; }
  .funnel-card { width: min(82vw, 330px); }
  .funnel-modal { padding: 0; }
  .funnel-modal-dialog { width: 100%; height: 100dvh; max-height: 100dvh; grid-template-rows: minmax(360px, 58vh) auto; border: 0; border-radius: 0; }
  .funnel-modal-gallery { min-height: 0; padding: .75rem; }
  .funnel-modal-gallery-toolbar { padding-right: 3.5rem; }
  .funnel-modal-full-page-button { max-width: calc(100% - 2.5rem); }
  .funnel-full-page-viewport { height: 65vh; max-height: 65vh; border-radius: 14px; }
  .funnel-modal-stage { border-radius: 14px; }
  .funnel-modal-close { position: fixed; top: 10px; right: 10px; width: 48px; height: 48px; }
  .funnel-modal-gallery-button { width: 46px; height: 46px; }
  .funnel-modal-image-prev { left: 10px; }.funnel-modal-image-next { right: 10px; }
  .funnel-modal-thumbnail { width: 58px; }
  .funnel-modal-details { padding: 2rem 1.2rem 2.5rem; }
  .funnel-modal-actions .button, .funnel-modal-walkthrough-link { width: 100%; }
  .funnel-modal-facts div { grid-template-columns: 90px 1fr; }
}

/* =============================================
   13. Motion and print preferences
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .funnel-carousel-viewport { scroll-behavior: auto; }
  .funnel-card:hover, .funnel-modal-thumbnail:hover { transform: none; }
  .funnel-modal-image { transition: none; }
}
@media print { .site-header,.back-to-top,.hero-orb,.final-grid,.final-orb{display:none!important}.section{padding-block:3rem}.hero{padding-top:3rem}.project-card,.price-card,.highlight-card{break-inside:avoid;box-shadow:none}.final-cta{color:#111;background:#fff}.final-content p{color:#555} }
