/*
Theme Name: MSW
Theme URI: https://msw.ddev.site
Author: MSW
Description: A bespoke Gutenberg block theme for Modern Steel Wood.
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.3
Version: 2.0.0
Text Domain: msw
*/

@font-face {
  font-display: swap;
  font-family: "MSW Sans";
  font-style: normal;
  font-weight: 400 700;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "MSW Sans";
  font-style: normal;
  font-weight: 400 700;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "MSW Serif";
  font-style: normal;
  font-weight: 400 600;
  src: url("assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "MSW Serif";
  font-style: normal;
  font-weight: 400 600;
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: block;
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 300;
  src: url("assets/fonts/material-symbols-outlined.woff2") format("woff2");
}

:root {
  --msw-paper: #141413;
  --msw-sand: #20201e;
  --msw-ink: #f3eee6;
  --msw-muted: #b5aea4;
  --msw-line: #3b3833;
  --msw-bronze: #c59465;
  --msw-bronze-light: #dbb38b;
  --msw-page-pad: clamp(1.25rem, 4.5vw, 5rem);
  --msw-header-height: 92px;
  --msw-nav-height: 72px;
  --msw-gallery-height: clamp(
    160px,
    min(
      calc((min(100vw, 1440px) - var(--msw-page-pad) * 2 - 25px) / 3),
      calc(100svh - var(--msw-header-height) - var(--msw-nav-height) - 180px)
    ),
    410px
  );
  --msw-transition: 240ms ease;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--msw-header-height) + 28px);
}
body {
  margin: 0;
  text-wrap: pretty;
  background: var(--msw-paper);
  color: var(--msw-ink);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 5px;
  transition: color var(--msw-transition);
}
a:hover {
  color: var(--msw-bronze);
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
::selection {
  background: var(--msw-bronze);
  color: var(--msw-paper);
}
:focus-visible {
  outline: 2px solid var(--msw-bronze-light);
  outline-offset: 5px;
}
h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "MSW Serif", Georgia, serif;
  font-weight: 400;
  text-wrap: balance;
}
em {
  font-style: italic;
  color: var(--msw-bronze);
}
h2 {
  font-size: clamp(2.7rem, 4.4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.15;
}
p {
  line-height: 1.8;
}
p:last-child {
  margin-bottom: 0;
}
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: 300;
  font-style: normal;
  font-size: 26px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.wp-site-blocks {
  padding: 0 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wp-site-blocks > * {
  margin-block-start: 0 !important;
}
.site-main {
  flex: 1;
}
.msw-home > * {
  margin-block-start: 0;
}
.msw-shell {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto !important;
  padding-inline: var(--msw-page-pad);
}
.msw-section {
  padding-block: clamp(4.5rem, 7.5vw, 7rem);
  margin: 0 !important;
}
.msw-section-title {
  margin-bottom: 3rem;
  max-width: 760px;
}
.msw-section-title h2 {
  margin-block: 1rem 1.4rem;
}
.msw-eyebrow {
  font-family: "MSW Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--msw-bronze);
  text-transform: uppercase;
  line-height: 1.6;
}
.msw-intro {
  color: var(--msw-muted);
  max-width: 570px;
  font-size: 15px;
}
.msw-number {
  color: var(--msw-bronze);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.msw-section [id^="galeria-"] {
  scroll-margin-top: calc(var(--msw-nav-height) + 24px);
}
.site-header {
  background: rgba(20, 20, 19, 0.97);
  border-bottom: 1px solid rgba(197, 148, 101, 0.18);
  padding-inline: var(--msw-page-pad);
  position: relative;
  z-index: 50;
}
.wp-site-blocks > header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-bar .wp-site-blocks > header {
  top: 32px;
}
.site-header__inner {
  min-height: 92px;
  max-width: 1280px !important;
  margin-inline: auto !important;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.site-header__inner > * {
  margin: 0 !important;
}
.site-logo {
  width: 214px;
  flex-shrink: 0;
}
.site-logo img {
  width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}
.site-header .wp-block-navigation {
  margin-left: auto !important;
  font-size: 11px;
  letter-spacing: 0.09em;
}
.site-header .wp-block-navigation__container {
  gap: clamp(1.1rem, 2vw, 2rem);
}
.site-header .wp-block-navigation-item__content {
  text-decoration: none;
}
.site-header__quote .wp-element-button {
  background: transparent;
  border: 1px solid var(--msw-bronze);
  color: var(--msw-bronze-light);
  padding: 0.85rem 1.15rem;
  white-space: nowrap;
  font-size: 10px;
}
.site-header__quote .material-symbols-outlined {
  font-size: 17px;
}
.wp-element-button,
.msw-contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  background: var(--msw-bronze);
  color: #141413;
  border: 1px solid var(--msw-bronze);
  border-radius: 0;
  padding: 1rem 1.5rem;
  text-decoration: none;
  font-family: "MSW Sans", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
  min-height: 48px;
  transition:
    background var(--msw-transition),
    color var(--msw-transition),
    border-color var(--msw-transition);
}
.wp-element-button:hover,
.msw-contact-form button:hover {
  background: var(--msw-bronze-light);
  border-color: var(--msw-bronze-light);
  color: #141413;
}
.msw-button-outline .wp-element-button {
  background: transparent;
  color: var(--msw-ink);
  border-color: #76614d;
}
.msw-button-outline .wp-element-button:hover {
  background: rgba(197, 148, 101, 0.12);
}
.msw-button-text .wp-element-button {
  padding: 1rem 0;
  border: 0;
  background: none;
  color: var(--msw-bronze);
  justify-content: flex-start;
}
.msw-button-text .wp-element-button:hover {
  color: var(--msw-bronze-light);
}
.msw-hero {
  position: relative;
  isolation: isolate;
  min-height: min(770px, calc(100svh - var(--msw-header-height)));
  display: flex;
  align-items: center;
  background: #171815;
  overflow: hidden;
}
.msw-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0 !important;
}
.msw-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}
.msw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(13, 14, 12, 0.94) 0%,
      rgba(13, 14, 12, 0.78) 28%,
      rgba(13, 14, 12, 0.17) 63%,
      rgba(13, 14, 12, 0.06) 100%
    ),
    linear-gradient(0deg, rgba(13, 14, 12, 0.25), transparent 25%);
}
.msw-hero__content {
  padding-block: 5rem 3rem;
}
.msw-hero__content h1 {
  font-size: clamp(3.7rem, 6.3vw, 6.3rem);
  line-height: 0.97;
  letter-spacing: -0.035em;
  margin: 1.65rem 0 1.7rem;
  max-width: 640px;
}
.msw-hero__lead {
  max-width: 385px;
  color: #cec8be;
  font-size: 14px;
  line-height: 1.8;
}
.msw-hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.msw-hero__buttons > * {
  margin: 0 !important;
}
.msw-hero__buttons .wp-element-button {
  font-size: 10px;
  padding: 0.95rem 1.25rem;
  gap: 1.2rem;
}
.msw-hero__materials {
  font-size: 10px;
  letter-spacing: 0.18em;
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 3.75rem !important;
  color: #c5beb3;
}
.msw-hero__materials span {
  color: var(--msw-bronze);
}
.msw-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}
.msw-service {
  margin-block: 0 !important;
  border-bottom: 1px solid var(--msw-line);
  position: relative;
}
.msw-service > * {
  margin: 0 !important;
}
.msw-service__image {
  overflow: hidden;
}
.msw-service__image img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  transition:
    transform 600ms ease,
    filter 600ms ease;
}
.msw-service:hover img {
  transform: scale(1.035);
}
.msw-service__body {
  padding: 20px 0 24px;
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 0 12px;
}
.msw-service__body > * {
  margin: 0 !important;
}
.msw-service__body .msw-number {
  padding-top: 5px;
}
.msw-service h3 {
  font-size: clamp(1.45rem, 1.9vw, 1.8rem);
  letter-spacing: -0.02em;
}
.msw-service h3 a {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.msw-service h3 a span {
  font-family: "MSW Sans", sans-serif;
  color: var(--msw-bronze);
  font-size: 20px;
  font-weight: 400;
}
.msw-service__body > p:last-child {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.7;
  color: var(--msw-muted);
  padding-top: 10px;
  max-width: 330px;
}
.msw-projects {
  border-block: 1px solid var(--msw-line);
  background: #191917;
}
.msw-category-nav {
  position: sticky;
  top: var(--msw-header-height);
  z-index: 20;
  background: rgba(25, 25, 23, 0.98);
  border-block: 1px solid var(--msw-line);
  margin: 0 0 2rem;
  display: flex;
  align-items: center;
  gap: 15px;
}
.admin-bar .msw-category-nav {
  top: calc(var(--msw-header-height) + 32px);
}
.msw-category-nav__scroll {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--msw-line) transparent;
  align-items: center;
  padding: 4px 0;
  min-height: 68px;
  flex: 1;
}
.msw-category-nav a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
  color: var(--msw-muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 0 16px;
  border-bottom: 1px solid transparent;
  min-height: 48px;
}
.msw-category-nav a span {
  color: #8a8074;
  font-size: 9px;
}
.msw-category-nav a:hover,
.msw-category-nav a[aria-current="location"] {
  color: var(--msw-bronze-light);
  border-bottom-color: var(--msw-bronze);
}
.msw-category-nav__hint {
  color: var(--msw-bronze);
  font-size: 24px;
  padding-right: 3px;
}
.msw-category {
  padding-block: 1.8rem 3rem;
  margin: 0 !important;
}
.msw-category + .msw-category {
  border-top: 1px solid var(--msw-line);
}
.msw-category-title {
  display: flex;
  align-items: baseline;
  gap: 17px;
  margin: 0 0 1.5rem !important;
}
.msw-category-title > * {
  margin: 0 !important;
}
.msw-category-title h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}
.msw-gallery-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 25px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--msw-line) transparent;
  padding-bottom: 12px;
}
.msw-gallery-grid > * {
  margin: 0 !important;
  min-width: 0;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.msw-gallery-grid > .msw-gallery-image {
  width: calc(var(--msw-gallery-height) * var(--msw-image-ratio, 1.5));
}
.msw-gallery-image > a {
  display: block;
  overflow: hidden;
  position: relative;
  background: var(--msw-sand);
}
.msw-gallery-image img {
  aspect-ratio: auto;
  height: var(--msw-gallery-height);
  width: 100%;
  max-width: none;
  object-fit: cover;
  transition:
    transform 600ms ease,
    filter 600ms ease;
}
.msw-gallery-image > a::after {
  content: "↗";
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--msw-ink);
  background: #141413b3;
  font-size: 21px;
  transition: background var(--msw-transition);
}
.msw-gallery-image > a:hover img {
  transform: scale(1.025);
}
.msw-gallery-image > a:hover::after {
  background: var(--msw-bronze);
  color: #141413;
}
.msw-gallery-image figcaption {
  color: var(--msw-muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: left;
  margin-top: 12px;
  width: 0;
  min-width: 100%;
}
.msw-gallery-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
}
.msw-gallery-more[hidden] {
  display: none;
}
.msw-gallery-more p {
  margin: 0;
  font-size: 11px;
  color: var(--msw-muted);
}
.msw-gallery-more button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 46px;
  padding: 12px 20px;
  color: var(--msw-bronze-light);
  background: transparent;
  border: 1px solid var(--msw-line);
  font-size: 11px;
  transition:
    border-color var(--msw-transition),
    background var(--msw-transition);
}
.msw-gallery-more button:hover {
  background: var(--msw-sand);
  border-color: var(--msw-bronze);
}
.msw-about__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.msw-about__row > * {
  margin: 0 !important;
  min-width: 0;
}
.msw-about__photo img {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
}
.msw-about__copy h2 {
  font-size: clamp(2.6rem, 3.6vw, 3.8rem);
  margin-block: 1rem 1.5rem;
}
.msw-about__copy > p:not(.msw-eyebrow) {
  font-size: 14px;
  color: var(--msw-muted);
  margin-block: 1rem;
}
.msw-about__row--second {
  margin-top: 5rem !important;
  border-top: 1px solid var(--msw-line);
  padding-top: 4rem;
  grid-template-columns: 1.15fr 0.85fr;
}
.msw-about__philosophy > p:not(.msw-signature) {
  color: var(--msw-muted);
  font-size: 14px;
  max-width: 545px;
}
.msw-signature {
  color: var(--msw-bronze);
  font-size: 11px;
  letter-spacing: 0.13em;
  line-height: 2.1;
  margin-top: 1.75rem;
}
.msw-about__brand {
  max-width: 340px;
  justify-self: center;
}
.msw-about__brand img {
  max-height: 350px;
  object-fit: contain;
}
.msw-materials {
  background: var(--msw-sand);
  border-block: 1px solid var(--msw-line);
}
.msw-material-tabs {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid #494138;
  margin-bottom: 2rem;
}
.msw-material-tabs a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 0 16px;
  color: var(--msw-muted);
  border-bottom: 2px solid transparent;
  min-height: 48px;
}
.msw-material-tabs a:hover,
.msw-material-tabs a[aria-selected="true"] {
  color: var(--msw-bronze-light);
  border-color: var(--msw-bronze);
}
.msw-material-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: 3rem;
}
.msw-material-panel:last-child {
  margin-bottom: 0;
}
.msw-material-panel[hidden] {
  display: none;
}
.msw-material-panel > * {
  margin: 0 !important;
}
.msw-material-photo img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}
.msw-material-copy h3 {
  font-size: 3.3rem;
  margin: 1rem 0;
}
.msw-material-copy > p:not(.msw-eyebrow) {
  font-size: 14px;
  color: var(--msw-muted);
  max-width: 400px;
}
.msw-material-copy .msw-eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
}
.msw-process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
  position: relative;
  padding-top: 5px;
}
.msw-process-line:before,
.msw-process-line:after {
  content: "";
  position: absolute;
  top: 37px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: var(--msw-line);
}
.msw-process-line:after {
  background: var(--msw-bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1200ms ease 150ms;
}
.msw-process-line.is-visible:after {
  transform: scaleX(1);
}
.msw-process-step {
  position: relative;
  z-index: 1;
  margin: 0 !important;
}
.msw-step-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  background: var(--msw-paper);
  padding-right: 14px;
  height: 60px;
  margin: 0 0 1rem !important;
}
.msw-step-marker .material-symbols-outlined {
  color: var(--msw-bronze);
  font-size: 34px;
}
.msw-step-number {
  font-size: 10px;
  color: var(--msw-muted);
}
.msw-process-step h3 {
  font-family: "MSW Sans", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  margin: 0.8rem 0;
}
.msw-process-step > p:last-child {
  color: var(--msw-muted);
  font-size: 12px;
  line-height: 1.8;
}
.msw-contact {
  border-top: 1px solid var(--msw-line);
  background: linear-gradient(120deg, #22211d, #141413 60%);
}
.msw-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.msw-contact-grid > * {
  margin: 0 !important;
}
.msw-contact-copy h2 {
  margin-block: 1rem 1.5rem;
}
.msw-contact-phone {
  font-family: "MSW Serif", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-block: 1.5rem 0.75rem;
}
.msw-contact-phone a {
  text-decoration: none;
}
.msw-contact-phone span {
  font-family: "MSW Sans", sans-serif;
  font-size: 24px;
  color: var(--msw-bronze);
  margin-left: 12px;
}
.msw-contact-address {
  font-size: 13px;
  color: var(--msw-muted);
}
.msw-form-intro {
  font-size: 24px;
  font-family: "MSW Serif", serif;
  margin-bottom: 1.25rem;
}
.msw-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.msw-contact-form > p {
  margin: 0;
}
.msw-contact-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.025em;
  color: var(--msw-muted);
  margin-bottom: 7px;
}
.msw-contact-form label span {
  font-size: 10px;
}
.msw-contact-form input,
.msw-contact-form textarea {
  width: 100%;
  min-width: 0;
  background: rgba(20, 20, 19, 0.6);
  color: var(--msw-ink);
  border: 1px solid #494138;
  border-radius: 0;
  padding: 13px 14px;
  font-size: 13px;
  min-height: 48px;
}
.msw-contact-form input::placeholder,
.msw-contact-form textarea::placeholder {
  color: #9c9488;
}
.msw-contact-form input:focus,
.msw-contact-form textarea:focus {
  border-color: var(--msw-bronze);
}
.msw-contact-form textarea {
  min-height: 145px;
  resize: vertical;
  display: block;
}
.msw-contact-form__field--full,
.msw-contact-form__actions,
.msw-contact-form__status {
  grid-column: 1/-1;
}
.msw-contact-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.msw-contact-form__status {
  padding: 14px 16px;
  font-size: 13px;
  border: 1px solid var(--msw-bronze);
  color: var(--msw-ink);
  background: var(--msw-sand);
}
.msw-contact-form__status--error {
  border-color: #dba591;
}
.msw-contact-form button {
  margin-top: 5px;
}
.msw-contact-form button span {
  font-size: 18px;
}
.site-footer {
  border-top: 1px solid var(--msw-line);
  background: #101110;
  padding: 2.5rem 0 0;
}
.site-footer__main {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr auto;
  gap: 2rem;
  align-items: center;
}
.site-footer__main > * {
  margin: 0 !important;
}
.site-footer__main p {
  font-size: 11px;
  color: var(--msw-muted);
  line-height: 1.9;
}
.site-footer__main a {
  text-decoration: none;
}
.site-footer__main .site-logo {
  width: 185px;
}
.site-footer__back a {
  color: var(--msw-bronze);
}
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--msw-line);
  margin-top: 2rem !important;
  padding-block: 1.25rem;
  color: #a39a8e;
  font-size: 10px;
}
.site-footer__legal > * {
  margin: 0 !important;
}
.msw-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--msw-ink);
  background: #111210;
  overflow: hidden;
}
.msw-lightbox::backdrop {
  background: #111210;
}
.msw-lightbox__layout {
  height: 100%;
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr) auto;
  padding: 0 clamp(16px, 3vw, 48px) 22px;
}
.msw-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--msw-muted);
}
.msw-lightbox button {
  background: transparent;
  border: 1px solid var(--msw-line);
  color: var(--msw-ink);
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  transition: background var(--msw-transition);
}
.msw-lightbox button:hover {
  background: var(--msw-sand);
  border-color: var(--msw-bronze);
}
.msw-lightbox__stage {
  min-height: 0;
  display: grid;
  place-items: center;
  position: relative;
}
.msw-lightbox__stage img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.msw-lightbox__bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding-top: 20px;
}
.msw-lightbox__caption {
  font-size: 13px;
  color: var(--msw-ink);
  margin: 0;
}
.msw-lightbox__controls {
  display: flex;
  gap: 8px;
}
.msw-lightbox__controls button {
  font-size: 23px;
}
.msw-lightbox__error {
  position: absolute;
  background: var(--msw-paper);
  padding: 20px;
  font-size: 14px;
}
.msw-lightbox__error[hidden] {
  display: none;
}
body.msw-modal-open {
  overflow: hidden;
}
.site-main:not(.msw-home) {
  padding: 4rem var(--msw-page-pad);
  max-width: 1440px;
  width: 100%;
  margin: auto;
}
.msw-content-panel,
.msw-post-card {
  background: var(--msw-sand);
  padding: 2rem;
}
.msw-content-panel a {
  color: var(--msw-bronze);
}
.msw-reveal {
  opacity: 1;
  transform: none;
}
.msw-reveal.is-pending {
  opacity: 0;
  transform: translateY(24px);
}
.msw-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}
.msw-motion .msw-hero__content > * {
  animation: msw-enter 600ms ease both;
}
.msw-motion .msw-hero__content h1 {
  animation-delay: 80ms;
}
.msw-motion .msw-hero__lead {
  animation-delay: 160ms;
}
.msw-motion .msw-hero__buttons {
  animation-delay: 240ms;
}
.msw-motion .msw-hero__materials {
  animation-delay: 320ms;
}
@keyframes msw-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .msw-hero__photo img {
    object-position: center 58%;
  }
  .msw-hero {
    min-height: 800px;
  }
}
@media (max-width: 1100px) {
  .site-header__inner {
    gap: 1.5rem;
  }
  .site-header .site-header__quote {
    display: none !important;
  }
  .site-logo {
    width: 185px;
  }
  .msw-hero__content h1 {
    font-size: 5rem;
  }
  .msw-hero__photo img {
    object-position: 60% center;
  }
  .msw-services-grid {
    gap: 28px 20px;
  }
  .msw-about__row {
    gap: 2.5rem;
  }
  .msw-process-line {
    gap: 20px;
  }
  .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__back {
    justify-self: start;
  }
}
@media (max-width: 780px) {
  :root {
    --msw-header-height: 78px;
  }
  .site-header__inner {
    gap: 1rem;
  }
  .site-header .wp-block-navigation__container {
    gap: 1rem;
  }
  .site-header .wp-block-navigation {
    font-size: 9px;
  }
  .site-logo {
    width: 175px;
  }
  .msw-hero {
    min-height: 700px;
  }
  .msw-hero__photo img {
    object-position: 67% center;
  }
  .msw-hero::after {
    background:
      linear-gradient(90deg, #11120fdd 0%, #11120f80 55%, #11120f20),
      linear-gradient(0deg, #11120faa, transparent 60%);
  }
  .msw-hero__content {
    padding-block: 4rem 2rem;
  }
  .msw-hero__content h1 {
    font-size: 4.5rem;
  }
  .msw-hero__buttons {
    max-width: 500px;
  }
  .msw-service h3 {
    font-size: 1.55rem;
  }
  .msw-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .msw-category-nav__scroll {
    gap: 22px;
  }
  .msw-about__row {
    grid-template-columns: 1fr;
  }
  .msw-about__photo img {
    aspect-ratio: 1.45;
  }
  .msw-about__row--second {
    grid-template-columns: 1.2fr 0.8fr;
    margin-top: 3rem !important;
    padding-top: 3rem;
  }
  .msw-about__brand {
    max-width: 240px;
  }
  .msw-material-panel {
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
  }
  .msw-material-photo img {
    aspect-ratio: 0.95;
  }
  .msw-material-copy h3 {
    font-size: 2.7rem;
  }
  .msw-process-line {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 68px;
  }
  .msw-process-line:before,
  .msw-process-line:after {
    top: 25px;
    bottom: 35px;
    left: 20px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .msw-process-line:after {
    transform: scaleY(0);
    transform-origin: top;
  }
  .msw-process-line.is-visible:after {
    transform: scaleY(1);
  }
  .msw-process-step {
    padding: 0 0 28px;
  }
  .msw-step-marker {
    position: absolute;
    left: -68px;
    top: 0;
    width: 42px;
    height: 54px;
    justify-content: center;
    padding: 0;
    flex-direction: column;
    gap: 3px;
  }
  .msw-step-marker .material-symbols-outlined {
    font-size: 28px;
  }
  .msw-step-number {
    font-size: 8px;
  }
  .msw-process-step h3 {
    font-size: 14px;
    margin: 0 0 8px;
  }
  .msw-process-step p:last-child {
    font-size: 13px;
    max-width: 440px;
  }
  .msw-contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .msw-contact-copy h2 {
    max-width: 550px;
  }
  .msw-gallery-grid {
    gap: 18px;
  }
  .msw-section-title {
    margin-bottom: 2rem;
  }
  .msw-lightbox__caption {
    font-size: 12px;
  }
}
@media (max-width: 599px) {
  :root {
    --msw-header-height: 72px;
    --msw-nav-height: 66px;
  }
  .site-logo {
    width: 168px;
  }
  .site-header .wp-block-navigation {
    margin-left: auto !important;
  }
  .site-header .wp-block-navigation__responsive-container-open {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }
  .site-header .wp-block-navigation__responsive-container.is-menu-open {
    background: #141413 !important;
    color: var(--msw-ink) !important;
    padding: 90px 30px 40px;
  }
  .site-header
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container {
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }
  .site-header
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item {
    width: 100%;
    border-bottom: 1px solid var(--msw-line);
    padding-bottom: 15px;
  }
  .site-header .wp-block-navigation__responsive-container.is-menu-open a {
    font-family: "MSW Serif", serif;
    font-size: 36px;
    text-transform: none;
    letter-spacing: 0;
  }
  .site-header .wp-block-navigation__responsive-container-close {
    top: -60px;
    right: 0;
    min-width: 44px;
    min-height: 44px;
  }
  .msw-hero {
    min-height: 780px;
    align-items: flex-start;
  }
  .msw-hero__photo img {
    object-position: 72% center;
  }
  .msw-hero::after {
    background:
      linear-gradient(
        180deg,
        #10110fe0 0%,
        #10110f80 40%,
        #10110f10 66%,
        #10110fd9 100%
      ),
      linear-gradient(90deg, #10110f70, transparent);
  }
  .msw-hero__content {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
  .msw-hero__content .msw-eyebrow {
    font-size: 8px;
    letter-spacing: 0.14em;
  }
  .msw-hero__content h1 {
    font-size: clamp(3.8rem, 15vw, 5rem);
    max-width: 100%;
    margin-block: 1.5rem;
  }
  .msw-hero__lead {
    font-size: 12px;
    max-width: 280px;
  }
  .msw-hero__buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1.5rem;
  }
  .msw-hero__buttons .wp-element-button {
    font-size: 9px;
    min-height: 46px;
    padding: 0.85rem 1.05rem;
    gap: 1.5rem;
  }
  .msw-hero__materials {
    margin-top: 5.5rem !important;
    gap: 14px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .msw-section {
    padding-block: 4rem;
  }
  .msw-section-title h2 {
    font-size: 2.8rem;
  }
  .msw-intro {
    font-size: 13px;
  }
  .msw-services-grid {
    gap: 25px 14px;
  }
  .msw-service__image img {
    aspect-ratio: 1.05;
  }
  .msw-service__body {
    grid-template-columns: 1fr;
    padding-top: 12px;
    padding-bottom: 16px;
  }
  .msw-service__body .msw-number {
    font-size: 9px;
    margin-bottom: 5px !important;
  }
  .msw-service h3 {
    font-size: 1.35rem;
    line-height: 1.12;
  }
  .msw-service h3 a span {
    font-size: 14px;
  }
  .msw-service__body > p:last-child {
    grid-column: 1;
    font-size: 10px;
    line-height: 1.65;
  }
  .msw-category-nav__scroll {
    min-height: 62px;
    gap: 23px;
  }
  .msw-category-nav a {
    font-size: 9px;
    max-width: none;
  }
  .msw-category-nav__hint {
    font-size: 20px;
  }
  .msw-category-title {
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1.2rem !important;
  }
  .msw-category-title h3 {
    font-size: 1.75rem;
    max-width: calc(100% - 38px);
  }
  .msw-category {
    padding-bottom: 2.3rem;
  }
  .msw-gallery-more {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .msw-gallery-image figcaption {
    font-size: 10px;
    margin-top: 9px;
  }
  .msw-about__row--second {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .msw-about__copy > p:not(.msw-eyebrow),
  .msw-about__philosophy > p:not(.msw-signature) {
    font-size: 13px;
  }
  .msw-about__brand {
    max-width: 210px;
  }
  .msw-material-tabs {
    gap: 0;
    justify-content: space-between;
    margin-bottom: 1.5rem;
  }
  .msw-material-tabs a {
    font-size: 10px;
    padding-inline: 3px;
  }
  .msw-material-panel {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }
  .msw-material-photo img {
    aspect-ratio: 1.35;
  }
  .msw-material-copy > p:not(.msw-eyebrow) {
    font-size: 13px;
  }
  .msw-material-copy .msw-eyebrow {
    font-size: 9px;
  }
  .msw-material-copy h3 {
    margin-block: 0.7rem;
  }
  .msw-contact-form {
    grid-template-columns: 1fr;
  }
  .msw-form-intro {
    font-size: 22px;
  }
  .msw-contact-form input,
  .msw-contact-form textarea {
    font-size: 16px;
  }
  .msw-contact-form button {
    width: 100%;
  }
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .site-footer__main p {
    font-size: 11px;
  }
  .site-footer__legal {
    font-size: 8px;
    gap: 10px;
  }
  .msw-lightbox__layout {
    padding: 0 12px 18px;
    grid-template-rows: 60px minmax(0, 1fr) auto;
  }
  .msw-lightbox__bottom {
    gap: 15px;
  }
  .msw-lightbox__caption {
    max-width: 220px;
    font-size: 11px;
  }
  .msw-lightbox__controls {
    gap: 5px;
  }
  .msw-lightbox__stage img {
    max-height: calc(100dvh - 155px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .msw-reveal.is-pending {
    opacity: 1;
    transform: none;
  }
  .msw-process-line:after {
    transform: none;
  }
}
@media print {
  .site-header,
  .msw-category-nav,
  .msw-contact-fields,
  .msw-lightbox,
  .site-footer__back {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
  .msw-section {
    break-inside: avoid;
  }
  .msw-reveal.is-pending {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 780px) {
  .site-header__inner {
    min-height: 78px;
  }
}
@media (max-width: 599px) {
  .site-header__inner {
    min-height: 72px;
  }
}
