/* Vilstul — landing styles
   Concept: technical drawing. Paper ground, ink lines, clay-red dimension marks. */

:root {
  --paper: #EFEBE1;
  --paper-2: #E5DFCF;
  --card: #F8F5EE;
  --ink: #15201A;
  --muted: #526058;
  --forest: #213D2E;
  --forest-2: #2D5340;
  --clay: #A63B18;
  --edge: #CFC8B5;
  --font-d: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-b: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --sec: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, .facts dt, .price td:last-child, .service__meta b { font-feature-settings: "palt"; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
.nb { display: inline-block; }
section[id] { scroll-margin-top: 76px; }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: var(--paper);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px;
  background: var(--forest); color: var(--paper);
  font-weight: 700; font-size: 15px; letter-spacing: .06em;
  border: 2px solid var(--forest); border-radius: 2px;
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--card); color: var(--ink); border-color: var(--card); }

.textlink {
  font-weight: 700; font-size: 15px; letter-spacing: .06em;
  padding-bottom: 4px; border-bottom: 2px solid currentColor;
}
.textlink:hover { color: var(--clay); }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--edge);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  background: var(--forest); color: var(--paper);
  font-family: var(--font-d); font-weight: 800; font-size: 20px; line-height: 1;
}
.brand__text { display: grid; line-height: 1.15; }
.brand__text b { font-family: var(--font-m); font-weight: 500; font-size: 16px; letter-spacing: .16em; }
.brand__text i { font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.nav__links { display: flex; gap: clamp(18px, 3vw, 36px); margin-left: auto; font-size: 14px; font-weight: 500; }
.nav__links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__links a:hover { border-bottom-color: var(--clay); }

/* Shared headings */
.eyebrow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--muted);
}
.eyebrow span {
  font-family: var(--font-m); font-size: 12px; letter-spacing: .08em;
  padding: 2px 10px; border: 1px solid currentColor; color: var(--clay);
}
.eyebrow--light { color: #C9D4CB; }
.eyebrow--light span { color: #F0C9B6; }

.h2 {
  margin-top: 22px;
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.4; letter-spacing: -.03em;
}
.sec { padding: var(--sec) 0; }
.sec--tint { background: var(--paper-2); }
.sec--dark { background: var(--forest); color: var(--paper); }
.sec__head { max-width: 760px; }
.sec__lead { margin-top: 24px; max-width: 38em; color: var(--muted); }
.sec--dark .sec__lead { color: #C9D4CB; }

.figcap {
  display: flex; gap: 14px; margin-top: 14px;
  font-family: var(--font-m); font-size: 12px; letter-spacing: .06em; color: var(--muted);
}
.figcap span { color: var(--clay); }

/* SVG helpers */
.ink { stroke: var(--ink); }
.card { fill: var(--card); }
.paper2 { fill: var(--paper-2); }
.ink-fill { fill: var(--ink); }
.dim { stroke: var(--clay); fill: none; stroke-width: 1.5; }
.dim text {
  fill: var(--clay); stroke: none;
  font-family: var(--font-m); font-weight: 500; font-size: 13px; letter-spacing: .02em;
}
.dim .ext { stroke-width: 1; stroke-dasharray: 3 4; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero__title {
  margin-top: 26px;
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem); line-height: 1.26; letter-spacing: 0;
}
.hero__lead { margin-top: 30px; max-width: 34em; font-size: 16.5px; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-top: 38px; }
.hero__tel { margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero__tel a { margin-left: 8px; color: var(--ink); font-family: var(--font-m); font-weight: 500; font-size: 18px; letter-spacing: .04em; border-bottom: 1px solid currentColor; }
.hero__tel span { margin-left: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px clamp(24px, 4vw, 56px); margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--edge); }
.facts dt { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; }
.facts dd { margin-top: 4px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.hero__fig {
  padding: clamp(16px, 3vw, 32px);
  background-color: var(--card);
  background-image:
    linear-gradient(var(--edge) 1px, transparent 1px),
    linear-gradient(90deg, var(--edge) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  border: 1px solid var(--edge);
}
.hero__fig .chair { width: 100%; height: auto; background: color-mix(in srgb, var(--card) 70%, transparent); }

/* Hero draw-in animation */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .chair .part { animation: appear .9s ease both; }
.js .chair .part--2 { animation-delay: .25s; }
.js .chair .dimline { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s .9s ease forwards; }
.js .chair .dim--2 .dimline { animation-delay: 1.15s; }
.js .chair .dim--3 .dimline { animation-delay: 1.4s; }
.js .chair .dim path, .js .chair .dim text, .js .chair .dim .ext { animation: appear .6s 1.6s ease both; }
.js .hero__copy > * { animation: rise .8s ease both; }
.js .hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .hero__copy > :nth-child(3) { animation-delay: .16s; }
.js .hero__copy > :nth-child(4) { animation-delay: .24s; }
.js .hero__copy > :nth-child(5) { animation-delay: .3s; }
.js .hero__copy > :nth-child(6) { animation-delay: .36s; }

/* Materials strip */
.strip { background: var(--ink); color: var(--paper); }
.strip__row { display: flex; align-items: center; gap: 12px 40px; flex-wrap: wrap; padding: 22px 0; }
.strip__row > span { font-size: 12px; letter-spacing: .14em; color: #AEB9B1; }
.strip ul { display: flex; flex-wrap: wrap; gap: 8px 36px; font-family: var(--font-d); font-weight: 500; font-size: 17px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--ink); }
.service { position: relative; padding: 36px clamp(20px, 3vw, 40px) 40px 0; border-bottom: 1px solid var(--edge); }
.service:nth-child(odd) { border-right: 1px solid var(--edge); }
.service:nth-child(even) { padding-left: clamp(20px, 3vw, 40px); padding-right: 0; }
.service__no { font-family: var(--font-m); font-size: 13px; color: var(--clay); letter-spacing: .1em; }
.service h3 { margin-top: 12px; font-family: var(--font-d); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.4; }
.service > p:not(.service__meta) { margin-top: 12px; color: var(--muted); font-size: 15px; }
.service ul { margin-top: 18px; display: grid; gap: 6px; font-size: 14.5px; }
.service li { position: relative; padding-left: 20px; }
.service li::before { content: ""; position: absolute; left: 0; top: .9em; width: 10px; height: 2px; background: var(--clay); }
.service__meta { display: flex; align-items: baseline; gap: 14px; margin-top: 24px; font-size: 13px; color: var(--muted); }
.service__meta b { font-family: var(--font-d); font-size: 1.6rem; color: var(--ink); }

/* Fit calculator */
.fit { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 64px); align-items: start; }
.fit__panel { padding: clamp(22px, 3vw, 36px); background: var(--card); border: 1px solid var(--edge); }
.fit__field { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.fit__field label { font-weight: 700; font-size: 15px; }
.fit__num { display: flex; align-items: baseline; gap: 8px; border-bottom: 2px solid var(--ink); }
.fit__num input {
  width: 4.2ch; padding: 0; border: 0; background: transparent; text-align: right;
  font-family: var(--font-d); font-weight: 700; font-size: 2.6rem; line-height: 1.2;
  -moz-appearance: textfield; appearance: textfield;
}
.fit__num input::-webkit-outer-spin-button, .fit__num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fit__num input:focus { outline: none; }
.fit__num:focus-within { border-bottom-color: var(--clay); }
.fit__num span { font-size: 14px; color: var(--muted); }

.range { width: 100%; height: 28px; margin: 22px 0 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 3px; background: var(--ink); }
.range::-moz-range-track { height: 3px; background: var(--ink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; background: var(--clay); border: 3px solid var(--card); border-radius: 50%; box-shadow: 0 0 0 1px var(--clay); }
.range::-moz-range-thumb { width: 16px; height: 16px; background: var(--clay); border: 3px solid var(--card); border-radius: 50%; box-shadow: 0 0 0 1px var(--clay); }
.range__scale { display: flex; justify-content: space-between; font-family: var(--font-m); font-size: 11.5px; color: var(--muted); }

.fit__out { margin-top: 28px; border-top: 1px solid var(--edge); }
.fit__out > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--edge); }
.fit__out dt { font-size: 14px; color: var(--muted); }
.fit__out dd { display: flex; align-items: baseline; gap: 6px; }
.fit__out output { font-family: var(--font-d); font-weight: 700; font-size: 2rem; line-height: 1.2; }
.fit__out small { font-size: 13px; color: var(--muted); }
.fit__note { margin-top: 18px; margin-bottom: 24px; font-size: 13px; line-height: 1.85; color: var(--muted); }
.fit__fig { padding: clamp(14px, 2.4vw, 28px); background: var(--card); border: 1px solid var(--edge); }
.fit__fig svg { width: 100%; height: auto; }
.fit__fig text { font-size: 13px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid rgba(239, 235, 225, .35); }
.steps li { padding: 28px clamp(14px, 1.8vw, 26px) 0 0; }
.steps li + li { padding-left: clamp(14px, 1.8vw, 26px); border-left: 1px solid rgba(239, 235, 225, .2); }
.steps li > span { font-family: var(--font-m); font-size: 13px; color: #F0C9B6; letter-spacing: .1em; }
.steps h3 { margin-top: 10px; font-family: var(--font-d); font-weight: 700; font-size: 1.25rem; line-height: 1.5; }
.steps p { margin-top: 12px; font-size: 14px; line-height: 1.85; color: #C9D4CB; }

/* Works */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(40px, 6vw, 64px); }
.work { display: flex; flex-direction: column; padding: 28px clamp(20px, 2.4vw, 32px) 26px; background: var(--card); border: 1px solid var(--edge); border-top: 3px solid var(--forest); }
.work__tag { font-family: var(--font-m); font-size: 12px; letter-spacing: .08em; color: var(--clay); }
.work h3 { margin-top: 12px; font-family: var(--font-d); font-weight: 700; font-size: 1.3rem; line-height: 1.5; }
.work > p:not(.work__tag) { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.work dl { display: flex; gap: 32px; margin-top: auto; padding-top: 24px; }
.work dl > div { padding-top: 14px; }
.work dt { font-size: 12px; color: var(--muted); }
.work dd { font-family: var(--font-d); font-weight: 700; font-size: 1.15rem; }
.work > p:not(.work__tag) + dl { border-top: 0; }

/* Pricing */
.table-wrap { margin-top: clamp(36px, 5vw, 56px); overflow-x: auto; }
.price { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--card); }
.price th, .price td { padding: 18px 20px; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--edge); font-size: 15px; line-height: 1.7; }
.price thead th { padding-block: 14px; font-size: 12.5px; font-weight: 500; letter-spacing: .1em; color: var(--paper); background: var(--ink); border-bottom: 0; }
.price tbody th { font-weight: 700; white-space: nowrap; }
.price td:nth-child(2) { color: var(--muted); }
.price td:nth-child(3) { white-space: nowrap; color: var(--muted); }
.price td:last-child, .price thead th:last-child { text-align: right; white-space: nowrap; }
.price td:last-child { font-family: var(--font-d); font-weight: 700; font-size: 1.15rem; }
.price tbody tr:hover { background: color-mix(in srgb, var(--paper-2) 60%, var(--card)); }
.price__note { margin-top: 22px; max-width: 52em; font-size: 13px; color: var(--muted); }

/* Studio */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.info { margin-top: 36px; border-top: 1px solid var(--ink); }
.info > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--edge); }
.info dt { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.info dd { font-size: 15px; line-height: 1.8; }
.info a { border-bottom: 1px solid currentColor; }
.studio__map { background: var(--card); border: 1px solid var(--edge); padding: clamp(14px, 2.4vw, 28px); }
.studio__map svg { width: 100%; height: auto; }
.mapbg { fill: #F3F0E7; }
.river { fill: #CBD8D6; }
.road path { fill: none; stroke: #FFFFFF; stroke-linecap: round; }
.block rect { fill: #E4DECD; }
.maplabel { fill: #526058; font-family: var(--font-b); font-size: 11px; font-weight: 500; }
.maplabel--b { fill: var(--ink); font-size: 12px; font-weight: 700; }
.station { fill: #213D2E; }
.stationtxt { fill: #fff; font-size: 12px; font-weight: 700; font-family: var(--font-b); }
.route { fill: none; stroke: var(--clay); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.pin { fill: var(--clay); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq .sec__head { position: sticky; top: 100px; }
.faq__list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--edge); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-weight: 700; font-size: 16.5px; line-height: 1.7; cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--clay), var(--clay)) center / 100% 2px no-repeat,
    linear-gradient(var(--clay), var(--clay)) center / 2px 100% no-repeat;
  transition: transform .25s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 36px 24px 0; color: var(--muted); font-size: 15px; }

/* Contact */
.contact { background: var(--forest); color: var(--paper); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact .sec__lead { color: #C9D4CB; }
.contact__list { margin-top: 36px; border-top: 1px solid rgba(239, 235, 225, .3); }
.contact__list li { display: grid; grid-template-columns: 5em 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(239, 235, 225, .2); }
.contact__list span { font-size: 13px; color: #AEB9B1; letter-spacing: .08em; }
.contact__list a { font-family: var(--font-m); font-weight: 500; font-size: 17px; border-bottom: 1px solid rgba(239, 235, 225, .5); justify-self: start; }

.form { display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 44px); background: var(--paper); color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.field label em { font-style: normal; font-size: 11px; font-weight: 500; padding: 0 8px; color: var(--clay); border: 1px solid currentColor; line-height: 1.7; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: var(--card);
  border: 1px solid var(--edge); border-bottom: 2px solid var(--ink); border-radius: 0;
  font-size: 15px; line-height: 1.6; letter-spacing: .02em;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #6E766F; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--clay); box-shadow: 0 2px 0 var(--clay); }
.field .is-invalid { border-color: var(--clay); background: #FBEFEA; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--forest); }
.check a { border-bottom: 1px solid currentColor; }
.form .btn { justify-self: start; min-width: 220px; background: var(--forest); color: var(--paper); border-color: var(--forest); }
.form .btn:hover { background: var(--ink); border-color: var(--ink); }
.form__status { min-height: 1.6em; font-size: 14px; color: var(--forest); }
.form__status.is-error { color: var(--clay); font-weight: 700; }

/* Footer */
.site-foot { padding: clamp(56px, 8vw, 96px) 0 32px; background: var(--ink); color: var(--paper); }
.site-foot__mark { font-family: var(--font-m); font-weight: 500; font-size: clamp(3.4rem, 15vw, 12rem); line-height: .95; letter-spacing: .06em; color: #243029; user-select: none; }
.site-foot__mark::before { content: "VILSTUL"; }
.site-foot__cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; margin-top: clamp(32px, 5vw, 56px); padding-top: 32px; border-top: 1px solid rgba(239, 235, 225, .25); }
.site-foot__name { font-family: var(--font-d); font-weight: 700; font-size: 1.2rem; }
.site-foot address { margin-top: 12px; font-size: 14px; line-height: 2; color: #C0CAC3; }
.site-foot address a, .site-foot nav a:hover { border-bottom: 1px solid currentColor; }
.site-foot nav { display: flex; flex-wrap: wrap; align-content: start; gap: 10px 28px; font-size: 14px; }
.site-foot__copy { margin-top: 40px; font-family: var(--font-m); font-size: 12px; color: #9AA69E; }

/* Legal pages */
.legal { padding: clamp(40px, 6vw, 72px) 0 var(--sec); }
.legal .wrap { max-width: 820px; }
.legal__back { display: inline-block; margin-bottom: 30px; font-size: 14px; border-bottom: 1px solid currentColor; }
.legal h1 { font-family: var(--font-d); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.3; text-wrap: balance; }
.legal__meta { margin-top: 14px; font-size: 13px; color: var(--muted); }
.legal__meta span { display: inline-block; white-space: nowrap; }
.legal__meta span:first-child { margin-right: 1.4em; }
.legal h2 { margin-top: 44px; font-size: 19px; font-weight: 700; line-height: 1.6; }
.legal p, .legal li { margin-top: 12px; font-size: 15.5px; line-height: 1.95; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal a { border-bottom: 1px solid currentColor; }
.legal table { width: 100%; margin-top: 24px; border-collapse: collapse; }
.legal th, .legal td { padding: 16px 16px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--edge); font-size: 14.5px; line-height: 1.8; }
.legal th { width: 32%; font-weight: 500; color: var(--muted); }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__fig { max-width: 560px; }
  .fit, .studio, .faq, .contact__grid { grid-template-columns: 1fr; }
  .faq .sec__head { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .steps li { padding-bottom: 28px; border-bottom: 1px solid rgba(239, 235, 225, .2); }
  .steps li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .works { grid-template-columns: 1fr; }
  .work dl { margin-top: 20px; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 30px 0 34px; }
  .service:nth-child(odd) { border-right: 0; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .facts dd { font-size: 11.5px; }
  .hero__tel span { display: block; margin: 4px 0 0; }
  .form__row { grid-template-columns: 1fr; }

  /* Price table turns into stacked rows on small screens */
  .price { min-width: 0; }
  .price thead { display: none; }
  .price, .price tbody { display: block; }
  .price tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 18px; border-bottom: 1px solid var(--edge); }
  .price th, .price td { padding: 0; border: 0; }
  .price tbody th { grid-column: 1; grid-row: 1; white-space: normal; }
  .price td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .price td:nth-child(3) { grid-column: 1; grid-row: 3; font-size: 13px; }
  .price td:last-child { grid-column: 2; grid-row: 1; }

  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li, .steps li:nth-child(odd) { padding: 24px 0; border-left: 0; }
  .steps li:last-child { padding-bottom: 0; }
  .info > div { grid-template-columns: 1fr; gap: 2px; }
  .site-foot__cols { grid-template-columns: 1fr; }
  .brand__text i { display: none; }
  .legal table, .legal tbody, .legal tr { display: block; }
  .legal th, .legal td { display: block; width: auto; padding: 0; border-bottom: 0; }
  .legal th { padding-top: 18px; font-size: 12.5px; }
  .legal td { padding-bottom: 16px; border-bottom: 1px solid var(--edge); }
  .legal tr:last-child td { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .chair .dimline { stroke-dashoffset: 0; }
}
