/* Shop colors. Walnut, oak honey, cherry, iron, and sawdust. */
:root {
  --ink: #2a2118;
  --muted: #5c4636;
  --cream: #f4efe6;
  --paper: #f8f4ec;
  --card: #fffaf3;
  --sand: #efe2cf;
  --mat: #f0e4d2;
  --line: #ddcbb6;
  --walnut: #4a301f;
  --walnut-deep: #2c1c12;
  --header: #3c291c;
  --honey: #c9843a;
  --honey-soft: #e7c48a;
  --cherry: #7a2e24;
  --cherry-deep: #5c221b;
  --iron: #2e2a26;
  --cream-text: #f7f1e6;
  --error: #7a3328;
  --serif: "Roboto Slab", "Rockwell", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 4.5rem;
  --dock-h: 4.6rem;
  --shadow: 0 16px 40px rgba(44, 28, 18, 0.08);
  /* Photographic backgrounds. Poly Haven, CC0. See README. */
  --oak-photo: image-set(
    url("../images/oak-planks.webp") type("image/webp"),
    url("../images/oak-planks.jpg") type("image/jpeg")
  );
  --walnut-photo: image-set(
    url("../images/walnut-planks.webp") type("image/webp"),
    url("../images/walnut-planks.jpg") type("image/jpeg")
  );
}

@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/roboto-slab-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #8a5a34;
  background-image: url("../images/oak-planks.jpg");
  background-image: var(--oak-photo);
  background-repeat: repeat;
  background-size: 640px auto;
  background-attachment: scroll;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}

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

a {
  color: var(--cherry);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cherry-deep);
}

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

::selection {
  background: #e4d0b4;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--walnut);
  color: var(--cream-text);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.75rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--cherry);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.35rem, 8vw, 4.35rem);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}

h3 {
  margin: 0;
  font-size: 1.35rem;
}

p {
  margin: 0 0 0.9rem;
}

.lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.section,
.band,
#opener {
  scroll-margin-top: 5.4rem;
}

.section {
  padding: 4rem 0;
}

.section-sand {
  background: transparent;
}

.hero-copy,
.section-head,
.about-grid > div:first-child,
.contact-grid > div:first-child,
.area-note {
  background: rgba(248, 244, 236, 0.94);
  border: 1px solid rgba(255, 248, 238, 0.7);
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(42, 24, 12, 0.16);
}

.hero-copy,
.section-head,
.about-grid > div:first-child,
.contact-grid > div:first-child {
  padding: 1.15rem 1.2rem 1.05rem;
}

.area-note {
  padding: 0.85rem 1rem;
}

.section-tight {
  padding-top: 1rem;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head::after {
  content: "";
  display: block;
  width: 9.5rem;
  height: 14px;
  margin-top: 0.85rem;
  border-radius: 1px;
  background-color: var(--honey-soft);
  background-image:
    repeating-linear-gradient(90deg, #3d2a1c 0 1.5px, transparent 1.5px 40px),
    repeating-linear-gradient(90deg, #3d2a1c 0 1px, transparent 1px 8px);
  background-size: 100% 100%, 100% 46%;
  background-position: left top, left bottom;
  background-repeat: repeat-x;
  box-shadow: inset 0 0 0 1px rgba(74, 48, 31, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 1px solid #2a1810;
  border-radius: 3px 9px 7px 3px;
  background-color: #5a3824;
  background-image:
    linear-gradient(180deg, rgba(255, 214, 160, 0.22), rgba(0, 0, 0, 0.18)),
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(42, 24, 12, 0.16) 3px 4px);
  color: var(--cream-text);
  font: inherit;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 226, 186, 0.35), inset 0 0 0 1px rgba(90, 48, 24, 0.4);
  cursor: pointer;
}

.btn:hover {
  background-color: #3f2718;
  color: white;
}

.btn-ghost {
  background: transparent;
  background-image: none;
  color: var(--walnut);
  border: 1px dashed #8a6244;
  border-radius: 3px;
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(74, 48, 31, 0.06);
  background-image: none;
  color: var(--walnut-deep);
}

.btn-light {
  background: transparent;
  background-image: none;
  border: 1px dashed rgba(247, 241, 230, 0.75);
  border-radius: 3px;
  color: var(--cream-text);
  box-shadow: none;
}

.btn-light:hover {
  background: rgba(247, 241, 230, 0.1);
  background-image: none;
  color: white;
}

.btn-small {
  min-height: 42px;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
}

.btn:focus-visible {
  outline-color: var(--cream-text);
  box-shadow: 0 0 0 3px var(--cherry);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background-color: #24160f;
  background-image:
    linear-gradient(rgba(18, 10, 6, 0.58), rgba(18, 10, 6, 0.58)),
    url("../images/walnut-planks.jpg");
  background-image:
    linear-gradient(rgba(18, 10, 6, 0.58), rgba(18, 10, 6, 0.58)),
    var(--walnut-photo);
  background-repeat: repeat;
  background-size: auto, 680px auto;
  background-attachment: scroll;
  color: var(--cream-text);
  border-bottom: 0;
  box-shadow: 0 8px 18px rgba(20, 10, 6, 0.28);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: #140c08;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: var(--cream-text);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo-words {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.logo-name {
  font-size: 1.05rem;
}

.logo-trade {
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.01em;
}

.logo-mark {
  width: 2.15rem;
  height: 2.15rem;
  color: var(--honey-soft);
  flex: none;
}

.logo-trade {
  font-weight: 500;
}

.site-nav {
  display: none;
}

.site-nav a {
  color: var(--cream-text);
  text-decoration: none;
  font-weight: 650;
}

.site-nav a:hover,
.header-call:hover,
.logo:hover {
  color: var(--honey-soft);
}

.header-call {
  margin-left: auto;
  color: var(--cream-text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-quote,
.nav-toggle {
  flex: none;
}

.header-quote {
  display: none;
}

.nav-toggle {
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(247, 241, 230, 0.45);
  border-radius: 3px;
  background: transparent;
  color: var(--cream-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.35rem 1.25rem 0.8rem;
  background-color: #24160f;
  background-image:
    linear-gradient(rgba(18, 10, 6, 0.58), rgba(18, 10, 6, 0.58)),
    url("../images/walnut-planks.jpg");
  background-image:
    linear-gradient(rgba(18, 10, 6, 0.58), rgba(18, 10, 6, 0.58)),
    var(--walnut-photo);
  background-repeat: repeat;
  background-size: auto, 680px auto;
  border-bottom: 3px solid #140c08;
  box-shadow: var(--shadow);
}

.site-nav.is-open a {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(247, 241, 230, 0.16);
  font-size: 1.12rem;
}

.site-nav.is-open a:last-child {
  border-bottom: 0;
}

body.nav-open {
  overflow: hidden;
}

.hero {
  padding: 2.2rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 1rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust li {
  padding: 0.28rem 0.6rem;
  border: 1px dashed #b08968;
  border-radius: 2px;
  background: rgba(255, 250, 243, 0.82);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-piece {
  margin: 0;
}

.hero-piece figcaption,
.shot figcaption {
  padding-top: 0.7rem;
  color: var(--ink);
  font-weight: 650;
}

.hero-piece figcaption {
  margin-top: 0.75rem;
  padding: 0.7rem 0.85rem 0.75rem;
  background: rgba(248, 244, 236, 0.94);
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(42, 24, 12, 0.12);
}

.cap-kicker,
.cap-meta {
  display: block;
}

.cap-kicker {
  margin-bottom: 0.15rem;
  color: var(--cherry);
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cap-meta {
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
}

.frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #b89a76;
  border-radius: 2px;
  background-color: var(--mat);
  background-image:
    linear-gradient(180deg, rgba(255, 252, 248, 0.55), rgba(255, 252, 248, 0) 42%),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(59, 39, 24, 0.045) 22px 23px);
  box-shadow: inset 0 0 0 8px #f3e6d4, inset 0 0 0 9px #c9b297;
}

.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--mat);
}

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

.empty-label {
  display: none;
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 560;
  line-height: 1.25;
  color: var(--walnut);
}

.frame.is-empty .empty-label {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
}

.service-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.15rem 1.15rem 1.2rem;
  border: 1px solid #e0d0bc;
  border-radius: 3px;
  background-color: var(--card);
  background-image: linear-gradient(180deg, rgba(255, 250, 243, 0.4), rgba(239, 226, 207, 0.35));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.card h3 {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
  font-size: 1.28rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  margin-top: 0.08rem;
  color: var(--walnut);
  fill: currentColor;
  stroke: none;
}

.band {
  background-color: #24160f;
  background-image:
    linear-gradient(rgba(18, 10, 6, 0.5), rgba(18, 10, 6, 0.5)),
    url("../images/walnut-planks.jpg");
  background-image:
    linear-gradient(rgba(18, 10, 6, 0.5), rgba(18, 10, 6, 0.5)),
    var(--walnut-photo);
  background-repeat: repeat;
  background-size: auto, 680px auto;
  background-attachment: scroll;
  color: var(--cream-text);
}

.band-inner {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0;
}

.band p {
  margin: 0;
  font-size: 1.12rem;
}

.band strong {
  font-family: var(--serif);
  font-weight: 560;
}

.feature {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  padding: 0.9rem;
  border-radius: 3px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.feature-photos {
  display: grid;
  gap: 0.9rem;
}

.feature h3 {
  margin-bottom: 0.45rem;
}

.specs {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.35rem 0.8rem;
  margin: 1rem 0 0;
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  margin: 0;
}

.gallery {
  display: grid;
  gap: 0.9rem;
}

.shot {
  margin: 0;
}

.shot figcaption {
  font-size: 0.98rem;
}

.about-grid,
.quote-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.facts {
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: 3px;
  background-color: #24160f;
  background-image:
    linear-gradient(rgba(18, 10, 6, 0.55), rgba(18, 10, 6, 0.55)),
    url("../images/walnut-planks.jpg");
  background-image:
    linear-gradient(rgba(18, 10, 6, 0.55), rgba(18, 10, 6, 0.55)),
    var(--walnut-photo);
  background-repeat: repeat;
  background-size: auto, 680px auto;
  background-attachment: scroll;
  color: var(--cream-text);
}

.facts a,
.contact-card a,
.site-footer a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.facts a {
  color: var(--cream-text);
}

.facts-kicker {
  margin: 0 0 0.8rem;
  color: var(--honey-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts dl {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 0.55rem 0.75rem;
  margin: 0;
}

.facts dt {
  color: #d9c7b4;
}

.facts dd {
  margin: 0;
}

.steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1rem 1rem 1rem 4.2rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--card);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3e2c8;
  color: var(--cherry);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.steps h3 {
  margin-bottom: 0.3rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.cities {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.cities li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--card);
}

.city {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.city-note {
  color: var(--cherry);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.area-note {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--muted);
}

.quote-form,
.contact-card {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--card);
}

.form-grid {
  display: grid;
  gap: 0.95rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.req {
  color: var(--muted);
  font-weight: 600;
}

.hint {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d5c4b1;
  border-radius: 3px;
  background: #fffdfb;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--walnut) 50%), linear-gradient(135deg, var(--walnut) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cherry);
  outline-offset: 2px;
  border-color: var(--cherry);
}

.form-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.form-actions .btn {
  width: 100%;
}

.form-status {
  margin-top: 0.9rem;
  font-weight: 650;
}

.form-status:empty {
  display: none;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-card {
  font-style: normal;
}

.contact-name {
  margin-bottom: 0.2rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 560;
}

.contact-card .btn {
  margin-top: 0.4rem;
}

.site-footer {
  background-color: #1a100c;
  background-image:
    linear-gradient(rgba(12, 7, 4, 0.62), rgba(12, 7, 4, 0.62)),
    url("../images/walnut-planks.jpg");
  background-image:
    linear-gradient(rgba(12, 7, 4, 0.62), rgba(12, 7, 4, 0.62)),
    var(--walnut-photo);
  background-repeat: repeat;
  background-size: auto, 680px auto;
  background-attachment: scroll;
  color: var(--cream-text);
  padding: 2.4rem 0 1.4rem;
}

.site-footer a {
  color: var(--cream-text);
}

.footer-grid {
  display: grid;
  gap: 1.3rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 560;
}

.site-footer nav {
  display: grid;
  gap: 0.35rem;
}

.site-footer nav a {
  text-decoration: none;
  font-weight: 650;
}

.site-footer nav a:hover {
  text-decoration: underline;
}

.footer-area {
  margin: 0;
  color: #e4d3c0;
}

.legal {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.4rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 241, 232, 0.18);
  color: #e4d3c0;
  font-size: 0.95rem;
}

.site-footer :focus-visible {
  outline-color: #f6f1e8;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(248, 244, 236, 0.96);
  border-top: 0;
  box-shadow: inset 0 6px 0 #5a3824;
}

.dock a:not(.btn) {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.dock .btn {
  min-height: 44px;
}

.dock[hidden] {
  display: none;
}

@media (min-width: 720px) {
  .feature-photos,
  .gallery,
  .service-list,
  .cities {
    grid-template-columns: 1fr 1fr;
  }

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

  .span-2 {
    grid-column: 1 / -1;
  }

  .form-actions {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .form-actions .btn {
    width: auto;
  }

  .band-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

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

  .steps li:last-child {
    grid-column: 1 / -1;
  }
}

.frame.frame-portrait {
  aspect-ratio: 3 / 4;
}

@media (max-width: 899px) {
  .hero .frame,
  .feature .frame,
  .gallery .frame {
    aspect-ratio: 16 / 10;
  }

  .hero .frame.frame-portrait,
  .feature .frame.frame-portrait {
    aspect-ratio: 3 / 4;
  }
}

@media (min-width: 980px) {
  body {
    padding-bottom: 0;
  }

  .logo-words {
    flex-direction: row;
    align-items: baseline;
    gap: 0.35rem;
  }

  .logo-name,
  .logo-trade {
    font-size: 1.15rem;
    letter-spacing: -0.01em;
  }

  .header-quote {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-left: 0.6rem;
  }

  .site-nav.is-open {
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav.is-open a,
  .site-nav a {
    padding: 0;
    border: 0;
    font-size: 0.98rem;
  }

  body {
    background-size: 980px auto;
  }

  .hero {
    padding: 4.2rem 0 4.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 3.2rem;
    align-items: center;
  }

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

  .service-list .card:last-child {
    grid-column: auto;
  }

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

  .feature {
    grid-template-columns: 1.35fr 0.8fr;
    align-items: center;
    padding: 1.1rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2.5rem;
    align-items: start;
  }

  .quote-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
  }

  .steps {
    grid-template-columns: repeat(6, 1fr);
  }

  .steps li,
  .steps li:last-child {
    grid-column: span 2;
  }

  .steps li:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .steps li:nth-child(5) {
    grid-column: 4 / span 2;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    align-items: start;
  }

  .dock {
    display: none;
  }

  .section {
    padding: 5.2rem 0;
  }
}

@media (max-width: 359px) {
  .header-call {
    font-size: 0.86rem;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .logo-trade {
    font-size: 0.64rem;
  }
}

@media (hover: hover) {
  .card,
  .steps li,
  .cities li {
    transition: border-color 160ms ease, transform 160ms ease;
  }

  .card:hover,
  .steps li:hover,
  .cities li:hover {
    border-color: #c9b39a;
    transform: translateY(-2px);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .btn,
  .card,
  .frame,
  .facts {
    border: 1px solid ButtonText;
  }
}

@media print {
  .dock,
  .nav-toggle,
  .skip,
  .header-quote {
    display: none !important;
  }

  body {
    padding: 0;
    background: white;
  }

  .site-header {
    position: static;
  }

  a[href^="http"]::after {
    content: "";
  }
}
