:root {
  --bg: #faefe4;
  --surface: #ede4d7;
  --border: #ccc8bc;
  --text: #110e08;
  --muted: #58534a;
  --muted-light: #8a8578;
  --accent: #110e08;
  --highlight: #c8f060;
  --serif: "Fraunces", "Louize", Georgia, serif;
  --mono: "DM Mono", monospace;
  --sans: "Geist", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 1400px;
  margin: 0 auto;
}

p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(26, 26, 15, 0.72);
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  background: transparent;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50% + 48px);
  padding-right: calc(50vw - 50% + 48px);
}

/* Hide site nav and top blur when in agent mode */
body.mode-agent nav,
body.mode-agent .top-nav-blur {
  display: none !important;
}

.top-nav-blur {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: clamp(80px, 7vh, 200px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(237, 228, 215, 0.88);
  mask-image: linear-gradient(to bottom, #000 25%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent);
}

.logo {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  width: 40px;
  height: 40px;
  color: var(--text);
}

.hamburger svg {
  width: 24px;
  height: 24px;
  display: block;
  overflow: visible;
}

.hamburger svg line {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  background: var(--text);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.18s;
}

.btn-pill:hover {
  opacity: 0.72;
}

.btn-pill-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-pill-accent {
  background: var(--highlight);
  color: var(--text);
}

/* ─── HERO ─── */
.hero {
  padding: 100px 48px 88px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--muted-light);
}

h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7.5vw, 92px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}

.headline-highlight {
  position: relative;
  z-index: 0;
}

.headline-highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.12em;
  height: 0.65em;
  width: 100%;
  background: var(--highlight);
  z-index: -1;
  transform-origin: left center;
  transform: scaleX(0);
}

.headline-highlight-animate::before {
  animation: headlineHighlight 0.8s ease-out 0.35s forwards;
}

@keyframes headlineHighlight {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 16px;
}

.hero-sub a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 14, 8, 0.4);
  padding-bottom: 1px;
}

.hero-sub a:hover {
  border-bottom-color: var(--text);
}

/* Slightly narrower hero copy on laptop/desktop for better readability */
@media (min-width: 880px) {
  .hero-sub {
    max-width: 520px;
  }
}

.hero-sub strong {
  color: var(--text);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-bar-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted-light);
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.trust-logo {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  opacity: 0.72;
}

/* ─── SECTION SCAFFOLD ─── */
.section {
  padding: 88px 48px;
}

.sec-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 52px;
  text-align: center;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 em {
  font-style: italic;
}

/* ─── INTRO / POSITIONING ─── */
.intro-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.intro-head h2 {
  margin-bottom: 20px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.intro-image-placeholder {
  width: 100%;
  height: 100%;
  background: #ede4d7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  border-radius: 2px;
}

.intro-image-placeholder svg {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.problems-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.problem-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.problem-item:first-child {
  padding-top: 0;
}
.problem-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.problem-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 10px;
}

.problem-title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.problem-title em {
  font-style: italic;
}

/* ─── WHY GRID ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-item {
  padding: 32px 32px 32px 32px;
  border-right: 1px solid var(--border);
}

.why-item:last-child {
  border-right: none;
  padding-right: 32px;
}

.why-item:not(:first-child) {
  padding-left: 32px;
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}

.service-card {
  background: var(--bg);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.service-card:hover {
  background: var(--surface);
}


.service-card.extra-wide {
  grid-column: span 1;
  background: var(--surface);
}


.service-card.featured {
  grid-column: span 3;
  background: var(--surface);
}

.illustration-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 48px 120px;
}

.illustration-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.service-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
  margin-bottom: 28px;
}

.service-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--highlight);
  color: var(--text);
  padding: 2px 9px;
  border-radius: 2px;
  margin-bottom: 16px;
  font-weight: 400;
  width: fit-content;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service-card h3 em {
  font-style: italic;
}

.service-card p {
  margin-bottom: 32px;
}

/* ─── NEW DESIGN WORK SHOWCASE ─── */
.design-work-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.work-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-media {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 14, 8, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
}

.work-overlay span {
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.work-item:hover .work-media img {
  transform: scale(1.1);
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-info h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.work-info p {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-light);
  margin: 0;
}

/* ─── FULL-BLEED SECTION ─── */
.full-bleed {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50% + 48px);
  padding-right: calc(50vw - 50% + 48px);
}

/* ─── WHO SECTION (INVERTED) ─── */
.who-section {
  background: var(--text);
  color: var(--bg);
}

.who-section .sec-label {
  color: rgba(250, 239, 228, 0.4);
}

.who-section h2 {
  color: var(--bg);
}

.who-section p {
  color: rgba(250, 239, 228, 0.7);
}

.who-section .how-card {
  background: rgba(250, 239, 228, 0.06);
  border-color: rgba(250, 239, 228, 0.12);
}

.who-section .how-card h3 {
  color: var(--bg);
}

.who-section .how-card-sub {
  color: rgba(250, 239, 228, 0.4);
}

.who-section .how-card-list-item::before {
  color: var(--highlight);
}

.who-section .how-link {
  color: var(--bg);
  border-bottom-color: rgba(250, 239, 228, 0.3);
}

.who-section .how-link:hover {
  border-color: var(--bg);
}

/* ─── HOW WE WORK ─── */
.how-inner {
  margin-top: 56px;
  margin-left: auto;
  margin-right: auto;
}

.how-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.how-intro h2 {
  margin-bottom: 20px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.how-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.how-card h3 em {
  font-style: italic;
}

.how-card-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 18px;
}

.how-card-list {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.how-card-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.how-card-list-item::before {
  content: "→";
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text);
}

.how-link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 22, 15, 0.35);
  padding-bottom: 1px;
}

.how-link:hover {
  border-color: var(--text);
}

.how-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.how-image-tile {
  background: var(--surface);
  border-radius: 4px;
  height: 84px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.how-image-tile:hover {
  transform: scale(1.05);
}

.how-image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── TEAM ─── */
.team-section {
  background: var(--surface);
}

.team-inner {
  margin: 0 auto;
}

.team-intro {
  text-align: center;
  margin-bottom: 56px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 40px 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
}

.team-info {
  flex: 1;
  min-width: 0;
}

.team-info h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--text);
}

.team-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
  display: block;
  margin-bottom: 16px;
}

.team-info p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.team-links {
  display: flex;
  /* gap: 12px; */
}

.team-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.6;
  /* font-family: var(--mono); */
  /* font-size: 10px; */
  color: var(--muted);
  text-decoration: none;
  /* border: 1px solid var(--border); */
  padding-right: 12px;
  border-radius: 9999px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.team-social-link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ─── DIFFERENCE CALLOUT ─── */
.diff-callout {
  margin: 0 48px;
  background: var(--text);
  color: var(--bg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.diff-callout h2 {
  color: var(--bg);
  margin-bottom: 20px;
}
.diff-callout p {
  color: var(--bg);
  opacity: 0.72;
  margin-bottom: 32px;
}

.diff-list {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(246, 243, 238, 0.18);
}

.diff-item {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(246, 243, 238, 0.18);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.diff-item:last-child {
  border-bottom: none;
}

.diff-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--highlight);
  margin-top: 7px;
  flex-shrink: 0;
}

.diff-item h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--highlight);
  margin-bottom: 3px;
}

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}

.testimonial {
  border: 1px solid var(--border);
  padding: 36px;
  background: var(--surface);
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-quote strong {
  font-style: normal;
  background: var(--highlight);
  padding: 0 3px;
}

.testimonial-author {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-light);
}

.testimonial-author strong {
  display: block;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 2px;
}

/* ─── BOOK ─── */
.book-section {
  padding: 88px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.book-left h2 {
  margin-bottom: 24px;
}
.book-left p {
  margin-bottom: 24px;
}

.book-note {
  border-left: 6px solid var(--highlight);
  padding-left: 16px;
}

/* ─── FOOTER ─── */
footer {
  padding: 26px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p,
footer a {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-light);
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
}

/* ─── MODE TOGGLE ─── */
.mode-toggle-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mode-toggle {
  display: flex;
  align-items: center;
  background: #3a3a3a;
  border-radius: 20px 20px 0 0;
  padding: 10px 16px 12px;
  gap: 4px;
  position: relative;
}

.mode-toggle::before,
.mode-toggle::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 24px;
  height: 24px;
}

.mode-toggle::before {
  left: -24px;
  background: radial-gradient(circle at 0 0, transparent 24px, #3a3a3a 24px);
}

.mode-toggle::after {
  right: -24px;
  background: radial-gradient(circle at 100% 0, transparent 24px, #3a3a3a 24px);
}

.mode-option {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s;
  user-select: none;
  white-space: nowrap;
}

.mode-option input {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.mode-option input:checked {
  border-color: #fff;
}

.mode-option input:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.mode-option:has(input:checked) {
  color: #fff;
}

/* ─── SHORT ATTENTION SPAN VIEW ─── */
.adhd-view {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adhd-phone-frame {
  width: 100%;
  height: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.adhd-phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

/* Desktop: phone-sized frame centered; empty space around */
@media (min-width: 900px) {
  .adhd-phone-frame {
    width: min(390px, calc(100vw - 80px), calc(86vh * 9 / 19.5));
    aspect-ratio: 9 / 19.5;
    max-height: 86vh;
    border-radius: 28px;
    overflow: hidden;
  }

  .adhd-phone-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }
}

/* ─── AGENT VIEW ─── */
.agent-view {
  background: #1a1a1a;
  color: #d4d4d4;
  min-height: 100vh;
  padding: 80px 0 120px;
  position: relative;
}

.agent-content {
  font-family: "DM Mono", "SF Mono", "Fira Code", "Consolas", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #d4d4d4;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 48px;
  white-space: pre-wrap;
  word-wrap: break-word;
  tab-size: 2;
}

.agent-copy-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #2a2a2a;
  color: #999;
  border: 1px solid #333;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
}

.agent-copy-btn:hover {
  background: #333;
  color: #fff;
  border-color: #555;
}

.agent-copy-btn.copied {
  color: #c8f060;
  border-color: #c8f060;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero > * {
  opacity: 0;
  animation: fadeUp 0.65s ease forwards;
}

.hero .kicker {
  animation-delay: 0s;
}
.hero h1 {
  animation-delay: 0.08s;
}
.hero .hero-sub {
  animation-delay: 0.16s;
}
.hero .hero-actions {
  animation-delay: 0.24s;
}

nav {
  opacity: 0;
  animation: fadeUp 0.65s ease forwards;
}

.trust-bar {
  opacity: 0;
  animation: fadeUp 0.65s ease 0.32s forwards;
}

#what {
  opacity: 0;
  animation: fadeUp 0.65s ease 0.48s forwards;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.visible {
  animation: fadeUp 0.65s ease 0.15s forwards;
}

/* ─── VIDEO DIALOG ─── */
.video-dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  outline: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  opacity: 0;
  animation: dialogFadeIn 0.25s ease forwards;
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0);
  animation: backdropFadeIn 0.25s ease forwards;
}

@keyframes dialogFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes backdropFadeIn {
  from {
    background: rgba(0, 0, 0, 0);
  }
  to {
    background: rgba(0, 0, 0, 0.85);
  }
}

.video-dialog-player {
  display: block;
  width: min(90vw, 1000px);
  max-height: 80vh;
  border-radius: 8px;
  object-fit: contain;
  background: #000;
}

.video-dialog-close {
  position: absolute;
  top: -36px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.video-dialog-close:hover {
  opacity: 1;
}

.work-media {
  cursor: pointer;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .design-work-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  nav {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-right {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 80px 32px 32px;
    transition: right 0.3s ease;
    z-index: 100;
    box-sizing: border-box;
  }

  .nav-right.active {
    right: 0;
  }

  .nav-right .nav-link {
    font-size: 18px;
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-right .btn-pill {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    font-size: 14px;
  }

  body.nav-drawer-open .mode-toggle-bar {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .section,
  .trust-bar,
  .book-section,
  footer {
    padding-left: 24px;
    padding-right: 24px;
    align-items: center;
  }
  .hero {
    padding: 72px 24px 64px;
  }
  .diff-callout {
    margin: 0 24px;
    padding: 40px 24px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-grid,
  .book-section,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 28px 32px;
  }
  .why-item:last-child {
    border-bottom: none;
  }
  .why-item:not(:first-child) {
    padding-left: 32px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card.featured {
    grid-column: span 1;
  }
  .design-work-showcase {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card {
    flex-direction: column;
    gap: 20px;
  }
}
