:root {
  --ink: #14110f;
  --paper: #f8f4ec;
  --paper-strong: #fffaf2;
  --stone: #747168;
  --line: #ded7ca;
  --granite: #242321;
  --copper: #8a5a3c;
  --moss: #456a42;
  --clay: #c6a06f;
  --shadow: rgba(20, 17, 15, 0.18);
  --font-body: "Noto Sans", "Segoe UI", Arial, sans-serif;
  --font-display: "Noto Serif Display", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

::selection {
  background: var(--ink);
  color: var(--paper-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 14px 36px;
  border-bottom: 1px solid rgba(222, 215, 202, 0.72);
  background: rgba(248, 244, 236, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--stone);
  font-size: 14px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(20, 17, 15, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.48);
}

.language-switcher a {
  display: grid;
  min-width: 34px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: var(--stone);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.language-switcher a:hover {
  color: var(--copper);
}

.language-switcher a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper-strong);
}

.nav a,
.header-call,
.site-footer a {
  transition: color 180ms ease, border-color 180ms ease;
}

.nav a:hover,
.header-call:hover,
.site-footer a:hover {
  color: var(--copper);
}

.header-call {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 620px;
  height: 82vh;
  max-height: 780px;
  overflow: hidden;
  background: var(--granite);
}

.hero__image,
.contact-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero__shade,
.contact-band__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.76), rgba(20, 17, 15, 0.16) 62%),
    linear-gradient(0deg, rgba(20, 17, 15, 0.52), rgba(20, 17, 15, 0.04) 54%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(760px, calc(100% - 48px));
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding-left: 7%;
  color: var(--paper-strong);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-band .eyebrow {
  color: var(--clay);
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 92px;
  line-height: 0.95;
}

h2 {
  margin-bottom: 20px;
  font-size: 52px;
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 250, 242, 0.88);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button--light {
  border-color: var(--paper-strong);
  background: var(--paper-strong);
  color: var(--ink);
}

.button--ghost {
  border-color: rgba(255, 250, 242, 0.72);
  color: var(--paper-strong);
}

.button--ghost:hover {
  background: rgba(255, 250, 242, 0.1);
}

.hero__note {
  position: absolute;
  right: 36px;
  bottom: 32px;
  z-index: 2;
  max-width: 280px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 250, 242, 0.34);
  border-radius: 8px;
  color: var(--paper-strong);
  background: rgba(20, 17, 15, 0.32);
  backdrop-filter: blur(14px);
}

.hero__note span {
  display: block;
  margin-bottom: 6px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__note strong {
  font-size: 16px;
  line-height: 1.35;
}

.intro-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  padding: 24px 36px;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper-strong);
}

.intro-strip p {
  margin: 0;
}

.intro-strip p:first-child {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.15;
}

.intro-strip p:last-child {
  color: rgba(255, 250, 242, 0.72);
}

.section {
  padding: 96px 36px;
}

.section--editorial,
.section--faq {
  background: var(--paper-strong);
}

.section--catalog {
  background: #ece6da;
}

.section--services {
  background: var(--ink);
  color: var(--paper-strong);
}

.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: start;
}

.text-flow p {
  margin-bottom: 18px;
  color: var(--stone);
}

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

.section--services .text-flow p,
.section--services p {
  color: rgba(255, 250, 242, 0.72);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading p {
  color: var(--stone);
}

.section-heading--narrow {
  max-width: 620px;
}

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

.work-card {
  overflow: hidden;
  border: 1px solid rgba(20, 17, 15, 0.1);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 40px rgba(20, 17, 15, 0.08);
}

.work-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--granite);
}

.work-card--tall figure {
  aspect-ratio: 3 / 4;
}

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

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.work-card__body {
  padding: 22px;
}

.work-card__type {
  margin-bottom: 8px;
  color: var(--moss);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-card__body p:not(.work-card__type) {
  color: var(--stone);
}

.text-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--copper);
  cursor: pointer;
  font-weight: 750;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 250, 242, 0.2);
  border: 1px solid rgba(255, 250, 242, 0.2);
}

.service-item {
  min-height: 280px;
  padding: 28px;
  background: var(--ink);
}

.service-item span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--clay);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 640px;
  background: var(--paper-strong);
}

.feature-band__image {
  min-height: 520px;
}

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

.feature-band__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.process-list span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper);
  font-weight: 800;
}

.process-list p,
.muted {
  color: var(--stone);
}

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

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.35;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--copper);
  font-size: 24px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-bottom: 22px;
  color: var(--stone);
}

.contact-band {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--granite);
}

.contact-band__shade {
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.82), rgba(20, 17, 15, 0.2) 68%),
    linear-gradient(0deg, rgba(20, 17, 15, 0.52), rgba(20, 17, 15, 0.08));
}

.contact-band__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(700px, calc(100% - 48px));
  min-height: 560px;
  flex-direction: column;
  justify-content: center;
  padding-left: 7%;
  color: var(--paper-strong);
}

.contact-band__content p {
  max-width: 560px;
  color: rgba(255, 250, 242, 0.78);
}

.contact-band__content .button {
  align-self: flex-start;
  margin-top: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  background: var(--ink);
  color: var(--paper-strong);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 250, 242, 0.66);
}

.site-footer div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.lightbox {
  width: min(1060px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  box-shadow: 0 32px 90px var(--shadow);
}

.lightbox::backdrop {
  background: rgba(20, 17, 15, 0.76);
}

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

.lightbox p {
  margin: 0;
  padding: 16px 20px 18px;
  font-weight: 800;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 250, 242, 0.48);
  border-radius: 50%;
  background: rgba(20, 17, 15, 0.58);
  color: var(--paper-strong);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

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

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

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 590px;
    height: 78vh;
  }

  h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 42px;
  }

  .catalog-grid,
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-band,
  .two-column {
    grid-template-columns: 1fr;
  }

  .feature-band__copy {
    padding: 60px 36px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

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

  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .brand__name {
    font-size: 22px;
  }

  .header-call {
    font-size: 14px;
  }

  .nav {
    gap: 18px;
    font-size: 13px;
  }

  .language-switcher a {
    min-width: 31px;
    height: 28px;
  }

  .hero {
    min-height: 560px;
    height: 76vh;
  }

  .hero__content,
  .contact-band__content {
    width: min(100% - 36px, 620px);
    padding-left: 18px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__note {
    display: none;
  }

  .intro-strip {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .intro-strip p:first-child {
    font-size: 24px;
  }

  .section {
    padding: 70px 18px;
  }

  .two-column {
    gap: 34px;
  }

  .catalog-grid,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .work-card--wide {
    grid-column: auto;
  }

  .feature-band__image {
    min-height: 380px;
  }

  .feature-band__copy {
    padding: 54px 18px;
  }

  .service-item,
  .process-list li {
    min-height: auto;
  }

  .service-item span,
  .process-list span {
    margin-bottom: 28px;
  }

  .contact-band,
  .contact-band__content {
    min-height: 520px;
  }

  .site-footer {
    flex-direction: column;
    padding: 30px 18px;
  }

  .site-footer div:last-child {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .site-header {
    grid-template-columns: 1fr auto;
    column-gap: 10px;
    row-gap: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .brand__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    row-gap: 6px;
    overflow-x: visible;
  }

  .language-switcher {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .language-switcher a {
    min-width: 28px;
    height: 26px;
    font-size: 11px;
  }

  .header-call {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .brand__name {
    font-size: 20px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 340px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .brand,
  .nav,
  .language-switcher,
  .header-call {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}
