/* ==========================================================================
   MUHAMMAD USMAN — PORTFOLIO STYLESHEET
   Theme: "Pure Black + Royal Gold" premium/luxury theme
   Used by: index.html (Home) and services.html (Services)
   Structure of this file (search these headers to jump around):
     1.  ROOT VARIABLES & RESET .......... global design tokens
     2.  TYPOGRAPHY & UTILITIES ......... fonts, .wrap, .glass, buttons
     3.  AMBIENT BACKGROUND ............. gold glow orbs + cursor spotlight
     4.  HEADER / STICKY NAVIGATION ..... logo, nav links, mobile menu
     5.  HERO SECTION ................... intro + stat badges + visual
     6.  PILLARS STRIP (numbered intro cards, inspired by "Dedication" style)
     7.  ABOUT SECTION ................. bento-grid, 3D photo, info list
     8.  SKILLS SECTION ................ skill cards
     9.  EXPERIENCE SECTION ............ numbered timeline cards
     10. SERVICES (home teaser + full services.html page)
     11. PROJECTS SECTION ............. clickable live-site cards
     12. TESTIMONIALS .................. client review cards
     13. CONTACT SECTION ............... form + info + social icons
     14. FOOTER ......................... premium multi-column footer
     15. SCROLL PROGRESS + REVEAL ANIMATIONS
     16. RESPONSIVE ADJUSTMENTS (also inline throughout as needed)
   ========================================================================== */


/* ============================================================
   1. ROOT VARIABLES & RESET
   All colors, spacing and shadows are defined once here so the
   whole site (both pages) stays perfectly consistent. Changing
   a value here updates it everywhere it's used.
   ============================================================ */
:root {
  /* --- base surfaces (pure black, luxury feel) --- */
  --black: #030302;
  /* main page background */
  --black-2: #0a0a08;
  /* panel / card background */
  --black-3: #111110;
  /* raised panel background */

  /* --- royal gold accent system (single-hue, no purple/teal) --- */
  --gold: #D4AF37;
  /* core brand gold */
  --gold-bright: #F4D374;
  /* light gold for highlights/text */
  --gold-deep: #8A6D1F;
  /* deep gold for shadows/gradients */
  --grad: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  --grad-soft: linear-gradient(180deg, var(--gold-bright), var(--gold));
  /* simple 2-stop gradient for buttons */

  /* --- text colors --- */
  --ivory: #F4F1E7;
  /* primary text, warm off-white (pairs with gold) */
  --muted: #a9a396;
  /* secondary / muted text */

  /* --- glass + borders (gold-tinted hairlines = premium cohesion) --- */
  --glass: rgba(255, 255, 255, 0.035);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(212, 175, 55, 0.16);
  --line-hi: rgba(212, 175, 55, 0.35);

  --radius: 16px;
}

/* Universal reset: removes default browser spacing so our own
   spacing system is the only one in effect. */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

/* smooth in-page anchor jumps (nav links, #contact etc.) */

body {
  background: var(--black);
  color: var(--ivory);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  /* prevents horizontal scroll from decorative glow orbs */
  position: relative;
}

/* Belt-and-braces: nothing on the page — however it's built — is
   ever allowed to force horizontal scroll on a small screen. */
img,
video,
svg,
iframe {
  max-width: 100%;
}

@media(max-width:480px) {
  .wrap {
    padding: 0 16px;
  }
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
}


/* ============================================================
   2. TYPOGRAPHY & SHARED UTILITIES
   Font pairing: Sora (headings) + Fraunces italic (accent words)
   + Inter (body) + JetBrains Mono (labels/eyebrows) — a premium,
   editorial sans+serif pairing used consistently on both pages.
   ============================================================ */
h1,
h2,
h3,
h4 {
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.015em;
}

/* Gold "foil" gradient text — used for the one or two accent
   words inside a heading, e.g. "grow" or "your store". Uses the
   serif italic for an elegant, non-generic-AI look. */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* central content container, reused by every section */
section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

@media(max-width:768px) {
  section {
    padding: 56px 0;
  }
}

/* Small uppercase mono label placed above every section heading,
   e.g. "WHO I AM", "RECENT WORK" — a consistent visual rhythm. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px 2px rgba(212, 175, 55, 0.55);
}

/* Reusable "glass" panel — used by cards, header bar, forms, footer.
   Frosted, gold-hairline bordered, subtle inner highlight. */
.glass {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px -14px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Gold corner-bracket accent — decorative "laser cut" corners
   added to premium cards for a bespoke, non-templated feel. */
.corners::before,
.corners::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: .55;
}

.corners::before {
  top: 10px;
  left: 10px;
  border-top: 1.5px solid var(--gold);
  border-left: 1.5px solid var(--gold);
}

.corners::after {
  bottom: 10px;
  right: 10px;
  border-bottom: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
}

/* --- Buttons ---
   Per client request: the PRIMARY button uses a SIMPLE two-stop
   gold gradient by default (not a busy multi-color effect).
   All the "premium sparkle" is reserved for the :hover state. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-soft);
  /* simple light-gold -> gold vertical gradient */
  color: #161200;
  font-weight: 700;
}

/* shine sweep only fires on hover — keeps the resting state calm/simple */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left .55s;
}

.btn-primary:hover::before {
  left: 130%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(212, 175, 55, 0.5);
}

.btn-glass {
  background: var(--glass);
  border-color: var(--line);
  color: var(--ivory);
  backdrop-filter: blur(14px);
}

.btn-glass:hover {
  background: var(--glass-strong);
  border-color: var(--line-hi);
  transform: translateY(-2px);
}


/* ============================================================
   3. AMBIENT BACKGROUND EFFECTS
   Fixed, blurred gold "glow orbs" behind all content give the
   dark theme depth. A cursor-following spotlight adds a subtle
   luxury interactive touch as the visitor moves their mouse.
   ============================================================ */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(95px);
  pointer-events: none;
  z-index: 0;
  opacity: .4;
}

#orb1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  top: -180px;
  left: -160px;
}

#orb2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-deep), transparent 70%);
  top: 45%;
  right: -220px;
  opacity: .3;
}

#orb3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--gold-bright), transparent 70%);
  bottom: -160px;
  left: 20%;
  opacity: .22;
}

#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 72%);
  opacity: 0;
  transition: opacity .4s;
  mix-blend-mode: screen;
}

@media(max-width:900px) {
  #cursor-glow {
    display: none;
  }
}

header,
section,
footer {
  position: relative;
  z-index: 1;
}

/* sit above the ambient orbs */


/* ============================================================
   4. HEADER / STICKY NAVIGATION
   position:fixed keeps the header pinned to the top of the
   viewport at all times (this IS the "sticky header"). A glass
   background + gold hairline keeps it readable over any content
   scrolling underneath it.
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
}

.navbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 12px;
  border-radius: 18px;
}

/* --- Logo / brand mark --- */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.logo-badge {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #161200;
  box-shadow: 0 6px 18px -4px rgba(212, 175, 55, 0.5);
  flex-shrink: 0;
}

/* rotating gold ring appears only on hover — a small premium detail */
.logo-badge::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: conic-gradient(from 0deg, var(--gold-bright), var(--gold-deep), var(--gold-bright));
  z-index: -1;
  opacity: 0;
  transition: opacity .3s;
  animation: spin 4s linear infinite paused;
}

.logo-badge:hover::before {
  opacity: .9;
  animation-play-state: running;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.brand-name b {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
}

.brand-name b .last {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tooltip that appears when hovering the logo/name — shows the
   canonical portfolio link so it doubles as a quick "copy link" cue. */
.brand-tooltip {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  padding: 9px 14px;
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--gold-bright);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .25s;
  pointer-events: none;
}

.brand:hover .brand-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navlinks {
  display: flex;
  gap: 2px;
  align-items: center;
}

.navlinks a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 9px 15px;
  border-radius: 22px;
  transition: all .25s;
}

.navlinks a:hover,
.navlinks a.active {
  color: var(--ivory);
  background: rgba(212, 175, 55, 0.08);
}

.nav-cta {
  padding: 10px 20px;
  font-size: 13px;
}

/* Header-only override: the "Start a Project" nav button is black
   (not gold) so it stands apart from the rest of the site's gold
   buttons. Text stays gold for contrast + a thin gold border. */
.nav-cta.btn-primary {
  background: var(--black-2);
  color: var(--gold-bright);
  border: 1px solid var(--line-hi);
}

.nav-cta.btn-primary::before {
  background: linear-gradient(120deg, transparent, rgba(212, 175, 55, 0.35), transparent);
  /* subtle gold shine on hover, not white */
}

.nav-cta.btn-primary:hover {
  background: var(--black-3);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6);
  border-color: var(--gold);
}

/* ------------------------------------------------------------
   Hamburger — premium circular "glass + gold" toggle (mobile only)
   Three lines morph into a gold X on open, with a soft gold glow
   ring that fades in — a small, deliberate luxury detail rather
   than a plain default hamburger icon.
   ------------------------------------------------------------ */
.burger {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  cursor: pointer;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  transition: border-color .3s, background .3s, box-shadow .3s;
}

.burger:hover {
  border-color: var(--line-hi);
  box-shadow: 0 6px 20px -8px rgba(212, 175, 55, 0.5);
}

.burger .bar-wrap {
  position: relative;
  width: 20px;
  height: 14px;
}

.burger span {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.5, .2, .2, 1), opacity .25s ease, width .3s ease;
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 6px;
  width: 14px;
  /* short middle bar — the "creative" asymmetric touch */
}

.burger span:nth-child(3) {
  top: 12px;
}

.burger:hover span:nth-child(2) {
  width: 20px;
}

/* open state → morphs into an X, driven by JS toggling .active */
.burger.active {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--line-hi);
}

.burger.active span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.burger.active span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Dimmed backdrop behind the open mobile menu */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 2, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 900;
}

.menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ------------------------------------------------------------
   Mobile menu panel — slides/fades down from the header as a
   self-contained glass card, links stagger in one-by-one.
   ------------------------------------------------------------ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 10px 18px 22px;
  margin-top: 10px;
  border-radius: 18px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height .4s cubic-bezier(.2, .9, .3, 1), opacity .3s ease, transform .35s ease;
  pointer-events: none;
}

.mobile-menu a {
  padding: 15px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .35s ease, transform .35s ease, color .2s;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gold-bright);
}

.mobile-menu.open {
  max-height: 620px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateX(0);
}

/* stagger each link's entrance slightly */
.mobile-menu.open a:nth-child(1) {
  transition-delay: .05s;
}

.mobile-menu.open a:nth-child(2) {
  transition-delay: .09s;
}

.mobile-menu.open a:nth-child(3) {
  transition-delay: .13s;
}

.mobile-menu.open a:nth-child(4) {
  transition-delay: .17s;
}

.mobile-menu.open a:nth-child(5) {
  transition-delay: .21s;
}

.mobile-menu.open a:nth-child(6) {
  transition-delay: .25s;
}

.mobile-menu.open a:nth-child(7) {
  transition-delay: .29s;
}

.mobile-menu.open a:nth-child(8) {
  transition-delay: .33s;
}

@media(max-width:1100px) {
  .navlinks {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-cta.desktop-only {
    display: none;
  }
}

/* keep the navbar itself from ever squeezing/overflowing between
   the widest desktop layout and the 1100px burger breakpoint */
@media(min-width:1101px) and (max-width:1220px) {
  .navlinks a {
    padding: 9px 11px;
    font-size: 12.8px;
  }
}


/* ============================================================
   5. HERO SECTION (index.html)
   Split layout: intro copy + CTA + stat badges on the left,
   a "browser window" visual with live skill bars on the right.
   ============================================================ */
.hero {
  padding-top: 160px;
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

@media(max-width:960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* The "browser window" visual (live typed URL + skill bars) is a
     desktop-only showcase piece — on mobile it competes for space
     with the CTA buttons, so it's hidden below the tablet breakpoint
     and only the copy + CTAs + stat chips are shown. */
  .hero-visual {
    display: none;
  }

  .hero-ctas {
    justify-content: center;
    margin-bottom: 34px;
  }

  .hero-ctas .btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  /* Stat chips (8+ / WooCommerce / 2021–25) — stacked one below the
     other on mobile, full width, so longer words like "WooCommerce"
     always have room and never clip inside the chip. */
  .hero-meta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .meta-chip {
    min-width: 0;
    width: 100%;
    align-items: center;
    padding: 14px 16px;
  }

  .meta-chip b {
    font-size: 19px;
  }

  .meta-chip span {
    white-space: normal;
  }
}

@media(max-width:400px) {
  .hero-meta {
    gap: 10px;
  }

  .meta-chip {
    padding: 12px 14px;
  }
}

@media(max-width:480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.meta-chip {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: 14px;
  min-width: 130px;
  flex: 1 1 130px;
}

@media(max-width:400px) {
  .meta-chip {
    min-width: 0;
    flex: 1 1 100px;
    padding: 12px 14px;
  }
}

.meta-chip b {
  font-family: 'Sora', sans-serif;
  font-size: 21px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.meta-chip span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 2px;
}

.hero-visual {
  position: relative;
}

.float-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}

.float-badge.b1 {
  top: -22px;
  right: 10px;
}

.float-badge.b2 {
  bottom: 30px;
  left: -26px;
  animation-delay: 1.2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-11px);
  }
}

@media(max-width:520px) {
  .float-badge {
    display: none;
  }
}

/* "browser window" mockup — reused in Hero + About sections */
.browser {
  border-radius: 20px;
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.browser-bar .dots {
  display: flex;
  gap: 6px;
}

.browser-bar .dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-bar .dots span:nth-child(1) {
  background: #f5675c;
}

.browser-bar .dots span:nth-child(2) {
  background: #f5c542;
}

.browser-bar .dots span:nth-child(3) {
  background: var(--gold);
}

.browser-url {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--gold-bright);
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-url::before {
  content: '🔒';
  font-size: 10px;
  opacity: .6;
}

.browser-body {
  padding: 26px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.stat-card:last-child {
  margin-bottom: 0;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}

.stat-row .lbl {
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
}

.stat-row .val {
  color: var(--ivory);
  font-weight: 600;
}

.bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 6px;
  background: var(--grad);
  width: 0%;
  transition: width 1.4s cubic-bezier(.16, 1, .3, 1);
}


/* ============================================================
   6. PILLARS STRIP — "3 numbered intro cards"
   Inspired by Ractic's 01/02/03 "Dedication" cards: a quick
   3-glance summary of the three pillars of Usman's work, shown
   right under the hero.
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.pillar-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 55px -22px rgba(212, 175, 55, 0.3);
}

.pillar-num {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #161200;
  background: var(--grad);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-card .img {
  height: 190px;
  overflow: hidden;
}

.pillar-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.pillar-card:hover .img img {
  transform: scale(1.08);
}

.pillar-card .body {
  padding: 22px;
}

.pillar-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.pillar-card p {
  color: var(--muted);
  font-size: 13.5px;
}


/* ============================================================
   7. ABOUT SECTION — creative bento-grid layout
   Left: 3D-tilt photo stage inside a gold gradient frame.
   Right: bio copy + a Ractic-style "info list" (Name / Email /
   Phone / Education / Address) which reads like a real personal
   dossier — more creative than a plain paragraph.
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

@media(max-width:900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.about-photo-stage {
  perspective: 1400px;
}

.about-photo-outer {
  position: relative;
  padding: 8px;
  border-radius: 28px;
  background: var(--grad);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform .5s cubic-bezier(.2, .9, .3, 1);
  box-shadow: 0 30px 60px -20px rgba(212, 175, 55, 0.35);
}

.about-photo-stage:hover .about-photo-outer {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.about-photo-frame {
  border-radius: 22px;
  overflow: hidden;
  background: var(--black-2);
  position: relative;
}

.about-photo-frame .photo-wrap {
  aspect-ratio: 4/4.8;
  overflow: hidden;
  background: var(--black);
  position: relative;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .9, .3, 1), filter .5s;
  filter: saturate(1.02);
}

.about-photo-stage:hover .about-photo-frame img {
  transform: scale(1.08);
  filter: saturate(1.15) brightness(1.04);
}

/* diagonal light sweep across the photo on hover — premium "sheen" */
.photo-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .8s ease;
  pointer-events: none;
}

.about-photo-stage:hover .photo-sheen {
  transform: translateX(120%);
}

.edu-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  padding: 14px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.edu-badge .ic {
  font-size: 20px;
}

.edu-badge b {
  display: block;
  font-size: 13px;
}

.edu-badge span {
  font-size: 10.5px;
  color: var(--muted);
}

@media(max-width:560px) {
  .edu-badge {
    right: 8px;
    bottom: -16px;
    padding: 11px 14px;
  }
}

.about h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 22px;
  line-height: 1.15;
}

.about .lead-line {
  font-size: 19px;
  color: var(--ivory);
  margin-bottom: 16px;
  font-weight: 500;
}

.about p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 15.5px;
}

.about strong {
  color: var(--ivory);
}

.quote-block {
  border-left: 2px solid var(--gold);
  padding-left: 18px;
  margin: 24px 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ivory);
  font-weight: 500;
  line-height: 1.5;
}

/* Ractic-style "info dossier" list: label + value pairs in a
   tidy two-column grid — a creative alternative to plain prose. */
.info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

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

.info-item {
  padding: 14px 16px;
  border-radius: 12px;
}

.info-item span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.info-item b {
  font-size: 14px;
  font-weight: 600;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stat-strip .s b {
  display: block;
  font-size: 28px;
  font-family: 'Sora', sans-serif;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-strip .s span {
  font-size: 12px;
  color: var(--muted);
}

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


/* ============================================================
   8. SKILLS SECTION
   ============================================================ */
.sec-head {
  max-width: 640px;
  margin-bottom: 42px;
}

.sec-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}

.sec-head p {
  color: var(--muted);
  font-size: 15.5px;
  margin-top: 14px;
}

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

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

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

.skill-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s;
  position: relative;
}

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

.skill-card .thumb {
  height: 150px;
  overflow: hidden;
  position: relative;
}

.skill-card .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 3, 2, 0.75));
}

.skill-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.skill-card:hover .thumb img {
  transform: scale(1.08);
}

.skill-card .body {
  padding: 20px;
}

.skill-card h4 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.skill-card p {
  color: var(--muted);
  font-size: 13.5px;
}


/* ============================================================
   9. EXPERIENCE SECTION — overlapping stacked cards
   Each card sits on top of the one before it (negative top margin
   + rising z-index), like a fanned deck of frosted-glass panels.
   Hovering (or tapping, on touch) lifts that card above the rest
   of the stack so its full content is readable.
   ============================================================ */
.exp-track {
  display: flex;
  flex-direction: column;
  padding-top: 34px;
}

.exp-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 20px;
  overflow: hidden;
  transition: all .4s cubic-bezier(.2, .9, .3, 1);
  margin-top: -34px;
  z-index: 1;
}

.exp-card:nth-child(1) {
  margin-top: 0;
  z-index: 1;
}

.exp-card:nth-child(2) {
  z-index: 2;
}

.exp-card:nth-child(3) {
  z-index: 3;
}

.exp-card:nth-child(4) {
  z-index: 4;
}

.exp-card:nth-child(5) {
  z-index: 5;
}

.exp-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(120deg, transparent 30%, rgba(212, 175, 55, 0.5), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.exp-card:hover {
  transform: translateY(-14px) translateX(8px);
  box-shadow: 0 26px 50px -18px rgba(212, 175, 55, 0.4);
  z-index: 20;
}

.exp-card:hover::after {
  opacity: 1;
}

.exp-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.35);
  width: 46px;
  flex-shrink: 0;
}

.exp-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  padding: 2.5px;
  background: var(--grad);
  box-shadow: 0 8px 20px -6px rgba(212, 175, 55, 0.4);
  transition: transform .35s;
}

.exp-card:hover .exp-icon {
  transform: scale(1.08) rotate(-4deg);
}

.exp-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}

.exp-body h4 {
  font-size: 18.5px;
  margin-bottom: 5px;
}

.exp-body .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: .06em;
  display: inline-block;
  margin-bottom: 8px;
}

.exp-body p {
  color: var(--muted);
  font-size: 14px;
  max-width: 480px;
}

.exp-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s;
}

.exp-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform .3s;
}

.exp-card:hover .exp-arrow {
  background: var(--grad);
  border-color: transparent;
}

.exp-card:hover .exp-arrow svg {
  transform: rotate(45deg);
  color: #161200;
}

@media(max-width:700px) {
  .exp-card {
    grid-template-columns: auto 1fr;
    grid-template-areas: "num icon" "body body";
    gap: 14px 18px;
    padding: 24px 22px;
    margin-top: -22px;
  }

  .exp-num {
    grid-area: num;
    font-size: 24px;
  }

  .exp-icon {
    grid-area: icon;
  }

  .exp-body {
    grid-area: body;
  }

  .exp-arrow {
    display: none;
  }

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


/* ============================================================
   10. SERVICES
   Used in TWO places:
   (a) Home page "What I Do" teaser — 3 highlight cards linking
       into services.html
   (b) services.html full page — flagship WooCommerce card +
       full grid + process steps + "why WooCommerce" panel
   ============================================================ */

/* --- (a) Home teaser cards --- */
.svc-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.svc-teaser-card {
  border-radius: 20px;
  padding: 30px 26px;
  transition: all .35s;
  position: relative;
  overflow: hidden;
}

.svc-teaser-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 55px -22px rgba(212, 175, 55, 0.32);
}

.svc-teaser-card.featured {
  border-color: var(--line-hi);
}

.svc-teaser-card .ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 20px;
  background: var(--grad);
  color: #161200;
  letter-spacing: .04em;
}

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.svc-teaser-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.svc-teaser-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 16px;
}

.svc-teaser-card .go {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.svc-teaser-card .go svg {
  width: 13px;
  height: 13px;
  transition: transform .25s;
}

.svc-teaser-card:hover .go svg {
  transform: translateX(3px);
}

/* --- (b) Services page hero / breadcrumb --- */
.svc-hero {
  padding-top: 160px;
  padding-bottom: 40px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--gold-bright);
}

.breadcrumb .sep {
  opacity: .5;
}

.svc-hero h1 {
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 820px;
}

.svc-hero p.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 32px;
}

.svc-stat-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.svc-stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 24px;
  font-size: 12.5px;
  font-weight: 600;
}

.svc-stat-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* --- (b) Flagship WooCommerce feature panel --- */
.flagship-panel {
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
  margin-bottom: 26px;
}

@media(max-width:900px) {
  .flagship-panel {
    grid-template-columns: 1fr;
  }
}

.flagship-panel .side-copy {
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flagship-panel .side-visual {
  position: relative;
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.04);
  border-left: 1px solid var(--line);
}

@media(max-width:900px) {
  .flagship-panel .side-visual {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

.flagship-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #161200;
  background: var(--grad);
  padding: 7px 14px;
  border-radius: 20px;
  letter-spacing: .05em;
  margin-bottom: 20px;
  width: fit-content;
}

.flagship-panel h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}

.flagship-panel p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}

.wc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.wc-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ivory);
}

.wc-list .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.wc-list .check svg {
  width: 11px;
  height: 11px;
  color: #161200;
}

/* Decorative "WooCommerce store" mockup icon cluster inside the
   flagship panel visual side — cart / bag / tag icon composition. */
.wc-orbit {
  position: relative;
  width: 260px;
  height: 260px;
}

.wc-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  box-shadow: 0 20px 50px -14px rgba(212, 175, 55, 0.5);
}

.wc-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed var(--line-hi);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.wc-chip {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.wc-chip.c1 {
  top: 0;
  left: 38%;
}

.wc-chip.c2 {
  top: 38%;
  right: 0;
}

.wc-chip.c3 {
  bottom: 0;
  left: 38%;
}

.wc-chip.c4 {
  top: 38%;
  left: 0;
}

/* --- (b) Full services grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

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

.service-card {
  border-radius: 20px;
  padding: 28px 24px;
  transition: all .35s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px -22px rgba(212, 175, 55, 0.3);
}

.service-card .svc-icon {
  width: 46px;
  height: 46px;
  font-size: 19px;
  border-radius: 13px;
}

.service-card h4 {
  font-size: 16.5px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 13.5px;
}

/* --- (b) "How I Build Your Store" process steps --- */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

@media(max-width:860px) {
  .process-track {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:560px) {
  .process-track {
    grid-template-columns: 1fr;
  }
}

.process-step {
  border-radius: 18px;
  padding: 26px 22px;
  position: relative;
}

.process-step .pnum {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.4);
  margin-bottom: 14px;
}

.process-step h4 {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--muted);
  font-size: 12.5px;
}

/* --- (b) "Why WooCommerce" panel --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.why-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
}

.why-item .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.why-item h5 {
  font-family: 'Sora', sans-serif;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.why-item p {
  color: var(--muted);
  font-size: 13px;
}

/* --- (b) CTA banner before footer --- */
.cta-banner {
  border-radius: 28px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.14), rgba(212, 175, 55, 0.02));
  border: 1px solid var(--line-hi);
}

.cta-banner h2 {
  font-size: clamp(24px, 3.6vw, 38px);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 520px;
  margin: 0 auto 28px;
}


/* ============================================================
   11. PROJECTS SECTION — fully clickable "visit live site" cards
   ============================================================ */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  padding: 10px 19px;
  border-radius: 24px;
  color: var(--muted);
  cursor: pointer;
  background: var(--glass);
  border: 1px solid var(--line);
  transition: all .25s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--grad);
  color: #161200;
  border-color: transparent;
}

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

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

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

.proj-card {
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2, .9, .3, 1), box-shadow .35s, border-color .35s;
  position: relative;
}

.proj-card.clickable {
  cursor: pointer;
}

.proj-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -18px rgba(212, 175, 55, 0.3);
  border-color: var(--line-hi);
}

.proj-card .shot {
  height: 175px;
  overflow: hidden;
  position: relative;
}

.proj-card .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s;
}

.proj-card:hover .shot img {
  transform: scale(1.09);
}

.shot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 3, 2, 0.05), rgba(3, 3, 2, 0.9));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  opacity: 0;
  transition: opacity .35s;
}

.proj-card:hover .shot-overlay {
  opacity: 1;
}

.visit-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 24px;
  background: var(--grad);
  color: #161200;
  font-size: 12.5px;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform .35s;
}

.proj-card:hover .visit-pill {
  transform: translateY(0);
}

.proj-card .mock {
  height: 175px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.proj-card .mockbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.proj-card .mockbar .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.proj-card .mockbar .d:nth-child(1) {
  background: #f5675c;
}

.proj-card .mockbar .d:nth-child(2) {
  background: #f5c542;
}

.proj-card .mockbar .d:nth-child(3) {
  background: var(--gold);
}

.proj-card .mockurl {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 8px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proj-card .mockbody {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.proj-card .mockbody .glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .35;
}

.proj-card .mockbody .init {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: var(--ivory);
  position: relative;
  z-index: 1;
}

.proj-card .info {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.proj-card .cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.proj-card h4 {
  font-size: 16px;
}

.proj-card p {
  color: var(--muted);
  font-size: 13px;
  flex: 1;
}


/* ============================================================
   12. TESTIMONIALS
   ============================================================ */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.test-card {
  border-radius: 16px;
  padding: 28px;
  transition: transform .3s;
  position: relative;
}

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

.test-card .quote-mark {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: 'Fraunces', serif;
  font-size: 56px;
  color: rgba(212, 175, 55, 0.14);
  line-height: 1;
}

.test-card .stars {
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.test-card p {
  font-size: 14.5px;
  color: var(--ivory);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.test-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-person img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.45);
}

.test-person b {
  display: block;
  font-size: 14px;
}

.test-person span {
  font-size: 12px;
  color: var(--muted);
}


/* ============================================================
   13. CONTACT SECTION (kept structurally the same as before,
   per client's request — only recolored to the gold theme)
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

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

.contact-card {
  border-radius: 22px;
  padding: 34px;
}

.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-info-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-row .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
}

.contact-info-row b {
  display: block;
  font-size: 14.5px;
}

.contact-info-row span {
  font-size: 13.5px;
  color: var(--muted);
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.social-3d {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: 0 6px 0 -2px rgba(0, 0, 0, 0.5), 0 10px 18px -6px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all .25s cubic-bezier(.2, .9, .3, 1);
  color: var(--ivory);
}

.social-3d svg {
  width: 19px;
  height: 19px;
}

.social-3d:hover {
  transform: translateY(-5px) rotate(-6deg) scale(1.06);
  background: var(--grad);
  color: #161200;
  box-shadow: 0 10px 0 -2px rgba(0, 0, 0, 0.4), 0 18px 26px -8px rgba(212, 175, 55, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-card.form-card {
  padding: 36px;
}

.form-title {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  margin-bottom: 6px;
}

.form-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.field {
  position: relative;
  margin-bottom: 20px;
}

.field .ic {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  opacity: .55;
  pointer-events: none;
}

form input,
form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 16px 15px 44px;
  color: var(--ivory);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}

form textarea {
  padding-left: 16px;
  resize: vertical;
  min-height: 130px;
}

form input:focus,
form textarea:focus {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 2px var(--gold), 0 0 24px -6px rgba(212, 175, 55, 0.5);
}

form input::placeholder,
form textarea::placeholder {
  color: var(--muted);
}

.form-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 15px;
  margin-top: 4px;
}


/* ============================================================
   14. FOOTER — premium multi-column footer
   Gold top divider + soft glow corner + a "back to top" gold
   button give this a finished, high-end agency feel.
   ============================================================ */
footer {
  padding: 50px 0 34px;
  position: relative;
}

.foot-top {
  border-radius: 26px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.foot-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright), var(--gold), transparent);
}

.foot-top::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.14), transparent 70%);
  top: -160px;
  right: -80px;
  filter: blur(10px);
  pointer-events: none;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

@media(max-width:860px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media(max-width:560px) {
  .foot-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .foot-grid .brand {
    justify-content: center;
  }

  .foot-grid p {
    margin-left: auto;
    margin-right: auto;
  }

  .foot-bottom {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
}

footer h5 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold-bright);
  margin-bottom: 18px;
  font-family: 'JetBrains Mono', monospace;
}

footer li {
  margin-bottom: 11px;
  font-size: 14px;
  color: var(--muted);
}

footer li a {
  transition: color .2s, padding-left .2s;
}

footer li a:hover {
  color: var(--gold-bright);
  padding-left: 4px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.back-to-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad);
  color: #161200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 8px 20px -6px rgba(212, 175, 55, 0.45);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -8px rgba(212, 175, 55, 0.6);
}

.back-to-top svg {
  width: 17px;
  height: 17px;
}


/* ============================================================
   15. SCROLL PROGRESS BAR + SCROLL-REVEAL ANIMATIONS
   The progress bar (id="progress") is updated via JS as the user
   scrolls. ".reveal" elements fade/slide in via IntersectionObserver
   in script.js — see js/script.js Section 3.
   ============================================================ */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--grad);
  width: 0%;
  z-index: 9999;
  transition: width .1s linear;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

/* ============================================================
   16. WHATSAPP FLOATING BUTTON
   Fixed bottom-right on every page. To change the phone number,
   edit the href on the <a class="whatsapp-float"> tag in
   index.html / services.html — not here.
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55);
  z-index: 9998;
  transition: transform .25s, box-shadow .25s;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 34px -6px rgba(37, 211, 102, 0.7);
}

@media(max-width:560px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ============================================================
   17. CONTACT FORM STATUS MESSAGE (Formspree submit feedback)
   Toggled via js/script.js — "FORMSPREE CONTACT FORM" section.
   ============================================================ */
.form-status {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  min-height: 18px;
}

.form-status.success {
  color: var(--gold-bright);
}

.form-status.error {
  color: #ff5c5c;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   18. EXTRA-SMALL SCREEN PASS (≈320–400px phones)
   Final safety layer on top of every section-specific breakpoint
   above: trims padding/font-size a little further so nothing feels
   cramped or clips on the smallest common phone widths.
   ============================================================ */
@media(max-width:400px) {

  .hero {
    padding-top: 130px;
  }

  .navbar-inner {
    padding: 8px 10px;
  }

  .brand-name b {
    font-size: 15px;
  }

  .logo-badge {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .browser-body {
    padding: 18px;
  }

  .foot-top {
    padding: 30px 20px;
  }

  .cta-banner {
    padding: 34px 20px;
  }

  .contact-card,
  .contact-card.form-card {
    padding: 24px;
  }

  .social-row {
    justify-content: center;
  }
}

/* Respect visitors who've asked their OS/browser to reduce motion:
   keep the ambient cursor glow, floating badges and logo spin from
   running so the page feels calm and static rather than "shifting". */
@media (prefers-reduced-motion: reduce) {

  .float-badge,
  .logo-badge::before {
    animation: none !important;
  }

  * {
    scroll-behavior: auto !important;
  }
}

::selection {
  background: var(--gold);
  color: #161200;
}