@font-face {
  font-family: "BW Serif";
  src: url("/fonts/lora-var.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f6f4;
  --paper-alt: #e9eeea;
  --surface: #ffffff;
  --ink: #121714;
  --muted: #56615a;
  --line: #d8dfda;
  --line-strong: #bcc7bf;
  --brand: #14a83f;
  --brand-text: #0b7a2d;
  --brand-soft: #dcf0e2;
  --band: #121714;
  --band-surface: #1b231e;
  --band-text: #eef3ef;
  --band-muted: #a3b0a7;
  --band-line: #2b352f;
  --danger: #b42318;
  --success: #0b7a2d;
  --shadow: 0 1px 2px rgb(18 23 20 / 6%), 0 12px 32px -12px rgb(18 23 20 / 18%);
  --shadow-lg: 0 2px 6px rgb(18 23 20 / 6%), 0 40px 80px -30px rgb(18 23 20 / 35%);

  --serif: "BW Serif", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --section-y: clamp(80px, 10vw, 136px);
  --header-h: 72px;
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0f1311;
  --paper-alt: #151a17;
  --surface: #181e1b;
  --ink: #e9efea;
  --muted: #9ca8a0;
  --line: #29312c;
  --line-strong: #3b4640;
  --brand: #3ccf6a;
  --brand-text: #62dc88;
  --brand-soft: #193424;
  --band: #18201b;
  --band-surface: #1f2923;
  --band-line: #2f3a33;
  --danger: #ff8a80;
  --success: #62dc88;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px -12px rgb(0 0 0 / 60%);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / 30%), 0 40px 80px -30px rgb(0 0 0 / 70%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0f1311;
    --paper-alt: #151a17;
    --surface: #181e1b;
    --ink: #e9efea;
    --muted: #9ca8a0;
    --line: #29312c;
    --line-strong: #3b4640;
    --brand: #3ccf6a;
    --brand-text: #62dc88;
    --brand-soft: #193424;
    --band: #18201b;
    --band-surface: #1f2923;
    --band-line: #2f3a33;
    --danger: #ff8a80;
    --success: #62dc88;
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-soft); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.lead { font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 38em; }
.lead a { color: var(--brand-text); }

.btn {
  --bg: var(--surface); --fg: var(--ink); --bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px;
  border: 1px solid var(--bd); border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn-ghost { --bg: transparent; }
.btn-sm { min-height: 38px; padding: 7px 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
@media (hover: hover) {
  .btn:hover { --bd: var(--ink); }
  .btn-primary:hover { --bg: var(--brand-text); --bd: var(--brand-text); --fg: #fff; }
  :root[data-theme="dark"] .btn-primary:hover { --fg: #08110b; }
}
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 46px; }
.logo-dark-bg { display: none !important; }
:root[data-theme="dark"] .logo-light-bg { display: none !important; }
:root[data-theme="dark"] .logo-dark-bg { display: block !important; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; }
.primary-nav a:not(.btn) { display: block; padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s, background-color 0.2s; }
.primary-nav a:not(.btn):hover { color: var(--ink); background: var(--paper-alt); }
.primary-nav a[aria-current="true"] { color: var(--ink); }
.nav-cta { display: none; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.theme-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); transition: border-color 0.2s; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

@media (max-width: 1080px) { .primary-nav a:not(.btn) { padding: 8px 9px; font-size: 14.5px; } }
@media (max-width: 960px) {
  .header-cta { display: none; }
  .menu-btn { display: block; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    padding: 12px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .primary-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a:not(.btn) { padding: 14px 4px; border-radius: 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .primary-nav a:not(.btn):hover { background: none; }
  .nav-cta { display: block; margin-top: 16px; }
}

.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.15rem); line-height: 1.02; letter-spacing: -0.025em; font-weight: 600; }
.hero-lead { margin-top: 26px; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); color: var(--muted); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 20px; font-size: 14.5px; color: var(--muted); display: flex; align-items: flex-start; gap: 10px; max-width: 34em; }
.hero-note::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.55em; border-radius: 50%; background: var(--brand); }

.hero-work { position: relative; padding: 0 0 28px; }
.hero-work-link { display: block; position: relative; color: inherit; text-decoration: none; }
.frame { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.frame-screen { position: relative; aspect-ratio: 16 / 10; background: var(--paper-alt); overflow: hidden; }
.frame-screen img, .frame-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.frame-screen.is-empty { display: grid; place-items: center; padding: 24px; text-align: center; }
.frame-empty strong { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); font-weight: 600; line-height: 1.15; }
.frame-empty span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
.frame-phone { position: absolute; right: -14px; bottom: -28px; width: 27%; aspect-ratio: 9 / 18.5; border: 5px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); }
.hero-work figcaption { margin-top: 44px; font-size: 14px; color: var(--muted); }
.hero-work figcaption strong { color: var(--ink); font-weight: 600; }
.js .frame-screen:not(.is-ready):not(.is-empty) { background: linear-gradient(100deg, var(--paper-alt) 40%, var(--line) 50%, var(--paper-alt) 60%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-work { animation: rise 0.9s 0.15s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 520px) { .hero-actions .btn { flex: 1 1 auto; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-work { max-width: 640px; }
  .frame-phone { right: 4px; }
}

.section { padding-block: var(--section-y); }
.section-alt { background: var(--paper-alt); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section h2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.split-head { position: sticky; top: calc(var(--header-h) + 32px); }
.split-head .lead { margin-top: 20px; }
.split-head p + p { margin-top: 16px; }
@media (max-width: 900px) {
  .section-head, .split { grid-template-columns: 1fr; }
  .split-head { position: static; }
}

.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service h3 { font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.65rem); }
.service p { color: var(--muted); }
@media (max-width: 600px) { .service { grid-template-columns: 1fr; padding: 22px 0; } }
.included { margin-top: 40px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.included h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.included ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 16px; }
.included li { display: flex; gap: 12px; align-items: baseline; }
.included li::before { content: ""; flex: none; width: 13px; height: 7px; border-left: 2px solid var(--brand-text); border-bottom: 2px solid var(--brand-text); transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 600px) { .included ul { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.plan.is-recommended { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; left: clamp(22px, 3vw, 30px); padding: 3px 12px; border-radius: 999px; background: var(--brand); color: #08110b; font-size: 13px; font-weight: 600; }
.plan h3 { font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2rem); }
.plan-desc { margin-top: 8px; color: var(--muted); font-size: 16px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan-amount { font-family: var(--serif); font-size: clamp(2.8rem, 2.2rem + 2vw, 3.6rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.plan-period { font-size: 17px; font-weight: 600; color: var(--muted); }
.plan-terms { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.plan-terms span { display: block; }
.plan-features { display: grid; gap: 12px; margin: 26px 0 30px; }
.plan-features li { display: flex; gap: 12px; align-items: baseline; }
.plan-features li::before { content: ""; flex: none; width: 13px; height: 7px; border-left: 2px solid var(--brand-text); border-bottom: 2px solid var(--brand-text); transform: translateY(-3px) rotate(-45deg); }
.plan .btn { margin-top: auto; }

.plan-dialog { margin: auto; width: min(480px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.plan-dialog::backdrop { background: rgb(8 11 9 / 55%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.plan-form { padding: clamp(20px, 4vw, 28px); }
.plan-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.plan-dialog-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.plan-dialog-price { margin-top: 4px; font-weight: 600; color: var(--brand-text); }
.plan-dialog-close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.plan-dialog-close:hover { border-color: var(--ink); }
.plan-dialog-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.plan-dialog-note { margin: 14px 0 20px; color: var(--muted); font-size: 15px; }
.plan-dialog .form-grid { grid-template-columns: 1fr; gap: 14px; }
.plan-dialog .consent { margin: 18px 0; }
.plan-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.plan-success { padding: 36px 24px; }
@media (max-width: 520px) { .plan-dialog-actions .btn { flex: 1 1 auto; } }

.project-tabs { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.project-tabs::-webkit-scrollbar { display: none; }
.project-tab { flex: none; min-height: 42px; padding: 8px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-weight: 600; font-size: 15px; color: var(--muted); transition: all 0.2s; }
.project-tab:hover { color: var(--ink); border-color: var(--ink); }
.project-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.project { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.project.is-entering { animation: fade 0.45s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.stage-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity 0.3s; }
.stage-img img.is-contain { object-fit: contain; background: var(--paper-alt); }
.stage-img img.is-loading { opacity: 0.35; }
.stage-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform 0.2s var(--ease), background-color 0.2s; }
.stage-nav:hover { background: var(--surface); }
.stage-nav:active { transform: scale(0.94); }
.stage-nav svg, .lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stage-prev { left: 16px; }
.stage-next { right: 16px; }
.stage-badge { position: absolute; right: 16px; top: 16px; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 78%, transparent); color: var(--paper); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
.stage-zoom { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 78%, transparent); color: var(--paper); font-size: 13px; font-weight: 600; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.stage:hover .stage-zoom, .stage-img:focus-visible ~ .stage-zoom { opacity: 1; }
.stage-caption { margin-top: 12px; min-height: 1.5em; font-size: 15px; color: var(--muted); }

.thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 4px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.thumb { flex: none; width: 112px; aspect-ratio: 16 / 10; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--surface); opacity: 0.62; scroll-snap-align: start; transition: opacity 0.2s, border-color 0.2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { opacity: 1; border-color: var(--brand); }

.project-info { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px 64px; padding-top: 8px; }
.project-cat { font-size: 14px; font-weight: 600; color: var(--brand-text); }
.project-info h3 { margin-top: 6px; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); }
.project-desc { color: var(--muted); font-size: 17px; white-space: pre-line; }
.project-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brand); padding-bottom: 2px; }
.project-link:hover { color: var(--brand-text); }
.project-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@media (max-width: 760px) {
  .project-info { grid-template-columns: 1fr; }
  .stage { aspect-ratio: 16 / 10; border-radius: var(--radius); }
  .stage-nav { width: 40px; height: 40px; }
  .stage-prev { left: 10px; } .stage-next { right: 10px; }
  .thumb { width: 88px; }
}

.project-skeleton .sk-stage { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
.project-skeleton .sk-line { height: 22px; margin-top: 22px; width: 40%; border-radius: 6px; }
.project-skeleton .sk-line.is-short { width: 24%; height: 16px; margin-top: 12px; }
.project-skeleton > * { background: linear-gradient(100deg, var(--line) 40%, var(--paper) 50%, var(--line) 60%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.state-box { padding: 40px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); text-align: center; color: var(--muted); }
.state-box .btn { margin-top: 16px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.step { padding-top: 24px; border-top: 2px solid var(--ink); }
.step-n { display: block; font-family: var(--serif); font-size: 3.2rem; line-height: 1; font-weight: 500; color: var(--brand-text); font-variant-numeric: lining-nums; }
.step h3 { margin-top: 18px; font-size: 1.45rem; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.section-ink { background: var(--band); color: var(--band-text); }
.section-ink .lead, .section-ink p { color: var(--band-muted); }
.section-ink .split-head .lead { color: var(--band-text); }
.people { display: grid; gap: 14px; }
.person { display: flex; gap: 20px; align-items: center; padding: 22px; border: 1px solid var(--band-line); border-radius: var(--radius-lg); background: var(--band-surface); }
.monogram { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #08110b; font-family: var(--serif); font-size: 30px; font-weight: 600; }
.person h3 { font-size: 1.6rem; color: var(--band-text); }
.person p { margin-top: 2px; }
.values { margin-top: 18px; display: grid; gap: 14px; }
.values li { padding-left: 22px; position: relative; color: var(--band-muted); }
.values li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.values strong { color: var(--band-text); font-weight: 600; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--brand-text); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); }

.contact { background: var(--paper-alt); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-intro .lead { margin-top: 20px; }
.contact-direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.contact-direct p { color: var(--muted); font-size: 15px; }
.contact-direct a { display: inline-block; margin-top: 4px; font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); font-weight: 600; color: var(--ink); text-decoration-color: var(--brand); text-underline-offset: 6px; overflow-wrap: anywhere; }
.form-wrap { padding: clamp(22px, 3.5vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-intro { position: static; } }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper);
  font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--brand); background-color: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; }
.field ::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.phone-field { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
.field-error { font-size: 13.5px; color: var(--danger); }
.field-error:empty { display: none; }
.more-details { margin-top: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more-details summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 16px 0; cursor: pointer; font-weight: 600; color: var(--brand-text); list-style: none; }
.more-details summary::-webkit-details-marker { display: none; }
.more-details summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 15px; line-height: 1; transform: translateY(3px); }
.more-details[open] summary::before { content: "−"; }
.more-details .form-grid { padding: 4px 0 22px; }
.consent { margin: 22px 0 20px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 400 !important; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand-text); }
.check a { color: var(--brand-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger); }
.form-status a { color: inherit; font-weight: 600; }
.form-success { padding: 32px 8px; text-align: center; }
.form-success:focus { outline: none; }
.form-success svg { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--brand-text); }
.form-success h3 { font-size: 2rem; }
.form-success p { margin: 10px auto 24px; max-width: 30em; color: var(--muted); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.site-footer { background: var(--band); color: var(--band-text); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { width: auto; height: 56px; }
.footer-brand p { color: var(--band-muted); font-size: 15px; }
.footer-mail { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); font-weight: 600; color: var(--band-text); text-decoration-color: var(--brand); text-underline-offset: 6px; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--band-line); font-size: 14px; color: var(--band-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { color: var(--band-muted); text-decoration: none; }
.footer-links a:hover { color: var(--band-text); text-decoration: underline; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } .footer-brand { flex-direction: column; align-items: flex-start; gap: 12px; } }

.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45; transform: translateY(calc(100% + 32px)); transition: transform 0.35s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { box-shadow: var(--shadow-lg); }
}

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 0; border: 0; background: rgb(8 11 9 / 96%); color: #f2f6f3; }
.lightbox::backdrop { background: rgb(8 11 9 / 80%); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lb-top { display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 24px; }
.lb-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.lb-count { font-size: 14px; color: #aab5ad; font-variant-numeric: tabular-nums; }
.lb-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 12px 20px; min-height: 0; }
.lb-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; min-height: 0; }
.lb-figure img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lb-figure figcaption { padding-top: 12px; text-align: center; color: #c7d0ca; font-size: 15px; min-height: 2.4em; }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 10%); color: #fff; transition: background-color 0.2s; }
.lb-btn:hover { background: rgb(255 255 255 / 20%); }
.lb-close svg { width: 20px; height: 20px; }
@media (max-width: 700px) {
  .lb-stage { grid-template-columns: 1fr; padding: 0 0 16px; }
  .lb-prev, .lb-next { position: absolute; bottom: 20px; z-index: 2; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lb-figure figcaption { padding: 12px 80px 0; }
}

.page-header { position: sticky; top: 0; z-index: 10; height: var(--header-h); background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.legal-main { width: min(760px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 120px); }
.legal-main h1 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); }
.legal-updated { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.legal-section { margin-top: 40px; }
.legal-section h2 { font-size: 1.5rem; }
.legal-section p { margin-top: 12px; color: var(--muted); }
.legal-section strong { color: var(--ink); }
.legal-section a, .center-page .lead a { color: var(--brand-text); }
.table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--paper-alt); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }
.center-page { min-height: 52vh; display: grid; align-content: center; }
.center-page .lead { margin: 18px 0 30px; }
.legal-page .site-footer { padding: 28px 0; }
.legal-page .footer-bottom { border-top: 0; padding-top: 0; }

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

.gate { width: min(360px, 100% - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.gate::backdrop { background: rgb(8 11 9 / 55%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gate-form { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.gate-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.gate input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper); font-size: 16px; }
.gate input:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.gate-status { min-height: 1.3em; font-size: 14px; color: var(--danger); }
.gate-actions { display: flex; justify-content: flex-end; gap: 8px; }
