/* ==========================================================
   Noor Influencer portfolio: styles
   Colours (edit here): --bg background, --text soft white, --gold accent.
   ========================================================== */
:root {
  --bg: #0A0A0F;
  --bg-2: #101018;
  --text: #EDEDF2;
  --muted: #A6A6B5;
  --gold: #D4AF37;
  --gold-2: #F1D77A;
  --border: rgba(255, 255, 255, 0.10);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  --radius: 18px;
  --max: 1160px;
  --nav-h: 72px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.container.narrow { width: min(100% - 40px, 820px); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: #0A0A0F; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.section { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 120px) 0; scroll-margin-top: var(--nav-h); }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 10px; }
.section-sub { color: var(--muted); margin-top: 14px; }
.eyebrow {
  color: var(--gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; margin: 0;
}

.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(60px); opacity: 0.55; z-index: 0; }
.glow-a { width: 520px; height: 520px; top: -160px; right: -140px; background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 70%); }
.glow-b { width: 380px; height: 380px; bottom: -140px; left: -120px; background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 70%); }
.glow-c { width: 420px; height: 420px; top: 10%; left: -180px; background: radial-gradient(circle, rgba(212, 175, 55, 0.14), transparent 70%); }
.glow-d { width: 520px; height: 520px; top: 30%; right: -220px; background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%); }
.glow-e { width: 460px; height: 460px; top: 0; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%); }
.glow-f { width: 560px; height: 560px; bottom: -200px; right: -200px; background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 70%); }
.section > .container { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.95rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #0A0A0F;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.22);
}
.btn-gold:hover { box-shadow: 0 14px 34px rgba(212, 175, 55, 0.36); }
.btn-outline { border-color: rgba(212, 175, 55, 0.55); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-outline:hover { background: rgba(212, 175, 55, 0.10); border-color: var(--gold); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }
.btn-wide { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(10, 10, 15, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.nav { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; min-width: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #0A0A0F;
  font: 700 1.05rem/1 var(--font-head);
}
.brand-name { font-size: 0.98rem; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-links { display: none; margin-left: auto; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.92rem; transition: color 0.2s ease; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--gold);
}
.nav-cta { margin-left: auto; }
.nav-links { margin-left: auto; }
.nav-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: transparent;
  display: grid; place-content: center; gap: 5px; cursor: pointer; flex: none;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile menu panel */
.nav-links.open {
  display: flex; flex-direction: column; gap: 0; position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: rgba(14, 14, 20, 0.97); border-bottom: 1px solid var(--border); padding: 8px 20px 18px;
}
.nav-links.open a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
.nav-links.open a:last-child { border-bottom: 0; }
.nav-links.open a.active::after { display: none; }
.nav-links.open a.active { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; padding: clamp(48px, 8vw, 96px) 0; }
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 16px; }
.hero h1 { margin-bottom: 20px; }
.lead { font-size: clamp(1.02rem, 2vw, 1.15rem); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 36px; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats li {
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--glass);
  font-size: 0.9rem; color: var(--text); position: relative; padding-left: 30px;
}
.stats li::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
}
.hero-visual { position: relative; display: none; }

/* Hero / card mockups (CSS only) */
.mock-browser {
  border-radius: 16px; overflow: hidden; background: #0E0E16;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 70px rgba(212, 175, 55, 0.08);
}
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: #13131C; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.mock-body { padding: 22px; display: grid; gap: 12px; min-height: 260px; align-content: start; }
.sk { border-radius: 10px; background: rgba(255, 255, 255, 0.07); }
.sk-hero { height: 70px; background: linear-gradient(135deg, rgba(212, 175, 55, 0.38), rgba(212, 175, 55, 0.04)); }
.sk-line { height: 10px; border-radius: 6px; }
.sk-line.short { width: 62%; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sk-card { height: 74px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); }
.sk-btn { width: 120px; height: 34px; border-radius: 999px; background: var(--gold); opacity: 0.9; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 28px; }
.about-grid h2 { margin-top: 10px; }
.about-copy { display: grid; gap: 18px; color: var(--muted); }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 22px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--glass); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, 0.45); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 175, 55, 0.07); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(212, 175, 55, 0.10); border: 1px solid rgba(212, 175, 55, 0.25);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font: 500 0.92rem/1 var(--font-body); cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn:hover { color: var(--text); border-color: rgba(212, 175, 55, 0.5); }
.filter-btn[aria-pressed="true"] { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #0A0A0F; border-color: transparent; font-weight: 600; }
.project-card { cursor: pointer; padding: 14px; display: flex; flex-direction: column; gap: 16px; }
.project-card .mock-browser { border-radius: 12px; box-shadow: none; }
.project-card .mock-body { min-height: 0; padding: 0; gap: 0; }
.mock-note {
  display: grid; place-items: center; min-height: 170px; width: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(255, 255, 255, 0.02) 60%);
  color: var(--muted); font-size: 0.82rem; letter-spacing: 0.04em;
}
.project-info { padding: 0 8px 10px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag, .label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.tag { background: rgba(212, 175, 55, 0.12); color: var(--gold-2); }
.label { border: 1px solid var(--border); color: var(--muted); }
.project-info h3 { font-size: 1.12rem; }
.project-info p { color: var(--muted); font-size: 0.93rem; }
.project-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.project-actions .btn { flex: 1 1 auto; }
.project-card .btn-outline { min-width: 0; }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--glass);
}
.step-num {
  display: inline-block; font: 700 2.2rem/1 var(--font-head); color: transparent;
  -webkit-text-stroke: 1px var(--gold); margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Pricing ---------- */
.pricing { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 1.4rem; }
.plan-for { color: var(--muted); font-size: 0.95rem; margin: 8px 0 22px; min-height: 2.9em; }
.price { font: 700 2.4rem/1.1 var(--font-head); margin-bottom: 22px; }
.price .currency { font-size: 1.4rem; color: var(--gold); vertical-align: top; margin-right: 2px; }
.price-quote { font-size: 1.8rem; color: var(--gold-2); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.checks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 0.95rem; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 6px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.plan-btn { width: 100%; }
.plan-featured { border-color: rgba(212, 175, 55, 0.6); box-shadow: 0 24px 60px rgba(212, 175, 55, 0.10); }
.badge {
  position: absolute; top: -13px; left: 28px; padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #0A0A0F; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- Testimonials ---------- */
.slider { display: grid; gap: 22px; }
.slide { margin: 0; text-align: center; padding: clamp(28px, 5vw, 44px); }
.slide blockquote { margin: 0 0 22px; font: 600 clamp(1.15rem, 2.6vw, 1.5rem)/1.5 var(--font-head); color: var(--text); }
.slide figcaption { display: grid; gap: 4px; color: var(--muted); font-size: 0.92rem; }
.slide figcaption strong { color: var(--gold-2); font-weight: 600; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, 0.45); background: transparent;
  color: var(--text); font-size: 1.1rem; cursor: pointer; transition: all 0.25s ease;
}
.icon-btn:hover { background: rgba(212, 175, 55, 0.12); color: var(--gold-2); }
.dots { display: flex; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, 0.22); cursor: pointer; transition: all 0.25s ease; }
.dot[aria-current="true"] { background: var(--gold); transform: scale(1.25); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border); border-radius: 14px; background: var(--glass); padding: 0 22px;
  transition: border-color 0.3s ease;
}
.faq details[open] { border-color: rgba(212, 175, 55, 0.45); }
.faq summary {
  cursor: pointer; list-style: none; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform 0.3s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; font-size: 0.97rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-intro h2 { margin: 10px 0 0; }
.contact-intro .btn { margin-top: 28px; }
.email-line { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }
.email-line span { color: var(--text); font-weight: 600; }
.form { display: grid; gap: 16px; padding: clamp(22px, 4vw, 34px); }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.7); color: var(--text); font: 16px/1.4 var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #13131C; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18); }
.sample-note { font-size: 0.9rem; color: var(--gold-2); border-left: 2px solid var(--gold); padding-left: 10px; }
.field input::placeholder, .field textarea::placeholder { color: #6E6E7E; }
.form-status { min-height: 1.4em; font-size: 0.92rem; color: var(--gold-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: 56px; background: #07070B; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 36px; }
.footer-tag { color: var(--muted); margin-top: 12px; font-size: 0.95rem; max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.footer-links a, .footer-bottom p { color: var(--muted); text-decoration: none; font-size: 0.93rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--border); transition: all 0.25s ease;
}
.socials a:hover { border-color: rgba(212, 175, 55, 0.6); background: rgba(212, 175, 55, 0.08); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0 max(26px, env(safe-area-inset-bottom)); }

/* ---------- Floating email ---------- */
.email-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 12px 32px rgba(212, 175, 55, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.email-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px rgba(212, 175, 55, 0.45); }
.email-float svg { width: 28px; height: 28px; fill: none; stroke: #0A0A0F; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- Modal ---------- */
.modal {
  width: min(calc(100% - 28px), 640px); max-height: calc(100% - 28px); padding: 0; border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px; background: #0E0E16; color: var(--text); overflow: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}
.modal::backdrop { background: rgba(4, 4, 8, 0.75); backdrop-filter: blur(4px); }
.modal-inner { padding: clamp(20px, 4vw, 30px); display: grid; gap: 18px; position: relative; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.8); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 2;
}
.modal-mock .mock-body { min-height: 0; }
.modal-mock-body .mock-note { min-height: 200px; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.modal h3 { font-size: 1.5rem; }
.modal-inner > p { color: var(--muted); }
.tech { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech li { font-size: 0.82rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.modal-live { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Reveal and page-load motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-4px); }
.js .project-card.reveal.in:hover { transform: translateY(-4px); }
.js .hero-content > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .hero-content > :nth-child(2) { animation-delay: 0.08s; }
.js .hero-content > :nth-child(3) { animation-delay: 0.16s; }
.js .hero-content > :nth-child(4) { animation-delay: 0.24s; }
.js .hero-content > :nth-child(5) { animation-delay: 0.32s; }
.js .hero-visual { animation: fadeIn 1.2s ease 0.2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.project-card.enter { animation: rise 0.6s ease both; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, auto); justify-content: start; }
  .stats li { white-space: nowrap; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { gap: 10px; }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: none; }
  .nav-links.open { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .hero-visual { display: block; }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .pricing .plan-featured { transform: translateY(-14px); }
  .pricing .plan-featured:hover { transform: translateY(-18px); }
  .contact-grid { grid-template-columns: 0.95fr 1.05fr; gap: 64px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr auto; align-items: center; }
  .footer-bottom p { font-size: 0.88rem; }
  .stats { grid-template-columns: repeat(4, auto); }
}
@media (min-width: 1200px) {
  .hero-grid { gap: 72px; }
}
@media (max-width: 899px) {
  .nav-cta { display: inline-flex; }
}
@media (max-width: 639px) {
  .nav-cta { min-height: 40px; padding: 0 14px; font-size: 0.85rem; }
  .hero { min-height: auto; }
  .hero-actions .btn { flex: 1 1 100%; }
  .project-actions .btn { flex: 1 1 100%; }
  .card { padding: 22px; }
  .step { padding: 22px; }
  .email-float { width: 54px; height: 54px; right: 14px; }
  .email-float svg { width: 26px; height: 26px; }
  .mock-body { min-height: 0; padding: 16px; }
  .sk-card { height: 56px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 0.9rem; }
  .brand-mark { width: 30px; height: 30px; }
  .nav-cta { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Portfolio cards and project modal: plain text block in place of a picture */
.project-text-block {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  min-height: 150px; padding: 22px; border-radius: 12px;
  background: linear-gradient(160deg, #13131C 0%, #0A0A0F 100%);
  border: 1px solid var(--border);
}
.project-text-block strong { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: var(--text); }
.modal-mock-body.project-text-block { min-height: 200px; }

/* Email button row under Services and Portfolio */
.cta-row { margin-top: 36px; display: flex; justify-content: center; }
