/* ============================================================
   Northbound Studio — Creative Agency (clean corporate, multipage)
   AnubTech demo
============================================================ */

:root {
  --ink: #0f1729;
  --ink-2: #1e293b;
  --slate: #475569;
  --muted: #64748b;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --brand: #4f46e5;      /* indigo */
  --brand-dark: #4338ca;
  --brand-soft: #eef2ff;
  --accent: #0ea5e9;     /* sky */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15,23,41,.05);
  --shadow: 0 20px 50px -24px rgba(15,23,41,.22);
  --maxw: 1180px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }

.eyebrow { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: var(--brand); margin-bottom: 14px; }
.h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.06; }
.h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--slate); }
.muted { color: var(--muted); }
.section__head { max-width: 640px; margin-bottom: 52px; }
.center { text-align: center; margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: inherit; font-weight: 600; cursor: pointer; border: none; padding: 12px 24px; border-radius: 10px; transition: transform .16s, box-shadow .16s, background .16s, color .16s; font-size: .96rem; }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(79,70,229,.7); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); position: relative; }
.logo__mark::after { content: ""; position: absolute; inset: 8px 8px auto auto; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; color: var(--slate); font-size: .96rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active { font-weight: 600; }
.nav-links .btn { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* Hero */
.hero { padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -200px; right: -160px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(79,70,229,.14), transparent 70%); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero__title { margin: 16px 0 22px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero__trust { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero__trust div strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.hero__trust div span { color: var(--muted); font-size: .88rem; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.hero__card { position: absolute; bottom: -20px; left: -20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.hero__card .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.16); }
.hero__card strong { display: block; font-size: .95rem; }
.hero__card span { color: var(--muted); font-size: .82rem; }

/* Logo strip */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.logos__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.logos__row span { font-weight: 800; font-size: 1.3rem; color: var(--muted); opacity: .7; letter-spacing: -.01em; }

/* Feature / services grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .22s, box-shadow .22s, border-color .22s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .98rem; }
.card__link { display: inline-block; margin-top: 16px; color: var(--brand); font-weight: 600; font-size: .92rem; }
.card__link:hover { text-decoration: underline; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; }
.step__num { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--slate); font-size: .95rem; }

/* Work / portfolio */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.work-item { border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--ink); }
.work-item img { width: 100%; aspect-ratio: 16/11; object-fit: cover; transition: transform .5s, opacity .3s; }
.work-item:hover img { transform: scale(1.05); opacity: .55; }
.work-item__body { position: absolute; inset: auto 0 0 0; padding: 26px; color: #fff; background: linear-gradient(transparent, rgba(15,23,41,.9)); transform: translateY(12px); opacity: .92; transition: transform .3s; }
.work-item:hover .work-item__body { transform: none; opacity: 1; }
.work-item__cat { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.work-item__body h3 { margin-top: 6px; font-size: 1.35rem; }

/* Stats band */
.stats-band { background: var(--ink); color: #fff; }
.stats-band .grid-2, .stats-band .stats-4 { }
.stats-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-b { text-align: center; }
.stat-b strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.stat-b span { color: #94a3b8; font-size: .92rem; }

/* Testimonial */
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 54px); box-shadow: var(--shadow-sm); }
.testi blockquote { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.testi__by { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.testi__by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi__by span { color: var(--muted); display: block; font-size: .9rem; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #dfe0ff; max-width: 520px; margin: 14px auto 30px; }

/* Page hero (inner pages) */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 90px) 0; }
.page-hero .lead { margin-top: 14px; max-width: 620px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 14px; }
.team-card h3 { font-size: 1.05rem; }
.team-card span { color: var(--brand); font-size: .88rem; font-weight: 600; }

/* Value list */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.value p { color: var(--slate); font-size: .96rem; }

/* Pricing (services page) */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.price--featured { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }
.price--featured::before { content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.price h3 { font-size: 1.2rem; }
.price__amt { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 4px; }
.price__amt span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price ul { list-style: none; margin: 20px 0 26px; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; color: var(--slate); font-size: .95rem; }
.price li::before { content: "✓"; color: var(--brand); font-weight: 800; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.contact-info li { list-style: none; display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info strong { display: block; }
.contact-info span { color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.form-note { margin-top: 14px; text-align: center; font-weight: 600; color: #16a34a; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 0; font-size: 1.1rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: inherit; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--brand); transition: transform .25s; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--slate); }
.faq__a p { padding-bottom: 22px; }

/* Footer */
.site-footer { background: var(--ink); color: #cbd5e1; padding-top: 64px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer p { color: #94a3b8; font-size: .95rem; max-width: 280px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { color: #94a3b8; font-size: .94rem; }
.site-footer ul a:hover { color: #fff; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #94a3b8; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px 24px; box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s; }
  .nav-links.is-open { transform: none; }
  .nav-links a { width: 100%; padding: 12px 0; }
  .nav-links .btn { width: 100%; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .grid-3, .steps, .stats-4, .team-grid, .values, .price-grid { grid-template-columns: 1fr 1fr; }
  .work-grid, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .steps, .stats-4, .team-grid, .values, .price-grid, .form-row { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
