/*
==========================================================================
  Noxa – Creative Portfolio HTML Template
  Version: 1.0.0
==========================================================================

  TABLE OF CONTENTS
  01. Theme variables (colours, fonts, spacing)
  02. Reset & base
  03. Layout helpers
  04. Buttons, pills & labels
  05. Preloader
  06. Cursor, grain & scroll progress
  07. Header & navigation
  08. Mobile menu
  09. Hero
  10. Marquee
  11. Facts / counters
  12. Work (stacked case cards)
  13. About
  14. Services
  15. Process
  16. Pricing
  17. Testimonials
  18. FAQ
  19. Contact & form
  20. Footer
  21. Inner page header
  22. Back to top & misc
  23. About page (story, values, team, awards, clients)
  24. Services page
  25. Portfolio page (filters + grid)
  26. Project details page
  27. Home 2 – Freelancer (hero, horizontal work, timeline)
  28. Blog (list + post)
  29. Contact page & 404
  30. Responsive
  31. Reduced motion

  HOW TO CHANGE THE COLOUR
  Set data-accent on the <html> tag: lime (default), orange, blue, violet, pink.
  Example: <html lang="en" data-accent="orange">
  Or change --accent below to any colour you like.
==========================================================================
*/

/* ==========================================================================
   01. Theme variables
   ========================================================================== */
:root {
  --bg: #0b0b0b;
  --bg-2: #111111;
  --card: #161616;
  --text: #edebe6;
  --muted: #9a978f;
  --line: rgba(237, 235, 230, 0.1);
  --line-2: rgba(237, 235, 230, 0.18);

  --accent: #d4f34a;
  --accent-rgb: 212, 243, 74;
  --accent-ink: #0b0b0b;

  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 24px;
  --radius-lg: 32px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

[data-accent="orange"] { --accent: #ff6a3d; --accent-rgb: 255, 106, 61; --accent-ink: #0b0b0b; }
[data-accent="blue"]   { --accent: #5b8cff; --accent-rgb: 91, 140, 255; --accent-ink: #0b0b0b; }
[data-accent="violet"] { --accent: #a98bff; --accent-rgb: 169, 139, 255; --accent-ink: #0b0b0b; }
[data-accent="pink"]   { --accent: #ff7ac6; --accent-rgb: 255, 122, 198; --accent-ink: #0b0b0b; }

/* ==========================================================================
   02. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.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; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; transform: translateY(-200%); transition: transform 0.3s var(--ease); }
.skip-link:focus { transform: none; }

/* ==========================================================================
   03. Layout helpers
   ========================================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 10vw, 150px); position: relative; }
.section-border { border-top: 1px solid var(--line); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.is-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-text { display: flex; flex-direction: column; gap: 18px; }
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.section-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7); }
.section-title { font-family: var(--font-display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 6vw, 96px); line-height: 0.92; letter-spacing: -0.025em; }
.section-sub { max-width: 440px; color: var(--muted); font-size: 16px; }

.accent-text {
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent) 0%, #fff 45%, var(--accent) 60%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }

/* Words split by JS for the reveal animation */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.w > span { display: inline-block; will-change: transform; }

/* ==========================================================================
   04. Buttons, pills & labels
   ========================================================================== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 40px -16px rgba(var(--accent-rgb), 0.7); }
.btn-accent:hover { box-shadow: 0 18px 50px -14px rgba(var(--accent-rgb), 0.9); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-ghost { border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--text); }
.btn-block { width: 100%; }
.btn .arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Rolling text on hover: <span class="roll"><span data-text="Label">Label</span></span> */
.roll { display: inline-block; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.roll > span { position: relative; display: inline-block; transition: transform 0.5s var(--ease); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-100%); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 13px; }
.chip-check::before { content: "✓"; color: var(--accent); font-weight: 700; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

/* ==========================================================================
   05. Preloader
   ========================================================================== */
.loader { position: fixed; inset: 0; z-index: 900; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; background: var(--bg); transition: transform 1s var(--ease-in-out); animation: loader-failsafe 0.01s 6s forwards; }
.loader.is-done { transform: translateY(-100%); }
.loader.is-hidden { display: none; }
@keyframes loader-failsafe { to { transform: translateY(-100%); visibility: hidden; } }
.loader-word { display: flex; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 12vw, 200px); line-height: 0.9; letter-spacing: -0.03em; overflow: hidden; }
.loader-word span { display: inline-block; transform: translateY(110%); animation: letter-up 0.9s var(--ease) forwards; }
.loader-word span:nth-child(2) { animation-delay: 0.06s; }
.loader-word span:nth-child(3) { animation-delay: 0.12s; }
.loader-word span:nth-child(4) { animation-delay: 0.18s; color: var(--accent); }
@keyframes letter-up { to { transform: none; } }
.loader-bottom { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; font-size: 13px; color: var(--muted); }
.loader-count { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(28px, 3vw, 44px); color: var(--text); font-variant-numeric: tabular-nums; }
.loader-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   06. Cursor, grain & scroll progress
   ========================================================================== */
.cursor { position: fixed; top: 0; left: 0; z-index: 800; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), opacity 0.3s; opacity: 0; }
.cursor.is-visible { opacity: 1; }
.cursor span { font-size: 13px; font-weight: 600; color: var(--accent-ink); opacity: 0; transition: opacity 0.3s; }
.cursor.has-label { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.cursor.has-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.grain { position: fixed; inset: -50%; z-index: 700; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

.progress { position: fixed; top: 0; left: 0; z-index: 650; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   07. Header & navigation
   ========================================================================== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 600; transition: transform 0.5s var(--ease), background-color 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(11, 11, 11, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { font-family: var(--font-display); font-stretch: 120%; font-weight: 900; text-transform: uppercase; font-size: 24px; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 2px; }
.logo-dot { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: color 0.3s, background-color 0.3s; }
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.nav-item { position: relative; }
.nav-caret { width: 10px; height: 10px; transition: transform 0.3s; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 50%; min-width: 220px; padding: 10px; border-radius: 20px; background: #151515; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: var(--muted); transition: background-color 0.25s, color 0.25s; }
.dropdown a:hover, .dropdown a.is-active { background: rgba(255, 255, 255, 0.05); color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--text); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-open .menu-toggle span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 23px; transform: rotate(-45deg); }

/* ==========================================================================
   08. Mobile menu
   ========================================================================== */
.mobile-menu { position: fixed; inset: 0; z-index: 590; background: var(--bg); padding: calc(var(--header-h) + 20px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.7s var(--ease-in-out), visibility 0.7s; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-nav a { display: block; font-family: var(--font-display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 11vw, 72px); line-height: 1.05; letter-spacing: -0.02em; transform: translateY(30px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s, color 0.3s; }
.mobile-nav a:hover { color: var(--accent); }
.menu-open .mobile-nav a { transform: none; opacity: 1; }
.menu-open .mobile-nav a:nth-child(2) { transition-delay: 0.05s; }
.menu-open .mobile-nav a:nth-child(3) { transition-delay: 0.1s; }
.menu-open .mobile-nav a:nth-child(4) { transition-delay: 0.15s; }
.menu-open .mobile-nav a:nth-child(5) { transition-delay: 0.2s; }
.menu-open .mobile-nav a:nth-child(6) { transition-delay: 0.25s; }
.mobile-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: 14px; margin-top: 32px; }

/* ==========================================================================
   09. Hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(32px, 4vw, 56px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px circle at var(--gx, 78%) var(--gy, 28%), rgba(var(--accent-rgb), 0.12), transparent 62%), radial-gradient(900px circle at 0% 100%, rgba(var(--accent-rgb), 0.05), transparent 60%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(20px, 3vw, 36px); padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.hero-title { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(46px, 8vw, 156px); line-height: 0.88; letter-spacing: -0.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line:first-child > span { display: inline-flex; align-items: center; gap: 0.18em; flex-wrap: wrap; }
.hero-title .accent-text { white-space: nowrap; }

/* Rotating words inside the pill */
.pill-words { display: inline-flex; align-items: center; justify-content: center; height: 0.8em; padding: 0 0.32em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); vertical-align: middle; transform: translateY(-0.04em); }
.pw-window { display: block; height: 1.2em; overflow: hidden; font-size: 0.26em; transition: width 0.6s var(--ease); }
.pw-track { display: flex; flex-direction: column; align-items: flex-start; animation: pw 10s infinite; }
.pw-track span { display: block; height: 1.2em; line-height: 1.2em; width: max-content; font-stretch: 115%; letter-spacing: 0; }
.js-words .pw-track { animation: none; transition: transform 0.6s var(--ease); }
@keyframes pw { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-1.2em); } 50%, 70% { transform: translateY(-2.4em); } 75%, 95% { transform: translateY(-3.6em); } 100% { transform: translateY(-4.8em); } }

.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.hero-intro { max-width: 520px; font-size: clamp(16px, 1.3vw, 19px); color: #cfccc5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.hero-meta { display: flex; gap: clamp(24px, 3vw, 48px); font-size: 14px; color: var(--muted); }
.hero-meta b { display: block; color: var(--text); font-weight: 600; font-size: 15px; }

.spin-badge { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 40px); width: clamp(110px, 10vw, 150px); aspect-ratio: 1; z-index: 2; }
.spin-badge svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.spin-badge text { font-size: 12.5px; letter-spacing: 0.12em; fill: var(--text); font-weight: 600; text-transform: uppercase; }
.spin-badge-center { position: absolute; inset: 30%; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-size: 22px; transition: transform 0.5s var(--ease); }
.spin-badge:hover .spin-badge-center { transform: rotate(45deg) scale(1.08); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   10. Marquee
   ========================================================================== */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: clamp(18px, 2.4vw, 30px); }
.marquee-track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee-group { display: flex; align-items: center; gap: clamp(28px, 3vw, 52px); padding-right: clamp(28px, 3vw, 52px); }
.marquee-group span { font-family: var(--font-display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 70px); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.marquee-group span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.marquee-group i { font-style: normal; color: var(--accent); font-size: clamp(20px, 2.4vw, 36px); }

/* ==========================================================================
   11. Facts / counters
   ========================================================================== */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: clamp(28px, 4vw, 52px) clamp(14px, 2vw, 32px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-num { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(44px, 5.6vw, 92px); line-height: 0.9; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--text) 30%, #85827b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fact:first-child .fact-num { background: linear-gradient(180deg, #fff 0%, var(--accent) 60%); -webkit-background-clip: text; background-clip: text; }
.fact-label { color: var(--muted); font-size: 15px; max-width: 220px; }

/* ==========================================================================
   12. Work (stacked case cards)
   ========================================================================== */
.case-stack { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }
.case {
  position: sticky; top: calc(var(--header-h) + 12px + var(--i, 0) * 18px);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 3vw, 52px);
  padding: clamp(14px, 1.4vw, 22px); border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(155deg, #1b1b1b 0%, #121212 55%, #0f0f0f 100%);
  box-shadow: 0 -24px 60px -24px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform-origin: 50% 0; will-change: transform; overflow: hidden;
}
.case-shot { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #0e0e0e; border: 1px solid #262626; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #1c1c1c; border-bottom: 1px solid #2a2a2a; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-url { margin: 0 auto; width: min(70%, 340px); text-align: center; font-size: 12px; color: #a9a9a9; background: #121212; border-radius: 999px; padding: 4px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.case-img img { position: absolute; left: 0; top: -5%; width: 100%; height: 110%; object-fit: cover; object-position: center top; transition: transform 1s var(--ease); }
.case-shot:hover .case-img img { transform: scale(1.04); }
.case-info { display: flex; flex-direction: column; gap: 18px; padding: clamp(6px, 1.2vw, 18px) clamp(4px, 1vw, 14px) clamp(6px, 1.2vw, 18px) 0; min-width: 0; }
.case-top { display: flex; align-items: center; gap: 12px; }
.case-num { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 15px; }
.case-kind { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); }
.case h3 { font-family: var(--font-display); font-stretch: 115%; font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 3.6vw, 62px); line-height: 0.92; letter-spacing: -0.02em; }
.case-desc { color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; background: rgba(var(--accent-rgb), 0.08); border: 1px solid rgba(var(--accent-rgb), 0.35); transition: background-color 0.3s, color 0.3s; }
.case-link:hover { background: var(--accent); color: var(--accent-ink); }

.cta-band { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 32px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--accent); color: var(--accent-ink); background-image: radial-gradient(600px circle at 100% 0%, rgba(255, 255, 255, 0.35), transparent 60%); transition: transform 0.6s var(--ease); }
.cta-band:hover { transform: translateY(-4px) rotate(-0.4deg); }
.cta-band-small { grid-column: 1 / -1; font-weight: 600; font-size: 15px; }
.cta-band-big { font-family: var(--font-display); font-stretch: 120%; font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 6vw, 104px); line-height: 0.9; letter-spacing: -0.03em; }
.cta-band-big .arrow { display: inline-block; transition: transform 0.5s var(--ease); }
.cta-band:hover .cta-band-big .arrow { transform: translateX(12px); }
.cta-band-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px; background: var(--accent-ink); color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; }

/* ==========================================================================
   13. About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.about-art { position: relative; aspect-ratio: 1000 / 1150; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.about-art-badge { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 20px; background: rgba(11, 11, 11, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.about-art-badge b { font-family: var(--font-display); font-stretch: 118%; font-weight: 900; font-size: 40px; line-height: 1; color: var(--accent); }
.about-art-badge span { font-size: 14px; color: var(--muted); max-width: 180px; }
.about-body { display: flex; flex-direction: column; gap: 26px; }
.about-lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: #cfccc5; max-width: 620px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pillar { position: relative; overflow: hidden; padding: 22px 20px; border-radius: 20px; background: linear-gradient(160deg, #1a1a1a, #121212); border: 1px solid var(--line); transition: border-color 0.4s, transform 0.4s var(--ease); }
.pillar:hover { border-color: rgba(var(--accent-rgb), 0.5); transform: translateY(-4px); }
.pillar-num { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 14px; }
.pillar h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 22px; margin: 10px 0 8px; }
.pillar p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.about-note { padding-left: 18px; border-left: 3px solid var(--accent); font-size: 16px; }

/* Light sweep on hover for cards */
.shine { position: relative; overflow: hidden; }
.shine > * { position: relative; z-index: 1; }
.shine::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent); transform: skewX(-18deg); transition: left 0.9s var(--ease); }
.shine:hover::before { left: 130%; }

/* ==========================================================================
   14. Services
   ========================================================================== */
.service-list { border-top: 1px solid var(--line-2); }
.service { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr) 60px; align-items: center; gap: 24px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line-2); overflow: hidden; isolation: isolate; }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.service:hover::before { transform: scaleY(1); }
.service > * { transition: color 0.4s, transform 0.6s var(--ease); }
.service:hover > * { color: var(--accent-ink); }
.service:hover .service-name { transform: translateX(16px); }
.service-num { font-family: var(--font-display); font-weight: 800; color: var(--muted); }
.service-name { font-family: var(--font-display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 56px); line-height: 0.95; letter-spacing: -0.02em; }
.service-desc { color: var(--muted); font-size: 15px; }
.service:hover .service-desc, .service:hover .service-num { color: var(--accent-ink); }
.service-arrow { justify-self: end; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.service:hover .service-arrow { border-color: var(--accent-ink); transform: rotate(-45deg); }

/* ==========================================================================
   15. Process
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.process-intro { position: sticky; top: calc(var(--header-h) + 40px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.steps { position: relative; padding-left: 26px; --fill: 0%; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; border-radius: 2px; }
.steps::before { bottom: 0; background: var(--line-2); }
.steps::after { height: var(--fill); background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), 0.4)); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.6); }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 32px 0; border-top: 1px solid var(--line-2); }
.step:first-child { border-top: 0; padding-top: 0; }
.step-num { font-family: var(--font-display); font-stretch: 118%; font-weight: 900; font-size: 34px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--muted); transition: color 0.5s, -webkit-text-stroke-color 0.5s; }
.step.is-active .step-num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 1.8vw, 26px); margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ==========================================================================
   16. Pricing
   ========================================================================== */
.pricing-toggle { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); }
.pricing-toggle button { padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background-color 0.3s, color 0.3s; }
.pricing-toggle button.is-active { background: var(--text); color: var(--bg); }
.pricing-toggle small { color: var(--accent); font-weight: 600; margin-left: 4px; }
.pricing-toggle button.is-active small { color: inherit; opacity: 0.7; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(26px, 2.6vw, 38px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, #1a1a1a, #121212 60%); overflow: hidden; transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.4s; }
.plan:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), 0.45); }
.plan.is-featured { background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.14), #141414 55%); border-color: rgba(var(--accent-rgb), 0.55); box-shadow: 0 30px 80px -40px rgba(var(--accent-rgb), 0.45); }
.plan-tag { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.plan-name { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 22px; }
.plan-for { color: var(--muted); font-size: 15px; margin-top: -10px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-family: var(--font-display); font-stretch: 118%; font-weight: 900; font-size: clamp(44px, 4vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.plan.is-featured .plan-price b { color: var(--accent); }
.plan-price span { color: var(--muted); font-size: 15px; }
.plan-list { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); flex: 1; }
.plan-list li { display: flex; gap: 12px; font-size: 15px; }
.plan-list li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(var(--accent-rgb), 0.14); color: var(--accent); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.plan-list li.is-off { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
.plan-list li.is-off::before { content: "–"; background: rgba(255, 255, 255, 0.05); color: var(--muted); }

/* ==========================================================================
   17. Testimonials
   ========================================================================== */
.quotes { position: relative; }
.quotes-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.quotes-track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(26px, 2.6vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, #1a1a1a, #121212); position: relative; overflow: hidden; }
.quote-mark { font-family: var(--font-display); font-weight: 900; font-size: 90px; line-height: 0.6; color: var(--accent); height: 40px; }
.quote blockquote { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; }
.quote-stars { color: var(--accent); letter-spacing: 3px; font-size: 14px; }
.quote-person { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--accent-ink); background: var(--accent); }
.avatar.is-alt { background: var(--text); }
.avatar.is-alt-2 { background: #3a3a3a; color: var(--text); }
.quote-person b { display: block; font-size: 15px; color: var(--text); }
.quote-person span { font-size: 13px; color: var(--muted); }
.quotes-nav { display: flex; gap: 10px; }
.quotes-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 18px; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.quotes-nav button:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.quotes-nav button:disabled { opacity: 0.35; pointer-events: none; }

/* ==========================================================================
   18. FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list details:first-child { border-top: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 26px 56px 26px 0; font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; transition: color 0.3s; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 2px; background: var(--accent); transition: transform 0.4s var(--ease); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 56px 26px 0; color: var(--muted); }

/* ==========================================================================
   19. Contact & form
   ========================================================================== */
.contact-title { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 11vw, 200px); line-height: 0.86; letter-spacing: -0.035em; margin-bottom: clamp(36px, 5vw, 72px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.contact-email { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(22px, 2.4vw, 36px); line-height: 1.1; border-bottom: 2px solid var(--accent); padding-bottom: 6px; word-break: break-all; }
.contact-email .arrow { transition: transform 0.4s var(--ease); }
.contact-email:hover .arrow { transform: translate(4px, -4px); }
.contact-list { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-list span { color: var(--muted); }
.contact-list a:hover { color: var(--accent); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { position: relative; display: flex; flex-direction: column; }
.field.is-full { grid-column: 1 / -1; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 17px; outline: none; transition: border-color 0.3s; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: #151515; color: var(--text); }
.field label { position: absolute; left: 0; top: 14px; font-size: 17px; color: var(--muted); pointer-events: none; transition: transform 0.35s var(--ease), color 0.3s, font-size 0.35s; transform-origin: left top; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-26px) scale(0.78); color: var(--accent); }
.field-static-label { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.field.has-error input, .field.has-error textarea { border-color: #ff6b6b; }
.field-error { font-size: 13px; color: #ff6b6b; margin-top: 6px; display: none; }
.field.has-error .field-error { display: block; }
.chips, .chips.field { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.chips span:hover { border-color: var(--text); }
.chips input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { font-size: 15px; color: var(--muted); }
.form-status.is-success { color: #3ddc84; }
.form-status.is-error { color: #ff6b6b; }
.form.is-sending .btn { opacity: 0.6; pointer-events: none; }

/* ==========================================================================
   20. Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 72px); padding-bottom: 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: clamp(40px, 5vw, 64px); }
.footer-about p { color: var(--muted); max-width: 320px; margin-top: 16px; font-size: 15px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; }
.footer-col a { font-size: 15px; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-word { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: 0.8; letter-spacing: -0.04em; white-space: nowrap; font-size: 22vw; background: linear-gradient(180deg, #343434, #141414); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; user-select: none; }
.footer-word span { display: inline-block; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ==========================================================================
   21. Inner page header
   ========================================================================== */
.page-header { position: relative; padding-top: calc(var(--header-h) + clamp(60px, 8vw, 120px)); padding-bottom: clamp(48px, 6vw, 90px); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-header::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px circle at 85% 0%, rgba(var(--accent-rgb), 0.12), transparent 60%); }
.page-header .wrap { position: relative; }
.breadcrumb { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current] { color: var(--text); }
.page-title { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(52px, 10vw, 180px); line-height: 0.86; letter-spacing: -0.035em; }
.page-intro { margin-top: 28px; max-width: 560px; color: #cfccc5; font-size: clamp(16px, 1.3vw, 19px); }

/* ==========================================================================
   22. Back to top & misc
   ========================================================================== */
.to-top { position: fixed; right: var(--gutter); bottom: 24px; z-index: 500; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 12px 30px -10px rgba(var(--accent-rgb), 0.7); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.4s, transform 0.4s var(--ease), visibility 0.4s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--text); stroke-width: 2; stroke-dasharray: 170; stroke-dashoffset: var(--dash, 170); opacity: 0.5; }

/* Elements that animate in. JS adds .js-anim to <html>; without JS everything stays visible. */
.js-anim [data-reveal] { opacity: 0; }

.process-intro .section-title, .faq-grid .section-title { font-size: clamp(40px, 4.4vw, 76px); }

/* ==========================================================================
   23. About page
   ========================================================================== */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.story-statement { font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: clamp(26px, 2.8vw, 44px); line-height: 1.2; letter-spacing: -0.015em; }
.story-statement em { font-style: normal; color: var(--accent); }
.story-text { display: flex; flex-direction: column; gap: 18px; color: var(--muted); font-size: 17px; }
.story-text strong { color: var(--text); font-weight: 600; }
.story-signature { display: flex; align-items: center; gap: 14px; margin-top: 10px; color: var(--text); }

.wide-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; }
.wide-media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 280px; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, #1a1a1a, #121212); transition: border-color 0.4s, transform 0.5s var(--ease); }
.value:hover { border-color: rgba(var(--accent-rgb), 0.5); transform: translateY(-6px); }
.value-icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(var(--accent-rgb), 0.12); color: var(--accent); margin-bottom: auto; }
.value-icon svg { width: 24px; height: 24px; }
.value h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 22px; }
.value p { color: var(--muted); font-size: 15px; }

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.member { display: flex; flex-direction: column; gap: 14px; }
.member-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(120% 80% at 50% 100%, rgba(var(--accent-rgb), 0.35), transparent 70%), linear-gradient(180deg, #1c1c1c, #101010); }
.member-photo span { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(80px, 9vw, 150px); line-height: 0.8; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(237, 235, 230, 0.35); transform: translateY(8%); transition: transform 0.8s var(--ease), color 0.5s; }
.member:hover .member-photo span { transform: translateY(0); color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.member-social { position: absolute; top: 14px; right: 14px; display: flex; gap: 8px; opacity: 0; transform: translateY(-8px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.member:hover .member-social, .member:focus-within .member-social { opacity: 1; transform: none; }
.member-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(11, 11, 11, 0.75); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; backdrop-filter: blur(8px); }
.member-social a:hover { background: var(--accent); color: var(--accent-ink); }
.member h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 20px; }
.member p { color: var(--muted); font-size: 14px; margin-top: -10px; }

.awards { border-top: 1px solid var(--line-2); }
.award { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr) 80px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-2); transition: padding 0.5s var(--ease), color 0.3s; }
.award:hover { padding-left: 16px; color: var(--accent); }
.award-year { color: var(--muted); font-size: 15px; }
.award-name { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 1.8vw, 26px); }
.award-project { color: var(--muted); }
.award-count { justify-self: end; font-family: var(--font-display); font-weight: 800; }

.clients { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -0.02em; color: var(--muted); transition: color 0.3s, background-color 0.3s; }
.client:hover { color: var(--accent-ink); background: var(--accent); }
.client:nth-child(1) { font-stretch: 120%; }
.client:nth-child(2) { font-stretch: 90%; text-transform: lowercase; font-weight: 700; }
.client:nth-child(3) { font-stretch: 125%; text-transform: uppercase; font-size: clamp(14px, 1.3vw, 20px); }
.client:nth-child(4) { text-transform: lowercase; }
.client:nth-child(5) { font-stretch: 125%; text-transform: uppercase; }
.client:nth-child(6) { font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

/* ==========================================================================
   24. Services page
   ========================================================================== */
.svc-detail { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); padding: clamp(36px, 5vw, 72px) 0; border-top: 1px solid var(--line-2); align-items: start; }
.svc-detail:last-child { border-bottom: 1px solid var(--line-2); }
.svc-num { font-family: var(--font-display); font-stretch: 118%; font-weight: 900; font-size: 34px; line-height: 1; color: var(--accent); }
.svc-main { display: flex; flex-direction: column; gap: 18px; }
.svc-main h2 { font-family: var(--font-display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 72px); line-height: 0.92; letter-spacing: -0.025em; }
.svc-main p { color: var(--muted); font-size: 17px; max-width: 520px; }
.svc-side { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, #1a1a1a, #121212); }
.svc-side h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.svc-list li { display: flex; gap: 10px; font-size: 15px; }
.svc-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.svc-price { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.svc-price > div > span { color: var(--muted); font-size: 14px; }
.svc-price b { display: block; font-family: var(--font-display); font-stretch: 115%; font-weight: 900; font-size: 32px; color: var(--text); line-height: 1.1; }

.tools { display: flex; flex-wrap: wrap; gap: 12px; }
.tools .chip { font-size: 15px; padding: 12px 20px; }

/* ==========================================================================
   25. Portfolio page
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--muted); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.filter:hover { color: var(--text); border-color: var(--text); }
.filter.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.filter sup { font-size: 10px; margin-left: 3px; opacity: 0.7; }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.work-item { display: flex; flex-direction: column; gap: 18px; transition: opacity 0.4s, transform 0.5s var(--ease); }
.work-item:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.work-item.is-hidden { display: none; }
.work-thumb { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #111; }
.work-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1.2s var(--ease); }
.work-thumb:hover img { transform: scale(1.06); }
.work-thumb::after { content: "View project ↗"; position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.work-thumb:hover::after { opacity: 1; transform: none; }
.work-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.work-meta h3 { font-family: var(--font-display); font-stretch: 115%; font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 38px); line-height: 1; letter-spacing: -0.02em; }
.work-meta p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.work-year { font-size: 14px; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; }

/* ==========================================================================
   26. Project details page
   ========================================================================== */
.project-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.project-meta div { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.project-meta span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.project-meta a { color: var(--accent); }
.project-cover { margin-top: clamp(40px, 5vw, 72px); }
.project-cover .case-shot { border-radius: var(--radius-lg); }
.project-cover .case-img { aspect-ratio: 16 / 10; }

.overview { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 100px); }
.overview-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.overview-block h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 20px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.overview-block h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.overview-block p { color: var(--muted); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.gallery-item.is-wide { grid-column: 1 / -1; }
.gallery-item img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }

.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.result { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, #1a1a1a, #121212); display: flex; flex-direction: column; gap: 10px; }
.result b { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(48px, 5.4vw, 88px); line-height: 0.9; color: var(--accent); }
.result span { color: var(--muted); }

.big-quote { max-width: 1100px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.big-quote blockquote { font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: clamp(26px, 3.2vw, 50px); line-height: 1.18; letter-spacing: -0.015em; }
.big-quote .quote-mark { font-size: 140px; height: 60px; }

.next-project { display: block; isolation: isolate; padding-block: clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.next-project span { display: block; color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.next-project b { display: inline-block; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 12vw, 220px); line-height: 0.85; letter-spacing: -0.04em; transition: color 0.4s, transform 0.8s var(--ease); }
.next-project:hover b { color: var(--accent); transform: translateX(16px); }
.next-project img { position: absolute; left: 50%; top: 50%; width: min(420px, 40vw); border-radius: 18px; transform: translate(-50%, -50%) rotate(-6deg) scale(0.6); opacity: 0; pointer-events: none; transition: opacity 0.5s, transform 0.8s var(--ease); z-index: -1; }
.next-project:hover img { opacity: 0.55; transform: translate(-50%, -50%) rotate(-3deg) scale(1); }

/* Inner pages: responsive */
@media (max-width: 1100px) {
  .values, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .story-grid, .overview { grid-template-columns: minmax(0, 1fr); }
  .svc-detail { grid-template-columns: minmax(0, 1fr); }
  .award { grid-template-columns: 70px minmax(0, 1fr) 50px; }
  .award-project { display: none; }
  .project-meta { grid-template-columns: 1fr 1fr; }
  .results { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .values, .team { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-item:nth-child(even) { margin-top: 0; }
  .overview-blocks, .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery-item.is-wide { grid-column: auto; }
  .svc-list { grid-template-columns: minmax(0, 1fr); }
  .wide-media { aspect-ratio: 4 / 3; }
  .clients { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   27. Home 2 – Freelancer
   ========================================================================== */
.hero-2 { position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + clamp(30px, 5vw, 70px)); padding-bottom: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; overflow: hidden; }
.hero-2::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px circle at var(--gx, 20%) var(--gy, 30%), rgba(var(--accent-rgb), 0.1), transparent 60%); }
.hero-2 > .wrap { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
.hero-2-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.hero-2-hello { font-size: clamp(18px, 1.6vw, 24px); color: #cfccc5; max-width: 460px; }
.hero-2-hello b { color: var(--text); }
.avail-card { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); }
.avail-card .avatar { width: 44px; height: 44px; }
.avail-card b { display: block; font-size: 14px; }
.avail-card span { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.hero-2-name { margin-top: auto; padding-top: clamp(40px, 6vw, 90px); font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: 0.82; letter-spacing: -0.045em; font-size: clamp(56px, 13.2vw, 260px); white-space: nowrap; }
.hero-2-name .dot { color: var(--accent); -webkit-text-stroke: 0; }
.hero-2-name .line { display: block; overflow: hidden; }
.hero-2-name .line > span { display: inline-block; }
.hero-2-name .outline { color: transparent; -webkit-text-stroke: 2px var(--text); }
.hero-2-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 24px; margin-top: clamp(28px, 3vw, 44px); padding-top: 24px; border-top: 1px solid var(--line); }
.hero-2-foot div { font-size: 14px; color: var(--muted); }
.hero-2-foot b { display: block; color: var(--text); font-size: 15px; font-weight: 600; }

/* Horizontal work: pinned on desktop, swipe on phones */
.h-work { overflow: hidden; }
.h-work-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vw, 48px); padding-block: calc(var(--header-h) + 10px) 40px; }
.h-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.h-card { position: relative; flex: none; width: min(56vw, 860px, calc((100svh - 330px) * 1.45)); display: flex; flex-direction: column; gap: 16px; }
.h-card .work-thumb { aspect-ratio: 16 / 11; }
.h-card-end { width: min(36vw, 520px); align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); }
.h-card-end b { font-family: var(--font-display); font-stretch: 120%; font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 4vw, 72px); line-height: 0.9; letter-spacing: -0.03em; }
.h-progress { margin-inline: var(--gutter); height: 2px; background: var(--line-2); position: relative; }
.h-progress i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* Service cards (3 columns) */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-card { display: flex; flex-direction: column; gap: 16px; min-height: 360px; padding: clamp(26px, 2.6vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, #1a1a1a, #121212); transition: border-color 0.4s, transform 0.5s var(--ease); }
.svc-card:hover { border-color: rgba(var(--accent-rgb), 0.5); }
.svc-card .value-icon { margin-bottom: 0; }
.svc-card h3 { font-family: var(--font-display); font-stretch: 115%; font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 34px); line-height: 0.95; margin-top: auto; }
.svc-card p { color: var(--muted); font-size: 15px; }
.svc-card .case-tags { margin-top: 4px; }

/* Experience timeline */
.timeline { border-top: 1px solid var(--line-2); }
.tl-item { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line-2); align-items: baseline; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--accent); transition: width 0.8s var(--ease); }
.tl-item:hover::before { width: 100%; }
.tl-years { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.tl-role { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2vw, 30px); line-height: 1; }
.tl-role small { display: block; font-family: var(--font-body); font-stretch: 100%; font-weight: 400; text-transform: none; font-size: 15px; color: var(--accent); margin-top: 8px; }
.tl-desc { color: var(--muted); }

/* ==========================================================================
   28. Blog (list + post)
   ========================================================================== */
.post-featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(56px, 7vw, 100px); }
.post-thumb { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.post-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-thumb:hover img { transform: scale(1.05); }
.post-cat { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: rgba(11, 11, 11, 0.75); border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; backdrop-filter: blur(8px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.post-meta span + span::before { content: "·"; margin-right: 16px; }
.post-featured h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 60px); line-height: 0.95; letter-spacing: -0.02em; margin: 16px 0; }
.post-featured p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.post { display: flex; flex-direction: column; gap: 16px; }
.post h3 { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; letter-spacing: -0.01em; transition: color 0.3s; }
.post:hover h3 { color: var(--accent); }
.post-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.post-link .arrow { transition: transform 0.4s var(--ease); }
.post:hover .post-link .arrow { transform: translateX(5px); }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: clamp(48px, 6vw, 80px); }
.pagination a { min-width: 48px; height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.pagination a:hover { border-color: var(--text); }
.pagination a[aria-current] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(600px circle at 100% 0%, rgba(var(--accent-rgb), 0.14), transparent 60%), linear-gradient(160deg, #1a1a1a, #121212); }
.newsletter h2 { font-family: var(--font-display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 56px); line-height: 0.92; letter-spacing: -0.02em; }
.newsletter p { color: var(--muted); margin-top: 12px; }
.newsletter-form { display: flex; gap: 10px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.3); }
.newsletter-form input { flex: 1; min-width: 0; padding: 0 18px; background: none; border: 0; outline: none; font-size: 16px; }

/* Single post */
.article-head { max-width: 980px; }
.article-head .page-title { font-size: clamp(40px, 6.4vw, 110px); line-height: 0.92; }
.article-cover { margin-top: clamp(40px, 5vw, 72px); position: relative; aspect-ratio: 16 / 8; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.article-cover img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: center; gap: clamp(32px, 6vw, 100px); }
.article-aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; display: flex; flex-direction: column; gap: 28px; font-size: 14px; }
.article-aside h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.share a:hover, .share button:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.toc { display: flex; flex-direction: column; gap: 10px; }
.toc a { color: var(--muted); transition: color 0.3s; }
.toc a:hover { color: var(--accent); }

.prose { font-size: 18px; line-height: 1.75; color: #d6d3cc; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -0.015em; color: var(--text); margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--text); margin-top: 1.8em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { padding: 8px 0 8px 26px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: var(--text); }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; padding: 2px 7px; border-radius: 6px; background: #1c1c1c; border: 1px solid var(--line); }
.prose .lead { font-size: 21px; color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.author-box { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, #1a1a1a, #121212); margin-top: 48px; }
.author-box .avatar { width: 64px; height: 64px; font-size: 20px; }
.author-box b { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.author-box p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ==========================================================================
   29. Contact page & 404
   ========================================================================== */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, #1a1a1a, #121212); transition: border-color 0.4s, transform 0.5s var(--ease); }
.contact-card:hover { border-color: rgba(var(--accent-rgb), 0.5); transform: translateY(-6px); }
.contact-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin-top: auto; padding-top: 30px; }
.contact-card a, .contact-card p { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.2; word-break: break-word; }
.contact-card a:hover { color: var(--accent); }
.hours { display: flex; flex-direction: column; }
.hours li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours li span:last-child { color: var(--muted); }
.hours li.is-today span:first-child { color: var(--accent); }

.notfound { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); overflow: hidden; }
.notfound::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px circle at 70% 40%, rgba(var(--accent-rgb), 0.12), transparent 60%); }
.notfound .wrap { position: relative; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.notfound-code { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(140px, 30vw, 460px); line-height: 0.78; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px var(--accent); display: flex; }
.notfound-code span { display: inline-block; animation: float-404 4s ease-in-out infinite; }
.notfound-code span:nth-child(2) { animation-delay: 0.3s; color: var(--accent); }
.notfound-code span:nth-child(3) { animation-delay: 0.6s; }
@keyframes float-404 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.notfound h1 { font-family: var(--font-display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 4.6vw, 72px); line-height: 0.95; }
.notfound p { color: var(--muted); font-size: 18px; max-width: 520px; }

@media (max-width: 1100px) {
  .svc-cards, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 24px 40px; order: 2; }
}
@media (max-width: 900px) {
  .hero-2-foot { grid-template-columns: 1fr 1fr; }
  .h-work-pin { min-height: 0; padding-block: clamp(70px, 10vw, 110px); }
  .h-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .h-track::-webkit-scrollbar { display: none; }
  .h-card { width: 82vw; scroll-snap-align: start; }
  .h-card-end { width: 70vw; }
  .h-progress { display: none; }
  .tl-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .post-featured, .newsletter, .contact-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .svc-cards, .posts { grid-template-columns: minmax(0, 1fr); }
  .hero-2-name { font-size: 13vw; }
  .hero-2 { min-height: auto; }
  .hero-2-name .outline { -webkit-text-stroke-width: 1.2px; }
  .newsletter-form { flex-direction: column; border-radius: 20px; }
  .newsletter-form input { padding: 14px; }
}

/* ==========================================================================
   30. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .case { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plans .plan:last-child { grid-column: 1 / -1; }
  .quotes-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-meta { justify-content: space-between; }
  .spin-badge { top: auto; bottom: 46%; width: 96px; }
  .case { position: relative; top: auto; grid-template-columns: minmax(0, 1fr); border-radius: var(--radius); }
  .case-info { padding: 4px 6px 10px; gap: 14px; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band-btn { justify-self: start; }
  .about-grid, .process-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .about-art { max-width: 520px; }
  .process-intro { position: static; }
  .service { grid-template-columns: 50px minmax(0, 1fr) 52px; }
  .service-desc { grid-column: 2 / 3; grid-row: 2; }
  .service-arrow { grid-row: 1 / 3; grid-column: 3; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 26px 0 26px 18px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .quotes-track { grid-auto-columns: 86%; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-meta { flex-wrap: wrap; gap: 16px 28px; }
  .loader-word { font-size: 22vw; }
  .hero-title { font-size: 13vw; }
  .hero-title .accent-text { white-space: normal; }
  .spin-badge { display: none; }
}

/* ==========================================================================
   31. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }
  .js-anim [data-reveal] { opacity: 1; }
  .loader { display: none; }
}
