:root {
  --ink: #17211c;
  --muted: #64716a;
  --paper: #f7f4ee;
  --paper-soft: #fbfaf6;
  --wood: #9b6a3e;
  --wood-dark: #5a3824;
  --sage: #6f8375;
  --line: rgba(23, 33, 28, .12);
  --shadow: 0 24px 70px rgba(39, 31, 23, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-soft);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 78px;
  padding: 18px clamp(22px, 5vw, 72px);
  background: rgba(251, 250, 246, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: .08em;
}

.brand small {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  overflow: hidden;
}

.brand-mark span {
  position: absolute;
  width: 46px;
  height: 8px;
  border-radius: 999px;
  background: var(--paper-soft);
  transform: rotate(18deg);
}

.brand-mark span:nth-child(1) {
  top: 11px;
  left: 7px;
}

.brand-mark span:nth-child(2) {
  top: 18px;
  left: -4px;
}

.brand-mark span:nth-child(3) {
  top: 25px;
  left: 7px;
}

nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--wood-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(420px, 1.14fr);
  min-height: calc(100vh - 78px);
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 1) 0%, rgba(247, 244, 238, .92) 43%, rgba(247, 244, 238, .1) 66%),
    radial-gradient(circle at 18% 26%, rgba(155, 106, 62, .18), transparent 34%);
}

.hero-copy {
  align-self: center;
  padding: clamp(56px, 8vw, 118px) clamp(24px, 5vw, 76px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--wood);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.lead {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 3px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--wood-dark);
  box-shadow: 0 14px 34px rgba(90, 56, 36, .25);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .5);
}

.hero-image {
  position: relative;
  min-height: 580px;
  overflow: hidden;
}

.hero-image::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 30%;
  background: linear-gradient(90deg, var(--paper), transparent);
  content: "";
}

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

.section,
.project,
.contact {
  padding: clamp(76px, 10vw, 142px) clamp(24px, 5vw, 72px);
}

.intro {
  background: linear-gradient(180deg, var(--paper-soft), #fff);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.feature-grid article,
.contact-card,
.project-card,
.document-group {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow);
}

.feature-grid article {
  min-height: 220px;
  padding: 28px;
}

.feature-grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--wood);
  font-weight: 900;
}

.feature-grid p,
.gallery-note p {
  color: var(--muted);
  line-height: 1.6;
}

.gallery-note {
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 22px 28px;
  border-left: 4px solid var(--sage);
  background: #eef3ef;
}

.realisation-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 18px;
  max-width: 1120px;
  margin: 22px auto 0;
}

.realisation-grid figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  background: #ddd4c8;
  box-shadow: var(--shadow);
}

.realisation-grid figure:first-child {
  grid-row: span 2;
  min-height: 578px;
}

.realisation-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.realisation-grid figure:hover img {
  transform: scale(1.03);
}

.realisation-grid figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 13px;
  color: white;
  background: rgba(23, 33, 28, .78);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.project {
  color: #f8f5ee;
  background:
    linear-gradient(180deg, rgba(23, 33, 28, .92), rgba(23, 33, 28, .96)),
    radial-gradient(circle at 72% 18%, rgba(155, 106, 62, .36), transparent 34%);
}

.project .eyebrow {
  color: #d5b892;
}

.project .section-heading p:not(.eyebrow) {
  color: rgba(248, 245, 238, .76);
}

.project-inner {
  max-width: 980px;
  margin: 0 auto;
}

.project-card,
.document-group {
  margin-top: 28px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 26px 90px rgba(0, 0, 0, .24);
}

.poster-card {
  padding: clamp(18px, 3vw, 34px);
}

.eu-poster {
  max-width: 760px;
  margin: 0 auto;
  color: #10213a;
  background: #c8dbf4;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.poster-top {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 30px;
  color: #335da5;
  background: #fff;
  font-size: 13px;
}

.poster-logo {
  font-weight: 900;
}

.poster-logo small {
  display: block;
  margin-top: 7px;
  color: #5b6f91;
  font-size: 10px;
  line-height: 1.35;
}

.poster-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  color: white;
  background: #315a9f;
  font-weight: 900;
}

.poster-band strong {
  font-size: 12px;
  white-space: nowrap;
}

.poster-body {
  padding: 28px 30px 34px;
  font-size: 14px;
  line-height: 1.65;
}

.poster-body p {
  margin-bottom: 14px;
}

details {
  padding: 0;
}

summary {
  cursor: pointer;
  padding: 26px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 22px;
  font-weight: 900;
}

.pdf-preview {
  height: 520px;
  margin: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #2c332e;
}

.pdf-preview.tall {
  height: 690px;
}

.pdf-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: white;
}

.document-sheet {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #242824;
}

.sheet-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 42px;
  padding: 0 18px;
  color: rgba(255, 255, 255, .82);
  background: #1b1d1b;
  font-size: 13px;
  font-weight: 800;
}

.sheet-page {
  width: min(74%, 560px);
  min-height: 350px;
  margin: 34px auto;
  padding: 48px;
  color: #13213a;
  background: #f7fbff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .3);
}

.project-sheet {
  border-top: 44px solid #315a9f;
}

.project-sheet h3 {
  color: #315a9f;
  font-size: 24px;
  line-height: 1.15;
}

.project-sheet p {
  color: #25324a;
  font-size: 14px;
  line-height: 1.55;
}

.mini-label {
  color: #315a9f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sheet-layout {
  display: grid;
  grid-template-columns: 170px 1fr;
  height: calc(100% - 42px);
}

.sheet-thumbs {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  background: #202420;
}

.sheet-thumbs span {
  display: block;
  aspect-ratio: 3 / 4;
  background: #f7fbff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.contract-sheet {
  width: min(68%, 480px);
  min-height: 560px;
  text-align: center;
}

.contract-sheet h3 {
  margin-top: 48px;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.contract-sheet p {
  color: #555;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

.sheet-line {
  display: block;
  width: 78%;
  height: 1px;
  margin: 46px auto 0;
  background: #d7d7d7;
}

.sheet-line.short {
  width: 48%;
  margin-top: 18px;
}

.doc-list {
  display: grid;
  gap: 12px;
  padding: 0 28px 30px;
}

.doc-list a {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  color: #f8f5ee;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  text-decoration: none;
}

.doc-list a:hover {
  background: rgba(255, 255, 255, .11);
}

.doc-list em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 32px;
  color: rgba(248, 245, 238, .86);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.doc-list strong {
  min-width: 96px;
  padding: 11px 16px;
  color: #2d241a;
  border-radius: 999px;
  background: #f5ead3;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(300px, 1.1fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
  background: var(--paper);
}

.contact p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  background: var(--line);
}

.contact-card p {
  min-height: 160px;
  margin: 0;
  padding: 26px;
  background: white;
}

.contact-card strong {
  color: var(--wood-dark);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 120px;
  color: rgba(255, 255, 255, .72);
  background: var(--ink);
}

footer .brand-mark {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, .16);
}

footer .brand-mark span {
  width: 34px;
  height: 6px;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-image {
    min-height: 360px;
    order: -1;
  }

  .hero-image::before {
    inset: auto 0 0;
    width: auto;
    height: 35%;
    background: linear-gradient(0deg, var(--paper), transparent);
  }

  .feature-grid,
  .contact-card,
  .realisation-grid {
    grid-template-columns: 1fr;
  }

  .realisation-grid figure:first-child {
    min-height: 320px;
  }

  .pdf-preview,
  .pdf-preview.tall {
    height: 420px;
    margin: 18px;
  }

  .poster-top,
  .poster-band {
    flex-direction: column;
  }

  .poster-band strong {
    white-space: normal;
  }

  .sheet-layout {
    grid-template-columns: 1fr;
  }

  .sheet-thumbs {
    display: none;
  }

  .sheet-page,
  .contract-sheet {
    width: calc(100% - 36px);
    min-height: 310px;
    margin: 18px;
    padding: 28px;
  }
}

@media (max-width: 560px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 42px;
  }

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

  .doc-list strong {
    width: max-content;
  }
}
