/* NoahAgency — global styles */
:root {
  --ink: #0f1b2d;
  --ink-2: #33415a;
  --muted: #64708a;
  --line: #e3e6ec;
  --bg: #ffffff;
  --bg-soft: #f6f5f1;
  --bg-dark: #0a0d14;   /* matches the logo's own background */
  --accent: #1f6feb;    /* logo blue */
  --accent-dark: #1554c0;
  --accent-soft: #e7effd;
  --sky: #38bdf8;       /* the bright end of the logo's blue swoosh */
  --gold: #c9973b;      /* logo gold */
  --gold-text: #9a6f1e; /* gold darkened for text on white */
  --gold-soft: rgba(201, 151, 59, .16);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 8px 24px rgba(15, 27, 45, .06);
  --max: 1160px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #c8d0de; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 680px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Placeholder highlight — replace every one before publishing */
.ph { background: #fff3bf; color: #7a5b00; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
  font-family: inherit;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.link-arrow {
  font-weight: 600; color: var(--accent); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: .97rem; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links .btn { color: #fff; padding: 11px 22px; font-size: .95rem; }
.nav-links .btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { padding: 110px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%); z-index: -1;
}
.hero h1 { max-width: 900px; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.page-hero { padding: 96px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 880px; }

/* Trust strip */
.trust { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust p { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.logos span { font-weight: 700; color: #8a93a6; font-size: 1.02rem; letter-spacing: -.01em; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 20px; font-size: 1.1rem;
}

/* Problem block */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.problem-list { list-style: none; padding: 0; margin: 0; }
.problem-list li {
  padding: 20px 0 20px 44px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative;
}
.problem-list li::before {
  content: "✕"; position: absolute; left: 0; top: 20px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.problem-answer { margin-top: 28px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); color: #fff; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--accent); line-height: 1;
}

/* Work cards */
.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-thumb {
  aspect-ratio: 16 / 10; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: rgba(255,255,255,.92);
}
.work-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.work-body .meta { font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.work-body p { flex: 1; }
.t1 { background: linear-gradient(135deg, #0f1b2d, #2b4570); }
.t2 { background: linear-gradient(135deg, #7a2e0e, #e8590c); }
.t3 { background: linear-gradient(135deg, #12463f, #2a9d8f); }
.t4 { background: linear-gradient(135deg, #3d2c6b, #7b61c4); }
.t5 { background: linear-gradient(135deg, #1d3557, #457b9d); }
.t6 { background: linear-gradient(135deg, #5c3d12, #c99a3c); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: #fff; line-height: 1.2; margin-bottom: 6px; }

/* Testimonial */
.testimonial { max-width: 820px; margin: 0 auto; text-align: center; }
.testimonial blockquote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink);
  line-height: 1.35; margin: 0 0 24px;
}
.testimonial cite { font-style: normal; color: var(--muted); font-weight: 600; }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; border-radius: 24px; padding: 72px 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 620px; margin: 0 auto 32px; color: #e3ecff; font-size: 1.1rem; }
.cta-band .btn { background: #fff; color: var(--accent-dark); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* Services page */
.service { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; padding: 88px 0; border-bottom: 1px solid var(--line); }
.service:last-of-type { border-bottom: 0; }
.service-num { font-family: var(--font-display); color: var(--accent); font-size: 1rem; font-weight: 600; margin-bottom: 10px; display: block; }
.service h3.service-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.service h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { padding: 9px 0 9px 32px; position: relative; border-bottom: 1px dashed var(--line); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 10px; color: var(--accent); font-weight: 800;
}
.subhead { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); font-weight: 700; margin: 28px 0 10px; }
.price { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); font-weight: 600; margin: 28px 0 20px; }
.note { background: var(--bg-soft); border-left: 3px solid var(--accent); padding: 18px 22px; border-radius: 0 10px 10px 0; font-size: .97rem; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 9px 18px; border-radius: 999px; font: inherit; font-size: .93rem; font-weight: 500; cursor: pointer;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.case { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.case.hidden { display: none; }
.case .work-thumb { border-radius: var(--radius); position: sticky; top: 110px; font-size: clamp(1.4rem, 3vw, 2rem); padding: 24px; text-align: center; }
.case-meta { display: grid; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; font-size: .95rem; }
.case-meta strong { color: var(--ink); }
.case h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin: 24px 0 8px; }
.empty { display: none; padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

.case--todo { border: 2px dashed #e0c36a; border-radius: var(--radius); padding: 40px; margin-top: 48px; background: #fffcf0; }
.case--todo .work-thumb { background: #e9e4d3; color: #8a7a45; }

/* Screenshot gallery */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 8px 0 8px; }
.shot {
  margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #fff; cursor: zoom-in; text-align: left; font: inherit; transition: box-shadow .2s, transform .2s;
}
.shot:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; background: var(--bg-soft); }
.shot span { display: block; padding: 8px 10px; font-size: .8rem; line-height: 1.35; color: var(--ink-2); border-top: 1px solid var(--line); }
.shots-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 16, 28, .9);
  display: none; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1400px, 100%); max-height: 80vh; border-radius: 8px; background: #fff; }
.lightbox p { color: #e6e9ef; margin: 14px 0 0; text-align: center; max-width: 800px; font-size: .95rem; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }
.work-thumb.has-img { background-size: cover; background-position: top left; }

/* Platform chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.chips li, .chips span {
  font-size: .82rem; font-weight: 600; color: var(--ink); background: var(--bg-soft);
  border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px;
}
.chips .ghl { background: var(--accent-soft); color: var(--accent-dark); border-color: #f6cdb3; }

/* Integrations */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.int-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.int-group h3 { font-size: 1rem; margin-bottom: 4px; }
.int-group p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.int-group .chips { margin: 0; }
.hub { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.hub-core {
  background: var(--accent); color: #fff; font-weight: 800; padding: 12px 22px; border-radius: 999px; font-size: 1rem;
}

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.portrait { position: relative; margin: 0 18px 18px 0; max-width: 100%; }
.portrait::before {
  /* gold frame offset behind the photo */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--radius);
}
.portrait img {
  position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  background: var(--bg-dark); box-shadow: 0 24px 48px rgba(10, 13, 20, .28);
}
.portrait figcaption {
  position: absolute; left: 16px; bottom: 16px; display: grid; gap: 2px;
  padding: 10px 16px; border-radius: 10px; background: rgba(10, 13, 20, .78); backdrop-filter: blur(6px);
  color: #c9d1e0; font-size: .85rem;
}
.portrait figcaption strong { color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.details { list-style: none; padding: 0; margin: 0; }
.details li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 16px; }
.details strong { color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form label small { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #cfd5df; border-radius: 10px;
  font: inherit; font-size: .97rem; color: var(--ink); background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form textarea { min-height: 150px; resize: vertical; }
.microcopy { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.form-success { display: none; padding: 24px; border-radius: var(--radius); background: #e9f7ef; color: #1e6b3d; font-weight: 500; }
.side-card { background: var(--bg-soft); border-radius: var(--radius); padding: 32px; margin-bottom: 24px; }
.side-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.side-card li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.calendar-ph {
  border: 2px dashed #cfd5df; border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--muted);
}

/* Blog */
.post-card .meta { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; margin-bottom: 10px; }

/* Footer */
.site-footer { background: var(--bg-dark); color: #9aa6ba; padding: 80px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; margin-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer .logo { color: #fff; display: inline-block; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 20px; }

/* Reveal on scroll */
/* Sections stay visible at rest; on scroll they get a gentle lift only */
.reveal { transition: transform .6s ease; }
.reveal:not(.visible) { transform: translateY(10px); }
.reveal.visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal:not(.visible) { transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .int-grid { grid-template-columns: 1fr 1fr; }
  .problem, .service, .case, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .case .work-thumb { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; justify-content: center; }
  .grid-2, .grid-3, .int-grid, .stats, .form { grid-template-columns: 1fr; }
  .case--todo { padding: 24px; }
  .cta-band { padding: 56px 24px; border-radius: 18px; }
  .details li { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Brand refresh: dark header matching the logo, gold details ===== */
.site-header { background: rgba(10, 13, 20, .94); border-bottom-color: rgba(255, 255, 255, .08); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(10, 13, 20, .35); }
.nav-links a { color: #c9d1e0; position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: #fff; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-toggle span { background: #fff; }
.eyebrow { color: var(--gold-text); }
.section--dark .eyebrow, .site-footer .eyebrow { color: var(--gold); }
.step::before { color: var(--gold); }
.site-footer { background: var(--bg-dark); }

/* Logo: image with a light sweep that passes over it every few seconds */
.logo { display: inline-flex; position: relative; overflow: hidden; border-radius: 6px; line-height: 0; }
.logo img { height: 54px; width: auto; display: block; }
.site-footer .logo img { height: 96px; }
.logo::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-18deg); animation: logo-shine 6s ease-in-out 1.2s infinite;
}
.site-header .logo img { animation: logo-in .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes logo-shine { 0%, 70% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes logo-in { from { opacity: 0; transform: translateY(-6px) scale(.92); } to { opacity: 1; transform: none; } }

/* Hero: staggered entrance on page load, drifting brand-colour glows behind */
.hero::before {
  background: radial-gradient(circle, rgba(31, 111, 235, .16) 0%, transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; left: -160px; bottom: -220px; width: 460px; height: 460px; z-index: -1;
  background: radial-gradient(circle, rgba(201, 151, 59, .16) 0%, transparent 70%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }
.hero .eyebrow, .hero h1, .hero .lead, .hero-actions,
.page-hero .eyebrow, .page-hero h1, .page-hero .lead { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1, .page-hero h1 { animation-delay: .1s; }
.hero .lead, .page-hero .lead { animation-delay: .22s; }
.hero-actions { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Buttons: light sweep on hover */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -70%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg);
}
.btn:hover::after { left: 130%; transition: left .7s ease; }

/* Cards: lift with a gold-to-blue edge glow; screenshots zoom gently */
.card { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(10, 13, 20, .12); }
.work-thumb.has-img { transition: background-size .6s ease; background-size: 100%; }
.work-card:hover .work-thumb.has-img { background-size: 108%; }
.shot img { transition: transform .5s ease; }
.shot:hover img { transform: scale(1.05); }

/* Scroll reveal: staggered lift for groups of cards (content stays visible) */
.grid > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4) { transition-delay: .24s; }
.grid > .reveal:nth-child(5) { transition-delay: .32s; }
.grid > .reveal:nth-child(6) { transition-delay: .4s; }
.reveal:not(.visible) { transform: translateY(24px); }

/* About photo: wipe-in on load, slow float, frame slides into place */
.portrait img { animation: photo-in 1.1s cubic-bezier(.2, .8, .2, 1) both, float 7s ease-in-out 1.2s infinite; }
.portrait::before { animation: frame-in 1.1s cubic-bezier(.2, .8, .2, 1) .35s both; }
.portrait figcaption { animation: rise .7s cubic-bezier(.2, .8, .2, 1) .9s both; }
@keyframes photo-in { from { clip-path: inset(0 0 100% 0 round 14px); } to { clip-path: inset(0 0 0 0 round 14px); } }
@keyframes frame-in { from { opacity: 0; transform: translate(-18px, -18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Platform strip: continuous marquee (script duplicates the row) */
.logos.marquee span { padding-right: 36px; }
.logos.marquee { gap: 0; flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: marquee 32s linear infinite; }
.trust .container { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust:hover .logos.marquee { animation-play-state: paused; }
.logos span { transition: color .3s; }
.logos span:hover { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 760px) {
  .nav-links { background: var(--bg-dark); border-bottom-color: rgba(255, 255, 255, .08); }
  .nav-links li a:not(.btn) { border-bottom-color: rgba(255, 255, 255, .08); }
  .nav-links a:not(.btn)::after { display: none; }
  .logo img { height: 46px; }
  .portrait { margin: 0 14px 14px 0; }
  .portrait::before { inset: 14px -14px -14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal:not(.visible) { transform: none; }
  .logos.marquee { width: auto; flex-wrap: wrap; justify-content: center; }
}

/* ===== Reviews ===== */
.stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 12px; }
.review-feature {
  margin: 0 0 28px; padding: clamp(28px, 5vw, 48px); border-radius: 20px; position: relative; overflow: hidden;
  background: var(--bg-dark); color: #c9d1e0;
}
.review-feature::before {
  content: "“"; position: absolute; right: 24px; top: -30px; font-family: var(--font-display); font-size: 14rem; line-height: 1;
  color: var(--gold); opacity: .18;
}
.review-feature blockquote {
  position: relative; margin: 0 0 24px; max-width: 900px; color: #fff;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5;
}
.review-feature figcaption, .review figcaption { display: grid; gap: 2px; font-size: .88rem; }
.review-feature figcaption strong { color: var(--gold); font-size: 1rem; }
.reviews { columns: 3 300px; column-gap: 20px; }
.review {
  break-inside: avoid; margin: 0 0 20px; padding: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s;
}
.review:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(10, 13, 20, .1); }
.review blockquote { margin: 0 0 18px; color: var(--ink-2); line-height: 1.6; }
.review figcaption strong { color: var(--ink); }
.review figcaption span { color: var(--muted); }
.reviews-links { text-align: center; color: var(--muted); margin-top: 12px; }
.reviews-links a { color: var(--accent); font-weight: 600; }
.review-feature .stars { animation: stars-in 1s ease .2s both; }
@keyframes stars-in { from { letter-spacing: 14px; opacity: 0; } to { letter-spacing: 3px; opacity: 1; } }
.reviews > .reveal:nth-child(3n+2) { transition-delay: .08s; }
.reviews > .reveal:nth-child(3n) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .review-feature .stars { animation: none; } }

/* ===== Home hero with photo ===== */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-text { min-width: 0; }
.hero-text h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.hero-photo { max-width: 400px; justify-self: end; width: 100%; }
.hero-photo img { animation-delay: .25s, 1.5s; }
.hero-badge {
  position: absolute; right: -10px; top: 22px; display: grid; gap: 0; padding: 10px 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(10, 13, 20, .18);
  font-size: .8rem; font-weight: 600; color: var(--ink); animation: badge-in .7s cubic-bezier(.2, .8, .2, 1) 1.1s both;
}
.hero-badge .stars { margin: 0; font-size: .9rem; }
@keyframes badge-in { from { opacity: 0; transform: translateX(16px) scale(.9); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 300px; }
  .hero-badge { right: -6px; }
}
@media (prefers-reduced-motion: reduce) { .hero-badge { animation: none; } }

/* ===== Professional palette: deep navy, royal blue, champagne gold ===== */
:root {
  --ink: #0c1a30;          /* deep navy for headings */
  --ink-2: #3b4a62;        /* body text */
  --muted: #6b7a90;
  --line: #e1e6ee;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;      /* cool grey-blue instead of beige */
  --bg-dark: #0a1120;      /* navy-black, close to the logo background */
  --navy: #0f2140;
  --accent: #1d4ed8;       /* royal blue for buttons and links */
  --accent-dark: #1a3fae;
  --accent-soft: #eaf0fd;
  --sky: #5b8def;
  --gold: #c9a24f;         /* champagne gold for details */
  --gold-text: #8a6a1f;
  --gold-soft: rgba(201, 162, 79, .16);
  --shadow: 0 1px 2px rgba(12, 26, 48, .05), 0 10px 28px rgba(12, 26, 48, .07);
}
.site-header { background: rgba(10, 17, 32, .96); }
.section--dark { background: linear-gradient(160deg, var(--bg-dark), var(--navy)); }
.site-footer { background: var(--bg-dark); }
.logos span { color: #7d8aa0; }

/* Project tiles: one family of navy, blue and gold instead of random colours */
.t1 { background: linear-gradient(135deg, #0a1120, #1a3466); }
.t2 { background: linear-gradient(135deg, #0f2140, #1d4ed8); }
.t3 { background: linear-gradient(135deg, #0c1a30, #2c4f8f); }
.t4 { background: linear-gradient(135deg, #142a4f, #3e64b4); }
.t5 { background: linear-gradient(135deg, #0a1120, #24457f); }
.t6 { background: linear-gradient(135deg, #1b2a44, #9c7a33); }

/* Call to action: navy panel with a gold button */
.cta-band { background: radial-gradient(120% 140% at 85% 0%, #1a3a74 0%, var(--navy) 45%, var(--bg-dark) 100%); border: 1px solid rgba(201, 162, 79, .25); }
.cta-band p { color: #c3cddd; }
.cta-band .btn { background: var(--gold); color: #0a1120; }
.cta-band .btn:hover { background: #fff; color: var(--ink); }

.btn--primary { background: var(--accent); box-shadow: 0 6px 18px rgba(29, 78, 216, .25); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.chips .ghl { background: var(--accent-soft); color: var(--accent-dark); border-color: #c9d8fa; }
.filter-btn.active { background: var(--navy); border-color: var(--navy); }
.card .icon { background: var(--gold-soft); color: var(--gold-text); }
.link-arrow { color: var(--accent); }
.hero::before { background: radial-gradient(circle, rgba(29, 78, 216, .12) 0%, transparent 70%); }
.hero::after { background: radial-gradient(circle, rgba(201, 162, 79, .14) 0%, transparent 70%); }
.review-feature { background: linear-gradient(160deg, var(--bg-dark), var(--navy)); }
.problem-answer { border-left: 3px solid var(--gold); }

.form-error { margin-top: 16px; padding: 18px 20px; border-radius: var(--radius); background: #fdecec; color: #8a1f1f; font-weight: 500; }
