/* ==========================================================
   ANNELY STUDIOS – PORTFOLIO
   Colours = the Annely Studio palette (Aug 2026). Change here only.
   ========================================================== */
:root {
  --navy: #1B2864;      /* Ink Navy – headlines, structure */
  --teal: #13AAA8;      /* Signal Teal – secondary detail */
  --orange: #EC6F26;    /* Ember Orange – the one accent (CTAs) */
  --mist: #B1D7E8;      /* Mist Blue – soft backdrops */
  --paper: #F5F8FB;     /* Paper – light ground */
  --ink: #0E1230;       /* Deep Ink – dark ground */

  --ink-2: #151a3f;     /* raised dark surface */
  --ink-3: #1f2552;     /* borders on dark */
  --on-dark: #e9edf7;
  --muted-dark: #9aa3c4;
  --muted-light: #4d5680;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --r-xl: 44px; --r-lg: 26px; --r-md: 18px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--on-dark); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 8px 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn .arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: transform .25s ease; flex: none; }
.btn .arrow svg { width: 18px; height: 18px; }
.btn:hover .arrow { transform: rotate(-45deg); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -10px rgba(236,111,38,.7); }
.btn-orange .arrow { background: #fff; color: var(--orange); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy .arrow { background: var(--orange); color: #fff; }
.btn-glass { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 0 24px; }
.btn-line { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); padding: 0 22px; height: 46px; }
.btn-line-dark { background: transparent; color: var(--on-dark); border: 1.5px solid var(--ink-3); padding: 0 22px; height: 46px; }
.btn:hover { transform: translateY(-2px); }

/* ---------- Eyebrows & section heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.hl { position: relative; display: inline-block; padding: 0 .18em; color: #fff; z-index: 0; }
.hl::after { content: ""; position: absolute; inset: .06em 0 .02em; background: var(--orange); border-radius: .14em; z-index: -1; transform: rotate(-1.2deg); }
.sec { padding: 110px 0 0; }
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 52px); margin-top: 14px; }
.sec-head p { color: var(--muted-dark); max-width: 46ch; }
@media (max-width: 820px) { .sec { padding-top: 80px; } .sec-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; } }

/* ==========================================================
   HERO – light card on dark page
   ========================================================== */
.hero-shell { padding: 14px 14px 0; }
.hero { position: relative; background: var(--paper); color: var(--navy); border-radius: 0 0 var(--r-xl) var(--r-xl); border-top-left-radius: 28px; border-top-right-radius: 28px; overflow: hidden; isolation: isolate; }
.hero .wrap { position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(27,40,100,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(27,40,100,.045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%); }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -30%; width: 900px; height: 620px; translate: -50% 0; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(19,170,168,.22), rgba(177,215,232,.35) 55%, transparent 100%); filter: blur(10px); }

/* Pill navigation */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px auto 0; max-width: 980px; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 26px; position: relative; z-index: 5; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav-links a { text-decoration: none; opacity: .78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.wordmark i { font-style: normal; color: var(--teal); }
.wordmark b { color: var(--orange); }
.nav .btn { height: 42px; font-size: 14px; padding: 0 6px 0 18px; }
.nav .btn .arrow { width: 32px; height: 32px; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; transition: transform .2s; }

.hero-title { text-align: center; font-size: clamp(36px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.035em; margin: 56px auto 0; max-width: 15ch; position: relative; z-index: 2; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--orange); }

.star { position: absolute; color: var(--orange); z-index: 1; }
.star svg { width: 100%; height: 100%; display: block; }
.star-a { width: 74px; height: 74px; left: 6%; top: 112px; animation: spin 18s linear infinite; }
.star-b { width: 34px; height: 34px; right: 9%; top: 300px; color: var(--teal); animation: spin 12s linear infinite reverse; }

.hero-stage { display: grid; grid-template-columns: 1fr minmax(300px, 420px) 1fr; align-items: end; gap: 28px; margin-top: 18px; position: relative; z-index: 2; }
.hero-intro { padding-bottom: 120px; display: grid; gap: 18px; justify-items: start; }
.hero-intro p { font-size: 16px; color: var(--muted-light); max-width: 34ch; }
.hero-side { padding-bottom: 120px; display: grid; justify-items: end; text-align: right; gap: 10px; }
.avail { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px -12px rgba(27,40,100,.35); }
.avail .dot { width: 9px; height: 9px; border-radius: 50%; background: #1fae5b; box-shadow: 0 0 0 0 rgba(31,174,91,.6); animation: pulse 2s ease-out infinite; }
.hero-side .big { font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.hero-side small { color: var(--muted-light); font-size: 13px; max-width: 26ch; }

.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, rgba(27,40,100,.06), rgba(27,40,100,.14)); overflow: hidden; }
.arch::before { content: ""; position: absolute; inset: 12% 10% 0; border-radius: 999px 999px 0 0; background: linear-gradient(170deg, var(--teal) 0%, var(--navy) 85%); opacity: .9; }
.arch img { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 1; }
.arch .mono { position: absolute; inset: 12% 10% 0; display: grid; place-items: center; z-index: 1; }
.arch .mono span { font-family: var(--display); font-weight: 800; font-size: clamp(90px, 12vw, 150px); color: rgba(255,255,255,.12); letter-spacing: -.06em; }
.arch .ring { position: absolute; left: 50%; top: 46%; width: 70%; aspect-ratio: 1; translate: -50% -50%; border: 1.5px dashed rgba(255,255,255,.35); border-radius: 50%; animation: spin 40s linear infinite; z-index: 1; }
.hero-ctas { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: flex; gap: 10px; z-index: 3; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: grid; position: absolute; top: 58px; left: 0; right: 0; background: var(--ink); border-radius: 24px; padding: 20px 26px; gap: 14px; font-size: 16px; }
  .nav-toggle { display: block; }
  .nav .btn-label { display: none; }
  .nav .btn { padding: 0 5px; }
  .hero-stage { grid-template-columns: 1fr; justify-items: center; }
  .hero-intro, .hero-side { padding-bottom: 0; justify-items: center; text-align: center; }
  .hero-intro { order: 1; } .arch-wrap { order: 3; width: min(100%, 380px); } .hero-side { order: 2; }
  .hero-side .big { font-size: 30px; }
  .star-a { width: 46px; height: 46px; top: 96px; left: 4%; }
  .star-b { display: none; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; width: 82%; }
  .hero-ctas .btn { justify-content: space-between; }
  .hero-ctas .btn-glass { justify-content: center; }
}

/* ---------- Stats glass bar ---------- */
.stats { margin: 28px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink-3); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border-radius: var(--r-lg); padding: 26px 10px; }
.stat { text-align: center; padding: 0 10px; border-left: 1px solid var(--ink-3); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(24px, 3vw, 34px); color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted-dark); }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 22px; } .stat:nth-child(3) { border-left: 0; } }

/* ---------- Marquees ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.clients { margin-top: 46px; }
.clients-label { text-align: center; font-size: 13px; color: var(--muted-dark); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.client { padding: 0 34px; font-family: var(--display); font-size: 17px; font-weight: 600; color: #c8cee6; opacity: .75; white-space: nowrap; display: flex; align-items: center; gap: 34px; }
.client::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.words { padding: 30px 0; border-top: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); margin-top: 110px; }
.words .marquee-track { animation-duration: 28s; }
.word { font-family: var(--display); font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -.03em; padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.word:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--mist); }
.word .s { width: 30px; height: 30px; color: var(--orange); flex: none; }

/* ---------- Intro / approach ---------- */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.approach .copy { display: grid; gap: 18px; align-content: start; color: var(--muted-dark); }
.approach .copy p strong { color: #fff; font-weight: 600; }
.ph { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--ink-2); border: 1px solid var(--ink-3); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .4s, transform .6s; }
.ph:hover img { filter: grayscale(0); transform: scale(1.03); }
.ph .ph-fill { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted-dark); font-size: 13px; text-align: center; padding: 16px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px), radial-gradient(80% 80% at 30% 20%, rgba(19,170,168,.22), transparent 60%), var(--ink-2); }
.approach .ph.tall { aspect-ratio: 4 / 3; }
.approach .ph.wide { aspect-ratio: 16 / 10; }
@media (max-width: 820px) { .approach { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.svc { display: grid; grid-template-columns: 360px 1fr; gap: 22px; background: linear-gradient(180deg, var(--ink-2), rgba(21,26,63,.4)); border: 1px solid var(--ink-3); border-radius: var(--r-xl); padding: 22px; position: relative; overflow: hidden; }
.svc::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(236,111,38,.22), transparent 65%); pointer-events: none; }
.svc-tabs { display: grid; gap: 10px; align-content: start; }
.svc-tab { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: rgba(255,255,255,.03); border: 1px solid var(--ink-3); border-radius: 999px; padding: 12px 18px 12px 12px; cursor: pointer; font-weight: 600; font-size: 15px; transition: background .25s, border-color .25s, color .25s; }
.svc-tab .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-family: var(--display); background: var(--ink-3); color: var(--mist); flex: none; transition: background .25s, color .25s; }
.svc-tab .go { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: .25s; color: var(--orange); }
.svc-tab[aria-selected="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.svc-tab[aria-selected="true"] .n { background: var(--orange); color: #fff; }
.svc-tab[aria-selected="true"] .go { opacity: 1; transform: none; }
.svc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.tile-cta { border-radius: var(--r-md); padding: 18px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.2; transition: transform .2s; }
.tile-cta:hover { transform: translateY(-3px); }
.tile-cta .a { align-self: flex-end; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.tile-cta .a svg { width: 16px; height: 16px; }
.tile-o { background: var(--orange); color: #fff; }
.tile-o .a { background: #fff; color: var(--orange); }
.tile-g { background: rgba(255,255,255,.06); border: 1px solid var(--ink-3); color: #fff; }
.tile-g .a { background: var(--ink-3); color: #fff; }

.svc-panel { background: rgba(14,18,48,.6); border: 1px solid var(--ink-3); border-radius: var(--r-lg); padding: 28px; position: relative; min-width: 0; }
.svc-panel h3 { font-size: clamp(22px, 2.6vw, 30px); }
.svc-panel .lede { color: var(--muted-dark); margin: 8px 0 22px; max-width: 52ch; }
.svc-list { display: grid; gap: 0; }
.svc-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 18px 0; border-top: 1px solid var(--ink-3); align-items: center; }
.svc-row:last-child { border-bottom: 1px solid var(--ink-3); }
.svc-row b { font-size: 17px; font-weight: 600; color: #fff; }
.svc-row small { grid-column: 1; color: var(--muted-dark); font-size: 14px; }
.price { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-family: var(--display); font-size: 18px; color: #fff; white-space: nowrap; }
.price span { display: block; font-family: var(--body); font-size: 12px; color: var(--muted-dark); font-weight: 500; }
.price.q { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--teal); }
.svc-panel .fade { animation: fadeUp .45s ease; }
@media (max-width: 920px) { .svc { grid-template-columns: 1fr; border-radius: var(--r-lg); padding: 14px; } .svc-panel { padding: 20px; } }

/* All-services overview */
.all-svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.all-svc article { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r-md); padding: 22px 20px 20px; position: relative; overflow: hidden; }
.all-svc article::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; background: var(--orange); border-radius: 0 0 3px 3px; }
.all-svc h3 { font-size: 16px; margin-bottom: 12px; }
.all-svc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted-dark); }
.all-svc li { display: flex; gap: 8px; }
.all-svc li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-top: 9px; flex: none; }
@media (max-width: 920px) { .all-svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .all-svc { grid-template-columns: 1fr; } }

/* ---------- Work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { border: 1px solid var(--ink-3); background: transparent; color: var(--on-dark); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--mist); }
.chip[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; grid-auto-flow: row dense; }
.card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r-lg); padding: 10px 10px 18px; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 14px; transition: transform .3s ease, border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(177,215,232,.35); }
.card .media { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; position: relative; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .media img { transform: scale(1.05); }
.card .info { padding: 0 8px; display: grid; gap: 6px; }
.card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.card .tag { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.card h3 { font-size: 20px; color: #fff; }
.card .client-name { font-size: 14px; color: var(--muted-dark); }
.card .view { display: inline-flex; align-items: center; gap: 8px; margin: 4px 8px 0; font-size: 13px; font-weight: 600; color: #fff; }
.card .view i { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; transition: transform .25s; }
.card:hover .view i { transform: rotate(-45deg); }
.card .view svg { width: 13px; height: 13px; }
.card.big { grid-column: span 2; }
.card.big .media { aspect-ratio: auto; flex: 1; min-height: 240px; }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr 1fr; } .card.big { grid-column: span 2; } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } .card.big { grid-column: auto; } .card.big .media { aspect-ratio: 4 / 3; } }

/* Generated cover (used until a real image is added) */
.gen { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.gen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 44px), repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 44px); }
.gen .mk { font-family: var(--display); font-weight: 800; font-size: clamp(54px, 8vw, 96px); color: rgba(255,255,255,.92); letter-spacing: -.06em; position: relative; text-shadow: 0 20px 40px rgba(0,0,0,.25); }
.gen .orb { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; filter: blur(30px); opacity: .55; right: -15%; bottom: -25%; }
.gen .lbl { position: absolute; left: 14px; bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan .pname { font-weight: 600; color: var(--muted-dark); display: flex; justify-content: space-between; align-items: center; }
.plan .amt { font-family: var(--display); font-size: clamp(32px, 4vw, 44px); color: #fff; letter-spacing: -.03em; line-height: 1; }
.plan .amt small { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--muted-dark); letter-spacing: 0; }
.plan .for { font-size: 14px; color: var(--muted-dark); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; flex: none; color: var(--teal); margin-top: 2px; }
.plan .btn { margin-top: auto; justify-content: space-between; }
.plan.pop { background: linear-gradient(160deg, #f58a46 0%, var(--orange) 60%); border-color: transparent; color: #fff; transform: translateY(-14px); box-shadow: 0 30px 60px -30px rgba(236,111,38,.8); }
.plan.pop .pname, .plan.pop .for, .plan.pop .amt small { color: rgba(255,255,255,.85); }
.plan.pop li svg { color: #fff; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #fff; color: var(--orange); border-radius: 999px; padding: 4px 10px; }
.plan-note { text-align: center; color: var(--muted-dark); font-size: 14px; margin-top: 26px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan.pop { transform: none; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { border-top: 2px solid var(--ink-3); padding-top: 22px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-size: 14px; color: var(--orange); display: block; margin-bottom: 18px; }
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 2px; background: var(--orange); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted-dark); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about .portrait { aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; position: relative; background: linear-gradient(170deg, var(--teal), var(--navy)); }
.about .portrait img { width: 100%; height: 100%; object-fit: cover; }
.about .portrait .mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 160px; color: rgba(255,255,255,.12); }
.about .portrait .tagbox { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(14,18,48,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-md); padding: 14px 16px; }
.about .portrait .tagbox b { display: block; font-family: var(--display); font-size: 18px; }
.about .portrait .tagbox span { font-size: 13px; color: var(--mist); }
.about h2 { font-size: clamp(30px, 4.2vw, 50px); margin: 14px 0 20px; }
.about h2 span { display: block; }
.about h2 span:nth-child(2) { color: var(--teal); }
.about h2 span:nth-child(3) { color: transparent; -webkit-text-stroke: 1.2px #fff; }
.about .copy { display: grid; gap: 16px; color: var(--muted-dark); max-width: 56ch; }
.about .copy strong { color: #fff; font-weight: 600; }
.about .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } .about .portrait { max-width: 420px; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.quote { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 18px; }
.quote p { font-size: 17px; color: #fff; }
.quote footer { color: var(--muted-dark); font-size: 14px; }
.quote footer b { color: #fff; display: block; }

/* ---------- Contact / CTA ---------- */
.cta { margin-top: 110px; background: radial-gradient(90% 120% at 100% 0%, rgba(19,170,168,.35), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgba(236,111,38,.25), transparent 60%), var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.cta h2 { font-size: clamp(30px, 4.6vw, 56px); }
.cta .lead { color: var(--muted-dark); margin-top: 16px; max-width: 40ch; }
.contact-list { display: grid; gap: 12px; margin-top: 26px; }
.contact-list a, .contact-list span { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 500; }
.contact-list i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; }
.contact-list svg { width: 18px; height: 18px; }
form.quote-form { background: var(--paper); color: var(--navy); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; }
.quote-form h3 { font-size: 18px; }
.quote-form label { font-size: 13px; font-weight: 600; display: grid; gap: 6px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 1.5px solid #d6e2ee; background: #fff; border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--navy); }
.quote-form textarea { min-height: 96px; resize: vertical; }
.quote-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form .btn { justify-content: space-between; width: 100%; }
.quote-form .fine { font-size: 12px; color: var(--muted-light); text-align: center; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .quote-form .row2 { grid-template-columns: 1fr; } }

/* ---------- Footer card ---------- */
.foot-shell { padding: 110px 14px 14px; }
.foot { background: radial-gradient(120% 90% at 50% -10%, var(--mist) 0%, var(--paper) 60%); color: var(--navy); border-radius: var(--r-xl) var(--r-xl) 28px 28px; padding: 56px 0 26px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.foot .wordmark { font-size: 24px; color: var(--navy); }
.foot .blurb { color: var(--muted-light); margin-top: 12px; max-width: 34ch; font-size: 15px; }
.foot h4 { font-family: var(--display); font-size: 14px; margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--muted-light); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--orange); }
.giant { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 20.5vw, 300px); letter-spacing: -.06em; line-height: .82; margin-top: 46px; text-align: center; color: var(--navy); white-space: nowrap; overflow: hidden; }
.giant b { color: var(--orange); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(27,40,100,.15); margin-top: 22px; padding-top: 18px; font-size: 13px; color: var(--muted-light); }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > div:first-child { grid-column: span 2; } }

/* ---------- Project modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(6,8,22,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { width: min(980px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r-lg); transform: translateY(20px); transition: transform .3s ease; }
.modal.open .modal-box { transform: none; }
.modal-media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.modal-media img, .modal-media video, .modal-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.modal-body { padding: clamp(20px, 4vw, 36px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; }
.modal-body h3 { font-size: clamp(22px, 3vw, 32px); margin: 8px 0 12px; }
.modal-body p { color: var(--muted-dark); }
.modal-body ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--on-dark); font-size: 15px; }
.modal-meta { display: grid; gap: 14px; align-content: start; font-size: 14px; }
.modal-meta div span { display: block; color: var(--muted-dark); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding: 0 clamp(20px, 4vw, 36px) clamp(20px, 4vw, 36px); }
.gallery img { border-radius: var(--r-md); width: 100%; }
.x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(14,18,48,.75); color: #fff; cursor: pointer; z-index: 3; display: grid; place-items: center; }
.x svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .modal-body { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #1fae5b; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,174,91,.7); z-index: 40; transition: transform .2s; }
.fab:hover { transform: scale(1.06); }
.fab { transition: transform .25s, opacity .25s; }
.fab.away { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }
.fab svg { width: 28px; height: 28px; }

/* ---------- Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,174,91,.55); } 100% { box-shadow: 0 0 0 12px rgba(31,174,91,0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.js .hero-title .line > span { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .08s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .16s; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* when a real photo is added, hide the monogram behind it */
.arch.has-photo .mono { display: none; }
.arch.has-photo img { z-index: 1; }
@media (max-width: 900px) { .star-a { width: 30px; height: 30px; top: 104px; left: 5%; } .hero-title { margin-top: 64px; } }
@media (max-width: 600px) { .giant { font-size: 17.5vw; } }
@media (max-width: 600px) { .star-a { width: 28px; height: 28px; top: 204px; left: auto; right: 14%; } }

/* real logo + cut-out portrait */
.foot-logo { width: min(260px, 70vw); height: auto; display: block; }
.arch.has-photo img { inset: auto 0 0 0; width: 100%; height: 92%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 30px rgba(14,18,48,.35)); }
.about .portrait img { object-fit: contain; object-position: center bottom; position: absolute; inset: auto 0 0 0; height: 94%; }
.gallery video, .gallery iframe { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-md); border: 0; background: #000; grid-column: 1 / -1; }
@media (max-width: 900px) { .brand img { height: 34px; } }
.card .media img { position: absolute; inset: 0; z-index: 1; }
.hero-ctas .btn-glass { background: rgba(14,18,48,.55); border-color: rgba(255,255,255,.35); }
.card .view { margin-top: auto; }

.work-more { display: flex; justify-content: center; margin-top: 30px; }
.work-more .btn-line { color: #fff; border-color: rgba(255,255,255,.35); }

.plan-tabs { justify-content: center; margin: -6px 0 28px; }
.plan-more { display: flex; justify-content: center; margin-top: 18px; }
.plan-more .btn-line { color: #fff; border-color: rgba(255,255,255,.35); }
.plan-note { line-height: 1.7; }

.plan-more { gap: 10px; flex-wrap: wrap; }

/* bigger hero portrait */
@media (min-width: 901px) { .hero-stage { grid-template-columns: 1fr minmax(320px, 480px) 1fr; } }
.arch.has-photo img { height: 100%; width: 118%; left: -9%; right: auto; object-fit: contain; object-position: center bottom; }
.arch.has-photo::before { inset: 7% 6% 0; }
@media (max-width: 900px) { .arch-wrap { width: min(100%, 440px); } }

/* client logo strip – auto-scrolls, swipe or drag to browse */
.clients-head { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 18px; }
.clients-head .clients-label { margin: 0; }
.clients-nav { position: absolute; right: 0; display: flex; gap: 8px; }
.clients-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ink-3); background: var(--ink-2); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.clients-nav button:hover { background: var(--orange); border-color: var(--orange); }
.clients-nav svg { width: 16px; height: 16px; }
.logo-strip { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 6px 0 10px; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-strip::-webkit-scrollbar { display: none; }
.logo-strip.dragging { cursor: grabbing; }
.logo-card { flex: none; width: 200px; height: 100px; border-radius: 18px; overflow: hidden; background: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); transition: transform .25s; user-select: none; }
.logo-card:hover { transform: translateY(-3px); }
.logo-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.logo-card.txt { background: var(--ink-2); border: 1px solid var(--ink-3); padding: 0 16px; text-align: center; }
.logo-card.txt span { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2; color: #dfe4f5; }
@media (max-width: 700px) { .logo-card { width: 160px; height: 80px; border-radius: 14px; } .clients-nav { display: none; } }
