:root {
  --bg: #eceff0;
  --surface: #f6f8f8;
  --surface-2: #dde4e4;
  --ink: #131e1f;
  --ink-soft: #3b4849;
  --muted: #6d7a7b;
  --line: rgba(19, 30, 31, 0.12);
  --line-strong: rgba(19, 30, 31, 0.22);
  --accent: #1583d6;
  --accent-deep: #0f6bb0;
  --accent-soft: rgba(21, 131, 214, 0.13);
  --contrast-bg: #161c1d;
  --contrast-ink: #eceff0;
  --contrast-muted: #949d9e;
  --contrast-line: rgba(236, 239, 240, 0.14);

  --shadow-sm: 0 1px 2px rgba(19, 30, 31, 0.04), 0 2px 8px rgba(19, 30, 31, 0.05);
  --shadow-md: 0 12px 30px -12px rgba(19, 30, 31, 0.18), 0 4px 10px rgba(19, 30, 31, 0.05);
  --shadow-lg: 0 36px 70px -28px rgba(19, 30, 31, 0.32);

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 9px;
  --r-xl: 13px;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --pad-x: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 140px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.18s var(--ease);
  --t-med: 0.34s var(--ease);
}

[data-theme="dark"] {
  --bg: #0b1413;
  --surface: #111c1b;
  --surface-2: #162322;
  --ink: #e9efee;
  --ink-soft: #c8d3d2;
  --muted: #889796;
  --line: rgba(233, 239, 238, 0.12);
  --line-strong: rgba(233, 239, 238, 0.22);
  --accent: #4aa6e8;
  --accent-deep: #61b6ef;
  --accent-soft: rgba(74, 166, 232, 0.16);
  --contrast-bg: #0a0d0e;
  --contrast-ink: #e9efee;
  --contrast-muted: #889796;
  --contrast-line: rgba(233, 239, 238, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 30px -12px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 36px 70px -28px rgba(0, 0, 0, 0.7);
}

[data-accent="orange"] {
  --accent: #ec6a2b;
  --accent-deep: #c8520f;
  --accent-soft: rgba(236, 106, 43, 0.13);
}
[data-theme="dark"][data-accent="orange"] {
  --accent: #f5894c;
  --accent-deep: #f99c64;
  --accent-soft: rgba(245, 137, 76, 0.16);
}

[data-accent="teal"] {
  --accent: #16807a;
  --accent-deep: #0e615c;
  --accent-soft: rgba(22, 128, 122, 0.13);
}
[data-theme="dark"][data-accent="teal"] {
  --accent: #3fb3aa;
  --accent-deep: #4ec3b9;
  --accent-soft: rgba(63, 179, 170, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  transition: background var(--t-med), color var(--t-med);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: balance;
}

em.disp {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 200;
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0;
  padding: 0.92em 1.5em;
  border-radius: 100px;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}

.btn .arrow {
  transition: transform var(--t-fast);
}
.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: "Lobster", var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  position: relative;
  top: -1px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 100px;
  position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--accent-soft);
}
.nav-links a.active {
  color: var(--accent-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.icon-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px;
  font-size: 0.82rem;
  font-weight: 600;
}
.lang-toggle button {
  padding: 5px 11px;
  border-radius: 100px;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color var(--t-fast), background var(--t-fast);
}
.lang-toggle button.active {
  background: var(--ink);
  color: var(--bg);
}

.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  border: 1px solid var(--line);
}
.menu-toggle span {
  position: relative;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  display: block;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-fast);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: var(--section-y);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 620px;
  background:
    radial-gradient(ellipse 50% 60% at 78% 20%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse 60% 50% at 12% 8%, rgba(60, 64, 53, 0.06), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: 26px; }

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  margin-bottom: 28px;
}

.hero-lead {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 36ch;
  margin-bottom: 38px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-meta .sep {
  width: 1px;
  height: 28px;
  background: var(--line);
}

/* ---------- Hero visual ---------- */
.hero-visual {
  position: relative;
  perspective: 1600px;
}

.browser {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(2.5deg) rotate(-0.4deg);
  transition: transform var(--t-med);
}
.hero-visual:hover .browser {
  transform: rotateY(-3deg) rotateX(1deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 70%, var(--surface-2));
}
.browser-bar .dots {
  display: flex;
  gap: 6px;
}
.browser-bar .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.browser-bar .url {
  flex: 1;
  margin-left: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--muted);
  padding: 6px 14px;
  font-family: var(--sans);
  display: flex;
  align-items: center;
  gap: 6px;
}
.browser-bar .url::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

.browser-body {
  padding: 26px 26px 30px;
  display: grid;
  gap: 18px;
}
.mini-hero {
  display: grid;
  gap: 12px;
}
.mini-tag {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
}
.mini-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.05;
  color: var(--ink);
}
.mini-line {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-2);
}
.mini-line.w70 { width: 70%; }
.mini-line.w50 { width: 50%; }
.mini-btn {
  margin-top: 4px;
  width: fit-content;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
}
.mini-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.mini-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 12px;
  display: grid;
  gap: 8px;
}
.mini-card .chip {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
}
.mini-card .l {
  height: 6px;
  border-radius: 3px;
  background: var(--surface-2);
}
.mini-card .l.s { width: 60%; }

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 16px 18px;
}
.float-type {
  left: -34px;
  bottom: 56px;
  width: 188px;
  display: grid;
  gap: 4px;
}
.float-type .ft-label {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.float-type .ft-big {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}
.float-type .ft-sub {
  font-size: 0.74rem;
  color: var(--muted);
}

.float-perf {
  right: -26px;
  top: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.float-perf .gauge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 348deg, var(--surface-2) 0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.float-perf .gauge span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}
.float-perf .pf-text small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.float-perf .pf-text strong {
  font-size: 0.86rem;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Section primitives ---------- */
.section {
  padding-block: var(--section-y);
}
.section-head {
  max-width: 64ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  margin-bottom: 20px;
}
.section-head p {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 56ch;
}
.section-head.center p { margin-inline: auto; }

/* ---------- Trust strip ---------- */
.trust {
  border-block: 1px solid var(--line);
  padding-block: clamp(36px, 4vw, 52px);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
.trust-item {
  display: grid;
  gap: 8px;
}
.trust-item .ti-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--accent-deep);
  font-weight: 500;
}
.trust-item h3 {
  font-family: var(--sans);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.trust-item p {
  font-size: 0.93rem;
  color: var(--muted);
}

/* ---------- Problem / positioning ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.problem-list {
  list-style: none;
  display: grid;
  gap: 2px;
}
.problem-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.problem-list li:first-child { padding-top: 0; }
.problem-list li .x {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.problem-statement {
  background: var(--contrast-bg);
  color: var(--contrast-ink);
  border-radius: var(--r-xl);
  padding: clamp(34px, 4vw, 56px);
  box-shadow: var(--shadow-lg);
}
.problem-statement .eyebrow {
  color: var(--accent);
}
.problem-statement .eyebrow::before { background: var(--accent); }
.problem-statement p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.28;
  margin-top: 22px;
  color: var(--contrast-ink);
}
.problem-statement p em { color: var(--accent); font-style: italic; }

/* ---------- Services bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.4vw, 36px);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.service-card { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; }
.service-card.wide { grid-column: span 3; }
.service-card.full {
  grid-column: span 6;
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.service-card.full .service-icon { margin-bottom: 0; flex-shrink: 0; }
.service-card.full h3 { flex-shrink: 0; }
.service-card.full p { margin: 0; max-width: 62ch; }
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 26%, transparent);
  display: grid;
  place-items: center;
  color: var(--accent-deep);
  margin-bottom: 4px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}
.service-card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.service-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--serif);
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Process ---------- */
.process {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 3vw, 40px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .step-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  color: var(--accent);
  line-height: 1;
  font-weight: 400;
}
.step-body { max-width: 60ch; }
.step-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
  margin-bottom: 10px;
}
.step-body p {
  font-size: 1.02rem;
  color: var(--ink-soft);
}

/* ---------- Why custom ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.4vw, 34px);
  display: grid;
  gap: 10px;
  align-content: start;
  transition: transform var(--t-med), border-color var(--t-med);
}
.why-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.why-card .wc-mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: 6px;
}
.why-card h3 {
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 600;
}
.why-card p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Work / directions ---------- */
.work-note {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  margin-top: 18px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.work-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  transition: transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-thumb {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 20px;
}
.work-thumb.a { background: linear-gradient(150deg, #efe8db, #e2d4be); }
.work-thumb.b { background: linear-gradient(150deg, #e6e9ec, #d1d7dd); }
.work-thumb.c { background: linear-gradient(150deg, #e7e9f0, #d2d7e3); }
[data-theme="dark"] .work-thumb.a { background: linear-gradient(150deg, #221c12, #17120a); }
[data-theme="dark"] .work-thumb.b { background: linear-gradient(150deg, #1a1f23, #11161a); }
[data-theme="dark"] .work-thumb.c { background: linear-gradient(150deg, #161b28, #0f131d); }

.mk {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .mk { background: #0e1315; border-color: rgba(233, 239, 238, 0.1); }
.mk-bar { height: 18px; display: flex; align-items: center; gap: 4px; padding: 0 9px; border-bottom: 1px solid var(--line); background: #f2f3f4; }
[data-theme="dark"] .mk-bar { background: #161b1d; border-color: rgba(233, 239, 238, 0.1); }
.mk-bar i { width: 5px; height: 5px; border-radius: 50%; background: #d3d7da; }
.mk-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mk .ln { display: block; height: 5px; border-radius: 3px; background: #e2e5e8; }
[data-theme="dark"] .mk .ln { background: #28302f; }
.mk .w80 { width: 80%; }
.mk .w70 { width: 70%; }
.mk .w55 { width: 55%; }
.mk .w40 { width: 40%; }
.mk-nav { display: flex; align-items: center; justify-content: space-between; }
.mk-logo { width: 32px; height: 8px; border-radius: 3px; background: #c8ccd0; }
[data-theme="dark"] .mk-logo { background: #3a4245; }
.mk-menu { display: flex; align-items: center; gap: 6px; }
.mk-menu b { width: 13px; height: 4px; border-radius: 2px; background: #dde0e3; }
[data-theme="dark"] .mk-menu b { background: #2a3134; }
.mk-btn { display: block; width: 40px; height: 12px; border-radius: 5px; background: #444b52; }
.mk-btn.sm { width: 34px; height: 11px; }

.mk-furniture .mk-logo { background: #b07d4f; }
.mk-furniture .mk-menu em { width: 15px; height: 13px; border-radius: 4px; background: #ead9c4; }
.mk-furniture .mk-btn { width: 44px; background: #8a5e36; margin-top: 2px; }
.mk-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.mk-hero-copy { display: flex; flex-direction: column; gap: 6px; }
.mk-sofa { height: 46px; border-radius: 8px; background: linear-gradient(135deg, #cc9d6c, #a67646); }
.mk-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-prod { display: flex; flex-direction: column; gap: 4px; }
.mk-prod .ph { height: 24px; border-radius: 5px; background: #eaddc9; }
[data-theme="dark"] .mk-prod .ph { background: #2c2418; }
.mk-prod .price { background: #b07d4f; }

.mk-build .mk-logo { background: #3b4147; }
[data-theme="dark"] .mk-build .mk-logo { background: #555d63; }
.mk-build .mk-btn { background: #e2922f; }
.mk-hero-b { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 10px; align-items: center; }
.mk-hl { display: flex; flex-direction: column; gap: 6px; }
.mk .ln.thick { height: 9px; border-radius: 3px; background: #ccd0d4; }
[data-theme="dark"] .mk .ln.thick { background: #39413f; }
.mk-photo { height: 52px; border-radius: 7px; background: linear-gradient(135deg, #6f7a85, #464e56); position: relative; overflow: hidden; }
.mk-photo::after { content: ""; position: absolute; right: 7px; top: 7px; width: 13px; height: 13px; border-radius: 4px; background: #e2922f; }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 9px; }
.mk-stat { display: flex; flex-direction: column; gap: 4px; }
.mk-stat .num { display: block; height: 9px; width: 62%; border-radius: 3px; background: #e2922f; }

.mk-law .mk-logo { width: 40px; height: 9px; background: #202a45; }
[data-theme="dark"] .mk-law .mk-logo { background: #46527a; }
.mk-law .mk-menu b { width: 15px; height: 3px; background: #c8ccd4; }
.mk-hero-law { background: #202a45; border-radius: 7px; padding: 13px 12px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.mk-hero-law .rule { display: block; width: 22px; height: 3px; border-radius: 2px; background: #b08d4f; margin-bottom: 2px; }
.mk-hero-law .ln { background: rgba(255, 255, 255, 0.85); }
.mk-hero-law .t1 { width: 68%; height: 7px; }
.mk-hero-law .t2 { width: 50%; height: 7px; }
.mk-hero-law .sub { width: 44%; height: 4px; background: rgba(255, 255, 255, 0.4); }
.mk-hero-law .pill { display: block; width: 40px; height: 11px; border-radius: 6px; background: #b08d4f; margin-top: 3px; }
.mk-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mk-col { display: flex; flex-direction: column; gap: 5px; }
.mk-col .top { display: block; width: 18px; height: 3px; border-radius: 2px; background: #b08d4f; margin-bottom: 2px; }

.wt-frame {
  width: 100%;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.wt-bar {
  height: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
}
.wt-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.wt-content { padding: 16px; display: grid; gap: 9px; }
.wt-content .t { height: 11px; width: 64%; border-radius: 4px; background: var(--accent); opacity: 0.85; }
.wt-content .r { height: 7px; border-radius: 4px; background: var(--surface-2); }
.wt-content .r.s { width: 80%; }
.wt-content .r.xs { width: 45%; }
.wt-row { display: flex; gap: 7px; margin-top: 4px; }
.wt-row .b { flex: 1; height: 26px; border-radius: 7px; background: var(--surface-2); }

.work-card .wc-body { padding: 24px 26px 28px; display: grid; gap: 8px; }
.work-card .wc-tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-deep);
}
.work-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.work-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.about-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--contrast-bg);
  color: var(--contrast-ink);
  border-radius: var(--r-xl);
  overflow: visible;
  box-shadow: var(--shadow-lg);
  margin: clamp(54px, 6vw, 82px) 0 0;
}
.about-card > .about-photo,
.about-card > .quote { position: relative; z-index: 1; }
.about-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1450 / 1080;
  margin-top: clamp(-88px, -7vw, -56px);
  overflow: visible;
}
.about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 6%;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(to top, var(--contrast-bg) 6%, rgba(10, 13, 14, 0.72) 38%, transparent);
  pointer-events: none;
  z-index: 2;
}
.about-code {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 3;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  pointer-events: none;
}
.about-id {
  position: absolute;
  left: clamp(22px, 2.4vw, 32px);
  bottom: 18px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}
.about-name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
}
.about-role {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.about-card .quote {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--contrast-ink);
  padding: clamp(20px, 2.4vw, 28px) clamp(24px, 2.6vw, 34px) clamp(26px, 3vw, 34px);
}
.sketch {
  position: absolute;
  z-index: 4;
  color: var(--accent);
  pointer-events: none;
  opacity: 0.8;
}
.sketch svg { display: block; }
.sketch-code {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.sketch-tl { top: -30px; left: -18px; width: 26px; height: 26px; transform: rotate(-14deg); }
.sketch-tr { top: 26px; right: -26px; width: 22px; height: 22px; transform: rotate(10deg); }
.sketch-dot { top: 40%; left: -30px; width: 16px; height: 16px; opacity: 0.65; }
.sketch-codebl { bottom: 30px; left: -34px; transform: rotate(-8deg); opacity: 0.9; }
.sketch-spark { right: -24px; bottom: 24px; width: 30px; height: 30px; }
.sketch-coderb { top: -22px; right: 30%; transform: rotate(6deg); opacity: 0.85; }
.about-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 24px;
}
.about-copy p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 52ch;
}
.about-points {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.about-points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink-soft);
}
.about-points li .ck {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
}
.cta-inner {
  background: var(--contrast-bg);
  color: var(--contrast-ink);
  border-radius: var(--r-xl);
  padding: clamp(54px, 7vw, 100px) clamp(28px, 5vw, 80px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-inner::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 360px;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, color-mix(in oklab, var(--accent) 40%, transparent), transparent 70%);
  pointer-events: none;
}
.cta-inner .eyebrow { color: var(--accent); justify-content: center; }
.cta-inner .eyebrow::before { background: var(--accent); }
.cta-inner h2 {
  color: var(--contrast-ink);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin: 22px auto 22px;
  max-width: 18ch;
}
.cta-inner p {
  color: var(--contrast-muted);
  font-size: 1.15rem;
  max-width: 48ch;
  margin: 0 auto 40px;
  position: relative;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 80px);
}
.contact-aside h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 20px;
}
.contact-aside p {
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 40ch;
}
.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.contact-line:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-line .ic { color: var(--accent); display: inline-flex; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3vw, 44px);
  box-shadow: var(--shadow-sm);
}
.field {
  margin-bottom: 20px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.field label .req { color: var(--accent); }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.invalid input,
.field.invalid textarea {
  border-color: #c0492f;
  box-shadow: 0 0 0 3px rgba(192, 73, 47, 0.12);
}
.field .error {
  font-size: 0.82rem;
  color: #c0492f;
  margin-top: 6px;
  display: none;
}
.field.invalid .error { display: block; }

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.form-foot .note { font-size: 0.84rem; color: var(--muted); max-width: 30ch; }
.form .btn-accent { width: auto; }

.form-success {
  display: none;
  text-align: center;
  padding: clamp(28px, 4vw, 50px) 10px;
}
.form-success.show { display: block; }
.form.sent .form-body { display: none; }
.success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  color: var(--accent-deep);
}
.form-success h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); max-width: 38ch; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 72px);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { max-width: 34ch; }
.footer-brand .brand { font-size: 1.5rem; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.96rem; }
.footer-nav {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 0.96rem; color: var(--ink-soft); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--accent-deep); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 540px; }
  .float-type { left: 0; }
  .float-perf { right: 0; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.wide { grid-column: span 3; }
}

@media (max-width: 880px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-cta-desktop { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .service-card,
  .service-card.wide { grid-column: span 1; }
  .service-card.full { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .work-grid { grid-template-columns: 1fr; max-width: 460px; }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }

  .mobile-menu {
    position: fixed;
    inset: 78px 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 18px var(--pad-x) 28px;
    display: grid;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-med), opacity var(--t-med);
    box-shadow: var(--shadow-md);
    z-index: 90;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .mobile-menu.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu a {
    padding: 14px 6px;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu .btn { margin-top: 16px; justify-content: center; }
}

@media (min-width: 881px) {
  .mobile-menu { display: none; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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