:root {
  --obsidian: #0A0908;
  --obsidian-2: #121010;
  --obsidian-3: #1A1613;
  --ivory: #F3EEE2;
  --ivory-dim: #9C9385;
  --gold: #f1a019;
  --gold-light: #F9CF86;
  --gold-deep: #9A600D;
  --line: rgba(243, 238, 226, 0.08);
  --line-gold: rgba(241, 160, 25, 0.4);
  --ease: cubic-bezier(.16, .84, .44, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default;
}

h1,
h2,
h3,
.display {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

.italic {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

p {
  color: var(--ivory-dim);
  line-height: 1.75;
  margin: 0;
}

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

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

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

section[id] {
  scroll-margin-top: 70px;
}

::selection {
  background: var(--gold);
  color: #0A0908;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  background: var(--gold);
  color: #0A0908;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  transition: top .3s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (hover:none) {
  .grain {
    display: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Header / brand ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.logo-mark {
  width: 200px;
  height: 70px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark[hidden] {
  display: none;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 38px;
  margin: 0;
  padding: 0;
}

nav a {
  font-size: 13.5px;
  color: var(--ivory-dim);
  position: relative;
  padding: 4px 0;
  transition: color .3s;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease);
}

nav a:hover {
  color: var(--ivory);
}

nav a:hover::after {
  width: 100%;
}

nav a.btn::after {
  display: none;
}

.nav-cta-item {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s, background .4s;
  max-width: 100%;
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 45%, var(--gold-light) 75%, var(--gold));
  background-size: 220% 100%;
  color: #0A0908;
  animation: shimmer 5s linear infinite;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -10px rgba(241, 160, 25, 0.55);
}

@keyframes shimmer {
  0% {
    background-position: 0% 0;
  }

  100% {
    background-position: 220% 0;
  }
}

.btn-ghost {
  border: 1px solid var(--line-gold);
  color: var(--ivory);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(241, 160, 25, 0.08);
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform .35s var(--ease), opacity .25s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 110px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  max-width: 140vw;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(241, 160, 25, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: 1.02;
  margin-top: 26px;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line span {
  display: inline-block;
  transform: translateY(110%);
}

.hero-sub {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 17.5px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 42px;
  justify-content: center;
  flex-wrap: wrap;
}

.gold-blob-cursor {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 160, 25, 0.28), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 1;
  top: 0;
  left: 0;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono';
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ivory-dim);
  text-transform: uppercase;
}

.scroll-cue .stem {
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--gold), transparent);
  animation: stemPulse 2s ease-in-out infinite;
}

@keyframes stemPulse {

  0%,
  100% {
    opacity: .3;
  }

  50% {
    opacity: 1;
  }
}

/* ---------- Stats / marquee ---------- */
.stats-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
  background: var(--obsidian-2);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  border-left: 1px solid var(--line);
  padding: 0 20px;
}

.stat:first-child {
  border-left: none;
}

.stat .num {
  font-family: 'Fraunces';
  font-size: clamp(34px, 4vw, 52px);
  color: var(--gold);
  font-weight: 500;
}

.stat .lbl {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ivory-dim);
  font-family: 'JetBrains Mono';
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-strip {
  padding: 20px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 80s linear infinite;
}

.marquee-track span {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  padding: 0 30px;
  white-space: nowrap;
  color: var(--ivory-dim);
  display: flex;
  align-items: center;
  gap: 30px;
}

.marquee-track span em {
  color: var(--gold);
  font-style: normal;
  font-family: 'JetBrains Mono';
  font-size: 14px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
section.pad {
  padding: 130px 0;
}

.section-head {
  max-width: 660px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(32px, 4.2vw, 50px);
  margin-top: 16px;
}

.section-head p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 16px;
  max-width: 540px;
}

.alt-bg {
  background: var(--obsidian-2);
}

/* ---------- Services (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 18px;
}

.bento-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--obsidian-2), var(--obsidian-3));
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: border-color .5s, transform .5s var(--ease), background .5s, opacity .9s var(--ease);
}

.bento-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-6px);
}

.bento-card.big {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bento-card .num {
  font-family: 'JetBrains Mono';
  font-size: 12px;
  color: var(--gold);
}

.bento-icon {
  width: 30px;
  height: 30px;
  color: var(--gold);
  opacity: .9;
  flex: none;
}

.bento-card h3 {
  font-size: 20px;
}

.bento-card.big h3 {
  font-size: 30px;
}

.bento-card p {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
}

.bento-card.big p {
  font-size: 14.5px;
  max-width: 420px;
}

.bento-card.plain::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 160, 25, 0.14), transparent 70%);
  transition: transform .8s var(--ease), opacity .5s;
  opacity: .7;
}

.bento-card.plain:hover::before {
  transform: scale(1.5);
  opacity: 1;
}

.bento-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}

.bento-card:hover .bento-media img {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.65) 0%, rgba(10, 9, 8, 0.5) 38%, rgba(10, 9, 8, 0.78) 72%, rgba(10, 9, 8, 0.95) 100%);
  transition: background .5s;
}

.bento-card:hover .bento-overlay {
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.55) 0%, rgba(10, 9, 8, 0.42) 38%, rgba(10, 9, 8, 0.72) 72%, rgba(10, 9, 8, 0.92) 100%);
}

.bento-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px 28px;
}

.project-card {
  display: block;
  position: relative;
  border-radius: 20px;
}

.project-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
  background: var(--obsidian-3);
  transition: border-color .5s, transform .6s var(--ease), box-shadow .6s;
}

.project-media-inner {
  position: absolute;
  inset: 0;
}

.project-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 9, 8, 0.55), transparent 55%);
  transition: background .6s;
}

.project-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border: 1px solid var(--line-gold);
  background: rgba(10, 9, 8, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .4s, color .4s, transform .5s var(--ease);
}

.project-badge svg {
  width: 18px;
  height: 18px;
  transition: transform .5s var(--ease);
}

.project-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px 0;
}

.project-info h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin-top: 8px;
  transition: color .4s;
}

.project-info p.desc {
  font-size: 14px;
  margin-top: 10px;
  max-width: 460px;
}

.project-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 6px;
  white-space: nowrap;
}

.project-cta svg {
  width: 16px;
  height: 16px;
  transition: transform .45s var(--ease);
}

@media (hover:hover) {

  .project-card:hover .project-media,
  .project-card:focus-visible .project-media {
    border-color: var(--line-gold);
    transform: translateY(-6px);
    box-shadow: 0 34px 60px -34px rgba(241, 160, 25, 0.35);
  }

  .project-card:hover .project-media img,
  .project-card:focus-visible .project-media img {
    transform: scale(1.05);
  }

  .project-card:hover .project-overlay {
    background: linear-gradient(0deg, rgba(10, 9, 8, 0.5), rgba(241, 160, 25, 0.14));
  }

  .project-card:hover .project-badge {
    background: var(--gold);
    color: #0A0908;
  }

  .project-card:hover .project-badge svg {
    transform: translate(3px, -3px);
  }

  .project-card:hover .project-cta svg {
    transform: translateX(6px);
  }

  .project-card:hover .project-info h3 {
    color: var(--gold-light);
  }
}

/* ---------- Placeholder when an image is missing ---------- */
.img-missing {
  background: linear-gradient(150deg, #1A1613, #3d3624 80%);
}

.img-missing .ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 5vw, 56px);
  color: var(--gold);
  opacity: .55;
}

/* ---------- Process ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline-fill {
  position: absolute;
  left: 19px;
  top: 0;
  width: 1px;
  height: 0%;
  background: linear-gradient(var(--gold), var(--gold-light));
  box-shadow: 0 0 12px var(--gold);
}

.t-step {
  position: relative;
  padding: 0 0 64px 64px;
}

.t-step:last-child {
  padding-bottom: 0;
}

.t-dot {
  position: absolute;
  left: 11px;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--obsidian);
  border: 1px solid var(--line-gold);
}

.t-step.active .t-dot {
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}

.t-step .eyebrow {
  margin-bottom: 8px;
}

.t-step h3 {
  font-size: 24px;
}

.t-step p {
  margin-top: 10px;
  max-width: 460px;
  font-size: 14.5px;
}

/* ---------- Testimonials ---------- */
.testimonial {
  padding: 120px 0;
  text-align: center;
  background: var(--obsidian-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.t-slide {
  display: none;
  max-width: 820px;
  margin: 0 auto;
}

.t-slide.active {
  display: block;
}

.t-slide blockquote {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3.4vw, 38px);
  line-height: 1.4;
  color: var(--ivory);
  margin: 0;
}

.t-slide .who {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--ivory-dim);
  font-family: 'JetBrains Mono';
}

.t-slide .who span {
  color: var(--gold);
}

.t-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 34px;
}

.t-dots button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}

.t-dots button::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--line);
  transition: background .3s, transform .3s;
}

.t-dots button.active::before {
  background: var(--gold);
  transform: scale(1.3);
}

/* ---------- Our Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.team-grid>.team-card:last-child:nth-child(3n+1) {
  grid-column: 2;
}

/* lone last card sits centred */
.team-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--obsidian-2);
  transition: border-color .5s, transform .6s var(--ease), box-shadow .6s;
}

.team-photo {
  position: relative;
  aspect-ratio: 11/10;
  overflow: hidden;
  background: var(--obsidian-3);
}

.team-photo-inner {
  position: absolute;
  inset: 0;
}

.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .9s var(--ease);
}

.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 9, 8, 0.45), transparent 45%);
  pointer-events: none;
  transition: background .6s;
}

.team-info {
  padding: 24px 26px 28px;
}

.team-info::before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 18px;
  transition: width .5s var(--ease);
}

.team-info h3 {
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.2;
  font-weight: 600;
  transition: color .4s;
}

.team-info .role {
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (hover:hover) {
  .team-card:hover {
    border-color: var(--line-gold);
    transform: translateY(-6px);
    box-shadow: 0 30px 55px -35px rgba(241, 160, 25, 0.35);
  }

  .team-card:hover .team-photo img {
    transform: scale(1.05);
  }

  .team-card:hover .team-photo::after {
    background: linear-gradient(0deg, rgba(10, 9, 8, 0.35), rgba(241, 160, 25, 0.1));
  }

  .team-card:hover .team-info::before {
    width: 72px;
  }

  .team-card:hover .team-info h3 {
    color: var(--gold-light);
  }
}

/* ---------- Contact ---------- */
.cta-section {
  padding: 150px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  max-width: 140vw;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(241, 160, 25, 0.16), transparent 70%);
}

.cta-section h2 {
  font-size: clamp(34px, 6vw, 70px);
  position: relative;
  z-index: 2;
}

.cta-section .hero-sub,
.cta-section .hero-cta {
  position: relative;
  z-index: 2;
}

.cta-section .btn {
  word-break: break-all;
}

.form-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ivory-dim);
  position: relative;
  z-index: 2;
}

/* ---------- Footer ---------- */
footer {
  padding: 70px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.footer-top p {
  font-size: 14px;
  max-width: 300px;
  margin-top: 16px;
}

.footer-col .footer-heading {
  font-family: 'JetBrains Mono';
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  line-height: 1.4;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--ivory-dim);
  transition: color .3s;
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: var(--gold);
}

.newsletter {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-top: 20px;
  padding-bottom: 10px;
  max-width: 300px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--ivory);
  font-family: 'Inter';
  font-size: 14px;
  padding: 8px 0;
}

.newsletter input:focus {
  outline: none;
}

.newsletter:focus-within {
  border-bottom-color: var(--gold);
}

.newsletter button {
  background: none;
  border: none;
  color: var(--gold);
  font-family: 'JetBrains Mono';
  font-size: 12px;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 34px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ivory-dim);
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width:921px) {
  .footer-top:has(> #socialCol[hidden]) {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }
}

/* ---------- Responsive ---------- */

@media (max-width:920px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 32px;
    right: 32px;
    margin-top: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    background: rgba(18, 16, 16, 0.97);
    border: 1px solid rgba(241, 160, 25, 0.2);
    border-radius: 16px;
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }

  nav ul.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
  }

  nav ul a {
    display: block;
    padding: 14px 12px;
    font-size: 16px;
    color: var(--ivory);
  }

  nav ul a::after {
    display: none;
  }

  .nav-links {
    gap: 18px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .stat:nth-child(3) {
    border-left: none;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-card.big,
  .bento-card.wide {
    grid-column: span 2;
  }

  .project-info {
    padding-top: 22px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  section.pad {
    padding: 90px 0;
  }

  .cta-section {
    padding: 110px 0;
  }
}

@media (max-width:920px) {
  .team-grid {
    gap: 16px;
  }

  .team-info {
    padding: 18px 18px 22px;
  }

  .team-info::before {
    width: 40px;
    margin-bottom: 14px;
  }

  .team-card:hover .team-info::before {
    width: 56px;
  }

  .team-info h3 {
    font-size: 20px;
  }

  .team-info .role {
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
}

@media (max-width:767px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .team-grid>.team-card:last-child:nth-child(3n+1) {
    grid-column: auto;
  }

  .team-info {
    padding: 22px 22px 26px;
  }

  .team-info::before {
    width: 44px;
    height: 2px;
    margin-bottom: 15px;
  }

  .team-card:hover .team-info::before {
    width: 64px;
  }

  .team-info h3 {
    font-size: 22px;
  }

  .team-info .role {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .project-info {
    flex-direction: column;
    gap: 14px;
  }

  .project-cta {
    padding-top: 0;
  }
}

@media (max-width:600px) {
  .nav-links>.btn {
    display: none;
  }

  .nav-cta-item {
    display: block;
  }

  nav ul .btn {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    padding: 14px 26px;
    font-size: 14px;
  }
}

@media (max-width:520px) {
  .wrap {
    padding: 0 20px;
  }

  nav ul {
    left: 20px;
    right: 20px;
  }

  .logo-mark {
    width: 200px;
    height: 60px;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(230px, auto);
  }

  .bento-card.big,
  .bento-card.wide {
    grid-column: span 1;
  }

  .bento-card.big {
    grid-row: span 1;
    min-height: 340px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 0 10px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 120px;
  }

  .project-badge {
    width: 46px;
    height: 46px;
    top: 16px;
    right: 16px;
  }

  section.pad {
    padding: 76px 0;
  }

  .testimonial {
    padding: 90px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }
}