/* ============================================================
   Internal Builders — Editorial / Near-mono
   Paper #FAF9F6 · Ink #111111 · no chroma, type + rules + space
   Display: Fraunces + Noto Serif KR · Body: Noto Sans KR
   ============================================================ */

:root {
  --paper: #faf9f6;
  --paper-2: #f2f0e9;
  --paper-3: #ebe8df;
  --ink: #111111;
  --ink-2: #2b2a27;
  --muted: #6c6a63;
  --faint: #9a978d;
  --line: #e2dfd5;
  --line-2: #ccc8ba;

  --serif: "Fraunces", "Noto Serif KR", Georgia, "Apple SD Gothic Neo", serif;
  --sans: "Noto Sans KR", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5.2vw, 72px);
  --radius: 2px;

  --step: clamp(80px, 11vw, 168px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Paper grain — barely-there texture for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Shared editorial primitives ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
}

.serif {
  font-family: var(--serif);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-word {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
  color: var(--muted);
  transition: color 160ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-action {
  min-width: max-content;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.header-action:hover {
  background: transparent;
  color: var(--ink);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.primary:hover {
  background: transparent;
  color: var(--ink);
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.button.ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.button .arrow {
  font-family: var(--serif);
  transition: transform 200ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}

/* faint editorial column rules behind hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  opacity: 0.44;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(250, 249, 246, 0.94) 40%, rgba(250, 249, 246, 0.72) 74%, rgba(250, 249, 246, 0.54) 100%),
    linear-gradient(180deg, rgba(250, 249, 246, 0.4) 0%, var(--paper) 100%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(42px, 5vw, 54px) var(--gutter) clamp(22px, 3vw, 26px);
}

.hero .eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line-2);
}

.hero h1 {
  max-width: min(100%, 900px);
  font-size: clamp(2.55rem, 6.8vw, 5.2rem);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.hero-copy {
  max-width: 56ch;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.66;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(24px, 3.2vw, 28px) 0 0;
  border-top: 1px solid var(--line);
}

.hero-metrics div {
  padding: 18px 22px 0 0;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-metrics dt {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-metrics dd {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Signal strip ---------- */

.signal-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}

.signal-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.signal-inner p {
  margin: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 22px 14px 0;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.signal-inner p:last-child {
  border-right: 0;
  padding-right: 0;
}

.signal-inner p:not(:first-child) {
  padding-left: 22px;
}

/* ---------- Section scaffold ---------- */

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--step) var(--gutter);
  scroll-margin-top: 80px;
}

.section + .section,
.band + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head .lead {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.index-num {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.04em;
  padding-top: 6px;
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  font-weight: 500;
  margin-top: 14px;
  word-break: keep-all;
}

.section-head .kicker {
  margin-bottom: 0;
}

.section-head .aside {
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted);
  word-break: keep-all;
}

/* ---------- Narrative / Why ---------- */

.narrative .narr-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.narrative h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  font-weight: 500;
}

.narrative h2 em {
  font-style: italic;
  font-weight: 400;
}

.narr-body {
  display: grid;
  gap: 26px;
}

.narr-body p {
  margin: 0;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-2);
}

.narr-body p .lede {
  color: var(--ink);
  font-weight: 600;
}

.pull-quote {
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--ink);
}

.pull-quote q {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.28;
  letter-spacing: -0.01em;
  quotes: "\201C" "\201D";
}

.pull-quote .by {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Process (How it works) ---------- */

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  padding: 40px 32px 44px 0;
  border-right: 1px solid var(--line);
}

.process-list li + li {
  padding-left: 40px;
}

.process-list li:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-list .step-no {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.process-list h3 {
  margin: 22px 0 12px;
  font-size: 1.55rem;
  font-weight: 500;
  word-break: keep-all;
}

.process-list p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--muted);
  word-break: keep-all;
}

/* ---------- What we build ---------- */

.build-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.build-feature article {
  padding: 44px 40px 52px 0;
  border-right: 1px solid var(--line);
}

.build-feature article:last-child {
  border-right: 0;
  padding-right: 0;
  padding-left: 40px;
}

.build-tag {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.build-feature h3 {
  margin: 18px 0 16px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 500;
}

.build-feature p {
  margin: 0;
  max-width: 42ch;
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--ink-2);
}

.build-feature ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.build-feature ul li {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.build-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.build-secondary article {
  padding: 30px 32px 30px 0;
  border-right: 1px solid var(--line);
}

.build-secondary article:last-child {
  padding-right: 0;
  padding-left: 32px;
  border-right: 0;
}

.build-secondary h4 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.build-secondary p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--muted);
}

/* ---------- Fit check ---------- */

.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.fit .index-num {
  display: block;
  margin-bottom: 18px;
}

.fit h2 {
  margin-top: 16px;
  max-width: 10ch;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  font-weight: 500;
}

.fit-copy {
  margin: 24px 0 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.68;
  color: var(--muted);
}

.fit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.fit-columns article {
  padding: 34px 34px 38px 0;
  border-right: 1px solid var(--line);
}

.fit-columns article:last-child {
  border-right: 0;
  padding-right: 0;
  padding-left: 34px;
}

.fit-columns h3 {
  margin: 0 0 22px;
  font-size: 1.35rem;
  font-weight: 500;
}

.fit-columns ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-columns li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink-2);
}

.fit-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1px;
  background: currentColor;
  opacity: 0.62;
}

/* ---------- Approach (How I build) ---------- */

.band {
  background: var(--ink);
  color: var(--paper);
}

.band .section {
  border: 0;
}

.band .kicker {
  color: rgba(250, 249, 246, 0.55);
}

.band .index-num {
  color: rgba(250, 249, 246, 0.45);
}

.band .section-head h2 {
  color: var(--paper);
}

.band .section-head .aside {
  color: rgba(250, 249, 246, 0.62);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(250, 249, 246, 0.18);
}

.approach-grid article {
  padding: 36px 40px 40px 0;
  border-bottom: 1px solid rgba(250, 249, 246, 0.14);
  border-right: 1px solid rgba(250, 249, 246, 0.14);
}

.approach-grid article:nth-child(2n) {
  border-right: 0;
  padding-right: 0;
  padding-left: 40px;
}

.approach-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.approach-grid .a-no {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(250, 249, 246, 0.5);
}

.approach-grid h3 {
  margin: 16px 0 12px;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--paper);
}

.approach-grid p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: rgba(250, 249, 246, 0.66);
}

/* ---------- Plans ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 38px 32px 34px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.plan-card:last-child {
  border-right: 0;
}

.plan-card.featured {
  background: var(--ink);
  color: var(--paper);
}

.plan-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.plan-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid rgba(250, 249, 246, 0.4);
  border-radius: 999px;
  color: var(--paper);
}

.plan-tagline {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.featured .plan-tagline {
  color: rgba(250, 249, 246, 0.62);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 28px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.featured .plan-price {
  border-top-color: rgba(250, 249, 246, 0.2);
}

.plan-amount {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.plan-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.featured .plan-unit {
  color: rgba(250, 249, 246, 0.6);
}

.plan-hours {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.featured .plan-hours {
  color: rgba(250, 249, 246, 0.82);
}

.plan-features {
  display: grid;
  gap: 13px;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.featured .plan-features li {
  color: rgba(250, 249, 246, 0.82);
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.plan-cta {
  width: 100%;
  margin-top: auto;
}

.featured .button.primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.featured .button.primary:hover {
  background: transparent;
  color: var(--paper);
}

.plan-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 22px 4px 0;
}

.plan-foot p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.plan-foot p strong {
  color: var(--ink);
  font-weight: 600;
}

.plan-foot .slots {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  white-space: nowrap;
}

.plan-foot .slots b {
  font-family: var(--serif);
}

/* ---------- FAQ ---------- */

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--muted);
  transition: transform 240ms ease;
}

.faq-item[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 0 30px;
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact-section {
  border-top: 1px solid var(--ink);
  background: var(--paper-2);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: clamp(36px, 6vw, 88px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--step) var(--gutter);
}

.contact-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.06;
  font-weight: 500;
  margin: 18px 0 0;
}

.contact-copy > p {
  margin: 22px 0 0;
  max-width: 44ch;
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--muted);
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.contact-badges span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
}

address {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}

address a {
  width: max-content;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

address a:hover {
  border-bottom-color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 32px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-form label {
  display: grid;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--paper);
  outline: none;
  font-weight: 500;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--faint);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.form-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--faint);
}

.price-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--gutter);
}

.footer-inner .f-brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
}

.footer-inner span {
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Reveal ---------- */

.reveal {
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 620ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .section-head,
  .narrative .narr-grid,
  .fit-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-list,
  .build-feature,
  .build-secondary,
  .approach-grid,
  .fit-columns,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .build-feature article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 30px 0 32px;
  }

  .build-feature article:last-child {
    padding-left: 0;
    border-bottom: 0;
  }

  .build-secondary article,
  .build-secondary article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
  }

  .build-secondary article:last-child {
    border-bottom: 0;
  }

  .fit h2 {
    max-width: 14ch;
  }

  .fit-columns article,
  .fit-columns article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px 0 30px;
  }

  .fit-columns article:last-child {
    border-bottom: 0;
  }

  .approach-grid article,
  .approach-grid article:nth-child(2n) {
    border-right: 0;
    padding: 30px 0 32px;
  }

  .approach-grid article:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(250, 249, 246, 0.14);
  }

  .approach-grid article:last-child {
    border-bottom: 0;
  }

  .plan-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .plan-card.featured {
    order: -1;
  }

  .plan-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 60px;
  }

  .brand-word {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(250, 249, 246, 0.98) 0%, rgba(250, 249, 246, 0.9) 100%),
      linear-gradient(180deg, rgba(250, 249, 246, 0.56) 0%, var(--paper) 100%);
  }

  .hero-visual {
    opacity: 0.2;
    object-position: 58% center;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics div {
    min-width: 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 14px 8px 0 0;
  }

  .hero-metrics div:last-child {
    border-right: 0;
  }

  .hero::before {
    display: none;
  }

  .hero-metrics dt {
    font-size: 1.35rem;
  }

  .hero-metrics dd {
    font-size: 12px;
    line-height: 1.4;
  }

  .hero-actions .button {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    padding-inline: 10px;
    font-size: 14px;
  }

  .signal-inner {
    grid-template-columns: 1fr;
  }

  .signal-inner p,
  .signal-inner p:not(:first-child),
  .signal-inner p:last-child {
    min-height: 0;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-inner p:last-child {
    border-bottom: 0;
  }

  .contact-form {
    padding: 22px;
  }

  .plan-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    scroll-behavior: auto !important;
  }
}
