/*
Theme Name: ARC Studio
Theme URI: https://example.com/arc-studio
Author: Your Name
Author URI: https://example.com
Description: A bold, dark brand identity and design agency theme converted from HTML.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arc-studio
*/

/* ============================================================
   CSS VARIABLES & RESET
============================================================ */
/*
 * ================================================================
 *  FORMA STUDIO — main.css
 *  Complete stylesheet for all 5 pages:
 *  index.html · about.html · services.html · work.html · contact.html
 *
 *  Table of Contents
 *  ─────────────────
 *   1.  Google Fonts Import
 *   2.  Design Tokens (CSS Variables)
 *   3.  Reset & Base
 *   4.  Typography System  (H1–H6, body, paragraphs, links)
 *   5.  Layout Utilities
 *   6.  Buttons
 *   7.  Navigation  (navbar, mobile menu)
 *   8.  Page Hero  (index.html)
 *   9.  Page Hero  (inner pages — about / services / work)
 *  10.  Marquee / Ticker
 *  11.  Section Shared Styles
 *  12.  Services Section  (index.html)
 *  13.  Portfolio Grid  (index.html)
 *  14.  Process Section  (index.html)
 *  15.  About / Studio Section  (index.html)
 *  16.  Testimonials  (index.html)
 *  17.  CTA Banner  (index.html)
 *  18.  About Page
 *  19.  Services Page
 *  20.  Work Page
 *  21.  Contact Page
 *  22.  Footer
 *  23.  AOS Animations
 *  24.  Responsive  (≤900px, ≤600px)
 * ================================================================
 */


/* ================================================================
   1. GOOGLE FONTS IMPORT
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');


/* ================================================================
   2. DESIGN TOKENS
   ================================================================ */
:root {
  /* Backgrounds */
  --bg:           #0D0D0D;
  --bg-2:         #111111;
  --bg-card:      #161616;
  --bg-footer:    #080808;

  /* Brand colours */
  --accent:       #F5C842;
  --accent-dim:   #c9a02e;

  /* Text */
  --text:         #EDEDED;
  --muted:        #888888;

  /* UI */
  --border:       #222222;
  --radius:       6px;

  /* Typography */
  --font-head:    'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Layout */
  --max-w:        1440px;
}


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

html {
  scroll-behavior: smooth;
}

body {
  background:              var(--bg);
  color:                   var(--text);
  font-family:             var(--font-body);
  font-size:               16px;
  line-height:             1.7;
  -webkit-font-smoothing:  antialiased;
  overflow-x:              hidden;
}

img  { display: block; max-width: 100%; }
ul   { list-style: none; }
a    { color: inherit; text-decoration: none; }


/* ================================================================
   4. TYPOGRAPHY SYSTEM
   ================================================================ */

/* ── Headings ── */
h1 {
  font-family:    var(--font-head);
  font-weight:    800;
  font-size:      clamp(3.2rem, 7vw, 6.5rem);
  line-height:    0.92;
  letter-spacing: -0.03em;
  color:          var(--text);
  margin-bottom:  28px;
}

h2 {
  font-family:    var(--font-head);
  font-weight:    800;
  font-size:      clamp(2.4rem, 4.5vw, 4rem);
  line-height:    1;
  letter-spacing: -0.02em;
  color:          var(--text);
  margin-bottom:  56px;
}

h3 {
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      clamp(1.8rem, 2.5vw, 2.2rem);
  line-height:    1;
  letter-spacing: -0.02em;
  color:          var(--text);
  margin-bottom:  14px;
}

h4 {
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      1.5rem;
  line-height:    1.1;
  letter-spacing: -0.01em;
  color:          var(--text);
  margin-bottom:  10px;
}

h5 {
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      0.75rem;
  line-height:    1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--muted);
  margin-bottom:  20px;
}

h6 {
  font-family:    var(--font-head);
  font-weight:    600;
  font-size:      0.75rem;
  line-height:    1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          var(--accent);
  margin-bottom:  18px;
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
}
h6::before {
  content:    '';
  display:    block;
  width:      24px;
  height:     1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

/* em inside headings = accent colour */
h1 em, h2 em, h3 em {
  font-style: normal;
  color:      var(--accent);
  display:    block;
}

/* ── Body text ── */
p {
  font-family:   var(--font-body);
  font-size:     1rem;
  font-weight:   400;
  line-height:   1.75;
  color:         var(--text);
  margin-bottom: 1.5em;
}
p:last-child { margin-bottom: 0; }

/* Size utilities */
.text-lg  { font-size: 1.1rem;  line-height: 1.75; }
.text-sm  { font-size: 0.9rem;  line-height: 1.72; color: var(--muted); }
.text-xs  { font-size: 0.82rem; line-height: 1.65; color: var(--muted); }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }

/* ── Links ── */

/* Default inline link */
a.link,
.prose a {
  color:                    var(--accent);
  text-decoration:          underline;
  text-underline-offset:    4px;
  text-decoration-thickness: 1px;
  text-decoration-color:    rgba(245,200,66,.4);
  transition:               color .25s, text-decoration-color .25s;
}
a.link:hover,
.prose a:hover {
  color:                   var(--accent-dim);
  text-decoration-color:   var(--accent-dim);
}

/* Border-bottom link (used in About, case studies) */
.link-bordered {
  color:           var(--accent);
  text-decoration: none;
  border-bottom:   1px solid rgba(245,200,66,.35);
  padding-bottom:  2px;
  transition:      border-color .25s, color .25s;
}
.link-bordered:hover { color: #fff; border-color: #fff; }

/* Arrow CTA link */
.link-arrow {
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
  font-size:      .88rem;
  font-weight:    600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color:          var(--accent);
  text-decoration: none;
  transition:     gap .25s, color .25s;
}
.link-arrow:hover { gap: 16px; color: #fff; }

/* Muted link (footer, sub-nav) */
.link-muted {
  color:           var(--muted);
  text-decoration: none;
  font-size:       .9rem;
  transition:      color .2s;
}
.link-muted:hover { color: var(--text); }


/* ================================================================
   5. LAYOUT UTILITIES
   ================================================================ */
.container {
  width:          100%;
  max-width:      var(--max-w);
  margin-inline:  auto;
  padding-inline: 24px;
}

.accent { color: var(--accent); }


/* ================================================================
   6. BUTTONS
   ================================================================ */
.btn-primary {
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
  background:     var(--accent);
  color:          #000;
  font-family:    var(--font-body);
  font-size:      .88rem;
  font-weight:    600;
  letter-spacing: .04em;
  padding:        14px 30px;
  border-radius:  var(--radius);
  border:         none;
  cursor:         pointer;
  transition:     background .25s, transform .2s;
  white-space:    nowrap;
}
.btn-primary:hover           { background: var(--accent-dim); transform: translateY(-2px); }
.btn-primary svg             { transition: transform .25s; }
.btn-primary:hover svg       { transform: translateX(4px); }

.btn-ghost {
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
  border:         1.5px solid rgba(255,255,255,.18);
  color:          var(--text);
  font-family:    var(--font-body);
  font-size:      .88rem;
  font-weight:    500;
  letter-spacing: .04em;
  padding:        14px 30px;
  border-radius:  var(--radius);
  background:     transparent;
  cursor:         pointer;
  transition:     border-color .25s, color .25s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-dark {
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
  background:     #000;
  color:          var(--accent);
  font-family:    var(--font-body);
  font-size:      .88rem;
  font-weight:    700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding:        16px 34px;
  border-radius:  var(--radius);
  border:         none;
  cursor:         pointer;
  transition:     background .25s;
  white-space:    nowrap;
}
.btn-dark:hover { background: #1a1a1a; }


/* ================================================================
   7. NAVIGATION
   ================================================================ */
#navbar {
  position:   fixed;
  top: 0; left: 0; right: 0;
  z-index:    1000;
  padding:    22px 0;
  transition: background .4s ease, padding .3s ease, backdrop-filter .4s ease;
}

/* Solid on scroll — JS adds .scrolled */
#navbar.scrolled,
#navbar.solid {
  background:     rgba(13,13,13,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding:        14px 0;
  border-bottom:  1px solid var(--border);
}

.nav-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             24px;
}

.nav-logo {
  font-family:    var(--font-head);
  font-size:      1.5rem;
  font-weight:    800;
  letter-spacing: .08em;
  color:          var(--text);
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap:     36px;
}
.nav-links a {
  font-size:      .85rem;
  font-weight:    500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color:          var(--muted);
  transition:     color .25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  background:     var(--accent);
  color:          #000;
  font-family:    var(--font-body);
  font-size:      .82rem;
  font-weight:    600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding:        10px 22px;
  border-radius:  var(--radius);
  transition:     background .25s, transform .2s;
  white-space:    nowrap;
}
.nav-cta:hover { background: var(--accent-dim); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display:        none;
  flex-direction: column;
  gap:            5px;
  cursor:         pointer;
  padding:        4px;
}
.hamburger span {
  display:    block;
  width:      26px;
  height:     2px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile fullscreen menu */
.mobile-menu {
  display:         none;
  position:        fixed;
  inset:           0;
  background:      rgba(13,13,13,.97);
  z-index:         999;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  gap:             40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size:   2.8rem;
  font-weight: 700;
  color:       var(--text);
  transition:  color .2s;
}
.mobile-menu a:hover { color: var(--accent); }


/* ================================================================
   8. PAGE HERO  (index.html — home)
   ================================================================ */
#hero {
  position:     relative;
  min-height:   100vh;
  display:      flex;
  align-items:  center;
  overflow:     hidden;
  padding-top:  100px;
}

/* Animated gradient mesh */
.hero-bg {
  position: absolute;
  inset:    0;
  z-index:  0;
}
.hero-bg::before {
  content:  '';
  position: absolute;
  inset:    0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(245,200,66,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(245,200,66,.06) 0%, transparent 60%),
    var(--bg);
  animation: meshShift 10s ease-in-out infinite alternate;
}
/* Grain texture */
.hero-bg::after {
  content:          '';
  position:         absolute;
  inset:            0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity:          .35;
  pointer-events:   none;
}
@keyframes meshShift {
  0%   { opacity: .8; }
  100% { opacity: 1; }
}

/* Decorative geometric circle */
.hero-geo {
  position:     absolute;
  right:        -80px;
  top:          50%;
  transform:    translateY(-55%);
  width:        520px;
  height:       520px;
  border:       1.5px solid rgba(245,200,66,.15);
  border-radius: 50%;
  z-index:      0;
  animation:    geoPulse 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-geo::after {
  content:       '';
  position:      absolute;
  inset:         40px;
  border:        1.5px solid rgba(245,200,66,.08);
  border-radius: 50%;
}
@keyframes geoPulse {
  0%, 100% { transform: translateY(-55%) scale(1);    opacity: .6; }
  50%       { transform: translateY(-55%) scale(1.04); opacity: 1;  }
}

.hero-content {
  position:  relative;
  z-index:   1;
  max-width: 780px;
}

.hero-eyebrow {
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
  font-size:      .78rem;
  font-weight:    500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color:          var(--accent);
  margin-bottom:  28px;
}
.hero-eyebrow::before {
  content:    '';
  display:    block;
  width:      32px;
  height:     1.5px;
  background: var(--accent);
}

.hero-headline {
  font-family:    var(--font-head);
  font-size:      clamp(3.2rem, 7vw, 6.5rem);
  font-weight:    800;
  line-height:    0.96;
  letter-spacing: -.02em;
  margin-bottom:  28px;
}

.hero-sub {
  font-size:     1.05rem;
  color:         var(--muted);
  max-width:     480px;
  line-height:   1.7;
  margin-bottom: 44px;
}

.hero-buttons {
  display:    flex;
  flex-wrap:  wrap;
  gap:        16px;
}

/* Scroll indicator */
.scroll-hint {
  position:  absolute;
  bottom:    40px;
  left:      50%;
  transform: translateX(-50%);
  z-index:   1;
  display:   flex;
  flex-direction: column;
  align-items:    center;
  gap:            8px;
  color:          var(--muted);
  font-size:      .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-hint .line {
  width:      1.5px;
  height:     40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation:  scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ================================================================
   9. PAGE HERO  (inner pages — about / services / work)
   ================================================================ */
.page-hero {
  padding:       180px 0 100px;
  position:      relative;
  overflow:      hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content:        '';
  position:       absolute;
  inset:          0;
  background:     radial-gradient(ellipse 55% 70% at 80% 50%, rgba(245,200,66,.08) 0%, transparent 65%);
  pointer-events: none;
}

/* Large decorative background letters */
.page-hero-deco {
  position:       absolute;
  right:          -20px;
  top:            50%;
  transform:      translateY(-50%);
  font-family:    var(--font-head);
  font-size:      clamp(14rem, 22vw, 22rem);
  font-weight:    800;
  color:          rgba(255,255,255,.025);
  line-height:    1;
  pointer-events: none;
  user-select:    none;
}

.page-hero-label {
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
  font-size:      .75rem;
  font-weight:    600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color:          var(--accent);
  margin-bottom:  24px;
}
.page-hero-label::before {
  content:    '';
  display:    block;
  width:      24px;
  height:     1.5px;
  background: var(--accent);
}

.page-hero h1 {
  font-family:    var(--font-head);
  font-size:      clamp(3.5rem, 7vw, 7rem);
  font-weight:    800;
  line-height:    .92;
  letter-spacing: -.03em;
  max-width:      800px;
  margin-bottom:  32px;
}

.page-hero-sub {
  font-size:   1.1rem;
  color:       var(--muted);
  max-width:   520px;
  line-height: 1.75;
}

/* Work page hero is side-by-side */
.page-hero-inner {
  display:         flex;
  align-items:     flex-end;
  justify-content: space-between;
  gap:             40px;
  flex-wrap:       wrap;
}


/* ================================================================
   10. MARQUEE / TICKER
   ================================================================ */
#marquee {
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding:       14px 0;
  overflow:      hidden;
  background:    var(--bg-2);
}

.marquee-track {
  display:   flex;
  width:     max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track span {
  display:        inline-flex;
  align-items:    center;
  gap:            28px;
  padding-right:  28px;
  font-family:    var(--font-head);
  font-size:      .85rem;
  font-weight:    600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color:          var(--muted);
  white-space:    nowrap;
}
.marquee-track span .dot {
  display:       inline-block;
  width:         6px;
  height:        6px;
  background:    var(--accent);
  border-radius: 50%;
  flex-shrink:   0;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ================================================================
   11. SECTION SHARED STYLES
   ================================================================ */
section { padding: 120px 0; }

.section-label {
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
  font-size:      .75rem;
  font-weight:    600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color:          var(--accent);
  margin-bottom:  20px;
}
.section-label::before {
  content:    '';
  display:    block;
  width:      24px;
  height:     1.5px;
  background: var(--accent);
}

.section-heading {
  font-family:    var(--font-head);
  font-size:      clamp(2.4rem, 4.5vw, 4rem);
  font-weight:    800;
  line-height:    1;
  letter-spacing: -.02em;
  margin-bottom:  60px;
}

/* Inner-page section headings are slightly smaller */
.section-heading-md {
  font-family:    var(--font-head);
  font-size:      clamp(2.2rem, 4vw, 3.6rem);
  font-weight:    800;
  line-height:    1;
  letter-spacing: -.02em;
  margin-bottom:  56px;
}


/* ================================================================
   12. SERVICES SECTION  (index.html)
   ================================================================ */
#services { background: var(--bg); }

.services-header {
  display:         flex;
  align-items:     flex-end;
  justify-content: space-between;
  gap:             40px;
  margin-bottom:   60px;
  flex-wrap:       wrap;
}
.services-header .section-heading { margin-bottom: 0; }

.services-subtitle {
  max-width:   320px;
  font-size:   .95rem;
  color:       var(--muted);
  line-height: 1.7;
  text-align:  right;
}

.services-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:                   2px;
}

.service-card {
  background:  var(--bg-card);
  padding:     44px 36px;
  border:      1px solid var(--border);
  position:    relative;
  overflow:    hidden;
  cursor:      default;
  transition:  border-color .3s, transform .3s;
}
.service-card::before {
  content:          '';
  position:         absolute;
  bottom: 0; left: 0; right: 0;
  height:           3px;
  background:       var(--accent);
  transform:        scaleX(0);
  transform-origin: left;
  transition:       transform .35s ease;
}
.service-card:hover                { border-color: rgba(245,200,66,.3); transform: translateY(-4px); }
.service-card:hover::before        { transform: scaleX(1); }

.service-icon {
  width:         52px;
  height:        52px;
  border:        1.5px solid var(--border);
  border-radius: 50%;
  display:       flex;
  align-items:   center;
  justify-content: center;
  margin-bottom: 28px;
  color:         var(--accent);
  transition:    border-color .3s;
}
.service-card:hover .service-icon  { border-color: var(--accent); }

.service-num {
  position:    absolute;
  top:         20px;
  right:       24px;
  font-family: var(--font-head);
  font-size:   5rem;
  font-weight: 800;
  color:       rgba(255,255,255,.03);
  line-height: 1;
  user-select: none;
}

.service-title {
  font-family:    var(--font-head);
  font-size:      1.35rem;
  font-weight:    700;
  margin-bottom:  14px;
  letter-spacing: .01em;
}

.service-desc {
  font-size:   .9rem;
  color:       var(--muted);
  line-height: 1.7;
}


/* ================================================================
   13. PORTFOLIO GRID  (index.html)
   ================================================================ */
#work { background: var(--bg-2); }

.work-header {
  display:         flex;
  align-items:     flex-end;
  justify-content: space-between;
  flex-wrap:       wrap;
  gap:             24px;
  margin-bottom:   48px;
}
.work-header .section-heading { margin-bottom: 0; }

.filter-tabs {
  display:   flex;
  gap:       8px;
  flex-wrap: wrap;
}
.filter-tab {
  padding:        8px 20px;
  border:         1.5px solid var(--border);
  border-radius:  100px;
  font-size:      .8rem;
  font-weight:    500;
  letter-spacing: .04em;
  cursor:         pointer;
  transition:     all .25s;
  background:     transparent;
  color:          var(--muted);
}
.filter-tab.active,
.filter-tab:hover { border-color: var(--accent); color: var(--accent); }

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

.portfolio-item {
  position:   relative;
  overflow:   hidden;
  border-radius: var(--radius);
  cursor:     pointer;
}
.portfolio-item:nth-child(1) { grid-column: span 7; }
.portfolio-item:nth-child(2) { grid-column: span 5; }
.portfolio-item:nth-child(3) { grid-column: span 4; }
.portfolio-item:nth-child(4) { grid-column: span 4; }
.portfolio-item:nth-child(5) { grid-column: span 4; }
.portfolio-item:nth-child(6) { grid-column: span 12; }

.portfolio-thumb {
  width:       100%;
  aspect-ratio: 4/3;
  display:     block;
  transition:  transform .55s cubic-bezier(.16,1,.3,1);
}
.portfolio-item:nth-child(6) .portfolio-thumb { aspect-ratio: 16/5; }
.portfolio-item:hover .portfolio-thumb         { transform: scale(1.06); }

.portfolio-overlay {
  position:       absolute;
  inset:          0;
  background:     rgba(13,13,13,.82);
  display:        flex;
  flex-direction: column;
  justify-content: flex-end;
  padding:        28px;
  opacity:        0;
  transform:      translateY(8px);
  transition:     opacity .35s, transform .35s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; transform: translateY(0); }

.portfolio-tag {
  display:        inline-block;
  background:     var(--accent);
  color:          #000;
  font-size:      .7rem;
  font-weight:    700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding:        4px 12px;
  border-radius:  100px;
  margin-bottom:  10px;
  width:          fit-content;
}

.portfolio-name {
  font-family: var(--font-head);
  font-size:   1.3rem;
  font-weight: 700;
}

/* Gradient placeholder thumbnails */
.thumb-1 { background: linear-gradient(135deg,#1a1a2e,#16213e,#0f3460); }
.thumb-2 { background: linear-gradient(135deg,#2d1b69,#11998e); }
.thumb-3 { background: linear-gradient(135deg,#642b73,#c6426e); }
.thumb-4 { background: linear-gradient(135deg,#134e5e,#71b280); }
.thumb-5 { background: linear-gradient(135deg,#1a1a1a,#3d3d3d); }
.thumb-6 { background: linear-gradient(135deg,#0d0d0d,#1a1a1a,#2a1f0d,#3d2e08); }


/* ================================================================
   14. PROCESS SECTION  (index.html)
   ================================================================ */
#process { background: var(--bg); }

.process-steps {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:                   0;
  position:              relative;
}
.process-steps::before {
  content:    '';
  position:   absolute;
  top:        36px;
  left:       calc(12.5% + 20px);
  right:      calc(12.5% + 20px);
  height:     1px;
  background: linear-gradient(to right, var(--accent), transparent);
  z-index:    0;
}

.process-step {
  padding:  0 32px 0 0;
  position: relative;
  z-index:  1;
}
.process-step:last-child { padding-right: 0; }

.step-num {
  font-family:    var(--font-head);
  font-size:      .75rem;
  font-weight:    700;
  letter-spacing: .12em;
  color:          var(--accent);
  margin-bottom:  18px;
  display:        flex;
  align-items:    center;
  gap:            14px;
}
.step-num::after {
  content:       '';
  display:       block;
  width:         10px;
  height:        10px;
  border:        2px solid var(--accent);
  border-radius: 50%;
  background:    var(--bg);
  flex-shrink:   0;
}

.step-title {
  font-family:    var(--font-head);
  font-size:      1.5rem;
  font-weight:    700;
  margin-bottom:  12px;
  letter-spacing: -.01em;
}

.step-desc {
  font-size:   .88rem;
  color:       var(--muted);
  line-height: 1.7;
}


/* ================================================================
   15. ABOUT / STUDIO SECTION  (index.html)
   ================================================================ */
#about { background: var(--bg-2); }

.about-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           start;
}

.stats-col { display: flex; flex-direction: column; }

.stat-item {
  padding:       36px 0;
  border-bottom: 1px solid var(--border);
}
.stat-item:first-child { padding-top: 0; }

.stat-value {
  font-family:    var(--font-head);
  font-size:      clamp(3rem, 5vw, 5rem);
  font-weight:    800;
  color:          var(--accent);
  line-height:    1;
  letter-spacing: -.03em;
}
.stat-label {
  font-size:      .85rem;
  color:          var(--muted);
  margin-top:     6px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.about-pull {
  font-family:    var(--font-head);
  font-size:      clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight:    700;
  line-height:    1.2;
  border-left:    3px solid var(--accent);
  padding-left:   24px;
  margin-bottom:  36px;
}

.text-col p {
  font-size:     1rem;
  color:         var(--muted);
  line-height:   1.8;
  margin-bottom: 20px;
}
.text-col p:last-of-type { margin-bottom: 40px; }

.about-link {
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
  font-size:      .88rem;
  font-weight:    600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color:          var(--accent);
  border-bottom:  1px solid var(--accent);
  padding-bottom: 4px;
  transition:     gap .25s;
}
.about-link:hover { gap: 16px; }


/* ================================================================
   16. TESTIMONIALS  (index.html)
   ================================================================ */
#testimonials { background: var(--bg); }

.testimonials-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap:                   24px;
}

.testimonial-card {
  background:    var(--bg-card);
  border:        1px solid var(--border);
  padding:       40px;
  border-radius: var(--radius);
  position:      relative;
  transition:    border-color .3s;
}
.testimonial-card:hover { border-color: rgba(245,200,66,.25); }

.testimonial-quote {
  font-size:     4rem;
  line-height:   .6;
  font-family:   var(--font-head);
  color:         var(--accent);
  margin-bottom: 20px;
  display:       block;
}

.testimonial-text {
  font-size:     1rem;
  color:         var(--text);
  line-height:   1.75;
  margin-bottom: 32px;
  font-style:    italic;
  font-weight:   300;
}

.testimonial-meta {
  display:     flex;
  align-items: center;
  gap:         14px;
}

.testimonial-avatar {
  width:           44px;
  height:          44px;
  border-radius:   50%;
  background:      linear-gradient(135deg, var(--accent), var(--accent-dim));
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     var(--font-head);
  font-weight:     700;
  font-size:       .9rem;
  color:           #000;
  flex-shrink:     0;
}

.testimonial-name    { font-weight: 600; font-size: .9rem; }
.testimonial-company { font-size: .8rem; color: var(--muted); }


/* ================================================================
   17. CTA BANNER  (index.html)
   ================================================================ */
#cta-banner {
  padding:   120px 0;
  background: var(--accent);
  position:  relative;
  overflow:  hidden;
}
#cta-banner::before {
  content:        'FORMA';
  position:       absolute;
  right:          -60px;
  top:            50%;
  transform:      translateY(-50%);
  font-family:    var(--font-head);
  font-size:      22vw;
  font-weight:    800;
  color:          rgba(0,0,0,.07);
  line-height:    1;
  pointer-events: none;
  user-select:    none;
}

.cta-inner {
  position:   relative;
  z-index:    1;
  text-align: center;
}

.cta-heading {
  font-family:    var(--font-head);
  font-size:      clamp(2.5rem, 5vw, 5rem);
  font-weight:    800;
  color:          #000;
  line-height:    .95;
  letter-spacing: -.03em;
  margin-bottom:  20px;
}

.cta-sub {
  font-size:     1.05rem;
  color:         rgba(0,0,0,.65);
  margin-bottom: 48px;
}

.cta-form {
  display:         flex;
  gap:             12px;
  justify-content: center;
  flex-wrap:       wrap;
}
.cta-form input {
  flex:          1 1 280px;
  max-width:     360px;
  padding:       14px 20px;
  background:    rgba(0,0,0,.12);
  border:        1.5px solid rgba(0,0,0,.2);
  border-radius: var(--radius);
  font-family:   var(--font-body);
  font-size:     .9rem;
  color:         #000;
  outline:       none;
  transition:    border-color .25s;
}
.cta-form input::placeholder { color: rgba(0,0,0,.45); }
.cta-form input:focus         { border-color: rgba(0,0,0,.5); }

.cta-btn {
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  padding:        14px 30px;
  background:     #000;
  color:          var(--accent);
  border-radius:  var(--radius);
  font-family:    var(--font-body);
  font-size:      .88rem;
  font-weight:    700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border:         none;
  cursor:         pointer;
  transition:     background .25s;
}
.cta-btn:hover { background: #1a1a1a; }

.cta-or { color: rgba(0,0,0,.5); font-size: .85rem; align-self: center; }

.cta-book {
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  padding:        14px 30px;
  border:         2px solid rgba(0,0,0,.25);
  color:          #000;
  border-radius:  var(--radius);
  font-family:    var(--font-body);
  font-size:      .88rem;
  font-weight:    600;
  letter-spacing: .04em;
  transition:     border-color .25s, background .25s;
}
.cta-book:hover { border-color: rgba(0,0,0,.5); background: rgba(0,0,0,.08); }


/* ================================================================
   18. ABOUT PAGE
   ================================================================ */

/* Manifesto */
#manifesto { background: var(--bg); padding: 100px 0; }
.manifesto-inner {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           center;
}
.manifesto-left .big-quote {
  font-family:    var(--font-head);
  font-size:      clamp(1.9rem, 3vw, 2.8rem);
  font-weight:    700;
  line-height:    1.15;
  letter-spacing: -.02em;
  border-left:    3px solid var(--accent);
  padding-left:   28px;
  margin-bottom:  40px;
}
.manifesto-right p { font-size: 1.02rem; color: var(--muted); line-height: 1.85; margin-bottom: 22px; }
.manifesto-right p:last-child { margin-bottom: 0; }

/* Philosophy pillars */
#philosophy { background: var(--bg-2); }
.pillars-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   2px;
}
.pillar {
  background: var(--bg-card);
  padding:    52px 40px;
  border:     1px solid var(--border);
  position:   relative;
  overflow:   hidden;
  transition: border-color .3s;
}
.pillar:hover { border-color: rgba(245,200,66,.3); }
.pillar-num {
  font-family: var(--font-head);
  font-size:   5.5rem;
  font-weight: 800;
  color:       rgba(255,255,255,.04);
  line-height: 1;
  position:    absolute;
  top:         16px;
  right:       20px;
}
.pillar-icon {
  width:         48px;
  height:        48px;
  border:        1.5px solid var(--border);
  border-radius: 50%;
  display:       flex;
  align-items:   center;
  justify-content: center;
  color:         var(--accent);
  margin-bottom: 28px;
  transition:    border-color .3s;
}
.pillar:hover .pillar-icon { border-color: var(--accent); }
.pillar h3  { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; letter-spacing: .01em; }
.pillar p   { font-size: .9rem; color: var(--muted); line-height: 1.72; }

/* Team */
#team { background: var(--bg); }
.team-intro { max-width: 600px; margin-bottom: 64px; }
.team-intro p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.team-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap:                   28px;
}
.team-card {
  background:    var(--bg-card);
  border:        1px solid var(--border);
  border-radius: var(--radius);
  overflow:      hidden;
  transition:    border-color .3s, transform .3s;
}
.team-card:hover { border-color: rgba(245,200,66,.25); transform: translateY(-4px); }
.team-photo {
  width:       100%;
  aspect-ratio: 3/3.5;
  display:     flex;
  align-items: flex-end;
  padding:     20px;
  position:    relative;
  overflow:    hidden;
}
.team-photo-bg { position: absolute; inset: 0; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.team-card:hover .team-photo-bg { transform: scale(1.05); }
.team-photo-bg.p1 { background: linear-gradient(160deg,#1a1a2e,#0f3460,#16213e); }
.team-photo-bg.p2 { background: linear-gradient(160deg,#2d1b69,#11998e); }
.team-photo-bg.p3 { background: linear-gradient(160deg,#3a1a1a,#642b35); }
.team-photo-bg.p4 { background: linear-gradient(160deg,#1a2d1a,#2e6b2e); }
.team-initials { position: relative; z-index: 1; font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.15); line-height: 1; }
.team-info     { padding: 24px; }
.team-name     { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.team-role     { font-size: .82rem; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; margin-bottom: 12px; }
.team-bio      { font-size: .86rem; color: var(--muted); line-height: 1.65; }

/* Stats band */
#stats-band {
  padding:   80px 0;
  background: var(--accent);
  position:  relative;
  overflow:  hidden;
}
#stats-band::before {
  content:        'FORMA';
  position:       absolute;
  left:           -40px;
  top:            50%;
  transform:      translateY(-50%);
  font-family:    var(--font-head);
  font-size:      18vw;
  font-weight:    800;
  color:          rgba(0,0,0,.07);
  line-height:    1;
  pointer-events: none;
  user-select:    none;
}
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); position: relative; z-index: 1; }
.stat-block { padding: 24px 40px; border-right: 1px solid rgba(0,0,0,.12); text-align: center; }
.stat-block:last-child { border-right: none; }
.stat-block .val { font-family: var(--font-head); font-size: clamp(3rem,4.5vw,4.5rem); font-weight: 800; color: #000; line-height: 1; letter-spacing: -.03em; margin-bottom: 6px; }
.stat-block .lbl { font-size: .82rem; color: rgba(0,0,0,.6); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }

/* Recognition */
#recognition { background: var(--bg-2); }
.recognition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.rec-item { background: var(--bg-card); padding: 40px 44px; border: 1px solid var(--border); display: flex; align-items: flex-start; gap: 24px; transition: border-color .3s; }
.rec-item:hover { border-color: rgba(245,200,66,.2); }
.rec-year { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); padding-top: 4px; min-width: 48px; }
.rec-content h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.rec-content p  { font-size: .88rem; color: var(--muted); line-height: 1.6; }


/* ================================================================
   19. SERVICES PAGE
   ================================================================ */

/* Accordion list */
#service-list { background: var(--bg); padding: 100px 0; }
.service-list-header {
  display:               grid;
  grid-template-columns: 1fr 340px;
  gap:                   80px;
  align-items:           start;
  margin-bottom:         64px;
}
.service-list-header .section-heading-md { margin-bottom: 0; }
.service-list-intro { color: var(--muted); font-size: 1rem; line-height: 1.8; padding-top: 12px; }

.service-item {
  border-top:            1px solid var(--border);
  padding:               40px 0;
  display:               grid;
  grid-template-columns: 80px 1fr auto;
  gap:                   32px;
  align-items:           start;
  cursor:                pointer;
}
.service-item:last-child                    { border-bottom: 1px solid var(--border); }
.service-item:hover .service-item-title     { color: var(--accent); }

.si-num { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); padding-top: 6px; }

.service-item-title {
  font-family:    var(--font-head);
  font-size:      clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight:    700;
  letter-spacing: -.01em;
  line-height:    1.1;
  transition:     color .3s;
}

.service-item-desc        { font-size: .92rem; color: var(--muted); line-height: 1.75; max-width: 580px; margin-top: 16px; display: none; }
.service-item.open .service-item-desc { display: block; }

.service-item-deliverables        { margin-top: 20px; display: none; flex-wrap: wrap; gap: 8px; }
.service-item.open .service-item-deliverables { display: flex; }

.deliverable-tag {
  display:       inline-block;
  padding:       5px 14px;
  border:        1.5px solid var(--border);
  border-radius: 100px;
  font-size:     .78rem;
  font-weight:   500;
  color:         var(--muted);
  transition:    border-color .25s, color .25s;
}
.service-item.open .deliverable-tag { border-color: rgba(245,200,66,.3); color: var(--text); }

.si-toggle {
  width:         40px;
  height:        40px;
  border:        1.5px solid var(--border);
  border-radius: 50%;
  display:       flex;
  align-items:   center;
  justify-content: center;
  color:         var(--muted);
  flex-shrink:   0;
  margin-top:    4px;
  transition:    border-color .25s, color .25s, transform .3s;
}
.service-item:hover .si-toggle   { border-color: var(--accent); color: var(--accent); }
.service-item.open  .si-toggle   { border-color: var(--accent); color: var(--accent); transform: rotate(45deg); }

/* Process deep dive */
#process-detail { background: var(--bg-2); }
.process-deep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.process-sticky-col { position: sticky; top: 120px; }
.process-sticky-col h2 { font-family: var(--font-head); font-size: clamp(2rem,3.5vw,3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 24px; }
.process-sticky-col p  { color: var(--muted); font-size: 1rem; line-height: 1.8; margin-bottom: 32px; }
.process-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #000; font-size: .88rem; font-weight: 600; letter-spacing: .04em; padding: 14px 30px; border-radius: var(--radius); transition: background .25s, transform .2s; }
.process-cta:hover { background: var(--accent-dim); transform: translateY(-2px); }

.process-steps-list { display: flex; flex-direction: column; }
.process-step-item  { padding: 36px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: start; }
.process-step-item:first-child { padding-top: 0; }
.psi-num           { font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--accent); padding-top: 4px; }
.psi-body h4       { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.psi-body p        { font-size: .9rem; color: var(--muted); line-height: 1.72; }
.psi-duration      { display: inline-block; margin-top: 12px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(245,200,66,.25); padding: 4px 12px; border-radius: 100px; }

/* Pricing packages */
#packages { background: var(--bg); }
.packages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.package-card {
  background:     var(--bg-card);
  border:         1px solid var(--border);
  border-radius:  var(--radius);
  padding:        44px 36px;
  display:        flex;
  flex-direction: column;
  position:       relative;
  overflow:       hidden;
  transition:     border-color .3s, transform .3s;
}
.package-card:hover                   { transform: translateY(-4px); }
.package-card.featured                { border-color: var(--accent); }
.package-card.featured::before {
  content:        'Most Popular';
  position:       absolute;
  top:            20px;
  right:          -30px;
  background:     var(--accent);
  color:          #000;
  font-size:      .7rem;
  font-weight:    700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding:        5px 40px;
  transform:      rotate(45deg) translate(-10px,-10px);
}
.pkg-tier     { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.pkg-name     { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.pkg-desc     { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-bottom: 32px; }
.pkg-price    { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.pkg-price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.pkg-timeline { font-size: .8rem; color: var(--muted); margin-bottom: 32px; }
.pkg-divider  { height: 1px; background: var(--border); margin-bottom: 28px; }
.pkg-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; flex: 1; }
.pkg-feature  { display: flex; align-items: flex-start; gap: 12px; font-size: .88rem; color: var(--muted); }
.pkg-feature .check { width: 18px; height: 18px; border-radius: 50%; background: rgba(245,200,66,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.pkg-feature .check svg { color: var(--accent); }
.pkg-btn { display: block; text-align: center; padding: 13px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .88rem; font-weight: 600; letter-spacing: .04em; transition: all .25s; }
.package-card:hover .pkg-btn,
.package-card.featured .pkg-btn     { background: var(--accent); border-color: var(--accent); color: #000; }

/* Why Forma */
#why-forma   { background: var(--bg-2); }
.why-grid    { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; }
.why-item    { background: var(--bg-card); padding: 48px 44px; border: 1px solid var(--border); transition: border-color .3s; }
.why-item:hover { border-color: rgba(245,200,66,.2); }
.why-icon    { width: 44px; height: 44px; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 24px; transition: border-color .3s; }
.why-item:hover .why-icon { border-color: var(--accent); }
.why-item h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.why-item p  { font-size: .9rem; color: var(--muted); line-height: 1.72; }


/* ================================================================
   20. WORK PAGE
   ================================================================ */

/* Sticky filter bar */
.filter-bar {
  padding:       28px 0;
  border-bottom: 1px solid var(--border);
  background:    var(--bg);
  position:      sticky;
  top:           68px;
  z-index:       100;
}
.filter-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.filter-count { font-size: .82rem; color: var(--muted); }
.filter-count span { color: var(--accent); font-weight: 600; }

/* Portfolio grid (work page — full layout) */
#portfolio-grid { padding: 60px 0 120px; background: var(--bg); }
.grid-wrap { display: grid; grid-template-columns: repeat(12,1fr); gap: 20px; }

.p-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; border: 1px solid transparent; transition: border-color .3s; }
.p-item:hover { border-color: rgba(245,200,66,.2); }

.p-item.large  { grid-column: span 8; }
.p-item.medium { grid-column: span 6; }
.p-item.small  { grid-column: span 4; }
.p-item.full   { grid-column: span 12; }
.p-item.third  { grid-column: span 4; }

.p-thumb { width: 100%; display: block; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.p-item.large  .p-thumb { aspect-ratio: 16/9; }
.p-item.medium .p-thumb { aspect-ratio: 4/3; }
.p-item.small  .p-thumb { aspect-ratio: 4/3; }
.p-item.full   .p-thumb { aspect-ratio: 21/7; }
.p-item.third  .p-thumb { aspect-ratio: 4/3; }
.p-item:hover  .p-thumb { transform: scale(1.05); }

/* Work page gradient thumbnails */
.g1 { background: linear-gradient(145deg,#0a0a1a,#1a1a3e,#0f3460); }
.g2 { background: linear-gradient(145deg,#1a0a00,#3d1f00,#c9a02e); }
.g3 { background: linear-gradient(145deg,#0a1a1a,#0d4d4d,#0e7676); }
.g4 { background: linear-gradient(145deg,#1a001a,#4d004d,#7a007a); }
.g5 { background: linear-gradient(145deg,#001a0a,#004d20,#007a32); }
.g6 { background: linear-gradient(145deg,#1a0a0a,#4d1010,#8a1a1a); }
.g7 { background: linear-gradient(145deg,#0a0a0a,#1a1a1a,#2e2e2e); }
.g8 { background: linear-gradient(145deg,#0a0d1a,#1a2340,#2e3c6e); }

.p-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(13,13,13,.9) 0%,rgba(13,13,13,.2) 50%,transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; opacity: 0; transition: opacity .35s; }
.p-item:hover .p-overlay { opacity: 1; }
.p-tag        { display: inline-block; background: var(--accent); color: #000; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 8px; width: fit-content; }
.p-name       { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; line-height: 1.1; margin-bottom: 6px; }
.p-year       { font-size: .78rem; color: rgba(255,255,255,.5); }

.p-label      { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 20px; background: linear-gradient(to top,rgba(13,13,13,.85),transparent); display: flex; align-items: flex-end; justify-content: space-between; }
.p-label-name { font-family: var(--font-head); font-size: .95rem; font-weight: 700; }
.p-label-tag  { font-size: .72rem; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }

/* Case study */
#case-study   { background: var(--bg-2); padding: 110px 0; }
.case-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.case-visual  { position: relative; }
.case-main-thumb { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(145deg,#1a1a2e,#16213e,#0f3460); }
.case-sub-thumb  { position: absolute; bottom: -28px; right: -28px; width: 52%; aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(145deg,#F5C842,#c9a02e); border: 4px solid var(--bg-2); display: flex; align-items: center; justify-content: center; }
.case-sub-thumb .mark { font-family: var(--font-head); font-size: 4rem; font-weight: 800; color: rgba(0,0,0,.15); }
.case-label   { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.case-label::before { content: ''; display: block; width: 24px; height: 1.5px; background: var(--accent); }
.case-content h2 { font-family: var(--font-head); font-size: clamp(2rem,3.5vw,3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 20px; }
.case-content p  { font-size: .96rem; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.case-tags    { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.case-tag     { padding: 6px 16px; border: 1.5px solid var(--border); border-radius: 100px; font-size: .78rem; color: var(--muted); }
.case-link    { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 4px; transition: gap .25s; }
.case-link:hover { gap: 16px; }

/* Work stats */
#work-stats   { background: var(--bg); padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.work-stats-row { display: flex; justify-content: space-between; }
.ws-item      { text-align: center; flex: 1; padding: 20px; border-right: 1px solid var(--border); }
.ws-item:last-child { border-right: none; }
.ws-val       { font-family: var(--font-head); font-size: clamp(2.2rem,4vw,3.5rem); font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -.02em; margin-bottom: 6px; }
.ws-lbl       { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* Work CTA strip */
#work-cta     { background: var(--accent); padding: 80px 0; position: relative; overflow: hidden; }
#work-cta::before { content: 'READY?'; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-size: 18vw; font-weight: 800; color: rgba(0,0,0,.07); line-height: 1; pointer-events: none; user-select: none; }
.work-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.work-cta-inner h2 { font-family: var(--font-head); font-size: clamp(2rem,4vw,3.5rem); font-weight: 800; color: #000; line-height: 1; letter-spacing: -.02em; }
.work-cta-btn { display: inline-flex; align-items: center; gap: 10px; background: #000; color: var(--accent); font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 16px 34px; border-radius: var(--radius); white-space: nowrap; transition: background .25s; }
.work-cta-btn:hover { background: #1a1a1a; }


/* ================================================================
   21. CONTACT PAGE
   ================================================================ */
#contact-hero {
  min-height:  100vh;
  display:     flex;
  align-items: stretch;
  position:    relative;
  overflow:    hidden;
}

/* Left info pane */
.ch-left {
  flex:            1 1 52%;
  padding:         180px 64px 80px;
  position:        relative;
  z-index:         1;
  display:         flex;
  flex-direction:  column;
  justify-content: space-between;
  border-right:    1px solid var(--border);
}
.ch-left::before {
  content:        '';
  position:       absolute;
  inset:          0;
  background:     radial-gradient(ellipse 80% 60% at 0% 50%, rgba(245,200,66,.07) 0%, transparent 65%);
  pointer-events: none;
}

.ch-label { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; }
.ch-label::before { content: ''; display: block; width: 24px; height: 1.5px; background: var(--accent); }

.ch-heading { font-family: var(--font-head); font-size: clamp(3rem,5.5vw,5.5rem); font-weight: 800; line-height: .92; letter-spacing: -.03em; margin-bottom: 36px; }

.ch-body { font-size: 1rem; color: var(--muted); line-height: 1.8; max-width: 460px; margin-bottom: 48px; }

.ch-contacts { display: flex; flex-direction: column; gap: 20px; }
.ch-contact-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .3s; }
.ch-contact-item:hover { border-color: rgba(245,200,66,.25); }
.ch-contact-icon  { width: 40px; height: 40px; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.ch-contact-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.ch-contact-val   { font-size: .96rem; font-weight: 500; }
.ch-contact-val a:hover { color: var(--accent); }

.ch-social       { margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.ch-social-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-right: 4px; }

/* Right form pane */
.ch-right {
  flex:            1 1 48%;
  padding:         180px 64px 80px;
  background:      var(--bg-card);
  display:         flex;
  flex-direction:  column;
  justify-content: center;
}

.contact-form-wrap h2 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.contact-form-wrap p  { font-size: .9rem; color: var(--muted); margin-bottom: 40px; line-height: 1.7; }

.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group    { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-label    { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.form-input,
.form-select,
.form-textarea {
  width:         100%;
  padding:       13px 16px;
  background:    var(--bg);
  border:        1.5px solid var(--border);
  border-radius: var(--radius);
  font-family:   var(--font-body);
  font-size:     .92rem;
  color:         var(--text);
  outline:       none;
  transition:    border-color .25s;
  appearance:    none;
  resize:        none;
}
.form-input::placeholder,
.form-textarea::placeholder          { color: rgba(255,255,255,.25); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus                 { border-color: var(--accent); }
.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-select option { background: var(--bg-card); }
.form-textarea { min-height: 130px; line-height: 1.6; }

.budget-group   { margin-bottom: 24px; }
.budget-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.budget-option  { padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 100px; font-size: .8rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .2s; user-select: none; }
.budget-option:hover    { border-color: rgba(245,200,66,.4); color: var(--text); }
.budget-option.selected { border-color: var(--accent); color: var(--accent); }

.form-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin-bottom: 28px; }
.form-check input { display: none; }
.check-box { width: 18px; height: 18px; border: 1.5px solid var(--border); border-radius: 3px; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; transition: border-color .2s, background .2s; }
.form-check:hover .check-box { border-color: var(--accent); }
.form-check input:checked ~ .check-box { background: var(--accent); border-color: var(--accent); }
.form-check input:checked ~ .check-box::after { content: ''; display: block; width: 5px; height: 9px; border: 2px solid #000; border-top: none; border-left: none; transform: rotate(45deg) translateY(-1px); }
.check-label   { font-size: .86rem; color: var(--muted); line-height: 1.6; }
.check-label a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.form-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px; background: var(--accent); color: #000; font-family: var(--font-body); font-size: .92rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border: none; border-radius: var(--radius); cursor: pointer; transition: background .25s, transform .2s; }
.form-submit:hover { background: var(--accent-dim); transform: translateY(-2px); }
.form-submit svg { transition: transform .25s; }
.form-submit:hover svg { transform: translateX(4px); }

.form-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 24px; gap: 20px; }
.form-success.show { display: flex; }
.success-icon { width: 64px; height: 64px; background: rgba(245,200,66,.12); border: 1.5px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.form-success h3 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; }
.form-success p  { font-size: .92rem; color: var(--muted); line-height: 1.7; max-width: 340px; }

/* FAQ */
#faq        { background: var(--bg-2); padding: 110px 0; }
.faq-grid   { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.faq-left h2 { font-family: var(--font-head); font-size: clamp(2rem,3.5vw,3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 20px; }
.faq-left p  { font-size: .96rem; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.faq-direct  { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 4px; transition: gap .25s; }
.faq-direct:hover { gap: 16px; }
.faq-items   { display: flex; flex-direction: column; }
.faq-item    { border-bottom: 1px solid var(--border); padding: 24px 0; cursor: pointer; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.faq-question h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.faq-toggle  { width: 32px; height: 32px; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); flex-shrink: 0; transition: border-color .25s, color .25s, transform .3s; }
.faq-item.open .faq-toggle { border-color: var(--accent); color: var(--accent); transform: rotate(45deg); }
.faq-answer  { font-size: .9rem; color: var(--muted); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; }
.faq-item.open .faq-answer { max-height: 200px; padding-top: 14px; }


/* ================================================================
   22. FOOTER  (shared across all pages)
   ================================================================ */
footer {
  background:   var(--bg-footer);
  border-top:   1px solid var(--border);
  padding:      64px 0 40px;
}

.footer-top {
  display:               grid;
  grid-template-columns: 1fr auto auto;
  gap:                   60px;
  padding-bottom:        48px;
  border-bottom:         1px solid var(--border);
  align-items:           start;
}

.footer-brand .nav-logo { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.footer-tagline         { font-size: .88rem; color: var(--muted); max-width: 240px; line-height: 1.65; }

.footer-col h5 { font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: .9rem; color: var(--muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }

.footer-bottom { padding-top: 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-copy   { font-size: .8rem; color: var(--muted); }

.social-links { display: flex; gap: 16px; }
.social-link  { width: 38px; height: 38px; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: border-color .25s, color .25s; }
.social-link:hover { border-color: var(--accent); color: var(--accent); }


/* ================================================================
   23. AOS  (Animate On Scroll — override defaults)
   ================================================================ */
[data-aos] { will-change: transform, opacity; }


/* ================================================================
   24. RESPONSIVE
   ================================================================ */

/* ── Tablet  ≤ 900px ── */
@media (max-width: 900px) {

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger            { display: flex; }

  /* Sections */
  section { padding: 80px 0; }
  .section-heading    { margin-bottom: 40px; }
  .section-heading-md { margin-bottom: 36px; }

  /* Typography scale-down */
  h1 { font-size: clamp(2.8rem, 8vw, 4rem); }
  h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 40px; }
  h3 { font-size: 1.8rem; }
  h4 { font-size: 1.25rem; }

  /* Home hero */
  .hero-geo { display: none; }

  /* Index about */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Index portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item { grid-column: span 1 !important; }

  /* Index process */
  .process-steps::before { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* About page */
  .manifesto-inner { grid-template-columns: 1fr; gap: 48px; }
  .pillars-grid    { grid-template-columns: 1fr; }
  .stats-row       { grid-template-columns: repeat(2, 1fr); }
  .stat-block      { border-bottom: 1px solid rgba(0,0,0,.12); }
  .recognition-grid { grid-template-columns: 1fr; }

  /* Services page */
  .service-list-header  { grid-template-columns: 1fr; gap: 24px; }
  .service-item         { grid-template-columns: 60px 1fr auto; gap: 20px; }
  .process-deep-grid    { grid-template-columns: 1fr; gap: 48px; }
  .process-sticky-col   { position: static; }
  .packages-grid        { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .why-grid             { grid-template-columns: 1fr; }

  /* Work page */
  .p-item.large,
  .p-item.medium,
  .p-item.full  { grid-column: span 12; }
  .p-item.small,
  .p-item.third { grid-column: span 6; }
  .p-overlay    { opacity: 1; transform: none; }
  .case-grid    { grid-template-columns: 1fr; gap: 48px; }
  .case-sub-thumb   { display: none; }
  .work-cta-inner   { flex-direction: column; align-items: flex-start; }

  /* Contact page */
  #contact-hero { flex-direction: column; min-height: auto; }
  .ch-left  { flex: none; padding: 140px 32px 60px; border-right: none; border-bottom: 1px solid var(--border); }
  .ch-right { flex: none; padding: 60px 32px 80px; }
  .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  /* Services index header */
  .services-header { flex-direction: column; align-items: flex-start; }
  .services-subtitle { text-align: left; }
  .work-header { flex-direction: column; align-items: flex-start; }

  /* Footer */
  .footer-top    { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; }
}

/* ── Mobile  ≤ 600px ── */
@media (max-width: 600px) {

  /* Typography */
  body { font-size: 15px; }
  h1   { font-size: clamp(2.4rem, 9vw, 3.2rem); letter-spacing: -0.025em; }
  h2   { font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: 32px; }
  h3   { font-size: 1.5rem; }
  p    { font-size: .95rem; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; }

  /* Work page grid */
  .p-item.small,
  .p-item.third { grid-column: span 12; }
  .work-stats-row { flex-wrap: wrap; }
  .ws-item { flex: 1 1 40%; border-bottom: 1px solid var(--border); }

  /* About stats */
  .stats-row { grid-template-columns: 1fr 1fr; }

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

  /* Service accordion */
  .service-item { grid-template-columns: 48px 1fr auto; gap: 14px; }

  /* Contact */
  .ch-left,
  .ch-right { padding-inline: 20px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
}