/* tastemaker · scope: single-module brand-pattern integration · existing page structure preserved
 * pattern placement: empty heading margins and a controlled layer behind photography
 * critique: ShowTell 4 · Phil 5 · Hier 5 · Spec 5 · Restr 5 · Var 4 */
:root {
  --yellow: #ffcd01;
  --yellow-soft: #fff5b8;
  --ink: #11120f;
  --ink-soft: #2b2c28;
  --paper: #f4f4f1;
  --surface: #fbfbf9;
  --white: #fefefc;
  --muted: #656760;
  --line: #dedfd9;
  --radius: 18px;
  --radius-small: 12px;
  --section-offset: 24px;
  --section-width: calc(100vw - (var(--section-offset) * 2));
  --header-width: calc(100vw - 86px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pattern-module-black: url("../../docs/01_pattern_pojedynczy_modul/pattern_pojedynczy_modul_czarny.svg");
}

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
margin: 0;
  background-color: #fefefc;
  background-image: url("../patterns/body-module-black.svg?v=4");
  background-position: center top;
  background-size: 220px auto;
  background-repeat: repeat;
  color: var(--ink);
  font-family: "Onest", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
overflow: hidden;
}

body.lightbox-open {
overflow: hidden;
}

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

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

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

button,
input,
select {
font: inherit;
}

button,
a,
input,
select {
-webkit-tap-highlight-color: transparent;
}

:focus-visible {
outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

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

.skip-link {
position: fixed;
  top: 12px;
  left: 16px;
  z-index: 300;
  padding: 11px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.site-header {
position: fixed;
  top: 40px;
  right: 0;
  left: 0;
  z-index: 100;
  pointer-events: none;
  transition:
    top 0.24s var(--ease),
    background-color 0.24s ease;
}

.header-inner {
width: var(--header-width);
  height: 68px;
  margin: 0 auto;
  padding: 7px 8px 7px 20px;
  display: grid;
  grid-template-columns: 176px minmax(400px, 1fr) auto auto;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  border-radius: var(--radius);
  background: rgba(254, 254, 252, 0.94);
  box-shadow: 0 12px 34px rgba(28, 29, 25, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
  transition:
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.site-header.is-scrolled .header-inner {
background: rgba(254, 254, 252, 0.985);
  box-shadow: 0 16px 44px rgba(28, 29, 25, 0.13);
}

.brand {
width: 154px;
  height: 50px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.brand img {
width: 136px;
  height: auto;
  object-fit: contain;
}

.main-nav {
display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  white-space: nowrap;
}

.main-nav > li {
  position: relative;
  list-style: none;
}

.main-nav > li.menu-item-has-children::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 230px;
  height: 14px;
  content: "";
  transform: translateX(-50%);
}

.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 1;
  width: max-content;
  min-width: 230px;
  margin: 0;
  padding: 10px;
  display: grid;
  gap: 2px;
  list-style: none;
  border-radius: var(--radius-small);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(28, 29, 25, 0.13);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.2s ease, transform 0.2s var(--ease), visibility 0.2s ease;
}

.main-nav > li:hover > .sub-menu,
.main-nav > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.main-nav .sub-menu a {
  width: 100%;
  padding: 9px 12px;
  display: block;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.35;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.main-nav .sub-menu > li {
  width: 100%;
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:focus-visible {
  background: var(--yellow-soft);
}

.main-nav .sub-menu a::after {
  display: none;
}

.main-nav > li.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.main-nav > li.menu-item-has-children > a [data-lucide] {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
  transition: transform 0.2s var(--ease);
}

.main-nav > li.menu-item-has-children:hover > a [data-lucide],
.main-nav > li.menu-item-has-children:focus-within > a [data-lucide] {
  transform: rotate(180deg);
}

.submenu-toggle {
  display: none;
}

.main-nav a {
position: relative;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
}

.main-nav a::after {
content: "";
  position: absolute;
  right: 100%;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  transition: right 0.25s var(--ease);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
right: 0;
}

.header-phone {
display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.icon,
[data-lucide] {
width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke-width: 2;
}

.button {
min-height: 48px;
  padding: 7px 7px 7px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
transform: translateY(-2px);
}

.button:active {
transform: translateY(0) scale(0.98);
}

.button:disabled,
.button[aria-disabled="true"] {
opacity: 0.62;
  pointer-events: none;
}

.button-icon {
width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: rgba(254, 254, 252, 0.94);
  color: var(--ink);
}

.button-icon [data-lucide] {
width: 16px;
  height: 16px;
  flex-basis: 16px;
}

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

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

.button-yellow {
background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(137, 110, 0, 0.16);
}

.button-yellow:hover,
.button-yellow:focus-visible {
background: #ffda36;
  box-shadow: 0 14px 30px rgba(137, 110, 0, 0.2);
}

.menu-toggle {
display: none;
}

.secondary-action {
display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.play-icon {
width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 18, 15, 0.24);
  border-radius: 50%;
  background: rgba(254, 254, 252, 0.6);
  transition:
    transform 0.2s var(--ease),
    background 0.2s ease;
}

.secondary-action:hover .play-icon {
transform: translate(2px, 2px);
  background: var(--white);
}

.media-label {
position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(17, 18, 15, 0.8);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

.section {
width: var(--section-width);
  margin: var(--section-offset) auto;
  padding: clamp(64px, 7vw, 104px) clamp(28px, 5vw, 72px);
  border-radius: var(--radius);
}

/* Single modules occupy deliberately empty heading margins. */
.trust,
.projects,
.partners {
position: relative;
  isolation: isolate;
  overflow: hidden;
}

.trust > *,
.projects > *,
.partners > * {
position: relative;
  z-index: 1;
}

.trust::before,
.projects::before,
.partners::before {
position: absolute;
  top: 24px;
  right: clamp(24px, 4vw, 64px);
  z-index: 0;
  width: clamp(240px, 23vw, 360px);
  aspect-ratio: 1113.13 / 941.56;
  background-image: var(--pattern-module-black);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0.075;
  pointer-events: none;
}

.projects::before {
top: 32px;
  right: clamp(32px, 6vw, 96px);
  width: clamp(220px, 21vw, 330px);
  opacity: 0.06;
}

.partners::before {
top: 20px;
  width: clamp(210px, 20vw, 310px);
  opacity: 0.055;
}

.section.partners {
  background: var(--surface);
}

.section h2 {
margin-bottom: 18px;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-intro,
.services-intro,
.projects-heading {
max-width: 760px;
  margin-bottom: clamp(42px, 5vw, 66px);
}

.section-intro > p,
.services-intro > p,
.projects-heading > div > p {
max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.button-state {
position: absolute;
  right: 15px;
  width: 18px;
  height: 18px;
  display: none;
  border: 2px solid rgba(17, 18, 15, 0.22);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.site-header.is-scrolled {
top: 16px;
}

.footer {
width: var(--section-width);
  margin: var(--section-offset) auto;
  padding: clamp(46px, 5vw, 72px) clamp(34px, 5vw, 76px) 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.footer a {
color: inherit;
}

.footer a:hover {
color: var(--yellow-soft);
}

.footer-lead {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-footer {
width: 186px;
  height: 66px;
  padding: 7px 13px;
  border-radius: var(--radius-small);
  background: var(--white);
}

.brand-footer img {
width: 158px;
}

.footer-cta {
display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
}

.footer-cta-icon {
width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  transition: transform 0.25s var(--ease), background 0.2s ease;
}

.footer-cta:hover .footer-cta-icon {
background: var(--yellow-soft);
  transform: rotate(6deg) translate(2px, -2px);
}

.footer-cta-icon [data-lucide] {
width: 20px;
  height: 20px;
}

.footer-statement {
max-width: 1040px;
  margin: clamp(58px, 6vw, 88px) 0 clamp(72px, 7vw, 104px);
  color: var(--white);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.footer-statement span {
display: block;
  color: var(--yellow);
}

.footer-main {
padding: 40px 0 clamp(48px, 5vw, 66px);
  display: grid;
  grid-template-columns: 0.62fr 0.68fr 1fr 1.3fr;
  gap: clamp(28px, 5vw, 74px);
  border-top: 1px solid rgba(254, 254, 252, 0.2);
}

.footer-links,
.footer-contact,
.footer-address {
display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  font-style: normal;
}

.footer-links strong,
.footer-contact strong,
.footer-address strong {
margin-bottom: 13px;
  color: rgba(254, 254, 252, 0.54);
  font-size: 11px;
  font-weight: 500;
}

.footer-links a,
.footer-contact a,
.footer-address span {
color: rgba(254, 254, 252, 0.88);
  font-size: 14px;
  line-height: 1.45;
}

.footer-links a:hover,
.footer-contact a:hover {
color: var(--yellow);
}

.footer-contact .footer-phone {
margin-bottom: 2px;
  color: var(--white);
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.footer-details {
padding: 30px 0 34px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr;
  border-top: 1px solid rgba(254, 254, 252, 0.2);
  border-bottom: 1px solid rgba(254, 254, 252, 0.2);
}

.footer-detail,
.footer-social {
min-width: 0;
  padding: 0 clamp(24px, 3vw, 46px);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footer-detail:first-child {
padding-left: 0;
}

.footer-detail + .footer-detail,
.footer-social {
border-left: 1px solid rgba(254, 254, 252, 0.16);
}

.footer-detail-icon {
flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
}

.footer-detail-icon [data-lucide] {
width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.footer-detail > div {
min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-detail strong,
.footer-social > strong {
margin-bottom: 4px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.footer-detail span,
.footer-detail a {
color: rgba(254, 254, 252, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.footer-detail .footer-detail-icon {
color: var(--ink);
}

.footer-detail a:hover {
color: var(--yellow);
}

.footer-social {
padding-right: 0;
  flex-direction: column;
  gap: 10px;
}

.footer-social-links {
width: 100%;
  display: flex;
  gap: 8px;
}

.footer-social-links a {
min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(254, 254, 252, 0.22);
  border-radius: 999px;
  color: rgba(254, 254, 252, 0.88);
  font-size: 11px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-links a:hover {
border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.footer-social-links a [data-lucide] {
width: 17px;
  height: 17px;
}

.footer-social-links a [data-lucide="arrow-up-right"] {
width: 14px;
  height: 14px;
}

.footer-bottom {
min-height: 68px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(254, 254, 252, 0.72);
  font-size: 12px;
}

.footer-legal {
display: flex;
  align-items: center;
  gap: 26px;
}

@media (max-width: 1100px) {
  .trust::before,
  .projects::before,
  .partners::before {
    width: 220px;
    opacity: 0.045;
  }

}

@media (max-width: 920px) {
  .trust::before,
  .projects::before,
  .partners::before {
    display: none;
  }
}

.back-to-top {
position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(41, 33, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s var(--ease),
    background 0.2s ease;
}

.back-to-top.is-visible {
opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
background: #ffda36;
  transform: translateY(-2px);
}

.back-to-top:active {
transform: scale(0.96);
}

.back-to-top span {
position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.back-to-top [data-lucide] {
width: 21px;
  height: 21px;
}

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

.breadcrumbs {
margin-bottom: 24px;
}

.breadcrumbs ol {
margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.breadcrumbs li {
display: flex;
  align-items: center;
  gap: 9px;
}

.breadcrumbs li + li::before {
width: 14px;
  height: 1px;
  content: "";
  background: currentcolor;
  opacity: 0.5;
}

.breadcrumbs a {
text-decoration: underline;
  text-decoration-color: rgba(101, 103, 96, 0.4);
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.breadcrumbs a:hover {
color: var(--ink);
  text-decoration-color: var(--yellow);
}

.breadcrumbs [aria-current="page"] {
color: var(--ink);
  font-weight: 500;
}

/* About page */
.about-page {
  display: contents;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 84px);
  background: var(--surface);
}

.about-story-copy {
  align-self: center;
}

.about-eyebrow {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-story h2 {
  max-width: 580px;
  margin-bottom: 26px;
}

.about-story-lead {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.55;
}

.about-proof {
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.about-proof div {
  min-width: 0;
  padding-right: 18px;
}

.about-proof div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.about-proof dt {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.about-proof dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.about-story-media {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  margin: 0;
  overflow: visible;
  background: transparent;
}

.about-story-media::before {
  position: absolute;
  right: -76px;
  bottom: -60px;
  z-index: 0;
  width: min(58%, 340px);
  aspect-ratio: 1113.13 / 941.56;
  background: var(--pattern-module-black) center / 155% no-repeat;
  content: "";
  opacity: 0.16;
  pointer-events: none;
}

.about-story-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 56% center;
}

.about-values {
  background: rgba(254, 254, 252, 0.78);
}

.about-values-heading {
  max-width: 780px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.about-values-heading > p {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-value {
  min-width: 0;
  min-height: 410px;
  padding: clamp(28px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.about-value-icon {
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  background: var(--yellow);
  color: var(--ink);
}

.about-value-icon [data-lucide] {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.about-value h3 {
  margin-bottom: 14px;
  font-size: clamp(27px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-value p {
  max-width: 54ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 920px) {
  .about-story {
    grid-template-columns: 1fr;
  }

  .about-story-media {
    min-height: 460px;
  }

  .about-story-media::before {
    right: -24px;
    bottom: -24px;
    width: min(54%, 300px);
    background-size: 160%;
    opacity: 0.12;
  }

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

@media (max-width: 1180px) {
.header-inner {
grid-template-columns: 164px minmax(360px, 1fr) auto;
}

.header-phone {
display: none;
}

.services-layout,
  .process {
grid-template-columns: minmax(330px, 0.82fr) minmax(480px, 1.18fr);
    gap: 42px;
}

.services-photo,
  .process-photo {
min-height: 540px;
}
}

@media (max-width: 920px) {
.site-header {
top: 40px;
}

.site-header.is-scrolled {
top: 16px;
}

.header-inner {
width: var(--header-width);
    grid-template-columns: 1fr auto;
    padding-right: 11px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header-cta,
  .header-phone {
display: none;
}

.menu-toggle {
position: relative;
    z-index: 3;
    width: 46px;
    height: 46px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    cursor: pointer;
}

.menu-toggle span {
width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition: transform 0.25s var(--ease);
}

.menu-open .menu-toggle span:first-child {
transform: translateY(4px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
transform: translateY(-4px) rotate(-45deg);
}

.main-nav {
position: fixed;
    inset: 10px;
    z-index: 2;
    padding: 110px 34px 38px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 13px;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--white);
}

.main-nav > li {
  width: 100%;
}

.main-nav > li.menu-item-has-children::after {
  display: none;
}

.main-nav > li.menu-item-has-children {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  column-gap: 12px;
}

.menu-open .main-nav {
display: flex;
}

.main-nav a {
font-size: clamp(28px, 8vw, 48px);
    font-weight: 500;
    letter-spacing: -0.04em;
}

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

.submenu-toggle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(254, 254, 252, 0.26);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.submenu-toggle [data-lucide] {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  transition: transform 0.2s var(--ease);
}

.submenu-toggle[aria-expanded="true"] [data-lucide] {
  transform: rotate(180deg);
}

.main-nav .sub-menu {
  position: static;
  width: auto;
  min-width: 0;
  margin: 8px 0 0;
  padding: 0 0 0 18px;
  grid-column: 1 / -1;
  gap: 4px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.main-nav > li:hover > .sub-menu,
.main-nav > li:focus-within > .sub-menu {
  transform: none;
}

.main-nav > li:not(.submenu-open) > .sub-menu {
  display: none;
}

.main-nav .sub-menu a {
  padding: 7px 0;
  font-size: clamp(17px, 5vw, 22px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(254, 254, 252, 0.72);
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:focus-visible {
  background: transparent;
  color: var(--white);
}

.main-nav > li.menu-item-has-children > a [data-lucide] {
  display: none;
}

.services-layout,
  .process,
  .contact,
  .faq {
grid-template-columns: 1fr;
}

.services-photo,
  .process-photo {
min-height: 480px;
}

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

.footer-address {
grid-column: auto;
}

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

.footer-social {
margin-top: 28px;
    padding-top: 28px;
    padding-left: 0;
    grid-column: 1 / -1;
    border-top: 1px solid rgba(254, 254, 252, 0.16);
    border-left: 0;
}
}

@media (max-width: 640px) {
:root {
--radius: 16px;
  --section-offset: 12px;
  --header-width: calc(100vw - 24px);
}

html {
scroll-padding-top: 82px;
}

.site-header {
top: 40px;
}

.site-header.is-scrolled {
top: 16px;
}

.header-inner {
width: var(--header-width);
    height: 62px;
    padding: 6px 7px 6px 14px;
}

.brand {
width: 132px;
    height: 45px;
}

.brand img {
width: 120px;
    height: auto;
}

.brand-footer {
width: 172px;
    height: 70px;
}

.brand-footer img {
width: 160px;
}

.menu-toggle {
width: 42px;
    height: 42px;
}

.main-nav {
inset: 6px;
    padding: 90px 24px 28px;
}

.secondary-action {
width: max-content;
}

.section {
margin: var(--section-offset) auto;
    padding: 56px 20px;
}

.section h2 {
font-size: clamp(34px, 10vw, 44px);
}

.section-intro,
  .services-intro,
  .projects-heading,
  .reviews-heading {
margin-bottom: 36px;
}

.section-intro > p,
  .services-intro > p,
  .projects-heading > div > p,
  .reviews-heading > p,
  .faq-intro > p {
font-size: 15px;
}

.trust-grid,
  .service-groups,
  .project-card,
  .form-row,
  .footer-main {
grid-template-columns: 1fr;
}

.services-photo,
  .process-photo {
min-height: 400px;
}

.about-story-media {
  min-height: 360px;
}

.about-story-media::before {
  display: none;
}

.about-proof {
  grid-template-columns: 1fr;
  gap: 18px;
}

.about-proof div,
  .about-proof div + div {
  padding: 0;
  border-left: 0;
}

.about-proof div + div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.about-value {
  min-height: 340px;
  padding: 28px 24px;
}

.about-value-icon {
  margin-bottom: auto;
}

.footer {
min-height: 0;
    margin: var(--section-offset) auto;
    padding: 28px 22px 22px;
}

.footer-lead {
gap: 18px;
}

.brand-footer {
width: 166px;
    height: 60px;
    padding: 6px 11px;
}

.brand-footer img {
width: 144px;
}

.footer-cta {
gap: 0;
}

.footer-cta > span:first-child {
position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.footer-statement {
margin: 46px 0 54px;
    font-size: clamp(42px, 13vw, 56px);
}

.footer-main {
padding: 28px 0 46px;
    grid-template-columns: 1fr;
    gap: 34px;
}

.footer-address {
grid-column: auto;
}

.footer-details {
padding: 28px 0 32px;
    grid-template-columns: 1fr;
}

.footer-detail,
  .footer-social {
padding-right: 0;
    padding-left: 0;
    border-left: 0;
}

.footer-detail + .footer-detail,
  .footer-social {
margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(254, 254, 252, 0.16);
}

.footer-social {
grid-column: auto;
}

.footer-social-links {
flex-direction: column;
}

.footer-bottom {
min-height: 0;
    padding-top: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
}

.footer-legal {
width: 100%;
    justify-content: space-between;
    gap: 18px;
}

.back-to-top {
right: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
}
}

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

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

/* Reusable legal and informational page template. */
.text-page-section {
  width: var(--section-width);
  margin: var(--section-offset) auto;
  padding: clamp(44px, 6vw, 88px) clamp(22px, 5vw, 76px);
  border-radius: var(--radius);
  background: var(--white);
}

.text-page-layout {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 720px);
  justify-content: space-between;
  align-items: start;
  gap: clamp(48px, 8vw, 108px);
}

.text-page-meta {
  position: sticky;
  top: 132px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.text-page-meta dl,
.text-page-meta dd {
  margin: 0;
}

.text-page-meta dl {
  display: grid;
  gap: 24px;
}

.text-page-meta dl > div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.text-page-meta dt {
  margin-bottom: 5px;
}

.text-page-meta dd {
  color: var(--ink);
  font-weight: 500;
}

.text-page-meta a,
.text-page-content a {
  text-decoration: underline;
  text-decoration-color: rgba(17, 18, 15, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}

.text-page-meta a:hover,
.text-page-meta a:focus-visible,
.text-page-content a:hover,
.text-page-content a:focus-visible {
  text-decoration-color: var(--ink);
}

.text-page-content {
  min-width: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.72;
}

.text-page-content > :first-child {
  margin-top: 0;
}

.text-page-content h2,
.text-page-content h3 {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.text-page-content h2 {
  margin: clamp(56px, 7vw, 80px) 0 18px;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.12;
}

.text-page-content h3 {
  margin: 36px 0 12px;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.2;
}

.text-page-content p,
.text-page-content ul,
.text-page-content ol {
  margin: 0 0 20px;
}

.text-page-content ul,
.text-page-content ol {
  padding-left: 1.3em;
}

.text-page-content li {
  padding-left: 0.35em;
}

.text-page-content li + li {
  margin-top: 9px;
}

.text-page-content strong {
  color: var(--ink);
  font-weight: 600;
}

.text-page-content .wp-block-table {
  margin: 30px 0;
  overflow-x: auto;
}

.text-page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.text-page-content th,
.text-page-content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.text-page-content th {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 760px) {
  .text-page-section {
    padding: 34px 22px 54px;
  }

  .text-page-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .text-page-meta {
    position: static;
  }

  .text-page-meta dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .text-page-content h2 {
    margin-top: 52px;
  }
}

@media (max-width: 460px) {
  .text-page-meta dl {
    grid-template-columns: 1fr;
  }
}
