:root {
  color-scheme: light;
  --ink: #19211f;
  --muted: #5e6863;
  --paper: #f6f1e8;
  --white: #fffdf8;
  --green: #16322f;
  --clay: #b96747;
  --blue: #405c70;
  --gold: #c5a15b;
  --line: rgba(25, 33, 31, 0.16);
  --shadow: 0 18px 44px rgba(31, 36, 32, 0.14);
  --shadow-strong: 0 24px 68px rgba(22, 30, 27, 0.18);
  --shadow-photo: 0 22px 58px rgba(17, 28, 25, 0.2);
  --radius: 8px;
  --section-pad: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--white) 0%, #f9f5ed 48%, var(--white) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

svg {
  shape-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(197, 161, 91, 0.85);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-130%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  padding: 14px 22px;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  border-bottom: 1px solid rgba(25, 33, 31, 0.08);
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 12px 30px rgba(31, 36, 32, 0.08);
  backdrop-filter: blur(14px);
}

.site-header:not(.is-scrolled):not(.menu-open) .brand strong,
.site-header:not(.is-scrolled):not(.menu-open) .brand small,
.site-header:not(.is-scrolled):not(.menu-open) .site-menu a {
  color: var(--white);
}

.site-header:not(.is-scrolled):not(.menu-open) .site-menu {
  border-color: rgba(255, 253, 248, 0.22);
  background: rgba(8, 22, 20, 0.26);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(22, 50, 47, 0.24);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand small,
.site-footer span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(25, 33, 31, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.7);
}

.site-menu a {
  padding: 8px 12px;
  border-radius: 6px;
  color: #26312e;
  font-size: 0.94rem;
}

.site-menu a:hover {
  background: rgba(84, 116, 106, 0.12);
}

.header-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.header-cta {
  padding: 10px 14px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(22, 50, 47, 0.2);
}

.header-cta:hover,
.button.primary:hover {
  background: #21443f;
  box-shadow: 0 16px 32px rgba(22, 50, 47, 0.24);
  transform: translateY(-1px);
}

.header-cta svg,
.button svg,
.consultation-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.icon-button svg {
  width: 24px;
  height: 24px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 24, 22, 0.9) 0%, rgba(10, 24, 22, 0.68) 38%, rgba(10, 24, 22, 0.18) 70%, rgba(10, 24, 22, 0.03) 100%),
    url("assets/perfecto-paint-hero.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0), var(--white));
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.02) 46%, rgba(255, 253, 248, 0.08)),
    linear-gradient(115deg, rgba(255, 253, 248, 0.1) 0%, rgba(255, 253, 248, 0) 42%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 124px 0 104px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

h1 {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(3.7rem, 7vw, 6.1rem);
  line-height: 0.96;
  font-weight: 740;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
}

h2 {
  margin-bottom: 16px;
  font-size: 3rem;
  line-height: 1.04;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero .eyebrow {
  color: #f1c979;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  max-width: 560px;
  color: rgba(255, 253, 248, 0.88);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.button {
  padding: 12px 16px;
  font-size: 0.97rem;
}

.button.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(22, 50, 47, 0.2);
}

.button.secondary {
  color: var(--green);
  background: rgba(255, 253, 248, 0.78);
  border-color: rgba(22, 50, 47, 0.18);
}

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

.hero .button.secondary {
  color: var(--white);
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 253, 248, 0.34);
  backdrop-filter: blur(10px);
}

.full-width {
  width: 100%;
}

.hero-proof {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  gap: 10px;
  margin: 0;
}

.hero-proof div {
  padding: 16px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.13);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.hero-proof dt {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 850;
}

.hero-proof dd {
  margin: 2px 0 0;
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.86rem;
}

.trust-strip {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 44px));
  margin: -36px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-strong);
}

.trust-strip div {
  padding: 20px;
  background: linear-gradient(180deg, var(--white), #fbf7ef);
}

.trust-strip strong {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
}

.trust-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: var(--section-pad) 0;
}

main section[id],
#contact {
  scroll-margin-top: 96px;
}

.section-heading h2,
.consultation-copy h2,
.contact-content h2 {
  max-width: 760px;
}

.service-section,
.areas-section,
.portfolio-section {
  border-top: 1px solid var(--line);
}

.portfolio-section,
.areas-section {
  padding-top: calc(var(--section-pad) * 0.72);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-kicker {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
}

.portfolio-grid,
.service-grid {
  display: grid;
  gap: 18px;
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #fffaf2);
  box-shadow: var(--shadow-photo);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 33, 31, 0.26);
  box-shadow: 0 30px 76px rgba(17, 28, 25, 0.24);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper);
  filter: contrast(1.07) saturate(1.1);
}

.portfolio-card div {
  padding: 24px;
  border-top: 1px solid rgba(25, 33, 31, 0.08);
}

.portfolio-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.portfolio-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: -10px 0 20px;
}

.service-proof-row span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(25, 33, 31, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(246, 241, 232, 0.78));
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 780;
  box-shadow: 0 10px 24px rgba(31, 36, 32, 0.05);
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card,
.consultation-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #fffaf2);
  box-shadow: 0 14px 36px rgba(31, 36, 32, 0.08);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--clay), var(--gold));
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 33, 31, 0.24);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(84, 116, 106, 0.14);
}

.service-icon.accent {
  color: var(--clay);
  background: rgba(185, 103, 71, 0.14);
}

.service-icon.clay {
  color: #806130;
  background: rgba(197, 161, 91, 0.17);
}

.service-icon.blue {
  color: var(--blue);
  background: rgba(64, 92, 112, 0.14);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  color: #3f4d48;
  font-size: 0.92rem;
}

.service-card li {
  display: flex;
  gap: 8px;
}

.service-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--clay);
}

.consultation-section {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(320px, 520px);
  justify-content: center;
  gap: 58px;
  padding: 94px max(22px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(12, 31, 28, 0.98), rgba(20, 48, 45, 0.9)),
    url("assets/portfolio-exterior.jpg") center 42% / cover no-repeat,
    var(--green);
  color: var(--white);
  box-shadow: inset 0 1px rgba(255, 253, 248, 0.16), inset 0 -1px rgba(255, 253, 248, 0.14);
}

.consultation-copy {
  align-self: center;
}

.consultation-copy .eyebrow {
  color: #e4be7a;
}

.consultation-copy p {
  max-width: 560px;
  color: rgba(255, 253, 248, 0.76);
}

.consultation-note {
  display: flex;
  gap: 12px;
  align-items: start;
  max-width: 500px;
  margin-top: 26px;
  padding: 16px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: var(--radius);
  color: rgba(255, 253, 248, 0.86);
}

.consultation-card {
  padding: 24px;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(4, 15, 13, 0.24);
}

.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.tool-header h3 {
  margin: 0;
}

.tool-header span {
  padding: 7px 10px;
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(84, 116, 106, 0.12);
  font-size: 0.84rem;
  font-weight: 780;
}

.consultation-list {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.consultation-list li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(25, 33, 31, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
}

.consultation-list strong {
  color: var(--green);
}

.consultation-list span,
.areas-layout p,
.contact-content p {
  color: var(--muted);
}

.areas-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 42px;
  align-items: start;
}

.areas-layout p {
  max-width: 620px;
}

.area-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--paper), #fffaf1);
  box-shadow: 0 16px 34px rgba(31, 36, 32, 0.07);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  padding: 10px 12px;
  border: 1px solid rgba(25, 33, 31, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.75);
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(31, 36, 32, 0.04);
}

.areas-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  align-items: center;
  gap: 42px;
  margin-top: 28px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.95), rgba(246, 241, 232, 0.9)), var(--white);
  box-shadow: var(--shadow);
}

.contact-content p {
  max-width: 580px;
}

.contact-actions {
  display: grid;
  justify-items: end;
}

.contact-actions .button {
  min-width: 232px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field span {
  color: #2b3633;
  font-size: 0.9rem;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(25, 33, 31, 0.18);
  border-radius: var(--radius);
  background: #fffdfa;
}

.field textarea {
  resize: vertical;
  min-height: 116px;
}

body.modal-open {
  overflow: hidden;
}

.consultation-modal[hidden] {
  display: none;
}

.consultation-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 19, 17, 0.72);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: min(900px, calc(100svh - 48px));
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(255, 253, 248, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #fff9f0);
  box-shadow: 0 28px 90px rgba(6, 16, 14, 0.42);
}

.modal-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.modal-header h2 {
  max-width: 600px;
  margin-bottom: 10px;
  font-size: 2.35rem;
}

.modal-header p {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
}

.modal-close {
  background: var(--paper);
}

.modal-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(246, 241, 232, 0.9), rgba(255, 253, 248, 0.78));
}

.modal-contact-strip a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(25, 33, 31, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  color: var(--green);
  font-weight: 780;
  overflow-wrap: anywhere;
}

.contact-form {
  padding: 0;
}

.modal-form {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}

.field.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green);
  font-weight: 760;
}

.site-footer {
  width: min(1180px, calc(100% - 44px));
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--green);
}

@media (max-width: 1040px) {
  .service-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-proof-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .consultation-section,
  .areas-layout,
  .areas-contact {
    grid-template-columns: 1fr;
  }

  .areas-contact {
    padding: 34px 24px;
  }
}

@media (max-width: 860px) {
  :root {
    --section-pad: 66px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .site-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: grid;
  }

  .site-menu a {
    padding: 14px 12px;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero {
    min-height: 88svh;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(8, 22, 20, 0.1), rgba(8, 22, 20, 0.76) 58%, rgba(8, 22, 20, 0.92) 86%, var(--white) 100%),
      url("assets/perfecto-paint-hero.jpg") 57% center / cover no-repeat;
  }

  .hero-content {
    width: min(1180px, calc(100% - 32px));
    padding: 120px 0 70px;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .hero-proof,
  .trust-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    max-width: 430px;
  }

  .trust-strip {
    width: calc(100% - 32px);
    margin-top: -18px;
  }

  .section {
    width: calc(100% - 32px);
  }

  .contact-actions {
    width: 100%;
    justify-items: start;
  }

  .consultation-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .consultation-modal {
    padding: 16px;
  }

  .modal-panel {
    max-height: calc(100svh - 32px);
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 740px) {
  .service-grid,
  .portfolio-grid,
  .areas-contact {
    grid-template-columns: 1fr;
  }

  .portfolio-card img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-proof dt {
    font-size: 1.08rem;
  }

  .service-grid,
  .service-proof-row,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .area-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .modal-header {
    grid-template-columns: 1fr;
  }

  .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
  }

  .modal-header h2 {
    padding-right: 48px;
    font-size: 1.85rem;
  }

  .site-footer {
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
