:root {
  --ink: #171c1c;
  --ink-soft: #2c3433;
  --paper: #f3f1ea;
  --white: #ffffff;
  --yellow: #f5d21f;
  --yellow-dark: #caa900;
  --stone: #d9d5ca;
  --muted: #68716f;
  --header: #171c1c;
  --line: rgba(23, 28, 28, 0.14);
  --radius: 1.25rem;
  --shadow: 0 24px 70px rgba(9, 13, 13, 0.18);
  --container: min(1180px, calc(100vw - 3rem));
}

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

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 6rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

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

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.3rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  transform: translateY(-150%);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}

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

.topbar {
  color: #dfe3e1;
  background: var(--ink);
  font-size: 0.82rem;
}

.topbar__inner,
.topbar__contacts {
  display: flex;
  align-items: center;
}

.topbar__inner {
  min-height: 2.45rem;
  justify-content: space-between;
  gap: 1.5rem;
}

.topbar__contacts {
  gap: 0.85rem;
  margin-left: auto;
  font-weight: 650;
}

.topbar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar__icon {
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  opacity: 0.68;
}

.topbar a {
  transition: color 180ms ease;
}

.topbar a:hover,
.topbar a:focus-visible {
  color: var(--yellow);
}

.topbar__email {
  color: var(--yellow);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(23, 28, 28, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  min-height: 5.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: block;
  flex: 0 0 auto;
  transform: translateY(-0.5rem);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  color: var(--white);
}

.site-nav > a:not(.button) {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--yellow);
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle__icon {
  display: grid;
  width: 1.6rem;
  gap: 5px;
}

.menu-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button svg {
  width: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.button--small {
  min-height: 2.7rem;
  padding: 0.65rem 1.05rem;
  font-size: 0.8rem;
}

.button--yellow {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 10px 28px rgba(245, 210, 31, 0.15);
}

.button--yellow:hover,
.button--yellow:focus-visible {
  background: #ffe44c;
  box-shadow: 0 14px 35px rgba(245, 210, 31, 0.24);
}

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

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow--dark {
  color: #8d7600;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 20%, rgba(245, 210, 31, 0.11), transparent 25rem),
    linear-gradient(120deg, #222928 0%, #2f3836 100%);
}

.hero::after {
  position: absolute;
  right: -9rem;
  bottom: -15rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(255, 255, 255, 0.018), 0 0 0 10rem rgba(255, 255, 255, 0.014);
  content: "";
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(2.5rem, 4vw, 3.5rem) clamp(4rem, 6vw, 5.5rem);
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.65rem;
  font-size: clamp(2.85rem, 5vw, 5rem);
  font-weight: 730;
  letter-spacing: -0.07em;
}

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

.hero__lead {
  max-width: 620px;
  margin-bottom: 2rem;
  color: #cad0ce;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__proof {
  display: grid;
  max-width: 680px;
  margin: 3.2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.hero__proof li {
  display: grid;
  gap: 0.15rem;
  padding-inline: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__proof li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__proof strong {
  font-size: 0.95rem;
}

.hero__proof span {
  color: #9fa8a5;
  font-size: 0.76rem;
}

.hero__visual {
  position: relative;
}

.hero__image-wrap {
  position: relative;
  overflow: visible;
  transform: rotate(1.5deg);
}

.hero__image-wrap::before {
  position: absolute;
  z-index: -1;
  top: -1.1rem;
  right: -1.1rem;
  width: 72%;
  height: 65%;
  border: 3px solid var(--yellow);
  content: "";
}

.hero__image-wrap > img {
  width: 100%;
  height: 520px;
  border-radius: 0.25rem;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero__image-tag {
  position: absolute;
  right: -1.2rem;
  bottom: 2rem;
  display: flex;
  max-width: 260px;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  transform: rotate(-1.5deg);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  line-height: 1.35;
}

.hero__image-tag-icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}

.hero__image-tag span:last-child {
  display: grid;
  font-size: 0.78rem;
}

.hero__image-tag strong {
  font-size: 0.88rem;
}

.hero__stamp {
  position: absolute;
  bottom: -3rem;
  left: -3.3rem;
  display: grid;
  width: 7.3rem;
  height: 7.3rem;
  place-content: center;
  transform: rotate(-8deg);
  border: 2px solid rgba(245, 210, 31, 0.72);
  border-radius: 50%;
  color: var(--yellow);
  background: var(--ink);
  text-align: center;
}

.hero__stamp strong {
  font-size: 2rem;
  line-height: 1;
}

.hero__stamp span {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section {
  padding-block: clamp(3.75rem, 6.5vw, 6rem);
}

.intro {
  background: var(--paper);
}

.intro__grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  gap: clamp(3rem, 8vw, 7.5rem);
}

.intro__media {
  position: relative;
  min-height: 650px;
}

.intro__image {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--stone);
  box-shadow: 0 24px 60px rgba(30, 37, 36, 0.16);
}

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

.intro__image--large {
  inset: 0 18% 7% 0;
}

.intro__image--small {
  right: 0;
  bottom: 0;
  width: 44%;
  height: 47%;
  border: 8px solid var(--paper);
}

.intro__badge {
  position: absolute;
  top: 2rem;
  right: 4%;
  display: grid;
  width: 9rem;
  min-height: 7.5rem;
  align-content: center;
  padding: 1.1rem;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 12px 12px 0 var(--ink);
  line-height: 1.25;
}

.intro__badge strong {
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.intro__badge span {
  font-size: 0.75rem;
}

.intro__copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.03rem;
}

.check-list {
  display: grid;
  margin: 2rem 0;
  padding: 0;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  place-items: center;
  border-radius: 50%;
  content: "✓";
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--yellow);
  font-weight: 750;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(0.35rem);
}

.services {
  background: var(--white);
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 4rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.48fr);
  gap: 3rem;
}

.section-heading h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.services__grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  min-height: 360px;
  padding: 2.4rem;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease, background-color 220ms ease;
}

.service-card::after {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  content: "";
  background: var(--yellow);
  opacity: 0;
  transition: transform 300ms ease, opacity 180ms ease;
}

.service-card:hover {
  color: var(--white);
  background: var(--ink);
}

.service-card:hover::after {
  transform: scale(1.25);
  opacity: 1;
}

.service-card__number {
  position: absolute;
  top: 1.8rem;
  right: 2rem;
  color: #a8afad;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.service-card__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 4.5rem;
  fill: none;
  stroke: #8a7400;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transition: stroke 220ms ease;
}

.service-card:hover .service-card__icon {
  stroke: var(--yellow);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 220ms ease;
}

.service-card:hover p {
  color: #c8cfcd;
}

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

.section-heading--projects > p {
  color: #aeb6b3;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.project-card {
  padding: 1.1rem;
  color: var(--ink);
  background: var(--paper);
}

.project-card__heading {
  display: grid;
  align-items: baseline;
  padding: 0.55rem 0.35rem 1.3rem;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
}

.project-card__heading > span {
  color: #8b7500;
  font-size: 0.7rem;
  font-weight: 850;
}

.project-card__heading h3,
.project-card__heading p {
  margin: 0;
}

.project-card__heading h3 {
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.project-card__heading p {
  color: var(--muted);
  font-size: 0.74rem;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #c6c7c2;
  cursor: zoom-in;
}

.gallery-trigger::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.24), transparent 45%);
  pointer-events: none;
}

.gallery-trigger img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.gallery-trigger:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.045);
}

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

.comparison--portrait .gallery-trigger img {
  object-position: center 48%;
}

.image-label {
  position: absolute;
  z-index: 1;
  bottom: 0.7rem;
  left: 0.7rem;
  padding: 0.38rem 0.6rem;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.image-label--before {
  color: var(--white);
  background: rgba(23, 28, 28, 0.82);
}

.work-gallery {
  margin-top: 6rem;
}

.work-gallery__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  gap: 2rem;
}

.work-gallery__heading .eyebrow,
.work-gallery__heading h3 {
  margin-bottom: 0;
}

.work-gallery__heading h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
}

.work-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.work-gallery__grid .gallery-trigger {
  margin-top: 0;
}

.work-gallery__grid .gallery-trigger img {
  height: 340px;
}

.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.75rem, 6.5vw, 6rem);
  color: var(--white);
  background: #303736;
}

.contact::before {
  position: absolute;
  top: -15rem;
  left: -12rem;
  width: 35rem;
  height: 35rem;
  border: 1px solid rgba(245, 210, 31, 0.18);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 5rem rgba(245, 210, 31, 0.025), 0 0 0 10rem rgba(245, 210, 31, 0.015);
}

.contact__grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.63fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.contact__copy h2 {
  max-width: 10ch;
}

.contact__copy > p:not(.eyebrow) {
  max-width: 640px;
  color: #c7cfcc;
  font-size: 1.05rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  gap: 0.85rem;
}

.contact-card {
  display: grid;
  padding: clamp(1.7rem, 4vw, 3rem);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 16px 16px 0 var(--yellow);
  font-style: normal;
}

.contact-card__label {
  margin-bottom: 1.4rem;
  color: #8b7500;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-card__link,
.contact-card__address {
  display: grid;
  align-items: center;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
}

.contact-card__icon {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  color: #766300;
  background: linear-gradient(145deg, rgba(255, 239, 143, 0.28), rgba(245, 210, 31, 0.1));
  border: 1px solid rgba(139, 117, 0, 0.2);
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(67, 58, 12, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  place-items: center;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.contact-card__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.contact-card strong {
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.35;
}

.contact-card__link strong {
  transition: color 180ms ease;
}

.contact-card__link:hover strong,
.contact-card__link:focus-visible strong {
  color: #8b7500;
}

.contact-card__link:hover .contact-card__icon,
.contact-card__link:focus-visible .contact-card__icon {
  color: #6f5d00;
  background: rgba(245, 210, 31, 0.2);
  border-color: rgba(139, 117, 0, 0.22);
  transform: translateY(-1px);
}

.contact-card__address p {
  margin: 0;
  font-weight: 650;
  line-height: 1.5;
}

.site-footer {
  color: #c6cdca;
  background: #171c1c;
}

.site-footer__top {
  display: grid;
  align-items: center;
  padding-block: 3.5rem;
  grid-template-columns: auto 1fr auto;
  gap: 4rem;
}

.site-footer__brand img {
  width: 225px;
  height: auto;
}

.site-footer__brand {
  display: inline-block;
  width: fit-content;
  padding: 0;
  background: transparent;
}

.site-footer__details p {
  margin: 0;
  font-size: 0.78rem;
}

.site-footer__details strong {
  color: var(--white);
  font-size: 0.9rem;
}

.site-footer__nav {
  display: flex;
  gap: 1.6rem;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--yellow);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  gap: 2rem;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.7rem;
}

.lightbox {
  width: min(1100px, calc(100vw - 2rem));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--white);
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(7, 10, 10, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox figure {
  display: grid;
  margin: 0;
  justify-items: center;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox figcaption {
  display: grid;
  margin-top: 0.9rem;
  text-align: center;
}

.lightbox figcaption strong {
  font-size: 0.95rem;
}

.lightbox figcaption span {
  color: #aeb7b4;
  font-size: 0.78rem;
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  background: rgba(22, 28, 27, 0.8);
  cursor: pointer;
}

.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
}

.lightbox__nav {
  top: 50%;
  width: 3.6rem;
  height: 3.6rem;
  transform: translateY(-50%);
  font-size: 2.4rem;
  line-height: 1;
}

.lightbox__nav--previous {
  left: 1.25rem;
}

.lightbox__nav--next {
  right: 1.25rem;
}

.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay,
.reveal--delay-1 {
  transition-delay: 120ms;
}

.reveal--delay-2 {
  transition-delay: 220ms;
}

@media (max-width: 1050px) {
  :root {
    --container: min(100% - 2.5rem, 940px);
  }

  .site-header.is-scrolled {
    backdrop-filter: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    z-index: 90;
    top: calc(2.45rem + 5.6rem);
    right: 0;
    bottom: 0;
    display: grid;
    width: min(420px, 100%);
    align-content: start;
    padding: 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    background: var(--ink);
    color: var(--white);
    box-shadow: -20px 30px 50px rgba(0, 0, 0, 0.25);
    transition: transform 220ms ease;
  }

  .site-header.is-scrolled .site-nav {
    top: 5.6rem;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav > a:not(.button) {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1.25rem;
  }

  .site-nav > .button {
    justify-self: start;
    margin-top: 1rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
    gap: 3rem;
  }

  .hero__image-wrap > img {
    height: 470px;
  }

  .hero__stamp {
    left: -1.5rem;
  }

  .intro__media {
    min-height: 540px;
  }

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

  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 4rem;
  }

  .site-footer__top {
    grid-template-columns: auto 1fr;
    gap: 2rem 3rem;
  }

  .site-footer__nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  :root {
    --container: min(100% - 2rem, 680px);
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__contacts {
    margin-inline: auto;
  }

  .topbar__email {
    display: none;
  }

  .site-header__inner {
    min-height: 5rem;
  }

  .brand img {
    width: 210px;
  }

  .site-nav {
    top: calc(2.45rem + 5rem);
  }

  .site-header.is-scrolled .site-nav {
    top: 5rem;
  }

  .hero__grid,
  .intro__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    padding-block: 2.25rem 5rem;
  }

  .hero__content {
    max-width: 670px;
  }

  .hero__visual {
    width: calc(100% - 1rem);
    margin-left: auto;
  }

  .hero__image-wrap > img {
    height: auto;
    aspect-ratio: 16 / 11;
  }

  .hero__stamp {
    bottom: -2rem;
    left: -1.8rem;
    width: 6.4rem;
    height: 6.4rem;
  }

  .intro__media {
    min-height: 610px;
  }

  .intro__copy {
    padding-top: 1rem;
  }

  .section-heading {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-heading > p {
    max-width: 560px;
  }

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

  .work-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__copy h2 {
    max-width: 12ch;
  }

  .contact-card {
    max-width: 560px;
  }
}

@media (max-width: 600px) {
  :root {
    --container: calc(100% - 1.4rem);
  }

  .button {
    min-height: 2.9rem;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
  }

  .button svg {
    width: 0.9rem;
  }

  .button--small {
    min-height: 2.7rem;
    padding: 0.6rem 0.9rem;
    font-size: 0.75rem;
  }

  h2 {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
  }

  .topbar__contacts {
    gap: 0.55rem;
    font-size: 0.76rem;
  }

  .site-header__inner {
    gap: 1rem;
  }

  .brand img {
    width: min(190px, 54vw);
  }

  .menu-toggle__label {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .hero__proof {
    gap: 1rem 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__proof li {
    padding-inline: 0.85rem;
  }

  .hero__proof li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero__visual {
    width: calc(100% - 0.5rem);
  }

  .hero__image-wrap::before {
    top: -0.6rem;
    right: -0.6rem;
  }

  .hero__image-tag {
    right: -0.3rem;
    bottom: 1rem;
    max-width: 235px;
    padding: 0.75rem;
  }

  .hero__stamp {
    display: none;
  }

  .section,
  .contact {
    padding-block: 3.5rem;
  }

  .intro__media {
    min-height: 460px;
  }

  .intro__image--large {
    right: 10%;
  }

  .intro__image--small {
    width: 43%;
    height: 42%;
  }

  .intro__badge {
    top: 1.2rem;
    right: 0;
    width: 7.8rem;
    min-height: 6.5rem;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    min-height: 300px;
    padding: 2rem;
  }

  .service-card__icon {
    margin-bottom: 3.5rem;
  }

  .project-card {
    padding: 0.75rem;
  }

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

  .project-card__heading p {
    display: none;
  }

  .comparison {
    gap: 0.4rem;
  }

  .gallery-trigger img {
    height: 185px;
  }

  .work-gallery {
    margin-top: 4.5rem;
  }

  .work-gallery__heading {
    display: block;
  }

  .work-gallery__heading .eyebrow {
    margin-bottom: 0.7rem;
  }

  .work-gallery__grid {
    gap: 0.55rem;
  }

  .work-gallery__grid .gallery-trigger img {
    height: 230px;
  }

  .contact-card {
    margin-right: 0.7rem;
    box-shadow: 10px 10px 0 var(--yellow);
  }

  .contact-card__link,
  .contact-card__address {
    grid-template-columns: 3rem 1fr;
    gap: 0.75rem;
  }

  .contact-card__link--email strong {
    font-size: 0.95rem;
  }

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

  .site-footer__brand img {
    width: 220px;
  }

  .site-footer__nav {
    grid-column: auto;
    flex-wrap: wrap;
  }

  .site-footer__bottom {
    display: grid;
    gap: 0.4rem;
  }

  .lightbox__nav {
    top: auto;
    bottom: 1.2rem;
    width: 3rem;
    height: 3rem;
    transform: none;
  }

  .lightbox__nav--previous {
    left: calc(50% - 3.5rem);
  }

  .lightbox__nav--next {
    right: calc(50% - 3.5rem);
  }

  .lightbox figcaption {
    padding-bottom: 5rem;
  }
}

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

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

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