/* ==========================================================================
   PT RIZMAD KARYA PERSADA — style.css
   Modern Corporate Construction / Premium Architecture & Interior
   Vanilla CSS, no build step. Organized in sections:
   1. Tokens  2. Reset  3. Base Type  4. Layout  5. Buttons
   6. Header/Nav  7. Hero  8. Sections & Cards  9. Forms
   10. Footer  11. Utilities  12. Animations  13. Responsive
   ========================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root{
  /* Brand core — derived from the RKP logo mark (navy/gold monogram on a
     charcoal & mustard identity) */
  --ink:        #0b0b0c;
  --ink-2:      #141416;
  --charcoal:   #17181b;
  --charcoal-2: #202226;
  --gold:       #e6b64b;
  --gold-deep:  #b6842e;
  --gold-soft:  #f4dfa0;
  --navy:       #1c3564;
  --navy-deep:  #10213e;
  --paper:      #f7f5f0;
  --paper-2:    #efece4;
  --white:      #ffffff;
  --ash:        #726f68;      /* secondary text on light surfaces   */
  --ash-light:  #b7b4ac;      /* secondary text on dark surfaces    */
  --line-dark:  rgba(255,255,255,.11);
  --line-light: rgba(11,11,12,.12);
  --success:    #2f8f5b;
  --danger:     #c2483a;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-badge: 999px 999px 22px 22px; /* echoes the logo's pill badge */

  --shadow-sm: 0 6px 18px -8px rgba(11,11,12,.25);
  --shadow-md: 0 18px 45px -18px rgba(11,11,12,.38);
  --shadow-lg: 0 30px 80px -24px rgba(11,11,12,.48);

  --ff-display: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ff-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --container-narrow: 860px;
  --nav-h: 84px;
  --nav-h-scrolled: 68px;

  --ease: cubic-bezier(.4,0,.2,1);
  --speed-fast: .18s;
  --speed: .32s;
  --speed-slow: .6s;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}
img{ max-width: 100%; display: block; height: auto; }
svg{ display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font: inherit; cursor: pointer; }
input, textarea, select{ font: inherit; }
h1,h2,h3,h4,h5,p,figure{ margin: 0; }

/* Focus visibility — accessibility requirement */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. BASE TYPE ---------- */
h1,h2,h3,h4{
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1{ font-size: clamp(2.4rem, 4.2vw, 3.9rem); }
h2{ font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3{ font-size: clamp(1.25rem, 1.6vw, 1.55rem); }
h4{ font-size: 1.05rem; }
p{ color: var(--ash); }
.on-dark p, .on-dark{ color: var(--ash-light); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4{ color: var(--white); }

.lead{ font-size: 1.1rem; line-height: 1.75; }
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .9rem;
}
.on-dark .eyebrow{ color: var(--gold); }
.eyebrow::before{
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- 4. LAYOUT ---------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow{
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: 24px;
}
.section{ padding: clamp(64px, 9vw, 120px) 0; }
.section-tight{ padding: clamp(40px, 5vw, 72px) 0; }
.section-head{
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head.center{ margin-inline: auto; text-align: center; }
.section-head.between{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}
.bg-ink{ background: var(--ink); }
.bg-charcoal{ background: var(--charcoal); }
.bg-paper{ background: var(--paper); }
.bg-paper-2{ background: var(--paper-2); }
.bg-white{ background: var(--white); }
.grid{ display: grid; gap: 28px; }
.grid > *{ min-width: 0; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-6{ grid-template-columns: repeat(6, 1fr); }
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split > *{ min-width: 0; }
.divider{
  height: 1px;
  background: var(--line-light);
  border: 0;
  margin: 0;
}
.on-dark .divider{ background: var(--line-dark); }

/* ---------- 5. BUTTONS ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  border: 1.5px solid transparent;
  transition: transform var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease), border-color var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease);
  white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; flex: none; }
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }
.btn-gold{
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover{ background: var(--gold-soft); border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.btn-outline{
  background: transparent;
  color: var(--ink);
  border-color: var(--line-light);
}
.btn-outline:hover{ border-color: var(--ink); }
.on-dark .btn-outline{ color: var(--white); border-color: rgba(255,255,255,.35); }
.on-dark .btn-outline:hover{ border-color: var(--white); }
.btn-ghost-dark{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost-dark:hover{ border-color: var(--gold); color: var(--gold); }
.btn-wa{
  background: #25D366;
  color: #08350f;
  border-color: #25D366;
}
.btn-wa:hover{ background: #37e277; border-color: #37e277; }
.btn-block{ width: 100%; }
.btn-sm{ padding: 10px 18px; font-size: .85rem; }
.btn-row{ display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 6. HEADER / NAV ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height var(--speed) var(--ease), background var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.is-not-home{
  height: var(--nav-h-scrolled);
  background: rgba(11,11,12,.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
  box-shadow: var(--shadow-sm);
}
.nav-inner{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark{
  width: 42px; height: 42px;
  border-radius: var(--radius-badge);
  background: var(--gold);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
  box-shadow: var(--shadow-sm);
}
.brand-mark img{ width: 100%; height: 100%; object-fit: cover; }
.brand-text{
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -.01em;
}
.brand-text small{
  display: block;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav-menu{
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-menu a{
  position: relative;
  padding: 10px 15px;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  border-radius: var(--radius-sm);
  transition: color var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease);
}
.nav-menu a:hover{ color: var(--white); background: rgba(255,255,255,.06); }
.nav-menu a.is-active{ color: var(--gold); }
.nav-menu a.is-active::after{
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-cta{ display: flex; align-items: center; gap: 10px; flex: none; }
.nav-cta .btn{ padding: 11px 20px; font-size: .85rem; }
.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line-dark);
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: relative;
  transition: transform var(--speed-fast) var(--ease), opacity var(--speed-fast) var(--ease);
}
.nav-toggle span::before{ position: absolute; top: -7px; }
.nav-toggle span::after{ position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ top: 0; transform: rotate(45deg); background: var(--gold); }
.nav-toggle[aria-expanded="true"] span::after{ top: 0; transform: rotate(-45deg); background: var(--gold); }

.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--ink);
  padding: calc(var(--nav-h-scrolled) + 24px) 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility 0s linear var(--speed);
  overflow-y: auto;
}
.mobile-menu.is-open{
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.mobile-menu a{
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu a.is-active{ color: var(--gold); }
.mobile-menu .btn-row{ margin-top: 24px; flex-direction: column; }

/* ---------- 7. HERO ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}
.hero-media{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,9,10,.55) 0%, rgba(9,9,10,.35) 32%, rgba(9,9,10,.88) 100%),
    linear-gradient(90deg, rgba(9,9,10,.75) 0%, rgba(9,9,10,.15) 55%);
}
.hero-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 24px clamp(64px, 9vw, 108px);
}
.hero-accent-line{
  width: 64px; height: 3px; background: var(--gold);
  margin-bottom: 22px;
}
.hero-inner h1{
  max-width: 760px;
  color: var(--white);
  margin-bottom: 22px;
}
.hero-inner .lead{
  max-width: 560px;
  color: rgba(255,255,255,.82);
  margin-bottom: 34px;
}
.hero-micro{
  margin-top: 30px;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-micro::before{ content:""; width: 34px; height: 1px; background: var(--gold-soft); }
.scroll-cue{
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.7);
}
.scroll-cue span{
  writing-mode: vertical-rl;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.scroll-cue .line{
  width: 1px; height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue{
  0%{ transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%{ transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%{ transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100%{ transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* signature diagonal seam between hero and next section, echoing the
   brand's own diagonal-cut identity on its printed collateral */
.hero-seam{
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 64px;
  z-index: 3;
  overflow: hidden;
}
.hero-seam svg{ width: 100%; height: 100%; display: block; }

/* Page header (non-home hero, shorter) */
.page-header{
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.page-header .hero-media{ background-position: center 55%; }
.page-header-inner{
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 40px) 24px 56px;
}
.breadcrumb{
  display: flex; gap: 8px; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.6);
  margin-top: 16px;
}
.breadcrumb a:hover{ color: var(--gold); }
.breadcrumb .sep{ opacity: .5; }
.breadcrumb .current{ color: var(--gold-soft); }

/* ---------- 8. SECTIONS & CARDS ---------- */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(230,182,75,.14);
  color: var(--gold-deep);
  border: 1px solid rgba(230,182,75,.35);
}
.on-dark .badge{ color: var(--gold); background: rgba(230,182,75,.12); }

.highlight-row{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.highlight-row > *{ min-width: 0; }
.highlight-item{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
}
.on-dark .highlight-item{ background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.highlight-item .ic{
  flex: none; width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--gold);
  display: grid; place-items: center;
  color: var(--ink);
}
.highlight-item .ic svg{ width: 18px; height: 18px; }
.highlight-item strong{ display: block; font-size: .92rem; color: var(--ink); }
.on-dark .highlight-item strong{ color: var(--white); }

.media-frame{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-frame img{ width: 100%; height: 100%; object-fit: cover; }
.media-frame::before{
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}
.media-tag{
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(11,11,12,.72);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.media-stat{
  position: absolute;
  right: -18px; bottom: -18px; z-index: 3;
  background: var(--gold);
  color: var(--ink);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-family: var(--ff-display);
}
.media-stat strong{ display: block; font-size: 1.1rem; }
.media-stat span{ font-size: .74rem; color: rgba(11,11,12,.7); }

/* Feature / value cards */
.card{
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ic{
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--gold);
  display: grid; place-items: center;
  margin-bottom: 18px;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.card .ic svg{ width: 24px; height: 24px; }
.card:hover .ic{ background: var(--gold); color: var(--ink); transform: rotate(-6deg); }
.card h3{ margin-bottom: 10px; font-size: 1.12rem; }
.card p{ font-size: .93rem; margin: 0; }

.on-dark .card{ background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.on-dark .card .ic{ background: var(--gold); color: var(--ink); }
.on-dark .card:hover .ic{ background: var(--white); }
.on-dark .card h3{ color: var(--white); }

/* Service cards */
.service-card{
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .ic{
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--paper-2);
  display: grid; place-items: center;
  color: var(--navy);
  margin-bottom: 16px;
}
.service-card .ic svg{ width: 22px; height: 22px; }
.service-card h3{ font-size: 1.05rem; margin-bottom: 8px; }
.service-card p{ font-size: .88rem; flex: 1; margin-bottom: 16px; }
.service-card .learn{
  font-size: .82rem; font-weight: 700; color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card .learn svg{ width: 14px; height: 14px; transition: transform var(--speed-fast) var(--ease); }
.service-card:hover .learn svg{ transform: translateX(4px); }

/* Bidang pekerjaan — numbered field list */
.field-list{ display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.field-list > *{ min-width: 0; }
.field-item{
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  transition: border-color var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease);
}
.field-item:hover{ border-color: var(--gold); background: rgba(230,182,75,.06); }
.field-item .num{
  flex: none;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: .82rem;
  color: var(--ink);
  background: var(--gold);
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
}
.field-item p{ margin: 0; color: var(--white); font-size: .92rem; font-weight: 600; }

/* Accordion (bidang pekerjaan alt / FAQ) */
.accordion-item{
  border-bottom: 1px solid var(--line-light);
}
.on-dark .accordion-item{ border-color: var(--line-dark); }
.accordion-trigger{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none; border: none; text-align: left;
  color: var(--ink);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
}
.on-dark .accordion-trigger{ color: var(--white); }
.accordion-trigger .plus{
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  background: var(--paper-2);
  display: grid; place-items: center;
  position: relative;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease);
}
.on-dark .accordion-trigger .plus{ background: rgba(255,255,255,.08); }
.accordion-trigger .plus::before, .accordion-trigger .plus::after{
  content:""; position: absolute; background: var(--ink);
}
.on-dark .accordion-trigger .plus::before, .on-dark .accordion-trigger .plus::after{ background: var(--white); }
.accordion-trigger .plus::before{ width: 12px; height: 2px; }
.accordion-trigger .plus::after{ width: 2px; height: 12px; transition: transform var(--speed) var(--ease); }
.accordion-trigger[aria-expanded="true"] .plus{ background: var(--gold); }
.accordion-trigger[aria-expanded="true"] .plus::after{ transform: scaleY(0); }
.accordion-panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--speed-slow) var(--ease);
}
.accordion-panel-inner{ padding: 0 4px 24px; max-width: 720px; }
.accordion-panel-inner p{ margin: 0; }

/* Portfolio */
.filter-bar{
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}
.filter-btn{
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: var(--white);
  font-size: .84rem;
  font-weight: 700;
  color: var(--ash);
  transition: all var(--speed-fast) var(--ease);
}
.filter-btn:hover{ border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active{ background: var(--ink); color: var(--gold); border-color: var(--ink); }

.portfolio-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.portfolio-card{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  aspect-ratio: 4 / 3.1;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
}
.portfolio-card img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--speed-slow) var(--ease);
}
.portfolio-card:hover img{ transform: scale(1.07); }
.portfolio-card .overlay{
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,9,10,.92) 0%, rgba(9,9,10,.15) 55%, rgba(9,9,10,0) 75%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  color: var(--white);
}
.portfolio-card .cat{
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 6px;
}
.portfolio-card h3{ color: var(--white); font-size: 1.02rem; margin: 0; }
.portfolio-card .loc{ font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 4px; }
.portfolio-card .zoom{
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  color: var(--white);
  opacity: 0; transform: translateY(-6px);
  transition: opacity var(--speed-fast) var(--ease), transform var(--speed-fast) var(--ease);
}
.portfolio-card:hover .zoom{ opacity: 1; transform: translateY(0); }
.portfolio-card .zoom svg{ width: 16px; height: 16px; }
.portfolio-card.is-hidden{ display: none; }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0; z-index: 900;
  background: rgba(6,6,7,.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.is-open{ display: flex; }
.lightbox-content{
  position: relative;
  width: 100%; max-width: 980px;
  color: var(--white);
}
.lightbox-stage{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--charcoal);
  aspect-ratio: 16/10;
  display: grid; place-items: center;
}
.lightbox-stage img{ width: 100%; height: 100%; object-fit: contain; background: #0c0c0d; }
.lightbox-meta{ padding: 18px 4px 0; display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.lightbox-meta h3{ color: var(--white); margin-bottom: 4px; }
.lightbox-meta p{ margin: 0; color: var(--ash-light); font-size: .88rem; }
.lightbox-close{
  position: absolute; top: -50px; right: 0;
  width: 42px; height: 42px; border-radius: 999px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  color: var(--white); border: 1px solid var(--line-dark);
}
.lightbox-close:hover{ background: var(--gold); color: var(--ink); }
.lightbox-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 999px;
  background: rgba(255,255,255,.12);
  display: grid; place-items: center;
  color: var(--white); border: 1px solid var(--line-dark);
}
.lightbox-nav:hover{ background: var(--gold); color: var(--ink); }
.lightbox-prev{ left: -60px; }
.lightbox-next{ right: -60px; }
.lightbox-count{ font-size: .8rem; color: var(--ash-light); }

/* Legal / document checklist */
.legal-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.legal-grid > *{ min-width: 0; }
.legal-card{
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
}
.legal-card .ic{
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(47,143,91,.1); color: var(--success);
  display: grid; place-items: center;
}
.legal-card .ic svg{ width: 20px; height: 20px; }
.legal-card strong{ display: block; font-size: .92rem; color: var(--ink); }
.legal-card span{ font-size: .76rem; color: var(--success); font-weight: 700; }

.legal-summary{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 40px;
}
.legal-stat{
  padding: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  min-width: 0;
}
.legal-stat span{ display:block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 8px; }
.legal-stat strong{ font-family: var(--ff-display); font-size: 1.15rem; color: var(--white); font-weight: 800; display: block; line-height: 1.35; overflow-wrap: anywhere; }

/* Partners */
.partner-strip{
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  align-items: center;
}
.partner-strip > *{ min-width: 0; }
.partner-logo{
  display: grid; place-items: center;
  padding: 22px 16px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  height: 96px;
  filter: grayscale(1) opacity(.75);
  transition: filter var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.partner-logo:hover{ filter: grayscale(0) opacity(1); transform: translateY(-3px); }
.partner-logo img{ max-height: 42px; width: auto; }
.partner-badge{
  font-family: var(--ff-display); font-weight: 800; font-size: .92rem;
  color: var(--ink); text-align: center; line-height: 1.25;
}

/* Inspiration / stock-labeled placeholders */
.insp-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.insp-item{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1/1;
}
.insp-item:nth-child(3n+1){ aspect-ratio: 1/1.25; }
.insp-placeholder{
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 18px;
  color: rgba(255,255,255,.82);
}
.insp-placeholder svg{ width: 30px; height: 30px; opacity: .85; }
.insp-placeholder span{ font-size: .74rem; font-weight: 600; line-height: 1.4; }
.insp-tag{
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(11,11,12,.55);
  color: var(--white);
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* CTA band */
.cta-band{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(48px, 7vw, 84px);
  color: var(--white);
  text-align: center;
}
.cta-band .hero-media::after{
  background: linear-gradient(180deg, rgba(9,9,10,.82), rgba(9,9,10,.9));
}
.cta-band-content{ position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.cta-band h2{ color: var(--white); margin-bottom: 16px; }
.cta-band p{ margin-bottom: 30px; }
.cta-band .btn-row{ justify-content: center; }

/* ---------- 9. FORMS ---------- */
.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field{ display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size: .84rem; font-weight: 700; color: var(--ink); }
.on-dark .field label{ color: var(--white); }
.field .req{ color: var(--danger); }
.field input, .field select, .field textarea{
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-light);
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease);
}
.on-dark .field input, .on-dark .field select, .on-dark .field textarea{
  background: rgba(255,255,255,.04); border-color: var(--line-dark); color: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(230,182,75,.16);
  outline: none;
}
.field textarea{ resize: vertical; min-height: 120px; }
.field-error{ font-size: .78rem; color: var(--danger); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color: var(--danger); }
.field.has-error .field-error{ display: block; }
.checkbox-row{ display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input{ margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.checkbox-row label{ font-size: .86rem; color: var(--ash-light); font-weight: 500; }
.form-note{ font-size: .78rem; color: var(--ash); margin-top: 14px; }
.on-dark .form-note{ color: var(--ash-light); }

/* Toast */
.toast{
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translate(-50%, 30px);
  z-index: 950;
  background: var(--ink);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility 0s linear var(--speed);
  max-width: 90vw;
}
.toast.is-open{ opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ic{ width: 22px; height: 22px; flex: none; color: var(--success); }

/* ---------- 10. FOOTER ---------- */
.site-footer{ background: var(--ink); color: var(--ash-light); padding-top: 72px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-grid > *{ min-width: 0; }
.footer-brand .brand{ margin-bottom: 16px; }
.footer-brand p{ font-size: .9rem; max-width: 320px; color: var(--ash-light); }
.footer-social{ display: flex; gap: 10px; margin-top: 20px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  transition: background var(--speed-fast) var(--ease), border-color var(--speed-fast) var(--ease);
}
.footer-social a:hover{ background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer-social svg{ width: 16px; height: 16px; }
.footer-col h4{ color: var(--white); font-size: .86rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: .9rem; color: var(--ash-light); transition: color var(--speed-fast) var(--ease); }
.footer-col a:hover{ color: var(--gold); }
.footer-contact li{ display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.footer-contact svg{ width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--gold); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0 32px;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links{ display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a:hover{ color: var(--gold); }

/* Floating actions */
.floating-actions{
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 400;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-end;
}
.fab{
  width: 56px; height: 56px; border-radius: 999px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--speed-fast) var(--ease);
}
.fab:hover{ transform: translateY(-3px) scale(1.03); }
.fab-wa{ background: #25D366; color: #08350f; }
.fab-wa svg{ width: 27px; height: 27px; }
.fab-top{
  width: 44px; height: 44px;
  background: var(--ink); color: var(--gold);
  border: 1px solid var(--line-dark);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility 0s linear var(--speed);
}
.fab-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top svg{ width: 18px; height: 18px; }

/* ---------- 11. UTILITIES ---------- */
.text-center{ text-align: center; }
.mt-0{ margin-top: 0; }
.skip-link{
  position: absolute; left: 12px; top: -60px;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; border-radius: 8px;
  font-weight: 700; z-index: 1000;
  transition: top var(--speed-fast) var(--ease);
}
.skip-link:focus{ top: 12px; }
.chip-row{ display: flex; flex-wrap: wrap; gap: 10px; }
.chip{
  padding: 8px 16px; border-radius: 999px;
  background: var(--paper-2); font-size: .82rem; font-weight: 600; color: var(--ink);
}
.on-dark .chip{ background: rgba(255,255,255,.06); color: var(--white); }
.skeleton{ background: linear-gradient(90deg, var(--paper-2) 25%, #e4e1d8 37%, var(--paper-2) 63%); background-size: 400% 100%; animation: shimmer 1.6s infinite; }
@keyframes shimmer{ 0%{ background-position: 100% 0; } 100%{ background-position: 0 0; } }

/* ---------- 12. SCROLL REVEAL ---------- */
.reveal{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--speed-slow) var(--ease), transform var(--speed-slow) var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *{ transition-delay: calc(var(--i, 0) * 70ms); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ---------- 13. RESPONSIVE ---------- */
@media (max-width: 1080px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-6{ grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid{ grid-template-columns: repeat(2, 1fr); }
  .legal-grid{ grid-template-columns: repeat(2, 1fr); }
  .legal-summary{ grid-template-columns: repeat(2, 1fr); }
  .insp-grid{ grid-template-columns: repeat(3, 1fr); }
  .partner-strip{ grid-template-columns: repeat(3, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px){
  .nav-menu, .nav-cta{ display: none; }
  .nav-toggle{ display: flex; }
  .split{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .form-grid{ grid-template-columns: 1fr; }
  .highlight-row{ grid-template-columns: 1fr; }
  .field-list{ grid-template-columns: 1fr; }
  .lightbox-prev{ left: 8px; }
  .lightbox-next{ right: 8px; }
  .lightbox-nav{ width: 40px; height: 40px; }
}
@media (max-width: 720px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .portfolio-grid{ grid-template-columns: 1fr; }
  .insp-grid{ grid-template-columns: repeat(2, 1fr); }
  .partner-strip{ grid-template-columns: repeat(2, 1fr); }
  .legal-grid{ grid-template-columns: 1fr; }
  .legal-summary{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
  .section-head.between{ flex-direction: column; align-items: flex-start; }
  .media-stat{ right: 12px; bottom: -14px; padding: 12px 16px; }
  .hero-inner{ padding-bottom: 88px; }
  .scroll-cue{ display: none; }
}
@media (max-width: 480px){
  .container, .container-narrow{ padding-inline: 18px; }
  h1{ font-size: 2.1rem; }
  .btn{ padding: 14px 22px; font-size: .88rem; }
  .floating-actions{ right: 14px; bottom: 14px; }
  .fab-wa{ width: 52px; height: 52px; }
}
