:root {
  --ink: #071c27;
  --ink-soft: #0c2d38;
  --teal: #079da5;
  --teal-bright: #22c6c7;
  --gold: #e4b53e;
  --gold-light: #ffd96a;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --mist: #dce6e5;
  --line: rgba(7, 28, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 88px;
  padding: 0 clamp(20px, 4vw, 68px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(7, 28, 39, 0.1);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
  color: var(--ink);
}

.brand {
  width: clamp(170px, 18vw, 260px);
}

.brand img {
  width: 100%;
  filter: drop-shadow(0 4px 14px rgba(7, 28, 39, 0.12));
}

.desktop-nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a,
.footer-links a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--gold-light);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid rgba(7, 28, 39, 0.38);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.header-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 790px;
  height: 94vh;
  max-height: 980px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("../assets/studio-imagine-portfolio-banner.png") center center / cover no-repeat;
  transform: scale(1.012);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 20, 28, 0.94) 0%, rgba(4, 20, 28, 0.76) 36%, rgba(4, 20, 28, 0.12) 72%),
    linear-gradient(0deg, rgba(4, 20, 28, 0.78) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(730px, 82vw);
  margin-left: clamp(24px, 8vw, 140px);
  padding-top: 80px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.eyebrow.dark {
  justify-content: center;
  color: rgba(7, 28, 39, 0.6);
}

.hero h1,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(68px, 8.3vw, 128px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.hero h1 em,
.contact h2 em,
.display-copy em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero-copy {
  max-width: 580px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--gold-light);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: var(--teal);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 0;
  font-size: 13px;
  font-weight: 650;
}

.hero-index {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 70px);
  bottom: 30px;
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-index span + span::before {
  content: "•";
  margin-right: 20px;
  color: var(--gold);
}

.section-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.section-label {
  display: flex;
  gap: 17px;
  align-items: center;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label span {
  color: var(--teal);
}

.section-label.light {
  color: rgba(255, 255, 255, 0.64);
}

.section-label.light span {
  color: var(--gold-light);
}

.manifesto {
  position: relative;
  display: grid;
  grid-template-columns: 0.42fr 1.3fr;
  gap: 70px;
  padding-top: 126px;
  padding-bottom: 132px;
  overflow: hidden;
}

.manifesto-copy {
  max-width: 830px;
}

.display-copy {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.6vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.display-copy em {
  color: var(--teal);
}

.body-copy {
  max-width: 620px;
  margin: 35px 0 25px;
  color: #53666d;
  font-size: 17px;
  line-height: 1.8;
}

.underlined-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.services {
  position: relative;
  padding: 116px 0 126px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.45fr 1.3fr;
  gap: 70px;
  align-items: start;
}

.section-heading h2,
.work-heading h2,
.process-intro h2 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.service-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 74px;
}

.service-card {
  position: relative;
  min-height: 335px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(228, 181, 62, 0.7);
  background: rgba(7, 157, 165, 0.1);
}

.service-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(228, 181, 62, 0.55);
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 30px;
}

.service-number {
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.service-card h3 {
  margin: 55px 0 17px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
}

.service-card p {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.75;
}

.card-arrow {
  position: absolute;
  right: 30px;
  bottom: 28px;
  color: var(--gold-light);
  font-size: 20px;
}

.gold-rule {
  position: absolute;
  width: 300px;
  height: 300px;
  right: -160px;
  bottom: -170px;
  border: 1px solid rgba(228, 181, 62, 0.2);
  transform: rotate(45deg);
}

.work {
  padding-top: 126px;
  padding-bottom: 136px;
}

.work-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 80px;
  align-items: end;
}

.work-heading h2 {
  margin-top: 28px;
}

.work-heading > p {
  margin: 0 0 8px;
  color: #5e7076;
  font-size: 16px;
  line-height: 1.75;
}

.portfolio-stage {
  position: relative;
  margin-top: 64px;
  padding: 12px;
  background: var(--ink);
  box-shadow: 0 28px 80px rgba(7, 28, 39, 0.18);
}

.portfolio-stage img {
  width: 100%;
  aspect-ratio: 2.4 / 1;
  object-fit: cover;
}

.portfolio-caption {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 7px;
  left: 30px;
  bottom: 28px;
  padding: 17px 20px;
  background: rgba(7, 28, 39, 0.88);
  color: white;
  backdrop-filter: blur(12px);
}

.portfolio-caption span {
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portfolio-caption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
}

.work-list {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.work-row {
  display: grid;
  grid-template-columns: 12px 42px 1.2fr 0.8fr auto;
  gap: 22px;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, color 180ms ease;
}

.work-row:hover {
  padding-inline: 12px;
  color: var(--teal);
}

.work-swatch {
  width: 9px;
  height: 9px;
  background: var(--gold);
}

.work-swatch.red {
  background: #d6322f;
}

.work-swatch.green {
  background: #396956;
}

.work-swatch.teal {
  background: var(--teal);
}

.work-count {
  color: #829195;
  font-size: 10px;
}

.work-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.2vw, 31px);
  font-weight: 400;
}

.work-row > span:nth-last-child(2) {
  color: #6f7e82;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process {
  position: relative;
  overflow: hidden;
  padding: 126px 0;
  background: var(--teal);
  color: white;
}

.process > .section-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 110px;
}

.process-intro h2 {
  margin-top: 28px;
}

.process-intro > p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.process-list > li > span {
  padding-top: 8px;
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.process-list h3 {
  margin: 0 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.process-list p {
  max-width: 530px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.65;
}

.process-orbit {
  position: absolute;
  left: -230px;
  bottom: -360px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.process-orbit span {
  position: absolute;
  inset: 110px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.process-orbit i {
  position: absolute;
  top: 80px;
  right: 120px;
  width: 18px;
  height: 18px;
  background: var(--gold);
}

.contact {
  position: relative;
  padding-top: 140px;
  padding-bottom: 150px;
  text-align: center;
  overflow: hidden;
}

.contact h2 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(57px, 8vw, 112px);
}

.contact h2 em {
  display: block;
  color: var(--teal);
}

.contact > p:not(.eyebrow) {
  max-width: 620px;
  margin: 34px auto 36px;
  color: #5d6f74;
  font-size: 17px;
  line-height: 1.75;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding: 70px clamp(24px, 6vw, 100px) 28px;
  background: var(--ink);
  color: white;
}

.footer-brand img {
  width: min(300px, 65vw);
}

.footer-brand p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.52);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 70px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-links span {
  margin-bottom: 7px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.67);
  font-size: 14px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.pixel-cluster {
  display: grid;
  grid-template-columns: repeat(3, 9px);
  gap: 5px;
  width: max-content;
}

.pixel-cluster i {
  width: 9px;
  height: 9px;
  background: var(--gold);
}

.pixel-cluster i:nth-child(2),
.pixel-cluster i:nth-child(4),
.pixel-cluster i:nth-child(8) {
  opacity: 0.34;
}

.pixel-cluster i:nth-child(3),
.pixel-cluster i:nth-child(6) {
  visibility: hidden;
}

.pixel-cluster i:nth-child(7) {
  background: var(--teal-bright);
}

.hero-pixels {
  position: absolute;
  z-index: 2;
  right: 8vw;
  top: 23%;
  transform: scale(1.5);
}

.manifesto-pixels {
  position: absolute;
  right: 0;
  bottom: 84px;
}

.contact-pixels {
  margin: 0 auto 40px;
  transform: scale(1.3);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    display: grid;
    gap: 7px;
    width: 45px;
    height: 45px;
    place-content: center;
    border: 1px solid rgba(7, 28, 39, 0.26);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 20px;
    height: 1px;
    background: var(--ink);
  }

  .mobile-menu nav {
    position: absolute;
    top: 56px;
    right: 0;
    width: 230px;
    display: flex;
    flex-direction: column;
    padding: 14px;
    background: var(--ink);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  }

  .mobile-menu nav a {
    padding: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .manifesto,
  .section-heading,
  .work-heading,
  .process > .section-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 280px;
  }

  .work-heading > p {
    max-width: 520px;
  }

  .process-intro > p {
    max-width: 570px;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 72px;
    padding-inline: 16px;
  }

  .brand {
    width: 165px;
  }

  .hero {
    min-height: 720px;
    height: 92vh;
  }

  .hero-image {
    background-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 20, 28, 0.91), rgba(4, 20, 28, 0.55)),
      linear-gradient(0deg, rgba(4, 20, 28, 0.9), transparent 58%);
  }

  .hero-content {
    width: calc(100% - 34px);
    margin-left: 17px;
  }

  .hero h1 {
    font-size: clamp(58px, 19vw, 78px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-index,
  .hero-pixels {
    display: none;
  }

  .section-shell {
    width: min(100% - 34px, 1240px);
  }

  .manifesto,
  .services,
  .work,
  .process,
  .contact {
    padding-top: 88px;
    padding-bottom: 90px;
  }

  .display-copy {
    font-size: 38px;
  }

  .service-card {
    padding: 25px;
  }

  .portfolio-stage {
    margin-top: 40px;
    padding: 6px;
  }

  .portfolio-stage img {
    aspect-ratio: 1.25 / 1;
    object-position: center;
  }

  .portfolio-caption {
    left: 18px;
    bottom: 16px;
  }

  .work-row {
    grid-template-columns: 10px 30px 1fr auto;
    gap: 10px;
    min-height: 82px;
  }

  .work-row > span:nth-last-child(2) {
    display: none;
  }

  .process > .section-shell {
    gap: 55px;
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
  }

  .contact h2 {
    font-size: 53px;
  }

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

  .footer-links {
    gap: 34px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}
