:root {
  --yellow: #f7ad2b;
  --yellow-bright: #ffc04b;
  --ink: #191816;
  --charcoal: #292a2d;
  --paper: #f5f3ee;
  --white: #ffffff;
  --muted: #655f57;
  --line: rgba(25, 24, 22, 0.14);
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] body {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

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

.shell {
  width: min(100% - 40px, 1260px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 14px;
}

.hero {
  position: relative;
  min-height: max(920px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.94) 0%, rgba(18, 18, 18, 0.76) 43%, rgba(18, 18, 18, 0.2) 76%),
    linear-gradient(0deg, rgba(18, 18, 18, 0.7) 0%, transparent 48%);
}

.site-header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding-block: 24px;
}

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

.language-switcher {
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  direction: ltr;
}

.language-switcher button {
  width: 42px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font-size: 12px;
  font-weight: 850;
}

.language-switcher button[aria-current="true"] {
  color: var(--ink);
  background: var(--yellow);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: transform 0.2s, color 0.2s, background 0.2s, border-color 0.2s;
}

.header-cta {
  border-color: var(--yellow);
  color: var(--yellow);
}

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

.header-cta:hover {
  color: var(--ink);
  background: var(--yellow);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(max(920px, 100svh) - 116px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 60px 252px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #a76500;
}

.eyebrow--light {
  color: var(--yellow);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(48px, 6.15vw, 82px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--yellow);
}

html[dir="rtl"] .hero h1 {
  line-height: 1.05;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button--primary {
  color: var(--ink);
  background: var(--yellow);
}

.button--primary:hover {
  background: var(--yellow-bright);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button--ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

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

.hero__lower {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 198px;
  background: #303135;
}

.hero__stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-self: center;
  margin-inline-start: max(20px, calc((100vw - 1260px) / 2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-width: 0 1px 0 0;
}

.hero__stages article {
  display: flex;
  min-height: 146px;
  flex-direction: column;
  justify-content: center;
  padding: 24px 26px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(32, 33, 36, 0.46);
}

.hero__stages article > span,
.hero__partner > div > span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__stages strong {
  margin-top: 12px;
  color: var(--white);
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__stages p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.hero__partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px max(32px, calc((100vw - 1260px) / 2)) 34px 48px;
  background:
    linear-gradient(90deg, rgba(37, 38, 42, 0.93), rgba(37, 38, 42, 0.45)),
    url("/assets/projects/travaux-realises/dsc-262-2000x1333.jpg") center / cover;
}

.hero__partner > div {
  display: grid;
  max-width: 470px;
  gap: 14px;
  padding: 18px 24px;
  border-inline-start: 5px solid var(--yellow);
  background: rgba(37, 38, 42, 0.9);
}

.hero__partner strong {
  color: var(--white);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.2;
}

.hero__partner > b {
  display: grid;
  width: 86px;
  aspect-ratio: 1;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  text-align: center;
  font-size: 11px;
  line-height: 1.1;
}

.portfolio {
  padding-block: 112px;
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
}

.section-heading h2,
.brochure-copy h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .brochure-copy h2,
html[dir="rtl"] .contact-band h2 {
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading > p,
.brochure-copy > p,
.contact-band p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 62px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 220px;
  padding: 30px;
  background: var(--white);
}

.service-grid article > span {
  color: #a76500;
  font-weight: 900;
}

.service-grid h3 {
  margin: 46px 0 12px;
  font-size: 26px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.gallery-panel {
  margin-top: 74px;
}

.gallery-toolbar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.gallery-tabs button,
.gallery-nav button {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
}

.gallery-tabs button {
  min-height: 58px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 820;
}

.gallery-tabs button[aria-selected="true"] {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.gallery-nav {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
}

.gallery-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 19px;
}

.gallery-nav button:hover {
  border-color: var(--yellow);
  color: var(--ink);
  background: var(--yellow);
}

.gallery-nav span {
  min-width: 62px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.gallery-track {
  display: grid;
  grid-auto-columns: minmax(290px, 39%);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 18px;
  background: #d6d1c8;
  scroll-snap-align: start;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card span {
  position: absolute;
  inset-inline: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(20, 20, 20, 0.78);
  backdrop-filter: blur(12px);
  text-align: start;
  font-size: 13px;
  font-weight: 750;
}

.confidentiality {
  max-width: 820px;
  margin: 30px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}

.brochure-contact {
  color: var(--white);
  background: var(--ink);
}

.brochure-stage {
  display: flex;
  min-height: 820px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 92px 76px;
  text-align: center;
}

.brochure-stage > .eyebrow {
  margin-bottom: 34px;
}

.brochure-preview {
  display: block;
  width: min(900px, 90%);
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}

.brochure-languages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: min(620px, 100%);
  margin: 46px auto 22px;
}

.brochure-languages button {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  min-height: 74px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.brochure-languages button:hover,
.brochure-languages button.is-active {
  border-color: var(--yellow);
  color: var(--ink);
  background: var(--yellow);
}

.brochure-languages strong {
  font-size: 18px;
}

.brochure-languages span {
  font-size: 11px;
}

.book-mockup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 7 / 5;
  transform: perspective(1300px) rotateX(3deg) rotateY(-3deg);
  filter: drop-shadow(0 40px 55px rgba(0, 0, 0, 0.48));
}

html[dir="rtl"] .book-mockup {
  transform: perspective(1300px) rotateX(3deg) rotateY(3deg);
}

.book-mockup__page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 8%;
  background: var(--paper);
}

.book-mockup__page--left {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(25, 24, 22, 0.98), rgba(25, 24, 22, 0.72)),
    url("/assets/projects/conception/selection-20260922-c05.jpg") center / cover;
}

.book-mockup__page--left img {
  width: 42%;
}

.book-mockup__page--left p {
  margin: 0;
  font-size: clamp(12px, 1.35vw, 21px);
  font-weight: 850;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.book-mockup__page--right {
  color: var(--ink);
  box-shadow: inset 8px 0 18px rgba(0, 0, 0, 0.12);
}

.book-mockup__page--right span {
  color: #8b7c68;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.book-mockup__page--right strong {
  font-size: clamp(24px, 3vw, 46px);
  line-height: 1.02;
}

.book-mockup__page--right em {
  color: var(--yellow);
  font-style: normal;
}

.references {
  padding-block: 62px 76px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.references > p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.reference-logo {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  padding: 18px 12px;
  color: #262626;
  background: #fff;
  text-align: center;
}

.reference-logo img {
  display: block;
  width: auto;
  max-width: 92%;
  height: auto;
  max-height: 78px;
  object-fit: contain;
}

.documents-block,
.project-request {
  color: var(--ink);
  background: #f4f4f2;
}

.documents-block {
  padding-block: 92px;
}

.documents-heading {
  max-width: 920px;
  margin-bottom: 48px;
}

.documents-heading h2,
.project-request h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.documents-heading > p:last-child,
.project-request__intro > p:last-of-type {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.documents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.document-card,
.contact-card {
  min-height: 330px;
  border: 1px solid #d8cec0;
  padding: 34px;
  text-decoration: none;
}

.document-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: var(--white);
}

.document-card__icon {
  color: var(--yellow);
  font-size: 42px;
  font-weight: 300;
}

.document-card strong,
.contact-card strong {
  display: block;
  font-size: 25px;
  line-height: 1.15;
}

.document-card p,
.contact-card p {
  margin: 18px 0 26px;
  color: var(--muted);
  line-height: 1.65;
}

.document-card b {
  color: #a76500;
  font-size: 14px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 24px;
  align-items: center;
  border-color: #383838;
  color: var(--white);
  background: var(--ink);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card a {
  display: inline-flex;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-card img {
  width: 132px;
  padding: 10px;
  background: var(--white);
}

.project-request {
  padding-block: 96px;
  border-top: 1px solid #dfddd7;
}

.project-request__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: start;
}

.project-request__intro {
  position: sticky;
  top: 28px;
}

.project-request__intro .button {
  margin-top: 38px;
}

.project-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #ddd4c6;
  background: var(--white);
}

.project-form label {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-inline-end: 1px solid #ddd4c6;
  border-bottom: 1px solid #ddd4c6;
  color: #524e48;
  font-size: 13px;
  font-weight: 700;
}

.project-form label:nth-child(even) {
  border-inline-end: 0;
}

.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  border: 1px solid #d8cec0;
  border-radius: 0;
  padding: 15px 16px;
  color: var(--ink);
  background: #f8f3ea;
  font: inherit;
  font-size: 16px;
}

.project-form textarea {
  min-height: 140px;
  resize: vertical;
}

.project-form__message,
.project-form__submit {
  grid-column: 1 / -1;
}

.project-form__message {
  border-inline-end: 0 !important;
}

.project-form__submit {
  padding: 24px;
}

.contact-band {
  color: var(--ink);
  background: var(--yellow);
}

.contact-band__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
  padding-block: 74px;
}

.contact-band p {
  margin-top: 18px;
  color: #584b36;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.text-link {
  text-underline-offset: 4px;
}

.site-footer {
  min-height: 290px;
  padding-block: 54px;
  color: rgba(255, 255, 255, 0.65);
  background: var(--ink);
  font-size: 13px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: 70px;
}

.site-footer img {
  width: min(620px, 100%);
}

.site-footer__contact {
  display: grid;
  gap: 24px;
  padding-inline-start: 54px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__contact p,
.site-footer__contact a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  align-items: start;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.55;
  text-decoration: none;
}

.site-footer__contact p > span:first-child,
.site-footer__contact a > span:first-child {
  color: var(--yellow);
}

dialog {
  max-width: none;
  max-height: none;
  border: 0;
  padding: 0;
  color: var(--white);
  background: rgba(12, 12, 12, 0.96);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.lightbox {
  width: 100vw;
  height: 100dvh;
}

.lightbox figure {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  margin: 0;
  padding: 58px 72px 44px;
}

.lightbox figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 118px);
  object-fit: contain;
}

.lightbox figcaption {
  position: absolute;
  bottom: 20px;
  inset-inline: 80px;
  text-align: center;
  font-size: 13px;
}

.modal-close,
.lightbox__nav,
.flipbook-modal__bar button {
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.modal-close {
  position: fixed;
  z-index: 3;
  top: 16px;
  inset-inline-end: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 24px;
}

.lightbox__nav {
  position: fixed;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 60px;
  transform: translateY(-50%);
  font-size: 23px;
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

.flipbook-modal {
  width: min(1500px, 100vw);
  height: min(980px, 100dvh);
}

.flipbook-modal__bar {
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-inline: 18px 8px;
  color: var(--white);
  background: var(--ink);
}

.flipbook-modal__bar strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.flipbook-modal__bar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flipbook-modal__bar a {
  color: var(--yellow);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.flipbook-modal__bar button {
  width: 40px;
  height: 40px;
  font-size: 23px;
}

.flipbook-modal iframe {
  display: block;
  width: 100%;
  height: calc(100% - 54px);
  border: 0;
  background: #151515;
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 28px, 1260px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .hero__veil {
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.4));
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    min-height: 720px;
    padding-block: 70px 90px;
  }

  .hero__lower {
    position: relative;
    grid-template-columns: 1fr;
  }

  .hero__stages {
    margin-inline: 14px;
  }

  .hero__partner {
    min-height: 180px;
    padding: 28px;
  }

  .section-heading,
  .contact-band__inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .service-grid article {
    min-height: auto;
  }

  .service-grid h3 {
    margin-top: 20px;
  }

  .gallery-track {
    grid-auto-columns: minmax(260px, 72%);
  }

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

  .documents-grid,
  .project-request__grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .documents-grid {
    max-width: 680px;
    margin-inline: auto;
  }

  .document-card,
  .contact-card {
    min-height: 270px;
  }

  .project-request__intro {
    position: static;
  }

  .site-footer__contact {
    padding-block-start: 38px;
    padding-inline-start: 0;
    border-block-start: 1px solid rgba(255, 255, 255, 0.14);
    border-inline-start: 0;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
  }

  .hero__image {
    object-position: 63% center;
  }

  .hero__veil {
    background:
      linear-gradient(0deg, rgba(18, 18, 18, 0.94), rgba(18, 18, 18, 0.54) 72%, rgba(18, 18, 18, 0.38)),
      linear-gradient(90deg, rgba(18, 18, 18, 0.55), transparent);
  }

  .site-header {
    gap: 12px;
    padding-block: 18px;
  }

  .brand img {
    width: 128px;
  }

  .language-switcher {
    gap: 2px;
  }

  .language-switcher button {
    width: 34px;
    height: 31px;
    font-size: 11px;
  }

  .hero__content {
    min-height: 680px;
    justify-content: flex-end;
    padding-block: 60px 60px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.5vw, 52px);
    line-height: 0.94;
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero__stages {
    grid-template-columns: 1fr;
    margin: 0;
  }

  .hero__stages article {
    min-height: 106px;
    padding: 18px 22px;
    border-block-start: 1px solid rgba(255, 255, 255, 0.13);
    border-inline-start: 0;
  }

  .hero__partner {
    min-height: 214px;
    padding: 22px 16px;
  }

  .hero__partner > div {
    padding: 16px;
  }

  .hero__partner > b {
    width: 72px;
    font-size: 9px;
  }

  .portfolio {
    padding-block: 76px;
  }

  .section-heading h2,
  .brochure-copy h2,
  .contact-band h2 {
    font-size: clamp(37px, 11vw, 52px);
  }

  .service-grid {
    margin-top: 42px;
  }

  .gallery-panel {
    margin-top: 52px;
  }

  .gallery-toolbar {
    align-items: center;
  }

  .gallery-tabs {
    width: 100%;
    justify-content: center;
  }

  .gallery-tabs button {
    flex: 0 1 auto;
    min-height: 52px;
    padding: 12px 19px;
    text-align: center;
    font-size: 14px;
  }

  .gallery-nav {
    align-self: center;
  }

  .gallery-nav span {
    display: none;
  }

  .gallery-card {
    min-height: 330px;
  }

  .brochure-stage {
    min-height: 650px;
    padding-block: 70px 60px;
  }

  .brochure-preview {
    width: 100%;
  }

  .book-mockup {
    transform: none;
  }

  .brochure-languages {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 34px;
  }

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

  .references {
    padding-block: 52px;
  }

  .documents-block,
  .project-request {
    padding-block: 70px;
  }

  .documents-heading h2,
  .project-request h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .contact-card {
    grid-template-columns: 1fr 104px;
    padding: 26px;
  }

  .contact-card img {
    width: 104px;
  }

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

  .project-form label,
  .project-form label:nth-child(even) {
    border-inline-end: 0;
  }

  .project-form__message,
  .project-form__submit {
    grid-column: auto;
  }

  .contact-band__inner {
    padding-block: 58px;
  }

  .site-footer {
    padding-block: 36px;
  }

  .site-footer img {
    width: 100%;
  }

  .lightbox figure {
    padding: 62px 12px 68px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .lightbox__nav--prev {
    left: 16px;
  }

  .lightbox__nav--next {
    right: 16px;
  }

  .lightbox figcaption {
    bottom: 26px;
    inset-inline: 74px;
  }

  .flipbook-modal__bar strong {
    display: none;
  }

  .flipbook-modal__bar {
    justify-content: flex-end;
  }
}

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