:root {
  --bg-page: #fbfaf6;
  --bg-surface: #f2ede5;
  --bg-elevated: #fffdf8;
  --bg-accent: #566552;
  --bg-accent-hover: #465642;
  --bg-warm: #927151;
  --bg-muted: #e3d9cb;
  --text-primary: #191816;
  --text-secondary: #675c52;
  --text-muted: #81776e;
  --text-inverse: #ffffff;
  --text-inverse-muted: rgb(255 255 255 / 0.84);
  --border: #ddd2c4;
  --border-strong: #c9b9a6;
  --focus: #315f47;
  --shadow-soft: 0 18px 46px rgb(25 24 22 / 0.12);
  --shadow-card: 0 24px 70px rgb(25 24 22 / 0.15);
  --content-max: 1296px;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-duration: 720ms;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.is-menu-open {
  overflow: hidden;
}

main,
section,
header,
footer {
  max-width: 100%;
}

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

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--text-inverse);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

.site-header {
  display: grid;
  grid-template-columns: 180px 1fr 190px;
  gap: 24px;
  align-items: center;
  min-height: 88px;
  padding: 20px clamp(24px, 5vw, 72px);
  background: rgb(251 250 246 / 0.92);
  backdrop-filter: blur(18px);
}

.site-logo,
.footer__logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.site-logo img,
.footer__logo img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
}

.site-nav,
.footer__nav,
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
}

.site-nav a,
.footer__nav a,
.site-cta,
.text-link {
  position: relative;
  transition: color 180ms ease;
}

.site-nav__brand,
.site-nav__request {
  display: none;
}

.site-nav__contacts {
  display: none;
}

.site-nav a::after,
.footer__nav a::after,
.site-cta::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--motion-ease);
}

.site-nav a:hover,
.footer__nav a:hover,
.site-cta:hover,
.text-link:hover {
  color: var(--text-primary);
}

.site-nav a:hover::after,
.footer__nav a:hover::after,
.site-cta:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.site-cta,
.text-link {
  justify-self: end;
  color: var(--text-primary);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-transform: uppercase;
}

.site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 20px;
  border: 1px solid var(--bg-accent);
  border-radius: 999px;
  background: var(--bg-accent);
  box-shadow: 0 14px 30px rgb(86 101 82 / 0.26);
  color: var(--text-inverse);
  text-align: center;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 240ms var(--motion-ease);
}

.site-cta:hover {
  border-color: var(--bg-accent-hover);
  background: var(--bg-accent-hover);
  box-shadow: 0 18px 38px rgb(70 86 66 / 0.32);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.site-cta::after {
  display: none;
}

.messages {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 20;
}

.message {
  margin: 0;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--bg-accent);
  box-shadow: var(--shadow-soft);
  color: var(--text-inverse);
  font-family: Inter, sans-serif;
  font-size: 13px;
}

.hero,
.intro-band,
.categories,
.projects,
.examples,
.process,
.request,
.contacts,
.footer,
.page,
.category-hero,
.category-description {
  padding-right: clamp(24px, 5vw, 72px);
  padding-left: clamp(24px, 5vw, 72px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding-top: clamp(64px, 10vh, 116px);
  padding-bottom: clamp(84px, 12vh, 144px);
  isolation: isolate;
  color: var(--text-inverse);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgb(25 24 22 / 0.76) 0%, rgb(25 24 22 / 0.48) 44%, rgb(25 24 22 / 0.16) 100%),
    linear-gradient(180deg, rgb(25 24 22 / 0.26) 0%, rgb(25 24 22 / 0.1) 46%, rgb(25 24 22 / 0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--bg-accent);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 18px;
  text-transform: uppercase;
}

.hero h1,
.category-hero h1,
.page h1 {
  max-width: 100%;
  margin-bottom: 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 6.2vw, 88px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.96;
  overflow-wrap: break-word;
}

.hero__text,
.section-head p,
.request > div > p,
.contacts p,
.page__intro,
.rich-text,
.category-description p {
  max-width: 620px;
  color: var(--text-secondary);
  font-family: Inter, sans-serif;
  font-size: 17px;
  line-height: 29px;
  overflow-wrap: break-word;
}

.hero .eyebrow {
  color: rgb(255 255 255 / 0.82);
}

.hero h1 {
  color: var(--text-inverse);
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.22);
}

.hero .hero__text {
  color: rgb(255 255 255 / 0.86);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 9px 13px;
  border: 1px solid rgb(255 255 255 / 0.26);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  color: rgb(255 255 255 / 0.9);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 17px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 240ms var(--motion-ease);
}

.button--primary {
  background: var(--bg-accent);
  color: var(--text-inverse);
}

.button--secondary {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button--primary:hover {
  background: var(--bg-accent-hover);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.trust-card {
  position: absolute;
  right: clamp(24px, 7vw, 110px);
  bottom: 44px;
  display: grid;
  grid-template-columns: 68px 1fr;
  width: min(360px, calc(100% - 48px));
  padding: 24px;
  background: var(--bg-warm);
  color: var(--text-inverse);
  border-radius: 10px;
}

.trust-card strong {
  font-family: "Montserrat", Georgia, serif;
  font-size: 58px;
  font-weight: 300;
  line-height: 0.9;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.22);
 
}

.trust-card span {
  align-self: center;
  font-size: 19px;
  font-weight: 700;
  padding-left: 8px;
}

.trust-card p {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  color: var(--text-inverse-muted);
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 21px;
  overflow-wrap: break-word;
  font-style: italic;
}

.intro-band,
.projects,
.contacts {
  background: var(--bg-surface);
}

.intro-band,
.categories,
.projects,
.examples,
.process,
.request,
.contacts,
.category-description {
  padding-top: 74px;
  padding-bottom: 82px;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(360px, 1fr);
  gap: 60px;
}

.intro-band h2,
.section-head h2,
.request h2,
.contacts h2,
.category-description h2 {
  margin-bottom: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.principles article {
  padding-top: 18px;
  border-top: 1px solid var(--border-strong);
}

.principles h3,
.tile-title {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 29px;
}

.principles p,
.image-card p,
.example-card span,
.empty-state p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 23px;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(320px, 720px) minmax(260px, 440px);
  justify-content: space-between;
  gap: 44px;
  align-items: end;
  margin-bottom: 52px;
}

.section-actions {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.section-actions p {
  margin: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: minmax(420px, 2fr) repeat(2, minmax(220px, 1fr));
  grid-template-rows: 260px 250px;
  gap: 24px;
}

.image-card,
.project-card,
.album-card,
.example-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-muted);
  transition:
    box-shadow 240ms ease,
    transform 260ms var(--motion-ease);
}

.image-card {
  min-height: 250px;
  padding: 24px;
  color: var(--text-inverse);
}

.image-card--large {
  grid-row: span 2;
}

.image-card--wide {
  grid-column: span 2;
}

.image-card::after,
.project-card::after,
.album-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgb(25 24 22 / 0.18) 0%, rgb(25 24 22 / 0.2) 38%, rgb(25 24 22 / 0.78) 100%),
    linear-gradient(90deg, rgb(25 24 22 / 0.28) 0%, rgb(25 24 22 / 0.02) 64%);
  pointer-events: none;
}

.image-card img,
.project-card img,
.album-card img,
.example-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--motion-ease), filter 520ms ease;
}

.image-card img {
  position: absolute;
  inset: 0;
}

.image-card span,
.image-card p {
  position: relative;
  z-index: 1;
}

.image-card span {
  display: block;
  margin-top: min(290px, 32vh);
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.image-card--wide span,
.image-card:not(.image-card--large) span {
  margin-top: 124px;
}

.image-card p {
  max-width: 330px;
  margin-top: 8px;
  color: rgb(255 255 255 / 0.9);
  font-weight: 700;
}

.image-card:hover,
.project-card:hover,
.album-card:hover,
.example-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.image-card:hover img,
.project-card:hover img,
.album-card:hover img,
.example-card:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.035);
}

.project-grid,
.album-grid,
.example-grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card,
.album-card {
  display: block;
  min-height: 520px;
  color: var(--text-inverse);
}

.project-card h3,
.project-card p,
.album-card div {
  position: absolute;
  right: 24px;
  left: 24px;
  z-index: 1;
}

.project-card h3 {
  bottom: 54px;
  margin-bottom: 0;
  font-size: 24px;
  line-height: 31px;
}

.project-card p {
  bottom: 25px;
  margin-bottom: 0;
  color: rgb(255 255 255 / 0.88);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-transform: uppercase;
}

.example-card {
  display: grid;
  grid-template-rows: 280px 1fr;
  background: var(--bg-elevated);
}

.example-card img {
  height: 280px;
}

.example-card div {
  padding: 24px;
}

.example-card p,
.album-card p {
  margin-bottom: 10px;
  color: var(--bg-accent);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-transform: uppercase;
}

.example-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 29px;
}

.process__body {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(360px, 1fr);
  gap: 52px;
  align-items: center;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid var(--border);
  font-size: 21px;
  font-weight: 700;
  line-height: 28px;
}

.steps span {
  color: var(--text-muted);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.process__body img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.request {
  display: grid;
  grid-template-columns: minmax(320px, 540px) minmax(360px, 640px);
  justify-content: space-between;
  gap: 56px;
}

.request--early {
  background: var(--bg-accent);
  color: var(--text-inverse);
}

.request--early .eyebrow,
.request--early p {
  color: rgb(255 255 255 / 0.82);
}

.request--early > div > p {
  color: rgb(255 255 255 / 0.82);
}

.request--early .request-form {
  box-shadow: var(--shadow-soft);
}

.request--early .request-form p,
.request--early .request-form label {
  color: var(--text-secondary);
}

.request--early .request-form .field-error {
  color: var(--bg-warm);
}

.hero > *,
.intro-band > *,
.section-head > *,
.request > *,
.contacts > *,
.category-hero > *,
.category-description > * {
  min-width: 0;
}

.request h2,
.contacts h2 {
  margin-bottom: 28px;
}

.request-form {
  display: grid;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.field {
  display: grid;
  gap: 9px;
}

.field label {
  color: var(--text-secondary);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.request-form input,
.request-form textarea,
.request-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.request-form textarea {
  resize: vertical;
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: var(--text-muted);
}

.request-form input:focus,
.request-form textarea:focus,
.request-form select:focus {
  border-color: var(--bg-accent);
  background: var(--bg-elevated);
}

.request-form input[aria-invalid="true"] {
  border-color: var(--bg-warm);
}

.field-error {
  margin: 0;
  color: var(--bg-warm);
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 18px;
}

.form-note {
  margin: -4px 0 0;
  color: var(--text-secondary);
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 18px;
}

.contacts,
.category-description {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(360px, 1fr);
  gap: 56px;
}

.map-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--bg-muted);
}

.map-card iframe {
  width: 100%;
  height: 460px;
  border: 0;
}

.map-card__link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
  color: var(--text-primary);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
  text-transform: uppercase;
}

.footer {
  position: relative;
  display: grid;
  gap: 26px;
  padding-top: 34px;
  padding-bottom: 30px;
  background: var(--bg-page);
}

.footer::before {
  position: absolute;
  top: 0;
  right: clamp(24px, 5vw, 72px);
  left: clamp(24px, 5vw, 72px);
  max-width: 1120px;
  margin: 0 auto;
  content: "";
  border-top: 1px solid var(--border);
}

.footer__main,
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  gap: 28px;
}

.footer__brand {
  display: grid;
  max-width: 420px;
  gap: 14px;
}

.footer__brand p,
.footer__contacts,
.footer__copy,
.footer__legal {
  margin: 0;
  color: var(--text-secondary);
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 20px;
}

.footer__contacts {
  display: grid;
  gap: 6px;
}

.footer__contacts a {
  color: var(--text-primary);
  font-weight: 800;
}

.footer__actions {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 12px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 240ms var(--motion-ease);
}

.footer__cta:hover {
  border-color: var(--bg-accent);
  background: var(--bg-accent);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.footer__bottom {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.footer__legal {
  justify-self: end;
  text-align: right;
}

.page {
  min-height: 70vh;
  padding-top: 70px;
  padding-bottom: 96px;
}

.page h1 {
  max-width: 820px;
}

.category-filter {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 34px;
}

.category-filter a {
  min-height: 42px;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
}

.category-filter a.is-active {
  border-color: var(--bg-accent);
  background: var(--bg-accent);
  color: var(--text-inverse);
}

.album-grid,
.photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 52px;
}

.album-card {
  min-height: 430px;
}

.album-card div {
  bottom: 24px;
}

.album-card h2 {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 33px;
}

.album-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-muted), var(--bg-surface));
}

.album-detail__description {
  max-width: 760px;
  margin-top: 32px;
  color: var(--text-secondary);
  font-family: Inter, sans-serif;
  font-size: 17px;
  line-height: 29px;
}

.photo-grid figure {
  margin: 0;
}

.photo-grid img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: filter 360ms ease, transform 520ms var(--motion-ease);
}

.photo-grid figure:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: translateY(-3px);
}

.photo-grid figcaption {
  margin-top: 12px;
  color: var(--text-secondary);
  font-family: Inter, sans-serif;
  font-size: 13px;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 36px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.empty-state h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 36px;
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 0.7fr);
  gap: 56px;
  align-items: center;
  padding-top: 62px;
  padding-bottom: 84px;
}

.category-hero img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.rich-text {
  max-width: 780px;
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.motion-ready .reveal {
  opacity: 1;
  transform: translateY(18px);
  transition:
    opacity var(--motion-duration) var(--motion-ease) var(--reveal-delay, 0ms),
    transform var(--motion-duration) var(--motion-ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.motion-ready .image-card.reveal,
.motion-ready .project-card.reveal,
.motion-ready .album-card.reveal,
.motion-ready .example-card.reveal,
.motion-ready .photo-grid figure.reveal {
  opacity: 1;
  transform: translateY(24px) scale(0.985);
}

.motion-ready .image-card.reveal.is-visible,
.motion-ready .project-card.reveal.is-visible,
.motion-ready .album-card.reveal.is-visible,
.motion-ready .example-card.reveal.is-visible,
.motion-ready .photo-grid figure.reveal.is-visible {
  transform: translateY(0) scale(1);
}

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

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 160px 1fr;
    gap: 18px 24px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-cta {
    grid-column: 2;
    justify-self: start;
  }

  .hero {
    min-height: 760px;
  }

  .trust-card {
    right: clamp(24px, 5vw, 72px);
    bottom: 32px;
  }

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

  .image-card,
  .image-card--large,
  .image-card--wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 330px;
  }

  .image-card--large,
  .image-card--wide {
    grid-column: span 2;
  }

  .image-card span,
  .image-card--wide span,
  .image-card:not(.image-card--large) span {
    margin-top: 188px;
  }

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

@media (max-width: 820px) {
  .intro-band,
  .section-head--split,
  .process__body,
  .request,
  .contacts,
  .footer,
  .category-hero,
  .category-description,
  .album-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .principles,
  .project-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .section-actions {
    gap: 14px;
  }

  .category-hero img {
    height: 460px;
    min-height: 0;
  }

  .project-card,
  .album-card {
    min-height: 360px;
  }

  .projects .project-grid > .project-card:nth-child(n + 5),
  .projects .project-grid > .project-card:nth-of-type(n + 5) {
    display: none;
  }

  .photo-grid img {
    height: 420px;
  }

  .footer__main,
  .footer__bottom {
    align-items: flex-start;
  }

  .footer__main,
  .footer__actions,
  .footer__bottom {
    display: grid;
    justify-items: start;
  }

  .footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
    position: relative;
  }

  .site-header.is-menu-open {
    z-index: 40;
  }

  .site-header.is-menu-open::before {
    position: fixed;
    inset: 0;
    z-index: 30;
    content: "";
    background: rgb(25 24 22 / 0.42);
    backdrop-filter: blur(6px);
  }

  .site-logo {
    justify-self: start;
  }

  .site-logo img {
    height: 38px;
  }

  .menu-toggle {
    position: relative;
    z-index: 42;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    min-height: 42px;
    padding: 11px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--text-primary);
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
  }

  .menu-toggle[aria-expanded="true"] {
    border-color: var(--bg-accent);
    background: var(--bg-accent);
    color: var(--text-inverse);
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 18px;
    left: 18px;
    z-index: 41;
    display: none;
    gap: 0;
    justify-content: stretch;
    width: auto;
    max-height: calc(100dvh - 104px);
    margin-top: 0;
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--bg-elevated);
    box-shadow: 0 28px 90px rgb(25 24 22 / 0.28);
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 13px;
    line-height: 18px;
    text-align: center;
  }

  .site-nav__brand {
    display: inline-flex;
    justify-self: center;
    width: auto;
    min-height: auto;
    margin-bottom: 6px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--border);
  }

  .site-nav__brand img {
    width: auto;
    height: 42px;
    object-fit: contain;
  }

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

  .site-nav a:nth-last-of-type(1) {
    border-bottom: 0;
  }

  .site-header.is-menu-open .site-nav {
    display: grid;
  }

  .site-cta {
    display: none;
  }

  .site-nav__request {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    border: 0;
    border-radius: 999px;
    background: var(--bg-accent);
    box-shadow: 0 14px 32px rgb(86 101 82 / 0.24);
    color: var(--text-inverse) !important;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
  }

  .site-nav a.site-nav__request {
    min-height: 52px;
  }

  .site-nav__contacts {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding: 14px 10px 14px;
    color: var(--text-secondary);
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    text-transform: none;
  }

  .site-nav__contacts a {
    min-height: auto;
    padding: 0;
    border-bottom: 0;
    color: var(--text-primary);
    font-size: 13px;
    line-height: 20px;
  }

  .hero,
  .intro-band,
  .categories,
  .projects,
  .examples,
  .process,
  .request,
  .contacts,
  .footer,
  .page,
  .category-hero,
  .category-description {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    display: grid;
    align-content: end;
    min-height: 640px;
    padding-top: 44px;
    padding-bottom: 22px;
  }

  .hero h1,
  .category-hero h1,
  .page h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero__text,
  .section-head p,
  .request > div > p,
  .contacts p,
  .page__intro,
  .rich-text,
  .category-description p {
    font-size: 15px;
    line-height: 25px;
  }

  .button {
    width: 100%;
  }

  .button--secondary {
    min-height: 48px;
    border-color: rgb(255 255 255 / 0.38);
    background: rgb(255 255 255 / 0.92);
  }

  .hero-facts {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-facts li {
    min-height: 32px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .hero__actions {
    display: grid;
    width: 100%;
    gap: 10px;
    margin-top: 22px;
  }

  .category-hero img {
    width: calc(100vw - 36px);
    height: 380px;
  }

  .trust-card {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    margin-top: 20px;
    padding: 18px;
    grid-template-columns: 54px 1fr;
  }

  .trust-card strong {
    font-size: 46px;
  }

  .trust-card span {
    font-size: 16px;
  }

  .trust-card p {
    margin-top: 10px;
    font-size: 12px;
    line-height: 18px;
  }

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

  .image-card,
  .image-card--large,
  .image-card--wide {
    grid-column: auto;
    min-height: 270px;
  }

  .image-card span,
  .image-card--wide span,
  .image-card:not(.image-card--large) span {
    margin-top: 128px;
  }

  .intro-band,
  .categories,
  .projects,
  .examples,
  .process,
  .request,
  .contacts,
  .category-description {
    padding-top: 54px;
    padding-bottom: 60px;
  }

  .section-head--split {
    gap: 24px;
    margin-bottom: 32px;
  }

  .intro-band h2,
  .section-head h2,
  .request h2,
  .contacts h2,
  .category-description h2 {
    font-size: 34px;
    line-height: 1.04;
  }

  .principles {
    gap: 18px;
  }

  .project-card,
  .album-card {
    min-height: 320px;
  }

  .project-card h3 {
    bottom: 50px;
    font-size: 21px;
    line-height: 27px;
  }

  .project-card p {
    bottom: 22px;
  }

  .footer {
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .footer::before {
    right: 18px;
    left: 18px;
  }

  .footer__logo img {
    height: 38px;
  }

  .footer__main,
  .footer__actions,
  .footer__bottom,
  .footer__brand {
    justify-items: center;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .footer__main,
  .footer__bottom {
    gap: 20px;
  }

  .footer__brand {
    max-width: 320px;
    margin: 0 auto;
  }

  .footer__nav {
    justify-content: center;
    gap: 14px;
  }

  .footer__legal {
    justify-self: center;
    max-width: 320px;
    text-align: center;
  }

  .footer__cta {
    width: min(100%, 320px);
  }

  .request-form,
  .empty-state {
    padding: 24px;
  }

  .map-card,
  .map-card iframe {
    min-height: 360px;
    height: 360px;
  }
}
