:root {
  --cocoa-950: #140c08;
  --cocoa-900: #1c110c;
  --cocoa-800: #2b1810;
  --cocoa-700: #3d2418;
  --gold-300: #e8d5b5;
  --gold-400: #d4b483;
  --gold-500: #c4a574;
  --gold-600: #a6844e;
  --cream: #f6efe4;
  --ivory: #fbf7f1;
  --paper: #fffdf9;
  --ink: #1a120e;
  --muted: #6b5748;
  --line: rgba(196, 165, 116, 0.28);
  --navy: #152238;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(20, 12, 8, 0.18);
  --radius: 18px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-600);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

h1,
h2,
h3,
.display {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.75rem);
  margin: 14px 0 18px;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 58ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s, box-shadow 0.35s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  color: var(--cocoa-950);
  box-shadow: 0 10px 30px rgba(166, 132, 78, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-dark {
  background: var(--cocoa-800);
  color: var(--cream);
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.header.scrolled {
  background: rgba(20, 12, 8, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.logo-mark {
  width: 42px;
  height: 42px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-text span {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  transition: width 0.3s var(--ease);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 18px !important;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--cocoa-950) !important;
  font-weight: 600;
}

.nav-cta::after {
  display: none;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: white;
  position: relative;
  margin-inline: auto;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

/* Hero */
.hero {
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.16);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 9, 5, 0.82) 0%, rgba(16, 9, 5, 0.45) 55%, rgba(16, 9, 5, 0.28) 100%),
    linear-gradient(180deg, rgba(16, 9, 5, 0.45) 0%, rgba(16, 9, 5, 0.2) 40%, rgba(16, 9, 5, 0.72) 100%);
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 72px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.1rem, 7vw, 4.4rem);
  max-width: 14ch;
  margin: 12px 0 16px;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  font-weight: 400;
  color: var(--gold-300);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
}

.hero-meta strong {
  display: block;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.hero-meta span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}

/* Reveal */
.reveal {
  animation: rise 0.9s var(--ease) both;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal-on-scroll.in {
  opacity: 1;
  transform: none;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  left: -28px;
  bottom: 36px;
  background: var(--cocoa-800);
  color: var(--cream);
  padding: 22px 26px;
  border-radius: 16px;
  max-width: 220px;
  border: 1px solid var(--line);
}

.about-badge strong {
  display: block;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 2rem;
  color: var(--gold-400);
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.value-card {
  padding: 18px 16px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.value-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* PDG */
.pdg {
  background: var(--navy);
  color: var(--cream);
}

.pdg-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: center;
}

.pdg-photo {
  background: linear-gradient(180deg, #eef2f7, #d7dee8);
  border-radius: 24px;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  place-items: end center;
}

.pdg-photo img {
  width: min(100%, 460px);
  height: 560px;
  object-fit: contain;
  object-position: bottom center;
}

.quote {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  margin: 18px 0 28px;
  color: var(--gold-300);
  border-left: 2px solid var(--gold-500);
  padding-left: 18px;
}

.pdg p {
  color: rgba(246, 239, 228, 0.78);
  margin-bottom: 16px;
}

.signature {
  margin-top: 28px;
}

.signature strong {
  display: block;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.45rem;
}

.signature span {
  color: var(--gold-500);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* Domains */
.domains {
  background:
    radial-gradient(circle at top right, rgba(196, 165, 116, 0.12), transparent 32%),
    var(--ivory);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.metier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.metier-card {
  position: relative;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease);
}

.metier-card:hover {
  transform: translateY(-6px);
}

.metier-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.metier-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 9, 5, 0.08) 0%, rgba(16, 9, 5, 0.35) 48%, rgba(16, 9, 5, 0.9) 100%);
}

.metier-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 26px 26px;
  color: var(--white);
}

.metier-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold-400);
  margin-bottom: 8px;
}

.metier-body h3 {
  font-size: 1.85rem;
  margin-bottom: 8px;
}

.metier-body p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

/* Factory */
.factory {
  background: var(--cocoa-900);
  color: var(--cream);
}

.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.factory-gallery {
  display: grid;
  gap: 16px;
}

.factory-gallery img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
}

.factory-gallery .pair {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.factory-gallery .pair img {
  height: 230px;
}

.factory p {
  color: rgba(246, 239, 228, 0.76);
}

.process {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.process-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
}

.step {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.15rem;
}

/* Team */
.team-visual {
  margin-top: 36px;
  position: relative;
}

.team-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: #ebe4d8;
}

.team-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  background: rgba(20, 12, 8, 0.82);
  color: var(--cream);
  padding: 18px 22px;
  border-radius: 14px;
  max-width: 320px;
  backdrop-filter: blur(10px);
}

/* Quality */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  padding: 28px 22px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 2.6rem;
  color: var(--cocoa-800);
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Contact */
.contact {
  background:
    linear-gradient(180deg, var(--ivory), #efe4d4);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-card,
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.info-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row strong {
  display: block;
}

.info-row span,
.info-row a {
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  margin-bottom: 14px;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ivory);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(196, 165, 116, 0.18);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--gold-600);
  min-height: 1.2em;
}

/* Footer */
.footer {
  background: var(--cocoa-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 0.86rem;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 72px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(16, 9, 5, 0.97);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 28px;
    gap: 4px;
    display: none;
    border-bottom: 1px solid rgba(196, 165, 116, 0.2);
  }

  .nav a {
    padding: 12px 8px;
    font-size: 1rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .nav.open {
    display: flex;
  }

  .about-grid,
  .pdg-grid,
  .factory-grid,
  .contact-grid,
  .metier-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .metier-card {
    min-height: 340px;
  }

  .about-visual img {
    height: 380px;
  }

  .pdg-photo {
    min-height: 0;
  }

  .pdg-photo img {
    width: 100%;
    height: min(70vw, 460px);
  }

  .about-badge {
    left: 16px;
    bottom: 16px;
    max-width: 70%;
  }

  .factory-gallery img,
  .factory-gallery .pair img {
    height: 220px;
  }

  .factory-gallery .pair {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .team-caption {
    right: 12px;
    bottom: 12px;
    max-width: min(280px, 86%);
    padding: 14px 16px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    padding: 108px 0 40px;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-meta {
    gap: 18px;
  }

  .hero-meta strong {
    font-size: 1.45rem;
  }

  .values {
    grid-template-columns: 1fr;
  }

  .logo-text span {
    display: none;
  }

  .logo-text strong {
    font-size: 1.1rem;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .team-visual img {
    border-radius: 14px;
  }

  .team-caption {
    position: static;
    margin-top: 12px;
    max-width: none;
    border-radius: 12px;
  }

  .metier-body h3 {
    font-size: 1.35rem;
  }

  .stat strong {
    font-size: 2rem;
  }

  .footer-links {
    gap: 12px 16px;
  }
}
