/* ASA (Pty) Ltd - Astounding Service Always
   Brand colours taken from the original site: purple #932e9c, accent pink #ff0084, accent blue #339beb */

:root {
  --purple: #932e9c;
  --purple-700: #7a2582;
  --purple-900: #34103a;
  --pink: #ff0084;
  --blue: #339beb;
  --ink: #1f1a24;
  --muted: #5d5766;
  --line: #e9e1eb;
  --soft: #faf6fb;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(52, 16, 58, .14);
  --head: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
a:hover { color: var(--purple-700); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--purple); margin-bottom: .75rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--purple); color: #fff; padding: .75rem 1rem; z-index: 200; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--head); font-weight: 600; font-size: 1.05rem; line-height: 1; padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(147, 46, 156, .35); }
.btn-primary:hover { background: var(--purple-700); color: #fff; }
.btn-light { background: #fff; color: var(--purple-900); }
.btn-light:hover { color: var(--purple); }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-sm { padding: .7rem 1.2rem; font-size: .95rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(52, 16, 58, .1); border-color: var(--line); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand-text { display: none; line-height: 1.1; }
.brand-text strong { display: block; font-family: var(--head); font-size: 1.1rem; color: var(--purple); }
.brand-text span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav a { display: block; padding: .6rem .9rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--purple); }
.nav .btn { color: #fff; margin-left: .5rem; }
.nav .btn:hover { background: var(--purple-700); color: #fff; }
.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 12px; background: var(--soft); border: 0; border-radius: 12px; cursor: pointer; }
.menu-btn span { display: block; height: 2.5px; background: var(--purple-900); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav.open { display: block; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(52, 16, 58, .12); padding: .75rem 1.25rem 1.25rem; }
.nav.open ul { flex-direction: column; align-items: stretch; }
.nav.open a { padding: .9rem 1rem; font-size: 1.1rem; }
.nav.open .btn { margin: .5rem 0 0; }

/* Hero */
.hero { position: relative; min-height: min(92svh, 820px); display: grid; align-items: center; color: #fff; padding: calc(var(--header-h) + 3rem) 0 4rem; background: var(--purple-900); overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-slides img.on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(52, 16, 58, .72) 0%, rgba(147, 46, 156, .55) 55%, rgba(52, 16, 58, .85) 100%); }
.hero-copy { max-width: 820px; }
.hero .eyebrow { color: #ffd6ee; }
.hero h1 { color: #fff; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #fff, #ffc2e4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.1rem, 2.4vw, 1.4rem); max-width: 640px; color: rgba(255, 255, 255, .94); }
.hero-quote { margin: 1.5rem 0 2rem; padding-left: 1rem; border-left: 4px solid var(--pink); font-family: var(--head); font-size: 1.15rem; font-style: italic; color: #fff; max-width: 620px; }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Trust strip */
.trust { background: var(--purple-900); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 1.1rem 0; display: grid; gap: .9rem 1.5rem; grid-template-columns: minmax(0, 1fr); }
.trust li { display: flex; align-items: center; gap: .7rem; font-weight: 500; font-size: .98rem; }
.trust .icon { color: #ff7ac0; width: 1.5rem; height: 1.5rem; }
.trust img { height: 44px; width: auto; border-radius: 6px; background: #fff; padding: 2px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.about-copy .pull { font-family: var(--head); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.3; color: var(--purple); font-weight: 600; margin: 0 0 1.5rem; }
.about-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.about-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photos img:nth-child(2) { margin-top: 2.5rem; }

/* Services */
.services { position: relative; color: #fff; background: var(--purple-900) url("../../images/bg-image-1.jpg") center / cover no-repeat; isolation: isolate; }
.services::before, .contact::before, .clients::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(52, 16, 58, .9), rgba(147, 46, 156, .84)); }
.services .eyebrow, .contact .eyebrow { color: #ffd6ee; }
.services h2, .contact h2, .services .section-head p, .contact .section-head p { color: #fff; }
.service-grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
.service { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); padding: 1.6rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .2s ease, background .2s ease; }
.service:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .16); }
.service .ico { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 14px; background: linear-gradient(135deg, var(--pink), var(--purple)); margin-bottom: 1rem; }
.service .ico .icon { width: 1.6rem; height: 1.6rem; color: #fff; }
.service h3 { color: #fff; }
.service p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 1rem; }
.services-cta { text-align: center; margin-top: 2.5rem; }
.services-cta p { font-family: var(--head); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; margin-bottom: 1.2rem; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2rem; }
.chip { font: 600 .98rem var(--head); padding: .65rem 1.2rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--purple); color: var(--purple); }
.chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.work-grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
.work-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); box-shadow: var(--shadow); text-decoration: none; color: #fff; }
.work-card[hidden] { display: none; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover img, .work-card:focus-visible img { transform: scale(1.06); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(52, 16, 58, .88)); }
.work-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem; }
.work-info strong { display: block; font-family: var(--head); font-size: 1.15rem; line-height: 1.2; }
.work-info span { font-size: .88rem; opacity: .9; }
.gallery-more { text-align: center; margin-top: 2.5rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; color: #fff; }
.lightbox::backdrop { background: rgba(20, 6, 24, .94); }
.lb { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: .75rem; gap: .5rem; }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lb-title { font-family: var(--head); font-weight: 600; font-size: 1.05rem; }
.lb-btn { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 0; border-radius: 50%; color: #fff; cursor: pointer; }
.lb-btn:hover { background: var(--purple); }
.lb-stage { position: relative; min-height: 0; display: grid; place-items: center; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; opacity: 0; transition: opacity .25s ease; }
.lb-stage img.ready { opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: .25rem; } .lb-next { right: .25rem; }
.lb-foot { text-align: center; font-size: .95rem; color: rgba(255, 255, 255, .8); }

/* Clients */
.clients { position: relative; isolation: isolate; background: var(--soft); }
.clients::before { display: none; }
.quote-grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 6px 20px rgba(52, 16, 58, .06); display: flex; flex-direction: column; gap: 1rem; }
.quote-head { display: flex; align-items: center; gap: .9rem; }
.quote-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: none; }
.quote h3 { font-size: 1.15rem; margin: 0; color: var(--purple); }
.quote blockquote { margin: 0; color: var(--ink); }
.quote blockquote p { margin: 0; }
.quote cite { display: block; margin-top: auto; font-style: normal; font-weight: 600; color: var(--muted); font-size: .95rem; }
.happy { text-align: center; margin-top: 2.5rem; font-family: var(--head); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--purple); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-family: var(--head); font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--purple); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* Contact */
.contact { position: relative; color: #fff; isolation: isolate; background: var(--purple-900) url("../../images/bg-image-3.jpg") center / cover no-repeat; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.contact-card { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); padding: 1.8rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list .icon { margin-top: .25rem; color: #ff7ac0; width: 1.4rem; height: 1.4rem; }
.contact-list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-list a:hover { color: #ffd6ee; }
.socials { display: flex; gap: .7rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.socials a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; transition: background .2s ease; }
.socials a:hover { background: var(--pink); }
.bee { display: inline-block; background: #fff; border-radius: 10px; padding: 6px; }
.bee img { height: 76px; width: auto; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.form h3 { color: var(--purple); }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea { width: 100%; font: inherit; padding: .85rem 1rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(147, 46, 156, .15); }
.field textarea { min-height: 140px; resize: vertical; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; font-weight: 500; display: none; }
.form-msg.ok { display: block; background: #e8f7ec; color: #14532d; border: 1px solid #b7e4c4; }
.form-msg.err { display: block; background: #fdecec; color: #7f1d1d; border: 1px solid #f5b5b5; }
.form .btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* Footer */
.site-footer { background: var(--purple-900); color: rgba(255, 255, 255, .82); padding: 2.5rem 0 5.5rem; text-align: center; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: .3rem 0; }

/* Sticky mobile action bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mobile-bar .btn { padding: .85rem 1rem; font-size: 1rem; }
.mobile-bar .btn-call { background: var(--soft); color: var(--purple); border-color: var(--purple); }

/* Archive pages */
.page-hero { background: linear-gradient(160deg, var(--purple-900), var(--purple)); color: #fff; padding: calc(var(--header-h) + 3rem) 0 3rem; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; }
.page-hero p { max-width: 640px; margin: 0 auto; color: rgba(255, 255, 255, .92); }
.crumbs { font-size: .95rem; margin-bottom: 1rem; color: rgba(255, 255, 255, .85); }
.crumbs a { color: #fff; }
.thumb-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.thumb { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--soft); box-shadow: 0 6px 18px rgba(52, 16, 58, .1); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.thumb:hover img { transform: scale(1.07); }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Larger screens */
@media (min-width: 560px) {
  .brand-text { display: block; }
  .trust ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .service-grid, .quote-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thumb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .menu-btn, .mobile-bar { display: none; }
  .nav { display: block; }
  .site-footer { padding-bottom: 2.5rem; }
  .trust ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; }
  .service-grid, .quote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: start; }
  .thumb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lb { padding: 1.25rem 2rem; }
}
@media (min-width: 1200px) {
  .work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .mobile-bar, .hero-slides, .filters { display: none; }
}
