/* Intelligent Art — intelligentart.eu
   Identity "Node": deep navy, signal teal, amber accent. Cool neutral walls let
   each product keep its own palette; the navy hero carries the one bold moment. */

:root {
  color-scheme: light dark;

  --bg: #F3F6F8;
  --surface: #FFFFFF;
  --surface-2: #E8EEF2;
  --text: #0B1E2D;
  --text-2: #2B3D4C;
  --muted: #556575;
  --line: #D8E0E6;
  --line-strong: #768695;

  --teal: #14B8A6;
  --teal-ink: #0F766E;
  --teal-tint: #DDF3EF;
  --accent: #F59E0B;
  --accent-ink: #B45309;
  --accent-2: #FBBF24;
  --error: #B42318;
  --focus: #0F766E;

  --primary: #0F766E;
  --primary-hover: #0B5F59;
  --on-primary: #FFFFFF;

  /* the hero band is ink in both themes */
  --ink: #0B1E2D;
  --ink-2: #12293B;
  --on-ink: #E8F1F4;
  --on-ink-muted: #9DB0BD;

  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.6rem, 1.4rem + 5vw, 5.4rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --fs-lead: clamp(1.075rem, 1rem + .35vw, 1.25rem);
  --fs-small: .875rem;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;

  --sh-2: 0 10px 30px -12px rgba(19, 33, 42, .22), 0 2px 6px rgba(19, 33, 42, .05);
  --sh-3: 0 34px 70px -24px rgba(8, 16, 22, .45), 0 12px 24px -12px rgba(8, 16, 22, .25);

  --d-fast: 140ms;
  --d-base: 240ms;
  --d-slow: 560ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --wrap: 1200px;
  --wrap-wide: 1320px;
  --gutter: clamp(16px, 4vw, 32px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07131C;
    --surface: #0E1E2A;
    --surface-2: #142734;
    --text: #E8F1F4;
    --text-2: #C2D0D8;
    --muted: #8FA3B0;
    --line: #21384A;
    --line-strong: #5B7385;
    --teal-ink: #2DD4BF;
    --teal-tint: rgba(45,212,191,.13);
    --accent: #FBBF24;
    --accent-ink: #FCD34D;
    --error: #FF8A7A;
    --focus: #2DD4BF;
    --primary: #2DD4BF;
    --primary-hover: #5EEAD4;
    --on-primary: #07131C;
    --sh-2: 0 0 0 1px rgba(255, 255, 255, .06);
    --sh-3: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -20px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  --bg: #07131C;
  --surface: #0E1E2A;
  --surface-2: #142734;
  --text: #E8F1F4;
  --text-2: #C2D0D8;
  --muted: #8FA3B0;
  --line: #21384A;
  --line-strong: #5B7385;
  --teal-ink: #2DD4BF;
  --teal-tint: rgba(45,212,191,.13);
  --accent: #FBBF24;
  --accent-ink: #FCD34D;
  --error: #FF8A7A;
  --focus: #2DD4BF;
  --primary: #2DD4BF;
  --primary-hover: #5EEAD4;
  --on-primary: #07131C;
  --sh-2: 0 0 0 1px rgba(255, 255, 255, .06);
  --sh-3: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -20px rgba(0, 0, 0, .7);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
h1, h2 { font-family: var(--f-display); letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); line-height: 1.06; font-weight: 650; }
h3 { font-family: var(--f-body); font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: var(--wrap-wide); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--on-primary);
  padding: 12px 18px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.section { padding-block: clamp(72px, 10vw, 128px); }
.section--alt { background: var(--surface-2); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; max-width: 60ch; margin: 18px 0 0; }
.kicker { display: block; color: var(--teal-ink); font-weight: 600; font-size: .95rem; margin-bottom: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--d-fast), border-color var(--d-fast), color var(--d-fast), transform var(--d-fast);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn--secondary:hover { background: var(--surface-2); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn .ext { width: 14px; height: 14px; }
.link {
  color: var(--teal-ink); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.link:hover { text-decoration-thickness: 2px; }

/* ---------- logo (inline svg) ---------- */
.ia-l { stroke: var(--logo-ink, var(--text)); }
.ia-n { fill: var(--logo-ink, var(--text)); }
.ia-h { fill: var(--logo-bg, var(--bg)); stroke: var(--logo-ink, var(--text)); }
.ia-d { fill: var(--logo-dot, #14B8A6); }
.ia-w1 { fill: var(--logo-ink, var(--text)); font-family: var(--f-body); font-weight: 700; font-size: 30px; letter-spacing: -.035em; }
.ia-w2 { fill: var(--logo-ink, var(--text)); font-family: var(--f-body); font-weight: 400; font-size: 30px; letter-spacing: -.035em; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  --logo-ink: var(--on-ink); --logo-bg: var(--ink); --logo-dot: #2DD4BF;
  color: var(--on-ink);
  transition: background-color var(--d-base), border-color var(--d-base), color var(--d-base);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --logo-ink: var(--text); --logo-bg: var(--surface); --logo-dot: #14B8A6;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header.is-scrolled { --logo-dot: #2DD4BF; }
}
:root[data-theme="dark"] .site-header.is-scrolled { --logo-dot: #2DD4BF; }

.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; margin-right: auto; border-radius: 6px; }
.brand svg { height: 34px; width: auto; overflow: visible; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-weight: 500; font-size: .95rem; text-decoration: none; opacity: .82; border-radius: 8px;
  position: relative;
}
.nav-links a:hover, .nav-links a[aria-current="true"] { opacity: 1; }
.nav-links a[aria-current="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px;
  border-radius: 50%; background: #2DD4BF; transform: translateX(-50%);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 0; cursor: pointer; color: inherit;
}
.icon-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .sun { display: none; }
  :root:not([data-theme]) .theme-toggle .moon { display: block; }
}
.menu-toggle { display: none; }
.lang-switch {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 10px;
  font-weight: 600; font-size: .85rem; letter-spacing: .02em; text-decoration: none; color: inherit; opacity: .85;
}
.lang-switch:hover { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.lang-switch--menu { justify-self: start; margin-top: 18px; font-size: 1rem; padding: 0; }
.site-header:not(.is-scrolled) .btn--primary { background: #2DD4BF; color: #07131C; }
.site-header:not(.is-scrolled) .btn--primary:hover { background: #5EEAD4; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--text);
  display: flex; flex-direction: column; padding: 16px var(--gutter) max(24px, env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transition: opacity var(--d-base), visibility var(--d-base);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.mobile-menu nav { margin-top: 32px; display: grid; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--f-display); font-size: 2rem; font-weight: 600; letter-spacing: -.02em;
  text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: auto; width: 100%; }

@media (max-width: 1023px) {
  .nav-links, .nav-actions .btn { display: none; }
  .menu-toggle { display: inline-grid; }
  .nav { height: 60px; }
  .brand svg { height: 30px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 38%, rgba(20, 184, 166, .2), transparent 70%),
    radial-gradient(40% 40% at 92% 82%, rgba(245, 158, 11, .12), transparent 70%),
    var(--ink);
  color: var(--on-ink);
  padding: 132px 0 clamp(64px, 8vw, 104px);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9rem; color: var(--on-ink-muted); margin-bottom: 26px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #2DD4BF; box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }
.hero h1 {
  font-size: var(--fs-display); line-height: .98; font-weight: 700; letter-spacing: -.035em;
  max-width: 11ch; text-wrap: balance;
}
.hero h1 .line2 { display: block; color: #2DD4BF; }
:lang(el) .hero h1 { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.6rem); max-width: 14ch; letter-spacing: -.025em; }
:lang(el) h2 { letter-spacing: -.015em; }
.hero__lead { font-size: var(--fs-lead); color: #C2D0D8; max-width: 46ch; margin: 26px 0 34px; line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn--primary { background: #2DD4BF; color: #07131C; }
.hero__ctas .btn--primary:hover { background: #5EEAD4; }
.hero__ctas .btn--secondary { background: transparent; color: var(--on-ink); border-color: rgba(233, 239, 238, .35); }
.hero__ctas .btn--secondary:hover { background: rgba(233, 239, 238, .08); }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 48px 0 0; padding-top: 26px; border-top: 1px solid rgba(233, 239, 238, .14); }
.stats div { display: flex; flex-direction: column; }
.stats dt { order: 2; font-size: .875rem; color: var(--on-ink-muted); }
.stats dd { order: 1; margin: 0; font-family: var(--f-display); font-weight: 650; font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; }

/* the studio wall */
.wall { position: relative; aspect-ratio: 1 / 1.02; max-width: 600px; justify-self: end; width: 100%; }
.wall > * { position: absolute; }
.frame {
  background: var(--surface); border-radius: 12px; overflow: hidden;
  box-shadow: var(--sh-3); border: 1px solid rgba(255, 255, 255, .08);
}
.frame__bar {
  display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  background: #EEF1F0; border-bottom: 1px solid #DDE3E0;
}
.frame__bar i { width: 8px; height: 8px; border-radius: 50%; background: #CDD5D2; }
.frame__url {
  margin-inline: auto; transform: translateX(-14px); font-size: 11px; color: #5D6A71;
  background: #fff; border-radius: 6px; padding: 2px 10px; border: 1px solid #DDE3E0;
}
.frame img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; object-position: top left; }
.poster {
  border-radius: 18px; overflow: hidden; box-shadow: var(--sh-3);
  border: 1px solid rgba(255, 255, 255, .1); background: #FBF7F1;
}
.poster img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.wall .w-wareleaf { width: 68%; top: 2%; right: 0; transform: rotate(1.5deg); z-index: 1; }
.wall .w-citizen { width: 62%; bottom: 6%; left: 0; transform: rotate(-2deg); z-index: 2; }
.wall .w-huesette { width: 31%; top: 13%; left: 6%; transform: rotate(-5deg); z-index: 3; }
.wall .w-evenweight { width: 29%; bottom: 0; right: 6%; transform: rotate(4deg); z-index: 4; }
.wall .w-chip { z-index: 5; }
.wall .w-score { top: 47%; left: -7%; transform: rotate(-1.5deg); }
.wall [data-depth] { will-change: translate; translate: var(--px, 0) var(--py, 0); }

/* hero entrance: one orchestrated moment */
.hero [data-in] { animation: rise var(--d-slow) var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.wall [data-in] { animation-name: fade; }
@keyframes fade { from { opacity: 0; } }

/* ---------- mini mockup chips ---------- */
.chip-card {
  background: #fff; color: #13212A; border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 18px 40px -16px rgba(8, 16, 22, .45), 0 0 0 1px rgba(19, 33, 42, .06);
  font-size: 12px; line-height: 1.35;
}
.score { display: flex; align-items: center; gap: 12px; width: 210px; }
.score__ring {
  --p: 72%;
  width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(#F2400F 0 var(--p), #EEE9E4 0);
  -webkit-mask: radial-gradient(circle, transparent 0 20px, #000 21px);
  mask: radial-gradient(circle, transparent 0 20px, #000 21px);
}
.score__num { position: absolute; width: 58px; text-align: center; font: 700 19px/1 var(--f-display); }
.score__wrap { position: relative; display: grid; place-items: center; }
.score b { display: block; font-size: 13px; }
.score .pass { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 99px; background: #DDF0EA; color: #0B6655; font-weight: 600; }
.shelf { width: 230px; }
.shelf__title { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; }
.shelf__title span { color: #59666F; font-weight: 500; }
.shelf li { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; align-items: center; padding: 5px 0; }
.shelf .spine { width: 14px; height: 20px; border-radius: 2px; }
.shelf .bar { grid-column: 2 / 4; height: 3px; border-radius: 3px; background: #E3E8E5; overflow: hidden; margin-top: -2px; }
.shelf .bar i { display: block; height: 100%; background: #1F5A45; }
.shelf .low .bar i { background: #B42318; }
.shelf .qty { font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- products ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard {
  --p-ink: #13212A; --p-tint: #fff; --focus: #0F766E;
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.pcard[data-product="huesette"] { --p-ink: #A24A32; --p-tint: #F7F1E9; }
.pcard[data-product="evenweight"] { --p-ink: #B80E2A; --p-tint: #FCF5EA; }
.pcard[data-product="citizen"] { --p-ink: #C23400; --p-tint: #F4F4F2; }
.pcard[data-product="wareleaf"] { --p-ink: #1F5A45; --p-tint: #EDF3EF; }
.pcard__visual { height: 210px; background: var(--p-tint); overflow: hidden; position: relative; }
.pcard__visual img { position: absolute; box-shadow: 0 18px 36px -16px rgba(11, 30, 45, .45); }
.pcard__visual--app img { width: 62%; left: 19%; top: 22px; border-radius: 14px; }
.pcard__visual--web img { width: 132%; left: 9%; top: 28px; border-radius: 10px; border: 1px solid rgba(11, 30, 45, .08); }
.pcard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.pcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.pcard__icon { width: 44px; height: 44px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 30, 45, .08); object-fit: contain; }
.pcard h3 { font-family: var(--f-display); font-size: 1.35rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.pcard__head span { display: block; font-size: .85rem; color: var(--muted); }
.pcard__body > p { margin: 0; color: var(--text-2); font-size: .95rem; }
.pcard .btn { margin-top: auto; align-self: flex-start; }
.btn--product { background: var(--p-ink); color: #fff; }
.btn--product:hover { background: color-mix(in srgb, var(--p-ink) 85%, #000); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pcard__visual { filter: brightness(.94); } }
:root[data-theme="dark"] .pcard__visual { filter: brightness(.94); }

/* ---------- studio ---------- */
.studio { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.social { position: relative; max-width: 330px; width: 100%; justify-self: center; }
.social__phone {
  background: var(--surface); border: 10px solid #13212A; border-radius: 44px; padding: 26px 18px 22px;
  box-shadow: var(--sh-3); color: var(--text);
}
.social__top { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.social__avatar { width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(from 200deg, #0F766E, #14B8A6, #2DD4BF, #F59E0B, #0F766E); padding: 3px; }
.social__avatar::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #F3D9C8 0 22%, transparent 23%), radial-gradient(ellipse at 50% 100%, #2C3E50 0 48%, transparent 49%), #E7EBE9; border: 2px solid var(--surface); }
.social__who { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.social__who b { display: block; color: var(--text); font-size: .95rem; }
.social__follow { font-size: .8rem; font-weight: 600; background: var(--primary); color: var(--on-primary); padding: 6px 12px; border-radius: 8px; }
.social__bio { font-size: .85rem; color: var(--text-2); margin: 14px 0 16px; line-height: 1.45; }
.social__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 10px; overflow: hidden; }
.social__grid span { aspect-ratio: 4 / 5; background: var(--g); position: relative; }
.social__grid span::after { content: "AI"; position: absolute; left: 6px; bottom: 6px; font-size: 9px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .35); padding: 1px 5px; border-radius: 4px; }
.social__chip { position: absolute; right: -36px; bottom: 56px; width: 220px; }
.social__chip b { display: block; font-size: 13px; margin-bottom: 2px; }
.social__chip .pass { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 99px; background: #DDF0EA; color: #0B6655; font-weight: 600; }
.ai-list { display: grid; gap: 18px; margin: 26px 0 30px; }
.ai-list li { padding-left: 20px; border-left: 2px solid var(--teal); }
.ai-list h3 { font-size: 1.1rem; margin-bottom: 4px; }
.ai-list p { margin: 0; color: var(--text-2); max-width: 56ch; }
.studio__copy h2 { margin-bottom: 18px; }
.studio__copy > p { color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; max-width: 52ch; }
.studio__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- services ---------- */
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-bottom: clamp(48px, 6vw, 72px); }
.line { padding-top: 22px; border-top: 2px solid var(--text); }
.line h3 { margin-bottom: 10px; }
.line p { color: var(--text-2); font-size: .975rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .8rem; font-weight: 500; padding: 3px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }

.packages { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.packages__title { padding: 22px 28px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; align-items: baseline; }
.packages__title h3 { font-size: 1.15rem; }
.packages__title p { margin: 0; color: var(--muted); font-size: .9rem; }
.pkg {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) 150px 190px;
  gap: 16px 28px; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line);
}
.pkg:last-child { border-bottom: 0; }
.pkg__name { font-weight: 600; font-size: 1.05rem; }
.pkg__line { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.pkg__desc { color: var(--text-2); font-size: .95rem; margin: 0; }
.pkg__price { font-family: var(--f-display); font-size: 1.8rem; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.pkg__price small { display: block; font-family: var(--f-body); font-size: .8rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.pkg .btn { justify-self: end; }
.pkg--featured { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%); box-shadow: inset 4px 0 0 var(--accent); }
.pkg--featured .start { white-space: nowrap; display: inline-block; font-size: .75rem; font-weight: 600; color: var(--accent-ink); margin-left: 8px; padding: 1px 8px; border: 1px solid currentColor; border-radius: 99px; vertical-align: 2px; }
.footnote { color: var(--muted); font-size: .875rem; margin: 18px 0 0; }

/* ---------- work ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.case__art { aspect-ratio: 16 / 9; background: var(--surface-2); border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.case__art svg { width: 82%; height: auto; }
.case__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.case__sector { font-size: .85rem; color: var(--teal-ink); font-weight: 600; margin-bottom: 8px; }
.case h3 { margin-bottom: 10px; }
.case p { color: var(--text-2); font-size: .95rem; }
.case .tags { margin-top: auto; padding-top: 8px; }
.case .tags li { background: var(--surface-2); }
.also { margin: 28px 0 0; color: var(--text-2); }
.svg-ink { stroke: var(--text); }
.svg-teal { stroke: var(--teal); }
.svg-accent { stroke: var(--accent); }
.fill-teal { fill: var(--teal); }
.fill-accent { fill: var(--accent); }
.fill-surface { fill: var(--surface); }
.fill-ink { fill: var(--text); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 20px; right: 20px; top: 19px; height: 2px; background: var(--line); }
.step { position: relative; }
.step__n {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--teal); color: var(--teal-ink); font-weight: 700; margin-bottom: 18px; position: relative;
}
.section--alt .step__n { background: var(--surface-2); }
.step:first-child .step__n { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: .93rem; margin: 0; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.principles p { margin: 0; color: var(--text-2); }
.principles strong { display: block; color: var(--text); margin-bottom: 4px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.about__copy > p { color: var(--text-2); font-size: 1.05rem; max-width: 58ch; }
.about__copy h2 { margin-bottom: 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.terminal {
  background: var(--ink); color: #CFE0DC; border-radius: var(--r-md); overflow: hidden;
  font: 400 .9rem/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; box-shadow: var(--sh-2);
}
.terminal__bar { display: flex; gap: 6px; padding: 12px 14px; background: #16242B; }
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: #34464F; }
.terminal pre { margin: 0; padding: 18px 22px 22px; white-space: pre-wrap; font: inherit; }
.terminal .p { color: #2DD4BF; }
.terminal .c { color: #FBBF24; }
.terminal .d { color: #7E9198; }
.about__mark { --logo-bg: var(--surface-2); display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.about__mark svg { width: 64px; height: 64px; }
.about__mark p { margin: 0; color: var(--muted); font-size: .95rem; }
.about__mark strong { display: block; color: var(--text); font-size: 1.05rem; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 88px); }
.faq__head { align-self: start; position: sticky; top: 100px; }
.faq__head h2 { margin-bottom: 16px; }
.faq__head p { color: var(--text-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-3px); transition: transform var(--d-base) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { color: var(--text-2); max-width: 62ch; margin: 0 0 22px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__aside h2 { margin-bottom: 16px; }
.contact__aside p { color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.contact__aside dl { margin: 32px 0 0; display: grid; gap: 18px; }
.contact__aside dt { font-size: .85rem; color: var(--muted); }
.contact__aside dd { margin: 2px 0 0; font-weight: 600; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field[hidden] { display: none; }
.field label, .field .label { font-weight: 500; font-size: .9rem; }
.field .req { color: var(--accent-ink); }
.field .opt { color: var(--muted); font-weight: 400; }
.input {
  width: 100%; min-height: 48px; padding: 0 14px; font-size: 1rem;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color var(--d-fast), box-shadow var(--d-fast);
}
textarea.input { padding: 12px 14px; min-height: 140px; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat;
}
.input:hover { border-color: var(--text-2); }
.input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.input[aria-invalid="true"] { border-color: var(--error); border-width: 1.5px; }
.field__hint { font-size: .85rem; color: var(--muted); margin: 0; }
.field__error { font-size: .85rem; color: var(--error); font-weight: 500; margin: 0; }
.field__error:empty { display: none; }
.consent-note { font-size: .9rem; color: var(--text-2); margin: 4px 0 0; }
.commitment { font-size: .95rem; line-height: 1.5; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; margin: 0 0 24px; max-width: 58ch; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .9rem; color: var(--text-2); margin-bottom: 6px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.form__submit p { margin: 0; color: var(--muted); font-size: .9rem; }
.form__alert { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--error) 9%, var(--surface)); color: var(--error); font-weight: 500; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: center; padding: 32px 8px; }
.success__tick { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--teal-tint); display: grid; place-items: center; }
.success__tick svg { width: 26px; height: 26px; stroke: var(--teal-ink); }
.success h3 { margin-bottom: 8px; }
.success h3:focus { outline: none; }
.success p { color: var(--text-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); padding: 72px 0 32px; position: relative; overflow: hidden;
  --logo-ink: var(--on-ink); --logo-bg: var(--ink); --logo-dot: #2DD4BF; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--f-body); font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--on-ink-muted); margin-bottom: 12px; }
.footer-grid a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; opacity: .9; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-grid li span { color: var(--on-ink-muted); font-size: .85rem; }
.footer-brand svg { height: 36px; width: auto; overflow: visible; margin-bottom: 16px; }
.footer-brand p { color: var(--on-ink-muted); max-width: 32ch; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(233, 239, 238, .12); color: var(--on-ink-muted); font-size: .85rem; display: grid; gap: 6px; }
.footer-legal p { margin: 0; }
.footer-art {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(72px, 16vw, 240px);
  line-height: .8; letter-spacing: -.04em; color: rgba(233, 239, 238, .05); margin: 40px 0 -0.18em; white-space: nowrap; user-select: none;
}

/* ---------- legal page ---------- */
.legal { padding: 140px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.4rem); line-height: 1.05; margin-bottom: 14px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.legal-page .site-header { --logo-ink: var(--text); --logo-bg: var(--surface); --logo-dot: #14B8A6; color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pkg { grid-template-columns: minmax(0, 1fr) 140px; }
  .pkg__desc { grid-column: 1 / -1; grid-row: 2; }
  .pkg .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 1023px) {
  .hero { padding-top: 104px; }
  .hero__grid { grid-template-columns: 1fr; }
  .wall { justify-self: center; max-width: 560px; margin-top: 12px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio, .about, .faq, .contact { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .lines, .cases { grid-template-columns: 1fr; }
  .cases { max-width: 640px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .step { display: grid; grid-template-columns: 40px 1fr; gap: 0 18px; }
  .step__n { margin: 0; grid-row: span 2; }
  .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { max-width: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; }
  .stats dd { font-size: 1.6rem; }
  .stats dt { font-size: .8rem; }
  .wall { aspect-ratio: 1 / 1; }
  .wall .w-wareleaf, .wall .w-citizen { display: none; }
  .wall .w-huesette { width: 44%; top: 2%; left: 4%; }
  .wall .w-evenweight { width: 42%; top: 8%; bottom: auto; right: 4%; }
  .wall .w-score { top: auto; bottom: 0; left: 50%; transform: translateX(-50%) rotate(-1deg) scale(.9); }
  .social__chip { right: -6px; bottom: 24px; transform: scale(.9); transform-origin: bottom right; }
  .pkg { grid-template-columns: 1fr; padding: 22px; }
  .pkg__desc { grid-row: auto; }
  .pkg .btn { width: 100%; }
  .packages__title { padding: 20px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__submit .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
}

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