@font-face {
  font-family: "GM Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

body:has(.gm-header) { margin: 0; }
.wp-site-blocks:has(.gm-header) { padding: 0; }
.wp-site-blocks:has(.gm-header) > * { margin-block-start: 0; }
.wp-site-blocks:has(.gm-header) > header,
.wp-site-blocks:has(.gm-header) > footer,
.wp-site-blocks:has(.gm-header) > main,
.wp-site-blocks:has(.gm-header) .wp-block-post-content:has(.gm-band) {
  max-width: none; width: 100%; margin-inline: 0; padding-inline: 0;
}
.gm-band, .gm-header, .gm-footer {
  --gm-ink: #151817;
  --gm-green: #113a31;
  --gm-paper: #f0efeb;
  --gm-gold: #ffbf52;
  color: var(--gm-ink);
  background: #fff;
  font-family: "GM Archivo", Arial, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.45;
  margin: 0 !important;
}
.gm-band *, .gm-header *, .gm-footer * { box-sizing: border-box; }
.gm-band { padding-block: clamp(2rem, 4.25vw, 4.25rem); }
.gm-band > .gm-wrap, .gm-header > .gm-wrap, .gm-footer > .gm-wrap,
.gm-band :is(.gm-hero-grid,.gm-work-grid,.gm-service-grid,.gm-process-grid,.gm-project-grid,.gm-split),
.gm-band :is(.gm-hero-grid,.gm-work-grid,.gm-service-grid,.gm-process-grid,.gm-project-grid,.gm-split) > *,
.gm-band :is(.gm-work-caption,.gm-feature-caption,.gm-project-caption) { margin-block: 0; }
.gm-wrap { width: min(calc(100% - clamp(2rem, 7.5vw, 8rem)), 88rem); max-width: none !important; margin-inline: auto !important; }
.gm-band p { margin: 0 0 0.8em; }
.gm-band p:last-child { margin-bottom: 0; }
.gm-band h1, .gm-band h2, .gm-band h3 {
  font-family: inherit; font-weight: 750; line-height: 1.02; letter-spacing: -0.044em;
  margin: 0 0 0.32em; color: inherit; text-transform: none;
}
.gm-band h1 { font-size: clamp(2.7rem, 4.7vw, 5rem); }
.gm-band h2 { font-size: clamp(2.15rem, 4.05vw, 4.15rem); }
.gm-band h3 { font-size: clamp(1.25rem, 2.15vw, 2rem); letter-spacing: -0.035em; }
.gm-article .gm-wrap { max-width: 49rem !important; }
.gm-article h2 { font-size: clamp(1.4rem, 2.8vw, 2.05rem); margin-top: 1.15em; }
.gm-band a, .gm-header a, .gm-footer a { color: inherit; text-underline-offset: 0.19em; }
.gm-band a:focus-visible, .gm-header a:focus-visible, .gm-footer a:focus-visible, .gm-form :is(input,textarea,select,button):focus-visible, .gm-band summary:focus-visible {
  outline: 3px solid #397bd9; outline-offset: 4px;
}
.gm-header .gm-wrap, .gm-footer .gm-wrap { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem 1.6rem; }
.gm-header { padding-block: 0.8rem; }
.gm-header .gm-brand, .gm-footer .gm-brand { font-size: clamp(1.12rem, 2.35vw, 1.85rem); font-weight: 850; line-height: 1.1; letter-spacing: -0.035em; text-decoration: none; }
.gm-header nav, .gm-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem clamp(0.9rem, 3vw, 2.3rem); }
.gm-header nav a, .gm-footer nav a { text-decoration: none; }
.gm-header nav a:hover, .gm-footer nav a:hover { text-decoration: underline; }
.gm-header nav .gm-header-cta { background: var(--gm-ink); color: #fff; border-radius: 2rem; padding: 0.56em 1.12em; font-weight: 700; }
.gm-footer { background: var(--gm-green); color: #fff; padding-block: 1.2rem; }
.gm-footer .gm-wrap { padding-top: 1rem; border-top: 1px solid #ffffff70; }
.gm-footer .gm-brand { font-size: 1rem; }
.gm-footer nav { font-size: 0.9rem; }
.gm-hero { padding-block: clamp(1.1rem, 2.65vw, 2.5rem); }
.gm-hero-grid, .gm-work-grid, .gm-service-grid, .gm-process-grid, .gm-project-grid, .gm-split { display: grid; gap: clamp(0.8rem, 1.8vw, 1.7rem); }
.gm-hero-grid { grid-template-columns: 1.62fr 2.02fr 1fr; align-items: stretch; }
.gm-hero-copy { align-self: center; padding-block: 0.8rem; }
.gm-hero-copy h1 span { color: var(--gm-green); }
.gm-hero-copy > p { font-size: clamp(1rem, 1.83vw, 1.55rem); max-width: 25ch; }
.gm-hero-copy .gm-hero-price { font-size: clamp(1rem, 1.45vw, 1.25rem); }
.gm-band .wp-block-image { margin: 0; }
.gm-band .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gm-hero-grid > .wp-block-image { border-radius: 0.75rem; overflow: hidden; min-height: clamp(18rem, 31vw, 32rem); }
.gm-hero-grid > .wp-block-image img { object-position: 53% 50%; }
.gm-hero-note { display: flex; align-items: center; background: var(--gm-green); color: #fff; border-radius: 0.75rem; padding: clamp(0.85rem, 2vw, 1.8rem); }
.gm-hero-note p { font-size: clamp(1.15rem, 2.35vw, 2.35rem); font-weight: 750; line-height: 1.15; letter-spacing: -0.05em; }
.gm-hero-note span { display: block; }
.gm-band .wp-block-buttons { margin-block: 1rem 0; }
.gm-band :is(.gm-button, .gm-button-secondary) .wp-block-button__link {
  background: var(--gm-gold); color: #161511; border-radius: 1.2rem; padding: 0.62em 1.2em;
  font-family: inherit; font-size: 1rem; font-weight: 750; line-height: 1.3; text-decoration: none;
}
.gm-band .gm-button .wp-block-button__link:hover { background: #ffd37f; }
.gm-band .gm-button-secondary .wp-block-button__link { background: #fff; }
.gm-work { background: var(--gm-ink); color: #fff; }
.gm-work-grid { grid-template-columns: 0.9fr 1.5fr 1.5fr; align-items: stretch; }
.gm-work-lead { align-self: center; }
.gm-work-lead h2 { max-width: 9ch; }
.gm-label { font-size: 0.75rem; text-transform: uppercase; font-weight: 750; letter-spacing: 0.15em; }
.gm-work-tile, .gm-feature { background: #fff; color: var(--gm-ink); border-radius: 0.75rem; overflow: hidden; }
.gm-work-tile .wp-block-image { aspect-ratio: 1.95; overflow: hidden; }
.gm-work-tile .wp-block-image img { object-position: center top; }
.gm-work-caption, .gm-project-caption, .gm-feature-caption { padding: 0.85rem 1.1rem; }
.gm-work-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 0.8rem; }
.gm-work-caption h3, .gm-work-caption .wp-block-buttons { margin: 0; }
.gm-work-caption h3 { font-size: clamp(1.04rem, 1.7vw, 1.55rem); flex: 1; min-width: 8ch; }
.gm-work-caption .gm-button .wp-block-button__link { font-size: 0.85rem; }
.gm-services { background: var(--gm-paper); }
.gm-service-grid { grid-template-columns: 1.15fr 1.45fr 1.15fr; align-items: start; }
.gm-service-grid .wp-block-image { aspect-ratio: 1.95; }
.gm-service-links { padding-inline: clamp(0rem, 1.8vw, 1.4rem) 0; }
.gm-service-links h3 { margin-top: 0.5rem; }
.gm-service-links h3 + p + h3 { padding-top: 1rem; margin-top: 1.2rem; border-top: 1px solid #c9ccc5; }
.gm-process-grid, .gm-project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gm-process > .gm-wrap > .gm-process-grid + p { margin-top: 1rem; }
.gm-card { background: var(--gm-paper); padding: clamp(1rem, 2.1vw, 2rem); border-radius: 0.75rem; min-width: 0; }
.gm-services .gm-card { background: #fff; }
.gm-band .gm-card-green { background: var(--gm-green); color: #fff; }
.gm-contact { background: var(--gm-green); color: #fff; }
.gm-contact-copy > p:last-child { margin-top: 1rem; }
.gm-contact-copy > h2 { max-width: 16ch; }
.gm-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.3rem, 4vw, 4rem); }
.gm-contact .gm-split { align-items: start; }
.gm-form label { color: #fff; font-size: 0.95rem; font-weight: 600; }
.gm-form :is(input:not([type="hidden"]), select, textarea) {
  color: var(--gm-ink); background: #fbfaf7; border: 1px solid #dcddd8;
  border-radius: 0.5rem; padding: 0.65em 0.75em; font: inherit;
}
.gm-form textarea { min-height: 5.7rem; }
.gm-form button[type="submit"] {
  background: var(--gm-gold); color: #161511; border: 0; border-radius: 0.55rem;
  padding: 0.65em 1.2em; width: 100%; font: inherit; font-weight: 750; cursor: pointer;
}
.gm-form button[type="submit"]:hover { background: #ffd37f; }
.gm-form .gm-form-privacy { margin-top: 0.75rem; font-size: 0.85rem; }
.gm-intro h1 { max-width: 19ch; }
.gm-intro p { max-width: 62ch; }
.gm-band ul { padding-left: 1.25rem; }
.gm-band li { margin-block: 0.3em; }
.gm-band details { padding: 0.85rem 0; border-bottom: 1px solid #cccec9; max-width: 58rem; }
.gm-band summary { cursor: pointer; font-weight: 700; }
.gm-band details p { margin-top: 0.6rem; }
.gm-table { max-width: 54rem; margin-bottom: 1rem; }
.gm-table table { width: 100%; border-collapse: collapse; background: #fff; }
.gm-table :is(th,td) { text-align: left; padding: 0.55em 0.6em; border-bottom: 1px solid #d6dad5; }
.gm-table tbody th { font-weight: 600; }
.gm-link-stack { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.gm-link-stack .wp-block-buttons { margin: 0; }

@media (max-width: 850px) {
  .gm-hero-grid { grid-template-columns: 1fr 1fr; }
  .gm-hero-note { grid-column: 1 / -1; }
  .gm-hero-note span { display: inline; }
  .gm-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-work-lead { grid-column: 1 / -1; }
  .gm-work-lead h2 { max-width: none; }
  .gm-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 590px) {
  .gm-header .gm-wrap, .gm-footer .gm-wrap { flex-wrap: wrap; }
  .gm-header nav { width: 100%; justify-content: space-between; font-size: 0.9rem; gap: 0.35rem 0.55rem; }
  .gm-header nav .gm-header-cta { padding: 0.4em 0.7em; }
  .gm-hero-grid, .gm-work-grid, .gm-service-grid, .gm-process-grid, .gm-project-grid, .gm-split { grid-template-columns: minmax(0, 1fr); }
  .gm-hero-copy { padding-block: 0.1rem 0.5rem; }
  .gm-hero-copy h1 { font-size: clamp(2.35rem, 10.3vw, 3.55rem); }
  .gm-hero-grid > .wp-block-image { height: 58vw; min-height: 12rem; max-height: 22rem; }
  .gm-hero-note p { font-size: 1.15rem; }
  .gm-table :is(th,td) { padding-inline: 0.4em; font-size: 0.89rem; }
}
