:root {
  --black: #050505;
  --ink: #10100f;
  --white: #f4f1e8;
  --paper: #ebe7db;
  --muted: #aaa59a;
  --muted-dark: #4f4b43;
  --line-dark: rgba(244, 241, 232, 0.18);
  --line-light: rgba(5, 5, 5, 0.18);
  --max: 1180px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --body: "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Black", Impact, Haettenschweiler, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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

.skip-link:focus {
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--white);
  color: var(--black);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  width: min(100%, var(--max));
  min-height: 76px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 190px;
  min-width: 140px;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.05rem;
}

.primary-nav a,
.nav-inquiry,
.site-footer a {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.nav-inquiry:hover,
.nav-inquiry:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.primary-nav a[aria-current="page"] {
  color: var(--white);
}

.primary-nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 0.28rem;
  background: currentColor;
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-social,
.footer-social > div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--white);
}

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

.social-icon[aria-label="Facebook"] svg {
  fill: currentColor;
  stroke: none;
}

.is-placeholder {
  opacity: 0.42;
  cursor: default;
}

.nav-inquiry {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
}

.menu-line {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-open .menu-line:first-child {
  transform: translateY(3px) rotate(35deg);
}

.nav-open .menu-line:nth-child(2) {
  transform: translateY(-3px) rotate(-35deg);
}

main {
  min-height: 72vh;
}

.hero,
.page-hero,
.section,
.newsletter-band,
.contact-embed,
.final-cta {
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.home-hero {
  min-height: 88svh;
  padding-top: 8rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 85% 40%, rgba(244, 241, 232, 0.08), transparent 32%),
    var(--black);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  width: min(100%, var(--max));
  min-height: calc(88svh - 13rem);
  margin: 0 auto;
}

.hero-content {
  min-width: 0;
}

.hero-logo {
  width: min(620px, 100%);
  margin-bottom: 2.8rem;
}

.hero-mark-lockup {
  display: inline-grid;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.hero-logo.hero-mark {
  width: min(250px, 48vw);
  max-height: 176px;
  margin-bottom: 0;
  object-fit: contain;
  object-position: left center;
  opacity: 0.92;
  filter: contrast(1.08);
  transform: translateX(-0.45rem);
}

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

h1,
h2 {
  max-width: 900px;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 1.2rem;
  font-size: 4.8rem;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: 3.3rem;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
  line-height: 1.08;
}

.hero-content > p,
.page-hero > p:last-child,
.section-intro > p,
.article-copy p,
.project-body p,
.service-card p,
.newsletter-copy p,
.contact-side p,
.footer-grid p {
  color: var(--muted);
}

.hero-content > p {
  max-width: 560px;
  font-size: 1.18rem;
}

.kicker,
.meta,
.project-meta-row {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.82rem 1.05rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-light {
  background: var(--white);
  color: var(--black);
}

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

.button-ghost {
  background: transparent;
  color: var(--white);
}

.page-hero,
.section {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.page-hero {
  padding-top: 10rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.compact-hero {
  padding-bottom: 3.5rem;
}

.page-hero p:last-child {
  max-width: 640px;
  font-size: 1.12rem;
}

.section {
  padding-top: 5.2rem;
  padding-bottom: 5.2rem;
}

.section + .section {
  border-top: 1px solid var(--line-dark);
}

.section-invert {
  width: 100%;
  max-width: none;
  color: var(--black);
  background: var(--paper);
}

.section-invert > * {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.section-invert .kicker,
.section-invert .project-meta-row,
.section-invert .section-intro > p,
.section-invert .project-body p,
.section-invert .service-card p {
  color: var(--muted-dark);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: 2.4rem;
}

.section-intro > * {
  min-width: 0;
}

.section-intro h2 {
  overflow-wrap: break-word;
}

.section-intro p {
  max-width: 440px;
  margin-bottom: 0;
}

.two-column,
.article-layout,
.contact-layout,
.newsletter-inner,
.contact-embed-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 4rem;
}

.tight-copy .section-intro {
  display: block;
}

.detail-list {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.detail-list p {
  margin: 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
  font-weight: 800;
}

.project-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

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

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

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

.project-card,
.service-card {
  min-width: 0;
  border-top: 1px solid var(--line-dark);
}

.section-invert .project-card {
  border-color: var(--line-light);
}

.project-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin-top: 1rem;
  overflow: hidden;
  background: var(--ink);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  opacity: 1;
  transition: transform 240ms ease;
}

.project-card:hover .project-media img,
.project-card:focus-within .project-media img {
  transform: scale(1.035);
}

.play-mark {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  min-height: 30px;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(244, 241, 232, 0.72);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.72);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-fallback {
  display: none;
}

.media-failed img {
  display: none;
}

.media-failed .media-fallback {
  display: block;
  color: var(--white);
}

.project-body,
.service-card {
  padding-top: 1rem;
}

.project-card-quiet .project-body p,
.project-card-quiet .tag-row {
  display: none;
}

.project-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag-row span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-row span::before {
  content: "/";
  margin-right: 0.25rem;
}

.text-link {
  display: inline-flex;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.32rem;
}

.text-link.is-disabled {
  color: var(--muted);
  cursor: default;
}

.service-index {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.service-index-link {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}

.service-index-link span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-index-link strong {
  font-size: 1.08rem;
  line-height: 1.12;
}

.service-index-link:hover strong,
.service-index-link:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 0.32rem;
}

.service-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 0;
}

.service-number {
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
}

.service-card:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.service-summary {
  display: grid;
  gap: 0.4rem;
}

.service-summary h3,
.service-summary p {
  margin: 0;
}

.service-summary p {
  max-width: 52rem;
}

.service-inquire {
  margin-top: 0.2rem;
  white-space: nowrap;
}

.services-list-section {
  padding-top: 1rem;
}

.section-action {
  margin-top: 2rem;
}

.newsletter-band {
  background: var(--paper);
  color: var(--black);
}

.contact-embed {
  padding-top: clamp(4rem, 7vw, 6.8rem);
  padding-bottom: clamp(4rem, 7vw, 6.8rem);
  border-top: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--black);
}

.newsletter-inner,
.contact-embed-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-top: 4.6rem;
  padding-bottom: 4.6rem;
}

.newsletter-copy p,
.contact-embed-copy p {
  color: var(--muted-dark);
}

.contact-embed .kicker {
  color: var(--muted-dark);
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.64fr);
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: stretch;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(1.1rem, 4vw, 2.6rem);
  border: 1px solid;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}

.contact-panel-light {
  border-color: rgba(5, 5, 5, 0.13);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 24px 70px rgba(5, 5, 5, 0.11);
}

.contact-panel-dark {
  border-color: var(--line-dark);
  background:
    linear-gradient(135deg, rgba(244, 241, 232, 0.08), transparent 42%),
    var(--black);
  color: var(--white);
}

.contact-panel-main {
  display: grid;
  align-content: start;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  min-width: 0;
}

.contact-panel-copy h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2.05rem, 5vw, 3.4rem);
}

.contact-panel-copy p:last-child {
  max-width: 520px;
  margin-bottom: 0;
}

.contact-panel-light .contact-panel-copy p:last-child {
  color: var(--muted-dark);
}

.contact-panel-dark .contact-panel-copy p:last-child {
  color: var(--muted);
}

.contact-panel-side {
  display: grid;
  align-content: space-between;
  gap: 1.35rem;
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border-radius: 8px;
  color: var(--white);
  background: var(--black);
}

.contact-panel-dark .contact-panel-side {
  border: 1px solid var(--line-dark);
  background: rgba(244, 241, 232, 0.055);
}

.contact-panel-mark {
  width: min(280px, 82%);
  max-height: 230px;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0.9;
  filter: contrast(1.08) drop-shadow(0 18px 38px rgba(0, 0, 0, 0.42));
}

.contact-detail-block {
  min-width: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 241, 232, 0.2);
}

.contact-detail-block .kicker {
  color: rgba(244, 241, 232, 0.64);
}

.contact-detail-block h3 {
  margin-bottom: 0.55rem;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.2;
  text-transform: none;
  word-break: break-word;
}

.contact-panel-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-panel .contact-form {
  gap: 1rem;
}

.contact-panel .form-grid {
  gap: 0.85rem 1rem;
}

.contact-panel .form-row {
  gap: 0.42rem;
}

.contact-panel label {
  color: currentColor;
  opacity: 0.76;
}

.contact-panel input,
.contact-panel select,
.contact-panel textarea {
  min-height: 48px;
  padding: 0.76rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.055);
  transition: background 160ms ease, border-color 160ms ease;
}

.contact-panel textarea {
  min-height: 126px;
}

.contact-panel input:focus,
.contact-panel select:focus,
.contact-panel textarea:focus {
  border-color: currentColor;
  outline: 0;
}

.contact-form-dark input,
.contact-form-dark select,
.contact-form-dark textarea {
  background: rgba(244, 241, 232, 0.075);
  border-color: rgba(244, 241, 232, 0.1);
}

.contact-form-light input,
.contact-form-light select,
.contact-form-light textarea {
  border-color: rgba(5, 5, 5, 0.045);
}

.newsletter-form,
.contact-form {
  display: grid;
  gap: 1rem;
  align-self: start;
}

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

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row-wide {
  grid-column: 1 / -1;
}

label {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

label span {
  color: var(--muted);
  text-transform: lowercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  background: transparent;
  color: var(--black);
  padding: 0.78rem 0;
}

.newsletter-form input,
.contact-form-light input,
.contact-form-light select,
.contact-form-light textarea {
  color-scheme: light;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(5, 5, 5, 0.48);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.contact-form-dark input,
.contact-form-dark select,
.contact-form-dark textarea {
  color-scheme: dark;
  border-color: var(--line-dark);
  color: var(--white);
}

.contact-form-dark input::placeholder,
.contact-form-dark textarea::placeholder {
  color: rgba(244, 241, 232, 0.46);
}

.contact-form-dark select option {
  background: #161616;
  color: var(--white);
}

.contact-form-light select option {
  background: var(--paper);
  color: var(--black);
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.contact-form-dark .form-status {
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: #245c39;
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: #a62920;
  font-weight: 700;
}

.contact-form-dark .form-status[data-state="success"] {
  color: #b9e6c8;
}

.contact-form-dark .form-status[data-state="error"] {
  color: #ffb4ad;
}

.contact-form [data-submit-button]:disabled {
  cursor: wait;
  opacity: 0.58;
}

.form-honeypot {
  display: none;
}

.final-cta {
  display: grid;
  place-items: center;
  min-height: 36svh;
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
  text-align: center;
  border-top: 1px solid var(--line-dark);
}

.final-cta > div {
  max-width: 760px;
}

.final-cta h2 {
  margin-right: auto;
  margin-left: auto;
}

.article-copy {
  max-width: 700px;
}

.article-copy p {
  font-size: 1.2rem;
  line-height: 1.45;
}

.article-side,
.contact-side {
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
}

.article-side h2,
.contact-side h2 {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.article-side ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.about-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.75fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.about-summary h2 {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.about-summary-copy {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.about-postscript {
  max-width: 740px;
  margin: 1.4rem 0 0;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.about-mission {
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
}

.about-mission > p:last-child {
  margin: 1.6rem 0 0;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.48;
}

.site-footer {
  border-top: 1px solid var(--line-dark);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.5fr) minmax(220px, 0.65fr);
  gap: 2rem;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 3rem var(--gutter);
}

.footer-brand-block img {
  width: min(260px, 100%);
  margin-bottom: 1rem;
}

.footer-grid nav,
.footer-social {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1rem var(--gutter) 2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .primary-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    justify-items: start;
    gap: 0;
    max-height: calc(100svh - 76px);
    padding: 1rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line-dark);
    background: rgba(5, 5, 5, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    width: 100%;
    padding: 0.78rem 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 2.2rem;
    white-space: normal;
  }

  .primary-nav a[aria-current="page"]::after {
    display: none;
  }

  .nav-utility {
    display: none;
  }

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

@media (max-width: 860px) {
  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero-grid,
  .section-intro,
  .two-column,
  .article-layout,
  .about-overview,
  .contact-layout,
  .newsletter-inner,
  .contact-embed-inner,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .hero-grid {
    min-height: auto;
  }

  .contact-panel-side {
    align-content: start;
    min-height: auto;
  }

  .contact-panel-mark {
    width: min(220px, 72vw);
    max-height: 170px;
  }

  .section,
  .newsletter-inner,
  .contact-embed-inner,
  .final-cta {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .page-hero {
    padding-top: 9rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .brand {
    width: 158px;
  }

  .home-hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-logo {
    margin-bottom: 1.6rem;
  }

  .hero-mark-lockup {
    gap: 0.8rem;
    margin-bottom: 1.45rem;
  }

  .hero-logo.hero-mark {
    width: min(178px, 54vw);
    max-height: 124px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content > p,
  .page-hero > p:last-child,
  .article-copy p {
    font-size: 1.02rem;
  }

  .project-grid,
  .home-project-grid,
  .service-grid.compact,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-index-link {
    grid-template-columns: 2.6rem minmax(0, 1fr);
  }

  .service-index-link span:last-child {
    display: none;
  }

  .service-card {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 1.25rem 0;
  }

  .service-inquire {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.2rem;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .contact-embed {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }

  .contact-panel {
    padding: 0.8rem;
  }

  .contact-panel-main {
    padding: 0.25rem;
  }

  .contact-panel-side {
    padding: 1rem;
  }
}
