:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --ink-soft: #252525;
  --white: #ffffff;
  --gray-50: #f7f7f7;
  --gray-100: #ededed;
  --gray-300: #c8c8c8;
  --gray-500: #737373;
  --orange: #ff5a14;
  --orange-dark: #d83d00;
  --content: min(100% - 48px, 1400px);
  --header-height: 168px;
  --radius: 2px;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--orange);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: var(--header-height);
  scroll-padding-block-end: calc(8rem + env(safe-area-inset-bottom, 0px));
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  text-align: start;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  translate: 0 -160%;
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  position: fixed;
  z-index: 70;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-height);
  color: var(--white);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgb(10 10 10 / 0.96);
  border-block-end: 1px solid rgb(255 255 255 / 0.16);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: var(--content);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-block-end: 1px solid rgb(255 255 255 / 0.42);
}

.site-header.is-scrolled .site-header__inner {
  border-color: transparent;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}

.site-header .brand {
  inline-size: clamp(280px, 25vw, 360px);
}

.brand__logo {
  width: clamp(280px, 25vw, 360px);
  height: auto;
  filter: brightness(0) invert(1);
}

.brand__wordmark-fallback {
  display: none;
}

.brand span {
  color: var(--orange);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 850;
  line-height: 1.25;
}

.site-header .brand__logo,
.site-header .brand > span {
  inline-size: 100%;
}

.site-header .brand > span {
  font-size: clamp(43px, 3.8vw, 54px);
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  scale: 1.035;
  background-image:
    linear-gradient(
      to left,
      rgb(8 8 8 / 0.97) 0%,
      rgb(8 8 8 / 0.86) 27%,
      rgb(8 8 8 / 0.42) 51%,
      rgb(8 8 8 / 0.02) 76%
    ),
    url("./assets/hero-construction-fence.webp");
  background-position: center;
  background-size: cover;
  transform: translate3d(0, calc(var(--hero-shift, 0) * 1px), 0);
  transition: transform 80ms linear;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline: 0;
  inset-block-end: 0;
  height: 16%;
  background: linear-gradient(to top, rgb(0 0 0 / 0.35), transparent);
  pointer-events: none;
}

.hero__content {
  width: var(--content);
  margin-inline: auto;
  padding-block-start: calc(var(--header-height) + 50px);
  padding-block-end: 90px;
}

.hero__content > * {
  max-width: 690px;
}

.hero__category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--orange);
  font-size: clamp(20px, 2vw, 34px);
  font-weight: 850;
}

.hero__category bdi {
  color: var(--white);
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 6vw, 104px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.97;
  text-wrap: balance;
}

.hero__summary {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 0.86);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-block-start: 36px;
}

.hero__actions .button--whatsapp {
  min-inline-size: 0;
}

.calculator__contact {
  inline-size: 100%;
  margin-block-start: 20px;
}

@media (max-width: 360px) {
  .calculator__contact.button--whatsapp {
    gap: 8px;
    margin-block-start: 6px;
    padding-inline: 12px;
    font-size: 16px;
  }
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: translate 160ms ease, background-color 160ms ease, color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  translate: 0 -2px;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--primary {
  background: var(--orange);
  color: var(--ink);
}

.button--primary:hover {
  background: var(--white);
}

.hero__scroll {
  position: absolute;
  inset-inline-end: max(24px, calc((100% - 1400px) / 2));
  inset-block-end: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 0.75);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.hero__scroll svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.section {
  padding-block: clamp(90px, 10vw, 170px);
}

.section__inner {
  width: var(--content);
  margin-inline: auto;
}

.section-heading__line {
  display: block;
  width: 92px;
  height: 5px;
  margin-block-end: 34px;
  background: var(--orange);
}

.section-heading h2,
.closing h2 {
  margin: 0;
  max-width: 770px;
  font-size: clamp(44px, 5vw, 82px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-heading p {
  max-width: 660px;
  margin: 25px 0 0;
  color: var(--gray-500);
  font-size: clamp(17px, 1.4vw, 21px);
}

.process {
  background: var(--white);
}

.process__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(56px, 8vw, 130px);
  align-items: end;
}

.process__content {
  grid-column: 2;
}

.process__media {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-self: end;
}

.process__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.process-list {
  margin: clamp(54px, 6vw, 96px) 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-block: 28px;
  border-block-start: 1px solid var(--gray-300);
}

.process-list li:last-child {
  border-block-end: 1px solid var(--gray-300);
}

.process-list__number {
  color: var(--orange);
  font-size: 54px;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.process-list h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--gray-500);
}

.gallery {
  padding-block-start: 40px;
  background: var(--white);
}

.gallery__heading {
  margin-inline-start: min(18vw, 250px);
}

.gallery__disclosure {
  max-width: 640px;
  color: var(--gray-500);
  font-size: 15px;
}

.project-grid {
  margin-block-start: clamp(64px, 7vw, 110px);
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  grid-template-areas:
    "residential renewal"
    "commercial renewal";
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}

.project {
  margin: 0;
  direction: rtl;
}

.project--residential {
  grid-area: residential;
}

.project--renewal {
  grid-area: renewal;
}

.project--commercial {
  grid-area: commercial;
}

.project__image {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}

.project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project--residential .project__image,
.project--commercial .project__image {
  aspect-ratio: 16 / 8;
}

.project--renewal .project__image {
  height: calc(100% - 89px);
  min-height: 650px;
}

.project:hover .project__image img {
  scale: 1.025;
}

.project figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block-start: 18px;
  border-block-end: 3px solid var(--orange);
  padding-block-end: 14px;
}

.project figcaption strong {
  font-size: clamp(21px, 2vw, 30px);
}

.project figcaption span {
  color: var(--gray-500);
  font-size: 15px;
}

.why-us {
  margin-block-start: clamp(40px, 7vw, 100px);
  background: var(--gray-50);
  overflow: hidden;
}

.why-us__inner {
  display: grid;
  gap: clamp(54px, 7vw, 100px);
  align-items: start;
}

.why-us__heading {
  max-width: 860px;
}

.why-us__heading h2 {
  margin: 0;
  font-size: clamp(46px, 5.2vw, 84px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  text-wrap: balance;
}

.why-us__eyebrow {
  margin: 0 0 16px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 850;
}

.benefit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: clamp(300px, 30vw, 390px);
  padding: clamp(28px, 3.5vw, 48px);
  overflow: hidden;
  border-block-start: 6px solid var(--orange);
  background: var(--ink);
  color: var(--white);
  transition: translate 220ms ease, box-shadow 220ms ease;
}

.benefit-list li:hover {
  translate: 0 -5px;
  box-shadow: 0 22px 45px rgb(10 10 10 / 0.14);
}

.benefit-list__visual {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.benefit-list__visual svg {
  width: clamp(112px, 12vw, 144px);
  max-width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.benefit-icon__surface {
  fill: rgb(255 87 30 / 0.1);
}

.benefit-icon__detail {
  opacity: 0.4;
}

.benefit-icon__adhesive,
.benefit-icon__bond,
.benefit-icon__ink,
.benefit-icon__print,
.benefit-icon__helmet {
  transform-box: fill-box;
  transform-origin: center;
}

.benefit-icon__clock-hand {
  transform-origin: 68px 64px;
}

.benefit-icon__adhesive,
.benefit-icon__bond {
  transform-origin: left bottom;
}

.benefit-icon__bond {
  stroke-width: 4;
}

.benefit-list li.is-visible .benefit-icon__adhesive {
  animation: benefit-adhere 1.8s ease-out both;
}

.benefit-list li.is-visible .benefit-icon__bond {
  animation: benefit-bond 1s 0.8s ease-out both;
}

.benefit-list li.is-visible .benefit-icon__press {
  animation: benefit-press 1.8s ease-in-out both;
}

.benefit-list li.is-visible .benefit-icon__ink {
  animation: benefit-ink 2s ease-in-out both;
}

.benefit-list li.is-visible .benefit-icon__print {
  animation: benefit-print 1.2s 0.6s ease-out both;
}

.benefit-list li.is-visible .benefit-icon__helmet {
  animation: benefit-helmet 1.6s ease-out both;
}

.benefit-list li.is-visible .benefit-icon__check {
  stroke-dasharray: 1;
  animation: benefit-check 0.8s 0.8s ease-out both;
}

.benefit-list li.is-visible .benefit-icon__clock-hand {
  animation: benefit-clock 2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.benefit-list li.is-visible .benefit-icon__speed {
  animation: benefit-speed 1s ease-out 2 both;
}

@keyframes benefit-adhere {
  from { transform: translateY(-12px) rotate(-8deg); }
  to { transform: translateY(0) rotate(0); }
}

@keyframes benefit-bond {
  from { transform: scaleX(0.15); opacity: 0.25; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes benefit-press {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes benefit-ink {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  70% { transform: translateY(2px); }
}

@keyframes benefit-print {
  from { transform: scaleX(0.25); opacity: 0.2; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes benefit-helmet {
  from { transform: translateY(-10px) rotate(-6deg); }
  to { transform: translateY(0) rotate(0); }
}

@keyframes benefit-check {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes benefit-clock {
  from { transform: rotate(-120deg); }
  to { transform: rotate(0); }
}

@keyframes benefit-speed {
  from { transform: translateX(-6px); opacity: 0.2; }
  to { transform: translateX(0); opacity: 1; }
}

.benefit-list__copy {
  margin-block-start: clamp(32px, 4vw, 56px);
}

.benefit-list h3 {
  margin: 0;
  max-width: 440px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  text-wrap: balance;
}

.benefit-list p {
  max-width: 440px;
  margin: 16px 0 0;
  color: rgb(255 255 255 / 0.68);
  font-size: clamp(16px, 1.5vw, 20px);
}

.price {
  margin-block-start: 0;
  padding-block: clamp(90px, 9vw, 150px);
  background: var(--ink);
  color: var(--white);
}

.price__inner {
  max-width: 1180px;
}

.calculator {
  display: grid;
  gap: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink);
}

.calculator__rate {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 44px) clamp(26px, 5vw, 64px);
  background: var(--orange);
}

.calculator__rate > p {
  margin: 0;
}

.calculator__rate > p:first-child {
  align-self: center;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 900;
}

.calculator__rate > p:last-child {
  display: flex;
  align-items: baseline;
  gap: 14px;
  line-height: 0.9;
}

.calculator__rate strong {
  font-size: clamp(68px, 9vw, 132px);
  font-weight: 950;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
}

.calculator__rate span {
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 900;
}

.calculator__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
}

.calculator__entry {
  display: grid;
  align-content: start;
  gap: 26px;
  padding: clamp(30px, 5vw, 64px);
}

.calculator__heading p {
  margin: 0 0 8px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 850;
}

.calculator__heading h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.calculator__formula {
  display: grid;
  grid-template-columns: max-content 24px minmax(130px, 1fr) 24px minmax(150px, 1fr);
  gap: 8px;
  align-items: center;
  margin: 0;
  padding-block: 18px;
  border-block: 1px solid var(--gray-300);
  color: var(--gray-500);
  font-size: 13px;
  text-align: center;
}

.calculator__formula strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.calculator__field {
  display: grid;
  gap: 8px;
}

.calculator__field label {
  font-size: 15px;
  font-weight: 850;
}

.calculator__input-row {
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--gray-300);
  background: var(--white);
}

.calculator__input-row:focus-within {
  border-color: var(--ink);
  box-shadow: var(--focus);
}

.calculator__input-row:has(input[aria-invalid="true"]) {
  border-color: #b82000;
}

.calculator__input-row input {
  appearance: textfield;
  -moz-appearance: textfield;
  width: 100%;
  min-height: 64px;
  padding: 14px 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 23px;
  font-variant-numeric: tabular-nums;
}

.calculator__input-row input::-webkit-inner-spin-button,
.calculator__input-row input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calculator__input-row input:focus-visible {
  box-shadow: none;
}

.calculator__input-row > span {
  min-width: 58px;
  display: grid;
  place-items: center;
  border-inline-start: 1px solid var(--gray-300);
  background: var(--gray-50);
  color: var(--gray-500);
  font-weight: 750;
}

.calculator__error,
.calculator__result p {
  margin: 0;
}

.calculator__error {
  color: #9d1c00;
  font-size: 13px;
  font-weight: 700;
}

.calculator__result {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 5vw, 64px);
  border-inline-start: 1px solid var(--gray-300);
  background: var(--gray-50);
}

#calculator-status {
  margin-block-start: 28px;
  padding-block-start: 18px;
  border-block-start: 1px solid var(--gray-300);
  color: var(--gray-500);
  font-size: 14px;
}

.calculator__breakdown {
  display: grid;
  gap: 0;
  margin: 0;
}

.calculator__breakdown div {
  display: grid;
  gap: 8px;
  padding-block: 22px;
  border-block-start: 1px solid var(--gray-300);
}

.calculator__breakdown dt {
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 750;
}

.calculator__breakdown dd {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.calculator__breakdown dd small {
  display: block;
  margin-block-start: 8px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

.calculator__breakdown .calculator__total {
  margin-block-start: 18px;
  padding: 26px;
  border: 0;
  background: var(--ink);
  color: var(--white);
}

.calculator__total dt {
  color: rgb(255 255 255 / 0.66);
}

.calculator__total dd {
  color: var(--orange);
  font-size: clamp(46px, 6vw, 78px);
}

.calculator__tiers {
  padding: clamp(34px, 5vw, 64px);
  border-block-start: 1px solid var(--gray-300);
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.tier-table caption {
  padding-block-end: 26px;
  text-align: start;
}

.tier-table caption strong,
.tier-table caption span {
  display: block;
}

.tier-table caption strong {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.tier-table caption span {
  max-width: 760px;
  margin-block-start: 10px;
  color: var(--gray-500);
  font-size: 14px;
}

.tier-table th,
.tier-table td {
  padding: 18px clamp(12px, 2vw, 24px);
  border-block-end: 1px solid var(--gray-300);
  text-align: start;
  vertical-align: middle;
}

.tier-table thead th {
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.tier-table thead th:first-child {
  width: 68%;
}

.tier-table tbody th {
  font-size: 16px;
  font-weight: 800;
}

.tier-table tbody td {
  font-size: 16px;
  font-weight: 750;
}

.tier-table tbody tr {
  transition: background-color 180ms ease, color 180ms ease;
}

.tier-table tbody tr.is-active {
  background: var(--orange);
  color: var(--ink);
  box-shadow: inset 4px 0 0 var(--ink), inset -4px 0 0 var(--ink);
}

[data-tier-active-label] {
  display: inline-flex;
  margin-inline-start: 10px;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

[data-tier-active-label][hidden] {
  display: none;
}

.closing {
  min-height: 540px;
  display: grid;
  align-items: center;
}

.closing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: center;
}

.closing h2 {
  max-width: 720px;
}

.closing__eyebrow {
  margin: 0 0 16px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 850;
}

.closing__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.button--whatsapp {
  min-width: min(100%, 390px);
  justify-content: space-between;
  background: #25d366;
  color: #061a0e;
}

.button--whatsapp:hover {
  background: var(--ink);
  color: var(--white);
}

.whatsapp-callout {
  position: fixed;
  z-index: 80;
  inset-inline-end: max(16px, env(safe-area-inset-left, 0px));
  inset-block-end: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-block-size: 56px;
  max-inline-size: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid #061a0e;
  border-radius: 999px;
  background: #25d366;
  color: #061a0e;
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.22);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.whatsapp-callout svg {
  flex: none;
  inline-size: 24px;
  block-size: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-callout:hover {
  background: var(--ink);
  color: var(--white);
}

.whatsapp-callout:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

.site-footer {
  padding-block: clamp(48px, 6vw, 82px);
  padding-block-end: calc(clamp(48px, 6vw, 82px) + 8rem + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--white);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(180px, 0.8fr) minmax(230px, 1fr) minmax(140px, 0.65fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}

.brand--footer {
  align-items: flex-start;
  color: var(--white);
}

.brand__logo--footer {
  width: min(250px, 58vw);
}

.site-footer__brand {
  display: grid;
  gap: 18px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 17px;
  font-weight: 850;
}

.site-footer__contact a {
  color: var(--orange);
  font-size: 15px;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.site-footer__policies ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: rgb(255 255 255 / 0.74);
  font-size: 14px;
  list-style: none;
}

.site-footer__policies p {
  max-width: 250px;
  margin-block-start: 16px;
}

.site-footer__meta {
  display: grid;
  justify-items: start;
  gap: 4px;
  align-self: end;
}

.site-footer p {
  margin: 0;
  color: rgb(255 255 255 / 0.58);
  font-size: 13px;
}

.site-footer__policies p {
  margin-block-start: 16px;
}

.site-footer .site-footer__domain {
  color: var(--orange);
  font-weight: 750;
}

.service-questions {
  background: var(--gray-50);
}

.service-questions__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
}

.service-questions__answers article + article {
  border-block-start: 1px solid var(--gray-300);
  margin-block-start: 28px;
  padding-block-start: 28px;
}

.service-questions__answers h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
}

.service-questions__answers p {
  margin: 0;
}

.service-questions__answers p + p {
  margin-block-start: 12px;
}

.service-questions__answers a {
  text-underline-offset: 4px;
}

.js .reveal {
  opacity: 0;
  translate: 0 34px;
  transition: opacity 700ms ease, translate 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  translate: 0;
}

.js [data-hero-item] {
  opacity: 0;
  translate: 0 24px;
  animation: hero-enter 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.js [data-hero-item]:nth-child(2) {
  animation-delay: 100ms;
}

.js [data-hero-item]:nth-child(3) {
  animation-delay: 200ms;
}

.js [data-hero-item]:nth-child(4) {
  animation-delay: 300ms;
}

@keyframes hero-enter {
  to {
    opacity: 1;
    translate: 0;
  }
}

@media (max-width: 1100px) {
  :root {
    --content: min(100% - 40px, 980px);
  }

  .hero__content > * {
    max-width: 620px;
  }

  .process__layout,
  .closing__inner {
    gap: 55px;
  }

  .project-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 30px;
  }

  .calculator__body {
    grid-template-columns: 1fr;
  }

  .calculator__result {
    border-block-start: 1px solid var(--gray-300);
    border-inline-start: 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --content: min(100% - 32px, 720px);
    --header-height: 126px;
  }

  .site-header .brand {
    inline-size: clamp(210px, 49vw, 250px);
  }

  .brand__logo {
    width: clamp(210px, 49vw, 250px);
  }

  .brand span {
    font-size: 14px;
  }

  .site-header .brand > span {
    font-size: clamp(32px, 6.1vw, 38px);
  }

  .hero {
    min-height: 820px;
  }

  .hero__media {
    background-image:
      linear-gradient(
        to bottom,
        rgb(8 8 8 / 0.35) 0%,
        rgb(8 8 8 / 0.4) 30%,
        rgb(8 8 8 / 0.93) 72%,
        var(--ink) 100%
      ),
      url("./assets/hero-construction-fence.webp");
    background-position: 42% center;
  }

  .hero__content {
    align-self: end;
    padding-block-start: 260px;
    padding-block-end: 90px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(48px, 12vw, 78px);
  }

  .process__layout,
  .closing__inner,
  .service-questions__layout {
    grid-template-columns: 1fr;
  }

  .process__content,
  .process__media {
    grid-column: 1;
    grid-row: auto;
  }

  .process__media {
    margin-block-start: 16px;
  }

  .gallery__heading {
    margin-inline-start: 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "residential"
      "renewal"
      "commercial";
  }

  .project--residential .project__image,
  .project--commercial .project__image {
    aspect-ratio: 4 / 3;
  }

  .project--renewal .project__image {
    min-height: min(120vw, 760px);
  }

  .closing {
    min-height: auto;
  }

  .closing__action {
    align-items: stretch;
  }

  .calculator {
    padding: 0;
  }

  .calculator__rate {
    align-items: flex-start;
    flex-direction: column;
  }

  .calculator__rate > p:last-child {
    align-self: stretch;
    justify-content: space-between;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .benefit-list li {
    min-height: 310px;
  }
}

@media (max-width: 520px) {
  :root {
    --content: min(100% - 28px, 480px);
    --header-height: 116px;
  }

  body {
    font-size: 17px;
  }

  .hero {
    min-height: max(100svh, 760px);
  }

  .hero__content {
    padding-block-start: 210px;
    padding-block-end: 76px;
  }

  .hero__category {
    margin-block-end: 12px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 62px);
    letter-spacing: -0.055em;
  }

  .hero__summary {
    margin-block-start: 20px;
    font-size: 17px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
    margin-block-start: 28px;
  }

  .button--primary {
    width: 100%;
    justify-content: space-between;
  }

  .hero__scroll {
    display: none;
  }

  .section {
    padding-block: 86px;
  }

  .section-heading__line {
    width: 64px;
    height: 4px;
    margin-block-end: 24px;
  }

  .section-heading h2,
  .closing h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .process-list {
    margin-block-start: 46px;
  }

  .process-list li {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
  }

  .process-list__number {
    font-size: 38px;
  }

  .process-list h3 {
    font-size: 21px;
  }

  .gallery {
    padding-block-start: 10px;
  }

  .project-grid {
    margin-block-start: 48px;
  }

  .project--renewal .project__image {
    min-height: 126vw;
  }

  .price {
    padding-block: 78px;
  }

  .calculator__heading h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .calculator__formula {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .calculator__formula > span[aria-hidden="true"] {
    min-height: 20px;
    line-height: 1;
  }

  .calculator__breakdown {
    grid-template-columns: 1fr;
  }

  .calculator__tiers {
    padding-inline: 18px;
  }

  .tier-table {
    display: block;
    table-layout: auto;
  }

  .tier-table caption {
    display: block;
  }

  .tier-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .tier-table tbody {
    display: grid;
    gap: 12px;
  }

  .tier-table tbody tr {
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px;
    border: 1px solid var(--gray-300);
  }

  .tier-table tbody th,
  .tier-table tbody td {
    display: block;
    padding: 0;
    border: 0;
  }

  .tier-table tbody th {
    grid-column: 1 / -1;
    padding-block-end: 14px;
    border-block-end: 1px solid var(--gray-300);
  }

  .tier-table tbody td {
    display: grid;
    gap: 4px;
    padding-block-start: 14px;
  }

  .tier-table tbody td::before {
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 750;
  }

  .tier-table tbody td:nth-of-type(1)::before {
    content: "מחיר למ״ר";
  }

  .tier-table tbody tr.is-active {
    border: 3px solid var(--ink);
    box-shadow: none;
  }

  .tier-table tbody tr.is-active td::before {
    color: rgb(10 10 10 / 0.7);
  }

  .benefit-list li {
    min-height: 290px;
  }

  .benefit-list__copy {
    margin-block-start: 42px;
  }

  .closing__inner {
    gap: 44px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js [data-hero-item] {
    opacity: 1;
    translate: 0;
  }

  .hero__media {
    transform: none;
  }

  .benefit-list li.is-visible .benefit-icon * {
    animation: none !important;
    transform: none;
    stroke-dashoffset: 0;
  }
}

@media (forced-colors: active) {
  .brand__logo {
    display: none;
  }

  .brand__wordmark-fallback {
    display: block;
    color: LinkText;
    font-size: 24px;
    font-weight: 850;
  }

  .button {
    border: 1px solid ButtonText;
  }

  .benefit-list li,
  .tier-table thead th,
  [data-tier-active-label] {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }

  .section-heading__line {
    forced-color-adjust: none;
    background: Highlight;
  }
}
