/*
Theme Name: M.M. Construction & Interior Design
Author: M.M. Construction & Interior Design
Description: A custom responsive WordPress theme for a Hyderabad construction and interior-design studio.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mm-construction
Tags: custom-logo, custom-menu, featured-images, one-column, portfolio, responsive-layout
*/

:root {
  --mm-ivory: #f6f4ef;
  --mm-white: #ffffff;
  --mm-charcoal: #222624;
  --mm-stone: #626763;
  --mm-bronze: #8a6844;
  --mm-bronze-dark: #6c4e31;
  --mm-border: #ddd8cf;
  --mm-surface-dark: #2e3330;
  --mm-content: 1200px;
  --mm-reading: 760px;
  --mm-shadow: 0 20px 60px rgba(34, 38, 36, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--mm-charcoal);
  background: var(--mm-ivory);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

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

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

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

button,
.button,
.wp-element-button,
input[type="submit"] {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--mm-charcoal);
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
}

p:first-child {
  margin-top: 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto !important;
  color: var(--mm-white);
  background: var(--mm-charcoal);
}

.site-container {
  width: min(calc(100% - 40px), var(--mm-content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(246, 244, 239, 0.96);
  border-bottom: 1px solid var(--mm-border);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-branding,
.brand-link {
  display: flex;
  align-items: center;
  gap: 13px;
}

.custom-logo-link img {
  width: auto;
  max-height: 50px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  color: var(--mm-white);
  background: var(--mm-charcoal);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 19px;
}

.brand-title {
  display: block;
  color: var(--mm-charcoal);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 23px;
  line-height: 1;
}

.brand-description {
  display: block;
  margin-top: 5px;
  color: var(--mm-stone);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.header-actions,
.primary-navigation,
.primary-menu {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 24px;
}

.primary-menu,
.footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu {
  gap: 28px;
}

.primary-menu li {
  position: relative;
}

.primary-menu a {
  color: var(--mm-stone);
  font-size: 13px;
  font-weight: 500;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  color: var(--mm-charcoal);
}

.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: -18px;
  display: none;
  width: 220px;
  padding: 12px;
  margin: 0;
  background: var(--mm-white);
  box-shadow: var(--mm-shadow);
  list-style: none;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  display: block;
}

.primary-menu .sub-menu a {
  display: block;
  padding: 8px 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--mm-border);
  color: var(--mm-charcoal);
  background: transparent;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 19px;
  height: 1px;
  margin: auto;
  background: currentColor;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

.button,
.wp-element-button,
input[type="submit"] {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--mm-bronze);
  border-radius: 2px;
  color: var(--mm-white);
  background: var(--mm-bronze);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible,
.wp-element-button:hover,
input[type="submit"]:hover {
  border-color: var(--mm-bronze-dark);
  color: var(--mm-white);
  background: var(--mm-bronze-dark);
}

.button-small {
  min-height: 42px;
  padding-inline: 19px;
  font-size: 11px;
}

.button-light {
  border-color: var(--mm-white);
  color: var(--mm-charcoal);
  background: var(--mm-white);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: var(--mm-bronze);
  background: var(--mm-bronze);
}

.text-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--mm-charcoal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.hero-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 80px max(7vw, 55px) 80px max(calc((100vw - var(--mm-content)) / 2), 6vw);
}

.eyebrow {
  margin: 0 0 27px;
  color: var(--mm-bronze);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 650px;
  margin: 0;
  font-size: clamp(58px, 6.2vw, 92px);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.hero-title em {
  color: var(--mm-bronze);
  font-weight: 400;
}

.hero-intro {
  max-width: 510px;
  margin: 30px 0 34px;
  color: var(--mm-stone);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-media,
.project-placeholder {
  position: relative;
  overflow: hidden;
  background: #d8d0c4;
}

.hero-media {
  min-height: 650px;
}

.hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #cfc5b8 0 44%, #e4ddd3 44% 100%);
}

.hero-placeholder::before {
  position: absolute;
  top: 9%;
  right: 9%;
  width: 38%;
  height: 57%;
  border: 12px solid var(--mm-charcoal);
  background: linear-gradient(145deg, #aeb9b5, #e6ddd0 52%, #829184 53% 100%);
  content: "";
}

.hero-placeholder::after {
  position: absolute;
  bottom: 13%;
  left: 9%;
  width: 63%;
  height: 28%;
  border-radius: 3px 36px 3px 3px;
  background: #eee8df;
  box-shadow: 0 18px 34px rgba(34, 38, 36, 0.14);
  content: "";
}

.hero-project-label {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 15px 21px;
  color: var(--mm-white);
  background: var(--mm-charcoal);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.intro-strip {
  border-block: 1px solid var(--mm-border);
  background: var(--mm-white);
}

.intro-strip-inner {
  display: grid;
  min-height: 110px;
  align-items: center;
  grid-template-columns: repeat(4, 1fr);
}

.intro-strip-item {
  padding: 20px 28px;
  color: var(--mm-stone);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.intro-strip-item + .intro-strip-item {
  border-left: 1px solid var(--mm-border);
}

.section {
  padding-block: 100px;
}

.section-white {
  background: var(--mm-white);
}

.section-dark {
  color: var(--mm-white);
  background: var(--mm-charcoal);
}

.section-dark .section-heading h2 {
  color: var(--mm-white);
}

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

.section-heading-copy {
  max-width: 680px;
}

.section-heading h2,
.cta-heading {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 370px;
  margin: 0;
  color: var(--mm-stone);
  font-size: 14px;
}

.service-grid {
  display: grid;
  border-top: 1px solid var(--mm-border);
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 290px;
  padding: 34px 32px 32px 0;
  border-bottom: 1px solid var(--mm-border);
}

.service-card + .service-card {
  padding-left: 32px;
  border-left: 1px solid var(--mm-border);
}

.service-number {
  color: var(--mm-bronze);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 15px;
}

.service-card h3 {
  margin: 68px 0 16px;
  font-size: 32px;
}

.service-card p {
  max-width: 320px;
  margin: 0;
  color: var(--mm-stone);
  font-size: 14px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  position: relative;
  padding: 28px 28px 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.process-step + .process-step {
  padding-left: 28px;
}

.process-step::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mm-bronze);
  content: "";
}

.process-step + .process-step::before {
  left: 28px;
}

.process-step span {
  color: #aeb3af;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.process-step h3 {
  margin: 30px 0 12px;
  color: var(--mm-white);
  font-size: 26px;
}

.process-step p {
  margin: 0;
  color: #c9ccc9;
  font-size: 13px;
}

.project-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
}

.project-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  grid-column: span 7;
}

.project-card > a {
  display: block;
  min-height: inherit;
  height: 100%;
}

.project-card:nth-child(2n) {
  grid-column: span 5;
}

.project-card img,
.project-card .project-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 450ms ease;
  object-fit: cover;
}

.project-card:hover img,
.project-card:hover .project-placeholder {
  transform: scale(1.025);
}

.project-placeholder-one {
  background: linear-gradient(125deg, #9b9d94 0 24%, #d8d1c5 24% 54%, #494e49 54% 58%, #b58e66 58% 76%, #e8e1d7 76%);
}

.project-placeholder-two {
  background: linear-gradient(145deg, #d4c8b9 0 32%, #7d684f 32% 48%, #e7e1d7 48% 72%, #454a46 72%);
}

.project-card-overlay {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  color: var(--mm-white);
  background: rgba(34, 38, 36, 0.9);
}

.project-card-title {
  margin: 0 0 3px;
  color: var(--mm-white);
  font-size: 24px;
}

.project-card-meta {
  color: #d5d7d5;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-card-arrow {
  font-family: Georgia, serif;
  font-size: 24px;
}

.empty-projects {
  padding: 40px;
  border: 1px solid var(--mm-border);
  color: var(--mm-stone);
  background: var(--mm-white);
  grid-column: 1 / -1;
}

.why-grid {
  display: grid;
  gap: 70px;
  grid-template-columns: 0.8fr 1.2fr;
}

.why-heading {
  position: sticky;
  top: 140px;
  align-self: start;
}

.why-list {
  border-top: 1px solid var(--mm-border);
}

.why-item {
  display: grid;
  padding: 28px 0;
  border-bottom: 1px solid var(--mm-border);
  grid-template-columns: 52px 1fr;
}

.why-item span {
  color: var(--mm-bronze);
  font-family: "DM Serif Display", Georgia, serif;
}

.why-item h3 {
  margin: 0 0 8px;
  font-size: 27px;
}

.why-item p {
  margin: 0;
  color: var(--mm-stone);
  font-size: 14px;
}

.consultation-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-heading {
  color: var(--mm-white);
}

.cta-copy {
  margin: 12px 0 0;
  color: #c9ccc9;
}

.site-footer {
  padding: 70px 0 26px;
  color: #c9ccc9;
  background: var(--mm-surface-dark);
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 54px;
  grid-template-columns: 1fr auto 1fr;
}

.footer-contact {
  justify-self: center;
}

.footer-socials {
  width: max-content;
  justify-self: end;
}

.footer-brand .brand-title {
  color: var(--mm-white);
}

.footer-intro {
  max-width: 390px;
  margin-top: 22px;
  color: #aeb3af;
  font-size: 13px;
}

.footer-heading {
  margin: 0 0 18px;
  color: var(--mm-white);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-menu li + li,
.footer-contact p + p {
  margin-top: 10px;
}

.footer-menu a,
.footer-contact a,
.footer-contact p {
  color: #c9ccc9;
  font-size: 13px;
}

.footer-menu a:hover,
.footer-contact a:hover {
  color: var(--mm-white);
}

.footer-contact p {
  margin-bottom: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-icon {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--mm-bronze);
}

.footer-contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.footer-contact-address {
  line-height: 1.65;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-contact a[href^="mailto:"] {
  white-space: nowrap;
}

.footer-social-item {
  display: flex;
  align-items: start;
  gap: 10px;
  color: #c9ccc9;
  font-size: 13px;
  text-decoration: none;
}

.footer-social-item + .footer-social-item {
  margin-top: 18px;
}

.footer-social-item:hover {
  color: var(--mm-white);
}

.footer-social-icon {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--mm-bronze);
}

.footer-social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.footer-social-icon--facebook svg,
.footer-social-dot {
  fill: currentColor;
  stroke: none;
}

.footer-map-section {
  margin-bottom: 48px;
}

.footer-map {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  background: #2e3431;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 270px;
  border: 0;
}

.footer-map-link {
  display: inline-block;
  margin-top: 12px;
  color: #c9ccc9;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-map-link:hover {
  color: var(--mm-white);
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #929793;
  font-size: 11px;
}

.page-hero {
  padding: 105px 0 75px;
  border-bottom: 1px solid var(--mm-border);
}

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: -0.04em;
}

.page-content {
  padding-block: 80px 110px;
}

.entry-content {
  width: min(100%, var(--mm-reading));
  margin-inline: auto;
}

.entry-content > * {
  margin-block: 0 1.5em;
}

.entry-content > h2,
.entry-content > h3 {
  margin-top: 1.5em;
}

.entry-content h2 {
  font-size: clamp(36px, 4vw, 52px);
}

.entry-content h3 {
  font-size: 30px;
}

.entry-content a:not(.wp-element-button) {
  color: var(--mm-bronze-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content .alignwide {
  width: min(calc(100vw - 40px), var(--mm-content));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--mm-border);
  border-radius: 2px;
  color: var(--mm-charcoal);
  background: var(--mm-white);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mm-bronze);
  outline: 2px solid rgba(138, 104, 68, 0.18);
  outline-offset: 1px;
}

label {
  color: var(--mm-charcoal);
  font-size: 13px;
  font-weight: 600;
}

.fluentform .ff-btn-submit.ff_btn_style {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--mm-bronze) !important;
  border-radius: 2px;
  color: var(--mm-white) !important;
  background: var(--mm-bronze) !important;
  box-shadow: none;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.fluentform .ff-btn-submit.ff_btn_style:hover,
.fluentform .ff-btn-submit.ff_btn_style:focus-visible {
  border-color: var(--mm-bronze-dark) !important;
  color: var(--mm-white) !important;
  background: var(--mm-bronze-dark) !important;
}

.wp-block-jetpack-contact-form,
.wp-block-jetpack-contact-form-container {
  width: 100%;
}

.project-archive-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(2, 1fr);
}

.project-archive-grid .project-card,
.project-archive-grid .project-card:nth-child(2n) {
  min-height: 470px;
  grid-column: auto;
}

.single-project-image {
  width: min(calc(100% - 40px), var(--mm-content));
  margin: 60px auto 0;
}

.single-project-image img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.pagination {
  margin-top: 55px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding-inline: 10px;
  border: 1px solid var(--mm-border);
  place-items: center;
  background: var(--mm-white);
}

.page-numbers.current {
  color: var(--mm-white);
  background: var(--mm-charcoal);
}

.not-found {
  min-height: 60vh;
  padding-block: 120px;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 20px;
  font-size: clamp(54px, 8vw, 100px);
}

@media (max-width: 1040px) {
  .header-inner {
    min-height: 78px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 20px 22px;
    border-bottom: 1px solid var(--mm-border);
    background: var(--mm-ivory);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: block;
  }

  .primary-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--mm-border);
  }

  .primary-menu .sub-menu {
    position: static;
    display: block;
    width: auto;
    padding: 0 0 0 20px;
    box-shadow: none;
    background: transparent;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-left: 40px;
  }

  .intro-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-strip-item:nth-child(3) {
    border-left: 0;
  }

  .intro-strip-item:nth-child(n + 3) {
    border-top: 1px solid var(--mm-border);
  }
}

@media (max-width: 820px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .header-consult {
    display: none;
  }

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

  .hero-copy {
    padding: 75px 30px;
  }

  .hero-media {
    min-height: 520px;
  }

  .section {
    padding-block: 75px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid,
  .process-grid,
  .footer-grid,
  .project-archive-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact,
  .footer-socials {
    width: auto;
    justify-self: start;
  }

  .footer-explore,
  .footer-socials {
    transform: none !important;
  }

  .service-card {
    min-height: auto;
    padding: 28px 0;
  }

  .service-card + .service-card {
    padding-left: 0;
    border-left: 0;
  }

  .service-card h3 {
    margin-top: 25px;
  }

  .process-step,
  .process-step + .process-step {
    padding: 26px 0 34px;
  }

  .process-step + .process-step::before {
    left: 0;
  }

  .project-card,
  .project-card:nth-child(2n) {
    min-height: 440px;
    grid-column: 1 / -1;
  }

  .why-grid {
    gap: 45px;
    grid-template-columns: 1fr;
  }

  .why-heading {
    position: static;
  }

  .consultation-cta,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-container {
    width: min(calc(100% - 28px), var(--mm-content));
  }

  .brand-title {
    font-size: 20px;
  }

  .brand-description {
    display: none;
  }

  .hero-title {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-copy {
    padding: 60px 22px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-media {
    min-height: 410px;
  }

  .hero-placeholder::before {
    border-width: 8px;
  }

  .intro-strip-inner {
    grid-template-columns: 1fr;
  }

  .intro-strip-item + .intro-strip-item,
  .intro-strip-item:nth-child(3) {
    border-top: 1px solid var(--mm-border);
    border-left: 0;
  }

  .section {
    padding-block: 62px;
  }

  .section-heading h2,
  .cta-heading {
    font-size: 40px;
  }

  .project-card,
  .project-card:nth-child(2n),
  .project-archive-grid .project-card,
  .project-archive-grid .project-card:nth-child(2n) {
    min-height: 390px;
  }

  .project-card-overlay {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .page-hero {
    padding-block: 70px 50px;
  }

  .page-content {
    padding-block: 55px 80px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
