/*
 * PT PRO MANAGEMENT GROUP — Premium Corporate Website
 * Design System v2.0 (Multi-Page Architecture)
 * Approach: Editorial, Human-Crafted, Agency-Level
 * 
 * Design Pillars:
 * 1. Contrast-rich typography with intentional whitespace
 * 2. Warm, earthy tones — NOT generic blue corporate
 * 3. Asymmetric layouts with editorial photo placements
 * 4. Subtle human details: ink-like textures, organic curves
 * 5. Zero "card grid" clichés — every section feels unique
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&family=Bebas+Neue&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Core Palette — Warm Dark + Aged Gold + Off-White */
  --ink:          #0e0d0b;
  --ink-90:       #1a1916;
  --ink-80:       #252420;
  --ink-60:       #3d3b35;
  --ink-30:       #7a776e;
  --ink-10:       #b8b4a8;
  --parchment:    #f5f0e8;
  --parchment-70: #e8e2d5;
  --white:        #ffffff;

  /* Gold System */
  --gold:         #c8a96e;
  --gold-bright:  #e2c080;
  --gold-deep:    #a07840;
  --gold-pale:    #f5e6c8;

  /* Accent */
  --accent-warm:  #8b4513;
  --wa-green:     #25d366;

  /* Typography */
  --font-display:  'Cormorant Garamond', 'Georgia', serif;
  --font-ui:       'Inter', -apple-system, system-ui, sans-serif;
  --font-impact:   'Bebas Neue', sans-serif;

  /* Spacing */
  --section-gap: 8rem;
  --inner-gap:   4rem;
}

/* ─── BASE RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--ink-90);
  color: var(--parchment);
  font-family: var(--font-ui);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 3px; }

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

/* ─── TYPOGRAPHY SCALE ───────────────────────────────────────── */
.t-hero {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.t-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.t-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.2;
}
.t-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.25;
}
.t-h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}
.t-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.t-body {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
}
.t-body-sm {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
}
.t-counter {
  font-family: var(--font-impact);
  letter-spacing: 0.02em;
}

/* ─── COLORS ─────────────────────────────────────────────────── */
.c-gold        { color: var(--gold); }
.c-gold-bright { color: var(--gold-bright); }
.c-ink-30      { color: var(--ink-30); }
.c-parchment   { color: var(--parchment); }
.c-white       { color: var(--white); }
.c-muted       { color: var(--ink-10); }

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.section { padding: var(--section-gap) 0; }
.section--sm { padding: 5rem 0; }

/* ─── NAVIGATION ─────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.75rem 0;
  transition: padding 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
#site-nav.is-scrolled {
  padding: 1rem 0;
  background: rgba(14, 13, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(200, 169, 110, 0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.nav-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-deep);
}
.nav-brand-text {
  line-height: 1;
}
.nav-brand-text strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}
.nav-brand-text span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--parchment);
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0.9rem; right: 0.9rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }

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

/* ─── HAMBURGER (MOBILE) ─────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--parchment);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ink);
  z-index: 850;
  padding: 6rem 2.5rem 3rem;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; flex-direction: column; gap: 0.5rem; }
.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--parchment);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ink-60);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-mobile a:hover { color: var(--gold); padding-left: 0.5rem; }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: normal;
  line-height: 1.35;
  height: auto;
}
.btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-bright);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--primary:hover::before { transform: translateX(0); }
.btn--primary span, .btn--primary svg { position: relative; z-index: 1; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,169,110,0.35); }

.btn--ghost {
  background: transparent;
  color: var(--parchment);
  border: 1px solid rgba(245, 240, 232, 0.25);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--wa {
  background: var(--wa-green);
  color: #fff;
  padding: 0.9rem 1.75rem;
}
.btn--wa:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(37,211,102,0.4); }
.btn--icon { padding: 0.75rem; border-radius: 50%; }

/* WA Pulse */
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}
.pulse { animation: wa-pulse 2.2s infinite; }

/* ─── LINE DIVIDER ───────────────────────────────────────────── */
.hr-gold {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.hr-gold--center { margin-left: auto; margin-right: auto; }

/* ─── PAGE HERO (Interior Pages) ────────────────────────────── */
.page-hero {
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  padding-top: 10rem;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.page-hero__bg img,
.page-hero__bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.8) contrast(1.1);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink-90) 15%, rgba(14,13,11,0.3) 70%, transparent 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
}

/* ─── MARQUEE TICKER ─────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--ink-60);
  border-bottom: 1px solid var(--ink-60);
  padding: 1.25rem 0;
  background: var(--ink);
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; width: 200px; height: 100%;
  z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--ink), transparent); }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
  gap: 0;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  padding: 0 3rem;
  gap: 1.25rem;
  white-space: nowrap;
}
.marquee-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.marquee-item span {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-10);
  transition: color 0.2s;
}
.marquee-item:hover span { color: var(--gold); }

/* ─── PHOTO / MEDIA BLOCKS ───────────────────────────────────── */
.photo-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-reveal {
  overflow: hidden;
  position: relative;
}
.img-reveal img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.2, 0, 0.1, 1);
}
.img-reveal:hover img { transform: scale(1.06); }

/* ─── DIVISI SERVICE CARDS ───────────────────────────────────── */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.service-row--reverse { direction: rtl; }
.service-row--reverse > * { direction: ltr; }
.service-row__photo {
  position: relative;
  overflow: hidden;
}
.service-row__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.service-row:hover .service-row__photo img { transform: scale(1.04); }
.service-row__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,13,11,0.35), transparent 60%);
}
.service-row__body {
  background: var(--ink-80);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--ink-60);
}
.service-row:hover .service-row__body {
  border-color: rgba(200,169,110,0.3);
}

/* ─── STAT BLOCKS ────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--ink-60);
  border-bottom: 1px solid var(--ink-60);
  transition: background 0.3s ease;
}
.stat-item:last-child, .stat-item:nth-child(4) { border-right: none; }
.stat-item:hover { background: var(--ink-80); }
.stat-item__num {
  font-family: var(--font-impact);
  font-size: 3.8rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
  display: block;
}
.stat-item__label {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink-10);
}

/* ─── LEGAL DOCUMENT ITEMS ───────────────────────────────────── */
.legal-accordion {
  border: 1px solid var(--ink-60);
}
.legal-accordion__item {
  border-bottom: 1px solid var(--ink-60);
}
.legal-accordion__item:last-child { border-bottom: none; }
.legal-accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
  transition: background 0.25s ease;
}
.legal-accordion__trigger:hover { background: var(--ink-80); }
.legal-accordion__trigger.open { background: var(--ink-80); }
.legal-accordion__icon {
  font-size: 1.35rem;
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.legal-accordion__trigger.open .legal-accordion__icon { transform: rotate(45deg); }
.legal-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.legal-accordion__body.open { max-height: 600px; }
.legal-accordion__inner {
  padding: 0 2.5rem 2.5rem 2.5rem;
  border-top: 1px solid var(--ink-60);
}

/* ─── GALLERY GRID ───────────────────────────────────────────── */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}
.gm-1 { grid-column: 1 / 6; grid-row: 1 / 3; }
.gm-2 { grid-column: 6 / 9; grid-row: 1 / 2; }
.gm-3 { grid-column: 9 / 13; grid-row: 1 / 2; }
.gm-4 { grid-column: 6 / 9; grid-row: 2 / 3; }
.gm-5 { grid-column: 9 / 13; grid-row: 2 / 3; }
.gm-6 { grid-column: 1 / 5; grid-row: 3 / 4; }
.gm-7 { grid-column: 5 / 9; grid-row: 3 / 4; }
.gm-8 { grid-column: 9 / 13; grid-row: 3 / 4; }

.gallery-masonry .gm-item {
  overflow: hidden;
  position: relative;
  min-height: 260px;
  background: var(--ink-80);
}
.gallery-masonry .gm-1 { min-height: 520px; }
.gallery-masonry .gm-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.2,0,0.1,1);
}
.gallery-masonry .gm-item:hover img { transform: scale(1.08); }
.gallery-masonry .gm-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,13,11,0.95) 0%, rgba(14,13,11,0.78) 35%, rgba(14,13,11,0.2) 65%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  opacity: 1;
  pointer-events: none;
  transition: background 0.4s ease;
}
.gallery-masonry .gm-item:hover .overlay {
  background: linear-gradient(to top, rgba(14,13,11,0.98) 0%, rgba(14,13,11,0.88) 45%, rgba(14,13,11,0.3) 75%, transparent 100%);
}
.gallery-masonry .gm-item .overlay span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  transition: transform 0.4s cubic-bezier(0.2,0,0.1,1);
}
.gallery-masonry .gm-item .overlay h4 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,0.95), 0 1px 3px rgba(0,0,0,1);
  transition: transform 0.4s cubic-bezier(0.2,0,0.1,1), color 0.3s ease;
}
.gallery-masonry .gm-item:hover .overlay span,
.gallery-masonry .gm-item:hover .overlay h4 {
  transform: translateY(-3px);
}
.gallery-masonry .gm-item:hover .overlay h4 {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0,0,0,1), 0 0 18px rgba(197,160,77,0.35);
}

/* ─── TESTIMONIAL ────────────────────────────────────────────── */
.testimonial-block {
  border-left: 3px solid var(--gold);
  padding: 2rem 2.5rem;
  background: var(--ink-80);
}
.testimonial-block__quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--parchment-70);
  margin-bottom: 1.5rem;
}
.testimonial-block__author strong {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  color: var(--white);
}
.testimonial-block__author span {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* ─── CONTACT ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  border: 1px solid var(--ink-60);
}
.contact-info {
  background: var(--ink-80);
  padding: 4rem;
  border-right: 1px solid var(--ink-60);
}
.contact-form-wrap { padding: 4rem; }
.form-group { margin-bottom: 1.75rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-10);
  margin-bottom: 0.6rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--ink-60);
  color: var(--parchment);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.9rem 1.25rem;
  outline: none;
  transition: border-color 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--ink-60);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding: 6rem 0 5rem;
}
.footer-brand__desc {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-10);
  max-width: 300px;
  line-height: 1.8;
}
.footer-nav__title {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-nav__list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav__list a {
  font-size: 0.88rem;
  color: var(--ink-10);
  transition: color 0.2s ease;
}
.footer-nav__list a:hover { color: var(--parchment); }
.footer-bottom {
  border-top: 1px solid var(--ink-60);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: var(--ink-10); }
.footer-bottom a { color: var(--gold); }

/* ─── FLOATING WA BUTTON ─────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--wa-green);
  color: #fff;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.3s ease;
}
.wa-float:hover {
  background: #1ebe5d;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37,211,102,0.5);
}
.wa-float svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
@media (max-width: 600px) {
  .wa-float span { display: none; }
  .wa-float { padding: 0.9rem; border-radius: 0; }
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.2, 0, 0.1, 1), transform 0.75s cubic-bezier(0.2, 0, 0.1, 1);
}
.reveal.revealed { 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; }

/* ─── UTILITIES ──────────────────────────────────────────────── */
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.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; }
.mb-3 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.bg-ink { background: var(--ink); }
.bg-ink-80 { background: var(--ink-80); }
.border-top-ink { border-top: 1px solid var(--ink-60); }

/* ─── RESPONSIVE UTILITIES & LAYOUT CLUSTERS ─────────────────── */
.hero-stat-strip {
  margin-top: 6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 3rem;
  max-width: 820px;
}
.hero-stat-strip__item {
  padding: 0 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-strip__item:first-child { padding-left: 0; }
.hero-stat-strip__item:last-child { padding-right: 0; border-right: none; }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.floating-vision-card {
  position: absolute;
  bottom: -2rem;
  left: -2.5rem;
  background: var(--ink);
  border: 1px solid var(--ink-60);
  padding: 1.75rem 2rem;
  max-width: 240px;
}

.section-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.cta-strip-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

/* ─── RESPONSIVE BREAKPOINTS ─────────────────────────────────── */
@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--ink-60); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .service-row { grid-template-columns: 1fr; min-height: auto; }
  .service-row--reverse { direction: ltr; }
  .service-row__photo { height: 380px; }
  .service-row__body { padding: 3rem 2.5rem; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--ink-60); padding: 3rem 2.5rem; }
  .contact-form-wrap { padding: 3rem 2.5rem; }
  .gallery-masonry { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gm-1, .gm-2, .gm-3, .gm-4, .gm-5, .gm-6, .gm-7, .gm-8 {
    grid-column: span 1; grid-row: span 1; min-height: 220px;
  }
  .gallery-masonry .gm-1 { min-height: 220px; }

  /* Stack 2-column sections & splits cleanly on tablet/phone */
  .about-split,
  .section-header-split,
  .cta-strip-split {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .floating-vision-card {
    position: relative;
    left: 0 !important;
    bottom: 0 !important;
    margin-top: -3rem;
    margin-left: 1rem;
    margin-right: 1rem;
    max-width: none !important;
    width: calc(100% - 2rem) !important;
    z-index: 2;
    box-sizing: border-box;
  }

  /* Intercept all hardcoded inline grids so they don't break HP layout */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr auto"],
  [style*="grid-template-columns: 1fr auto"],
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns:1fr 1.5fr"],
  [style*="grid-template-columns: 1fr 1.5fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  :root { --section-gap: 4rem; --inner-gap: 2rem; }
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .container { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .container--narrow { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  #site-nav { padding: 1rem 0 !important; }
  #site-nav.is-scrolled { padding: 0.75rem 0 !important; }
  .hero-header { padding-top: 6.5rem !important; padding-bottom: 3rem !important; }
  .page-hero { padding-top: 7rem !important; padding-bottom: 3.5rem !important; }
  .nav-links { display: none; }
  .nav-cta .btn--ghost { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(3) { border-right: none; }

  /* Buttons on HP */
  .btn, .btn--wa, .btn--primary, .btn--ghost {
    white-space: normal !important;
    word-wrap: break-word !important;
    height: auto !important;
    line-height: 1.35 !important;
    padding: 0.85rem 1.1rem !important;
    font-size: clamp(0.76rem, 3.2vw, 0.9rem) !important;
  }

  /* Hero adjustments for HP */
  .t-hero, .t-h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem) !important;
    word-wrap: break-word;
  }
  .t-h2 {
    font-size: clamp(1.65rem, 6vw, 2.25rem) !important;
  }

  /* Hero stat strip on HP */
  .hero-stat-strip {
    margin-top: 3.5rem !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    padding-top: 2rem !important;
  }
  .hero-stat-strip__item {
    padding: 1rem !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  /* Force 4-column inline grids to 2 columns on tablet/HP */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  /* Prevent floating/negative positioned elements from overflowing horizontally */
  [style*="left:-2.5rem"], [style*="left: -2.5rem"],
  [style*="right:-2.5rem"], [style*="right: -2.5rem"] {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin-top: -2.5rem !important;
    max-width: 100% !important;
    width: calc(100% - 2rem) !important;
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    box-sizing: border-box !important;
  }

  .cta-strip-split .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
  .hero-stat-strip { grid-template-columns: repeat(2, 1fr) !important; gap: 1.25rem !important; }
  .service-row__photo { height: 280px; }
  .service-row__body { padding: 2rem 1.5rem; }
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  .gallery-masonry { grid-template-columns: 1fr; }
  #site-nav { padding: 0.85rem 0 !important; }
  .hero-header { padding-top: 6.25rem !important; padding-bottom: 2.5rem !important; }
  .page-hero { padding-top: 6.25rem !important; padding-bottom: 3rem !important; }
}
