/* ============================================================
   DESIGNFAELO — THE ATELIER
   Tokens → base → Frame device → components → sections → responsive
   ============================================================ */

:root {
  /* Color */
  --bg:                #F7F5EF;
  --bg-deep:           #1E2721;
  --surface:           #FFFEFA;
  --surface-deep:      #27332C;
  --accent:            #3D6B5E;
  --accent-bright:     #C9A86A;
  --text-primary:      #1E2721;
  --text-inverse:      #F7F5EF;
  --text-secondary:    #4E5A52;
  --text-secondary-inverse: #AEBBB2;
  --border:            rgba(30,39,33,0.12);
  --border-inverse:    rgba(247,245,239,0.12);

  --r-sm: 4px; --r-md: 10px; --r-lg: 18px; --r-full: 999px;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --h1: clamp(2.5rem, 5.4vw, 4.75rem);
  --h2: clamp(2rem, 3.8vw, 3.125rem);
  --h3: clamp(1.375rem, 2.1vw, 1.75rem);
  --h4: clamp(1.125rem, 1.4vw, 1.3125rem);
  --eyebrow: clamp(0.72rem, 0.85vw, 0.8125rem);
  --lead: clamp(1.0625rem, 1.3vw, 1.25rem);
  --body: clamp(0.9375rem, 1.05vw, 1rem);
  --small: clamp(0.8125rem, 0.9vw, 0.875rem);

  --shadow-card: 0 14px 36px -14px rgba(30,39,33,0.14);
  --glow-gold: 0 0 30px rgba(201,168,106,0.16);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-loading { overflow: hidden; }

/* Lenis smooth-scroll base — required so Lenis drives scroll cleanly. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
  background: var(--bg);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (pointer: fine) and (min-width: 1024px) {
  body, a, button, .tile, .svc-card, .pkg-card { cursor: none; }
}

img { max-width: 100%; display: block; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }

/* ---------- Typography helpers ---------- */
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.08em; }
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-weight: 500; font-size: var(--eyebrow);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--h2); line-height: 1.12; color: var(--text-primary); letter-spacing: -0.01em; }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--h3); line-height: 1.2; color: var(--text-primary); }
.h4 { font-family: var(--font-display); font-weight: 600; font-size: var(--h4); line-height: 1.25; color: var(--text-primary); }
.lead { font-size: var(--lead); line-height: 1.6; color: var(--text-secondary); max-width: 62ch; }
.lead--inverse { color: var(--text-secondary-inverse); }
.section--dark .h2, .section--dark .h3, .section--dark .h4 { color: var(--text-inverse); }

/* ---------- Layout primitives ---------- */
.container { max-width: 1280px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px); position: relative; }
.section { padding-block: clamp(88px, 10vw, 136px); position: relative; }
.section--dark { background: var(--bg-deep); }

/* Paper grain on light sections */
.section:not(.section--dark)::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  filter: url(#paperGrain); opacity: 0.02; mix-blend-mode: multiply;
}
.section > .container { position: relative; z-index: 1; }

.section-head { margin-bottom: 52px; max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--flush { margin-bottom: 0; }
.section-head__lead { margin-top: 22px; }

/* ---------- Logo ---------- */
.logo-img { height: 32px; width: auto; object-fit: contain; }
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--text-primary); line-height: 40px; display: inline-block; }
.logo-text em { font-style: normal; color: var(--accent); }
.logo-text--light { color: var(--text-inverse); }

/* ============================================================
   THE FRAME — signature corner-bracket device
   ============================================================ */
.frame { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.fc {
  position: absolute; width: 14px; height: 14px;
  border: 1.5px solid var(--accent);
}
.fc--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.fc--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.fc--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.fc--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* Draw-in frame: corners start expanded outward + transparent, then seat */
.frame--draw .fc { opacity: 0; transition: transform 900ms cubic-bezier(0.16,1,0.3,1), opacity 900ms ease; }
.frame--draw .fc--tl { transform: translate(-9px, -9px); }
.frame--draw .fc--tr { transform: translate(9px, -9px); }
.frame--draw .fc--bl { transform: translate(-9px, 9px); }
.frame--draw .fc--br { transform: translate(9px, 9px); }
.frame--draw.seated .fc { opacity: 1; transform: translate(0, 0); }

/* Hover frame: appears + tightens on parent hover */
.frame--hover .fc { opacity: 0; transition: transform 300ms cubic-bezier(0.16,1,0.3,1), opacity 300ms ease; }
.frame--hover .fc--tl { transform: translate(-9px, -9px); }
.frame--hover .fc--tr { transform: translate(9px, -9px); }
.frame--hover .fc--bl { transform: translate(-9px, 9px); }
.frame--hover .fc--br { transform: translate(9px, 9px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative;
  font-family: var(--font-body); font-weight: 500; font-size: var(--body); letter-spacing: 0.01em;
  padding: 14px 30px; border-radius: var(--r-full);
  transition: transform 280ms ease-out, background 280ms ease-out, color 280ms ease-out, box-shadow 280ms ease-out, filter 280ms ease-out;
}
@media (max-width: 767px) { .btn { min-height: 48px; } }

.btn--primary { background: var(--accent); color: var(--text-inverse); }
.btn--primary:hover { filter: brightness(1.08); transform: scale(1.02); box-shadow: 0 8px 22px -6px rgba(201,168,106,0.30); }
.btn--primary:active { transform: scale(0.98); }

.btn--ghost { border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn--ghost:hover { background: var(--accent); color: var(--text-inverse); }
.btn--ghost-dark { border: 1px solid var(--border-inverse); color: var(--text-inverse); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost-dark:hover { background: var(--accent); border-color: var(--accent); color: var(--text-inverse); }

.micro-link {
  display: inline-flex; align-items: center; gap: 6px; position: relative; padding-bottom: 2px;
  font-family: var(--font-body); font-weight: 500; font-size: var(--small); color: var(--accent);
}
.micro-link--lg { font-size: var(--body); }
.micro-link--inverse { color: var(--accent-bright); }
.micro-link i { width: 15px; height: 15px; transition: transform 280ms ease-out; }
.micro-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 280ms ease-out; }
.micro-link:hover::after { transform: scaleX(1); }
.micro-link:hover i { transform: translateX(3px); }

.text-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--accent); z-index: 200; transition: width 100ms linear, opacity 500ms ease; }

/* Pre-hide hero content + scroll cue during preload so nothing flashes before its
   intro animation is ready. Released by JS once GSAP has latched the start states. */
html.is-preload .hero__content,
html.is-preload .hero__previews,
html.is-preload .hero__orbit,
html.is-preload .hero__scroll,
html.is-preload .scroll-progress { opacity: 0; }
.hero__orbit { transition: opacity 900ms ease 200ms; }
.hero__scroll { transition: opacity 700ms ease 150ms; }

/* ============================================================
   PRELOADER — THE STAMP
   ============================================================ */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--bg-deep); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.preloader__grain { position: absolute; inset: 0; filter: url(#paperGrain); opacity: 0.05; }
.preloader__stack { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; position: relative; }
.preloader__label { color: var(--accent-bright); font-size: 0.75rem; letter-spacing: 0.28em; }
.preloader__logo { height: 40px; display: flex; align-items: center; }
.preloader__logo .logo-img { height: 46px; }
.preloader__tagline { font-family: var(--font-display); font-weight: 500; font-style: italic; color: var(--text-inverse); font-size: 1.15rem; }
.preloader__stamp { position: relative; width: 132px; height: 92px; display: flex; align-items: center; justify-content: center; }
.preloader__stamp .fc { width: 22px; height: 22px; border-color: var(--accent); opacity: 0; transition: transform 1s cubic-bezier(0.76,0,0.24,1), opacity 1s ease; }
.preloader__stamp .fc--tl { transform: translate(-46px, -34px); }
.preloader__stamp .fc--tr { transform: translate(46px, -34px); }
.preloader__stamp .fc--bl { transform: translate(-46px, 34px); }
.preloader__stamp .fc--br { transform: translate(46px, 34px); }
.preloader__stamp.stamped .fc { opacity: 1; transform: translate(0,0); }
.preloader__counter { color: var(--text-secondary-inverse); font-size: 0.85rem; min-width: 3ch; }
.preloader.is-hidden { clip-path: inset(0 0 100% 0); transition: clip-path 800ms cubic-bezier(0.76,0,0.24,1); }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; opacity: 0; }
.cursor-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin: -3px 0 0 -3px; }
.cursor-ring {
  width: 30px; height: 30px; border: 1px solid var(--accent); border-radius: 50%; margin: -15px 0 0 -15px;
  display: flex; align-items: center; justify-content: center;
  transition: width 280ms ease, height 280ms ease, background 280ms ease, opacity 280ms ease, border-radius 280ms ease;
}
.cursor-ring .fc { width: 8px; height: 8px; opacity: 0; transition: opacity 280ms; }
.cursor-ring .fc--tl { top: -3px; left: -3px; } .cursor-ring .fc--tr { top: -3px; right: -3px; }
.cursor-ring .fc--bl { bottom: -3px; left: -3px; } .cursor-ring .fc--br { bottom: -3px; right: -3px; }
.cursor-ring__label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--accent); opacity: 0; transition: opacity 200ms; }
.cursor-ring.is-hover { width: 51px; height: 51px; margin: -25.5px 0 0 -25.5px; opacity: 1 !important; border-color: transparent; border-radius: 2px; }
.cursor-ring.is-hover .fc { opacity: 1; }
.cursor-ring.is-cta { background: rgba(61,107,94,0.2); }
.cursor-ring.has-label .cursor-ring__label { opacity: 1; }
.cursor-dot.is-hidden { opacity: 0 !important; }
@media (pointer: coarse), (max-width: 1023px) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  background: rgba(30,39,33,0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-inverse);
  transition: background 300ms ease-out, box-shadow 300ms ease-out, border-color 300ms ease-out;
}
.nav__inner { max-width: 1280px; margin-inline: auto; padding: 14px clamp(20px, 5vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: flex; align-items: center; height: 40px; }
.nav .logo-text { color: var(--text-inverse); }
/* Nav logo: real white file over the dark hero, real black file once the bar turns light — no filter, files used as-is */
.nav__logo .logo-img--dark { display: none; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link { position: relative; padding: 8px 16px; font-size: var(--small); font-weight: 500; color: var(--text-inverse); transition: color 250ms ease-out; }
.nav__link:hover { color: var(--accent-bright); }
.nav__frame { position: absolute; inset: 2px 6px; pointer-events: none; }
.nav__frame .fc { width: 8px; height: 8px; opacity: 0; transition: transform 280ms cubic-bezier(0.16,1,0.3,1), opacity 280ms; }
.nav__frame .fc--tl { transform: translate(-6px,-6px); } .nav__frame .fc--tr { transform: translate(6px,-6px); }
.nav__frame .fc--bl { transform: translate(-6px,6px); } .nav__frame .fc--br { transform: translate(6px,6px); }
.nav__link:hover .fc { opacity: 1; transform: translate(0,0); }
.nav__link:hover .fc { border-color: var(--accent-bright); }

.nav__cta { padding: 10px 24px; font-size: var(--small); }
.nav__burger { display: none; color: var(--text-inverse); padding: 6px; }

.nav.scrolled { background: rgba(247,245,239,0.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); box-shadow: 0 8px 22px -10px rgba(30,39,33,0.10); }
.nav.scrolled .nav__link, .nav.scrolled .nav__burger { color: var(--text-primary); }
.nav.scrolled .nav__link:hover { color: var(--accent); }
.nav.scrolled .nav__frame .fc { border-color: var(--accent); }
.nav.scrolled .logo-text { color: var(--text-primary); }
.nav.scrolled .logo-img--light { display: none; }
.nav.scrolled .logo-img--dark { display: inline-block; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 59; background: rgba(30,39,33,0.5); opacity: 0; visibility: hidden; transition: opacity 350ms, visibility 350ms; backdrop-filter: blur(2px); }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 60; width: min(82vw, 340px); background: var(--bg-deep); border-right: 1px solid var(--border-inverse); transform: translateX(-100%); transition: transform 350ms cubic-bezier(0.22,1,0.36,1); padding: 28px 26px; display: flex; flex-direction: column; }
.drawer.is-open { transform: translateX(0); }
.drawer__close { position: absolute; top: 22px; right: 22px; color: var(--text-inverse); }
.drawer__label { color: var(--accent-bright); font-size: 0.7rem; letter-spacing: 0.24em; margin: 8px 0 40px; }
.drawer__links { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.drawer__link { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; color: var(--text-inverse); padding: 8px 0; opacity: 0; transform: translateX(-14px); }
.drawer.is-open .drawer__link { animation: drawerIn 450ms cubic-bezier(0.22,1,0.36,1) forwards; }
.drawer.is-open .drawer__link:nth-child(1) { animation-delay: 120ms; }
.drawer.is-open .drawer__link:nth-child(2) { animation-delay: 190ms; }
.drawer.is-open .drawer__link:nth-child(3) { animation-delay: 260ms; }
.drawer.is-open .drawer__link:nth-child(4) { animation-delay: 330ms; }
.drawer.is-open .drawer__link:nth-child(5) { animation-delay: 400ms; }
.drawer__link:hover { color: var(--accent-bright); }
.drawer__cta { margin-top: 20px; }
@keyframes drawerIn { to { opacity: 1; transform: translateX(0); } }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100vh; position: relative; overflow: hidden; background: var(--bg-deep); display: flex; align-items: center; padding-top: 20px; padding-bottom: 20px; }
/* Context banner image behind the inner-page heroes (darkened for legibility) */
.hero__bg { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,39,33,0.94) 0%, rgba(30,39,33,0.78) 45%, rgba(30,39,33,0.6) 100%); }
.hero--about { min-height: 62vh; }
/* Services banner: featured project showcase beside the copy */
.hero__showcase { position: relative; z-index: 20; display: flex; align-items: center; justify-content: center; }
.hero__showcase img { width: 100%; max-width: 760px; height: auto; display: block; filter: drop-shadow(0 24px 60px rgba(0,0,0,0.45)); }
@media (min-width: 980px) { .hero--showcase .hero__inner--showcase { grid-template-columns: 0.95fr 1.15fr; gap: 40px; align-items: center; } }
@media (max-width: 979px) { .hero__showcase { margin-top: 30px; } .hero__showcase img { max-width: 560px; margin-inline: auto; } }
.hero__glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.hero__glow--a { width: 640px; height: 640px; top: -140px; right: -120px; background: radial-gradient(circle, rgba(201,168,106,0.12), transparent 68%); }
.hero__glow--b { width: 520px; height: 520px; bottom: -160px; left: -100px; background: radial-gradient(circle, rgba(61,107,94,0.16), transparent 66%); }
.hero__grain { position: absolute; inset: 0; z-index: 10; filter: url(#paperGrain); opacity: 0.04; pointer-events: none; }
.hero__inner { z-index: 20; display: grid; grid-template-columns: 1fr 0.8fr; gap: 40px; align-items: center; width: 100%; }
.hero__content { max-width: 740px; }
.hero .eyebrow { color: var(--accent-bright); }

.hero__title { font-family: var(--font-display); font-weight: 600; font-size: var(--h1); line-height: 1.08; letter-spacing: -0.01em; color: var(--text-inverse); }
.hero__title .word { display: inline-block; }
.hero__framed { position: relative; display: inline-block; padding: 4px 18px; color: var(--accent-bright); font-style: italic; }
.hero__framed .frame { inset: -2px 0; }
.hero__framed .fc { width: 18px; height: 18px; }

.hero__sub { margin-top: 24px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1.4; color: var(--text-inverse); max-width: 40ch; }
.hero__lead { margin-top: 22px; }
.hero__ctas { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__chips { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-full); background: rgba(247,245,239,0.04); border: 1px solid var(--border-inverse); font-size: var(--small); color: var(--text-inverse); font-weight: 500; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); }

/* Hero orbiting constellation (real work revolving on a wide ellipse) */
.hero__orbit { position: relative; z-index: 20; height: 460px; overflow: visible; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.hero__orbit.is-drag { cursor: grabbing; }
.orbit__tile { position: absolute; top: 0; left: 0; width: var(--tw); aspect-ratio: var(--ar, 1.5); overflow: hidden; background: var(--surface-deep); border-radius: 10px; will-change: transform, opacity; }
.orbit__tile img, .orbit__tile video { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; }
.orbit__pivot { position: absolute; top: 0; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 8px rgba(201,168,106,0.9); z-index: 250; }
/* small diagonal orbital ellipse around the centre dot */
.orbit__pivot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 22px; border: 1px solid rgba(201,168,106,0.55); border-radius: 50%; transform: translate(-50%, -50%) rotate(-22deg); pointer-events: none; }

/* Hero constellation mark (spinning gold orbit + core dot) — kept for reference, unused */
.hero__mark { position: relative; z-index: 20; height: 460px; display: flex; align-items: center; justify-content: center; }
.hero__mark-svg { width: min(100%, 480px); height: auto; overflow: visible; }
.hero__mark-rings { transform-box: fill-box; transform-origin: center; animation: markSpin 22s linear infinite; }
.hero__mark-ring { fill: none; stroke: var(--accent-bright); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__mark-ring--1 { opacity: 0.5; }
.hero__mark-ring--2 { opacity: 0.34; }
.hero__mark-ring--3 { opacity: 0.22; }
.hero__mark-dot { fill: var(--accent-bright); filter: drop-shadow(0 0 6px rgba(201,168,106,0.9)); }
.hero__mark-halo { fill: var(--accent-bright); opacity: 0.14; filter: blur(6px); animation: markPulse 4.5s ease-in-out infinite; }
@keyframes markSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes markPulse { 0%, 100% { opacity: 0.10; } 50% { opacity: 0.22; } }
@media (prefers-reduced-motion: reduce) { .hero__mark-rings { animation: none; } .hero__mark-halo { animation: none; } }

/* Hero preview tiles */
.hero__previews { position: relative; z-index: 20; height: 460px; }
.ptile { position: absolute; border-radius: var(--r-md); background: var(--surface-deep); border: 1px solid var(--border-inverse); box-shadow: var(--glow-gold); padding: 16px; overflow: hidden; will-change: transform; }
.ptile .frame { inset: 8px; z-index: 4; }
.ptile .fc { border-color: var(--accent-bright); }
.ptile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.ptile__tag { position: relative; z-index: 5; font-size: 9px; letter-spacing: 0.18em; color: var(--accent-bright); }
.ptile__mock { position: relative; z-index: 1; }
.ptile--logo { width: 190px; height: 190px; top: 6px; right: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.ptile__mock--logo { flex: 1; display: flex; align-items: center; justify-content: center; }
.ptile__glyph { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 3.4rem; color: var(--accent-bright); }
.ptile--web { width: 270px; height: 190px; top: 150px; left: 0; }
.ptile__mock--web { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ptile__bar { height: 8px; width: 40%; border-radius: 3px; background: var(--accent-bright); opacity: 0.6; }
.skel { display: block; border-radius: 3px; background: rgba(174,187,178,0.18); height: 12px; }
.skel--lg { width: 78%; height: 16px; } .skel--md { width: 92%; } .skel--sm { width: 60%; }
.ptile--brand { width: 180px; height: 150px; bottom: 10px; right: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.ptile__mock--brand { display: flex; gap: 10px; align-items: flex-end; height: 70px; }
.sw { flex: 1; border-radius: 4px; }
.sw1 { background: var(--accent); height: 100%; } .sw2 { background: var(--accent-bright); height: 78%; } .sw3 { background: var(--text-secondary-inverse); height: 56%; } .sw4 { background: var(--text-inverse); height: 40%; opacity: 0.5; }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll-rule { width: 1px; height: 56px; background: linear-gradient(var(--accent-bright), transparent); animation: scrollPulse 2.4s ease-in-out infinite; }
.hero__scroll .mono { font-size: 10px; letter-spacing: 0.2em; color: var(--text-secondary-inverse); text-transform: uppercase; }
@keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ============================================================
   SECTION 4 — TRUST STATS
   ============================================================ */
.trust__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.trust__stat { position: relative; padding: 44px 34px; border-right: 1px solid var(--border); }
.trust__stat:last-child { border-right: none; }
.trust__stat .frame { inset: 12px; }
.trust__word { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1; color: var(--accent); display: block; }
.trust__label { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 500; font-style: italic; color: var(--text-primary); font-size: 1.35rem; }
.trust__sub { display: block; margin-top: 12px; font-size: var(--small); color: var(--text-secondary); }

/* ============================================================
   SECTION 5 — SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: clamp(24px, 2.2vw, 34px); display: flex; flex-direction: column; gap: 14px; transition: transform 300ms ease-out, box-shadow 300ms ease-out; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.svc-card.is-highlight { box-shadow: var(--shadow-card); }
.svc-card.is-highlight .frame--hover .fc { opacity: 1; transform: translate(0,0); }
.svc-card--featured { grid-column: span 2; border-radius: var(--r-lg); }
.svc-card--featured .frame { inset: 12px; }
.svc-card__tag { position: absolute; top: 24px; right: 26px; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--accent); padding: 5px 11px; border: 1px solid var(--accent); border-radius: var(--r-full); }
.svc-card__index { position: absolute; top: 26px; right: 26px; font-size: 0.8rem; color: var(--text-secondary); opacity: 0.55; }
.svc-card__icon { width: 52px; height: 52px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent); color: var(--accent); transition: background 300ms, color 300ms; }
.svc-card:hover .svc-card__icon { background: var(--accent); color: var(--text-inverse); }
.svc-card__icon i { width: 24px; height: 24px; }
.svc-card p { font-size: var(--small); flex: 1; }
.svc-card--featured p { font-size: var(--body); max-width: 52ch; }

/* ============================================================
   SECTION 6 — HOW IT WORKS
   ============================================================ */
.steps-row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 24px; }
.connector { position: absolute; inset: 0; z-index: 0; overflow: visible; pointer-events: none; }
.connector-fill { stroke-dasharray: 1; stroke-dashoffset: 1; }
.step { position: relative; z-index: 10; text-align: center; padding: 0 10px; display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: 0.5; transition: opacity 500ms ease; }
.step.is-active { opacity: 1; }
.step__marker { position: relative; width: 66px; height: 66px; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.step__marker .fc { width: 16px; height: 16px; }
.step__idx { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 0.72rem; color: var(--accent); }
.step__icon { color: var(--accent); }
.step__icon i { width: 24px; height: 24px; }
.step p { font-size: var(--small); }

/* ============================================================
   SECTION 7 — PRICING
   ============================================================ */
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pkg-card { position: relative; background: var(--surface); border-radius: var(--r-md); padding: clamp(24px, 2vw, 30px) clamp(22px, 1.8vw, 26px); display: flex; flex-direction: column; gap: 14px; transition: transform 300ms ease-out, box-shadow 300ms ease-out; }
.pkg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.pkg-card .frame { inset: 10px; }
.pkg-card__icon { width: 48px; height: 48px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent); color: var(--accent); }
.pkg-card__icon i { width: 22px; height: 22px; }
.pkg-card__name { margin-top: 2px; }
.pkg-card__price { display: flex; flex-direction: column; gap: 2px; }
.pkg-card__from { font-size: 0.68rem; letter-spacing: 0.1em; color: var(--text-secondary); text-transform: uppercase; }
.pkg-card__amt { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3vw, 2.5rem); color: var(--text-primary); line-height: 1; }
.pkg-card__scope { font-family: var(--font-display); font-style: italic; font-size: var(--small); color: var(--text-secondary); }
.pkg-card__feats { display: flex; flex-direction: column; flex: 1; }
.pkg-card__feats li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); font-size: var(--small); color: var(--text-secondary); }
.pkg-card__feats li::before { content: ""; flex-shrink: 0; margin-top: 3px; width: 14px; height: 14px; background: var(--accent); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat; }
.pkg-card__cta { margin-top: 6px; width: 100%; }
.pricing__note { text-align: center; margin-top: 40px; font-size: var(--small); color: var(--text-secondary); }
.pricing__bundle { max-width: 620px; margin: 18px auto 0; text-align: center; font-size: var(--small); color: var(--text-secondary); padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.pricing__bundle[hidden] { display: none; }

/* ============================================================
   SECTION 8 — PORTFOLIO
   ============================================================ */
.portfolio__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 52px; flex-wrap: wrap; }
.portfolio__filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { padding: 9px 18px; border-radius: var(--r-full); border: 1px solid var(--border); font-size: var(--small); font-weight: 500; color: var(--text-secondary); transition: all 280ms ease; }
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: var(--text-inverse); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1264 / 848; transition: transform 320ms ease, opacity 250ms ease; }
.tile .frame { inset: 10px; z-index: 4; }
.tile .fc { transition: transform 320ms cubic-bezier(0.16,1,0.3,1); }
/* corners tighten inward slightly on hover — the tile is always framed, hover just presents it */
.tile:hover .fc--tl { transform: translate(3px,3px); } .tile:hover .fc--tr { transform: translate(-3px,3px); }
.tile:hover .fc--bl { transform: translate(3px,-3px); } .tile:hover .fc--br { transform: translate(-3px,-3px); }
.tile--tall { grid-row: span 2; }
.tile:hover { transform: scale(1.02); }
.tile.is-hidden { display: none; }
.tile__media { position: relative; width: 100%; height: 100%; transition: transform 420ms ease; }
.tile:hover .tile__media { transform: scale(1.04); }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.tile__media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--accent); opacity: 0.05; mix-blend-mode: multiply; }
/* real logo / branding artwork sits on a clean light ground so nothing is cropped */
.tile__media--shot { background: var(--surface); }
.tile__media--logo { background: linear-gradient(150deg, #2C3A31, #3D6B5E); display: flex; align-items: center; justify-content: center; }
.tile__glyph { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 3.4rem; color: var(--accent-bright); position: relative; z-index: 1; }
.tile__media--brand { background: linear-gradient(150deg, #3D6B5E, #C9A86A); }
.tile__media--web { background: linear-gradient(150deg, #27332C, #38493f); background-image: linear-gradient(150deg, #27332C, #38493f), repeating-linear-gradient(0deg, transparent 0 22px, rgba(201,168,106,0.08) 22px 23px); }
.tile__media--video { background: linear-gradient(150deg, #1E2721, #3D6B5E); display: flex; align-items: center; justify-content: center; }
.tile__play { position: relative; z-index: 3; color: var(--text-inverse); width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--text-inverse); display: flex; align-items: center; justify-content: center; }
.tile__cap { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; background: linear-gradient(transparent 42%, rgba(30,39,33,0.74)); opacity: 0; transition: opacity 320ms ease; z-index: 3; }
.tile:hover .tile__cap { opacity: 1; }
.tile__chip { align-self: flex-start; background: var(--accent); color: var(--text-inverse); font-size: 0.62rem; letter-spacing: 0.12em; padding: 4px 9px; border-radius: var(--r-sm); }
.tile__name { color: var(--text-inverse); font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(30,39,33,0.92); display: flex; align-items: center; justify-content: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity 320ms, visibility 320ms; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__close { position: absolute; top: 28px; right: 32px; color: var(--text-inverse); }
.lightbox__inner { max-width: 720px; width: 100%; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-inverse); position: relative; }
.lightbox__inner .tile__media { height: auto; aspect-ratio: 1264 / 848; }
.lightbox__inner .lightbox__img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; display: block; }
.lightbox__meta { padding: 20px 24px; background: var(--surface-deep); display: flex; align-items: center; gap: 14px; }

/* Website full-page preview modal (scrollable) */
.tile__expand { position: absolute; top: 12px; right: 12px; z-index: 3; width: 30px; height: 30px; border-radius: 8px; background: rgba(30,39,33,0.55); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.9); transition: opacity 280ms ease, transform 280ms ease; }
.tile:hover .tile__expand { opacity: 1; transform: scale(1); }
.web-modal { position: fixed; inset: 0; z-index: 320; background: rgba(30,39,33,0.94); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 320ms, visibility 320ms; }
.web-modal.is-open { opacity: 1; visibility: visible; }
.web-modal__bar { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 4vw, 40px); }
.web-modal__title { font-size: var(--small); letter-spacing: 0.1em; color: var(--text-secondary-inverse); }
.web-modal__close { color: var(--text-inverse); display: inline-flex; }
.web-modal__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 0 clamp(12px, 4vw, 40px) clamp(24px, 5vw, 52px); display: flex; justify-content: center; }
.web-modal__frame { width: 100%; max-width: 1000px; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6); background: var(--surface); align-self: flex-start; }
.web-modal__img { width: 100%; display: block; }

/* Video preview modal (plays inline) */
.tile__play--overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; width: 54px; height: 54px; background: rgba(30,39,33,0.55); border-color: rgba(255,255,255,0.9); transition: transform 320ms cubic-bezier(0.16,1,0.3,1), background 280ms ease; }
.tile:hover .tile__play--overlay { transform: translate(-50%, -50%) scale(1.08); background: var(--accent); border-color: var(--accent); }
.video-modal { position: fixed; inset: 0; z-index: 320; background: rgba(30,39,33,0.94); display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); opacity: 0; visibility: hidden; transition: opacity 320ms, visibility 320ms; }
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal__close { position: absolute; top: 24px; right: 28px; z-index: 2; color: var(--text-inverse); }
.video-modal__inner { width: 100%; max-width: 960px; }
.video-modal__video { width: 100%; max-height: 78vh; display: block; background: #000; border-radius: var(--r-md); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6); }
.video-modal__meta { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 14px; }

/* Hero proof strip (real work at the fold, all widths) */
.proofstrip { padding: clamp(22px, 3.5vw, 40px) 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.proofstrip__lead { color: var(--text-secondary); font-size: var(--small); letter-spacing: 0.06em; margin: 0 0 16px; }
.proofstrip__lead a { color: var(--accent); }
.proofstrip__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.proofstrip__row li { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1264 / 848; border: 1px solid var(--border); }
.proofstrip__row img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .proofstrip__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .proofstrip__row { grid-template-columns: repeat(2, 1fr); } }

/* Turnaround / time-to-result lines (EDITABLE default windows) */
.pkg-card__eta { color: var(--accent); font-size: 0.72rem; letter-spacing: 0.03em; margin: -6px 0 2px; font-weight: 500; }
.svc-priceband__eta { color: var(--accent); font-size: var(--small); letter-spacing: 0.02em; margin: 6px 0 0; font-weight: 500; }

/* ============================================================
   SECTION 9 — GUARANTEE
   ============================================================ */
.guarantee__glow { position: absolute; width: 720px; height: 460px; top: 20px; left: 50%; transform: translateX(-50%); z-index: 0; background: radial-gradient(circle, rgba(201,168,106,0.12), transparent 68%); filter: blur(90px); pointer-events: none; }
.guarantee__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.guarantee__terms { margin: 32px 0; border-top: 1px solid var(--border-inverse); }
.guarantee__terms li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border-inverse); }
.guarantee__terms .mono { flex-shrink: 0; width: 100px; font-size: 0.7rem; letter-spacing: 0.12em; color: var(--accent-bright); padding-top: 2px; }
.guarantee__terms li span:last-child { color: var(--text-secondary-inverse); font-size: var(--small); }
.guarantee__mark { position: relative; aspect-ratio: 1 / 1; max-width: 380px; margin-inline: auto; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--surface-deep); border-radius: var(--r-lg); box-shadow: var(--glow-gold); }
.guarantee__frame { inset: 22px; }
.guarantee__frame .fc { width: 30px; height: 30px; border-color: var(--accent-bright); }
.guarantee__icon { color: var(--accent-bright); }
.guarantee__icon i { width: 96px; height: 96px; }
.guarantee__seal { text-align: center; font-size: 0.72rem; letter-spacing: 0.22em; line-height: 1.8; color: var(--accent-bright); }
.guarantee__badge { width: 76%; max-width: 240px; height: auto; display: block; filter: drop-shadow(0 10px 26px rgba(0,0,0,0.35)); }

/* ============================================================
   SECTION 10 — TESTIMONIALS (split: framed image | quote)
   ============================================================ */
.testi { padding-block: clamp(96px, 10vw, 144px); }
.testi__split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 76px); align-items: center; }

/* LEFT — framed image panel */
.testi__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-deep); box-shadow: var(--shadow-card); }
.testi__media .frame { inset: 16px; z-index: 4; }
.testi__media .fc { width: 26px; height: 26px; border-color: var(--accent-bright); }
.testi__imgs { position: absolute; inset: 0; }
.testi__img { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 800ms cubic-bezier(0.16,1,0.3,1), transform 900ms cubic-bezier(0.16,1,0.3,1); display: flex; align-items: center; justify-content: center; margin: 0; }
.testi__img.is-active { opacity: 1; transform: scale(1); }
.testi__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.testi__img::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--accent); opacity: 0.06; mix-blend-mode: multiply; pointer-events: none; }
.testi__initials { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: clamp(3.5rem, 7vw, 5.5rem); color: var(--accent-bright); }
.testi__img--0 { background: linear-gradient(150deg, #2C3A31, #3D6B5E); }
.testi__img--1 { background: linear-gradient(150deg, #3D6B5E, #C9A86A); }
.testi__img--2 { background: linear-gradient(150deg, #27332C, #4E5A52); }
.testi__img--3 { background: linear-gradient(150deg, #1E2721, #3D6B5E); }

/* RIGHT — quote */
.testi__body { position: relative; }
.testi__quotemark { display: block; font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 6rem); color: var(--accent); line-height: 0.6; height: 0.5em; opacity: 0.9; }
.testi__stage { position: relative; min-height: 280px; margin-top: 12px; }
.testi__quote { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity 700ms ease, transform 700ms ease; pointer-events: none; }
.testi__quote.is-active { opacity: 1; transform: translateY(0); position: relative; pointer-events: auto; }
.testi__quote p { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(1.375rem, 2.4vw, 2rem); line-height: 1.42; color: var(--text-primary); }
.testi__meta { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.testi__name { font-family: var(--font-display); font-weight: 600; color: var(--text-primary); font-size: 1.1rem; }
.testi__role { font-size: 0.68rem; letter-spacing: 0.1em; color: var(--accent); }
.testi__controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; }
.testi__dots { display: flex; gap: 10px; }
.testi__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all 280ms; }
.testi__dot.is-active { background: var(--accent); width: 26px; border-radius: var(--r-full); }
.testi__count { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--text-secondary); }
.testi__count #testiIndex { color: var(--accent); }

@media (max-width: 767px) {
  .testi__split { grid-template-columns: 1fr; gap: 36px; }
  .testi__media { aspect-ratio: 16 / 10; max-height: 360px; }
}

/* ============================================================
   SECTION 11 — FAQ
   ============================================================ */
.faq__inner { max-width: 840px; margin-inline: auto; }
.faq__list { margin-top: 8px; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 26px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: var(--h4); color: var(--text-primary); transition: color 280ms ease; }
.faq__q[aria-expanded="true"] { color: var(--accent); }
.faq__plus { flex-shrink: 0; color: var(--accent); display: flex; transition: transform 320ms ease; }
.faq__plus i { width: 22px; height: 22px; }
.faq__q[aria-expanded="true"] .faq__plus { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 320ms ease; }
.faq__a-inner { padding-bottom: 26px; }
.faq__a-inner p { max-width: 62ch; }

/* ============================================================
   SECTION 12 — CONTACT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact__details { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.contact__details li { display: flex; align-items: center; gap: 16px; }
.contact__ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--r-md); border: 1px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.contact__ico i { width: 20px; height: 20px; }
.contact__d { display: flex; flex-direction: column; gap: 2px; }
.contact__d .mono { font-size: 0.68rem; letter-spacing: 0.14em; color: var(--accent); }
.contact__d a, .contact__d span { color: var(--text-primary); font-weight: 500; }
.contact__d a:hover { color: var(--accent); }
.contact__oneliner { margin-top: 36px; font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 1.1rem; color: var(--text-primary); max-width: 40ch; }

.contact__card { position: relative; background: var(--surface-deep); border-radius: var(--r-lg); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.contact__card .frame { inset: 14px; }
.contact__card .fc { border-color: var(--accent-bright); }
.field { position: relative; z-index: 1; }
.field input, .field textarea { width: 100%; padding: 22px 16px 10px; font-family: var(--font-body); font-size: var(--body); color: var(--text-inverse); background: rgba(247,245,239,0.04); border: 1px solid var(--border-inverse); border-radius: var(--r-md); transition: border-color 280ms, box-shadow 280ms; }
.field textarea { min-height: 130px; resize: vertical; padding-top: 26px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61,107,94,0.20); }
.field label { position: absolute; left: 16px; top: 15px; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-secondary-inverse); pointer-events: none; transition: all 200ms ease; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 0.6rem; color: var(--accent-bright); }
.field--chips { border: none; z-index: 1; }
.field--chips legend { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-secondary-inverse); margin-bottom: 12px; }
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.reason-chip { padding: 9px 15px; border-radius: var(--r-full); border: 1px solid var(--border-inverse); font-size: var(--small); color: var(--text-secondary-inverse); background: rgba(247,245,239,0.03); transition: all 250ms ease; }
.reason-chip:hover { border-color: var(--accent-bright); color: var(--text-inverse); }
.reason-chip[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--text-inverse); }
.form-error { color: #e5a3a3; font-size: var(--small); }
.form-sent { color: #86d0a6; font-size: var(--small); margin-top: 12px; font-weight: 600; }
.js-field-error { display: block; margin-top: 6px; }
.contact__submit { width: 100%; margin-top: 4px; }
.form-success { display: flex; align-items: center; gap: 14px; padding: 20px; background: rgba(201,168,106,0.08); border: 1px solid var(--border-inverse); border-radius: var(--r-md); position: relative; z-index: 1; }
.form-success p { color: var(--text-inverse); font-size: var(--small); }
.form-success strong { color: var(--accent-bright); }
.form-success__check { width: 40px; height: 40px; flex-shrink: 0; }
.form-success__check path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.form-success.is-shown .form-success__check path { animation: drawCheck 600ms ease forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; background: var(--bg-deep); overflow: hidden; }
.footer .container { position: relative; z-index: 2; }
.footer__cta { position: relative; padding: 80px clamp(20px, 6vw, 80px); text-align: center; margin-top: 8px; }
.footer__frame { inset: 20px; }
.footer__frame .fc { width: 24px; height: 24px; border-color: var(--accent-bright); }
.footer__statement { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(2rem, 4.5vw, 3.5rem); color: var(--text-inverse); line-height: 1.1; }
.footer__cta-row { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; padding-block: 64px; border-top: 1px solid var(--border-inverse); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: var(--small); color: var(--text-secondary-inverse); transition: color 250ms; width: fit-content; }
.footer__col a:hover { color: var(--accent-bright); }
.footer__label { font-size: 0.68rem; letter-spacing: 0.18em; color: var(--accent-bright); margin-bottom: 6px; }
.footer__logo { height: 48px; display: flex; align-items: center; margin-bottom: 4px; }
.footer__logo .logo-img { height: 38px; }
.footer__logo .logo-text { color: var(--text-inverse); line-height: 48px; font-size: 1.7rem; }
.footer__desc { font-size: var(--small); color: var(--text-secondary-inverse); max-width: 42ch; }
.footer__ethos { font-size: 0.66rem; letter-spacing: 0.1em; color: var(--accent-bright); line-height: 1.8; }
.footer__muted { font-size: var(--small); color: var(--text-secondary-inverse); }
.footer__contact { display: inline-flex; align-items: center; gap: 8px; }
.footer__contact svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.75; }
.footer__col .footer__muted.footer__contact { align-items: flex-start; }
.footer__col .footer__muted.footer__contact svg { margin-top: 2px; }
.footer__base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 22px; border-top: 1px solid var(--border-inverse); font-size: var(--small); color: var(--text-secondary-inverse); }
.footer__base-tag { font-family: var(--font-display); font-style: italic; }
.footer__watermark { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 14vw, 10rem); color: var(--text-inverse); opacity: 0.04; white-space: nowrap; z-index: 1; pointer-events: none; letter-spacing: -0.01em; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.to-top { position: fixed; bottom: 28px; right: 28px; z-index: 45; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--accent); color: var(--text-inverse); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 320ms, visibility 320ms, transform 320ms, box-shadow 250ms; box-shadow: var(--shadow-card); }
.to-top .frame { inset: 6px; } .to-top .fc { width: 7px; height: 7px; border-color: rgba(247,245,239,0.6); opacity: 0; transition: opacity 250ms, transform 250ms; }
.to-top .fc--tl { transform: translate(-4px,-4px); } .to-top .fc--tr { transform: translate(4px,-4px); }
.to-top .fc--bl { transform: translate(-4px,4px); } .to-top .fc--br { transform: translate(4px,4px); }
.to-top:hover .fc { opacity: 1; transform: translate(0,0); }
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { filter: brightness(1.08); }

/* ============================================================
   REVEAL
   ============================================================ */
.js-ready .reveal { opacity: 0; transform: translateY(24px); }
.js-ready .reveal.is-in { opacity: 1; transform: translateY(0); transition: opacity 900ms cubic-bezier(0.16,1,0.3,1), transform 900ms cubic-bezier(0.16,1,0.3,1); }

/* ============================================================
   NAV — ACTIVE PAGE + CROSS-PAGE ANCHOR OFFSET
   ============================================================ */
.nav__link--active { color: var(--accent-bright); }
.nav__link--active .fc { opacity: 1; transform: translate(0,0); border-color: var(--accent-bright); }
.nav.scrolled .nav__link--active { color: var(--accent); }
.nav.scrolled .nav__link--active .fc { border-color: var(--accent); }
/* Cross-page anchor jumps (index.html#section) clear the fixed navbar */
:where(section, main)[id] { scroll-margin-top: 84px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
/* Hero variant — single column, no preview tiles */
.hero--about { min-height: 74vh; padding-top: clamp(124px, 15vh, 156px); }
.hero__inner--about { grid-template-columns: 1fr; }
.hero--about .hero__content { max-width: 820px; }
.hero--about .hero__sub { max-width: 52ch; }

/* Who we are — heading beside narrative */
.about-story__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.about-story__head { position: sticky; top: 96px; }
.about-story__body { display: flex; flex-direction: column; gap: 22px; }
.about-story__body p { max-width: 60ch; }
.about-story__lead { color: var(--text-primary); }

/* By the numbers — four-up variant of trust stats */
.trust__stats--four { grid-template-columns: repeat(4, 1fr); }

/* Our approach — numbered principle cards */
.about-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.principle { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: clamp(28px, 2.4vw, 40px) clamp(24px, 2vw, 34px); display: flex; flex-direction: column; gap: 14px; transition: transform 300ms ease-out, box-shadow 300ms ease-out; }
.principle:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.principle .frame { inset: 12px; }
.principle__idx { font-size: 0.8rem; color: var(--accent); letter-spacing: 0.12em; }
.principle__title { margin-top: 2px; }
.principle p { font-size: var(--small); }

/* Why DesignFaelo — six feature boxes */
.about-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-box { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: clamp(26px, 2.2vw, 34px); display: flex; flex-direction: column; gap: 14px; transition: transform 300ms ease-out, box-shadow 300ms ease-out; }
.why-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.why-box__icon { width: 50px; height: 50px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent); color: var(--accent); transition: background 300ms, color 300ms; }
.why-box:hover .why-box__icon { background: var(--accent); color: var(--text-inverse); }
.why-box__icon i { width: 23px; height: 23px; }
.why-box p { font-size: var(--small); }

/* Closing CTA — framed panel on light bg */
.about-cta__panel { position: relative; text-align: center; max-width: 720px; margin-inline: auto; padding: clamp(48px, 6vw, 76px) clamp(24px, 5vw, 64px); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.about-cta__frame { inset: 16px; }
.about-cta__frame .fc { width: 22px; height: 22px; }
.about-cta__title { margin-top: 2px; }
.about-cta__lead { margin: 20px auto 0; text-align: center; }
.about-cta__row { margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .about-story__grid { grid-template-columns: 1fr; gap: 28px; }
  .about-story__head { position: static; }
  .trust__stats--four { grid-template-columns: repeat(2, 1fr); }
  .trust__stats--four .trust__stat:nth-child(2) { border-right: none; }
  .about-principles { grid-template-columns: 1fr; }
  .about-why__grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__previews, .hero__mark, .hero__orbit { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card--featured { grid-column: span 2; }
  .steps-row { grid-template-columns: repeat(2, 1fr); gap: 48px 28px; }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee__grid { grid-template-columns: 1fr; gap: 48px; }
  .guarantee__mark { max-width: 320px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  .trust__stats { grid-template-columns: 1fr; }
  .trust__stat { border-right: none; border-bottom: 1px solid var(--border); }
  .trust__stat:last-child { border-bottom: none; }
  .trust__stats--four .trust__stat:nth-child(2) { border-right: none; }
  .about-why__grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card--featured { grid-column: span 1; }
  .steps-row { grid-template-columns: 1fr; gap: 52px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .portfolio__head { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ============================================================
   NAV — ACTIVE PAGE STATE
   ============================================================ */
.nav__link--active { color: var(--accent-bright); }
.nav__link--active .fc { opacity: 1; transform: translate(0,0); border-color: var(--accent-bright); }
.nav.scrolled .nav__link--active { color: var(--accent); }
.nav.scrolled .nav__link--active .fc { border-color: var(--accent); }

/* ============================================================
   NAV — SERVICES DROPDOWN (desktop)
   ============================================================ */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link--drop { display: inline-flex; align-items: center; gap: 6px; }
.nav__caret { width: 12px; height: 12px; transition: transform 300ms cubic-bezier(0.22,1,0.36,1); }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px; padding: 10px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: 0 22px 46px -18px rgba(30,39,33,0.38);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.22,1,0.36,1), visibility 260ms;
  z-index: 55;
}
/* invisible hover bridge so the menu doesn't close in the gap */
.nav__dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__drop-link {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 14px; border-radius: var(--r-sm); font-size: var(--small); font-weight: 500;
  color: var(--text-primary); transition: background 200ms ease, color 200ms ease;
}
.nav__drop-link:hover { background: var(--surface); color: var(--accent); }
.nav__drop-idx { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-secondary); transition: color 200ms; }
.nav__drop-link:hover .nav__drop-idx { color: var(--accent); }
.nav__drop-sep { height: 1px; background: var(--border); margin: 8px 8px; }
.nav__drop-link--all { color: var(--accent); font-weight: 600; }
.nav__drop-link--all svg { width: 15px; height: 15px; }

/* ============================================================
   DRAWER — SERVICES SUBMENU (mobile)
   ============================================================ */
.drawer__group { display: flex; flex-direction: column; opacity: 0; transform: translateX(-14px); }
.drawer.is-open .drawer__group { animation: drawerIn 450ms cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: 190ms; }
.drawer__sub-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; color: var(--text-inverse);
  padding: 8px 0; text-align: left;
}
.drawer__sub-toggle:hover { color: var(--accent-bright); }
.drawer__sub-caret { width: 22px; height: 22px; flex-shrink: 0; transition: transform 320ms cubic-bezier(0.22,1,0.36,1); }
.drawer__group.is-open .drawer__sub-caret { transform: rotate(180deg); }
.drawer__submenu { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows 340ms cubic-bezier(0.22,1,0.36,1); }
.drawer__group.is-open .drawer__submenu { grid-template-rows: 1fr; }
.drawer__submenu-inner { min-height: 0; display: flex; flex-direction: column; }
.drawer__sublink { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--text-secondary-inverse); padding: 9px 0 9px 4px; }
.drawer__sublink:hover { color: var(--accent-bright); }

/* ============================================================
   ABOUT — IMAGERY PLACEHOLDERS
   ============================================================ */
.about-figure { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); background: var(--surface); aspect-ratio: 4 / 5; }
.about-story__head .about-figure { margin-top: 32px; }
.about-figure .fc { border-color: var(--accent); }
.about-figure__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.about-figure__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-secondary); background: linear-gradient(135deg, rgba(61,107,94,0.10), rgba(201,168,106,0.10)); }
.about-figure__ph svg { width: 34px; height: 34px; opacity: 0.55; }
.about-figure__ph-tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; }
.about-figure__cap { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--text-inverse); background: rgba(30,39,33,0.55); padding: 5px 10px; border-radius: var(--r-full); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.about-figure--side { margin-top: clamp(24px, 3vw, 32px); max-width: 440px; }
.about-team { margin-top: clamp(40px, 6vw, 68px); }

/* Wide framed section image band (reuses .about-figure__ inner classes) */
.section-figure { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); background: var(--surface); aspect-ratio: 16 / 5; margin: 0 0 clamp(34px, 4.5vw, 52px); }
.section-figure .fc { border-color: var(--accent); }
@media (max-width: 720px) { .section-figure { aspect-ratio: 3 / 2; } }
.about-figure-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.about-figure-row .about-figure { aspect-ratio: 3 / 4; }

/* ============================================================
   SERVICE DETAIL — DELIVERABLES
   ============================================================ */
.svc-lead__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.svc-lead__head { position: sticky; top: 96px; }
.deliverables { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.deliverables li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-secondary); line-height: 1.5; font-size: 0.96rem; }
.deliverables li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.svc-priceband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 6vw, 68px); padding: clamp(28px, 4vw, 40px); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.svc-priceband__price { display: flex; flex-direction: column; gap: 2px; }
.svc-priceband__from { font-family: var(--font-mono); font-size: var(--small); color: var(--text-secondary); }
.svc-priceband__amt { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--text-primary); line-height: 1; }
.svc-priceband__note { color: var(--text-secondary); font-size: 0.95rem; max-width: 40ch; }

/* ============================================================
   LEGAL PAGES (Privacy / Terms)
   ============================================================ */
.legal { padding-top: clamp(124px, 16vh, 184px); padding-bottom: clamp(60px, 9vw, 110px); background: var(--bg); }
.legal__inner { max-width: 820px; margin-inline: auto; }
.legal__head { margin-bottom: clamp(36px, 5vw, 56px); }
.legal__updated { font-family: var(--font-mono); font-size: var(--small); color: var(--text-secondary); margin-top: 12px; }
.legal__body { display: flex; flex-direction: column; gap: 32px; }
.legal__section h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.72rem); font-weight: 600; margin-bottom: 12px; }
.legal__idx { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); margin-right: 10px; }
.legal__section p, .legal__section li { color: var(--text-secondary); line-height: 1.72; max-width: 70ch; }
.legal__section p + p { margin-top: 12px; }
.legal__section ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.legal__section li { position: relative; padding-left: 22px; }
.legal__section li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; background: var(--accent-bright); border-radius: 50%; }
.legal__section a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FOOTER — LEGAL LINKS (footer base bottom)
   ============================================================ */
.footer__legal { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__legal a { color: var(--text-secondary-inverse); transition: color 250ms; }
.footer__legal a:hover { color: var(--accent-bright); }
.footer__legal-sep { opacity: 0.4; }

/* ============================================================
   RESPONSIVE — new components
   ============================================================ */
@media (max-width: 1023px) {
  .svc-lead__grid { grid-template-columns: 1fr; gap: 28px; }
  .svc-lead__head { position: static; }
}
@media (max-width: 720px) {
  .deliverables { grid-template-columns: 1fr; }
  .about-figure-row { grid-template-columns: 1fr; }
  .svc-priceband { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
  .frame--draw .fc, .frame--hover .fc { opacity: 1 !important; transform: translate(0,0) !important; }
}

/* ============ START-A-PROJECT MULTI-STEP FORM ============ */
.pform__card { max-width: 760px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow-card); position: relative; }
.pform__progress { margin-bottom: 28px; }
.pform__bar { height: 4px; border-radius: 999px; background: var(--border); overflow: hidden; }
.pform__bar span { display: block; height: 100%; width: 33%; background: var(--accent); border-radius: 999px; transition: width 420ms cubic-bezier(0.16,1,0.3,1); }
.pform__steps { list-style: none; display: flex; justify-content: space-between; gap: 8px; margin: 14px 0 0; padding: 0; }
.pform__steps li { font-size: var(--small); color: var(--text-secondary); display: flex; align-items: center; gap: 6px; opacity: 0.5; transition: opacity 250ms; }
.pform__steps li.is-active { opacity: 1; color: var(--text-primary); font-weight: 500; }
.pform__steps li.is-active .mono, .pform__steps li.is-done .mono { color: var(--accent); }
.pform__q { margin-bottom: 18px; }
.pform__hint { color: var(--text-secondary); font-size: var(--small); margin-bottom: 16px; }

.fstep { display: none; }
.fstep.is-active { display: block; animation: fstepIn 420ms ease; }
@keyframes fstepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fstep__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

.pform__services { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pservice { position: relative; border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 16px 16px 46px; cursor: pointer; transition: border-color 200ms, background 200ms; }
.pservice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pservice__tick { position: absolute; left: 16px; top: 19px; width: 18px; height: 18px; border: 1.5px solid var(--border); border-radius: 50%; transition: all 200ms; }
.pservice:hover { border-color: var(--accent); }
.pservice input:checked ~ .pservice__tick { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--surface); }
.pservice:has(input:checked) { border-color: var(--accent); background: rgba(61,107,94,0.06); }
.pservice__name { display: block; font-weight: 600; font-size: 1rem; color: var(--text-primary); }
.pservice__desc { display: block; font-size: var(--small); color: var(--text-secondary); margin-top: 3px; }

.pform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pfield { margin-bottom: 16px; display: flex; flex-direction: column; gap: 7px; }
.pfield label { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-secondary); text-transform: uppercase; }
.pfield input[type="text"], .pfield input[type="email"], .pfield input[type="tel"], .pfield select, .pfield textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg); font-family: var(--font-body); font-size: var(--body); color: var(--text-primary); transition: border-color 200ms, box-shadow 200ms; }
.pfield input:focus, .pfield select:focus, .pfield textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61,107,94,0.12); }
.pfield textarea { resize: vertical; }

.pchips { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { position: relative; }
.pchip input { position: absolute; opacity: 0; }
.pchip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: var(--small); color: var(--text-secondary); cursor: pointer; transition: all 200ms; }
.pchip input:checked + span { background: var(--accent); color: var(--text-inverse); border-color: var(--accent); }
.pchip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(61,107,94,0.2); }

.pform__success { text-align: center; padding: 24px 0; }
.pform__success p { max-width: 42ch; margin: 12px auto 0; }

@media (max-width: 640px) {
  .pform__services, .pform__grid { grid-template-columns: 1fr; }
  .pform__steps li span:not(.mono) { display: none; }
}

/* ============ TABBED PRICING (services × packages) ============ */
.ptabs__nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 42px; }
.ptab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background 200ms, border-color 200ms, color 200ms; }
.ptab i { width: 17px; height: 17px; }
.ptab:hover { border-color: var(--accent); color: var(--text-primary); }
.ptab.is-active { background: var(--accent); border-color: var(--accent); color: var(--text-inverse); }
.ptab.is-active i { color: var(--text-inverse); }

.ptabs__panel { animation: ptabIn 420ms ease; }
@keyframes ptabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ptier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.ptier { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 24px 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-card); }
.ptier--popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 60px -24px rgba(61,107,94,0.35); }
.ptier__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--text-inverse); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; white-space: nowrap; }
.ptier__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 500; color: var(--text-primary); }
.ptier__price { display: flex; align-items: baseline; gap: 10px; }
.ptier__now { font-size: 2rem; font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; }
.ptier__was { font-size: 1rem; color: var(--text-secondary); text-decoration: line-through; opacity: 0.7; }
.ptier__feats { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 4px 0 4px; flex: 1 1 auto; }
.ptier__feats li { position: relative; padding-left: 24px; font-size: 0.88rem; line-height: 1.45; color: var(--text-secondary); }
.ptier__feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.ptier__cta { margin-top: auto; width: 100%; justify-content: center; }

@media (max-width: 1120px) { .ptier-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 560px) {
  .ptier-grid { grid-template-columns: 1fr; }
  .ptabs__nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .ptab { flex: 0 0 auto; }
}

/* ============ FIXES: hidden attribute + form success on light card + responsiveness ============ */
/* class-based display was overriding the browser's [hidden]; enforce it so hidden boxes stay hidden */
[hidden] { display: none !important; }

/* the 3-step form's success box sits on the LIGHT form card → dark text (was cream = invisible) */
.pform__success { background: rgba(61,107,94,0.06); border: 1px solid var(--border); flex-direction: column; text-align: center; }
.pform__success p { color: var(--text-primary); }
.pform__success b, .pform__success strong { color: var(--accent); }

/* ---- responsiveness safeguards ---- */
@media (max-width: 900px) {
  .ptier-grid { grid-template-columns: repeat(2, 1fr); }
  .hero--showcase .hero__inner--showcase { grid-template-columns: 1fr; }
  .hero__showcase { margin-top: 24px; }
}
@media (max-width: 600px) {
  .ptier-grid { grid-template-columns: 1fr; }
  .pform__grid { grid-template-columns: 1fr; }
  .fstep__nav { flex-wrap: wrap; }
  .fstep__nav .btn { flex: 1 1 auto; }
  .ptabs__nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
  .pchips { gap: 6px; }
}

/* ============ CROSS-BROWSER & DEVICE NORMALIZATION ============ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -moz-text-size-adjust: 100%; }
* { -webkit-tap-highlight-color: transparent; }
img, svg, video, canvas, picture { max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font-family: inherit; font-size: 100%; line-height: inherit; }
select { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
a, button { -webkit-tap-highlight-color: transparent; }

/* dynamic viewport height so mobile browser chrome doesn't clip the hero */
.hero { min-height: 100dvh; }
.hero--about { min-height: 74dvh; }

/* respect notch / safe areas on modern phones */
@supports (padding: max(0px)) {
  .nav__inner { padding-left: max(clamp(20px, 5vw, 44px), env(safe-area-inset-left)); padding-right: max(clamp(20px, 5vw, 44px), env(safe-area-inset-right)); }
  .footer .container { padding-bottom: max(0px, env(safe-area-inset-bottom)); }
}

/* :has() fallback for the service picker (JS also toggles .is-checked) */
.pservice.is-checked { border-color: var(--accent); background: rgba(61,107,94,0.06); }
.pservice.is-checked .pservice__tick { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--surface); }

/* keep long strings from forcing horizontal scroll on small screens */
.ptier__name, .pservice__name, h1, h2, h3 { overflow-wrap: break-word; }

/* ============ HERO BACKGROUND VIDEO (designer at work) ============ */
.hero__bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero__video-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, rgba(30,39,33,0.95) 0%, rgba(30,39,33,0.84) 46%, rgba(30,39,33,0.68) 100%); }
/* keep the orbit + content above the video/veil */
.hero__inner, .hero__content, .hero__orbit, .hero__scroll { position: relative; z-index: 20; }
/* protect mobile bandwidth + respect reduced motion */
@media (max-width: 820px) { .hero__bg-video, .hero__video-veil { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero__bg-video { display: none; } }
