/* ─── TOKENS ─── */
:root {
  --bg:        #FFFFFF;
  --bg-alt:    #F0F0EE;
  --dark:      #0A0A0A;
  --text:      #0A0A0A;
  --muted:     #888888;
  --border:    rgba(0, 0, 0, 0.1);
  --transition: 0.22s ease;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── LAYOUT ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ─── EYEBROW ─── */
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.btn--dark:hover { background: #2a2a2a; border-color: #2a2a2a; }

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn--ghost:hover { background: var(--dark); color: #fff; }

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--wa { background: #25D366; color: #fff; border-color: #25D366; margin-bottom: 12px; }
.btn--wa:hover { background: #1fb858; border-color: #1fb858; }

.btn--full { width: 100%; justify-content: center; padding: 16px; }

.btn--white {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}
.btn--white:hover { background: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.88); }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  padding: 16px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__logo {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dark);
  margin-right: auto;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--dark); }
.nav__cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__cta:hover { background: var(--dark); color: #fff; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: all var(--transition);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--bg);
}

.hero__headline {
  font-size: clamp(72px, 10.5vw, 152px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--dark);
  position: relative;
  z-index: 3; /* headline sits in front of the image */
  max-width: 72%;
  padding-bottom: 0;
}

/* Dark product image — positioned behind the headline text */
.hero__media {
  position: absolute;
  right: 0;
  top: 80px;
  width: 54%;
  bottom: 0;
  z-index: 1; /* sits behind headline text */
  pointer-events: none;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #111;
}

/* ─── STATEMENT ─── */
.statement {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.statement__inner {
  max-width: 960px;
}
.statement__hook {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 64px;
}
.statement__hook strong {
  color: var(--dark);
  font-weight: 700;
}
.statement__system .eyebrow {
  display: block;
  margin-bottom: 24px;
}
.statement__steps {
  list-style: none;
  margin-bottom: 56px;
}
.statement__steps li {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--muted);
  padding: 16px 0;
  border-top: 1px solid var(--border);
  transition: color var(--transition);
}
.statement__steps li:last-child { border-bottom: 1px solid var(--border); }
.statement__steps li strong {
  color: var(--dark);
  font-weight: 900;
}
.statement__ctas { display: flex; gap: 12px; }

.hero-lower {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-lower__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero__sub {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.hero__ctas { display: flex; gap: 12px; flex-shrink: 0; }

/* ─── WORKS ─── */
.works {
  background: var(--bg-alt);
  padding: 0 0 80px 0;
  border-top: 1px solid var(--border);
}
.works__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 32px;
}
.works__viewall {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.works__viewall:hover { color: var(--dark); }

.works__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4px;
  padding-bottom: 4px;
}

/* Work item base */
.wk { background: var(--dark); overflow: hidden; }
.wk__img {
  overflow: hidden;
  position: relative;
}
.wk__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  background: #1a1a1a;
}
.wk:hover .wk__img img { transform: scale(1.03); }

.wk__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.wk__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
.wk__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.2;
}
.wk__cat {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 3px;
}

/* Large: spans full height of row */
.wk--large { grid-column: 1; grid-row: 1; }
.wk--large .wk__img { height: 540px; }

/* Small: bottom-aligned in the same row */
.wk--small { grid-column: 2; grid-row: 1; align-self: end; }
.wk--small .wk__img { height: 320px; }

/* Wide: full width second row */
.wk--wide { grid-column: 1 / -1; grid-row: 2; }
.wk--wide .wk__img { height: 440px; }

.wk__foot--wide {
  justify-content: space-between;
}
.wk__foot-left { display: flex; align-items: center; gap: 16px; }
.wk__year {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
}

/* ─── EXPERTISE ─── */
.expertise {
  background: var(--bg);
  padding: 120px 0;
  border-top: 1px solid var(--border);
}
.expertise__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.expertise__heading {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  position: sticky;
  top: 120px;
}
.expertise__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.exp {
  display: flex;
  gap: 16px;
  padding: 36px 32px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.exp:nth-child(even) { border-right: none; }
.exp:nth-last-child(-n+2) { border-bottom: none; }
.exp__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.exp__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.exp p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--dark);
  padding: 120px 0;
}
.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}
.cta-banner__heading {
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
}

/* CTA banner states */
.cta-banner__trigger {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cta-banner.form-open .cta-banner__trigger {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}
.cta-banner__form {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 640px;
  transition: max-height 0.6s ease;
}
.cta-banner.form-open .cta-banner__form {
  max-height: 900px;
}

.cta-form .cta-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cta-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.cta-form__field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}
.cta-form__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.6;
}
.cta-form__field input,
.cta-form__field textarea {
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,0.18);
  font-family: inherit;
  font-size: 14px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  transition: border-color var(--transition);
  resize: none;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}
.cta-form__field input:focus,
.cta-form__field textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
}
.cta-form__field input::placeholder,
.cta-form__field textarea::placeholder { color: rgba(255,255,255,0.25); }

.cta-form__success { display: none; text-align: center; padding: 40px 0; }
.cta-form__success-msg {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.cta-form__success.visible { display: block; }

/* ─── CONTACT ─── */
.contact {
  background: var(--bg);
  padding: 120px 0;
  border-top: 1px solid var(--border);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact__left .eyebrow { display: block; margin-bottom: 16px; }
.contact__heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.contact__left > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact__email { font-size: 13px; color: var(--muted); }
.contact__email a { color: var(--dark); font-weight: 600; }
.contact__email a:hover { text-decoration: underline; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form__field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.form__field input,
.form__field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-bottom-color: rgba(0, 0, 0, 0.25);
  font-family: inherit;
  font-size: 14px;
  background: transparent;
  color: var(--text);
  transition: border-color var(--transition);
  resize: none;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}
.form__field input:focus,
.form__field textarea:focus { outline: none; border-color: var(--dark); }
.form__field input::placeholder,
.form__field textarea::placeholder { color: #C8C8C8; }

/* ─── FOOTER ─── */
.footer {
  background: var(--dark);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  flex: 1;
}
.footer__links {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}
.footer__links a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }
.footer__copy {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.25);
  flex: 1;
  text-align: right;
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

/* ─── RESPONSIVE: TABLET ─── */
@media (max-width: 1024px) {
  .hero__headline { max-width: 80%; }
  .hero__media { width: 50%; }
  .expertise__inner { grid-template-columns: 1fr 1.4fr; gap: 56px; }
  .expertise__heading { font-size: clamp(40px, 5vw, 64px); }
}

@media (max-width: 860px) {
  .hero__media { width: 55%; height: 60vh; }
  .hero__headline { max-width: 100%; font-size: clamp(56px, 10vw, 100px); }
  .hero__lower { flex-direction: column; align-items: flex-start; gap: 28px; }
  .works__grid { grid-template-columns: 1fr; }
  .wk--large { grid-column: 1; }
  .wk--small { grid-column: 1; align-self: auto; }
  .wk--wide  { grid-column: 1; }
  .wk--large .wk__img { height: 400px; }
  .wk--small .wk__img { height: 280px; }
  .wk--wide  .wk__img { height: 300px; }
  .expertise__inner { grid-template-columns: 1fr; gap: 48px; }
  .expertise__heading { position: static; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { margin: 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 99;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 20px; color: rgba(255,255,255,0.8) !important; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; z-index: 101; position: relative; }
  .hero__media { width: 65%; height: 50vh; }
  .hero__headline { font-size: clamp(48px, 12vw, 72px); }
  .expertise__right { grid-template-columns: 1fr; }
  .exp { border-right: none; }
  .exp:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .exp:last-child { border-bottom: none; }
  .form__row { grid-template-columns: 1fr; }
  .cta-form .cta-form__row { grid-template-columns: 1fr; }
  .cta-banner { padding: 80px 0; }
  .wk__year { font-size: 32px; }
}
