/* ══════════════════════════════════════
   NECSIS LANDING — full-width editorial
   beige #F2EDE4 · ink #140D07 · amber #F0B429
══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: #F2EDE4;
  color: #140D07;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
img { max-width: 100%; display: block; }

:root {
  --gutter: clamp(20px, 5vw, 72px);
  --beige: #F2EDE4;
  --ink: #140D07;
  --amber: #F0B429;
  --line-dark: rgba(20, 13, 7, 0.15);
  --line-light: rgba(242, 237, 228, 0.14);
}

/* ── Scroll reveal (JS-gated: no JS → fully visible) ── */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

html.js .reveal.no-anim { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--gutter);
}

.nav-logo svg {
  width: 108px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.55);
  transition: color 0.2s;
}

.nav-links a:hover { color: #F2EDE4; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(242, 237, 228, 0.35);
  padding: 8px 2px;
  transition: color 0.15s;
}

.lang-btn:hover { color: rgba(242, 237, 228, 0.7); }
.lang-btn--active { color: var(--amber); }
.lang-divider { color: rgba(242, 237, 228, 0.2); font-size: 0.75rem; }

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  padding: 12px 22px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-cta:hover { background: #e0a520; }

/* ══════════════════════════════════════
   01 · HERO
══════════════════════════════════════ */
.hero {
  min-height: 100svh;
  background: var(--ink);
  color: var(--beige);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px var(--gutter) 0;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 48px;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.45);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--amber);
}

.hero-title {
  font-size: clamp(1.9rem, 5.4vw, 4.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 40ch;
}

.hero-title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(242, 237, 228, 0.55);
  max-width: 560px;
  margin-top: 36px;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line-light);
  padding: 28px 0 36px;
}

.hero-stats {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 700;
  color: var(--beige);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.35);
}

.hero-location {
  font-size: 0.8125rem;
  color: rgba(242, 237, 228, 0.4);
  text-align: right;
}

/* ══════════════════════════════════════
   CLIENTS BAND
══════════════════════════════════════ */
.clients-band {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line-dark);
}

.clients-note {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(20, 13, 7, 0.4);
  text-align: center;
  margin-bottom: 32px;
  padding: 0 var(--gutter);
}

.clients-strip-wrap {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.clients-strip-ticker {
  display: flex;
  width: max-content;
  animation: tickerLeft 22s linear infinite;
}

.clients-strip-ticker:hover { animation-play-state: paused; }

.client-item {
  padding: 0 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 60px;
}

.client-logo-img {
  max-width: 130px;
  width: auto;
  height: 34px;
  object-fit: contain;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.client-logo-img:hover { opacity: 0.9; }

@keyframes tickerLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   CHAPTER LABEL (shared)
══════════════════════════════════════ */
.chapter {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20, 13, 7, 0.5);
}

.chapter::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--ink);
}

.chapter--light {
  color: rgba(242, 237, 228, 0.45);
}

.chapter--light::before { background: var(--amber); }

/* ══════════════════════════════════════
   02 · MANIFESTO
══════════════════════════════════════ */
.manifesto {
  padding: clamp(90px, 12vw, 160px) var(--gutter);
}

.manifesto-title {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-top: 40px;
}

.manifesto-title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.manifesto-text {
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  line-height: 1.7;
  color: rgba(20, 13, 7, 0.6);
  max-width: 560px;
  margin-top: 36px;
}

/* ══════════════════════════════════════
   03 · WORK — editorial rows
══════════════════════════════════════ */
.work {
  padding: 0 var(--gutter) clamp(60px, 8vw, 120px);
}

.section-head {
  padding-bottom: clamp(40px, 5vw, 72px);
}

.work-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
  padding: 0 0 clamp(56px, 7vw, 104px);
}

.work-media {
  grid-column: 1 / span 8;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #171310;
}

.work-row:nth-child(odd) .work-media { grid-column: 5 / span 8; }
.work-row:nth-child(odd) .work-info  { grid-column: 1 / span 4; grid-row: 1; }

.work-media img {
  width: 100%;
  height: clamp(280px, 42vw, 560px);
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-media:hover img { transform: scale(1.04); }

.work-info {
  grid-column: 9 / span 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
}

.work-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(20, 13, 7, 0.35);
}

.work-name {
  font-size: clamp(1.875rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.work-name a { transition: color 0.2s; }
.work-name a:hover { color: #8a7a4a; }

.work-sub {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(20, 13, 7, 0.55);
  max-width: 320px;
}

.work-link {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 10px;
  color: var(--ink);
  border-bottom: 2px solid var(--amber);
  align-self: flex-start;
  padding-bottom: 3px;
  transition: opacity 0.2s;
}

.work-link:hover { opacity: 0.6; }

/* ══════════════════════════════════════
   04 · SERVICES — dark chapter
══════════════════════════════════════ */
.services {
  background: var(--ink);
  color: var(--beige);
  padding: clamp(90px, 11vw, 150px) var(--gutter);
}

.services-list {
  margin-top: clamp(48px, 6vw, 88px);
}

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr minmax(280px, 380px);
  gap: clamp(20px, 3vw, 56px);
  align-items: start;
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-top: 1px solid var(--line-light);
  transition: padding-left 0.25s ease;
}

.service-row:last-child { border-bottom: 1px solid var(--line-light); }

.service-row:hover { padding-left: 14px; }

.service-num {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(242, 237, 228, 0.3);
  padding-top: 14px;
}

.service-name {
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  transition: color 0.25s;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.service-row:hover .service-name { color: var(--amber); }

.service-tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
  transform: translateY(-6px);
}

.service-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(242, 237, 228, 0.5);
  padding-top: 8px;
}

/* ══════════════════════════════════════
   05 · PROCESS — accordion
══════════════════════════════════════ */
.process {
  padding: clamp(90px, 11vw, 150px) var(--gutter);
}

.process-list {
  margin-top: clamp(40px, 5vw, 72px);
}

.process-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(20px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--line-dark);
  cursor: pointer;
}

.process-item:last-child { border-bottom: 1px solid var(--line-dark); }

.process-num {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(20, 13, 7, 0.35);
}

.process-name {
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.process-item:hover .process-name { color: #8a7a4a; }
.process-item.open .process-name { color: var(--ink); }

.process-icon {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  color: rgba(20, 13, 7, 0.3);
  line-height: 1;
  transition: color 0.2s;
}

.process-item.open .process-icon { color: var(--ink); }

.process-body {
  grid-column: 2 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.process-item.open .process-body { max-height: 260px; }

.process-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(20, 13, 7, 0.6);
  padding: 8px 0 20px;
  max-width: 640px;
}

/* ══════════════════════════════════════
   06 · CONTACT — mega footer
══════════════════════════════════════ */
.contact {
  background: var(--ink);
  color: var(--beige);
  padding: clamp(90px, 11vw, 150px) var(--gutter) 0;
}

.contact-huge {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.75rem, 7vw, 6.25rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 14ch;
  margin-top: 40px;
}

.contact-huge em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.contact-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(242, 237, 228, 0.5);
  max-width: 420px;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 32px;
}

.contact-direct-link {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(242, 237, 228, 0.75);
  transition: color 0.2s;
  align-self: flex-start;
}

.contact-direct-link:hover { color: var(--amber); }

.contact-location {
  font-size: 0.8125rem;
  color: rgba(242, 237, 228, 0.35);
  margin-top: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(242, 237, 228, 0.14);
  border-radius: 10px;
  background: rgba(242, 237, 228, 0.05);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--beige);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-input:focus {
  border-color: rgba(242, 237, 228, 0.35);
  background: rgba(242, 237, 228, 0.09);
}

.form-input::placeholder { color: rgba(242, 237, 228, 0.3); }

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.btn-cta {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 100px;
  transition: background 0.2s;
  align-self: flex-start;
  margin-top: 6px;
}

.btn-cta:hover { background: #e0a520; }
.btn-cta:disabled { opacity: 0.6; cursor: default; }

.form-feedback {
  font-size: 0.9375rem;
  line-height: 1.5;
  padding: 16px 20px;
  border-radius: 10px;
}

.form-feedback--success {
  background: rgba(242, 237, 228, 0.08);
  color: var(--beige);
  border: 1px solid rgba(242, 237, 228, 0.15);
}

.form-feedback--error {
  background: rgba(255, 80, 80, 0.12);
  color: #ff9090;
  border: 1px solid rgba(255, 80, 80, 0.25);
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line-light);
  padding: 28px 0 32px;
}

.copyright,
.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(242, 237, 228, 0.35);
}

.footer-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
}

/* ══════════════════════════════════════
   RESPONSIVE — Tablet (≤ 940px)
══════════════════════════════════════ */
@media (max-width: 940px) {

  .nav-links { display: none; }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-location { text-align: left; }

  .work-row,
  .work-row:nth-child(odd) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .work-media img { height: clamp(240px, 52vw, 420px); }

  .work-info { padding-bottom: 0; }

  .service-row {
    grid-template-columns: 48px 1fr;
  }

  .service-desc {
    grid-column: 2;
    padding-top: 0;
  }

  .process-item {
    grid-template-columns: 48px 1fr auto;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — Mobile (≤ 620px)
══════════════════════════════════════ */
@media (max-width: 620px) {

  .site-nav { padding: 20px var(--gutter); }
  .nav-logo svg { width: 88px; }
  .nav-cta { padding: 10px 16px; font-size: 0.75rem; }

  .hero { padding-top: 110px; }

  .hero-title { font-size: clamp(1.25rem, 5.3vw, 1.8rem); max-width: 100%; white-space: normal; }

  .hero-stats { gap: 28px; flex-wrap: wrap; }

  .clients-band { padding: 40px 0 48px; }
  .client-item { padding: 0 28px; height: 48px; }
  .client-logo-img { height: 26px; max-width: 104px; }

  .manifesto-title { margin-top: 28px; }

  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .service-num { padding-top: 0; }
  .service-row:hover { padding-left: 0; }

  .process-item { grid-template-columns: 40px 1fr auto; }
  .process-body { grid-column: 1 / -1; }

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

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
