:root {
  --ink: #17212b;
  --muted: #5f6b76;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #d9ded9;
  --green: #167b4f;
  --green-deep: #0d4f37;
  --blue: #185a8d;
  --steel: #334a5f;
  --gold: #d8952b;
  --shadow: 0 20px 55px rgba(23, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 222, 217, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 46px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.02rem;
  color: var(--green-deep);
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: #31404f;
  font-size: 0.92rem;
  font-weight: 700;
}

nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.hero {
  position: relative;
  min-height: clamp(680px, 88vh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 70px) 46px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-atelier-e2i.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 20, 30, 0.78) 0%, rgba(7, 20, 30, 0.48) 48%, rgba(7, 20, 30, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 20, 30, 0.64) 0%, rgba(7, 20, 30, 0.04) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

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

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(4.6rem, 14vw, 10.5rem);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.18;
}

.lead {
  max-width: 660px;
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  line-height: 1.24;
  color: rgba(255, 255, 255, 0.9);
}

.hero-sublead {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.42;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.primary:hover {
  background: var(--green-deep);
}

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

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 36px;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  max-width: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 18px;
}

.metric {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 70px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: var(--white);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.pillars article {
  min-height: 250px;
  padding: clamp(24px, 4vw, 42px);
  background: #f8faf7;
}

.pillars span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 900;
}

.pillars p {
  margin-bottom: 0;
  color: var(--muted);
}

.intro p,
.training-copy p,
.proof p,
.contact p {
  color: var(--muted);
  font-size: 1.06rem;
}

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

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

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

.reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--line);
  background: var(--line);
}

.reference-grid article {
  min-height: 210px;
  padding: 26px;
  background: #f9faf8;
}

.reference-grid span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reference-grid h3 {
  margin-bottom: 0;
  color: #263642;
}

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

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

.service-code {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--green);
  font-weight: 900;
}

.service-grid p,
.project-strip p {
  margin-bottom: 0;
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: 280px;
  gap: 18px;
  background: #20303f;
}

.feature-photo {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.feature-photo.large {
  grid-row: span 2;
}

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

.feature-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), transparent 55%);
}

.feature-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 18px;
  color: var(--white);
  font-weight: 800;
}

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.portfolio-grid figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1b2834;
  box-shadow: 0 12px 34px rgba(23, 33, 43, 0.08);
}

.portfolio-grid img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.portfolio-grid figure:hover img {
  transform: scale(1.035);
}

.portfolio-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 19, 25, 0.68), rgba(12, 19, 25, 0.05) 58%);
}

.portfolio-grid figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: var(--white);
  font-weight: 900;
}

.training {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  background: var(--white);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #2e3d49;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.training-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.training-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.digital {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  background: #eef3f5;
}

.digital figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.digital img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.digital p {
  color: var(--muted);
  font-size: 1.06rem;
}

.projects {
  background: #e9ede8;
}

.project-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.project-strip article {
  min-height: 200px;
  padding: 26px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 33, 43, 0.08);
}

.proof {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  background: var(--paper);
}

.proof figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green-deep);
  font-weight: 900;
  border-bottom: 2px solid var(--green);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--green-deep);
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-card a:not(.button),
.contact-card span {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(20px, 5vw, 70px);
  color: #d9e4de;
  background: #13212d;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.footer-brand img {
  width: 32px;
  height: 36px;
  object-fit: contain;
  filter: brightness(1.08);
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    max-width: 340px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: 720px;
    padding-bottom: 168px;
  }

  .hero-panel {
    left: 20px;
    right: 20px;
    max-width: none;
  }

  .intro,
  .training,
  .digital,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 700px) {
  .site-header {
    position: fixed;
    gap: 14px;
    padding: 12px 16px;
  }

  .site-header nav a:nth-child(2),
  .site-header nav a:nth-child(4) {
    display: none;
  }

  .brand img {
    width: 38px;
    height: 44px;
  }

  nav {
    gap: 10px 14px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 710px;
    padding: 112px 18px 160px;
  }

  .lead {
    font-size: 1.12rem;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    bottom: 20px;
  }

  .metric {
    display: inline-block;
    min-width: 66px;
    margin: 0 12px 0 0;
    font-size: 1.85rem;
    vertical-align: middle;
  }

  .hero-panel p {
    display: inline;
  }

  .hero-panel div {
    padding: 14px 16px;
  }

  section {
    padding: 52px 18px;
  }

  .service-grid,
  .project-strip,
  .showcase,
  .reference-grid,
  .portfolio-grid,
  .pillars {
    grid-template-columns: 1fr;
  }

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

  .showcase {
    grid-auto-rows: 260px;
  }

  .feature-photo.large {
    grid-row: span 1;
  }

  .service-grid article {
    min-height: 190px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
