/* =========================================================
   Surya Digital Studio — theme
   Palette: ivory paper, warm ink, brand orange (from logo)
   ========================================================= */
:root {
  --paper: #f6f1ea;
  --paper-2: #efe7dc;
  --card: #fffdf9;
  --ink: #17130f;
  --ink-2: #4a4238;
  --muted: #7b7064;
  --line: #e2d8ca;
  --brand: #ef5923;
  --brand-dark: #c9431a;
  --night: #16120e;
  --night-2: #221c16;
  --night-line: rgba(255, 255, 255, .12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 4px;
  --shadow: 0 18px 50px -24px rgba(23, 19, 15, .35);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); }
::selection { background: var(--brand); color: #fff; }
.skip-link { position: absolute; z-index: 2000; top: 8px; left: 8px; background: var(--ink); color: #fff; padding: 8px 14px; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand-dark); margin-bottom: .9rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.text-center .eyebrow { justify-content: center; }
.display-title {
  font-family: var(--serif); font-weight: 600; line-height: 1.02; letter-spacing: -.01em;
  font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 1.4rem;
}
.display-title em { font-style: italic; font-weight: 500; color: var(--brand); display: block; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; margin-bottom: 1.2rem; }
.lead-text { font-size: 1.1rem; color: var(--ink); }
.muted { color: var(--muted); }
.spec-title { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: .8rem; }

/* ---------- buttons ---------- */
.btn { font-weight: 600; font-size: .92rem; padding: .85rem 1.6rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .5rem; transition: all .25s; }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-ink:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-outline-ink { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline-ink:hover { background: var(--ink); color: #fff; }
.btn-outline-light:hover { color: var(--ink); }
.link-arrow { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--brand); padding-bottom: 2px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--night); color: rgba(255,255,255,.7); font-size: .8rem; padding: .5rem 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--brand); }
.topbar i { color: var(--brand); margin-right: .3rem; }

.site-header { background: transparent; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246, 241, 234, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.navbar { padding: .7rem 0; }
.navbar-brand img { width: 150px; height: auto; transition: width .3s; }
.site-header.scrolled .navbar-brand img { width: 125px; }
.nav-link { font-size: .88rem; font-weight: 600; color: var(--ink) !important; padding: .5rem .9rem !important; position: relative; }
.nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--brand-dark) !important; }

.navbar-toggler { border: 0; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.navbar-toggler span:nth-child(2) { width: 70%; margin-left: auto; }

@media (max-width: 991.98px) {
  .offcanvas { background: var(--night); color: #fff; width: min(340px, 86vw) !important; }
  .offcanvas .nav-link { color: #fff !important; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; padding: .45rem 0 !important; }
  .offcanvas .nav-link::after { left: 0; right: auto; width: 40px; }
  .offcanvas .nav-link.active { color: var(--brand) !important; }
  .offcanvas-contact { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--night-line); font-size: .85rem; color: rgba(255,255,255,.65); }
  .offcanvas-contact a { color: #fff; }
}

/* ---------- hero (home) ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(239,89,35,.12), transparent 65%); pointer-events: none; }
.hero-lead { font-size: 1.08rem; max-width: 520px; margin-bottom: 2rem; }
.hero-facts { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin: 3rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-facts dt { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--ink); line-height: 1; }
.hero-facts dd { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: .4rem 0 0; }

.hero-collage { position: relative; aspect-ratio: 1 / .9; }
.hc { position: absolute; margin: 0; overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--card); }
.hc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.hc:hover img { transform: scale(1.06); }
.hc-1 { width: 50%; aspect-ratio: 2/3; left: 4%; top: 0; z-index: 2; }
.hc-1 img { object-position: center 30%; }
.hc-2 { width: 38%; aspect-ratio: 2/3; right: 2%; top: 4%; z-index: 1; transform: rotate(3deg); }
.hc-3 { width: 40%; aspect-ratio: 4/5; right: 12%; bottom: 0; z-index: 3; transform: rotate(-2.5deg); }
.hc-3 img { object-position: center 70%; }
.hc-badge { position: absolute; z-index: 4; left: 0; bottom: 6%; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; padding: .7rem 1.1rem; border-radius: 999px; display: flex; align-items: center; gap: .5rem; box-shadow: var(--shadow); }
.hc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(239,89,35,.3); }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3rem, 7vw, 5rem); background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; background-position: center 35%; background-size: cover; opacity: .4; filter: saturate(.85); transform: scale(1.05); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 15%, rgba(22,18,14,.55) 70%, rgba(22,18,14,.3)); }
.page-hero .display-title { color: #fff; margin: 0; }
.page-hero .eyebrow { color: var(--brand); }
.breadcrumb { font-size: .8rem; margin-bottom: 2rem; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb-item.active, .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.45); }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-dark { background: var(--night); color: rgba(255,255,255,.72); }
.section-dark .section-title, .section-dark h3, .section-dark .lead-text { color: #fff; }
.section-dark .eyebrow { color: var(--brand); }

/* services cards */
.service-card { display: block; height: 100%; background: var(--card); border: 1px solid var(--line); padding: 2.2rem 2rem 2rem; position: relative; color: var(--ink-2); transition: transform .35s, box-shadow .35s, border-color .35s; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink-2); }
.service-card:hover::before { transform: scaleX(1); }
.service-num { position: absolute; right: 1.5rem; top: 1rem; font-family: var(--serif); font-size: 3.2rem; font-weight: 600; color: var(--paper-2); line-height: 1; }
.service-icon { font-size: 1.9rem; color: var(--brand); display: block; margin-bottom: 1.3rem; }
.service-card h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; margin-bottom: .7rem; }
.service-card p { font-size: .95rem; margin-bottom: 1.4rem; }
.service-more { font-size: .82rem; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.service-card:hover .service-more { color: var(--brand-dark); }

/* about band */
.about-frame { position: relative; padding: 0 0 2rem 2rem; }
.about-frame::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border: 1px solid var(--brand); }
.about-frame img { position: relative; width: 100%; box-shadow: var(--shadow); }
.about-frame.is-portrait { max-width: 440px; margin-inline: auto; }
.about-frame.is-portrait img { aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; }
.about-stamp { position: absolute; right: -10px; top: -18px; width: 104px; height: 104px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.about-stamp strong { font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.about-stamp span { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { padding: .45rem 0; border-bottom: 1px solid var(--night-line); font-size: .92rem; }
.section-dark .spec-title { color: var(--brand); }

/* works grid */
/* masonry (works + gallery): natural image shapes, left-to-right order.
   JS adds .is-masonry and sets each tile's row span from --ar (height/width). */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 14px; row-gap: 14px; }
.masonry.is-masonry { grid-auto-rows: 4px; row-gap: 0; }
.masonry.is-masonry > * { margin-bottom: 14px; }
.masonry > * img { width: 100%; height: auto; aspect-ratio: 1 / var(--ar, .75); object-fit: cover; }
.gallery-grid { grid-template-columns: repeat(3, 1fr); column-gap: 16px; }
.gallery-grid.is-masonry > * { margin-bottom: 16px; }
.work-item, .gallery-item { position: relative; overflow: hidden; display: block; background: var(--paper-2); }
.work-item img { transition: transform .8s ease, filter .5s; }
.work-item:hover img, .gallery-item:hover img { transform: scale(1.07); }
.work-cap { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem 1rem; color: rgba(255,255,255,.8); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transform: translateY(8px); transition: all .35s; }
.work-cap strong { display: block; color: #fff; font-weight: 700; }
.work-item:hover .work-cap, .work-item:focus-visible .work-cap { opacity: 1; transform: none; }

/* video */
.video-thumb { position: relative; display: block; width: 100%; border: 0; padding: 0; background: #000; overflow: hidden; cursor: pointer; aspect-ratio: 16/9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .8s, opacity .4s; }
.video-thumb:hover img { transform: scale(1.05); opacity: 1; }
.video-thumb .play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 0 0 10px rgba(239,89,35,.25); transition: transform .3s; }
.video-thumb-lg .play { width: 88px; height: 88px; margin: -44px 0 0 -44px; font-size: 2.6rem; animation: pulse 2.4s infinite; }
.video-thumb:hover .play { transform: scale(1.1); }
.video-label { position: absolute; left: 1rem; bottom: .8rem; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
/* small thumbnails under home video teaser */
.video-mini-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 1.5rem 0 1.8rem; }
.video-mini-list .play { width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 1.1rem; box-shadow: 0 0 0 5px rgba(239,89,35,.25); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(239,89,35,.5); } 50% { box-shadow: 0 0 0 18px rgba(239,89,35,0); } }

/* clients marquee */
.clients-band { padding-bottom: clamp(4rem, 8vw, 6rem); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client-logo { margin: 0; width: 190px; flex: none; background: #fff; border: 1px solid var(--line); padding: .4rem; }
.client-logo img { width: 100%; aspect-ratio: 3/2; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .3s; }
.client-logo:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }

/* CTA */
.cta-band { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.cta-inner { background: var(--paper-2); border: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(239,89,35,.1); }

/* about page */
.facts-band { background: var(--night); padding: 3.5rem 0; }
.fact { border-left: 2px solid var(--brand); padding-left: 1.2rem; }
.fact strong { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); color: #fff; line-height: 1; font-weight: 600; }
.fact span { color: rgba(255,255,255,.65); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.6rem; font-size: .95rem; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: .45rem; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand); }
.timeline span { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.director-quote { background: var(--card); border: 1px solid var(--line); padding: clamp(2rem, 4vw, 3rem); margin: 0; position: relative; }
.director-quote i { font-size: 3.5rem; color: var(--brand); line-height: .5; display: block; margin-bottom: 1rem; }
.director-quote p { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.5; color: var(--ink); margin: 0; font-weight: 500; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--line); background: var(--card); padding: .4rem .95rem; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink); }

/* services page */
.service-tabs-wrap { position: sticky; top: 72px; z-index: 900; background: var(--paper); border-bottom: 1px solid var(--line); }
.service-tabs { display: flex; gap: .4rem; overflow-x: auto; padding: .8rem 0; scrollbar-width: none; }
.service-tabs::-webkit-scrollbar { display: none; }
.service-tabs a { flex: none; font-size: .84rem; font-weight: 600; color: var(--ink); padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); white-space: nowrap; }
.service-tabs a i { color: var(--brand); }
.service-tabs a.active, .service-tabs a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-detail.alt { background: var(--paper-2); }
.service-figure { position: relative; margin: 0; }
.service-figure img { width: 100%; box-shadow: var(--shadow); }
.service-figure.is-portrait { max-width: 420px; margin-inline: auto; }
.service-figure.is-portrait img { aspect-ratio: 4/5; object-fit: cover; object-position: center 30%; }
.service-figure figcaption { position: absolute; left: -12px; bottom: -22px; font-family: var(--serif); font-size: 5rem; font-weight: 600; line-height: 1; color: var(--brand); text-shadow: 0 2px 0 var(--paper); }

/* gallery */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn { border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: .88rem; padding: .6rem 1.2rem; border-radius: 999px; transition: all .25s; }
.filter-btn span { display: inline-block; min-width: 24px; margin-left: .3rem; font-size: .72rem; background: var(--paper-2); border-radius: 999px; padding: 0 .4rem; }
.filter-btn.active, .filter-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-btn.active span { background: var(--brand); color: #fff; }
.gallery-item img { transition: transform .8s ease; }
.gallery-item.is-hidden { display: none; }
.gallery-tag { position: absolute; left: .8rem; top: .8rem; background: rgba(22,18,14,.75); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-tag { opacity: 1; }

/* contact */
.contact-card { background: var(--card); border: 1px solid var(--line); padding: 2rem; }
.contact-card i { font-size: 1.6rem; color: var(--brand); }
.contact-card h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin: .8rem 0 .5rem; }
.contact-card p { margin: 0; }
.contact-card a { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-card a:hover { color: var(--brand); }
.form-frame { background: #fff; border: 1px solid var(--line); padding: .5rem; }
.form-frame iframe { width: 100%; height: 900px; border: 0; display: block; }
.map-frame { border: 1px solid var(--line); background: var(--paper-2); }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }
.sister { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; font-size: .92rem; }
.sister strong { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.sister i { color: var(--brand); margin-right: .3rem; }
.sister a { color: var(--ink-2); word-break: break-word; }

/* footer */
.site-footer { background: var(--night); color: rgba(255,255,255,.6); padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; font-size: .92rem; }
.footer-lead { max-width: 320px; }
.footer-title { font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.72); }
.footer-links a:hover, .footer-contact a:hover { color: var(--brand); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .9rem; word-break: break-word; }
.footer-contact i { color: var(--brand); margin-top: .15rem; }
.footer-bottom { margin-top: 3.5rem; padding: 1.5rem 0; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .8rem; }
.to-top { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--night-line); color: #fff; display: flex; align-items: center; justify-content: center; }
.to-top:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.float-call { position: fixed; right: 16px; bottom: 16px; z-index: 1000; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 10px 25px -8px rgba(239,89,35,.7); }
.float-call:hover { color: #fff; }

/* social */
.social-icons { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social-icons a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--night-line); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; transition: all .25s; }
.social-icons a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); }
.social-cards { display: grid; gap: .6rem; }
.social-card { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: all .25s; }
.social-card > .bi:first-child { font-size: 1.5rem; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.social-card span { display: flex; flex-direction: column; line-height: 1.35; font-size: .84rem; color: var(--muted); word-break: break-word; }
.social-card strong { color: var(--ink); font-size: .98rem; }
.social-card:hover { border-color: var(--ink); color: var(--ink); transform: translateX(4px); }
.fs-youtube > .bi:first-child, .float-social .fs-youtube { background: #ff0000; }
.fs-facebook > .bi:first-child, .float-social .fs-facebook { background: #1877f2; }
.fs-instagram > .bi:first-child, .float-social .fs-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }

/* floating social bar (home page) */
.float-social { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 2px; }
.float-social a { display: flex; align-items: center; height: 46px; width: 46px; overflow: hidden; color: #fff; border-radius: 0 6px 6px 0; transition: width .3s ease; box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); }
.float-social a i { flex: none; width: 46px; text-align: center; font-size: 1.15rem; }
.float-social a span { font-size: .8rem; font-weight: 700; white-space: nowrap; padding-right: 14px; }
.float-social a:hover, .float-social a:focus-visible { width: 140px; color: #fff; }
@media (max-width: 991.98px) {
  .float-social { top: auto; bottom: 16px; left: 16px; transform: none; flex-direction: row; gap: 8px; }
  .float-social a { width: 44px; height: 44px; border-radius: 50%; }
  .float-social a i { width: 44px; }
  .float-social a span { display: none; }
  .float-social a:hover, .float-social a:focus-visible { width: 44px; }
}

/* gallery groups */
.gallery-group + .gallery-group { margin-top: 3.5rem; }
.gallery-heading { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.gallery-heading span { font-family: var(--sans); font-size: .75rem; font-weight: 700; background: var(--brand); color: #fff; border-radius: 999px; padding: .1rem .55rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* focus */
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .service-tabs-wrap { top: 64px; }
  .masonry { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-collage { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 767.98px) {
  .row.g-5, .row.g-4 { --bs-gutter-x: 1.5rem; }
}
@media (max-width: 575.98px) {
  body { font-size: 15px; }
  .navbar-brand img { width: 120px; }
  .hero-facts { gap: 1.2rem; }
  .hero-facts dt { font-size: 2rem; }
  .hero-facts dd { font-size: .66rem; }
  .masonry, .gallery-grid { grid-template-columns: repeat(2, 1fr); column-gap: 8px; row-gap: 8px; }
  .masonry.is-masonry > * { margin-bottom: 8px; }
  .gallery-tag { display: none; }
  .hc { border-width: 5px; }
  .hc-badge { font-size: .68rem; padding: .55rem .9rem; right: 0; }
  .about-frame { padding: 0 0 1.2rem 1.2rem; }
  .about-stamp { width: 80px; height: 80px; right: 0; }
  .about-stamp strong { font-size: 1.4rem; }
  .service-figure figcaption { font-size: 3.5rem; left: -4px; }
  .client-logo { width: 140px; }
  .form-frame iframe { height: 1000px; }
  .footer-bottom { flex-direction: column-reverse; text-align: center; }
  .cta-inner .btn { width: 100%; justify-content: center; }
  .hero-copy, .section-head, .section-dark, footer.site-footer, section.page-hero, section.section {
    padding-left: 20px!important;
    padding-right: 20px!important;
}
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
