/*
Theme Name: PR Panthers
Theme URI: https://github.com/TahseenAshrafi
Author: Tahseen Ashrafi
Author URI: https://github.com/TahseenAshrafi
Description: PR Panthers is a bold, editorial-style WordPress theme built for PR and communications studios. Features a custom cursor, smooth scroll animations, marquee stats, full customizer control over colors, logo, images, menus, and social links. Includes a dynamic blog system with single post templates, gallery campaigns, service pages, testimonials, and a contact form — all styled with the same warm cream and gradient orange-red identity. Made by Tahseen Ashrafi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pr-panthers
Tags: custom-logo, custom-menu, custom-colors, featured-images, full-site-editing, blog, portfolio, responsive-layout, threaded-comments
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg: #fbf6ec;
  --fg: #1d150c;
  --muted: #7a6f63;
  --card: #fff;
  --border: #e8dfd0;
  --brand1: #f59045;
  --brand2: #e0444b;
  --grad: linear-gradient(135deg, #f5a96b, #e0444b);
  --shadow: 0 10px 40px -15px rgba(29, 21, 12, .15);
  --display: "Anton", "Bebas Neue", sans-serif;
  --sans: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --logo-max-width: 160px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
/*   margin: 2px 2px; */
  padding: 0;
}

/* Reset margin for elements that must not have it */
html, body, .marquee, .marquee-track, .stat,
.nav, .nav-inner, .nav-links, .mobile-menu,
.fs-menu, .fs-menu-bg, .fs-menu-inner,
.hero, .hero-card, .hero-card img, .hero-card .overlay,
.hero-content, .hero-top, .progress,
.cursor-dot, .cursor-ring,
footer, .footer-inner, .footer-grid,
.container, .grid-12 {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: -.02em;
  line-height: .95;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
}

@media (max-width: 840px) {
  .grid-12 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding-right: 6px;
}

.italic {
  font-style: italic;
  display: inline-block;
  padding-right: 8px;
}

.gradient.italic,
.italic.gradient {
  font-style: italic;
  display: inline-block;
  padding: 4px 16px 4px 2px;
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--muted);
}

h2.huge {
  font-size: clamp(40px, 7vw, 112px);
}

.text-muted {
  color: var(--muted);
}

.mt-4 { margin-top: 32px; }
.mt-2 { margin-top: 16px; }
.mb-4 { margin-bottom: 32px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 999px;
  padding: 8px 8px 8px 28px;
  font-weight: 600;
  transition: transform .3s;
}

.btn:hover {
  transform: scale(1.05);
}

.btn .arr {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.light {
  background: var(--bg);
  color: var(--fg);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--grad);
  z-index: 100;
  width: 0%;
  transition: width .1s linear;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 999px;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: rgba(245, 144, 69, .9);
  transition: width .2s, height .2s;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(245, 144, 69, .6);
  transition: transform .35s cubic-bezier(.19, 1, .22, 1), width .25s, height .25s;
}

.cursor-hover .cursor-dot {
  width: 0;
  height: 0;
}

.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  background: rgba(245, 144, 69, .15);
  border-color: rgba(245, 144, 69, .8);
}

@media (hover: none) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 980px;
  background: rgba(251, 246, 236, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 5px 5px 20px;
  transition: all .4s;
}

.nav.scrolled .nav-inner {
  background: rgba(251, 246, 236, .92);
  box-shadow: var(--shadow);
}

.logo {
  font-family: var(--display);
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo img.custom-logo {
  max-width: var(--logo-max-width);
  height: auto;
  display: block;
  margin-left: -15px;
}

.logo-text {
  font-family: var(--display);
  font-size: 20px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 999px;
  transition: .2s;
}

.nav-links a:hover {
  background: rgba(0, 0, 0, .05);
}

.nav-links a.current-menu-item,
.nav-links a.current_page_item,
.nav-links a.active {
  background: var(--fg);
  color: var(--bg);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fg);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
}

.nav-cta .arr {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  border: 0;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 840px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 12px 40px -8px rgba(29,21,12,.15);
  padding: 8px;
  margin-top: 8px;
  width: 100%;
  max-width: 980px;
  pointer-events: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  color: var(--fg);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--fg);
  color: var(--bg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 96px 32px 0;
}

.hero-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--bg);
}

.hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 21, 12, .85), rgba(29, 21, 12, .3) 60%, rgba(29, 21, 12, .1));
  z-index: 0;
}

.hero-top {
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3em;
  opacity: .85;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 48px 48px 48px;
  width: 100%;
  box-sizing: border-box;
}

.hero-content .eyebrow {
  color: rgba(255, 255, 255, .85);
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(40px, 6vw, 100px);
  line-height: .95;
  max-width: 75%;
}

.hero-row {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 840px) {
  .hero-content {
    padding: 64px 64px 64px 64px;
  }

  .hero-content h1 {
    max-width: 70%;
  }

  .hero-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.hero-row p {
  max-width: 520px;
  font-size: 18px;
  color: rgba(255, 255, 255, .85);
}

/* Hero animations */
.float-up {
  opacity: 0;
  transform: translateY(24px);
  animation: floatUp .9s cubic-bezier(.19, 1, .22, 1) forwards;
}

.float-up.d1 { animation-delay: .12s; }
.float-up.d2 { animation-delay: .24s; }

@keyframes floatUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   STATS MARQUEE
   ============================================================ */
.marquee {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(245, 169, 107, .15);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.stat {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 48px;
}

.stat .n {
  font-family: var(--display);
  font-size: 64px;
}

.stat .l {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--muted);
  max-width: 120px;
}

.stat .x {
  font-size: 28px;
}

.stat .x span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   SECTION BASE
   ============================================================ */
section.block {
  padding: 96px 0;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 32px;
  transition: transform .3s;
}

.card:hover {
  transform: translateY(-4px);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.svc h3 {
  font-size: 28px;
  margin: 12px 0;
}

.svc .num {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.svc .more {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  font-weight: 600;
  font-size: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   FEATURED WORK GRID
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 840px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  color: var(--bg);
  display: block;
}

.work-card.offset {
  margin-top: 64px;
}

@media (max-width: 840px) {
  .work-card.offset {
    margin-top: 0;
  }
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .7s;
}

.work-card:hover img {
  transform: scale(1.05);
}

.work-card .ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 21, 12, .8), transparent 60%);
}

.work-card .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.work-card .cap .arr {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(251, 246, 236, .95);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
  flex-shrink: 0;
}

.work-card:hover .cap .arr {
  background: var(--grad);
  color: #fff;
}

.work-card .cap small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .3em;
  opacity: .85;
  display: block;
}

.work-card .cap h3 {
  font-size: 26px;
  margin-top: 4px;
}

/* ============================================================
   INDUSTRIES DARK BLOCK
   ============================================================ */
.dark-block {
  background: var(--fg);
  color: var(--bg);
  border-radius: 48px;
  margin: 64px 16px;
  padding: 96px 0;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(251, 246, 236, .1);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 56px;
}

@media (max-width: 840px) {
  .ind-grid {
    grid-template-columns: 1fr;
  }
}

.ind-grid > div {
  background: var(--fg);
  padding: 40px;
}

.ind-grid h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.ind-grid p {
  color: rgba(251, 246, 236, .7);
}

.ind-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--grad);
  margin-bottom: 32px;
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block {
  max-width: 880px;
  margin: 0 auto;
  padding: 128px 24px;
  text-align: center;
}

.quote-block blockquote {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  margin-top: 128px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 48px 48px 0 0;
  position: relative;
  overflow: hidden;
}

footer .glow {
  position: absolute;
  top: -128px;
  right: -128px;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: var(--grad);
  opacity: .3;
  filter: blur(80px);
}

.footer-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px;
  margin-bottom: 80px;
}

@media (max-width: 840px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid .lead {
  grid-column: span 6;
}

.footer-grid .col {
  grid-column: span 3;
}

@media (max-width: 840px) {
  .footer-grid .lead,
  .footer-grid .col {
    grid-column: span 1;
  }
}

footer h2 {
  font-size: clamp(48px, 8vw, 112px);
}

footer ul li {
  margin-bottom: 12px;
}

footer ul a:hover {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

footer .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: rgba(251, 246, 236, .4);
  margin-bottom: 24px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(251, 246, 236, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}

.socials a:hover {
  background: var(--grad);
  border-color: transparent;
}

.socials svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(251, 246, 236, .1);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(251, 246, 236, .55);
  flex-wrap: wrap;
}

.footer-bottom .made {
  text-transform: none;
  letter-spacing: normal;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom .made svg {
  width: 14px;
  height: 14px;
  fill: #e0444b;
}

.footer-bottom .made b {
  color: var(--bg);
  font-weight: 700;
}

.footer-bottom .made a {
  color: var(--bg);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom .made a:hover {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

/* ============================================================
   PAGE HEADER (sub pages)
   ============================================================ */
.page-head {
  padding: 128px 0 64px;
}

.page-head h1 {
  font-size: clamp(48px, 9vw, 144px);
}

/* ============================================================
   SERVICE DETAIL / CASE STUDY
   ============================================================ */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(251, 246, 236, .1);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 48px;
}

@media (max-width: 840px) {
  .proc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .proc-grid {
    grid-template-columns: 1fr;
  }
}

.proc-grid > div {
  background: var(--fg);
  padding: 32px;
}

.proc-grid .num {
  font-family: var(--display);
  font-size: 48px;
  margin-bottom: 16px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 840px) {
  .results {
    grid-template-columns: 1fr;
  }
}

.results .n {
  font-family: var(--display);
  font-size: 72px;
}

.deliv {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.deliv .row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 20px;
}

.deliv .row .n {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
  padding-top: 4px;
}

.case-hero {
  padding: 0 16px;
}

.case-hero .inner {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  color: var(--bg);
  margin-top: 80px !important;
}

.case-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-hero .ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 21, 12, .85), transparent);
}

.case-hero .ct {
  position: relative;
  padding: 64px 32px;
}

.case-hero h1 {
  font-size: clamp(48px, 9vw, 144px);
  margin-top: 16px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 840px) {
  .case-gallery {
    grid-template-columns: 1fr;
  }
}

.case-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}

.next-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.next-row a.next {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 64px);
}

.next-row a.next:hover {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.test-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 840px) {
  .test-grid {
    grid-template-columns: 1fr;
  }
}

.test {
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 32px;
}

.test .mark {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 16px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.test blockquote {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.test .who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.test .who .av {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--grad);
  flex-shrink: 0;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card .pad {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  font-size: 24px;
  margin: 8px 0;
  line-height: 1.1;
}

.blog-card .read-more {
  display: inline-flex;
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   SINGLE BLOG POST
   ============================================================ */
.single-post-hero {
  padding: 96px 16px 0;
}

.single-post-hero .inner {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  color: var(--bg);
}

.single-post-hero .inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-hero .ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 21, 12, .85), rgba(29, 21, 12, .2) 70%);
}

.single-post-hero .ct {
  position: relative;
  z-index: 1;
  padding: 48px 40px;
  width: 100%;
}

.single-post-hero .ct .eyebrow {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 16px;
}

.single-post-hero .ct h1 {
  font-size: clamp(36px, 6vw, 96px);
  max-width: 900px;
}

.post-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: .15em;
}

.post-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 24px;
}

.post-body p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--fg);
  margin-bottom: 28px;
}

.post-body h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin: 56px 0 20px;
}

.post-body h3 {
  font-size: clamp(22px, 3vw, 36px);
  margin: 40px 0 16px;
}

.post-body ul,
.post-body ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.post-body ul {
  list-style: disc;
}

.post-body ol {
  list-style: decimal;
}

.post-body li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.post-body blockquote {
  border-left: 4px solid var(--brand1);
  padding: 16px 24px;
  margin: 32px 0;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--fg);
  background: rgba(245, 169, 107, .08);
  border-radius: 0 16px 16px 0;
}

.post-body img {
  width: 100%;
  border-radius: 20px;
  margin: 32px 0;
}

.post-body a {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.post-tags a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .2em;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--muted);
  background: none;
  transition: .2s;
}

.post-tags a:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.related-posts {
  padding: 80px 0;
  background: rgba(245, 169, 107, .08);
}

.related-posts h2 {
  font-size: clamp(32px, 4vw, 56px);
  margin-bottom: 40px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 840px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: inherit;
  outline: none;
  transition: .2s;
  width: 100%;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand1);
}

.wpcf7-form button,
.contact-form-wrap button,
form.card button {
  background: var(--fg);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font: 600 14px var(--sans);
  cursor: pointer;
  transition: .3s;
}

.wpcf7-form button:hover,
.contact-form-wrap button:hover,
form.card button:hover {
  background: var(--grad);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

.error-404 .code {
  font-family: var(--display);
  font-size: clamp(120px, 20vw, 240px);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-404 h1 {
  font-size: clamp(32px, 5vw, 64px);
  margin-bottom: 16px;
}

.error-404 p {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-results article {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.search-results article:last-child {
  border-bottom: none;
}

.search-results h2 {
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 8px;
}

.search-results h2 a:hover {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px;
}

.comments-area h2 {
  font-size: clamp(28px, 3vw, 48px);
  margin-bottom: 40px;
}

.comment-list {
  list-style: none;
}

.comment {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.comment .comment-author {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

.comment-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg);
}

.comment-reply-link {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 8px;
  display: inline-block;
}

.comment-respond {
  margin-top: 48px;
}

.comment-respond h3 {
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 24px;
}

.comment-form .field {
  margin-bottom: 16px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: inherit;
  outline: none;
  width: 100%;
  transition: .2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--brand1);
}

.comment-form .submit {
  background: var(--fg);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font: 600 14px var(--sans);
  cursor: pointer;
  transition: .3s;
}

.comment-form .submit:hover {
  background: var(--grad);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 48px 0;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: .2s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* ============================================================
   WIDGETS (Sidebar / Footer)
   ============================================================ */
.widget {
  margin-bottom: 40px;
}

.widget-title {
  font-family: var(--display);
  font-size: 20px;
  margin-bottom: 16px;
}

/* ============================================================
   WORDPRESS CORE ALIGNMENT CLASSES
   ============================================================ */
.alignleft {
  float: left;
  margin-right: 24px;
  margin-bottom: 16px;
}

.alignright {
  float: right;
  margin-left: 24px;
  margin-bottom: 16px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

/* ============================================================
   SKIP LINK (ACCESSIBILITY)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 24px;
  z-index: 999;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  top: 0;
}

/* ============================================================
   SCREEN READER TEXT
   ============================================================ */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.screen-reader-text:focus {
  background-color: var(--card);
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
  clip: auto;
  clip-path: none;
  color: var(--fg);
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ============================================================
   WHO WE ARE LAYOUT FIX
   ============================================================ */
.who-we-are-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: 56px;
  align-items: start;
}

.who-left {
  position: sticky;
  top: 120px;
  z-index: 1;
  min-width: 0;
}

.who-left h2.huge {
  font-size: clamp(36px, 3.2vw, 64px);
  line-height: 1.05;
  word-break: break-word;
}

.who-right {
  min-width: 0;
  position: relative;
  z-index: 0;
}

.who-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.who-cards .card {
  min-width: 0;
}

@media (max-width: 1100px) {
  .who-we-are-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .who-left {
    position: static;
  }
  .who-left h2.huge {
    font-size: clamp(40px, 8vw, 96px);
  }
}

@media (max-width: 720px) {
  .who-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SERVICES GRID — 3x2 STRICT + HOVER EFFECT
   ============================================================ */
.svc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .svc-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .svc-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Service card hover — corner gradient glow */
.svc-card {
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.19,1,.22,1), box-shadow .35s;
  display: block;
  text-decoration: none;
  color: inherit;
}

.svc-card::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .4s, transform .4s cubic-bezier(.19,1,.22,1);
  transform: scale(.5);
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -20px rgba(29,21,12,.2);
}

.svc-card:hover::before {
  opacity: .18;
  transform: scale(1);
}

.svc-card .num {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.svc-card h3 {
  font-size: 26px;
  margin: 12px 0 8px;
  line-height: 1.1;
}

.svc-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.svc-card .more {
  display: inline-flex;
  gap: 6px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   TEAM CARDS — 3x2 WITH IMAGE + HOVER
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.19,1,.22,1), box-shadow .35s;
  position: relative;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -16px rgba(29,21,12,.18);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #f5a96b22, #e0444b22);
}

.team-card-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(245,169,107,.2), rgba(224,68,75,.15));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-img-placeholder .initials {
  font-family: var(--display);
  font-size: 56px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.team-card-body {
  padding: 24px;
}

.team-card-body h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.team-card-body p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
}

/* ============================================================
   GALLERY GRID — 3x2
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-card img {
  aspect-ratio: 4 / 5 !important;
  width: 100%;
  object-fit: cover;
}

/* ============================================================
   MOBILE FIXES — does NOT affect desktop (min-width: 841px)
   ============================================================ */

@media (max-width: 840px) {

  /* --- NAV --- */
  .nav {
    top: 10px;
    padding: 0 12px;
  }

  .nav-inner {
    padding: 4px 4px 4px 12px;
  }

  .logo img.custom-logo {
    width: 36px;
    height: 36px;
    max-width: 36px;
    object-fit: contain;
    margin-left: -4px;
    border-radius: 50%;
  }

  .logo-text {
    font-size: 16px;
    letter-spacing: .05em;
  }

  .logo {
    gap: 8px;
  }

  /* Mobile menu — small, clean, compact */
  .mobile-menu {
    margin-top: 6px;
    padding: 6px;
    border-radius: 16px;
  }

  .mobile-menu a {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
  }

  /* --- GLOBAL PADDING — everything 20px from edges --- */
  .container {
    padding: 0 20px;
  }

  section.block {
    padding: 48px 0;
  }

  /* --- HERO --- */
  .hero {
    padding: 76px 16px 0;
  }

  .hero-card {
    min-height: 80vh;
    border-radius: 20px;
  }

  .hero-card img {
    object-position: center center;
  }

  .hero-content {
    padding: 20px 20px 28px 20px;
  }

  .hero-content h1 {
    font-size: clamp(34px, 9.5vw, 68px);
    max-width: 100%;
  }

  .hero-top {
    top: 14px;
    left: 14px;
    right: 14px;
    font-size: 8px;
    flex-direction: column;
    gap: 2px;
  }

  .hero-row {
    gap: 20px;
  }

  .hero-row p {
    font-size: 14px;
  }

  /* --- WHO WE ARE --- */
  .who-we-are-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .who-left {
    position: static;
  }

  .who-left h2.huge {
    font-size: clamp(34px, 9vw, 60px);
    white-space: normal;
  }

  .who-right > p {
    font-size: 16px !important;
    margin-bottom: 24px !important;
  }

  .who-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* --- SERVICES --- */
  .svc-grid-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* --- MARQUEE --- */
  .stat .n { font-size: 36px; }
  .stat { padding: 0 20px; gap: 10px; }

  /* --- DARK BLOCK --- */
  .dark-block {
    border-radius: 20px;
    margin: 24px 16px;
    padding: 48px 0;
  }

  .ind-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  /* --- FOOTER --- */
  footer {
    margin-top: 48px;
    border-radius: 20px 20px 0 0;
  }

  .footer-inner {
    padding: 48px 20px 28px;
  }

  .footer-grid {
    gap: 28px;
    margin-bottom: 32px;
  }

  footer h2 {
    font-size: clamp(36px, 9vw, 64px);
  }

  /* --- WORK GRID --- */
  .work-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .work-card.offset { margin-top: 0; }

  /* --- GALLERY --- */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* --- TEAM --- */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* --- BLOG --- */
  .blog-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* --- PAGE HEAD --- */
  .page-head {
    padding: 88px 0 32px;
  }

  .page-head h1 {
    font-size: clamp(36px, 10vw, 72px);
  }

  /* --- CONTACT --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* --- QUOTE --- */
  .quote-block {
    padding: 56px 20px;
  }

  /* --- SINGLE POST --- */
  .single-post-hero .ct {
    padding: 28px 20px;
  }

  .post-body {
    padding: 40px 20px;
  }

  .post-body p,
  .post-body li {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .results {
    grid-template-columns: 1fr;
  }

  .test-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BURGER BUTTON
   ============================================================ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--fg);
  border: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 201;
  margin: 0;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bg);
  border-radius: 2px;
  transition: transform .35s, opacity .25s;
  margin: 0;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 840px) {
  .burger { display: inline-flex; }
}

/* ============================================================
   CIRCLE EXPAND FULLSCREEN MENU
   ============================================================ */


/* ============================================================
   FULLSCREEN MOBILE MENU — circle expands from burger
   ============================================================ */

/* fs-circle is hidden — burger button itself IS the circle */
.fs-circle { display: none !important; }
.fs-orb { display: none; }

@media (max-width: 840px) {
  .fs-orb { display: block; }
}

.fs-orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s .4s;
  margin: 0;
  z-index: 199;
}

.fs-orb.open { opacity: 1; }

.fs-orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245,144,69,.15) 0%, transparent 70%);
  bottom: 8%;
  left: -100px;
  animation: orbFloat 7s ease-in-out infinite;
}

.fs-orb-2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(224,68,75,.12) 0%, transparent 70%);
  top: 15%;
  right: -60px;
  animation: orbFloat 9s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.06); }
}

/* Menu overlay — covers entire screen, no gaps */
.fs-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.fs-menu.open {
  pointer-events: auto;
  visibility: visible;
}

/* Dark background that expands from top-right */
.fs-menu::before {
  content: '';
  position: fixed;
  top: -2px;
  right: 0px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--fg);
  transform: scale(1);
  transform-origin: top right;
  transition: transform .7s cubic-bezier(.77,0,.175,1), border-radius .6s cubic-bezier(.77,0,.175,1);
  z-index: -1;
}

.fs-menu.open::before {
  transform: scale(80);
  border-radius: 0;
}

/* Content panel */
.fs-menu-inner {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 28px 20px;
  opacity: 0;
  transition: opacity .25s .35s;
  z-index: 201;
  overflow-y: auto;
}

.fs-menu.open .fs-menu-inner {
  opacity: 1;
}

/* Top row */
.fs-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 32px 0;
  padding: 0;
}

.fs-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.fs-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  margin: 0;
}

.fs-logo-text {
  font-family: var(--display);
  font-size: 20px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Close button */
.fs-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(251,246,236,.25);
  background: rgba(251,246,236,.08);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, border-color .25s;
  margin: 0;
  flex-shrink: 0;
}

.fs-close:hover {
  background: rgba(251,246,236,.15);
  border-color: rgba(251,246,236,.5);
}

.fs-close span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--bg);
  border-radius: 2px;
  margin: 0;
}

.fs-close span:first-child { transform: rotate(45deg); }
.fs-close span:last-child  { transform: rotate(-45deg); }

/* Nav */
.fs-nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.fs-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.fs-nav ul li {
  margin: 0;
  overflow: hidden;
}

.fs-nav ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-family: var(--display);
  font-size: clamp(36px, 10vw, 56px);
  color: rgba(251,246,236,.5);
  border-bottom: 1px solid rgba(251,246,236,.08);
  line-height: 1;
  letter-spacing: -.02em;
  transition: color .3s, padding-left .3s;
  transform: translateY(100%);
  opacity: 0;
  margin: 0;
}

.fs-menu.open .fs-nav ul li:nth-child(1) a { animation: fsItemIn .5s .38s cubic-bezier(.19,1,.22,1) forwards; }
.fs-menu.open .fs-nav ul li:nth-child(2) a { animation: fsItemIn .5s .44s cubic-bezier(.19,1,.22,1) forwards; }
.fs-menu.open .fs-nav ul li:nth-child(3) a { animation: fsItemIn .5s .50s cubic-bezier(.19,1,.22,1) forwards; }
.fs-menu.open .fs-nav ul li:nth-child(4) a { animation: fsItemIn .5s .56s cubic-bezier(.19,1,.22,1) forwards; }
.fs-menu.open .fs-nav ul li:nth-child(5) a { animation: fsItemIn .5s .62s cubic-bezier(.19,1,.22,1) forwards; }
.fs-menu.open .fs-nav ul li:nth-child(6) a { animation: fsItemIn .5s .68s cubic-bezier(.19,1,.22,1) forwards; }

@keyframes fsItemIn {
  to { transform: translateY(0); opacity: 1; }
}

.fs-nav ul li a .fs-num {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: rgba(251,246,236,.25);
  letter-spacing: .2em;
  margin: 0;
}

.fs-nav ul li a:hover {
  color: var(--bg);
  padding-left: 6px;
}

.fs-nav ul li a.active,
.fs-nav ul li a.current-menu-item {
  color: var(--brand1);
}

/* Footer */
.fs-menu-footer {
  margin-top: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.fs-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  transition: transform .3s;
  margin: 0;
}

.fs-cta:hover { transform: scale(1.04); }

.fs-menu-footer .socials {
  display: flex;
  gap: 8px;
  margin: 0;
}

.fs-menu-footer .socials a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(251,246,236,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  margin: 0;
}

.fs-menu-footer .socials a:hover {
  background: var(--grad);
  border-color: transparent;
}

.fs-menu-footer .socials svg {
  width: 15px;
  height: 15px;
  fill: var(--bg);
}

/* ============================================================
   MOBILE PADDING MASTER FIX
   ============================================================ */
@media (max-width: 840px) {

  .container,
  .footer-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .dark-block .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  section.block {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .page-head {
    padding: 88px 0 32px;
  }

  .quote-block {
    padding: 56px 20px;
  }

  /* Hero */
  .hero { padding: 76px 14px 0; }
  .hero-card { min-height: 78vh; border-radius: 20px; }
  .hero-card img { object-position: center center; }
  .hero-content { padding: 20px 20px 28px 20px; }
  .hero-content h1 { font-size: clamp(34px, 9.5vw, 66px); max-width: 100%; }
  .hero-top { top: 14px; left: 14px; right: 14px; font-size: 8px; flex-direction: column; gap: 2px; }
  .hero-row p { font-size: 14px; }

  /* Who We Are */
  .who-we-are-grid { grid-template-columns: 1fr; gap: 20px; }
  .who-left { position: static; }
  .who-left h2.huge { font-size: clamp(34px, 9vw, 60px); white-space: normal; }
  .who-right > p { font-size: 16px !important; margin-bottom: 24px !important; }
  .who-cards { grid-template-columns: 1fr; gap: 10px; }

  /* Services */
  .svc-grid-3 { grid-template-columns: 1fr; gap: 10px; }

  /* Marquee */
  .stat .n { font-size: 36px; }
  .stat { padding: 0 20px; gap: 10px; }

  /* Dark block */
  .dark-block { border-radius: 20px; margin: 24px 14px; padding: 48px 0; }
  .ind-grid { grid-template-columns: 1fr; margin-top: 24px; }

  /* Footer */
  footer { margin-top: 48px; border-radius: 20px 20px 0 0; }
  .footer-inner { padding: 48px 20px 28px; }
  .footer-grid { gap: 28px; margin-bottom: 32px; }
  footer h2 { font-size: clamp(36px, 9vw, 64px); }

  /* Grids */
  .work-grid { grid-template-columns: 1fr; gap: 14px; }
  .work-card.offset { margin-top: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .blog-list { grid-template-columns: 1fr; gap: 14px; }
  .test-grid { grid-template-columns: 1fr; }

  /* Page */
  .page-head { padding: 88px 0 32px; }
  .page-head h1 { font-size: clamp(36px, 10vw, 72px); }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .single-post-hero .ct { padding: 28px 20px; }
  .post-body { padding: 40px 20px; }
  .post-body p, .post-body li { font-size: 16px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr; }
}

/* ============================================================
   WORDPRESS ADMIN BAR — no margin from universal reset
   ============================================================ */
#wpadminbar,
#wpadminbar *,
#wpadminbar *::before,
#wpadminbar *::after {
  margin: 0 !important;
  box-sizing: border-box;
}

/* ============================================================
   HEADING OVERFLOW FIX — prevent italic text clipping
   ============================================================ */
h1, h2, h3, h4 {
  overflow: visible;
}

h2.huge {
  overflow: visible;
  word-break: break-word;
}

@media (max-width: 840px) {
  h2.huge {
    font-size: clamp(32px, 8.5vw, 64px);
    overflow: visible;
    word-break: break-word;
  }

  .page-head h1 {
    font-size: clamp(36px, 10vw, 64px);
    overflow: visible;
    word-break: break-word;
  }

  /* Services section heading wrapper */
  .svc-section-head {
    overflow: visible;
  }
}
