/*
 * ============================================================
 * ALON TATTOO STUDIO — styles.css
 * ============================================================
 *
 * DESIGN RATIONALE
 * ----------------
 * Palette derived from logo (white/black, minimal wave script)
 * and banner (dark dramatic tattoo photography, earthy warmth):
 *
 *   --dark:       #0d0e10  Very deep ink-black (matches studio's dark
 *                          premium aesthetic; near-black like fresh ink)
 *   --bg-alt:     #141619  Slightly lifted dark for section contrast
 *   --accent:     #2e7da8  Ocean/wave blue — "Alon" = wave in Filipino;
 *                          mid-depth Pacific teal-navy, distinct from
 *                          teal-cyan already used in portfolio
 *   --highlight:  #c9a96e  Warm sand-gold — Cebu island warmth,
 *                          evokes beach & skin tone contrast
 *   --cream:      #e8e4dc  Warm off-white for body text (not pure
 *                          white; softer on dark backgrounds)
 *   --surface:    #1c1f23  Card/surface background
 *   --border:     #2a2d32  Subtle border tone
 *
 * FONTS:
 *   Display: "Antonio" — bold, condensed, architectural sans;
 *            strong personality without being aggressive;
 *            unused in existing portfolio
 *   Body:    "DM Sans" — clean, legible, humanist;
 *            modern premium feel; unused in portfolio
 *   Accent:  "Cormorant Garamond" — editorial serif for pull quotes
 *            and small accent labels; unused in portfolio
 *
 * These fonts avoid: Black Han Sans, Orbitron, Space Grotesk,
 * Bebas Neue, Righteous, Dela Gothic One, Raleway, Syne.
 * ============================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@400;500;600;700&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&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&display=swap');

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

:root {
  --dark:       #0d0e10;
  --bg-alt:     #141619;
  --surface:    #1c1f23;
  --border:     #2a2d32;
  --accent:     #2e7da8;
  --accent-dark:#1f5a7a;
  --accent-glow:rgba(46,125,168,0.25);
  --highlight:  #c9a96e;
  --highlight-lt:#dfc08c;
  --cream:      #e8e4dc;
  --muted:      #8c8b87;
  --white:      #ffffff;

  --font-display: 'Antonio', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-accent:  'Cormorant Garamond', serif;

  --max-w: 1280px;
  --section-gap: 5rem;
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--white);
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--highlight);
  display: block;
  margin-bottom: 1rem;
}

blockquote, .pull-quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--cream);
  line-height: 1.5;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--section-gap) 0; }
.section--alt { background: var(--bg-alt); }
.section--surface { background: var(--surface); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ============================================================
   4. BUTTONS & CTAs
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,125,168,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--highlight);
  color: var(--dark);
  border: 2px solid var(--highlight);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--highlight-lt);
  border-color: var(--highlight-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,110,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   5. NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.6rem 0;
}

#navbar.scrolled {
  background: rgba(13,14,16,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  padding: 1rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta .btn { padding: 0.6rem 1.4rem; font-size: 0.78rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

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

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13,14,16,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .btn { margin-top: 1rem; }

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/banner.jpg?v=1');
  background-size: cover;
  background-position: center top;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,14,16,0.88) 0%,
    rgba(13,14,16,0.60) 50%,
    rgba(13,14,16,0.75) 100%
  );
}

.hero.loaded .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46,125,168,0.15);
  border: 1px solid rgba(46,125,168,0.35);
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 { margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================================
   7. FEATURES STRIP
   ============================================================ */
.features-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  transition: background var(--transition);
}
.feature-item:hover { background: var(--surface); }

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}

/* ============================================================
   8. SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.centered { text-align: center; }

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-header.centered p { margin: 0 auto; }

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--highlight));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.centered .divider { margin-left: auto; margin-right: auto; }

/* ============================================================
   9. PORTFOLIO / OFFERINGS GRID
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface);
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover img { transform: scale(1.06); }

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,14,16,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }

.portfolio-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

/* Portfolio bottom tag (always visible) */
.portfolio-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(13,14,16,0.75);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  backdrop-filter: blur(4px);
}

/* ============================================================
   10. BRAND TEASER / ABOUT STRIP
   ============================================================ */
.brand-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.brand-teaser-image {
  position: relative;
  overflow: hidden;
}

.brand-teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-teaser-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--bg-alt));
}

.brand-teaser-content {
  background: var(--bg-alt);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-teaser-content h2 { margin-bottom: 1.5rem; }

.brand-teaser-content p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.wave-meaning {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.wave-meaning .word {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.wave-meaning .definition {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================
   11. STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span { color: var(--accent); }

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   12. SOCIAL CTA SECTION
   ============================================================ */
.social-cta {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
}

.social-cta h2 { margin-bottom: 1rem; }
.social-cta p { color: var(--muted); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

.social-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-social--ig {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: var(--white);
}
.btn-social--ig:hover { opacity: 0.85; transform: translateY(-2px); }

.btn-social--fb {
  background: #1877f2;
  color: var(--white);
}
.btn-social--fb:hover { background: #0d5dbf; transform: translateY(-2px); }

.btn-social--wa {
  background: #25d366;
  color: var(--dark);
  font-weight: 700;
}
.btn-social--wa:hover { background: #1aab52; transform: translateY(-2px); }

.btn-social svg { width: 20px; height: 20px; }

/* ============================================================
   13. SOCIAL FEED GRID
   ============================================================ */
.social-feed-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.feed-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
}

.feed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feed-item:hover img { transform: scale(1.08); }

.feed-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46,125,168,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.feed-item:hover .feed-item-overlay { opacity: 1; }
.feed-item-overlay svg { width: 32px; height: 32px; color: var(--white); }

/* ============================================================
   14. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  overflow: hidden;
  background: var(--bg-alt);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--dark) 0%, transparent 50%, var(--bg-alt) 100%);
}

.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 600px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--accent); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: var(--border); }

/* ============================================================
   15. ABOUT PAGE SPECIFIC
   ============================================================ */
.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.phil-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: border-color var(--transition), transform var(--transition);
}

.phil-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.phil-icon {
  width: 52px;
  height: 52px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.phil-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.phil-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* Values list */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
}

.value-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.value-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  user-select: none;
}

.value-item h4 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.value-item p { color: var(--muted); font-size: 0.9rem; }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: -3rem;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--dark);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.timeline-year {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 0.4rem;
}

.timeline-item h4 { margin-bottom: 0.5rem; }
.timeline-item p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* CTA Split */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.cta-panel {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.cta-panel:first-child {
  background: var(--accent);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.cta-panel:last-child {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.cta-panel h3 { font-size: 1.8rem; }
.cta-panel p { opacity: 0.85; font-size: 0.95rem; }

/* ============================================================
   16. PORTFOLIO PAGE SPECIFIC
   ============================================================ */
.portfolio-disclaimer {
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--highlight);
  line-height: 1.6;
}
.portfolio-disclaimer svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

.category-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.category-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.category-tile:hover { border-color: var(--accent); }

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-tile:hover img { transform: scale(1.06); }

.category-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,14,16,0.92) 0%, rgba(13,14,16,0.3) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.category-tile-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-tile-count {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.25rem;
}

/* Category sections */
.category-section {
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.category-section-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.category-section-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-glow);
  border: 1px solid rgba(46,125,168,0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.category-section-icon svg { width: 28px; height: 28px; }

.category-section-header h3 { margin-bottom: 0.5rem; }
.category-section-header p { color: var(--muted); font-size: 0.9rem; max-width: 600px; }

.style-list { display: flex; flex-direction: column; gap: 0; }

.style-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  border-radius: var(--radius);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.style-item:last-child { border-bottom: none; }
.style-item:hover { background: rgba(46,125,168,0.05); }

.style-item-name {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.style-item-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.style-item-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-signature {
  background: rgba(46,125,168,0.15);
  color: var(--accent);
  border: 1px solid rgba(46,125,168,0.3);
}

.badge-popular {
  background: rgba(201,169,110,0.15);
  color: var(--highlight);
  border: 1px solid rgba(201,169,110,0.3);
}

.badge-custom {
  background: rgba(232,228,220,0.08);
  color: var(--cream);
  border: 1px solid var(--border);
}

/* ============================================================
   17. GALLERY PAGE SPECIFIC
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 2rem;
  color: var(--muted);
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover { color: var(--white); border-color: var(--accent); }
.filter-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

.masonry-grid {
  columns: 3;
  column-gap: 1.25rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.masonry-item:hover img { transform: scale(1.04); }

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46,125,168,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay svg { width: 36px; height: 36px; color: var(--white); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.96);
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
}

.lightbox-close svg { width: 28px; height: 28px; }
.lightbox-close:hover { color: var(--accent); }

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-prev { left: -5rem; }
.lightbox-next { right: -5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }

/* ============================================================
   18. CONTACT PAGE SPECIFIC
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-blocks { display: flex; flex-direction: column; gap: 2rem; }

.contact-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-block-icon {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-block-icon svg { width: 22px; height: 22px; }

.contact-block-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.contact-block-value {
  font-size: 0.95rem;
  color: var(--cream);
  line-height: 1.5;
}

.contact-block-value a { color: var(--cream); transition: color var(--transition); }
.contact-block-value a:hover { color: var(--accent); }

/* Inquiry Form */
.inquiry-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238c8b87' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option { background: var(--dark); }

.form-group textarea { height: 130px; resize: vertical; line-height: 1.6; }

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success svg { width: 48px; height: 48px; color: #25d366; margin: 0 auto 1rem; }
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); }

/* Map placeholder */
.map-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.map-placeholder svg { width: 48px; height: 48px; color: var(--accent); margin: 0 auto 1.5rem; }
.map-placeholder p { color: var(--muted); margin-bottom: 1.5rem; }

/* FAQ */
.faq-list { max-width: 800px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream);
  transition: color var(--transition);
  user-select: none;
}

.faq-question:hover { color: var(--white); }

.faq-question.open { color: var(--accent); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform var(--transition), color var(--transition);
}

.faq-question.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ============================================================
   19. FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition);
}

.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--cream); }

.footer-col address {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-col address a {
  display: inline;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom a { color: var(--accent); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   20. SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  box-shadow: 0 4px 16px rgba(46,125,168,0.4);
}

.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--accent-dark); }
.scroll-top svg { width: 20px; height: 20px; }

/* ============================================================
   21. ANIMATION / INTERSECTION OBSERVER
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   22. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn { display: none; }

  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-teaser { grid-template-columns: 1fr; }
  .brand-teaser-image { min-height: 350px; }
  .brand-teaser-image::after { display: none; }
  .brand-teaser-content { padding: 3rem 2rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category-tiles { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .cta-panel:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .cta-panel:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .social-feed-grid { grid-template-columns: repeat(3, 1fr); }
  .masonry-grid { columns: 2; }
}

@media (max-width: 768px) {
  :root { --section-gap: 3.5rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .philosophy-cards { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .timeline { padding-left: 2rem; }
  .value-item { grid-template-columns: 60px 1fr; }
  .masonry-grid { columns: 1; }
  .lightbox-prev { left: -3rem; }
  .lightbox-next { right: -3rem; }
  .social-feed-grid { grid-template-columns: repeat(3, 1fr); }
  .inquiry-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .category-tiles { grid-template-columns: 1fr 1fr; }
  .social-feed-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cta-panel { padding: 3rem 1.5rem; }
}
