/*
 * Almog Haike — architectural editorial system v2
 * Standalone stylesheet, intentionally independent from the legacy theme CSS.
 */

:root {
  --ink: #151513;
  --ink-soft: #2b2925;
  --paper: #e8e0d4;
  --paper-soft: #f4f0ec;
  --paper-deep: #e7e0d6;
  --copper: #a44828;
  --copper-dark: #87391f;
  --muted: #625d56;
  --line: rgba(21, 21, 19, 0.17);
  --line-light: rgba(247, 243, 237, 0.24);
  --texture: url('./images/generated/almog-blueprint-paper-texture.webp');
  --layout-gutter: clamp(22px, 3.5vw, 64px);
  --content-wide: 1480px;
  --content-standard: 1240px;
  --content-narrow: 820px;
  --container: calc(var(--content-wide) + (2 * var(--layout-gutter)));
  --section-space: clamp(80px, 6vw, 104px);
  --section-space-compact: clamp(64px, 4.8vw, 82px);
  --header-height: 100px;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background-color: var(--paper-soft);
  color: var(--ink);
  font-family: 'Heebo', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.cookie-modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

button,
input[type='submit'] {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: var(--copper);
  color: #fff;
}

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
}

.narrow {
  max-width: calc(var(--content-narrow) + (2 * var(--layout-gutter)));
}

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

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10000;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

.btn,
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn-primary,
.wpcf7-submit {
  border-color: var(--copper);
  background: var(--copper);
  color: #fffaf4;
}

.btn-primary:hover,
.wpcf7-submit:hover {
  border-color: var(--copper-dark);
  background: var(--copper-dark);
}

.btn-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fffaf4;
}

.btn-dark:hover {
  border-color: var(--copper);
  background: var(--copper);
}

.btn-outline,
.btn-ghost {
  border-color: var(--copper);
  color: var(--copper);
}

.btn-outline:hover,
.btn-ghost:hover {
  background: var(--copper);
  color: #fffaf4;
}

.arrow,
.text-link .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
}

.eyebrow,
.project-eyebrow-plain,
.redesign-kicker {
  display: inline-block;
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--copper);
  font-weight: 700;
}

/* Header */
nav.main {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}

body.admin-bar nav.main {
  top: 32px;
}

.nav-shell {
  position: relative;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  padding-right: 80px;
  padding-left: 58px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  color: var(--ink);
}

.brand .name {
  width: auto;
  min-width: 0;
  text-align: right;
  line-height: 1;
}

.brand .name .lg {
  color: var(--ink);
  font-size: 36px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.brand .name .sm {
  margin-top: 9px;
  color: #454039;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  white-space: nowrap;
}

.brand .mark {
  width: 86px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 86px;
}

.brand .mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.5);
}

.nav-panel {
  position: static;
  flex: 1 1 auto;
}

.nav-list {
  position: absolute;
  top: 0;
  left: 51.3%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 68px;
  transform: translateX(-50%);
}

.nav-list a {
  position: relative;
  height: var(--header-height);
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-list a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 21px;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 180ms ease;
}

.nav-list a:hover::after,
.nav-list a[aria-current='page']::after {
  width: 100%;
}

.nav-cta {
  position: absolute;
  top: 27px;
  left: 55px;
}

.nav-contact--icons {
  display: none;
}

.nav-cta .btn-dark {
  min-width: 129px;
  min-height: 50px;
  padding: 10px 20px;
  border-color: var(--copper);
  background: transparent;
  color: var(--copper);
  font-weight: 500;
}

.nav-cta .btn-dark:hover {
  background: var(--copper);
  color: #fffaf4;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.menu-toggle__icon {
  width: 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle__line {
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

nav.main.is-open .menu-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

nav.main.is-open .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

nav.main.is-open .menu-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Reference-matched home hero */
.home-page .hero {
  position: relative;
  width: 100%;
  height: 490px;
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  grid-template-areas: 'image copy';
  direction: ltr;
  overflow: hidden;
  background: var(--paper);
}

.home-page .hero .bg {
  position: relative;
  grid-area: image;
  width: 100%;
  height: 490px;
  background-position: center 48%;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-page .hero .bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(58, 38, 24, 0.1);
  pointer-events: none;
}

.home-page .hero .plate {
  position: relative;
  grid-area: copy;
  width: 100%;
  height: 490px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 150px 34px 40px;
  direction: rtl;
  text-align: center;
  background-color: var(--paper);
  isolation: isolate;
}

.home-page .hero .plate::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  background-image: var(--texture);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: multiply;
  opacity: 0.28;
}

.home-page .hero .plate > * {
  position: relative;
  z-index: 1;
  transform: translateY(12px);
}

.home-page .redesign-kicker,
.home-page .hero .trust-badges,
.home-page .hero .meta {
  display: none;
}

.home-page .hero h1 {
  width: min(100%, 500px);
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(60px, 4vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.home-page .hero h1 em {
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.home-page .hero p.sub {
  width: min(100%, 430px);
  margin: 0 0 23px;
  color: #4d4841;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
}

.home-page .hero .ctas {
  width: 315px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
}

.home-page .hero .ctas .btn {
  width: 100%;
}

.home-page .hero .ctas .btn-primary {
  min-height: 58px;
  font-size: 18px;
}

.home-page .hero .ctas .btn-ghost {
  min-height: 38px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--copper);
  font-size: 16px;
}

.home-page .hero .ctas .btn-ghost:hover {
  color: var(--copper-dark);
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 23px;
  color: var(--ink);
  font-size: 17px;
  white-space: nowrap;
}

.hero-proof__item {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.hero-proof__item b {
  font-size: 20px;
  font-weight: 800;
}

.hero-proof__separator {
  color: var(--ink);
  font-size: 18px;
}

/* Black service rail */
.service-rail {
  width: 100%;
  background: var(--ink);
  color: #f7f2eb;
}

.service-rail__inner {
  display: grid;
  grid-template-columns: minmax(0, 35.8%) minmax(0, 30.4%) minmax(0, 33.8%);
  min-height: 69px;
}

.service-rail__item {
  position: relative;
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  color: #f7f2eb;
  font-size: 21px;
  font-weight: 400;
  transition: background-color 180ms ease;
}

.service-rail__item + .service-rail__item::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  right: 0;
  width: 1px;
  background: rgba(164, 72, 40, 0.82);
}

.service-rail__item:hover {
  background: var(--copper);
}

/* Editorial showcase */
.home-showcase {
  width: 100%;
  background-color: var(--paper-soft);
}

.home-showcase__grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 37.85%) minmax(0, 30.8%) minmax(0, 31.35%);
  direction: ltr;
}

.home-showcase__intro,
.home-showcase__project {
  min-height: 360px;
}

.home-showcase__intro {
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr);
  grid-template-areas:
    'heading heading'
    'portrait copy';
  grid-template-rows: auto 1fr;
  gap: 10px 24px;
  padding: 54px 72px 40px 68px;
  direction: ltr;
  background-color: var(--paper-soft);
}

.home-showcase__heading {
  grid-area: heading;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  direction: rtl;
  text-align: right;
}

.home-showcase__heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 2.7vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.home-showcase__line {
  width: 112px;
  height: 1px;
  margin-top: 10px;
  background: var(--copper);
}

.home-showcase__portrait {
  grid-area: portrait;
  align-self: start;
  width: 194px;
  height: 190px;
  object-fit: cover;
  object-position: center 20%;
}

.home-showcase__copy {
  grid-area: copy;
  align-self: start;
  padding-top: 28px;
  direction: rtl;
  text-align: left;
}

.home-showcase__signature {
  margin: 0 0 9px;
  color: #312e29;
  font-family: 'Caveat', cursive;
  font-size: 43px;
  font-weight: 400;
  line-height: 1;
}

.home-showcase__role {
  margin: 0;
  color: #514c45;
  font-size: 14px;
}

.home-showcase__project {
  position: relative;
  overflow: hidden;
  border-inline-start: 2px solid var(--paper-soft);
  background: var(--ink);
  margin-top: 18px;
}

.home-showcase__project:last-child {
  margin-right: 53px;
}

.home-showcase__project img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  transition: transform 450ms ease;
}

.home-showcase__project:first-of-type img {
  filter: saturate(0.58) brightness(1.02) contrast(0.96);
}

.home-showcase__project:last-child img {
  object-position: 58% 50%;
}

.home-showcase__project:hover img {
  transform: scale(1.025);
}

.home-showcase__project span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 12px;
  background: rgba(21, 21, 19, 0.88);
  color: #fffaf4;
  font-size: 13px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.home-showcase__project:hover span,
.home-showcase__project:focus-visible span {
  opacity: 1;
}

/* Shared editorial sections */
.services,
.about,
.promise,
.page-section,
.page-copy {
  background-color: var(--paper-soft);
}

.services,
.portfolio,
.about,
.cta-section {
  padding-block: var(--section-space);
}

/* Give the full-bleed showcase a deliberate landing before the service grid. */
.home-page .services {
  border-top: 1px solid var(--line);
  background-color: var(--paper);
}

@media (min-width: 821px) {
  .home-page .services {
    padding-top: clamp(72px, 4.5vw, 84px);
  }

  .home-page .services .section-head {
    margin-bottom: 42px;
  }
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: end;
  gap: clamp(48px, 5vw, 84px);
  margin-bottom: 52px;
}

.section-head .left h2,
.about .text h2,
.cta-section h2,
.page-section__title,
.page-cta h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(40px, 3.8vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.section-head .right,
.page-section__lead,
.page-description,
.page-rich-text,
.page-copy__inner {
  color: var(--muted);
  line-height: 1.8;
}

/* Services */
.services .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.svc {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--ink);
  color: #fffaf4;
}

.svc .im {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 450ms ease;
}

.svc:hover .im {
  transform: scale(1.025);
}

.svc::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 19, 0.48);
  pointer-events: none;
}

.svc .num {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  color: rgba(255, 250, 244, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.svc .content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 28px;
}

.svc .bar,
.pf .bar {
  width: 58px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--copper);
}

.svc h3 {
  margin: 0 0 8px;
  color: #fffaf4;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.1;
}

.svc p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 250, 244, 0.82);
  font-size: 14px;
  line-height: 1.65;
}

.card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Promise rail */
.promise {
  border-block: 1px solid var(--line);
}

.promise .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.promise .item {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 34px 28px;
  border-inline-start: 1px solid var(--line);
}

.promise .item:last-child {
  border-inline-end: 1px solid var(--line);
}

.promise-accent {
  display: none;
}

.promise h4 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
}

.promise p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.promise .ic {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--copper);
}

.promise .ic svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
}

/* Portfolio */
.portfolio,
.cta-section,
footer {
  background: var(--ink);
  color: #fffaf4;
}

.portfolio .section-head .left h2,
.portfolio .eyebrow,
.cta-section h2,
.cta-section .eyebrow {
  color: #fffaf4;
}

.portfolio .section-head .right,
.cta-section .sub {
  color: rgba(255, 250, 244, 0.68);
}

.pf-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pf-filters button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 250, 244, 0.7);
}

.pf-filters button.active,
.pf-filters button:hover {
  border-bottom-color: var(--copper);
  color: #fffaf4;
}

.pf-filters .count {
  color: #d69a80;
  font-size: 12px;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 8px;
}

.pf {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--ink-soft);
}

.pf.wide {
  grid-column: span 2;
}

.pf.tall {
  grid-row: span 2;
}

.pf .im {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 450ms ease;
}

.pf:hover .im {
  transform: scale(1.025);
}

.pf::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 19, 0.36);
}

.pf .title {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 22px;
  color: #fffaf4;
}

.pf .tag {
  margin-bottom: 8px;
  color: #e4a98e;
  font-size: 12px;
}

.pf h4 {
  margin: 0 0 4px;
  font-size: 23px;
  line-height: 1.15;
}

.pf .title > span {
  color: rgba(255, 250, 244, 0.72);
  font-size: 13px;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.portfolio .section-actions .btn-dark {
  border-color: var(--copper);
  background: transparent;
}

/* About */
.about .container {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  align-items: center;
  gap: 78px;
  direction: ltr;
}

.about .photo {
  position: relative;
  min-height: 620px;
  direction: rtl;
}

.about .photo .main {
  position: absolute;
  inset: 0 54px 48px 0;
  background-position: center 20%;
  background-repeat: no-repeat;
  background-size: cover;
}

.about .photo .stamp {
  position: absolute;
  top: 38px;
  right: 0;
  width: 94px;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--copper);
  color: #fffaf4;
  text-align: center;
  line-height: 1.4;
}

.about .photo .card {
  position: absolute;
  right: 24px;
  bottom: 0;
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--ink);
  color: #fffaf4;
}

.about .photo .card .big {
  font-size: 30px;
  font-weight: 800;
}

.about .photo .card .tx {
  color: rgba(255, 250, 244, 0.72);
  font-size: 12px;
}

.about .text {
  direction: rtl;
}

.about .text h2 em {
  color: var(--copper);
  font-style: normal;
}

.about .text > p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.85;
}

.about .text .lead {
  color: var(--ink-soft);
  font-size: 18px;
}

.about .values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.about .v {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.about .v .n {
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
}

.about .v h5 {
  margin: 0 0 4px;
  font-size: 16px;
}

.about .v p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.about .signature {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.about .signature .name {
  font-family: 'Caveat', cursive;
  font-size: 34px;
}

.about .signature .role {
  color: var(--muted);
  font-size: 12px;
}

/* Contact conversion area */
.cta-section {
  padding-block: var(--section-space);
}

.cta-section .container {
  max-width: calc(var(--content-standard) + (2 * var(--layout-gutter)));
}

.cta-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 38px;
  text-align: center;
}

.cta-section h2 {
  margin-top: 10px;
}

.cta-section h2 em {
  color: #d18b6b;
  font-style: normal;
}

.cta-section .sub {
  max-width: 650px;
  margin: 18px auto;
}

.cta-section .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-light);
  color: rgba(255, 250, 244, 0.78);
  font-size: 13px;
}

.cta-section .pill .dot {
  width: 7px;
  height: 7px;
  background: var(--copper);
}

.cta-form-wrap,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.cta-form-box,
.contact-info-box,
.contact-panel__form,
.contact-panel__info {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  background-color: var(--paper-soft);
  color: var(--ink);
}

.cta-form-box,
.contact-panel__form,
.contact-info-box,
.contact-panel__info {
  display: flex;
  flex-direction: column;
}

.form-title,
.ci-title {
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
}

.contact-grid {
  display: grid;
  flex: 1 1 auto;
  gap: 0;
}

.contact-grid .c {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-grid .c:first-child {
  padding-top: 0;
}

.contact-grid .c:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-grid .lb {
  margin-bottom: 4px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
}

.contact-grid .vl {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.contact-grid .vl--phone {
  text-align: right;
}

.contact-grid .vl a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.contact-grid .vl a:hover,
.contact-grid .vl a:focus-visible {
  color: var(--copper);
  text-decoration-color: currentColor;
}

.contact-actions {
  margin-top: 24px;
}

.contact-actions .btn {
  width: 100%;
}

/* Forms */
.wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: start;
}

.field-row {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.wpcf7-form > .hidden-fields-container,
.wpcf7-form > .field-row--message,
.wpcf7-form > .consent-row,
.wpcf7-form > .consent-note,
.wpcf7-form > p,
.wpcf7-form > .wpcf7-response-output {
  grid-column: 1 / -1;
}

.wpcf7-form p,
.field-row > p {
  margin: 0;
}

.field-row label,
.wpcf7-form label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form input[type='text'],
.wpcf7-form input[type='email'],
.wpcf7-form input[type='tel'],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: #fffdf9;
  color: var(--ink);
  box-shadow: none;
  font-size: 16px;
  line-height: 1.45;
}

.wpcf7-form textarea {
  height: 118px;
  min-height: 118px;
  resize: vertical;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: var(--copper);
  outline: 2px solid rgba(173, 76, 42, 0.16);
}

.wpcf7-form .wpcf7-submit {
  width: min(240px, 100%);
  min-height: 52px;
}

.wpcf7-form .wpcf7-submit:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.wpcf7-spinner {
  position: absolute;
  inset-inline-end: 12px;
  margin: 0;
}

.wpcf7-form > p {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.consent-row .wpcf7-list-item {
  margin: 0;
}

.consent-row .wpcf7-list-item label {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.consent-row input[type='checkbox'] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: var(--copper);
}

.consent-note,
.consent-note a {
  color: var(--muted);
  font-size: 12px;
}

.consent-note {
  margin-top: -7px;
}

.consent-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wpcf7-not-valid-tip {
  margin-top: 5px;
  color: #9d321c;
  font-size: 12px;
}

.wpcf7-form .wpcf7-not-valid {
  border-color: #9d321c;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid currentColor;
  color: #9d321c;
  font-size: 12px;
}

.wpcf7 form .wpcf7-response-output:empty {
  display: none;
}

/* Inner pages */
.inner-page {
  background: var(--paper-soft);
}

.inner-page .page-hero {
  height: 490px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.inner-page .page-hero__grid {
  width: 100%;
  max-width: none;
  height: 490px;
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  grid-template-areas: 'visual copy';
  direction: ltr;
  padding: 0;
}

.inner-page .page-hero__content {
  position: relative;
  grid-area: copy;
  height: 490px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 90px 36px;
  direction: rtl;
  text-align: center;
  background-color: var(--paper);
  isolation: isolate;
}

.inner-page .page-hero__content::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  background-image: var(--texture);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: multiply;
  opacity: 0.28;
}

.inner-page .page-hero__content > * {
  position: relative;
  z-index: 1;
}

.inner-page .page-hero__visual {
  grid-area: visual;
  height: 490px;
}

.inner-page .page-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-breadcrumbs {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 600;
}

.inner-page .page-title {
  max-width: 590px;
  margin: 12px 0 14px;
  color: var(--ink);
  font-size: clamp(48px, 4.2vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.inner-page .page-description {
  max-width: 550px;
  margin: 0 0 22px;
  font-size: 17px;
}

.inner-page .page-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inner-page .page-hero__actions .btn {
  flex: 0 0 auto;
  min-width: 128px;
}

.page-copy,
.page-section {
  padding-block: var(--section-space);
}

.page-section--text {
  padding-block: var(--section-space-compact);
}

.page-copy {
  border-bottom: 1px solid var(--line);
}

.page-copy__inner,
.page-rich-text {
  font-size: 17px;
}

.page-section__text-shell,
.page-section__faq-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(52px, 6vw, 104px);
}

.page-section__text-heading .page-section__title,
.page-section__faq-intro .page-section__title {
  margin-bottom: 0;
}

.page-section--text .page-rich-text {
  width: 100%;
  max-width: 780px;
  margin-top: 3px;
}

.page-section__faq-shell {
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.26fr);
}

.page-section__faq-intro .page-section__lead {
  max-width: 480px;
  margin: 18px 0 0;
}

.page-section__faq-shell .faq-list {
  margin-top: 0;
}

.page-copy__inner > *:last-child,
.page-rich-text > *:last-child {
  margin-bottom: 0;
}

.page-section:nth-of-type(even) {
  background-color: var(--paper);
}

.page-section__intro {
  margin-bottom: 42px;
}

.section-head--inner {
  margin-bottom: 46px;
}

.inner-page .section-head .left h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(38px, 3.7vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
}

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

.page-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.page-card__image {
  height: 250px;
  overflow: hidden;
  background: var(--paper-deep);
}

.page-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.page-card:hover .page-card__image img {
  transform: scale(1.025);
}

.page-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.page-card__body .text-link {
  margin-top: auto;
}

.page-card__tag,
.page-gallery-item__tag {
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
}

.page-card h3 {
  margin: 8px 0 8px;
  font-size: 25px;
  line-height: 1.2;
}

.page-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.page-section--stats {
  background: var(--ink) !important;
  color: #fffaf4;
}

.page-section--stats .eyebrow,
.page-section--stats .page-section__title {
  color: #fffaf4;
}

.page-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
}

.page-stat {
  min-height: 250px;
  padding: 34px;
  border-bottom: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.page-stat__number {
  margin-bottom: 30px;
  color: #d99576;
  font-size: 38px;
  font-weight: 700;
}

.page-stat h3 {
  margin: 0 0 8px;
  color: #fffaf4;
  font-size: 23px;
}

.page-stat p {
  margin: 0;
  color: rgba(255, 250, 244, 0.68);
  font-size: 14px;
}

.page-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 300px;
  grid-auto-flow: dense;
  gap: 8px;
}

.page-gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.page-gallery-item.wide {
  grid-column: span 2;
}

.page-gallery-item.tall {
  grid-row: span 2;
}

.page-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

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

.page-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 19, 0.5);
}

.inner-page--about .page-hero__visual img {
  object-position: center 28%;
}

.inner-page--projects .page-gallery-grid > .page-gallery-item:nth-child(8).tall {
  grid-row: span 1;
}

.inner-page--projects .page-gallery-grid > .page-gallery-item:last-child.wide {
  grid-column: 1 / -1;
}

#contact-form {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

[id^='service-'],
[id^='project-'] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.page-gallery-item__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 24px;
  color: #fffaf4;
}

.page-gallery-item__overlay h3 {
  margin: 7px 0 4px;
  font-size: 25px;
}

.page-gallery-item__overlay p {
  margin: 0;
  color: rgba(255, 250, 244, 0.72);
  font-size: 13px;
}

.faq-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 22px 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
}

.faq-item__content {
  padding: 0 24px 22px 0;
  color: var(--muted);
}

.page-section--cta {
  background: var(--ink) !important;
  color: #fffaf4;
}

.page-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.page-cta h2 {
  color: #fffaf4;
}

.page-cta p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 250, 244, 0.68);
}

.page-section--cta .btn-outline {
  border-color: #c96742;
  color: #e8a486;
}

.page-section--cta .btn-outline:hover {
  border-color: var(--copper);
  background: var(--copper);
  color: #fffaf4;
}

.page-cta__actions {
  display: flex;
  gap: 10px;
}

.page-section--contact-panel {
  background: var(--ink) !important;
  color: #fffaf4;
}

.page-section--contact-panel .section-head h2,
.page-section--contact-panel .section-head .right,
.page-section--contact-panel .eyebrow {
  color: #fffaf4;
}

/* Footer */
footer {
  padding: 78px 0 24px;
  border-top: 1px solid var(--line-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 52px;
}

footer .brand .name .lg,
footer a,
footer h5 {
  color: #fffaf4;
}

footer .brand .name .sm,
footer .blurb,
footer li,
footer .bottom {
  color: rgba(255, 250, 244, 0.62);
}

footer .brand .mark {
  background: var(--paper);
}

footer .blurb {
  max-width: 420px;
  margin: 24px 0;
  font-size: 14px;
}

footer .col h5 {
  margin: 0 0 18px;
  font-size: 16px;
}

footer .col li {
  margin-bottom: 9px;
  font-size: 13px;
}

footer a:hover,
.footer-link-button:hover {
  color: #e3a083;
}

.contact-li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-li > span:first-child {
  display: none;
}

.social {
  display: flex;
  gap: 8px;
}

.social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-light);
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

footer .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
}

footer .bottom .r {
  display: flex;
  gap: 18px;
}

.fab {
  display: none;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 800;
}

.cookie-consent__shell {
  width: min(980px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  color: var(--ink);
}

.cookie-consent__eyebrow {
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
}

.cookie-consent h2,
.cookie-modal h2 {
  margin: 5px 0 8px;
  font-size: 24px;
}

.cookie-consent p,
.cookie-modal p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.cookie-consent__actions,
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-consent__actions .btn,
.cookie-modal__actions .btn {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 13px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 19, 0.68);
}

.cookie-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  color: var(--ink);
}

.cookie-modal__close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 26px;
}

.cookie-category-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.cookie-category {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
}

.cookie-category__main {
  display: grid;
  gap: 3px;
}

.cookie-category__title {
  font-weight: 700;
}

.cookie-category__desc,
.cookie-category__state {
  color: var(--muted);
  font-size: 12px;
}

.cookie-category__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive */
@media (hover: none), (pointer: coarse) {
  .home-showcase__project span {
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  :root {
    --header-height: 88px;
  }

  .container {
    padding-inline: 34px;
  }

  .nav-shell {
    justify-content: space-between;
    padding-inline: 34px;
  }

  .brand .mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .brand .name .lg {
    font-size: 28px;
  }

  .brand .name .sm {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-bottom: 6px solid var(--copper);
    background-color: var(--paper);
    background-image: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  nav.main.is-open .nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: none;
  }

  .nav-list a {
    height: auto;
    min-height: 50px;
    border-bottom: 1px solid var(--line);
  }

  .nav-list a::after {
    display: none;
  }

  .nav-cta {
    position: static;
  }

  .nav-cta .btn-dark {
    width: 100%;
  }

  body.menu-open [data-cookie-banner] {
    opacity: 0;
    pointer-events: none;
  }

  .home-page .hero .plate {
    padding-inline: 60px;
  }

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

  .home-showcase__project:last-child {
    margin-right: 0;
  }

  .home-showcase__intro {
    grid-column: 1 / -1;
    padding-right: 34px;
  }

  .services .grid,
  .page-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about .container {
    gap: 48px;
  }

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

@media (min-width: 821px) and (max-width: 1180px) {
  .home-showcase__intro {
    min-height: 280px;
    grid-template-columns: 160px minmax(0, 1fr);
    padding: 34px;
  }

  .home-showcase__portrait {
    width: 160px;
    height: 160px;
  }

  .home-showcase__copy {
    padding-top: 18px;
  }

  .home-showcase__project,
  .home-showcase__project img {
    height: 300px;
    min-height: 300px;
  }

  .home-showcase__project {
    margin-top: 0;
  }
}

@media (max-width: 1024px) {
  .inner-page .page-hero {
    height: auto;
  }

  .inner-page .page-hero__grid {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-areas: 'copy' 'visual';
  }

  .inner-page .page-hero__content {
    height: auto;
    min-height: 0;
    padding: 52px 34px 46px;
  }

  .inner-page .page-hero__visual,
  .inner-page .page-hero__visual img {
    height: 42vw;
    min-height: 280px;
    max-height: 410px;
  }

  .inner-page .page-hero__actions .btn {
    min-width: 150px;
  }
}

@media (max-width: 960px) {
  .home-page .hero {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-areas: 'copy' 'image';
  }

  .home-page .hero .plate {
    height: auto;
    min-height: 500px;
    padding: 52px 34px 46px;
  }

  .home-page .hero .bg {
    height: 50vw;
    min-height: 250px;
    max-height: 410px;
  }

  .cta-form-wrap,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

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

  .container {
    padding-inline: 22px;
  }

  .nav-shell {
    padding-inline: 20px;
  }

  .brand {
    gap: 10px;
  }

  .brand .name .lg {
    font-size: 24px;
  }

  .brand .name .sm {
    display: none;
  }

  .menu-toggle__label {
    display: none;
  }

  .home-page .hero {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-areas: 'copy' 'image';
  }

  .home-page .hero .plate {
    height: auto;
    min-height: 500px;
    padding: 52px 24px 42px;
  }

  .home-page .hero h1 {
    font-size: clamp(45px, 12vw, 58px);
  }

  .home-page .hero p.sub {
    font-size: 17px;
  }

  .home-page .hero .ctas {
    width: 100%;
    max-width: 360px;
  }

  .home-page .hero .bg {
    height: 50vw;
    min-height: 250px;
    max-height: 410px;
  }

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

  .service-rail__item {
    min-height: 56px;
  }

  .service-rail__item + .service-rail__item {
    border-top: 1px solid rgba(173, 76, 42, 0.78);
    border-inline-start: 0;
  }

  .service-rail__item + .service-rail__item::before {
    display: none;
  }

  .home-showcase__grid {
    grid-template-columns: 1fr;
  }

  .home-showcase__intro {
    grid-column: auto;
    grid-template-columns: 150px minmax(0, 1fr);
    grid-template-areas:
      'heading heading'
      'portrait copy';
    min-height: 350px;
    padding: 38px 24px;
  }

  .home-showcase__portrait {
    width: 150px;
    height: 180px;
  }

  .home-showcase__project,
  .home-showcase__project img {
    min-height: 300px;
    height: 300px;
  }

  .home-showcase__project {
    border-top: 5px solid var(--paper-soft);
    border-inline-start: 0;
    margin-top: 0;
  }

  .services,
  .portfolio,
  .about,
  .cta-section,
  .page-copy,
  .page-section {
    padding-block: 64px;
  }

  .page-section__text-shell,
  .page-section__faq-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-section--text .page-rich-text,
  .page-section__faq-intro .page-section__lead {
    max-width: none;
  }

  .section-head,
  .section-head--inner {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 36px;
  }

  .section-head .left h2,
  .about .text h2,
  .cta-section h2,
  .page-section__title {
    font-size: 40px;
  }

  .services .grid,
  .page-card-grid,
  .page-stat-grid,
  .promise .container,
  .pf-grid,
  .page-gallery-grid,
  .about .container,
  .about .values,
  .cta-form-wrap,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .promise .item,
  .promise .item:last-child {
    border-inline: 0;
    border-bottom: 1px solid var(--line);
  }

  .pf-grid,
  .page-gallery-grid {
    grid-auto-rows: 300px;
  }

  .pf.wide,
  .pf.tall,
  .page-gallery-item.wide,
  .page-gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .about .photo {
    min-height: 520px;
  }

  .about .photo .main {
    inset: 0 34px 42px 0;
  }

  .inner-page .page-hero {
    height: auto;
  }

  .inner-page .page-hero__grid {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-areas: 'copy' 'visual';
  }

  .inner-page .page-hero__content {
    height: auto;
    min-height: 0;
    padding: 48px 24px 42px;
  }

  .inner-page .page-title {
    font-size: clamp(43px, 11vw, 56px);
  }

  .inner-page .page-hero__visual,
  .inner-page .page-hero__visual img {
    height: 58vw;
    min-height: 230px;
    max-height: 380px;
  }

  .inner-page .page-hero__actions,
  .page-cta,
  .page-cta__actions {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .inner-page .page-hero__actions .btn,
  .page-cta__actions .btn {
    width: 100%;
  }

  .page-cta {
    display: grid;
    gap: 28px;
  }

  .page-card__image {
    height: 280px;
  }

  .cookie-consent__shell {
    grid-template-columns: 1fr;
  }

  .cookie-consent__actions .btn,
  .cookie-modal__actions .btn {
    flex: 1 1 150px;
  }

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

  .footer-grid > div:first-child,
  .footer-grid > .col:last-child {
    grid-column: 1 / -1;
  }

  footer .col li {
    margin-bottom: 0;
  }

  footer .col a,
  footer .bottom a,
  .footer-link-button,
  .contact-li {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .social a {
    width: 44px;
    height: 44px;
  }

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

@media (max-width: 560px) {
  :root {
    --header-height: 80px;
  }

  .brand .mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand .name .lg {
    font-size: 22px;
  }

  .home-page .hero .plate {
    min-height: 460px;
    padding-top: 44px;
  }

  .services,
  .portfolio,
  .about,
  .cta-section,
  .page-copy,
  .page-section {
    padding-block: 58px;
  }

  .home-page .hero h1 {
    font-size: 45px;
  }

  .section-head .left h2,
  .about .text h2,
  .cta-section h2,
  .page-section__title,
  .page-cta h2,
  .inner-page .section-head .left h2 {
    font-size: 36px;
    line-height: 1.09;
  }

  .hero-proof {
    gap: 10px;
    font-size: 13px;
  }

  .home-showcase__intro {
    grid-template-columns: 1fr;
    grid-template-areas: 'heading' 'portrait' 'copy';
  }

  .home-showcase__heading h2 {
    font-size: 38px;
  }

  .home-showcase__portrait {
    width: 100%;
    height: 240px;
  }

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

  .svc {
    min-height: 350px;
  }

  .pf-filters {
    align-items: stretch;
  }

  .pf-filters button {
    flex: 1 1 130px;
    justify-content: space-between;
  }

  .pf-grid,
  .page-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 5px;
  }

  .pf.wide,
  .page-gallery-item.wide {
    grid-column: 1 / -1;
  }

  .pf-grid.is-filtered .pf:not([hidden]) {
    grid-column: 1 / -1;
  }

  .pf.tall,
  .page-gallery-item.tall {
    grid-row: auto;
  }

  .pf .title,
  .page-gallery-item__overlay {
    padding: 16px;
  }

  .pf h4,
  .page-gallery-item__overlay h3 {
    font-size: 19px;
  }

  .page-card__image {
    height: 215px;
  }

  .page-card__body {
    padding: 22px;
  }

  .home-page .hero .btn-ghost {
    min-height: 44px;
  }

  .about .photo {
    min-height: 440px;
  }

  .about .photo .stamp {
    width: 78px;
    min-height: 96px;
    font-size: 13px;
  }

  .about .photo .card {
    right: 14px;
    min-width: 170px;
  }

  .cta-form-box,
  .contact-info-box,
  .contact-panel__form,
  .contact-panel__info,
  .cookie-modal__dialog {
    padding: 22px;
  }

  .cta-top {
    margin-bottom: 30px;
  }

  .cta-form-wrap,
  .contact-panel {
    gap: 18px;
  }

  .form-title,
  .ci-title {
    margin-bottom: 18px;
    padding-bottom: 14px;
    font-size: 24px;
  }

  .wpcf7-form {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .wpcf7-form > * {
    grid-column: 1;
  }

  .wpcf7-form textarea {
    height: 112px;
    min-height: 112px;
  }

  .wpcf7-form .wpcf7-submit {
    width: 100%;
  }

  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .cookie-category {
    grid-template-columns: 1fr;
  }

  footer {
    padding-top: 62px;
  }
}

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

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