/* ==========================================================================
   Woodwise Furniture Restoration
   Single stylesheet. System fonts only. No external requests.
   Layout: 12-column grid, 1340px max width.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --ink: #151412;
  --ink-soft: #3a3630;
  --muted: #6b655c;
  --line: #e3dfd7;
  --line-strong: #c9c3b8;
  --paper: #ffffff;
  --sand: #f6f3ed;
  --sand-deep: #eee9df;
  --accent: #ef4a1d;
  --accent-dark: #b93810;
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --max: 1340px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- 2. Base ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(16px, 1.1vw, 17px);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }
li:last-child { margin-bottom: 0; }

a { color: inherit; }

::selection { background: var(--accent); color: #fff; }

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

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}
.skip-link:focus { left: 12px; }

/* ---------- 3. Layout utilities ------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
}

.span-2  { grid-column: span 2; }
.span-3  { grid-column: span 3; }
.span-4  { grid-column: span 4; }
.span-5  { grid-column: span 5; }
.span-6  { grid-column: span 6; }
.span-7  { grid-column: span 7; }
.span-8  { grid-column: span 8; }
.span-9  { grid-column: span 9; }
.span-10 { grid-column: span 10; }
.span-12 { grid-column: span 12; }
.start-2 { grid-column-start: 2; }
.start-3 { grid-column-start: 3; }
.start-5 { grid-column-start: 5; }
.start-6 { grid-column-start: 6; }
.start-7 { grid-column-start: 7; }
.start-8 { grid-column-start: 8; }

.section {
  padding-block: clamp(56px, 7.5vw, 104px);
  border-top: 1px solid var(--line);
}
.section--tight { padding-block: clamp(40px, 5vw, 68px); }
.section--sand { background: var(--sand); }
.section--dark {
  background: var(--ink);
  color: #f3efe6;
  border-top-color: #2a2723;
}

.muted { color: var(--muted); }
.small { font-size: 0.875rem; line-height: 1.55; }

/* ---------- 4. Type components ------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 24px;
  height: 2px;
  background: var(--accent);
}
.section--dark .eyebrow { color: #b8b1a4; }

.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink-soft);
  max-width: 46ch;
}
.section--dark .lede { color: #cfc9be; }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  margin-bottom: clamp(30px, 4vw, 56px);
}
.section-head > .eyebrow {
  grid-column: span 3;
  align-self: start;
  padding-top: 9px;
}
.section-head > h2 {
  grid-column: span 9;
  font-size: clamp(1.95rem, 3.5vw, 3.25rem);
  line-height: 1.02;
  max-width: 20ch;
}
.section-head > .section-head__body { grid-column: span 9; }
.section-head--aside > .section-head__body { grid-column: span 6; }
.section-head--aside > .section-head__aside { grid-column: 10 / span 3; text-align: right; }
.section-head__body h2 {
  font-size: clamp(1.95rem, 3.5vw, 3.25rem);
  line-height: 1.02;
  max-width: 22ch;
  margin-bottom: 0.5em;
}
.section-head__body p { max-width: 54ch; color: var(--muted); }
.section-head > .lede { grid-column: 8 / span 5; align-self: end; }
.section-head > .section-head__aside { grid-column: 10 / span 3; text-align: right; }
.link-inline {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.link-inline:hover { color: var(--accent-dark); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
}
.arrow-link svg { flex: none; }
.arrow-link:hover { color: var(--accent-dark); border-color: var(--accent-dark); }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn svg { flex: none; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--sm { padding: 10px 15px; font-size: 10.5px; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--accent:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--block { width: 100%; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: clamp(24px, 3vw, 34px);
}

/* ---------- 6. Header ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__type { display: flex; flex-direction: column; gap: 5px; line-height: 1; }
.brand__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.brand__sub {
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list li { margin: 0; }
.nav__list a {
  position: relative;
  display: inline-block;
  padding: 7px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav__phone {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nav__phone:hover { color: var(--accent-dark); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}
.nav-toggle__bar:nth-of-type(1) { top: 17px; }
.nav-toggle__bar:nth-of-type(2) { top: 25px; }
.site-header[data-open="true"] .nav-toggle__bar:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bar:nth-of-type(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero { padding-top: clamp(28px, 4vw, 54px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 3.6vw, 60px);
  align-items: end;
}
.hero__copy { padding-bottom: clamp(4px, 1vw, 14px); }
.hero__copy h1 {
  margin: 20px 0 24px;
  font-size: clamp(2.9rem, 6.4vw, 5.95rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
  max-width: 13ch;
}
.hero__copy h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero__copy .lede { max-width: 44ch; }

.hero__figure { margin: 0; align-self: end; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  background: var(--sand-deep);
}
.hero__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  font-size: 10px;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: clamp(30px, 4vw, 54px) 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.hero__meta div { min-width: 0; }
.hero__meta dt {
  margin-bottom: 4px;
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* ---------- 8. Statement / intro ----------------------------------------- */
.statement {
  font-size: clamp(1.5rem, 2.7vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
  max-width: 25ch;
  margin: 0;
}
.statement strong { font-weight: 700; }

.intro__body { display: grid; gap: 1.1em; }
.intro__body p { color: var(--ink-soft); max-width: 58ch; }

/* ---------- 9. Figures --------------------------------------------------- */
.figure { margin: 0; }
.figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--sand-deep);
}
.figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--muted);
}
.figure--tall img { aspect-ratio: 4 / 5; }
.figure--wide img { aspect-ratio: 16 / 9; }
.figure--square img { aspect-ratio: 1 / 1; }
.figure--landscape img { aspect-ratio: 4 / 3; }

/* ---------- 10. Service list -------------------------------------------- */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.service-list li { margin: 0; border-bottom: 1px solid var(--line); }

.service-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) minmax(130px, 200px) 28px;
  grid-template-areas: "num body price arrow";
  gap: clamp(10px, 2vw, 28px);
  align-items: center;
  padding: 21px 6px 21px 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.service-row:hover { background: var(--sand); padding-left: 12px; }
.service-row__num {
  grid-area: num;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.service-row__body { grid-area: body; min-width: 0; }
.service-row__title {
  display: block;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.service-row__desc {
  display: block;
  margin-top: 4px;
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 62ch;
}
.service-row__price {
  grid-area: price;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ink-soft);
  white-space: nowrap;
}
.service-row__arrow {
  grid-area: arrow;
  color: var(--ink);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}
.service-row:hover .service-row__arrow { transform: translate(3px, -3px); color: var(--accent); }
.service-row:hover .service-row__num { color: var(--accent-dark); }

/* ---------- 11. Principles / why us ------------------------------------- */
.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}
.principle {
  padding: clamp(20px, 2.4vw, 30px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principle__num {
  display: block;
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  font-variant-numeric: tabular-nums;
}
.principle h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.principle p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- 12. Quotes --------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.quote {
  margin: 0;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.quote::before {
  content: "\201C";
  display: block;
  height: 0.6em;
  margin-bottom: 14px;
  font-size: 3.2rem;
  line-height: 0.8;
  color: var(--accent);
  font-weight: 700;
}
.quote blockquote { margin: 0; }
.quote p {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.quote footer {
  margin-top: 18px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- 13. Journal cards ------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 40px);
}
.post-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-grid--two > :first-child { grid-column: auto; }
.post-card { margin: 0; }
.post-card a { display: block; text-decoration: none; color: inherit; }
.post-card__media { overflow: hidden; background: var(--sand-deep); }
.post-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.post-card a:hover .post-card__media img { transform: scale(1.025); }
.post-card__meta {
  margin: 14px 0 8px;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-card h3 {
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  line-height: 1.28;
  letter-spacing: -0.018em;
}
.post-card a:hover h3 { color: var(--accent-dark); }
.post-card p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- 14. CTA ------------------------------------------------------ */
.cta { background: var(--ink); color: #f3efe6; padding-block: clamp(56px, 7vw, 96px); }
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.cta h2 {
  margin: 14px 0 0;
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  line-height: 0.97;
  letter-spacing: -0.045em;
  max-width: 14ch;
}
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { color: #c6c0b4; max-width: 40ch; }
.cta__contact {
  margin-top: 20px;
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: #efeae0;
}
.cta__contact a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #4a453d;
}
.cta__contact a:hover { color: #fff; border-color: var(--accent); }
.cta .btn { margin-top: 24px; }

/* ---------- 15. Footer --------------------------------------------------- */
.site-footer {
  background: #11100f;
  color: #e9e4da;
  padding-top: clamp(48px, 6vw, 82px);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 4.2fr) minmax(0, 2.3fr) minmax(0, 2.6fr) minmax(0, 2.9fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(38px, 5vw, 60px);
}
.footer__brand .brand { color: #f6f2e9; margin-bottom: 20px; }
.footer__brand .brand__mark rect { fill: #f6f2e9; }
.footer__brand .brand__mark path { stroke: #11100f; }
.footer__brand .brand__sub { color: #8e877b; }
.footer__brand p {
  font-size: 13px;
  line-height: 1.6;
  color: #a9a295;
  max-width: 34ch;
}
.footer__reg {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #2b2824;
  font-size: 11px;
  line-height: 1.65;
  color: #8e877b;
}
.footer__col h2 {
  margin: 4px 0 16px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8e877b;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__col a,
.footer__col address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  color: #e9e4da;
}
.footer__col a:hover { color: var(--accent); }
.footer__col p { font-size: 13px; line-height: 1.6; color: #e9e4da; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 20px 24px;
  border-top: 1px solid #2b2824;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: #8e877b;
}
.footer__bottom p { margin: 0; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__legal li { margin: 0; }
.footer__legal a { text-decoration: none; color: #b6afa2; }
.footer__legal a:hover { color: #fff; }

/* ---------- 16. Page header (inner pages) -------------------------------- */
.page-head {
  padding-block: clamp(38px, 5vw, 76px) clamp(34px, 4.5vw, 58px);
  border-bottom: 1px solid var(--line);
}
.page-head__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  align-items: end;
}
.page-head__title { grid-column: span 8; }
.page-head h1 {
  margin: 18px 0 0;
  font-size: clamp(2.55rem, 5.8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.048em;
  max-width: 16ch;
}
.page-head h1 em { font-style: normal; color: var(--accent); }
.page-head__aside {
  grid-column: 9 / span 4;
  padding-bottom: 6px;
}
.page-head__aside .lede { font-size: clamp(0.98rem, 1.3vw, 1.12rem); max-width: 42ch; }
.page-head__meta {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 17. Prose ---------------------------------------------------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.prose h3 {
  margin-top: 1.6em;
  font-size: 1.12rem;
  line-height: 1.3;
}
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.prose a:hover { color: var(--accent-dark); }
.prose blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  font-size: 1.2rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.prose blockquote p { margin: 0; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }

.article { padding-block: clamp(36px, 5vw, 64px); }
.article__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.article__body { grid-column: 3 / span 8; }
.article__aside { grid-column: 11 / span 2; }
.article__aside .small { position: sticky; top: 100px; }
.article__foot {
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 4px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 18. Service detail ------------------------------------------ */
.service {
  padding-block: clamp(34px, 4.4vw, 56px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.service:first-of-type { border-top: 1px solid var(--ink); }
.service__head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  margin-bottom: clamp(18px, 2.5vw, 30px);
}
.service__num {
  font-size: 10.5px;
  letter-spacing: 0.13em;
  color: var(--accent-dark);
  font-variant-numeric: tabular-nums;
}
.service__head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.service__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 40px);
}
.service__body { grid-column: 2 / span 6; }
.service__body p { color: var(--ink-soft); max-width: 58ch; }
.service__body ul { margin: 1em 0 0; padding: 0; list-style: none; }
.service__body li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}
.service__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}
.service__aside {
  grid-column: 9 / span 4;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.price {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.price-note { font-size: 0.8rem; line-height: 1.55; color: var(--muted); margin: 0; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 10px;
}
.price-table th,
.price-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  color: var(--ink-soft);
}
.price-table th { font-size: 0.8rem; color: var(--muted); }
.price-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.notice {
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--sand);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.figure-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.figure-row .figure:nth-child(2) { margin-top: clamp(16px, 3vw, 36px); }

/* ---------- 19. FAQ ------------------------------------------------------ */
.faq { max-width: 880px; border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }
.faq__item summary:hover { color: var(--accent-dark); }
.faq__num {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.faq__icon {
  position: relative;
  width: 14px;
  height: 14px;
  justify-self: end;
  align-self: center;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--accent); }
.faq__answer {
  padding: 0 40px 26px 62px;
  max-width: 74ch;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}
.faq__answer p { margin-bottom: 0.8em; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- 20. Team & timeline ----------------------------------------- */
.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}
.team--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.service-figure { margin-block: clamp(28px, 4vw, 48px); }
.team__member { border-top: 2px solid var(--ink); padding-top: 18px; }
.team__initials {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  background: var(--sand);
  border: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.team__member h3 { font-size: 1.1rem; margin-bottom: 3px; }
.team__role {
  margin: 0 0 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.team__member p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.timeline li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 36px);
  padding: 16px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.timeline__year {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  font-variant-numeric: tabular-nums;
}
.timeline p { margin: 0; font-size: 0.94rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- 21. Contact & form ------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.detail-list { margin: 0; border-top: 1px solid var(--ink); }
.detail-list > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.detail-list dt {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}
.detail-list dd { margin: 0; font-size: 0.95rem; line-height: 1.55; }
.detail-list dd a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.detail-list dd a:hover { border-color: var(--accent); color: var(--accent-dark); }

.form-panel { background: var(--sand); padding: clamp(22px, 3vw, 38px); }
.form-panel h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); margin-bottom: 6px; }
.form-panel > p { font-size: 0.88rem; color: var(--muted); max-width: 42ch; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field .optional { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.94rem;
  line-height: 1.4;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--ink);
}
.field--check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
}
.field--check input { width: 16px; height: 16px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.field--check label {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--muted);
}
.form-note { margin-top: 12px; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- 22. Legal ---------------------------------------------------- */
.legal { padding-block: clamp(38px, 5vw, 68px); }
.legal__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.legal__nav { grid-column: 1 / span 3; }
.legal__body { grid-column: 4 / span 8; }
.legal__nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  font-size: 0.8rem;
  line-height: 1.45;
}
.legal__nav li { margin: 0; border-bottom: 1px solid var(--line); }
.legal__nav a {
  display: block;
  padding: 9px 0;
  color: var(--ink-soft);
  text-decoration: none;
}
.legal__nav a:hover { color: var(--accent-dark); }
.legal__body h2 {
  margin-top: 2.1em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  scroll-margin-top: 100px;
}
.legal__body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body h2 + p { margin-top: 0.8em; }
.legal__body p, .legal__body li { font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); }
.legal__body ul { padding-left: 1.2em; }
.legal__body address { font-style: normal; }
.legal__date {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 10px;
  background: var(--sand);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal__body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.88rem; }
.legal__body th, .legal__body td { text-align: left; padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__body th { font-weight: 600; color: var(--muted); }

/* ---------- 23. Misc blocks --------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
}
.split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--wide-right { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split__sticky { position: sticky; top: 102px; }

.checks { list-style: none; margin: 1.2em 0 0; padding: 0; }
.checks li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25em;
  width: 9px;
  height: 2px;
  background: var(--accent);
}

.note-strip {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(16px, 2.5vw, 36px);
  padding-block: 22px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.note-strip p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; max-width: 70ch; }
.note-strip .eyebrow { padding-top: 4px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }

.tick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px clamp(24px, 4vw, 56px);
  margin-top: 26px;
}
.tick-grid h3 { font-size: 1rem; margin-bottom: 6px; }
.tick-grid p { margin: 0; font-size: 0.88rem; line-height: 1.6; color: var(--muted); }
.tick-grid__num {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

/* ---------- 24. Responsive ---------------------------------------------- */
@media (max-width: 1120px) {
  .nav__phone { display: none; }
  .hero__copy h1 { font-size: clamp(2.8rem, 6.2vw, 5rem); }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 86px; }
  .header__inner { min-height: 68px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 14.5px; letter-spacing: 0.15em; }
  .brand__sub { font-size: 6.8px; }
  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 34px rgba(21, 20, 18, 0.08);
  }
  .site-header[data-open="true"] .nav { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a { display: block; padding: 15px 0; font-size: 13px; }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { color: var(--accent-dark); }
  .nav__actions {
    justify-content: space-between;
    margin-top: 20px;
    gap: 14px;
  }
  .nav__phone { display: inline-block; font-size: 13px; }
  .nav .btn { flex: none; }

  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__copy h1 { font-size: clamp(2.75rem, 9vw, 4.4rem); max-width: 15ch; }
  .hero__figure img { aspect-ratio: 4 / 3; }
  .hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }

  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head > .eyebrow,
  .section-head > h2,
  .section-head > .section-head__body,
  .section-head > .lede,
  .section-head > .section-head__aside { grid-column: 1; text-align: left; }
  .section-head > .eyebrow { padding-top: 0; }
  .section-head > h2 { font-size: clamp(1.85rem, 5.6vw, 2.7rem); }

  .page-head__grid { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .page-head__title, .page-head__aside { grid-column: 1; }
  .page-head h1 { font-size: clamp(2.5rem, 8.2vw, 4rem); }

  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .split__sticky { position: static; }

  .quotes { grid-template-columns: 1fr; gap: 28px; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-grid > :first-child { grid-column: 1 / -1; }
  .post-grid > :first-child img { aspect-ratio: 16 / 9; }
  .post-grid--two > :first-child { grid-column: auto; }
  .post-grid--two > :first-child img { aspect-ratio: 4 / 3; }

  .team--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cta__grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .cta h2 { max-width: 16ch; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: 46ch; }

  .service__body { grid-column: 1 / span 8; }
  .service__aside { grid-column: 9 / span 4; }
  .article__body { grid-column: 1 / span 9; }
  .article__aside { grid-column: 10 / span 3; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__nav { grid-column: 1; }
  .legal__nav ol { display: grid; grid-template-columns: 1fr 1fr; border-top: 0; }
  .legal__nav li { border-top: 1px solid var(--line); }
  .legal__body { grid-column: 1; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-panel { order: -1; }
}

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4, .span-5, .span-6,
  .span-7, .span-8, .span-9, .span-10, .span-12,
  .start-2, .start-3, .start-5, .start-6, .start-7, .start-8 { grid-column: 1 / -1; }

  .section { padding-block: clamp(44px, 9vw, 66px); }
  .section-head { margin-bottom: 26px; }
  .hero__meta { margin-top: 28px; }
  .hero__meta dd { font-size: 12px; }

  .service-row {
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    grid-template-areas:
      "num body arrow"
      ". price arrow";
    align-items: start;
    row-gap: 6px;
    padding: 18px 0;
  }
  .service-row:hover { padding-left: 8px; }
  .service-row__price { font-size: 10px; letter-spacing: 0.06em; }
  .service-row__desc { font-size: 0.83rem; }
  .service-row__arrow { align-self: center; }

  .principles { grid-template-columns: 1fr; }
  .principle { padding: 20px 18px; }

  .post-grid { grid-template-columns: 1fr; }
  .post-grid > :first-child { grid-column: auto; }
  .post-grid > :first-child img { aspect-ratio: 4 / 3; }

  .figure-row { grid-template-columns: 1fr; }
  .figure-row .figure:nth-child(2) { margin-top: 0; }

  .team { grid-template-columns: 1fr; gap: 26px; }
  .team--four { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .service__head { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .service__grid { grid-template-columns: 1fr; gap: 20px; }
  .service__body, .service__aside { grid-column: 1; }
  .service__body ul { margin-top: 0.7em; }

  .article__grid { grid-template-columns: 1fr; }
  .article__body, .article__aside { grid-column: 1; }
  .article__aside { order: -1; }
  .article__aside .small { position: static; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 12px; }

  .faq__item summary { grid-template-columns: 30px minmax(0, 1fr) 20px; gap: 10px; padding: 17px 0; font-size: 0.98rem; }
  .faq__answer { padding: 0 26px 22px 40px; font-size: 0.9rem; }

  .note-strip { grid-template-columns: 1fr; gap: 8px; }
  .tick-grid { grid-template-columns: 1fr; gap: 18px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .detail-list > div { grid-template-columns: 88px minmax(0, 1fr); }

  .footer__legal { gap: 8px 16px; }
}

@media (max-width: 430px) {
  .brand { gap: 9px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 13px; letter-spacing: 0.12em; }
  .brand__sub { font-size: 6.2px; letter-spacing: 0.14em; }
  .nav__actions { flex-direction: column; align-items: flex-start; }
  .nav .btn { width: 100%; }
  .hero__caption { font-size: 9px; }
  .legal__nav ol { grid-template-columns: 1fr; }
  .quote p { font-size: 1rem; }
}

/* ---------- 25. Motion preferences -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 26. Print ---------------------------------------------------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .actions, .cta { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a { text-decoration: none; }
  .page-head, .section { padding-block: 18px; }
}
