/* ==========================================================================
   Connected Contractors — design tokens & base
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand colors — sampled directly from the CC logo */
  --lime: #d3ee01;
  --lime-dark: #b3c900;
  --black: #0a0a0a;
  --black-2: #141414;
  --black-3: #1c1c1c;
  --grey: #bcbdbf;
  --grey-dark: #7a7a7c;
  --white: #f6f6f4;

  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1240px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);

  --radius: 2px;
  --cut: 14px; /* stencil corner-cut size */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1em; color: var(--grey); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

section { padding: clamp(3.5rem, 8vw, 7rem) 0; }

/* Focus visibility — never remove */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ==========================================================================
   Signature motif: cut-corner "stencil" shape, echoing the logo's angled
   CONTRACTORS bar. Used on cards, buttons, images, form fields.
   ========================================================================== */

.cut,
.btn,
.card,
.frame,
input, select, textarea {
  clip-path: polygon(
    var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)
  );
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.95em 1.8em;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--lime);
  color: var(--black);
}
.btn-primary:hover { background: var(--white); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--grey-dark);
}
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--lime); color: var(--lime); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2vw, 2.2rem);
}

.nav-links a {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 0.4em 0;
}

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

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

.nav-links a[aria-current="page"] { color: var(--lime); }

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

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
}
.phone-link svg { width: 18px; height: 18px; fill: var(--lime); flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-links, .header-cta .phone-link, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    height: calc(100dvh - 84px);
    background: var(--black);
    padding: 2rem clamp(1.25rem, 4vw, 3rem);
    gap: 1.6rem;
    overflow-y: auto;
    z-index: 99;
  }
  body.nav-open .nav-links a { font-size: 1.3rem; }
  body.nav-open .header-cta { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 55%, var(--black) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.35) 60%);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--lime);
  margin-bottom: 1.2em;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--lime);
  display: inline-block;
}

.hero h1 { color: var(--white); }
.hero h1 span { color: var(--lime); }

.hero .lead {
  font-size: 1.15rem;
  color: var(--grey);
  max-width: 56ch;
  margin-bottom: 2em;
}

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

/* Small page hero (subpages) */
.page-hero {
  position: relative;
  padding: clamp(6.5rem, 14vw, 10rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, var(--black) 92%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero p.lead { max-width: 62ch; font-size: 1.08rem; }

/* Diagonal stripe motif — echoes the roof icon */
.stripe-accent {
  position: absolute;
  top: 0; right: -5%;
  width: 45%; height: 100%;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -42deg,
    var(--lime) 0, var(--lime) 3px,
    transparent 3px, transparent 46px
  );
  -webkit-mask-image: linear-gradient(90deg, transparent, black 60%);
          mask-image: linear-gradient(90deg, transparent, black 60%);
}

/* ==========================================================================
   Sections & cards
   ========================================================================== */

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow-sm {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--lime);
  margin-bottom: 0.8em;
}

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

@media (max-width: 980px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.07);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(211,238,1,0.35); }

.card .icon-badge {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--lime);
  margin-bottom: 1.2em;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.card .icon-badge svg { width: 26px; height: 26px; fill: var(--black); }

.card h3 { color: var(--white); }
.card ul { margin: 0.8em 0 0; padding: 0; list-style: none; }
.card ul li {
  color: var(--grey);
  padding: 0.35em 0 0.35em 1.3em;
  position: relative;
  font-size: 0.95rem;
}
.card ul li::before {
  content: '';
  position: absolute; left: 0; top: 0.85em;
  width: 7px; height: 2px;
  background: var(--lime);
}

/* Service split (home) */
.service-split {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.service-split img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2;
  transition: transform 0.6s var(--ease);
}
.service-split:hover img { transform: scale(1.06); }
.service-split::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.95) 85%);
}
.service-split .split-body { padding: clamp(1.8rem, 3vw, 2.8rem); width: 100%; }
.service-split .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--black);
  background: var(--lime);
  padding: 0.3em 0.9em;
  margin-bottom: 0.9em;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.service-split h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--white); margin-bottom: 0.4em; }
.service-split p { max-width: 46ch; }
.service-split .btn-outline { margin-top: 0.6em; }

/* Stats row */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.stats .stat { text-align: center; }
.stats .stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--lime);
}
.stats .stat span { font-size: 0.9rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; }

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

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--black-2);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

.gallery-filters {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.filter-btn {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  background: transparent;
  color: var(--grey);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.6em 1.3em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.filter-btn:hover { color: var(--white); border-color: var(--lime); }
.filter-btn.active { background: var(--lime); color: var(--black); border-color: var(--lime); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5,5,5,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: var(--white); cursor: pointer;
}
.lightbox-close svg { width: 32px; height: 32px; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--white); cursor: pointer;
  padding: 1rem;
}
.lightbox-nav svg { width: 36px; height: 36px; stroke: var(--white); fill: none; }
.lightbox-nav:hover svg { stroke: var(--lime); }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

/* Testimonial */
.testimonial-card {
  background: var(--black-2);
  border-left: 3px solid var(--lime);
  padding: clamp(1.8rem, 3vw, 2.6rem);
}
.testimonial-card p.quote {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--white);
  text-transform: none;
  font-weight: 500;
}
.testimonial-card .author { color: var(--lime); font-size: 0.9rem; letter-spacing: 0.04em; }

/* Reputation panel (reviews-coming-soon) */
.reputation-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--gap);
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--lime);
  padding: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 800px) { .reputation-panel { grid-template-columns: 1fr; } }

.reputation-panel h2 { color: var(--white); margin-bottom: 0.5em; }
.reputation-panel p { max-width: 52ch; }
.reputation-panel .hero-ctas { margin-top: 1.3em; justify-content: flex-start; }
@media (max-width: 800px) { .reputation-panel .hero-ctas { justify-content: center; } }

.reputation-stats { display: grid; gap: 1rem; }
.reputation-stats .rep-stat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
}
.reputation-stats .rep-stat svg { width: 22px; height: 22px; fill: var(--lime); flex-shrink: 0; }
.reputation-stats .rep-stat span { font-size: 0.92rem; color: var(--grey); }
.reputation-stats .rep-stat strong { color: var(--white); font-family: var(--font-head); text-transform: uppercase; font-size: 0.88rem; letter-spacing: 0.02em; }

/* CTA band */
.cta-band {
  position: relative;
  text-align: center;
  background: var(--black-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.cta-band h2 { color: var(--white); }
.cta-band .hero-ctas { justify-content: center; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: step;
}
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

.process-step { position: relative; padding-top: 1rem; }
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lime);
  display: block;
  margin-bottom: 0.3em;
}
.process-step h3 { color: var(--white); font-size: 1.15rem; }
.process-step p { font-size: 0.95rem; }

/* Trust badges */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: var(--grey);
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.6em 1.1em;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.trust-badge svg { width: 18px; height: 18px; fill: var(--lime); flex-shrink: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

label {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--grey);
  margin-bottom: 0.5em;
}

input, select, textarea {
  width: 100%;
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85em 1em;
  transition: border-color 0.25s var(--ease);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--lime);
}
textarea { resize: vertical; min-height: 130px; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23d3ee01'%3E%3Cpath d='M5 7l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
}

.form-note { font-size: 0.85rem; color: var(--grey-dark); margin-top: 0.8em; }

.contact-methods { display: grid; gap: 1rem; }
.contact-method {
  display: flex; align-items: center; gap: 1rem;
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 1.4rem;
}
.contact-method .icon-badge { margin: 0; flex-shrink: 0; }
.contact-method strong { display: block; color: var(--white); font-family: var(--font-head); text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.03em; }
.contact-method span { color: var(--grey); font-size: 0.9rem; }

/* ==========================================================================
   Sticky mobile CTA bar
   ========================================================================== */

.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  gap: 0.6rem;
  padding: 0.7rem;
  background: var(--black-2);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-cta-bar .btn { flex: 1; font-size: 0.85rem; padding: 0.9em 0.5em; }
@media (max-width: 900px) { .mobile-cta-bar { display: flex; } body { padding-bottom: 68px; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--black-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--gap);
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid img { width: 138px; height: 40px; object-fit: contain; object-position: left center; margin-bottom: 1rem; }
.footer-grid p { font-size: 0.92rem; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.1em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 0.7em; }
.footer-col a { color: var(--grey); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--lime); }

.footer-accreditation {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  margin-top: 1.2rem;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.footer-accreditation img { height: 34px; width: auto; }
.footer-accreditation span {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--black);
  line-height: 1.3;
  max-width: 11ch;
}

.footer-social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.footer-social a:hover { border-color: var(--lime); color: var(--lime); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social img { width: 22px; height: 22px; object-fit: contain; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.6rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--grey-dark);
}

.footer-bottom {
  margin-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--grey-dark);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Misc utility
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.bg-alt { background: var(--black-2); }
.two-col-text { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
@media (max-width: 900px) { .two-col-text { grid-template-columns: 1fr; } }
.two-col-text img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.badge-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

/* ==========================================================================
   Case study (Reform & Revive)
   ========================================================================== */

.project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
}
.project-meta .meta-item {
  border-left: 2px solid var(--lime);
  padding-left: 1rem;
}
.project-meta .meta-item span {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--grey-dark);
  margin-bottom: 0.4em;
}
.project-meta .meta-item strong {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.05rem;
  text-transform: uppercase;
}
@media (max-width: 700px) { .project-meta { grid-template-columns: repeat(2, 1fr); } }

.stage-block { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.stage-block:last-child { margin-bottom: 0; }
.stage-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 1.2em;
}
.stage-label::before { content: ''; width: 24px; height: 2px; background: var(--lime); }

.video-frame {
  position: relative;
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  background: var(--black-2);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
