

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

/* ── TOKENS ── */
:root {
  --bg:       #060C13;
  --ink:      #0D1B2A;
  --ink-3:    #142233;
  --accent:   #1A6BFF;
  --bone:     #F7F8FA;
  --bone-dim: #55667A;
}

/* ── BASE ── */
body {
  background: var(--bg);
  color: var(--bone);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Blueprint grid */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right,  rgba(26,107,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,107,255,0.02) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed; top:0; left:0; z-index:9999;
  width:10px; height:10px;
  background: var(--accent);
  border-radius:50%;
  pointer-events:none;
  transform: translate(-50%,-50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s;
  mix-blend-mode: normal;
}
.cursor-ring {
  position: fixed; top:0; left:0; z-index:9998;
  width:38px; height:38px;
  border: 1px solid rgba(26,107,255,0.45);
  border-radius:50%;
  pointer-events:none;
  transform: translate(-50%,-50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.2s, transform 0.4s ease;
}
.cursor.hover  { width:6px; height:6px; opacity:0.6; }
.cursor-ring.hover { width:56px; height:56px; border-color:rgba(26,107,255,0.8); }


/* ── GALLERY ─────────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(6,12,19,0.88));
  padding: 32px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover figcaption {
  opacity: 1;
}
.gal-client {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--bone);
  text-transform: uppercase;
}
.gal-detail {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 1px; }
  .gallery-item figcaption { opacity: 1; }
}

@media (hover:none) {
  .cursor, .cursor-ring { display:none; }
  body { cursor:auto; }
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top:0; left:0; right:0; z-index:200;
  padding: 20px 28px;
  display: flex; justify-content:space-between; align-items:center;
  background: rgba(6,12,19,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(247,248,250,0.06);
  transition: padding 0.3s;
}
nav.scrolled {
  padding: 14px 28px;
}
.nav-logo img {
  height: 41px; width: auto;
  display: block;
}

.nav-hamburger {
  display: flex; flex-direction:column; gap:5px;
  background: transparent; border:none; padding:6px; cursor:none;
}
.nav-hamburger span {
  width:22px; height:1.5px; background:var(--bone);
  display:block; transition: transform 0.3s, opacity 0.2s;
}
nav.open .bar1 { transform: translateY(6.5px) rotate(45deg); }
nav.open .bar2 { opacity:0; }
nav.open .bar3 { transform: translateY(-6.5px) rotate(-45deg); }

/* Slide-down menu */
.nav-menu {
  position: fixed; inset:0; z-index:190;
  background: rgba(6,12,19,0.97);
  display: flex; flex-direction:column;
  justify-content: center; align-items: center; gap:48px;
  opacity:0; pointer-events:none;
  transition: opacity 0.35s;
}
nav.open ~ .nav-menu { opacity:1; pointer-events:all; }
.nav-menu a {
  font-family: 'Raleway', sans-serif;
  font-weight: 300; font-size: clamp(32px,8vw,52px);
  letter-spacing: 0.08em; color: var(--bone);
  text-decoration:none; transition: color 0.2s;
  display:flex; align-items:center; gap:16px;
}

.nav-menu a:hover { color: var(--accent); }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction:column;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset:0;
  background-image: url('images/img-01.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.4) contrast(1.05) saturate(0.8);
  transition: filter 0.7s;
  z-index:1;
}
.hero-scrim {
  position: absolute; inset:0; z-index:2;
  background: linear-gradient(180deg,
    rgba(6,12,19,0.75) 0%,
    rgba(6,12,19,0.35) 35%,
    rgba(6,12,19,0.97) 100%);
}
.hero-content {
  position: relative; z-index:10;
  flex:1; padding: 100px 28px 36px;
  display: flex; flex-direction:column; justify-content:space-between;
  min-height:100svh;
}
.hero-top {
  display:flex; justify-content:space-between; align-items:flex-start;
}
.hero-tag {
  font-family:'DM Mono',monospace;
  font-size:13px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--bone-dim);
}
.hero-tag-live {
  font-family:'DM Mono',monospace;
  font-size:13px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--accent);
  display:flex; align-items:center; gap:6px;
}
.hero-tag-live::before {
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-bottom { }
.hero-descriptor {
  font-family:'DM Sans',sans-serif;
  font-weight:300; font-size:15px;
  color:var(--bone-dim); line-height:1.65;
  margin-bottom:28px; max-width:300px;
}
.hero-h1 {
  font-family:'Raleway',sans-serif;
  font-weight:300;
  font-size: clamp(36px,9.8vw,67px);
  line-height:0.88; letter-spacing:0.06em;
  color:var(--bone); margin-bottom:36px;
  overflow:hidden;
}
.hero-h1 em {
  font-style:italic; font-weight:700;
  color:var(--accent); display:block;
}
.hero-h1 .line { display:block; overflow:hidden; }
.hero-h1 .line-inner {
  display:block;
  animation: slideUp 1.1s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-h1 .line:nth-child(2) .line-inner { animation-delay:0.2s; }

@keyframes slideUp {
  from { transform:translateY(105%); }
  to   { transform:translateY(0); }
}

.hero-bottom-row {
  display:flex; justify-content:space-between; align-items:flex-end;
  padding-top:20px;
  border-top:1px solid rgba(247,248,250,0.08);
  width:100%;
}
.mobile-expand-btn { display: none; }
/* Why grid expand button always spans both columns */
#whyGrid .mobile-expand-btn { grid-column: 1 / -1; }

.hero-controls {
  flex: 1;
}
.hero-meta {
  font-family:'DM Mono',monospace;
  font-size:9px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--bone-dim); line-height:2;
}
.hero-cta {
  font-family:'DM Mono',monospace;
  font-size:13px; letter-spacing:0.13em; text-transform:uppercase;
  color:var(--bone); text-decoration:none;
  display:flex; align-items:center; gap:8px;
  transition:color 0.2s;
}
.hero-cta:hover { color:var(--accent); }

/* ── SECTION SHARED ── */
.eyebrow {
  font-family:'DM Mono',monospace;
  font-size:13px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--accent); margin-bottom:16px;
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before { content:'—'; opacity:0.5; }
.section-h {
  font-family:'Raleway',sans-serif;
  font-weight:300; font-size:clamp(26px,7vw,40px); letter-spacing:0.04em; color:var(--bone); line-height:1.1;
}
.section-h em { font-style:italic; font-weight:300; color:rgba(232,237,242,0.35); }
.rule { width:28px; height:1px; background:var(--accent); margin:18px 0; }

/* ── SERVICES — HYBRID LAYOUT ─────────────────────────────────────────────
   Image is the atmosphere. Text is always readable.
   Two columns: left = always-on text panel, right = image.
   On hover: image reveals more, text slides, detail expands.
── */
#services {
  background: var(--ink);
  padding: 80px 0 0;
  position:relative; z-index:5;
}
.services-header {
  padding: 0 28px 32px;
  display:flex; justify-content:space-between; align-items:baseline;
  border-bottom:1px solid rgba(247,248,250,0.07);
  margin-bottom:0;
}
.services-header h2 {
  font-family:'Raleway',sans-serif; font-weight:300;
  font-size:28px; letter-spacing:-0.02em; color:var(--bone);
}
.services-count {
  font-family:'DM Mono',monospace;
  font-size:13px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--bone-dim);
}

/* The card: two-zone layout */
.service-card {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:380px;
  border-bottom:1px solid rgba(247,248,250,0.06);
  cursor:none;
  position:relative; overflow:hidden;
}
.service-card:last-child { border-bottom:none; }

/* LEFT: text zone — always visible */
.service-text {
  padding: 44px 28px 44px;
  display:flex; flex-direction:column; justify-content:space-between;
  background: var(--ink);
  position:relative; z-index:2;
  transition: background 0.4s;
  border-right:1px solid rgba(247,248,250,0.04);
}
.service-card:hover .service-text {
  background: rgba(26,107,255,0.04);
}

.service-num {
  font-family:'DM Mono',monospace;
  font-size:13px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--accent);
}
.service-title {
  font-family:'Raleway',sans-serif;
  font-weight:300; font-size:clamp(22px,3vw,32px);
  letter-spacing:-0.01em; color:var(--bone);
  line-height:1.05; margin:auto 0;
}
.service-desc-text {
  font-size:16px; color:var(--bone-dim);
  line-height:1.85;
  /* Always visible — no more hiding */
}

/* Hover accent line */
.service-text::before {
  content:''; position:absolute;
  top:0; left:0; width:2px; height:0;
  background:var(--accent);
  transition:height 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover .service-text::before { height:100%; }

/* RIGHT: image zone */
.service-img {
  position:relative; overflow:hidden;
}
.service-img-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center 25%;
  filter:brightness(0.4) contrast(1.05) saturate(0.7);
  transition: filter 0.7s ease, transform 1.4s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover .service-img-bg {
  filter:brightness(0.65) contrast(1.08) saturate(0.9);
  transform:scale(1.06);
}

/* Image overlay label (cinematic touch) */
.service-img-label {
  position:absolute; bottom:20px; right:20px;
  font-family:'DM Mono',monospace;
  font-size:9px; letter-spacing:0.2em; text-transform:uppercase;
  color:rgba(247,248,250,0.3);
  z-index:2;
  opacity:0; transform:translateY(8px);
  transition:opacity 0.4s, transform 0.4s;
}
.service-card:hover .service-img-label {
  opacity:1; transform:translateY(0);
}

/* ── PROCESS ── */
#process {
  background:var(--bg);
  padding:80px 28px;
  position:relative; z-index:5;
}
.process-inner { max-width:620px; }
.process-steps { margin-top:48px; }
.process-step {
  display:block;
  padding:32px 0;
  border-bottom:1px solid rgba(247,248,250,0.05);
  transition:padding-left 0.3s;
}
.process-step:hover { padding-left:8px; }
.process-step:last-child { border-bottom:none; }
.step-n {
  font-family:'DM Mono',monospace;
  font-size:10px; letter-spacing:0.18em; color:var(--accent); padding-top:4px;
}
.step-title {
  font-family:'Raleway',sans-serif;
  font-weight:300; font-size:18px; letter-spacing:0.02em;
  color:var(--bone); margin-bottom:8px;
}
.step-body { font-size:15px; color:var(--bone-dim); line-height:1.85; }

/* ── WHY ARLOW ── */
#why {
  background:var(--ink);
  padding:80px 28px;
  position:relative; z-index:5;
}
.why-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:1px; background:rgba(247,248,250,0.04);
  margin-top:48px;
}
.why-card {
  background:var(--ink);
  padding:40px 32px;
  border-top:2px solid transparent;
  transition:border-top-color 0.3s, background 0.3s;
}
.why-card.featured {
  background:rgba(26,107,255,0.05);
  border-top-color:var(--accent);
}

/* On desktop #whyMore wrapper is invisible to grid — cards become direct grid children */
#whyMore { display: contents; }
.why-card:hover { border-top-color:var(--accent); background:rgba(26,107,255,0.04); }
.why-line { width:20px; height:1px; background:var(--accent); margin-bottom:20px; }
.why-title {
  font-family:'Raleway',sans-serif; font-weight:300;
  font-size:18px; letter-spacing:0.02em; color:var(--bone); margin-bottom:12px;
}
.why-body { font-size:15px; color:var(--bone-dim); line-height:1.85; }

/* ── TRUSTED BY ── */
#clients {
  background:var(--bg);
  padding:72px 0;
  position:relative; z-index:5; overflow:hidden;
}
.clients-label {
  font-family:'DM Mono',monospace;
  font-size:13px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--bone-dim); text-align:center; margin-bottom:40px;
  display:flex; align-items:center; justify-content:center; gap:12px;
}
.clients-label::before, .clients-label::after {
  content:''; flex:1; max-width:80px; height:1px;
  background:rgba(247,248,250,0.1);
}
.marquee-row { margin-bottom:20px; overflow:hidden; }
.marquee-track {
  display:flex; gap:64px; width:max-content;
  animation:marquee 24s linear infinite;
}
.marquee-track.rev {
  animation-direction:reverse; animation-duration:30s;
}
.client-name {
  font-family:'Raleway',sans-serif;
  font-weight:300; font-size:14px;
  letter-spacing:0.14em; text-transform:uppercase;
  color:rgba(247,248,250,0.18);
  white-space:nowrap; transition:color 0.3s;
}
.client-name:hover { color:rgba(247,248,250,0.6); }
@keyframes marquee {
  from { transform:translateX(0); }
  to   { transform:translateX(-50%); }
}

/* ── FOUNDER ── */
#founder {
  background:var(--ink-3);
  padding:80px 28px;
  position:relative; z-index:5;
}
.founder-quote {
  font-family:'Raleway',sans-serif; font-weight:300;
  font-size:clamp(22px,5vw,34px);
  letter-spacing:0.03em; color:var(--bone); line-height:1.25;
  border-left:2px solid var(--accent); padding-left:24px;
  margin-bottom:36px;
}
.founder-quote em {
  font-style:italic; font-weight:200;
  color:rgba(232,237,242,0.38);
}
.founder-body {
  font-size:16px; color:var(--bone-dim);
  line-height:1.85; margin-bottom:14px; max-width:560px;
}
.founder-name {
  font-family:'Raleway',sans-serif; font-weight:400;
  font-size:15px; color:var(--bone); margin-top:32px;
}
.founder-role {
  font-family:'DM Mono',monospace;
  font-size:13px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--accent); margin-top:4px;
}

/* ── CONTACT ── */
#contact {
  background:var(--ink);
  padding:90px 28px 72px;
  position:relative; z-index:5;
}
.contact-eyebrow {
  font-family:'DM Mono',monospace;
  font-size:13px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--accent); margin-bottom:20px;
  display:flex; align-items:center; gap:10px;
}
.contact-eyebrow::before { content:'—'; opacity:0.5; }
.contact-h {
  font-family:'Raleway',sans-serif; font-weight:300;
  font-size:clamp(56px,16vw,96px);
  line-height:0.86; letter-spacing:0.06em; color:var(--bone);
  margin-bottom:56px;
}
.contact-h em { font-style:italic; font-weight:700; color:var(--accent); }
.contact-form { display:flex; flex-direction:column; gap:28px; max-width:560px; }
.form-label { display:flex; flex-direction:column; gap:8px; }
.form-label-txt {
  font-family:'DM Mono',monospace;
  font-size:13px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--bone-dim);
}
.field-style {
  background:transparent; border:none;
  border-bottom:1px solid rgba(247,248,250,0.15);
  padding:12px 0; color:var(--bone);
  font-family:'DM Sans',sans-serif; font-size:16px; font-weight:300;
  outline:none; width:100%;
  transition:border-color 0.25s;
}
.field-style:focus { border-bottom-color:var(--accent); }
.field-style::placeholder { color:rgba(85,102,122,0.5); }
textarea.field-style { resize:none; }
.submit-btn {
  margin-top:12px; background:transparent;
  border:1px solid var(--accent); color:var(--accent);
  font-family:'Raleway',sans-serif; font-weight:300;
  font-size:14px; letter-spacing:0.1em; text-transform:uppercase;
  padding:20px 28px; cursor:none;
  display:flex; justify-content:space-between; align-items:center;
  transition:background 0.3s, color 0.3s;
  align-self:flex-start; min-width:240px;
}
.submit-btn:hover { background:var(--accent); color:var(--ink); }

/* ── FOOTER ── */
footer {
  background:var(--bg);
  padding:48px 28px;
  border-top:1px solid rgba(247,248,250,0.05);
  display:flex; flex-direction:column; gap:28px;
  position:relative; z-index:5;
}
.footer-logo img { height:35px; width:auto; }
.footer-tagline {
  font-family:'Raleway',sans-serif; font-weight:200; font-style:italic;
  font-size:12px; color:var(--bone-dim); margin-top:6px;
}
.footer-links { display:flex; gap:20px; flex-wrap:wrap; }
.footer-links a {
  font-family:'DM Mono',monospace;
  font-size:9px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--bone-dim); text-decoration:none; transition:color 0.2s;
}
.footer-links a:hover { color:var(--bone); }
.footer-copy {
  font-family:'DM Mono',monospace;
  font-size:9px; letter-spacing:0.12em; text-transform:uppercase;
  color:rgba(85,102,122,0.4);
}

/* ── REVEAL ── */
.reveal {
  opacity:0; transform:translateY(24px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }
.d1 { transition-delay:0.1s; }
.d2 { transition-delay:0.2s; }
.d3 { transition-delay:0.3s; }
.d4 { transition-delay:0.4s; }

/* ── RESPONSIVE ── */
@media (max-width:640px) {
  .service-card { grid-template-columns:1fr; min-height:auto; }
  .service-img { display:none; }
  .why-grid { grid-template-columns:1fr; }
  .service-title { font-size:clamp(20px,6vw,28px); }
}


/* ── DESKTOP NAV LINKS — hidden by default, shown at 1280px+ ── */
.nav-links { display: none; }

/* ── CLIENT LOGOS ── */
.logo-pill {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,248,250,0.22);
  white-space: nowrap;
  padding: 0 8px;
  transition: color 0.3s;
  cursor: default;
}
.logo-pill:hover { color: rgba(247,248,250,0.7); }

/* ── PROJECT CARDS ── */
.project-card {
  background: var(--ink);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 240px;
  border-top: 2px solid transparent;
  transition: border-top-color 0.3s, background 0.3s;
  position: relative;
}
.project-card:hover {
  border-top-color: var(--accent);
  background: rgba(26,107,255,0.03);
}
.featured-card {
  background: rgba(26,107,255,0.05);
  border-top: 2px solid var(--accent);
}
.cta-card {
  background: var(--ink-3);
  border-top: 2px solid rgba(26,107,255,0.2);
  justify-content: flex-end;
}
.proj-sector {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.proj-client {
  font-family: 'Raleway', sans-serif;
  font-weight: 300; font-size: 18px;
  color: var(--bone); letter-spacing: 0.02em;
  margin-bottom: 6px; line-height: 1.2;
}
.proj-scope {
  font-size: 13px; color: var(--dim);
  line-height: 1.6; margin-bottom: 20px; flex: 1;
}
.proj-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.proj-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid rgba(26,107,255,0.25);
  color: rgba(26,107,255,0.7);
}
.proj-note {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.1em;
  color: rgba(85,102,122,0.6);
  padding-top: 12px;
  border-top: 1px solid rgba(247,248,250,0.04);
}

/* responsive: project grid */
@media (max-width: 700px) {
  .project-card { min-height: auto; }
}


/* ── HERO SLIDESHOW ── */
.hero-slides {
  position: absolute; inset: 0; z-index: 1;
}

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.35) contrast(1.05) saturate(0.85);
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-slide.active { opacity: 1; }

/* Caption */
.hero-caption {
  position: absolute; bottom: 108px; right: 64px;
  z-index: 12; text-align: right;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-caption.visible { opacity: 1; transform: translateY(0); }
.hero-caption-client {
  font-family: 'Raleway', sans-serif; font-weight: 300;
  font-size: 13px; letter-spacing: 0.12em;
  color: rgba(247,248,250,0.7);
}
.hero-caption-detail {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(26,107,255,0.7);
  margin-top: 3px;
}

/* Progress bar */
.hero-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: rgba(247,248,250,0.06);
  z-index: 12;
}
.hero-progress-bar {
  height: 100%; background: var(--accent);
  width: 0%;
  transition: width linear;
}

/* Controls */
.hero-controls {
  display: flex; align-items: center; gap: 12px;
}
.hero-dots {
  display: flex; gap: 8px; align-items: center;
}
.hero-dot {
  width: 20px; height: 1.5px;
  background: rgba(247,248,250,0.25);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  border: none; padding: 0;
}
.hero-dot.active {
  width: 32px;
  background: var(--accent);
}
.hero-dot:hover { background: rgba(247,248,250,0.6); }

.hero-btn {
  width: 48px; height: 48px;
  border: 1px solid rgba(247,248,250,0.15);
  background: rgba(6,12,19,0.4);
  backdrop-filter: blur(8px);
  color: rgba(247,248,250,0.6);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-family: 'DM Mono', monospace;
  line-height: 1;
}
.hero-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(26,107,255,0.08);
}

.hero-counter {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.18em;
  color: rgba(85,102,122,0.7);
  min-width: 36px;
}

/* Pause indicator */
.hero-pause-icon {
  font-family: 'DM Mono', monospace;
  font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(26,107,255,0.5);
  opacity: 0; transition: opacity 0.3s;
}
.hero-pause-icon.visible { opacity: 1; }

@media (max-width: 640px) {
  .hero-controls { left: 24px; bottom: 32px; }
  .hero-caption  { right: 24px; bottom: 100px; }
}



/* ══════════════════════════════════════════════════════════════════════════════
   DESKTOP — 1280px and wider
   No design, copy, or layout changes — only width-constrained & breathing-room
   improvements that make the existing design sing on large screens.
══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {

  /* ── HERO BUTTONS: larger on desktop ────────────────────────────────────── */
  .hero-btn {
    width: 72px; height: 72px;
    font-size: 26px;
    border-width: 1px;
  }

  /* ── NAV: reveal full link bar, hide hamburger ─────────────────────────────
     The hamburger-only nav works on mobile. On desktop we show links inline.
  ── */
  nav {
    padding: 24px 64px;
    align-items: center;
  }
  nav.scrolled { padding: 16px 64px; }

  .nav-hamburger { display: none; }

  /* Inline desktop nav links — injected via JS (see index.html script block) */
  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }
  .nav-links a {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bone-dim);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--bone); }

  /* Keep the overlay menu accessible via keyboard but hidden on desktop */
  .nav-menu { display: none; }

  /* ── HERO ───────────────────────────────────────────────────────────────── */
  .hero-content {
    padding: 120px 64px 48px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-descriptor { max-width: 380px; font-size: 16px; }
  .hero-caption { right: 80px; bottom: 120px; }

  /* ── SERVICES ───────────────────────────────────────────────────────────── */
  .services-header { padding: 0 64px 32px; }
  .service-text { padding: 52px 64px 52px; }
  /* Right-side service text (alt cards) */
  .service-card:nth-child(even) .service-text { padding: 52px 64px 52px; }
  .service-title { font-size: clamp(24px, 2.2vw, 36px); }

  /* ── PROCESS ────────────────────────────────────────────────────────────── */
  #process { padding: 100px 64px; }
  .process-inner { max-width: 720px; }

  /* ── BROADCAST STANDARD ─────────────────────────────────────────────────── */
  #services + section,
  section[id=""] {
    padding: 100px 64px;
  }

  /* ── WHY ARLOW ──────────────────────────────────────────────────────────── */
  #why { padding: 100px 64px; }
  .why-grid { margin-top: 56px; }
  .why-card { padding: 52px 40px; }

  /* ── SPACE PLANNING ─────────────────────────────────────────────────────── */
  #space-planning { padding: 100px 64px; }

  /* ── CLIENTS & PROJECTS ─────────────────────────────────────────────────── */
  #clients > div:first-child { padding: 0 64px 48px; }

  /* Project grid — wider gutters at desktop */
  #projectGrid,
  [id="projectGrid"] {
    grid-template-columns: 1fr 1fr 1fr;
  }
  #clients [style*="padding:56px 28px"] {
    padding: 64px 64px 96px !important;
  }

  /* ── FOUNDER ────────────────────────────────────────────────────────────── */
  #founder { padding: 100px 64px; }
  .founder-body { max-width: 620px; }

  /* ── CONTACT ────────────────────────────────────────────────────────────── */
  #contact { padding: 120px 64px 96px; }
  .contact-form { max-width: 680px; }
  .contact-h { font-size: clamp(72px, 8vw, 120px); }

  /* ── FOOTER ─────────────────────────────────────────────────────────────── */
  footer {
    padding: 64px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  /* ── SECTION MAX-WIDTH CONTAINERS ──────────────────────────────────────── */
  /* Prevent text from running full-bleed on ultra-wide screens */
  .process-inner,
  .why-grid,
  .contact-form {
    position: relative;
  }
  #process,
  #why,
  #founder,
  #contact,
  #space-planning {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
  }

}

/* ── 1600px+ ultra-wide: gentle max-width cap ────────────────────────────── */
@media (min-width: 1600px) {
  .hero-content { padding: 140px 80px 56px; }
  .service-text  { padding: 60px 80px; }
  .services-header { padding: 0 80px 36px; }
  nav { padding: 28px 80px; }
  nav.scrolled { padding: 18px 80px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   PORTRAIT MOBILE — max 480px
   Targets phones in portrait. Landscape (640px+) is unaffected.
   Desktop (1280px+) overrides still win where both apply.
══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── HERO H1 ─────────────────────────────────────────────────────────────── */
  /* 14vw at 390px = 54px — too large, letters spread apart visually */
  .hero-h1 {
    font-size: clamp(36px, 10vw, 48px);
    letter-spacing: 0.01em;
    line-height: 0.92;
  }

  /* ── HERO LAYOUT ─────────────────────────────────────────────────────────── */
  .hero-content { padding: 80px 20px 28px; }
  .hero-descriptor { font-size: 14px; margin-bottom: 20px; }
  .hero-bottom-row { flex-wrap: wrap; gap: 16px; }
  .hero-caption { right: 20px; bottom: 88px; }

  /* ── CONTACT HEADING ─────────────────────────────────────────────────────── */
  .contact-h {
    font-size: clamp(44px, 13vw, 60px);
    margin-bottom: 36px;
  }

  /* ── SECTION PADDING ─────────────────────────────────────────────────────── */
  #process    { padding: 60px 20px; }
  #why        { padding: 60px 20px; }
  #founder    { padding: 60px 20px; }
  #contact    { padding: 72px 20px 56px; }
  #space-planning { padding: 60px 20px; }

  /* ── BROADCAST STANDARD — collapse 2-col to 1 ───────────────────────────── */
  #broadcastGrid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* ── SPACE PLANNING — collapse 2-col to 1 ───────────────────────────────── */
  #spacePlanGrid {
    grid-template-columns: 1fr !important;
    gap: 1px !important;
    background: rgba(247,248,250,0.04);
  }

  /* ── PROJECT GRID — collapse 3-col to 1 ─────────────────────────────────── */
  #projectGrid {
    grid-template-columns: 1fr !important;
  }

  /* ── SERVICES HEADER ─────────────────────────────────────────────────────── */
  .services-header { padding: 0 20px 24px; }
  .service-text    { padding: 32px 20px; }

  /* ── PROCESS TEXT WIDTHS ─────────────────────────────────────────────────── */
  .process-inner { max-width: 100%; }
  .step-body     { font-size: 14px; }

  /* ── WHY ARLOW CARDS ─────────────────────────────────────────────────────── */
  .why-card { padding: 28px 20px; }
  .why-body { font-size: 14px; }

  /* ── MOBILE EXPAND BUTTON ────────────────────────────────────────────────── */
  .mobile-expand-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(26,107,255,0.35);
    color: var(--accent);
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 14px 20px;
    cursor: pointer;
    margin: 8px 0 0;
    width: 100%;
    justify-content: space-between;
    transition: background 0.2s, border-color 0.2s;
  }
  .mobile-expand-btn:hover {
    background: rgba(26,107,255,0.08);
    border-color: var(--accent);
  }

  /* ── COLLAPSIBLE SECTIONS ────────────────────────────────────────────────── */
  .mobile-collapsible {
    display: none;
  }
  .mobile-collapsible--open {
    display: block;
  }
  /* Hide why cards 3+4 on mobile until expanded */
  .why-card--extra { display: none; }
  #whyGrid.why-expanded .why-card--extra { display: block; }
  /* Button spans full grid width */
  #whyGrid .mobile-expand-btn { grid-column: 1 / -1; }

  /* ── FOOTER ──────────────────────────────────────────────────────────────── */
  footer { padding: 40px 20px; gap: 20px; }
  .footer-links { gap: 14px; }

  /* ── MARQUEE — slow down on narrow screens ───────────────────────────────── */
  .marquee-track { animation-duration: 36s !important; }
}
