:root {
  --logo-h: calc((100vw - 2 * var(--pad)) * var(--logo-ratio));
  --nav-h: calc(20px + var(--logo-h) + clamp(12px, 1.2vw, 32px) + 44px);
  --bar: clamp(30px, 1.9vw, 48px); --sh: clamp(6px, 0.42vw, 12px);
  --gap: clamp(20px, 2.2vw, 64px); --sec: clamp(80px, 7.3vw, 200px);
}

.sv-hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--gap); align-items: end;
  min-height: var(--screen-h, 100svh); padding: calc(var(--nav-h) + clamp(18px, 2.4vw, 56px)) var(--pad) clamp(28px, 2.6vw, 72px); }
.sv-left { display: flex; flex-direction: column; gap: clamp(18px, 1.6vw, 44px); }
.sv-crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.sv-crumb li + li::before { content: "/"; margin-right: 10px; }
.sv-crumb a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: underline; text-underline-offset: 0.2em; }
.sv-h1 { font: 600 clamp(38px, 3.8vw, 144px)/1.02 var(--sans); letter-spacing: -0.035em; text-wrap: balance; }
.sv-lead { max-width: 40em; font-size: clamp(17px, 1.05vw, 28px); line-height: 1.45; text-wrap: pretty; }
.sv-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.sv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 1px solid var(--ink);
  font: 600 var(--fs-body)/1 var(--sans); transition: background 0.2s, color 0.2s; }
.sv-btn.solid, .sv-btn:hover { background: var(--ink); color: var(--paper); }
.sv-btn.solid:hover { background: var(--paper); color: var(--ink); }
.sv-hero .bw-view { width: 100%; aspect-ratio: 16 / 10; max-height:  calc(var(--screen-h, 100svh) - var(--nav-h) - var(--bar) - clamp(150px, 11vw, 300px)); }

@media (min-width: 992px) { .sv-hero .bw-view.is-torq { aspect-ratio: 100 / 34; max-height: none; } }

.bw { position: relative; background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--sh) var(--sh) 0 var(--ink); display: flex; flex-direction: column; }
.bw-bar { flex: none; height: var(--bar); background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 10px 0 12px; }
.bw-bar .mono { color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-sq { display: flex; gap: 6px; flex: none; }
.bw-sq i { width: 10px; height: 10px; background: var(--paper); display: block; }
.bw-sq i:nth-child(2) { background: transparent; outline: 2px solid var(--paper); outline-offset: -2px; }
.bw-view { position: relative; overflow: hidden; background: var(--mist); aspect-ratio: 16 / 10; }
.bw-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bw-foot { flex: 1 0 auto; display: grid; gap: 6px 20px; align-content: start; padding: 14px 16px 16px; border-top: 2px solid var(--ink); }
.bw-foot h3 { font: 400 var(--fs-h3)/1.05 var(--display); letter-spacing: -0.03em; }
.b-go { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font: 600 var(--fs-body)/1.2 var(--sans); white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 0.85em) / 100% 2px no-repeat; }
.b-go:hover { background-size: 100% 1px; }
.bw-more .bw-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(18px, 1.6vw, 40px); }
.bw-more h3 { font: 400 var(--fs-h2)/0.95 var(--display); font-size: clamp(40px, 3.4vw, 120px); letter-spacing: -0.045em; }
.bw-more p { font-size: var(--fs-body); line-height: 1.45; max-width: 26em; }

.sv-sec { padding: var(--sec) var(--pad) 0; }
.sv-head { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--gap); align-items: end; margin-bottom: clamp(28px, 2.6vw, 72px); }
.sv-h2 { font: 400 clamp(36px, 3.6vw, 136px)/0.98 var(--display); letter-spacing: -0.045em; }
.sv-head p { font-size: var(--fs-body); line-height: 1.45; max-width: 40em; }

.sv-pts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.sv-pts li { display: grid; align-content: start; gap: 12px; padding: 4px 0 4px clamp(14px, 1.2vw, 32px); border-left: 2px solid var(--ink); }
.sv-pts .h3 { font-size: clamp(22px, 1.5vw, 56px); }
.sv-pts p { font-size: var(--fs-body); line-height: 1.45; }
.sv-pts a { text-decoration: underline; text-underline-offset: 0.18em; }
@media (min-width: 1280px) { .sv-pts.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sv-head.is-art { align-items: start; margin-bottom: 0; }
.sv-txt { display: grid; gap: 1em; max-width: 40em; }
.sv-txt strong { font-weight: 600; }
.sv-txt a { text-decoration: underline; text-underline-offset: 0.18em; }
.sv-hero .bw-more { min-height: clamp(320px, 30vw, 860px); }
.sv-hero .bw-more p { font-size: clamp(19px, 1.45vw, 44px); max-width: 24em; }
.sv-pts .h3 a { display: inline-block; padding: 11px 0; margin: -11px 0; }

.sv-work { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap); padding-right: var(--sh); }
.sv-work.is-2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.sv-work.is-2 .bw-view { aspect-ratio: 21 / 9; }

.sv-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2px; background: var(--paper); }
.sv-steps li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; margin-bottom: 2px;
  padding: clamp(18px, 1.4vw, 40px); background: var(--red); color: var(--white); }
.sv-steps li > div { display: contents; }
.sv-steps .mono { padding-bottom: clamp(48px, 6vw, 180px); }
.sv-steps .h3 { align-self: end; margin-bottom: clamp(10px, 0.7vw, 20px); color: var(--white); }
.sv-steps p { font-size: var(--fs-body); line-height: 1.45; }

.sv-contact { position: relative; padding-bottom: var(--sec); }
.sv-offer { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--gap); align-items: end; padding-top: clamp(28px, 2.6vw, 72px); border-top: 2px solid var(--ink); }
.sv-offer .sv-h2 .it { display: block; }
.sv-offer-r { display: grid; gap: clamp(18px, 1.6vw, 44px); justify-items: start; }
.sv-offer-r p { font-size: clamp(17px, 1.05vw, 28px); line-height: 1.45; max-width: 30em; }
.sv-more { margin-top: var(--sec); }
.sv-more h2 { margin-bottom: 14px; }
.sv-more ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.sv-more a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; border-top: 2px solid var(--ink);
  font: 400 var(--fs-h3)/1.05 var(--display); letter-spacing: -0.03em; }
.sv-more a span { transition: transform 0.3s var(--e-out); }
.sv-more a:hover span { transform: translateX(6px); }
.ct-end { position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; }

@media (max-width: 1279px) {
  .sv-pts, .sv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  :root { --nav-h: calc(20px + var(--logo-h) + 10px + 44px); }
  .sv-hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--nav-h) + 30px); align-items: start; }
  .sv-hero .bw-view, .bw-view { aspect-ratio: 4 / 5; max-height: none; }
  .sv-head, .sv-offer { grid-template-columns: 1fr; }
  .sv-work, .sv-work.is-2 { grid-template-columns: 1fr; padding-right: var(--sh); }
  .sv-more ul { grid-template-columns: 1fr; gap: 0; }
  .sv-hero .bw-more { min-height: 0; }
}
@media (max-width: 599px) {
  .sv-pts, .sv-steps { grid-template-columns: 1fr; }
  .sv-cta .sv-btn { flex: 1; padding: 0 14px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .sv-more a span { transition: none; } }
