/* ============================================================
   ARMATTE — Landing Page
   Palette drawn from the logo: silver → charcoal facets on white
   ============================================================ */

:root {
  /* Logo grayscale ramp */
  --white: #ffffff;
  --silver-1: #f4f4f4;   /* lightest facet */
  --silver-2: #e2e2e2;   /* logo light gray */
  --silver-3: #c9c9c9;
  --gray-1: #9a9a9a;     /* tagline gray */
  --gray-2: #6e6e6e;     /* mid facet */
  --charcoal-1: #4a4a4a; /* dark facet */
  --charcoal-2: #303030;
  --ink: #1c1c1c;        /* near-black */

  /* Facet gradients (like the logo's shaded pyramid faces) */
  --grad-dark: linear-gradient(135deg, #6e6e6e 0%, #303030 100%);
  --grad-light: linear-gradient(135deg, #f4f4f4 0%, #d4d4d4 100%);
  --grad-steel: linear-gradient(135deg, #8a8a8a 0%, #4a4a4a 100%);

  --font-display: "Archivo Expanded", "Archivo", sans-serif;
  --font-body: "Archivo", sans-serif;

  --container: 1180px;
  --radius: 2px; /* sharp, angular — like the logo */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1.25rem; }

.kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver-3);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: "";
  width: 34px; height: 2px;
  background: currentColor;
  flex: none;
}
.kicker--dark { color: var(--gray-1); }

.accent {
  background: linear-gradient(120deg, #f4f4f4 10%, #9a9a9a 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent-dark {
  background: var(--grad-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.05rem 2.2rem;
  border-radius: var(--radius);
  /* clipped corner = facet cut */
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--primary {
  background: var(--grad-dark);
  color: var(--white);
}
.btn--primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #7c7c7c 0%, #1c1c1c 100%);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}
.btn--lg { padding: 1.25rem 3rem; font-size: 0.95rem; }

/* Sections share vertical rhythm */
section { padding: 110px 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--silver-2);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { height: 44px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-2);
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--grad-dark);
  color: var(--white) !important;
  padding: 0.65rem 1.5rem;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.nav__burger { display: none; }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
  padding: 140px 24px 120px;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
/* Faceted backdrop — stands in for / layers over the showreel */
.hero__facets { position: absolute; inset: 0; }
.facet {
  position: absolute;
  bottom: -12%;
  animation: facet-drift 14s ease-in-out infinite alternate;
}
.facet--1 { left: -6%;  width: 42%; height: 78%; background: linear-gradient(115deg, #3a3a3a 49.8%, #262626 50.2%); clip-path: polygon(50% 0, 0 100%, 100% 100%); animation-delay: 0s; }
.facet--2 { left: 24%;  width: 54%; height: 100%; background: linear-gradient(115deg, #4a4a4a 49.8%, #2c2c2c 50.2%); clip-path: polygon(50% 0, 0 100%, 100% 100%); animation-delay: -4s; }
.facet--3 { right: -8%; width: 38%; height: 62%; background: linear-gradient(115deg, #424242 49.8%, #282828 50.2%); clip-path: polygon(50% 0, 0 100%, 100% 100%); animation-delay: -8s; }
.facet--4 { left: 8%;   width: 30%; height: 48%; background: linear-gradient(115deg, #383838 49.8%, #222 50.2%); clip-path: polygon(50% 0, 0 100%, 100% 100%); animation-delay: -2s; }
.facet--5 { right: 16%; width: 26%; height: 40%; background: linear-gradient(115deg, #3e3e3e 49.8%, #242424 50.2%); clip-path: polygon(50% 0, 0 100%, 100% 100%); animation-delay: -6s; }

@keyframes facet-drift {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-2.5%) scale(1.03); }
}

.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center 42%, rgba(28,28,28,0.25) 0%, rgba(28,28,28,0.78) 100%),
    linear-gradient(to bottom, rgba(28,28,28,0.55), rgba(28,28,28,0.15) 40%, rgba(28,28,28,0.82));
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero__content .kicker { justify-content: center; color: var(--gray-1); }
.hero__title {
  font-size: clamp(2.1rem, 5.6vw, 4.1rem);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--silver-3);
  max-width: 620px;
  margin: 0 auto 2.6rem;
}
.hero__actions {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bob 2.2s ease-in-out infinite;
}
.hero__scroll-tri {
  display: block;
  width: 0; height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 15px solid var(--silver-3);
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 9px); }
}

/* ============================================================
   2. THE PROBLEM
   ============================================================ */
.problem { background: var(--white); }
.problem__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.problem__right {
  font-size: 1.15rem;
  color: var(--gray-2);
  border-left: 3px solid var(--silver-2);
  padding-left: 36px;
}
.problem__right strong { color: var(--ink); }
.problem__punch {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--ink);
}

/* ============================================================
   3. CHALLENGES
   ============================================================ */
.challenges { background: var(--silver-1); }
.challenges__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.challenge-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--silver-2);
  padding: 2rem 1.6rem 1.7rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.challenge-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: auto;
  line-height: 1.3;
}
.challenge-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--silver-3);
  letter-spacing: 0.1em;
}
.challenge-card__arrow {
  margin-top: 0.9rem;
  font-size: 1.15rem;
  color: var(--gray-1);
  transition: transform 0.25s ease;
}
.challenge-card:hover {
  background: var(--grad-dark);
  color: var(--white);
  transform: translateY(-6px);
}
.challenge-card:hover .challenge-card__num { color: rgba(255,255,255,0.5); }
.challenge-card:hover .challenge-card__arrow { color: var(--white); transform: translateX(8px); }
.challenge-card--featured {
  background: var(--grad-steel);
  color: var(--white);
  border: none;
}
.challenge-card--featured .challenge-card__num { color: rgba(255,255,255,0.55); }
.challenge-card--featured .challenge-card__arrow { color: var(--white); }

/* ============================================================
   4. WHAT WE CREATE
   ============================================================ */
.create {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.create__peaks {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background:
    linear-gradient(115deg, transparent 49.9%, rgba(255,255,255,0.03) 50%) ,
    linear-gradient(to top, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
}
.create h2 { color: var(--white); }
.create__grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar {
  background: #262626;
  border: 1px solid #3a3a3a;
  padding: 2.6rem 2.2rem 2.4rem;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.pillar:hover { transform: translateY(-6px); border-color: var(--gray-2); }
.pillar__peak { width: 84px; margin-bottom: 1.6rem; }
.pillar__peak svg { display: block; width: 100%; }
.pillar__title {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  margin-bottom: 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #3a3a3a;
}
.pillar ul li {
  padding: 0.5rem 0;
  color: var(--silver-3);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pillar ul li::before {
  content: "";
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--gray-2);
  flex: none;
}

/* ============================================================
   5. PHILOSOPHY
   ============================================================ */
.philosophy {
  background: var(--silver-1);
  text-align: center;
}
.philosophy blockquote p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--gray-1);
  max-width: 900px;
  margin: 0 auto;
}
.philosophy blockquote em {
  font-style: normal;
  color: var(--silver-3);
}
.philosophy__both {
  display: inline-block;
  margin-top: 0.6rem;
  background: var(--grad-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.philosophy__body {
  margin: 2.4rem auto 0;
  max-width: 560px;
  font-size: 1.12rem;
  color: var(--gray-2);
}
.philosophy .kicker { justify-content: center; }
.philosophy .kicker::before { display: none; }

/* ============================================================
   6. FEATURED WORK
   ============================================================ */
.work { background: var(--white); }
.work__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-card { display: block; }
.work-card--wide { grid-column: span 2; }
.work-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  transition: transform 0.3s ease;
}
/* Placeholder facet imagery — swap for real project photos/video stills */
.media-1 { background: linear-gradient(115deg, #5c5c5c 49.9%, #333 50.1%), #444; }
.media-2 { background: linear-gradient(155deg, #d9d9d9 49.9%, #8e8e8e 50.1%), #bbb; }
.media-3 { background: linear-gradient(65deg, #757575 49.9%, #3d3d3d 50.1%), #555; }
.media-4 { background: linear-gradient(115deg, #2e2e2e 49.9%, #1c1c1c 50.1%), #222; }
.work-card:hover .work-card__media { transform: scale(1.02); }
.work-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.6);
}
.work-card__play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-left: 20px solid var(--white);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.work-card__meta { padding: 1.1rem 0.2rem 0; }
.work-card__meta span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-1);
}
.work-card__meta h3 { font-size: 1.05rem; margin-top: 0.35rem; }

.work__logos { margin-top: 4.5rem; text-align: center; }
.work__logos > p {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: 1.8rem;
}
.work__logo-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem 3.5rem;
}
.client-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--silver-3);
  transition: color 0.25s ease;
}
.client-logo:hover { color: var(--gray-2); }

/* ============================================================
   7. PROCESS
   ============================================================ */
.process {
  background: var(--ink);
  color: var(--white);
}
.process h2 { color: var(--white); }
.process__steps {
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.step {
  position: relative;
  background: #262626;
  border: 1px solid #3a3a3a;
  padding: 1.8rem 1.4rem 1.6rem;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: transform 0.25s ease, background 0.25s ease;
}
.step:hover { transform: translateY(-5px); background: #2e2e2e; }
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  background: linear-gradient(120deg, #e2e2e2, #6e6e6e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 0.98rem; letter-spacing: 0.08em; }
.process__tag {
  margin-top: 2.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-1);
}

/* ============================================================
   8. CASE STUDY
   ============================================================ */
.case { background: var(--silver-1); }
.case__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-block {
  background: var(--white);
  border: 1px solid var(--silver-2);
  padding: 2.4rem 2.1rem;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.case-block--mid { background: var(--silver-2); border-color: var(--silver-3); }
.case-block--dark {
  background: var(--grad-dark);
  border: none;
  color: var(--white);
}
.case-block--dark p { color: var(--silver-3); }
.case-block__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: 1.1rem;
}
.case-block--dark .case-block__label { color: rgba(255,255,255,0.55); }
.case-block h3 { font-size: 1.12rem; margin-bottom: 0.9rem; line-height: 1.3; }
.case-block p { color: var(--gray-2); font-size: 0.98rem; }

/* ============================================================
   9. FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 150px 0 170px;
  overflow: hidden;
}
.final-cta__peaks {
  position: absolute;
  inset: auto 0 0 0;
  height: 260px;
  pointer-events: none;
}
.final-cta__peaks svg { width: 100%; height: 100%; display: block; }
.final-cta h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); color: var(--white); }
.final-cta p {
  font-size: 1.18rem;
  color: var(--silver-3);
  margin: 0.6rem 0 2.6rem;
}
.final-cta .container { position: relative; z-index: 2; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #111;
  color: var(--gray-1);
  padding-top: 72px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer__logo {
  height: 52px;
  width: auto;
  margin-bottom: 1.1rem;
  filter: brightness(1.35);
}
.footer__brand p { font-size: 0.95rem; max-width: 260px; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-3);
  margin-bottom: 1.2rem;
}
.footer__col a, .footer__col span {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  color: var(--gray-1);
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid #2a2a2a;
  padding: 1.4rem 0;
  font-size: 0.82rem;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .challenges__grid { grid-template-columns: repeat(2, 1fr); }
  .create__grid, .case__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(3, 1fr); }
  .work__grid { grid-template-columns: 1fr 1fr; }
  .work-card--wide { grid-column: span 2; }
  .problem__grid { grid-template-columns: 1fr; gap: 36px; }
  .problem__right { border-left: none; padding-left: 0; border-top: 3px solid var(--silver-2); padding-top: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 80px 0; }
  .nav__links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.4rem 24px 2rem;
    gap: 1.4rem;
    border-bottom: 1px solid var(--silver-2);
    display: none;
  }
  body.menu-open .nav__links { display: flex; }
  .nav__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .nav__burger span {
    width: 24px; height: 2px;
    background: var(--ink);
  }
  .challenges__grid { grid-template-columns: 1fr; }
  .challenge-card { min-height: 0; }
  .challenge-card h3 { margin-top: 1.2rem; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .work__grid { grid-template-columns: 1fr; }
  .work-card--wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__actions .btn { width: 100%; text-align: center; }
}
