/*
Theme Name: Aquaflow Inquiry
Theme URI: https://example.com/aquaflow
Author: Aquaflow
Description: A restrained B2B inquiry theme for bathroom components, product knowledge, and OEM services.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: aquaflow
*/

:root {
  --aq-white: #ffffff;
  --aq-paper: #f6f6f3;
  --aq-mist: #e9ebec;
  --aq-silver: #c7cccf;
  --aq-graphite: #17191b;
  --aq-ink: #111315;
  --aq-muted: #666c70;
  --aq-blue: #0b55c4;
  --aq-blue-dark: #083e8e;
  --aq-copper: #b75e38;
  --aq-max: 1440px;
  --aq-gutter: clamp(20px, 4.2vw, 72px);
  --aq-section: clamp(76px, 9vw, 144px);
  --aq-radius: 3px;
  --aq-font: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--aq-ink);
  background: var(--aq-white);
  font-family: var(--aq-font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}

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

.site-shell {
  overflow: hidden;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--aq-ink);
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-sticky {
  position: fixed;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(17, 19, 21, 0.1);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  max-width: var(--aq-max);
  min-height: 82px;
  padding: 0 var(--aq-gutter);
  margin: 0 auto;
}

.brand {
  position: relative;
  z-index: 40;
  width: max-content;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1;
}

.custom-logo-link {
  position: relative;
  z-index: 40;
  display: block;
  width: min(220px, 34vw);
}

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

.brand span {
  font-weight: 400;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.3vw, 42px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: block;
  padding: 10px 0;
  font-size: 14px;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--aq-ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle .dashicons {
  width: 26px;
  height: 26px;
  font-size: 26px;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--aq-radius);
  color: var(--aq-white);
  background: var(--aq-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--aq-blue-dark);
}

.button-outline {
  border-color: var(--aq-ink);
  color: var(--aq-ink);
  background: transparent;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--aq-white);
  background: var(--aq-ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
}

.text-link .dashicons,
.button .dashicons {
  width: 17px;
  height: 17px;
  font-size: 17px;
  transition: transform 180ms ease;
}

.text-link:hover .dashicons,
.button:hover .dashicons {
  transform: translateX(4px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--aq-copper);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.section-kicker::after {
  width: 64px;
  height: 1px;
  background: currentColor;
  content: "";
}

.display-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 5.2vw, 78px);
  font-weight: 600;
  line-height: 0.98;
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 600;
  line-height: 1.02;
}

.hero {
  position: relative;
  min-height: min(860px, 92vh);
  background: var(--aq-paper);
}

.hero-media,
.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero::after {
  position: absolute;
  inset: 0 50% 0 0;
  background: rgba(255, 255, 255, 0.88);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(860px, 92vh);
  align-items: center;
  max-width: var(--aq-max);
  padding: 120px var(--aq-gutter) 76px;
  margin: 0 auto;
}

.hero-copy {
  width: min(590px, 48vw);
}

.hero-copy p:not(.section-kicker) {
  max-width: 510px;
  margin: 28px 0 0;
  color: #373b3e;
  font-size: clamp(17px, 1.4vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 0;
  color: var(--aq-ink);
  background: transparent;
  transform: translateX(-50%);
}

.collection {
  display: grid;
  min-height: 680px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--aq-paper);
}

.collection-item {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-right: 1px solid rgba(17, 19, 21, 0.12);
}

.collection-item:last-child {
  border-right: 0;
}

.collection-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.collection-item:hover img {
  transform: scale(1.025);
}

.collection-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 62px);
  background: rgba(246, 246, 243, 0.9);
}

.collection-content h2 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 600;
  line-height: 1;
}

.collection-content .dashicons {
  width: 32px;
  height: 32px;
  font-size: 32px;
}

.engineering {
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  color: var(--aq-white);
  background: var(--aq-graphite);
}

.engineering-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 6vw, 96px) var(--aq-gutter);
}

.engineering-copy > p {
  max-width: 520px;
  margin: 30px 0 0;
  color: #c9cdcf;
  font-size: clamp(17px, 1.35vw, 20px);
}

.engineering-facts {
  display: grid;
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.engineering-fact {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.engineering-fact strong {
  color: var(--aq-white);
  font-size: 13px;
  text-transform: uppercase;
}

.engineering-fact span {
  color: #aeb4b7;
  font-size: 14px;
}

.engineering-media {
  min-height: 680px;
}

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

.oem {
  display: grid;
  min-height: 640px;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  background: var(--aq-paper);
}

.oem-media {
  min-height: 640px;
}

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

.oem-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 6vw, 96px) var(--aq-gutter);
}

.oem-copy > p {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--aq-muted);
  font-size: 18px;
}

.oem-copy .text-link {
  align-self: flex-start;
  margin-top: 34px;
}

.oem-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.oem-value {
  padding-top: 16px;
  border-top: 2px solid var(--aq-copper);
}

.oem-value strong {
  display: block;
  font-size: 13px;
}

.oem-value span {
  display: block;
  margin-top: 5px;
  color: var(--aq-muted);
  font-size: 13px;
}

.journal {
  display: grid;
  min-height: 600px;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  background: var(--aq-white);
}

.journal-feature {
  position: relative;
  min-height: 600px;
}

.journal-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-feature-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(560px, 80%);
  padding: 38px clamp(28px, 4vw, 56px);
  background: var(--aq-white);
}

.journal-feature-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.06;
}

.journal-feature-copy .text-link {
  margin-top: 24px;
}

.journal-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 6vw, 96px) var(--aq-gutter);
}

.journal-list .section-title {
  margin-bottom: 38px;
  font-size: clamp(32px, 3vw, 46px);
}

.journal-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid rgba(17, 19, 21, 0.2);
}

.journal-link:last-child {
  border-bottom: 1px solid rgba(17, 19, 21, 0.2);
}

.journal-link h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.journal-link p {
  margin: 8px 0 0;
  color: var(--aq-muted);
  font-size: 14px;
}

.inquiry {
  color: var(--aq-white);
  background: var(--aq-graphite);
}

.inquiry-inner {
  display: grid;
  max-width: var(--aq-max);
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
  padding: clamp(72px, 8vw, 120px) var(--aq-gutter);
  margin: 0 auto;
}

.inquiry-copy .section-title {
  max-width: 520px;
}

.inquiry-copy p {
  max-width: 470px;
  margin: 24px 0 0;
  color: #b9bec1;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #d7dadd;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #555b5e;
  border-radius: 0;
  color: var(--aq-white);
  background: transparent;
}

.form-field select option {
  color: var(--aq-ink);
  background: var(--aq-white);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--aq-white);
}

.form-actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 20px;
}

.form-status {
  margin: 0;
  color: #b9bec1;
  font-size: 13px;
}

.site-footer {
  color: #c4c8ca;
  background: #0c0e0f;
}

.footer-inner {
  display: grid;
  max-width: var(--aq-max);
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, 1fr);
  gap: clamp(28px, 5vw, 80px);
  padding: 70px var(--aq-gutter) 46px;
  margin: 0 auto;
}

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

.footer-brand p {
  max-width: 320px;
  margin: 20px 0 0;
  font-size: 14px;
}

.footer-column h2 {
  margin: 0 0 18px;
  color: var(--aq-white);
  font-size: 13px;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column a {
  font-size: 14px;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--aq-white);
}

.footer-meta {
  display: flex;
  max-width: var(--aq-max);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px var(--aq-gutter);
  border-top: 1px solid #2e3234;
  margin: 0 auto;
  font-size: 12px;
}

.content-header {
  padding: 170px var(--aq-gutter) 80px;
  color: var(--aq-white);
  background: var(--aq-graphite);
}

.content-header-inner,
.content-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.content-header h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1;
}

.content-wrap {
  padding: 80px var(--aq-gutter) 120px;
}

.content-wrap > * {
  max-width: 780px;
}

.post-grid,
.product-grid {
  display: grid;
  max-width: var(--aq-max);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 var(--aq-gutter) 120px;
  margin: 0 auto;
  background: var(--aq-mist);
}

.post-card,
.product-card {
  background: var(--aq-white);
}

.post-card img,
.product-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.post-card-content,
.product-card-content {
  padding: 28px;
}

.post-card h2,
.product-card h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
}

.post-card p,
.product-card p {
  color: var(--aq-muted);
}

.notice {
  padding: 16px 18px;
  border-left: 3px solid var(--aq-blue);
  margin: 0 0 30px;
  background: #edf4ff;
}

.subpage-header {
  position: relative;
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  padding-top: 82px;
  background: var(--aq-paper);
}

.subpage-header-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 8vw, 130px) var(--aq-gutter);
}

.subpage-header-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 600;
  line-height: 0.98;
}

.subpage-header-copy > p:not(.section-kicker) {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--aq-muted);
  font-size: 19px;
}

.subpage-header-media {
  min-height: 538px;
}

.subpage-header-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subpage-intro {
  display: grid;
  max-width: var(--aq-max);
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 9vw, 140px);
  padding: var(--aq-section) var(--aq-gutter);
  margin: 0 auto;
}

.subpage-intro h2,
.split-copy h2,
.article-body h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
}

.subpage-intro-copy {
  max-width: 760px;
  color: var(--aq-muted);
  font-size: 18px;
}

.subpage-intro-copy p:first-child {
  margin-top: 0;
}

.feature-split {
  display: grid;
  min-height: 620px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-split-reverse .split-media {
  order: 2;
}

.split-media {
  min-height: 620px;
}

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

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 7vw, 118px) var(--aq-gutter);
  background: var(--aq-paper);
}

.split-copy-dark {
  color: var(--aq-white);
  background: var(--aq-graphite);
}

.split-copy > p:not(.section-kicker) {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--aq-muted);
  font-size: 18px;
}

.split-copy-dark > p:not(.section-kicker) {
  color: #bbc0c3;
}

.split-copy .text-link,
.split-copy .button {
  align-self: flex-start;
  margin-top: 32px;
}

.detail-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
  border-top: 1px solid rgba(17, 19, 21, 0.18);
}

.split-copy-dark .detail-list {
  border-color: rgba(255, 255, 255, 0.22);
}

.detail-list li {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(17, 19, 21, 0.18);
}

.split-copy-dark .detail-list li {
  border-color: rgba(255, 255, 255, 0.22);
}

.detail-list strong {
  font-size: 13px;
  text-transform: uppercase;
}

.detail-list span {
  color: var(--aq-muted);
}

.split-copy-dark .detail-list span {
  color: #bbc0c3;
}

.range-grid,
.resource-grid {
  display: grid;
  max-width: var(--aq-max);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 var(--aq-gutter) var(--aq-section);
  margin: 0 auto;
  background: var(--aq-mist);
}

.range-grid-header,
.resource-grid-header {
  max-width: var(--aq-max);
  padding: var(--aq-section) var(--aq-gutter) 46px;
  margin: 0 auto;
}

.range-card,
.resource-card {
  background: var(--aq-white);
}

.range-card img,
.resource-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.range-card-content,
.resource-card-content {
  padding: clamp(24px, 3vw, 38px);
}

.range-card h2,
.resource-card h2 {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.08;
}

.range-card p,
.resource-card p {
  color: var(--aq-muted);
}

.range-card .text-link,
.resource-card .text-link {
  margin-top: 18px;
}

.process-band {
  color: var(--aq-white);
  background: var(--aq-graphite);
}

.process-inner {
  max-width: var(--aq-max);
  padding: var(--aq-section) var(--aq-gutter);
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 90px);
  margin-top: 60px;
}

.process-step {
  padding-top: 20px;
  border-top: 1px solid #5b6063;
}

.process-step span {
  color: var(--aq-copper);
  font-size: 13px;
  font-weight: 700;
}

.process-step h3 {
  margin: 20px 0 0;
  font-size: 28px;
}

.process-step p {
  color: #b9bec1;
}

.article-layout {
  display: grid;
  max-width: 1240px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
  gap: clamp(50px, 8vw, 120px);
  padding: var(--aq-section) var(--aq-gutter);
  margin: 0 auto;
}

.article-body {
  max-width: 780px;
  font-size: 18px;
}

.article-body h2 {
  margin-top: 64px;
}

.article-body h3 {
  margin: 38px 0 0;
  font-size: 25px;
}

.article-body p,
.article-body li {
  color: #4d5357;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 36px 0;
}

.article-body th,
.article-body td {
  padding: 14px;
  border-bottom: 1px solid var(--aq-silver);
  text-align: left;
}

.article-aside {
  align-self: start;
  padding: 28px;
  border-top: 3px solid var(--aq-blue);
  background: var(--aq-paper);
}

.article-aside h2 {
  margin: 0;
  font-size: 23px;
}

.article-aside .button {
  margin-top: 20px;
}

.contact-layout {
  display: grid;
  max-width: var(--aq-max);
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 9vw, 150px);
  padding: var(--aq-section) var(--aq-gutter);
  margin: 0 auto;
}

.contact-details {
  display: grid;
  gap: 24px;
  margin-top: 42px;
}

.contact-detail {
  padding-top: 18px;
  border-top: 1px solid var(--aq-silver);
}

.contact-detail strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
}

.contact-detail span {
  display: block;
  margin-top: 8px;
  color: var(--aq-muted);
}

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

.contact-form .form-field label {
  color: var(--aq-ink);
}

.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea {
  border-color: var(--aq-silver);
  color: var(--aq-ink);
  background: var(--aq-white);
}

.contact-form .form-field input:focus,
.contact-form .form-field select:focus,
.contact-form .form-field textarea:focus {
  border-color: var(--aq-blue);
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    padding: 110px 30px 40px;
    color: var(--aq-white);
    background: var(--aq-graphite);
  }

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

  .primary-nav ul {
    display: grid;
    gap: 10px;
  }

  .primary-nav a {
    padding: 16px 0;
    border-bottom: 1px solid #34383a;
    font-size: 28px;
  }

  .menu-toggle {
    position: relative;
    z-index: 40;
    display: inline-grid;
    place-items: center;
  }

  body.menu-open .menu-toggle {
    color: var(--aq-white);
  }

  body.menu-open .brand,
  body.menu-open .custom-logo-link {
    color: var(--aq-white);
  }

  .engineering,
  .oem,
  .journal,
  .subpage-header,
  .feature-split,
  .article-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .engineering-media,
  .oem-media,
  .journal-feature {
    min-height: 560px;
  }

  .oem-media {
    order: 2;
  }

  .oem-copy {
    order: 1;
  }

  .journal-list {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .feature-split-reverse .split-media {
    order: 0;
  }

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

@media (max-width: 760px) {
  :root {
    --aq-section: 76px;
  }

  .header-inner {
    min-height: 68px;
  }

  .header-action {
    display: none;
  }

  .display-title {
    font-size: clamp(43px, 13vw, 64px);
  }

  .hero {
    min-height: 820px;
  }

  .hero::after {
    inset: 0 0 42% 0;
    background: rgba(255, 255, 255, 0.9);
  }

  .hero-media img {
    object-position: center bottom;
  }

  .hero-inner {
    min-height: 820px;
    align-items: flex-start;
    padding-top: 118px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy p:not(.section-kicker) {
    max-width: 420px;
    font-size: 17px;
  }

  .hero-actions {
    gap: 18px;
  }

  .collection {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .collection-item {
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 19, 21, 0.12);
  }

  .engineering-copy,
  .oem-copy,
  .journal-list {
    padding-right: var(--aq-gutter);
    padding-left: var(--aq-gutter);
  }

  .engineering-media,
  .oem-media,
  .journal-feature {
    min-height: 420px;
  }

  .engineering-fact {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .oem-values {
    grid-template-columns: 1fr;
  }

  .journal-feature-copy {
    position: relative;
    width: 100%;
  }

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

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .form-field-full,
  .form-actions {
    grid-column: auto;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-grid,
  .product-grid,
  .range-grid,
  .resource-grid,
  .process-steps,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .subpage-header {
    min-height: 0;
    padding-top: 68px;
  }

  .subpage-header-copy {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .subpage-header-copy h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .subpage-header-media,
  .split-media {
    min-height: 430px;
  }

  .subpage-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .form-field-full,
  .contact-form .form-field-full {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
