/* Hamar Property Services: site styles. Tokens match the brand guidelines. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #17181A;
  --ink-2: #26282C;
  --paper: #F4F1EA;
  --enamel: #FFFEFB;
  --mortar: #DDD6C9;
  --slate: #55585E;
  --red: #D12F2A;
  --red-deep: #AE2420;
  --green: #1E7B4E;
  --lamp: #F2C66B;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
section[id], [id].anchor { scroll-margin-top: 96px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; font-stretch: 92%; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.3vw, 92px); }
h2 { font-size: clamp(34px, 4.3vw, 60px); }
h3 { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.01em; line-height: 1.15; }
p { max-width: 62ch; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--slate); }
.muted { color: var(--slate); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.band { padding: clamp(72px, 9vw, 132px) 0; }
.band-enamel { background: var(--enamel); border-block: 1px solid var(--mortar); }
.band-ink { background: var(--ink); color: var(--paper); }

/* Nameplate: the street-sign label from the office wall */
.plate { display: inline-flex; align-items: baseline; gap: .7em; background: var(--enamel); color: var(--ink); border: 2px solid var(--ink); border-radius: 3px; padding: .42em .75em .36em; font: 700 13px/1 var(--display); font-stretch: 78%; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.plate .pc { color: var(--red); letter-spacing: .04em; }
.band-ink .plate { border-color: var(--enamel); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 8px; font: 700 16px/1 var(--display); letter-spacing: .01em; border: 2px solid var(--ink); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--mortar); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo svg { width: 54px; height: auto; flex: none; }
.logo-word { display: flex; flex-direction: column; gap: 4px; }
.logo-name { font: 800 27px/.9 var(--display); font-stretch: 108%; letter-spacing: .02em; }
.logo-tag { font: 600 9.5px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--slate); }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.menu a { font: 600 16px/1 var(--display); padding: 10px 0; position: relative; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:not(.btn):hover::after, .menu a.active::after { transform: scaleX(1); }
.menu .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 900px) {
  .burger { display: flex; }
  .menu { position: fixed; inset: 80px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; background: var(--paper); border-bottom: 1px solid var(--mortar); transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  .menu.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .menu a:not(.btn) { padding: 16px 0; font-size: 19px; border-bottom: 1px solid var(--mortar); }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 18px; min-height: 52px; }
}

/* Hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin: 22px 0 24px; max-width: 11ch; }
.hero h1 .u { text-decoration: underline; text-decoration-thickness: .075em; text-underline-offset: .09em; text-decoration-skip-ink: auto; text-decoration-color: transparent; animation: underline .9s var(--ease) .8s forwards; }
@keyframes underline { to { text-decoration-color: var(--red); } }
.hero .lead { max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.accred { margin-top: 44px; }
.accred-label { font: 600 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.accred-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; background: #fff; border: 1px solid var(--mortar); border-radius: 8px; padding: 14px 22px; }
.accred-row img { width: auto; object-fit: contain; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Hero rent calendar */
.rentcal { background: var(--enamel); border: 2px solid var(--ink); border-radius: 12px; padding: clamp(18px, 2.2vw, 28px); box-shadow: 10px 10px 0 var(--ink); max-width: 520px; margin-left: auto; width: 100%; }
@media (max-width: 900px) { .rentcal { margin: 0 auto 10px 0; box-shadow: 6px 6px 0 var(--ink); } }
.rc-top { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--mortar); }
.rc-house .win { fill: var(--lamp); transition: fill .35s var(--ease); }
.rentcal.is-empty .rc-house .win { fill: var(--mortar); }
.rc-status { display: grid; gap: 10px; }
.rc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font: 600 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.rc-row b { font: 800 clamp(19px, 2vw, 24px)/1 var(--display); font-stretch: 92%; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.rc-row b.ok { color: var(--green); }
.rc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; list-style: none; }
.rc-grid li { position: relative; aspect-ratio: 1.45; border: 1px solid var(--mortar); border-radius: 6px; padding: 8px 9px; font: 700 12px/1 var(--display); letter-spacing: .1em; color: var(--slate); background: #fff; transition: border-color .3s, background .3s, color .3s; }
.rc-grid li.void { background: repeating-linear-gradient(135deg, #fff 0 6px, #F1ECE2 6px 12px); }
.rc-grid li .tick { position: absolute; right: 7px; bottom: 7px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; opacity: 0; transform: scale(.5); transition: opacity .3s var(--ease), transform .45s var(--ease); }
.rc-grid li .tick svg { width: 12px; height: 12px; }
.rc-grid li.paid { color: var(--ink); border-color: var(--ink); }
.rc-grid li.paid .tick { opacity: 1; transform: none; }
.rc-grid li.now { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.rc-grid li .v { position: absolute; left: 9px; bottom: 8px; font: 600 10px/1 var(--display); letter-spacing: .08em; color: var(--slate); opacity: 0; transition: opacity .3s; }
.rc-grid li.void.paid .v { opacity: 1; }
.rc-cap { margin-top: 16px; font-size: 15px; line-height: 1.45; color: var(--slate); }
.rc-cap strong { color: var(--ink); }

/* Split sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split h2 { margin: 18px 0 22px; }
.split .btn { margin-top: 30px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Void chart */
.voidchart { display: grid; gap: 26px; }
.vc-row { display: grid; gap: 10px; }
.vc-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 700 13px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.vc-label span:last-child { color: var(--slate); font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: 14px; }
.vc-track { display: flex; gap: 0; height: 54px; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: #fff; }
.vc-seg { height: 100%; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); display: flex; align-items: center; padding-left: 12px; font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.vc-seg.let { background: var(--ink); color: var(--paper); }
.vc-seg.gap { background: repeating-linear-gradient(135deg, #fff 0 7px, var(--mortar) 7px 14px); color: var(--ink); }
.vc-seg.red { background: var(--red); color: #fff; }
.in .vc-seg { transform: none; }
.vc-seg:nth-child(2) { transition-delay: .5s; } .vc-seg:nth-child(3) { transition-delay: 1s; } .vc-seg:nth-child(4) { transition-delay: 1.5s; } .vc-seg:nth-child(5) { transition-delay: 2s; }
.vc-row.hamar .vc-seg { transition-duration: 2.6s; transition-delay: .2s; }
.vc-months { display: flex; justify-content: space-between; font: 600 11px/1 var(--display); letter-spacing: .12em; color: var(--slate); padding: 0 2px; }
.vc-note { font-size: 13px; color: var(--slate); }

/* Process line */
.works-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.works-head h2 { margin-top: 18px; }
.works-head p { color: color-mix(in srgb, var(--paper) 78%, transparent); font-size: 16.5px; }
@media (max-width: 900px) { .works-head { grid-template-columns: 1fr; } }
.line-stage { margin-top: clamp(32px, 4vw, 56px); border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); border-radius: 14px; background: #1D1F22; overflow: hidden; }
.line-stage svg { width: 100%; height: auto; }
.line-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
.line-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid color-mix(in srgb, var(--paper) 50%, transparent); border-radius: 8px; font: 700 14px/1 var(--display); letter-spacing: .04em; color: var(--paper); transition: background .2s, color .2s, border-color .2s; }
.line-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.line-btn svg { width: 12px; height: 12px; fill: currentColor; }
.line-cap { font-size: 15px; color: color-mix(in srgb, var(--paper) 80%, transparent); flex: 1; min-width: 0; }
.line-cap b { color: var(--paper); font-family: var(--display); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 28px; list-style: none; border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
.step { position: relative; text-align: left; padding: 26px 26px 8px 0; display: block; width: 100%; color: color-mix(in srgb, var(--paper) 62%, transparent); transition: color .35s var(--ease); }
.step + .step, li + li .step { padding-left: 26px; }
.steps li + li { border-left: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
.step .bar { position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: left; }
.step .n { font: 800 15px/1 var(--display); letter-spacing: .1em; color: color-mix(in srgb, var(--paper) 55%, transparent); transition: color .3s; }
.step h3 { margin: 12px 0 10px; color: var(--paper); }
.step p { font-size: 15px; line-height: 1.55; }
.step.on { color: color-mix(in srgb, var(--paper) 92%, transparent); }
.step.on .n { color: #FF6B60; }
.step:hover { color: var(--paper); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
  .step, li + li .step { padding: 22px 0 16px; }
  .line-cap { font-size: 14px; }
}

/* Line SVG parts */
#lineSvg { --l: #F4F1EA; --dim: rgba(244, 241, 234, .34); --bg: #1D1F22; }
#lineSvg .st { fill: none; stroke: var(--l); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
#lineSvg .dimst { fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; }
#lineSvg .fillbg { fill: var(--bg); }
#lineSvg .red { fill: var(--red); } #lineSvg .redst { stroke: var(--red); }
#lineSvg .t { font: 700 14px var(--display); font-stretch: 80%; letter-spacing: .08em; fill: var(--l); }
#lineSvg .ts { font: 600 13px var(--display); font-stretch: 84%; letter-spacing: .04em; fill: var(--l); }
#lineSvg .plate-r { fill: #FFFEFB; stroke: #FFFEFB; stroke-width: 2; }
#lineSvg .plate-in { fill: none; stroke: var(--ink); stroke-width: 1.5; }
#lineSvg .plate-t { font: 800 17px var(--display); font-stretch: 76%; letter-spacing: .08em; fill: var(--ink); text-anchor: middle; }
#lineSvg .plate-n { fill: var(--red); }
#lineSvg .gantry .post, #lineSvg .gantry .beam { stroke: var(--dim); transition: stroke .4s; }
#lineSvg .gantry.on .post, #lineSvg .gantry.on .beam { stroke: var(--l); }
#lineSvg .gantry .panel { fill: var(--bg); stroke: var(--dim); stroke-width: 2; transition: stroke .4s; }
#lineSvg .gantry.on .panel { stroke: var(--l); }
#lineSvg .beltdash { stroke: var(--dim); stroke-width: 2.5; stroke-dasharray: 3 21; stroke-linecap: round; animation: belt 1.2s linear infinite; }
#lineSvg .pipeflow { stroke: var(--dim); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; fill: none; animation: belt 1s linear infinite; }
@keyframes belt { to { stroke-dashoffset: -24; } }
#lineSvg.paused .beltdash, #lineSvg.paused .pipeflow, #lineSvg.paused .puff { animation-play-state: paused; }
#lineSvg .win { fill: var(--lamp); transition: fill .35s; }
#lineSvg .house.dark .win { fill: #33363B; }
#lineSvg .puff { fill: var(--dim); opacity: 0; transform-box: fill-box; transform-origin: center; }
#lineSvg .house.smoke .puff { animation: puff 2.4s ease-out infinite; }
#lineSvg .house.smoke .puff.b { animation-delay: .8s; } #lineSvg .house.smoke .puff.c { animation-delay: 1.6s; }
@keyframes puff { 0% { opacity: 0; transform: translateY(0) scale(.5); } 25% { opacity: .9; } 100% { opacity: 0; transform: translateY(-30px) scale(1.5); } }
#lineSvg .coin circle { fill: var(--red); stroke: var(--bg); stroke-width: 2; }
#lineSvg .coin text { font: 800 13px var(--display); fill: #fff; text-anchor: middle; }
#lineSvg .dot { fill: none; stroke: var(--dim); stroke-width: 2; transition: fill .3s, stroke .3s; }
#lineSvg .dot.full { fill: var(--green); stroke: var(--green); }
#lineSvg .okst { fill: none; stroke: #4CC98A; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Reviews */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }
.reviews-head h2 { margin-top: 18px; }
.reviews { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 clamp(32px, 5vw, 72px); }
.review { padding: 30px 0; border-top: 2px solid var(--ink); }
.review.big { grid-row: span 2; }
.review h3 { margin-bottom: 14px; }
.review.big h3 { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.02em; line-height: 1.05; margin-bottom: 20px; }
.review blockquote { font-size: 17px; color: var(--slate); max-width: 58ch; }
.review.big blockquote { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink); line-height: 1.55; }
.review cite { display: flex; align-items: center; gap: 10px; margin-top: 20px; font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; font-style: normal; }
.review cite span { color: var(--slate); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--red); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* Valuation and office */
.val { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.val h2 { margin: 18px 0 20px; }
.val .btn { margin-top: 30px; }
.office { position: relative; justify-self: end; width: min(100%, 400px); }
.office img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 2px solid var(--ink); border-radius: 200px 200px 10px 10px; }
.office .plate { position: absolute; left: -18px; bottom: 26px; font-size: 14px; box-shadow: 5px 5px 0 var(--ink); }
@media (max-width: 900px) { .val { grid-template-columns: 1fr; } .office { justify-self: start; margin-left: 18px; width: min(86%, 320px); } }

/* Footer */
.site-foot { background: var(--ink); color: var(--paper); padding-top: clamp(56px, 7vw, 96px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 36px; padding-bottom: 56px; }
.foot-grid h4 { font: 700 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 60%, transparent); margin-bottom: 18px; }
.foot-grid a, .foot-grid p { display: block; padding: 6px 0; font-size: 16px; }
.foot-grid a { width: fit-content; background: linear-gradient(currentColor, currentColor) no-repeat 0 92% / 0 1px; transition: background-size .3s var(--ease); }
.foot-grid a:hover { background-size: 100% 1px; }
.site-foot .logo-tag { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.foot-bar { border-top: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); padding: 22px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13.5px; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); border-radius: 8px; display: grid; place-items: center; font: 700 13px/1 var(--display); transition: background .2s, color .2s; }
.socials a:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Inner pages */
.page-head { padding: clamp(48px, 6vw, 96px) 0 clamp(28px, 3vw, 44px); }
.page-head h1 { font-size: clamp(40px, 5.4vw, 76px); margin: 20px 0 18px; max-width: 16ch; }
.page-body { padding-bottom: clamp(72px, 9vw, 132px); }
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid img { width: 100%; border: 2px solid var(--ink); border-radius: 10px; box-shadow: 8px 8px 0 var(--ink); }
.about-pics .sm { width: 62%; margin: -56px -6px 0 auto; position: relative; box-shadow: none; }
.about-grid h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 22px; }
.about-grid p + p { margin-top: 18px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-pics { max-width: 520px; } }
.tel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tel-card { background: var(--enamel); border: 2px solid var(--ink); border-radius: 12px; padding: clamp(22px, 3vw, 36px); }
.tel-card h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 10px; }
.tel-card > p { color: var(--slate); margin-bottom: 8px; }
.tel-list { list-style: none; margin-top: 12px; }
.tel-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--mortar); }
.tel-list a { font: 800 18px/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--red-deep); }
.tel-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) { .tel-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 760px; background: var(--enamel); border: 2px solid var(--ink); border-radius: 12px; padding: clamp(22px, 3vw, 40px); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: 700 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.form input, .form select, .form textarea { width: 100%; min-height: 52px; font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; border: 1.5px solid #8C8A85; border-radius: 8px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317181A' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.form textarea { min-height: 130px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #8C8A85; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 35%, transparent); }
.form .btn { justify-self: start; }
.form-done { max-width: 760px; background: var(--enamel); border: 2px solid var(--green); border-radius: 12px; padding: 40px; font-size: 19px; }
.callus { margin-top: 18px; font: 600 18px/1.3 var(--display); }
.callus a { color: var(--red-deep); font-weight: 800; white-space: nowrap; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.legal-body { max-width: 780px; }
.legal-body h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 48px 0 14px; scroll-margin-top: 100px; }
.legal-body h3 { margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: #3A3C40; }
.legal-body p + p, .legal-body ul + p, .legal-body p + ul, .legal-body ol + p { margin-top: 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin-top: 10px; }
.legal-body li { margin: 6px 0; }
.legal-body a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15.5px; }
.legal-body th, .legal-body td { text-align: left; padding: 10px 12px; border: 1px solid var(--mortar); vertical-align: top; }
.legal-body th { font-family: var(--display); background: var(--enamel); }
.legal-toc { background: var(--enamel); border: 2px solid var(--ink); border-radius: 10px; padding: 22px 26px; }
.legal-toc h4 { font: 700 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.legal-toc ol { columns: 2; column-gap: 32px; margin: 0; }
.legal-toc a { text-decoration: none; color: var(--ink); }
.legal-toc a:hover { text-decoration: underline; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }
.updated { color: var(--slate); font-size: 15px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .1s; } .js .reveal[data-d="2"] { transition-delay: .2s; } .js .reveal[data-d="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .u { animation: none; text-decoration-color: var(--red); }
  .vc-seg { transform: none; transition: none; }
  #lineSvg .beltdash, #lineSvg .pipeflow, #lineSvg .puff { animation: none; }
  .btn, .btn .arr, .menu a::after { transition: none; }
}
