:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-warm: #faf7f2;
  --surface-green: #eef3eb;
  --ink: #1a2418;
  --muted: #5c6358;
  --line: #d8cfc0;
  --forest: #2d4a32;
  --forest-dark: #1e3322;
  --bark: #6b4423;
  --bark-light: #8b5e3c;
  --cedar: #c4a574;
  --sage: #7a9b6e;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(45, 74, 50, 0.14);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-sans);
  line-height: 1.55;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 10px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(30, 51, 34, 0.96);
  border-bottom: 1px solid rgba(196, 165, 116, 0.22);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 2px solid rgba(196, 165, 116, 0.55);
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-text span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cedar);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a,
.nav-call,
.text-link {
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--cedar);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(196, 165, 116, 0.45);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

.nav-call:hover,
.nav-call:focus-visible {
  background: var(--cedar);
  color: var(--forest-dark);
  border-color: var(--cedar);
}

.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  display: flex;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest-dark);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 35, 22, 0.92), rgba(20, 35, 22, 0.5) 55%, rgba(20, 35, 22, 0.25)),
    linear-gradient(0deg, rgba(20, 35, 22, 0.78), rgba(20, 35, 22, 0.1) 65%);
}

.hero__content {
  width: min(820px, calc(100% - 36px));
  margin: 0 0 clamp(96px, 16vh, 150px) clamp(18px, 7vw, 84px);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cedar);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.hero h1 em {
  display: block;
  margin-top: 0.12em;
  color: var(--cedar);
  font-style: normal;
  font-size: 0.42em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__facts {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 24px;
  left: clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin-left: auto;
  color: var(--white);
}

.hero__facts span {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 10px 12px;
  background: rgba(30, 51, 34, 0.82);
  border: 1px solid rgba(196, 165, 116, 0.28);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(8px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--bark-light);
}

.button--secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--cedar);
  background: rgba(196, 165, 116, 0.18);
}

.button--light {
  color: var(--forest-dark);
  background: var(--cedar);
}

.button--dark {
  color: var(--white);
  background: var(--forest-dark);
}

.button--wide {
  width: 100%;
}

.section {
  padding: clamp(60px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section h2,
.image-band h2,
.subscribe-section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.02;
}

.split,
.about-layout,
.contact-grid,
.references-layout,
.dual-service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.split--intro {
  align-items: center;
}

.copy-block {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.copy-block p {
  margin: 0;
}

.intro-section {
  background: var(--surface-warm);
}

.service-section {
  background: var(--surface-green);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.section-heading-row h2 {
  max-width: 780px;
}

.section-note {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--forest);
  border-radius: var(--radius-sm);
  color: var(--forest);
  font-weight: 800;
  white-space: nowrap;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--white);
  background: var(--forest);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.service-grid article {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 42px rgba(45, 74, 50, 0.07);
}

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

.service-grid article h3,
.service-grid article p,
.service-grid article a {
  margin-left: 22px;
  margin-right: 22px;
}

.service-grid article a {
  margin-bottom: 22px;
}

.service-grid h3,
.reference-list h3,
.hours-box h3,
.contact-cta h3 {
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.15;
}

.service-grid p,
.reference-list p,
.about-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.service-grid article[data-theme="fence"] {
  border-top: 4px solid var(--cedar);
}

.service-grid article[data-theme="irrigation"] {
  border-top: 4px solid var(--sage);
}

.service-grid a {
  width: fit-content;
  margin-top: auto;
  color: var(--bark);
  font-weight: 800;
}

.service-grid a:hover,
.service-grid a:focus-visible {
  color: var(--forest);
}

.process-section {
  background: var(--surface-warm);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.process-grid article {
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--forest);
  font-weight: 800;
  font-size: 0.9rem;
}

.process-grid h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-section {
  background: var(--surface-green);
}

.about-layout {
  align-items: center;
}

.about-media img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-copy {
  display: grid;
  gap: 22px;
}

.logo-showcase {
  max-width: 320px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.logo-showcase img {
  width: 100%;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 2px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}

.gallery-section {
  background: var(--surface-warm);
}

.gallery-actions {
  display: flex;
  gap: 10px;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(45, 74, 50, 0.1);
  cursor: pointer;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.gallery-shell {
  margin-top: 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-grid {
  display: flex;
  gap: 16px;
  margin-top: 0;
  padding: 6px 6px 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--forest) rgba(45, 74, 50, 0.12);
}

.gallery-card {
  min-width: 0;
  flex: 0 0 clamp(260px, 31vw, 380px);
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--forest-dark);
  box-shadow: 0 16px 48px rgba(26, 36, 24, 0.14);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.04);
  opacity: 0.92;
}

.references-section {
  color: var(--ink);
  background: #e8efe4;
}

.references-section .section-kicker {
  color: var(--bark);
}

.references-section p {
  color: var(--muted);
  font-size: 1.06rem;
}

.reference-list {
  display: grid;
  gap: 14px;
}

.reference-list article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 42px rgba(45, 74, 50, 0.07);
}

.reference-list p {
  margin-top: 9px;
  font-size: 1rem;
}

.reference-list .button {
  margin: 0;
  border-radius: var(--radius-sm);
}

.image-band {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
  padding: 72px 20px;
  color: var(--white);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.image-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.image-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 35, 22, 0.68);
}

.image-band__content {
  width: min(780px, 100%);
}

.image-band h2 {
  margin-bottom: 20px;
}

.image-band p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.contact-section {
  background: var(--surface-warm);
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-side {
  display: grid;
  gap: 18px;
  align-self: start;
}

.contact-copy h2 {
  margin-bottom: 18px;
}

address {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
}

address strong {
  color: var(--ink);
}

address a {
  width: fit-content;
  color: var(--bark);
  font-weight: 800;
}

address a:hover,
address a:focus-visible {
  color: var(--forest);
}

.hours-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.hours-box dl {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.hours-box dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.hours-box dt {
  font-weight: 800;
  color: var(--ink);
}

.hours-box dd {
  margin: 0;
}

.lead-form,
.contact-cta,
.subscribe-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-form,
.contact-cta {
  padding: clamp(20px, 4vw, 34px);
}

.contact-cta {
  display: grid;
  align-content: center;
  gap: 18px;
}

.contact-cta h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

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

.form-row {
  margin-bottom: 18px;
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: #3a4038;
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fcfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

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

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(45, 74, 50, 0.22);
  outline-offset: 2px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest);
}

.check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin: 2px 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.form-status[data-state="success"] {
  color: var(--forest);
}

.form-status[data-state="error"] {
  color: #9a3a28;
}

.subscribe-section {
  padding: clamp(44px, 7vw, 76px) clamp(18px, 4vw, 56px);
  background: #e4ebe0;
}

.subscribe-section__inner {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
  margin: 0 auto;
}

.subscribe-section h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 16px;
}

.subscribe-form .form-status {
  grid-column: 1 / -1;
  margin-top: 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-footer {
  padding: 36px 20px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--forest-dark);
  text-align: center;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 7px 0;
}

.site-footer strong,
.site-footer a {
  color: var(--white);
}

.site-footer .footer-logo {
  width: 120px;
  margin: 0 auto 12px;
  border-radius: var(--radius-sm);
}

.modal,
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}

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

.modal__backdrop,
.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 18, 0.76);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100svh - 36px);
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.modal__body {
  max-height: calc(100svh - 36px);
  overflow: auto;
  padding: clamp(20px, 4vw, 34px);
}

.modal__panel h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.8rem);
  line-height: 1.05;
}

.modal__body > p {
  margin: 14px 0 24px;
  color: var(--muted);
}

.modal__close,
.gallery-modal__close,
.gallery-modal__nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.modal__close,
.gallery-modal__close {
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  font-size: 1.7rem;
  line-height: 1;
}

.modal .lead-form {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

.gallery-modal__panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100svh - 36px);
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #141f16;
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.gallery-modal__panel img {
  width: 100%;
  max-height: calc(100svh - 140px);
  object-fit: contain;
  border-radius: var(--radius);
}

.gallery-modal__panel p {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
  text-align: center;
}

.gallery-modal__nav {
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 56px;
  transform: translateY(-50%);
  color: var(--white);
  background: rgba(30, 51, 34, 0.82);
  border-color: rgba(255, 255, 255, 0.22);
  font-size: 1.5rem;
}

.gallery-modal__nav--prev {
  left: 20px;
}

.gallery-modal__nav--next {
  right: 20px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 760px;
  }

  .hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .split,
  .about-layout,
  .contact-grid,
  .references-layout,
  .dual-service-layout,
  .subscribe-section__inner {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: auto;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .nav-call {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .main-nav {
    gap: 18px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero__content {
    width: calc(100% - 32px);
    margin: 0 16px 166px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4.6rem);
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__facts {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .hero__facts span {
    min-height: 48px;
    font-size: 0.78rem;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-note {
    max-width: none;
  }

  .service-grid,
  .process-grid,
  .form-row--split,
  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .gallery-actions {
    justify-content: start;
  }

  .gallery-card {
    flex-basis: min(82vw, 320px);
  }

  .service-grid article {
    min-height: auto;
  }

  .subscribe-form .button {
    width: 100%;
  }

  .modal,
  .gallery-modal {
    padding: 12px;
  }

  .gallery-modal__panel {
    padding: 10px;
  }

  .gallery-modal__nav {
    width: 38px;
    height: 48px;
  }

  .gallery-modal__nav--prev {
    left: 12px;
  }

  .gallery-modal__nav--next {
    right: 12px;
  }
}
