/* ==========================================================================
   Main Street Sites
   Crisp, Swiss-leaning studio system. White ground, near-black ink,
   hairline rules, 12-column grid, one accent (signal vermilion).
   ========================================================================== */

:root {
  /* Color */
  --bg: #ffffff;
  --bg-tint: #f4f4f2;
  --ink: #0f0f0e;
  --ink-soft: #3b3b38;
  --muted: #62625d;
  --rule: #deded9;
  --rule-strong: #0f0f0e;
  --accent: #e8431a;        /* graphic use: logo, dots, marks */
  --accent-ink: #c5350d;    /* text-size use on light grounds (AA) */
  --accent-on-dark: #ff6a3d;
  --dark: #0f0f0e;
  --on-dark: #f4f4f2;
  --on-dark-muted: #a3a39c;
  --rule-dark: #2e2e2b;

  /* Type */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-h1: clamp(2.625rem, 6.1vw, 5.5rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.75rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  /* Layout */
  --container: 1360px;
  --container-wide: 1520px;
  --gutter: clamp(20px, 4vw, 48px);
  --gap: 24px;
  --section: clamp(72px, 10vw, 148px);
  --radius: 6px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 2px; }
.contact :focus-visible, .footer :focus-visible { outline-color: var(--accent-on-dark); }
::selection { background: var(--ink); color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  font-size: var(--fs-small); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }

/* ---------- Small parts ---------- */
.label {
  font-family: var(--mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink); line-height: 1.5;
}
.label-quiet { color: var(--muted); font-weight: 400; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 1px; }

.tag {
  display: inline-block; font-family: var(--mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; line-height: 1;
  padding: 6px 8px 5px; border: 1px solid var(--ink); border-radius: 3px; color: var(--ink);
  vertical-align: middle;
}
.tag-accent { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: var(--radius);
  font-size: 1rem; font-weight: 500; letter-spacing: -.005em; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.button:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.button .arrow, .textlink .arrow { display: inline-block; transition: transform .25s var(--ease); }
.button:hover .arrow { transform: translateX(4px); }
.button-small { min-height: 42px; padding: 0 16px; font-size: var(--fs-small); }
.button-large { min-height: 58px; font-size: 1.0625rem; }
.button-block { display: flex; width: 100%; }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 500; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--ink);
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.textlink:hover { color: var(--accent-ink); text-decoration-color: var(--accent-ink); }
.textlink:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease);
}
.masthead.is-scrolled, .masthead.is-open { border-bottom-color: var(--rule); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.lm-awning { fill: var(--accent); }
.lm-body { stroke: var(--ink); }
.lm-door { fill: var(--ink); }
.logo-type { font-size: 1.125rem; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.logo-inverse { color: #fff; }
.logo-inverse .lm-body { stroke: #fff; }
.logo-inverse .lm-door { fill: #fff; }
.logo-inverse .lm-awning { fill: var(--accent-on-dark); }

.menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.menu a:not(.button) {
  font-size: var(--fs-small); font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s var(--ease);
}
.menu a:not(.button):hover { background-size: 100% 1px; }
.menu-cta { margin-left: 4px; }

.menu-toggle {
  display: none; align-items: center; gap: 10px; height: 42px; padding: 0 14px;
  background: none; border: 1px solid var(--ink); border-radius: var(--radius); cursor: pointer;
  font-size: var(--fs-small); font-weight: 500; color: var(--ink);
}
.menu-toggle-icon { position: relative; width: 14px; height: 8px; }
.menu-toggle-icon::before, .menu-toggle-icon::after {
  content: ""; position: absolute; left: 0; width: 14px; height: 1.5px; background: var(--ink);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.menu-toggle-icon::before { top: 0; }
.menu-toggle-icon::after { top: 6.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { top: 3px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { top: 3px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(20px, 3vw, 40px); }
.hero-labels {
  display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: end; padding-block: clamp(32px, 4.6vw, 64px) clamp(36px, 4.6vw, 64px);
}
.hero h1 {
  grid-column: 1 / span 8;
  font-size: var(--fs-h1); line-height: .98; letter-spacing: -.045em;
}
.hero-side { grid-column: 9 / span 4; padding-bottom: 6px; }
.lede { font-size: 1.125rem; line-height: 1.5; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }

.showcase {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: start; gap: clamp(16px, 2.4vw, 36px);
  height: clamp(380px, 44vw, 660px);
  padding: clamp(24px, 3.4vw, 52px) clamp(24px, 3.4vw, 52px) 0;
  background: var(--bg-tint); border-radius: 10px;
}
.shot {
  display: block; text-decoration: none; background: #fff;
  border: 1px solid #d2d2cc; border-radius: 9px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 15, 14, .05), 0 24px 48px -24px rgba(15, 15, 14, .28);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.shot-side { margin-top: clamp(28px, 4.4vw, 68px); }
.shot:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(15, 15, 14, .05), 0 32px 56px -24px rgba(15, 15, 14, .36); }
.shot-view { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-tint); }
.shot-view img { width: 100%; animation: pan 32s ease-in-out infinite alternate; will-change: transform; }
.shot-view img { animation-delay: 2s; }
.shot-main .shot-view img { animation-duration: 40s; animation-delay: 1s; }
.shot:last-child .shot-view img { animation-duration: 36s; animation-delay: 3s; }
.showcase.is-paused .shot-view img, .shot:hover .shot-view img { animation-play-state: paused; }
@keyframes pan { from { transform: translateY(0); } to { transform: translateY(-37.9%); } }

.browserbar {
  display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px;
  background: #fff; border-bottom: 1px solid #e4e4df;
}
.browserbar i { width: 7px; height: 7px; border-radius: 50%; background: #d4d4ce; flex: none; }
.browserbar b {
  flex: 1; min-width: 0; margin-right: 31px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 400; color: var(--muted); letter-spacing: 0;
}

.showcase-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; padding-top: 14px; }
.showcase-pause {
  background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--muted); font-weight: 400;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rule);
}
.showcase-pause:hover { color: var(--ink); text-decoration-color: var(--ink); }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap);
  margin-top: clamp(44px, 6vw, 84px); border-top: 1px solid var(--rule-strong);
}
.facts > div { padding: 18px 24px 0 0; }
.facts dt { font-size: 1.1875rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.facts dd { margin-top: 6px; font-size: var(--fs-small); color: var(--muted); max-width: 30ch; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section) 0; }
.section-tint { background: var(--bg-tint); margin-top: var(--section); padding-bottom: var(--section); }

.sec-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding-top: 18px; border-top: 1px solid var(--rule-strong);
  margin-bottom: clamp(40px, 5.4vw, 80px);
}
.sec-idx {
  grid-column: 1 / span 3;
  font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
  padding-top: 6px;
}
.sec-idx span { color: var(--accent-ink); margin-right: 14px; }
.sec-title { grid-column: 4 / span 9; }
.sec-title h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.04em; max-width: 17em; }
.sec-title p { margin-top: clamp(18px, 2vw, 28px); font-size: 1.1875rem; line-height: 1.5; max-width: 40em; color: var(--ink-soft); }

/* Problem trio */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.trio article { padding: 28px 32px 8px 0; }
.trio article + article { padding-left: 32px; border-left: 1px solid var(--rule); }
.trio-idx { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; color: var(--muted); margin-bottom: clamp(28px, 4vw, 56px); }
.trio h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.03em; }
.trio article p:last-child { margin-top: 12px; font-size: 1rem; color: var(--muted); }

/* ---------- Work ---------- */
.projects { border-top: 1px solid var(--rule); }
.project {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding-block: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--rule);
}
.project-meta { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 28px); display: flex; flex-direction: column; align-items: flex-start; padding-right: clamp(0px, 2vw, 32px); }
.project-meta h3 { margin-top: 18px; font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.05; letter-spacing: -.04em; }
.project-desc { margin-top: 16px; font-size: 1rem; color: var(--ink-soft); }
.spec { width: 100%; margin-top: 28px; border-top: 1px solid var(--rule); }
.spec > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-small); }
.spec dt { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { color: var(--ink); font-weight: 500; }
.project-meta .textlink { margin-top: 28px; }

.project-visual { grid-column: 5 / span 8; }
.stage {
  position: relative; display: block; text-decoration: none;
  background: var(--bg-tint); border-radius: 10px;
  padding: clamp(20px, 3.6vw, 52px) clamp(64px, 9vw, 132px) clamp(20px, 3.6vw, 52px) clamp(20px, 3.6vw, 52px);
}
.frame {
  display: block; background: #fff; border: 1px solid #d2d2cc; border-radius: 9px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 15, 14, .05), 0 24px 48px -24px rgba(15, 15, 14, .3);
  transition: transform .5s var(--ease);
}
.frame img { width: 100%; }
.phone {
  position: absolute; right: clamp(16px, 2.6vw, 40px); bottom: clamp(12px, 2.2vw, 32px);
  width: clamp(92px, 16.5%, 150px);
  background: #111; border: 5px solid #111; border-radius: clamp(14px, 1.7vw, 24px); overflow: hidden;
  box-shadow: 0 24px 40px -18px rgba(15, 15, 14, .5);
  transition: transform .5s var(--ease);
}
.phone img { width: 100%; border-radius: clamp(9px, 1.3vw, 18px); }
.stage:hover .frame { transform: translateY(-4px); }
.stage:hover .phone { transform: translateY(-8px); }

.pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.pages img { width: 100%; border: 1px solid #d2d2cc; border-radius: 6px; }
.pages span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

.work-cta { margin-top: clamp(28px, 3vw, 44px); font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.3; letter-spacing: -.025em; color: var(--ink); font-weight: 500; max-width: 34em; }
.work-cta a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.work-cta a:hover { color: var(--ink); }

/* ---------- Services index ---------- */
.index { border-top: 1px solid var(--rule); }
.index li {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline;
  padding-block: clamp(22px, 2.6vw, 34px); border-bottom: 1px solid var(--rule);
  transition: background-color .25s var(--ease);
}
.index-num { grid-column: 1 / span 3; font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; color: var(--muted); }
.index h3 { grid-column: 4 / span 4; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.12; letter-spacing: -.035em; padding-right: 16px; }
.index li > p { grid-column: 8 / span 5; font-size: 1rem; color: var(--muted); }

/* ---------- Process ---------- */
.ruler { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.ruler span {
  font-family: var(--mono); font-size: 0.6875rem; color: var(--muted); padding: 8px 0 0 1px;
  border-top: 6px solid var(--rule);
}
.ruler .p1 { border-top-color: var(--accent); color: var(--ink); }
.ruler .p2 { border-top-color: var(--ink); color: var(--ink); }
.ruler .p3 { border-top-color: #b9b9b2; }
.ruler .p4 { border-top-color: var(--ink); color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
.steps li { border-top: 1px solid var(--rule-strong); padding: 16px 24px 0 0; }
.steps li:nth-child(1) { border-top: 3px solid var(--accent); }
.steps li:nth-child(2), .steps li:nth-child(4) { border-top: 3px solid var(--ink); }
.steps li:nth-child(3) { border-top: 3px solid #b9b9b2; }
.step-day { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); }
.steps h3 { margin-top: clamp(24px, 3.4vw, 48px); font-size: 1.5rem; line-height: 1.15; letter-spacing: -.03em; }
.steps li p:last-child { margin-top: 12px; font-size: 1rem; color: var(--muted); }
.fineprint { margin-top: clamp(32px, 4vw, 52px); font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .02em; color: var(--muted); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule-strong); border-radius: 10px; overflow: hidden; }
.plan { display: flex; flex-direction: column; padding: clamp(28px, 3.6vw, 52px); }
.plan + .plan { border-left: 1px solid var(--rule-strong); }
.plan-featured { background: var(--bg-tint); }
.plan h3 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 1.75rem; letter-spacing: -.035em; line-height: 1.1; }
.plan-for { margin-top: 10px; color: var(--muted); font-size: 1rem; max-width: 30em; min-height: 3.1em; }
.price {
  margin-top: clamp(20px, 2.4vw, 32px); padding-bottom: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--rule);
  font-size: clamp(3.5rem, 6.4vw, 5.75rem); font-weight: 600; line-height: 1; letter-spacing: -.055em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.plan-featured .price { border-bottom-color: #d2d2cc; }
.price-cur { font-size: .5em; vertical-align: .62em; letter-spacing: 0; margin-right: 2px; font-weight: 500; }
.price-note { font-family: var(--mono); font-size: var(--fs-label); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.checks { margin: clamp(20px, 2.4vw, 30px) 0 clamp(28px, 3vw, 40px); display: grid; gap: 12px; flex: 1; align-content: start; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 1.0625rem; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 13px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

.plans + .fineprint { margin-top: clamp(24px, 2.6vw, 34px); max-width: 100ch; line-height: 1.75; }

.guarantee {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline;
  padding-top: clamp(36px, 4.4vw, 64px);
}
.guarantee .label { grid-column: 1 / span 3; }
.guarantee-text { grid-column: 4 / span 9; font-size: clamp(1.375rem, 2.5vw, 2.125rem); line-height: 1.2; letter-spacing: -.03em; color: var(--ink); font-weight: 500; max-width: 30em; }

/* ---------- Why us ---------- */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); counter-reset: promise; }
.promises li { counter-increment: promise; border-top: 1px solid var(--rule-strong); padding: 16px 24px 0 0; }
.promises li::before { content: "0" counter(promise); display: block; font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; color: var(--muted); margin-bottom: clamp(24px, 3.4vw, 48px); }
.promises h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.03em; }
.promises p { margin-top: 12px; font-size: 1rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin-left: calc((100% + var(--gap)) / 12 * 3); border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 15px; height: 15px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 15px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 15px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-ink); }
.faq details p { padding: 0 48px 28px 0; max-width: 44em; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { margin-top: var(--section); background: var(--dark); color: var(--on-dark-muted); padding-block: clamp(64px, 8vw, 120px); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.contact-copy { grid-column: 1 / span 6; padding-right: clamp(0px, 3vw, 48px); }
.contact .sec-idx { color: var(--on-dark); padding-top: 0; }
.contact .sec-idx span { color: var(--accent-on-dark); }
.contact h2 { margin-top: clamp(24px, 3vw, 40px); color: #fff; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.04em; }
.contact-lede { margin-top: 24px; font-size: 1.1875rem; line-height: 1.5; color: #c9c9c3; max-width: 32em; }
.next { margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--rule-dark); }
.next li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--rule-dark); color: var(--on-dark); font-size: 1rem; }
.next li span { font-family: var(--mono); font-size: var(--fs-label); color: var(--accent-on-dark); }
.contact-direct { margin-top: 32px; font-size: var(--fs-small); line-height: 1.7; }
.contact-direct a { color: #fff; font-weight: 500; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.contact-direct a:hover { color: var(--accent-on-dark); }

.form { grid-column: 7 / span 6; background: #fff; color: var(--ink); border-radius: 10px; padding: clamp(24px, 3.2vw, 44px); }
.form-title { font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); margin-bottom: 24px; }
.hp { display: none !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; margin-bottom: 7px; font-size: 0.875rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  background: #fff; border: 1px solid #8f8f88; border-radius: var(--radius);
  font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder { color: #6f6f69; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(232, 67, 26, .28); }
.form .button { margin-top: 8px; }
.form-note { margin-top: 14px; font-size: 0.875rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-muted); border-top: 1px solid var(--rule-dark); font-size: var(--fs-small); }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.footer-brand { grid-column: 1 / span 5; }
.footer-brand p { margin-top: 18px; max-width: 30em; }
.footer-col { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-col:last-child { grid-column: span 3; }
.footer-head { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .04em; text-transform: uppercase; color: #8b8b85; margin-bottom: 8px; }
.footer-col a { color: var(--on-dark); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--rule-dark); font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .02em; color: #8b8b85; }

/* ---------- Thanks page ---------- */
.thanks-page { min-height: 100vh; display: flex; flex-direction: column; }
.thanks { flex: 1; display: flex; align-items: center; padding-block: clamp(56px, 9vw, 120px); }
.thanks-inner { border-top: 1px solid var(--rule-strong); padding-top: 18px; width: 100%; }
.thanks h1 { margin-top: clamp(28px, 4vw, 56px); font-size: var(--fs-h1); line-height: .98; letter-spacing: -.045em; max-width: 11em; }
.thanks-lede { margin-top: 28px; font-size: 1.1875rem; max-width: 34em; }
.thanks .next { border-top-color: var(--rule); max-width: 40em; }
.thanks .next li { color: var(--ink); border-bottom-color: var(--rule); }
.thanks .next li span { color: var(--accent-ink); }
.thanks-page .footer { border-top: 0; }
.thanks-page .footer-base { border-top: 0; }
.footer-base a { color: inherit; text-underline-offset: 4px; }
.footer-base a:hover { color: #fff; }
.thanks-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

@media (max-width: 1100px) { .br-wide { display: none; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero h1 { grid-column: 1 / -1; max-width: 12em; }
  .hero-side { grid-column: 1 / span 8; margin-top: 28px; padding-bottom: 0; }
  .project-meta { grid-column: 1 / span 5; }
  .project-visual { grid-column: 6 / span 7; }
  .contact-copy { grid-column: 1 / span 5; }
  .form { grid-column: 6 / span 7; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--rule-strong);
    padding: 4px var(--gutter) 24px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .menu a:not(.button) { padding: 16px 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; border-bottom: 1px solid var(--rule); background: none; }
  .menu-cta { margin: 20px 0 0; min-height: 52px; font-size: 1rem; }

  .hero-side { grid-column: 1 / -1; max-width: 36em; }
  .sec-idx { grid-column: 1 / -1; padding-top: 0; }
  .sec-title { grid-column: 1 / -1; margin-top: clamp(28px, 5vw, 44px); }

  .facts { grid-template-columns: 1fr 1fr; row-gap: 28px; border-top: 0; }
  .facts > div { border-top: 1px solid var(--rule-strong); }

  .trio { grid-template-columns: 1fr; border-top: 0; }
  .trio article, .trio article + article { display: grid; grid-template-columns: 44px 1fr; padding: 22px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .trio-idx { grid-row: 1 / span 2; margin: 5px 0 0; }
  .trio h3 { font-size: 1.375rem; }

  .project { row-gap: 28px; }
  .project-meta, .project-visual { grid-column: 1 / -1; padding-right: 0; }
  .project-meta { position: static; }
  .project-visual { order: -1; }

  .index h3 { grid-column: 4 / -1; padding-right: 0; }
  .index li > p { grid-column: 4 / -1; margin-top: 8px; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .promises { grid-template-columns: 1fr 1fr; row-gap: 40px; }

  .guarantee .label, .guarantee-text { grid-column: 1 / -1; }
  .guarantee-text { margin-top: 18px; }

  .faq { margin-left: 0; }

  .contact-copy, .form { grid-column: 1 / -1; }
  .contact-copy { padding-right: 0; }
  .form { margin-top: 48px; }

  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col:last-child { grid-column: span 4; }
}

@media (max-width: 640px) {
  :root { --fs-body: 1rem; }
  .logo-type { font-size: 1.0625rem; }
  .hero-labels .label-quiet { display: none; }
  .hero h1 { letter-spacing: -.04em; line-height: 1; }
  .lede { font-size: 1.0625rem; }
  .hero-actions .button { width: 100%; }

  .wrap-wide { padding-inline: 0; }
  .showcase {
    display: flex; justify-content: center; gap: 12px; height: 108vw; max-height: 480px;
    padding: 24px 0 0; border-radius: 0;
  }
  .shot { flex: 0 0 62vw; max-width: 300px; }
  .shot-side { margin-top: 32px; }
  .showcase-foot { padding-inline: var(--gutter); }

  .facts dt { font-size: 1.0625rem; }
  .sec-title p { font-size: 1.0625rem; }

  .stage { padding: 16px 44px 16px 16px; border-radius: 8px; }
  .phone { right: 10px; bottom: 10px; width: 24%; border-width: 3px; }
  .pages { gap: 10px; }
  .pages span { font-size: 0.625rem; }
  .spec > div { grid-template-columns: 7.5em 1fr; }

  .index-num { grid-column: 1 / span 2; }
  .index h3, .index li > p { grid-column: 3 / -1; }

  .ruler { gap: 2px; }
  .ruler span { font-size: 0.5625rem; border-top-width: 5px; }
  .steps, .promises { grid-template-columns: 1fr; row-gap: 0; }
  .steps li, .promises li { display: grid; grid-template-columns: 5.75em 1fr; column-gap: 12px; padding: 20px 0 24px; border-top: 1px solid var(--rule); }
  .promises li:first-child { border-top-color: var(--rule-strong); }
  .steps li > *, .promises li > * { grid-column: 2; }
  .steps .step-day, .promises li::before { grid-column: 1; grid-row: 1 / span 2; margin: 5px 0 0; }
  .promises li { grid-template-columns: 44px 1fr; }
  .steps h3, .promises h3 { margin-top: 0; font-size: 1.375rem; }

  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--rule-strong); }
  .plan-for { min-height: 0; }

  .faq details p { padding-right: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form { border-radius: 8px; }

  .footer-col, .footer-col:last-child { grid-column: 1 / -1; }
  .footer-grid { row-gap: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .showcase-pause { display: none; }
}
