/* Dojo landing page. Same base as gordonjaychan.com (gray page, lavender ink, same fonts),
   plus a dojo layer: belt-rank colors on the feature cards, a rank certificate in the hero,
   and one vermilion hanko-stamp accent used sparingly. */
:root {
  --lav: #E7DDFF;
  --gry: #5E5A6E;
  --bg: var(--gry);
  --ink: var(--lav);
  color-scheme: dark;
  --surface: var(--bg);
  --muted: color-mix(in srgb, var(--ink) 92%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 32%, var(--bg));
  --soft: color-mix(in srgb, var(--ink) 9%, var(--bg));
  --mat: color-mix(in srgb, #1C1A22 22%, var(--gry));   /* a shade darker, like the mat */

  --shu: #D9472B;     /* vermilion, the color of a hanko stamp */
  --belt-white: #F4F1EA;
  --belt-yellow: #F2C94C;
  --belt-orange: #EE8A3C;
  --belt-green: #58B26F;
  --belt-blue: #4A86DB;
  --belt-purple: #A57BDF;
  --belt-brown: #8F5E3E;
  --belt-black: #1C1A22;

  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --step--1: 0.8125rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 5vw, 2.75rem);
  --step-4: clamp(2.6rem, 8vw, 4.75rem);
  --wrap: 76rem;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; overflow-y: scroll; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6;
}
body > main { flex: 1; }
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; text-wrap: balance; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.label {
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
/* kanji section numbers (一 二 三 …) in front of each label */
.label:has(.kn) { display: flex; align-items: center; }
.kn {
  display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; margin-right: 10px; border-radius: 4px; flex: none;
  background: var(--shu); color: #FFF3EE; font-family: var(--mincho); font-weight: 700; font-size: 0.95rem; letter-spacing: 0; line-height: 1;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 0.9375rem;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-family: var(--body); cursor: pointer; transition: background .15s, border-color .15s;
}
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--ink) 82%, var(--bg)); border-color: transparent; }
.btn.big { padding: 13px 22px; font-size: 1rem; }
.btn.sm { padding: 6px 14px; font-size: 0.875rem; }

/* ---------- header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: var(--step-1); }
.brand img { width: 28px; height: 32px; flex: none; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: 0.9375rem; padding: 6px 10px; border-radius: 999px; color: var(--muted);
}
.top nav a:not(.btn):hover { color: var(--ink); background: var(--soft); }
.top nav .btn { margin-left: 6px; }
@media (max-width: 820px) { .top nav a.hide-sm { display: none; } }
@media (max-width: 360px) { .brand-name { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); gap: 56px; align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero-visual { max-width: 30rem; } .hero-photo { width: 88%; } }
.hero-text { display: grid; gap: 18px; justify-items: start; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; max-width: 17ch; }
/* "a karate coach" sits on a black belt with a red rank stripe at the end */
.belt-line {
  background:
    linear-gradient(var(--shu), var(--shu)) right 0.45em bottom 0.02em / 0.45em 0.2em no-repeat,
    linear-gradient(var(--belt-black), var(--belt-black)) left bottom 0.02em / 100% 0.2em no-repeat;
  padding-bottom: 0.08em; white-space: nowrap;
}
/* one short line per idea so it skims */
.lede { display: grid; gap: 6px; margin-block: 10px; font-size: 1.125rem; color: var(--muted); max-width: 58ch; }
.lede p { padding-left: 24px; position: relative; }
.lede p::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 5px; border-radius: 1px; background: var(--belt-black); box-shadow: inset -4px 0 0 var(--shu); }

/* photo with the certificate card overlapping its bottom edge */
.hero-visual { display: grid; justify-items: end; padding-right: 14px; }
.hero-photo {
  display: block; width: 80%; height: auto; aspect-ratio: 780 / 650; object-fit: cover;
  border-radius: 14px; border: 1.5px solid var(--ink);
}
.hero-visual .cert { justify-self: stretch; margin-top: -56px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.styles { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

/* rank certificate (menjō): lavender paper, vertical 空手道 down the edge */
.cert {
  --ink: var(--gry); --line: color-mix(in srgb, var(--gry) 28%, var(--lav));
  position: relative; background: var(--lav); color: var(--gry);
  border-radius: 6px; padding: 24px 24px 22px 64px;
  box-shadow: 10px 10px 0 var(--belt-black);
  outline: 1px solid color-mix(in srgb, var(--gry) 40%, var(--lav)); outline-offset: -9px;
}
.cert-v {
  position: absolute; left: 20px; top: 24px; writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--mincho); font-weight: 700; font-size: 1.35rem; letter-spacing: .25em; color: var(--gry); opacity: .85;
}
.cert-head { padding-bottom: 14px; border-bottom: 3px solid var(--belt-black); margin-bottom: 4px; }
.cert-kicker { font-family: var(--mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; }
.cert-name { font-family: var(--display); font-weight: 800; font-size: var(--step-2); line-height: 1.1; }
.cert-list { list-style: none; margin: 0; padding: 0; }
.cert-list li { display: grid; gap: 1px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.cert-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.cert-list b { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.cert-list span { font-size: 0.875rem; color: color-mix(in srgb, var(--gry) 88%, var(--lav)); }
.cert-list a { text-underline-offset: 3px; }
@media (max-width: 480px) {
  .cert { padding: 22px 18px 26px 52px; box-shadow: 6px 6px 0 var(--belt-black); }
  .hero-visual .cert { margin-top: -40px; }
  .cert-v { left: 14px; font-size: 1.15rem; }
}

/* ---------- sections ---------- */
section.block { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.block-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 44rem; }
.block-head h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.015em; }
.block-head p:not(.label) { color: var(--muted); font-size: 1.0625rem; }

/* ---------- what your site needs: one card per belt, white to black ---------- */
.needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .needs { grid-template-columns: 1fr; } }
.need {
  position: relative; display: grid; gap: 10px; align-content: start;
  padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color .15s, transform .15s;
}
.need:hover { border-color: var(--ink); }
.need .belt {
  display: block; width: 56px; height: 10px; border-radius: 2px; background: var(--belt);
  box-shadow: 0 0 0 1px rgb(20 18 28 / .25); margin-bottom: 4px; position: relative;
}
/* rank stripe near the end of the belt, like a stripe on a child's belt */
.need .belt::after { content: ""; position: absolute; right: 8px; top: 0; bottom: 0; width: 6px; background: rgb(20 18 28 / .55); }
.need[style*="belt-black"] .belt::after { background: var(--shu); }
.need h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.2; }
.need p { color: var(--muted); font-size: 0.9375rem; }
.need.feature { grid-column: span 2; grid-template-columns: minmax(0, 1fr) minmax(0, 17rem); gap: 24px; align-items: center; border: 1.5px solid var(--ink); }
.need.feature h3 { font-size: var(--step-2); }
.need-text { display: grid; gap: 10px; }
@media (max-width: 760px) { .need.feature { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .need.feature { grid-column: auto; } }
.sw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.sw span { font-family: var(--mono); font-size: 0.75rem; padding: 3px 9px; border-radius: 999px; border: 1px dashed var(--line); color: var(--ink); }

/* a little picture of the trial-class form (decorative, not a real form) */
.mock {
  background: var(--lav); color: var(--gry); border-radius: 10px; padding: 16px; display: grid; gap: 8px;
  box-shadow: 6px 6px 0 var(--belt-black); font-size: 0.8125rem; user-select: none;
}
.mock p { color: inherit; font-size: inherit; }
.mock .mock-title { font-family: var(--display); font-weight: 800; font-size: 1.125rem; }
.mock .mock-label { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .05em; text-transform: uppercase; opacity: .8; }
.mock-chips { display: flex; gap: 6px; }
.mock-chips span { padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gry) 40%, var(--lav)); }
.mock-chips .on { background: var(--gry); color: var(--lav); border-color: var(--gry); }
.mock-select { padding: 7px 10px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--gry) 40%, var(--lav)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-btn { margin-top: 4px; padding: 9px 12px; border-radius: 999px; background: var(--shu); color: #FFF3EE; font-weight: 600; text-align: center; }

/* ---------- case studies ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 40px; align-items: center; }
.case + .case { margin-top: clamp(40px, 6vw, 64px); }
.case.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.case.flip .browser { order: 2; }
@media (max-width: 900px) { .case, .case.flip { grid-template-columns: 1fr; } .case.flip .browser { order: 0; } }
.case-info { display: grid; gap: 14px; align-content: start; }
.case-meta { display: flex; align-items: center; gap: 14px; }
.case-logo { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: var(--lav); flex: none; }
.case-meta h3 { font-size: var(--step-2); font-weight: 800; }
.case-meta h3 a { text-decoration: none; }
.case-meta h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.case-info > p { color: var(--muted); }
.did { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.did li { display: flex; gap: 10px; }
.did li::before { content: ""; flex: none; width: 14px; height: 5px; margin-top: .62em; border-radius: 1px; background: var(--belt-black); box-shadow: inset -4px 0 0 var(--shu); }
.more-work { margin-top: 48px; color: var(--muted); }
.more-work a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

.browser {
  display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface);
  box-shadow: 0 1px 0 var(--line), 0 12px 28px -18px rgb(0 0 0 / .35);
}
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 5px; flex: none; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.url {
  flex: 1; min-width: 0; font-family: var(--display); font-size: 1.125rem; font-weight: 800; color: var(--ink);
  background: var(--bg); border-radius: 6px; padding: 5px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--bg); }
.shot.natural { aspect-ratio: auto; }
/* before/after slider: the "before" image sits on top, clipped to the handle position */
.ba { position: relative; --pos: 50%; touch-action: pan-y; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--lav); box-shadow: 0 0 0 1px rgb(20 18 28 / .35); pointer-events: none; }
.ba-handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lav); color: var(--gry); font-size: 18px; font-weight: 600; box-shadow: 0 2px 10px rgb(20 18 28 / .35);
}
.ba-tag { position: absolute; top: 10px; font-family: var(--mono); font-size: 0.6875rem; padding: 3px 8px; border-radius: 999px; background: var(--gry); color: var(--lav); pointer-events: none; }
.ba-tag.before { left: 10px; }
.ba-tag.after { right: 10px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba:focus-within .ba-handle::after { outline: 2px solid var(--gry); outline-offset: 2px; }

/* "how this project started" card, same as on the Web work page */
.story {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 4px;
  padding: 12px 16px 12px 12px; border: 1.5px solid var(--lav); border-radius: var(--radius);
  background: var(--lav); box-shadow: 6px 6px 0 color-mix(in srgb, var(--lav) 40%, var(--gry));
  text-decoration: none; font-size: 0.9375rem; line-height: 1.45; color: var(--gry);
  transition: background .15s;
}
.story:hover { background: color-mix(in srgb, var(--lav) 88%, var(--gry)); }
.story img { width: 44px; height: 78px; object-fit: cover; border-radius: 6px; }
.story b { display: block; color: var(--gry); font-weight: 700; }
.story u { color: var(--gry); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }
.about-text { display: grid; gap: 14px; max-width: 42rem; justify-items: start; }
.about-text h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.015em; }
.about-text p:not(.label) { color: var(--muted); }
.about-text p a { color: var(--ink); text-underline-offset: 3px; }
.about-photo {
  display: block; width: 100%; max-width: 26rem; height: auto; aspect-ratio: 1000 / 933; object-fit: cover;
  border-radius: 14px; border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--belt-black);
}
@media (max-width: 480px) { .about-photo { box-shadow: 6px 6px 0 var(--belt-black); } }

/* ---------- pricing ---------- */
.price {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 40px; align-items: center;
  padding: 28px; border: 1.5px solid var(--ink); border-radius: var(--radius); position: relative;
}
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } }
.price .amount { font-family: var(--display); font-weight: 800; font-size: var(--step-4); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price .amount small { font-family: var(--mono); font-size: var(--step--1); font-weight: 400; letter-spacing: .04em; color: var(--muted); margin-left: 6px; }
.price ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; }
@media (max-width: 480px) { .price ul { grid-template-columns: 1fr; } }
.price li::before { content: "✓"; margin-right: 8px; font-weight: 600; }
.price .note { color: var(--muted); font-size: 0.9375rem; grid-column: 1 / -1; }

/* ---------- faq ---------- */
.faq .block-head { margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding-block: 16px; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--display); font-size: var(--step-1); font-weight: 600; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* ---------- closing call to action: lavender band, like the testimonials band on the main site ---------- */
.band {
  --bg: var(--lav); --ink: var(--gry);
  --muted: color-mix(in srgb, var(--ink) 88%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 35%, var(--bg));
  --surface: var(--bg);
  background: var(--bg); color: var(--ink); border-top: 0;
}
.cta { position: relative; overflow: hidden; }
section.block.cta { padding-block: clamp(32px, 4vw, 44px); }
/* a belt running along the top of the band, white to black */
.cta::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; box-shadow: 0 1px 0 rgb(20 18 28 / .3);
  background: linear-gradient(90deg,
    var(--belt-white) 0 12.5%, var(--belt-yellow) 0 25%, var(--belt-orange) 0 37.5%, var(--belt-green) 0 50%,
    var(--belt-blue) 0 62.5%, var(--belt-purple) 0 75%, var(--belt-brown) 0 87.5%, var(--belt-black) 0);
}
.cta-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: center; }
@media (max-width: 820px) { .cta-wrap { grid-template-columns: 1fr; align-items: start; } }
.cta-wrap > div:first-child { display: grid; gap: 8px; max-width: 40rem; }
.cta h2 { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.015em; }
.cta p:not(.label) { color: var(--muted); font-size: 1.0625rem; }
.cta-actions { display: grid; gap: 10px; justify-items: center; justify-self: start; text-align: center; }
.cta-actions p { font-size: 0.9375rem !important; }
.cta-actions a:not(.btn) { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* ---------- footer ---------- */
.site-foot { background: var(--soft); border-top: 1px solid var(--line); }
.foot-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 14px; color: var(--muted); font-size: 0.875rem; }
.foot-who { display: grid; gap: 2px; }
.foot-who a { color: var(--ink); text-underline-offset: 3px; }
.foot-contact { color: var(--ink); font-weight: 500; }
.foot-contact span { user-select: all; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-bar .pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500;
  transition: background .15s, border-color .15s;
}
.foot-bar .pill:hover { background: var(--soft); border-color: var(--ink); }
.foot-bar .pill svg { width: 18px; height: 18px; }

/* ---------- contact popup ---------- */
dialog.contact {
  width: min(36rem, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0;
  border: 1.5px solid var(--ink); border-radius: 14px; background: var(--bg); color: var(--ink);
  box-shadow: 10px 10px 0 var(--belt-black); overflow: auto; overscroll-behavior: contain;
}
dialog.contact::backdrop { background: rgb(20 18 28 / .6); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
dialog.contact[open] { animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.contact-card { position: relative; display: grid; gap: 12px; padding: 28px 24px 24px; }
.contact-card h2 { font-size: var(--step-2); font-weight: 800; padding-right: 32px; }
.contact-sub { color: var(--muted); font-size: 0.9375rem; }
.contact-sub a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.contact-x {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.contact-x:hover { border-color: var(--ink); }
.dojo-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
@media (max-width: 480px) { .dojo-form { grid-template-columns: 1fr; } .contact-card { padding: 24px 18px 20px; } }
.dojo-form .wide { grid-column: 1 / -1; }
.dojo-form label { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 600; }
.dojo-form .opt { font-weight: 400; color: var(--muted); }
.dojo-form input, .dojo-form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: var(--mat);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; width: 100%; min-width: 0;
}
.dojo-form textarea { resize: vertical; }
.dojo-form input::placeholder, .dojo-form textarea::placeholder { color: color-mix(in srgb, var(--ink) 55%, var(--bg)); }
.dojo-form input:focus, .dojo-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.form-status { font-size: 0.875rem; color: var(--muted); }
.form-status.error { color: var(--ink); font-weight: 600; }
.form-done { padding: 20px; border: 1.5px solid var(--ink); border-radius: var(--radius); font-family: var(--display); font-size: var(--step-1); font-weight: 600; line-height: 1.35; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
