/*
Theme Name: Horizn Works
Theme URI: https://horiznworks.com
Author: Horizn Works
Description: Original creative rebuild of Horizn Works
Version: 2.0
*/

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #E8E8E5;
  color: #0c0c0c;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* =====================
   CUSTOM CURSOR
   ===================== */
.cursor {
  width: 12px; height: 12px;
  background: #559990;
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.2s;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,0,0,0.25);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.35s cubic-bezier(.17,.67,.3,1.2);
}
body:hover .cursor { opacity: 1; }

/* =====================
   HEADER
   ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  mix-blend-mode: normal;
  background: transparent;
  transition: background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.75);
}

.logo-wrap {
  display: flex;
  align-items: center;
}
.site-logo-img {
  height: 44px;
  width: auto;
  display: block;
  /* white logo — visible on dark bg */
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* Flip to dark when menu (white bg) is open */
.site-header.menu-open .site-logo-img {
  filter: brightness(0);
}

/* ---- Hamburger button ---- */
.hamburger {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: none;
  position: relative;
  z-index: 600;
  padding: 8px 0;
}
.hamburger-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.02em;
  transition: opacity 0.25s;
}
.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 32px;
}
.hamburger-line {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(.23,1,.32,1);
}
.hamburger-line:nth-child(1) { width: 32px; }
.hamburger-line:nth-child(2) { width: 22px; }
.hamburger:hover .hamburger-line:nth-child(2) { width: 32px; }
/* Hide hamburger text+lines when panel is open (X button replaces it) */
.hamburger.is-open { pointer-events: none; opacity: 0; }

/* =====================
   MENU PANEL — right-side dropdown
   ===================== */
.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  background: #fff;
  z-index: 550;
  border-radius: 0 0 0 20px;
  box-shadow: -8px 8px 40px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  /* Hidden state */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 0.35s cubic-bezier(.23,1,.32,1),
    transform 0.35s cubic-bezier(.23,1,.32,1),
    visibility 0s 0.35s;
}
.menu-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.35s cubic-bezier(.23,1,.32,1),
    transform 0.35s cubic-bezier(.23,1,.32,1),
    visibility 0s 0s;
}

/* ---- Close button ---- */
.menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.menu-close svg {
  width: 26px;
  height: 26px;
  color: #0c0c0c;
  transition: opacity 0.2s;
}
.menu-close:hover svg { opacity: 0.5; }

/* ---- Nav items ---- */
.menu-nav {
  display: flex;
  flex-direction: column;
  padding: 72px 40px 40px;
}
.menu-nav-item {
  display: block;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #1a1a1a;
  padding: 14px 0;
  transition: color 0.2s, padding-left 0.25s;
  /* Stagger animation */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s, transform 0.35s, color 0.2s, padding-left 0.25s;
}
.menu-panel.is-open .menu-nav-item:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0.08s; }
.menu-panel.is-open .menu-nav-item:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.13s; }
.menu-panel.is-open .menu-nav-item:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.18s; }
.menu-panel.is-open .menu-nav-item:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.23s; }
.menu-panel.is-open .menu-nav-item:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.28s; }
.menu-nav-item:hover { color: #559990; padding-left: 8px; }

/* ---- Panel footer ---- */
.menu-panel-footer {
  margin-top: auto;
}
.menu-panel-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(0,0,0,0.025);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.menu-panel-footer-left {
  display: flex;
  gap: 24px;
}
.menu-panel-footer-left a {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  transition: color 0.2s;
}
.menu-panel-footer-left a:hover { color: #559990; }
.menu-panel-talk {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.menu-panel-talk img { transition: transform 0.2s; }
.menu-panel-talk:hover { color: #559990; }
.menu-panel-talk:hover img { transform: translate(2px, -2px); }

.menu-panel-footer-bottom {
  display: flex;
  gap: 28px;
  padding: 16px 40px;
  background: rgba(0,0,0,0.04);
  border-radius: 0 0 0 20px;
}
.menu-panel-footer-bottom a {
  font-size: 13px;
  font-weight: 400;
  color: #999;
  transition: color 0.2s;
}
.menu-panel-footer-bottom a:hover { color: #1a1a1a; }

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: #080808;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

/* ShaderGradient mount — full hero coverage */
.hero-shader-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Film-grain noise overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.048;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px 160px;
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 60px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #559990;
  margin-bottom: 24px;
  display: none;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: #559990;
}

.hero-heading {
  font-size: clamp(52px, 7.5vw, 116px);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 1000px;
}

.hero-heading em {
  font-style: normal;
  color: #559990;
}

.hero-foot {
  position: relative;
  z-index: 2;
  padding: 24px 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  line-height: 1.6;
}

.hero-scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.5);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-reel-btn {
  display: none;
  align-items: center;
  gap: 14px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 12px 24px 12px 12px;
  cursor: none;
  transition: border-color 0.2s, background 0.2s;
}
.hero-reel-btn:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}
.reel-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reel-icon svg { width: 12px; fill: #fff; margin-left: 2px; }
.reel-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
}

/* =====================
   MARQUEE TICKER
   ===================== */
.marquee-strip {
  background: #559990;
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  display: none;
}
.marquee-inner {
  display: inline-flex;
  gap: 0;
  animation: marquee 22s linear infinite;
}
.marquee-item {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0c0c0c;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.marquee-item::after {
  content: '✦';
  font-size: 10px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================
   WORK — EDITORIAL GRID
   ===================== */
.work-section {
  background: #E8E8E5;
  padding: 100px 48px 80px;
  display: none;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 60px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
}

.section-count {
  font-size: 11px;
  font-weight: 500;
  color: #bbb;
  letter-spacing: 0.04em;
}

/* Staggered grid: 1 large left + 2 stacked right */
.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #1a1a1a;
  cursor: none;
}

.work-item:first-child {
  grid-row: span 2;
  min-height: 640px;
}

.work-item:not(:first-child) {
  min-height: 310px;
}

.work-item-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(.23,1,.32,1);
}
.work-item:hover .work-item-bg {
  transform: scale(1.04);
}

.work-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 55%);
}

.work-item-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 32px;
  z-index: 2;
}

.work-item-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.work-item-title {
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.work-item:not(:first-child) .work-item-title {
  font-size: clamp(18px, 2vw, 28px);
}

.work-item-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.work-item-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.work-item-tag span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 100px;
}

.work-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0c0c0c;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity 0.2s;
}
.work-view-all:hover { opacity: 0.5; }
.work-view-all svg { width: 16px; }

/* =====================
   PHILOSOPHY — DARK
   ===================== */
.philosophy {
  background: #0c0c0c;
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.philosophy-left {}

.philosophy-num {
  font-size: 200px;
  font-weight: 300;
  color: rgba(255,255,255,0.04);
  line-height: 0.85;
  letter-spacing: -0.06em;
  margin-bottom: -20px;
  margin-left: -8px;
  user-select: none;
}

.philosophy-heading {
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 560px;
}

.philosophy-heading strong {
  font-weight: 300;
  color: #559990;
}

.philosophy-right {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.philosophy-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
}

.philosophy-body em {
  font-style: normal;
  color: rgba(255,255,255,0.85);
}

.philosophy-link {
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #559990;
  transition: gap 0.2s;
}
.philosophy-link:hover { gap: 20px; }
.philosophy-link svg { width: 18px; fill: currentColor; }

/* Horizontal divider with label */
.divider-row {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
}
.divider-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
}
.divider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.divider-tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 14px;
  border-radius: 100px;
}

/* =====================
   SERVICES — LIST
   ===================== */
.services {
  background: #E8E8E5;
  padding: 100px 48px;
}

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.services-heading {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0c0c0c;
}

.services-body {
  font-size: 15px;
  line-height: 1.7;
  color: #777;
  max-width: 360px;
  text-align: right;
  margin-left: auto;
}

.services-list {}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  transition: background 0.2s;
  cursor: none;
}

.service-row:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.service-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #bbb;
}

.service-name {
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: #0c0c0c;
  line-height: 1;
}

.service-desc {
  font-size: 12px;
  color: #999;
  max-width: 200px;
  text-align: right;
  line-height: 1.5;
}

.service-row:hover .service-name { color: #559990; }

/* =====================
   STATS — BOLD
   ===================== */
.stats-section {
  background: #0c0c0c;
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

.stats-orb-bg {
  position: absolute;
  left: -20%;
  bottom: -30%;
  width: 60%;
  height: 160%;
  background-image: url('https://horiznworks.com/wp-content/uploads/2023/11/GettyImages-1487864067-edit.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(2px);
}

.stats-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.stats-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}

.stat-cell {
  padding: 0 60px 0 0;
  border-right: 1px solid rgba(255,255,255,0.07);
  margin-right: 60px;
}
.stat-cell:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.stat-value {
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  max-width: 180px;
}

.stats-note {
  margin-top: 80px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.3);
  max-width: 480px;
  position: relative;
  z-index: 2;
  padding-left: 40px;
  border-left: 2px solid rgba(255,255,255,0.08);
}

/* =====================
   TESTIMONIAL
   ===================== */
.testimonial-section {
  background: #E8E8E5;
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}

.testimonial-label-col {
  padding-top: 8px;
}

.testimonial-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 12px;
}

.testimonial-rating {
  font-size: 22px;
  color: #0c0c0c;
  letter-spacing: 2px;
}

.testimonial-body {}

.testimonial-quote {
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #0c0c0c;
  margin-bottom: 40px;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 1em;
  color: #bbb;
  margin-right: 4px;
}
.testimonial-quote::after {
  content: '\201D';
  font-size: 1em;
  color: #bbb;
  margin-left: 4px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 500;
  color: #0c0c0c;
}

.testimonial-role {
  font-size: 12px;
  color: #999;
  margin-top: 3px;
}

.testimonial-nav {
  display: flex;
  gap: 10px;
}

.t-nav-btn {
  width: 44px; height: 44px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 50%;
  background: none;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.t-nav-btn:hover { background: #0c0c0c; border-color: #0c0c0c; }
.t-nav-btn:hover svg { stroke: #fff; }
.t-nav-btn svg { width: 16px; stroke: #0c0c0c; fill: none; stroke-width: 1.5; transition: stroke 0.2s; }

/* =====================
   FOOTER CTA
   ===================== */
.footer-cta-section {
  background: #0c0c0c;
  padding: 80px 48px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 40px;
}

.footer-cta-text {
  font-size: clamp(40px, 6vw, 90px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #fff;
  flex: 1;
}

.footer-cta-text span {
  color: #559990;
}

.footer-cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 8px;
  flex: 1;
  max-width: 580px;
}

.footer-arrow-btn {
  width: 80px; height: 80px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  cursor: none;
}
.footer-arrow-btn:hover {
  background: #559990;
  border-color: #559990;
  transform: rotate(45deg);
}
.footer-arrow-btn svg { width: 22px; stroke: #fff; fill: none; stroke-width: 1.5; transition: stroke 0.2s; }
.footer-arrow-btn:hover svg { stroke: #0c0c0c; }

.footer-contact-links {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer-contact-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-contact-links a:hover { color: #fff; }

/* Footer contact form (CF7) */
.footer-contact-form {
  width: 100%;
}
.footer-contact-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-contact-form .form-row-inline,
.footer-contact-form .form-row-inline > p {
  display: flex;
  gap: 24px;
}
.footer-contact-form .form-row-inline .wpcf7-form-control-wrap {
  flex: 1;
}
.footer-contact-form .form-row-inline > p {
  margin: 0;
  width: 100%;
}
.footer-contact-form .wpcf7-form p {
  margin: 0;
}
.footer-contact-form .form-field-submit {
  display: flex !important;
  justify-content: flex-end !important;
  width: 100% !important;
}
.footer-contact-form .form-field-message {
  width: 100%;
}
.footer-contact-form .wpcf7-form br {
  display: none;
}
/* Hide CF7 labels */
.footer-contact-form label {
  font-size: 0;
  line-height: 0;
  color: transparent;
}
.footer-contact-form input[type="text"],
.footer-contact-form input[type="email"],
.footer-contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #fff !important;
  border-radius: 0;
  padding: 18px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color 0.3s;
}
.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder,
.footer-contact-form .wpcf7-form-control::placeholder {
  color: #fff !important;
  font-weight: 300;
  opacity: 1 !important;
}
.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
  border-bottom-color: #fff;
}
.footer-contact-form input:-webkit-autofill,
.footer-contact-form input:-webkit-autofill:hover,
.footer-contact-form input:-webkit-autofill:focus,
.footer-contact-form input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #0c0c0c inset !important;
  -webkit-text-fill-color: #fff !important;
  transition: background-color 5000s ease-in-out 0s;
}
.footer-contact-form textarea,
.footer-contact-form textarea.wpcf7-form-control {
  min-height: 90px !important;
  height: 90px !important;
  resize: none !important;
}
.footer-contact-form input[type="submit"] {
  background: transparent;
  color: #559990;
  border: 1px solid #559990;
  border-radius: 0;
  padding: 14px 36px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 24px;
}
.footer-contact-form input[type="submit"]:hover {
  background: #559990;
  color: #fff;
}
.footer-contact-form .wpcf7-response-output {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  border: none !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
}
.footer-contact-form .cf-turnstile {
  margin-top: 16px;
}
.footer-contact-form .wpcf7-spinner {
  display: none !important;
}
.footer-contact-form .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
}

/* Footer bottom bar */
.footer-bottom {
  padding: 24px 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-row img { height: 40px; }

.footer-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.footer-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.6); }

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.footer-meta span, .footer-meta a {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}
.footer-meta a:hover { color: rgba(255,255,255,0.4); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* Hide custom cursor on touch devices */
@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
  .hamburger, .work-item, .service-row,
  .t-nav-btn, .footer-arrow-btn, .hero-reel-btn { cursor: pointer; }
}

/* =====================
   TABLET  ≤ 900px
   ===================== */
@media (max-width: 900px) {

  /* Header */
  .site-header { padding: 18px 28px; }

  /* Hero */
  .hero-body { padding: 0 28px 48px; }
  .hero-foot { padding: 20px 28px; gap: 24px; flex-wrap: wrap; }
  .hero-scroll-cue { display: none; }

  /* Work */
  .work-section { padding: 80px 28px 60px; }
  .work-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .work-item:first-child { grid-row: span 1; min-height: 500px; }
  .work-item:not(:first-child) { min-height: 300px; }

  /* Philosophy */
  .philosophy {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 28px;
  }
  .philosophy-num { font-size: 120px; }

  /* Services */
  .services { padding: 80px 28px; }
  .services-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }
  .service-row {
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 24px 0;
  }
  .service-desc { display: none; }

  /* Stats */
  .stats-section { padding: 80px 28px; }
  .stat-cell { padding-right: 32px; margin-right: 32px; }

  /* Testimonial */
  .testimonial-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 80px 28px;
  }
  .testimonial-label-col {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 0;
  }
  .testimonial-label { margin-bottom: 0; }

  /* Footer CTA */
  .footer-cta-section { padding: 60px 28px 0; }
  .footer-bottom { padding: 20px 28px; }
  .footer-nav { gap: 20px; }

  /* Menu panel */
  .menu-panel { width: 380px; }
  .menu-nav { padding: 64px 28px 32px; }
  .menu-nav-item { font-size: 24px; }
  .menu-panel-footer-top,
  .menu-panel-footer-bottom { padding-left: 28px; padding-right: 28px; }
}

/* =====================
   MOBILE  ≤ 600px
   ===================== */
@media (max-width: 600px) {

  /* Header */
  .site-header { padding: 16px 20px; }

  /* Hero */
  .hero-body { padding: 0 20px 32px; }
  .hero-heading { font-size: clamp(40px, 13vw, 68px); }
  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 14px;
  }
  .hero-tagline { max-width: 100%; }
  .hero-reel-btn { width: 100%; justify-content: center; }

  /* Work */
  .work-section { padding: 56px 20px 44px; }
  .work-item:first-child { min-height: 380px; }
  .work-item:not(:first-child) { min-height: 240px; }
  .work-item-content { padding: 20px; }

  /* Philosophy */
  .philosophy { padding: 60px 20px; gap: 32px; }
  .philosophy-num { font-size: 72px; margin-bottom: -10px; }
  .philosophy-right { gap: 24px; }

  /* Services */
  .services { padding: 60px 20px; }
  .services-intro { margin-bottom: 28px; }
  .service-row {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  /* Stats — stack vertically */
  .stats-section { padding: 60px 20px; }
  .stats-eyebrow { margin-bottom: 40px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-cell {
    padding: 0 0 36px;
    margin-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 36px;
  }
  .stat-cell:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .stats-note { padding-left: 20px; margin-top: 44px; }

  /* Testimonial */
  .testimonial-section { padding: 60px 20px; gap: 20px; }

  /* Footer CTA */
  .footer-cta-section { padding: 56px 20px 0; }
  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-bottom: 36px;
  }
  .footer-cta-right { align-items: flex-start; }
  .footer-contact-links { align-items: flex-start; }
  .footer-bottom {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-nav { justify-content: flex-start; flex-wrap: wrap; gap: 14px; }
  .footer-meta { justify-content: flex-start; }

  /* Menu overlay */
  /* Menu panel — full width on mobile */
  .menu-panel { width: 100%; border-radius: 0; }
  .menu-nav { padding: 60px 20px 24px; }
  .menu-nav-item { font-size: 22px; padding: 12px 0; }
  .menu-panel-footer-top,
  .menu-panel-footer-bottom { padding-left: 20px; padding-right: 20px; }
  .menu-panel-footer-bottom { border-radius: 0; }
}
