:root {
  --paper: #f4efe3;
  --paper-deep: #eee5d5;
  --ink: #193eaa;
  --ink-dark: #102c7b;
  --muted: #706c63;
  --line: rgba(25, 62, 170, 0.24);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink-dark);
  background: var(--paper);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  box-shadow: inset 0 0 120px rgba(111, 78, 23, 0.08);
}

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

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

.site-header {
  width: min(1480px, calc(100% - 80px));
  height: 106px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  font-weight: 600;
}

.brand-mark {
  width: 27px;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-mark i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--ink);
  transform-origin: center;
  animation: mark-wave 2.6s ease-in-out infinite;
}

.brand-mark i:nth-child(2) { height: 16px; animation-delay: -0.35s; }
.brand-mark i:nth-child(3) { height: 23px; animation-delay: -0.7s; }
.brand-mark i:nth-child(4) { height: 14px; animation-delay: -1.05s; }
.brand-mark i:nth-child(5) { height: 7px; animation-delay: -1.4s; }

@keyframes mark-wave {
  0%, 100% { transform: scaleY(0.72); }
  50% { transform: scaleY(1); }
}

.primary-nav {
  display: flex;
  gap: 36px;
}

.primary-nav a,
.footer-nav a,
.text-link,
.footer-bottom a {
  position: relative;
}

.primary-nav a::after,
.footer-nav a::after,
.footer-bottom a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transition: right 350ms ease;
}

.primary-nav a:hover::after,
.footer-nav a:hover::after,
.footer-bottom a:hover::after {
  right: 0;
}

.status-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 11px 15px;
  transition: background 250ms ease, color 250ms ease;
}

.status-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(25, 62, 170, 0.09);
  animation: pulse 2.4s ease-out infinite;
}

.status-pill:hover {
  background: var(--ink);
  color: var(--paper);
}

.status-pill:hover span {
  background: var(--paper);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(25, 62, 170, 0.09); }
  50% { box-shadow: 0 0 0 8px rgba(25, 62, 170, 0); }
}

.hero {
  width: min(1480px, calc(100% - 80px));
  min-height: 650px;
  margin: 0 auto;
  padding: 34px 0 0;
  position: relative;
}

.eyebrow {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 7vw;
  align-items: end;
  margin-top: 82px;
}

h1 {
  margin: 0;
  max-width: 1050px;
  font-size: clamp(68px, 8.15vw, 132px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.063em;
}

h1 em {
  font-weight: 400;
  color: var(--ink);
}

.hero-aside {
  padding-bottom: 10px;
}

.hero-aside p {
  margin: 0 0 30px;
  color: #3d4664;
  font-size: 17px;
  line-height: 1.55;
}

.text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.text-link span {
  font-size: 17px;
  transition: transform 250ms ease;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.signal-strip {
  width: min(750px, 60%);
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: auto 1fr 34px 1fr auto;
  gap: 14px;
  align-items: center;
  font-family: var(--sans);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(16, 44, 123, 0.65);
}

.wave {
  height: 27px;
  background-repeat: repeat-x;
  background-position: center;
  background-size: 80px 27px;
  opacity: 0.6;
}

.wave.noisy {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='27' viewBox='0 0 80 27' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 14L5 4l4 20 7-17 6 14 7-19 5 23 8-12 4 8 7-16 6 18 6-14 5 9 10-5' fill='none' stroke='%23193eaa' stroke-width='1'/%3E%3C/svg%3E");
}

.wave.clean {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='27' viewBox='0 0 80 27' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 14c11 0 10-8 20-8s10 15 20 15S51 7 61 7s9 7 19 7' fill='none' stroke='%23193eaa' stroke-width='1'/%3E%3C/svg%3E");
}

.process-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.about {
  width: min(1480px, calc(100% - 80px));
  margin: 0 auto;
  padding: 96px 0 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 7vw;
  border-top: 1px solid var(--line);
}

.about-kicker,
.about-list span {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.about h2 {
  margin: 26px 0 28px;
  max-width: 560px;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.about h2 em {
  font-weight: 400;
  color: var(--ink);
}

.about-intro p {
  margin: 0;
  max-width: 470px;
  color: #3d4664;
  font-size: 17px;
  line-height: 1.55;
}

.about-intro .about-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: end;
}

.about-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.about-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.about-list span {
  color: rgba(16, 44, 123, 0.65);
}

.about-list h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.about-list p {
  margin: 0;
  color: #555d76;
  font-size: 15px;
  line-height: 1.5;
}

.about-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: background 250ms ease, color 250ms ease;
}

.cta-button span {
  font-size: 14px;
  transition: transform 250ms ease;
}

.cta-button:hover {
  background: transparent;
  color: var(--ink);
}

.cta-button:hover span {
  transform: translate(2px, -2px);
}

.about-intro .about-cta p {
  margin: 0;
  max-width: 260px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.work {
  width: min(1480px, calc(100% - 80px));
  margin: 0 auto;
  padding: 0 0 104px;
}

.work h2 {
  margin: 26px 0 40px;
  max-width: 980px;
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.work h2 em {
  font-weight: 400;
  color: var(--ink);
}

.work-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
}

.work-list a {
  display: block;
  height: 100%;
  padding: 22px 0 26px;
  border-top: 1px solid var(--ink);
}

.work-subhead {
  margin: 48px 0 18px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.work-list span {
  font-family: var(--sans);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(16, 44, 123, 0.65);
}

.work-list h3 {
  margin: 16px 0 12px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.work-list h3 i {
  font-style: normal;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  display: inline-block;
  transition: transform 250ms ease;
}

.work-list a:hover h3 i {
  transform: translate(2px, -2px);
}

.work-list p {
  margin: 0;
  color: #555d76;
  font-size: 14px;
  line-height: 1.5;
}

.scene-wrap {
  position: relative;
  width: 100%;
  height: min(72vw, 960px);
  min-height: 720px;
  overflow: hidden;
  border-top: 1px solid rgba(25, 62, 170, 0.06);
  isolation: isolate;
  background: var(--paper);
}

.landscape-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center bottom;
  filter: contrast(1.035) saturate(1.04);
  transform: scale(1.012);
  transform-origin: center bottom;
  will-change: transform;
  animation: landscape-arrive 1.5s cubic-bezier(.16,1,.3,1) both;
}

@keyframes landscape-arrive {
  from { opacity: 0; transform: scale(1.03) translateY(12px); }
  to { opacity: 1; transform: scale(1.012) translateY(0); }
}

#signal-scene {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.scene-fade {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--paper) 0%, rgba(244,239,227,0.86) 7%, rgba(244,239,227,0) 25%),
    linear-gradient(to right, rgba(244,239,227,0.2), transparent 28%, transparent 74%, rgba(244,239,227,0.05));
}

.scene-label {
  font-family: var(--sans);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.scene-label {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(16, 44, 123, 0.72);
  text-shadow: 0 1px 0 rgba(244, 239, 227, 0.8);
}

.scene-label i {
  width: 34px;
  height: 1px;
  display: block;
  background: currentColor;
  transform-origin: right;
  animation: label-breathe 3.8s ease-in-out infinite;
}

@keyframes label-breathe {
  0%, 100% { transform: scaleX(0.72); opacity: 0.45; }
  50% { transform: scaleX(1); opacity: 0.9; }
}

.label-a { left: 18%; bottom: 34%; }
.label-b { left: 52%; bottom: 48%; }
.label-c { right: 13%; bottom: 28%; }

footer {
  position: relative;
  width: min(1480px, calc(100% - 80px));
  margin: 0 auto;
  padding: 88px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-top {
  padding-bottom: 64px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.footer-nav h2 {
  margin: 0 0 24px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-nav a {
  display: table;
  margin: 0 0 12px;
  color: #555d76;
  font-size: 14px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

.footer-bottom span:nth-child(2) { justify-self: center; }
.footer-bottom a { justify-self: end; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 900ms cubic-bezier(.16,1,.3,1) forwards;
}

.reveal-delay-1 { animation-delay: 120ms; }
.reveal-delay-2 { animation-delay: 230ms; }
.reveal-delay-3 { animation-delay: 350ms; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .about,
  .work,
  footer {
    width: min(100% - 36px, 1480px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 82px;
  }

  .primary-nav { display: none; }

  .hero {
    min-height: 590px;
    padding-top: 25px;
  }

  .hero-copy {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-top: 72px;
  }

  h1 {
    font-size: clamp(58px, 15vw, 105px);
    line-height: 0.89;
  }

  .hero-aside { max-width: 330px; margin-left: auto; }
  .signal-strip { width: 100%; margin-top: 54px; }

  .scene-wrap {
    height: 860px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 0 80px;
  }

  .work { padding-bottom: 80px; }
  .work-list { grid-template-columns: 1fr 1fr; }

  footer { padding-top: 64px; }
}

@media (max-width: 560px) {
  .status-pill {
    padding: 10px;
    font-size: 0;
  }

  .hero-copy { margin-top: 58px; }
  .hero-aside { margin-left: 0; }
  .eyebrow span:last-child { display: none; }
  .signal-strip { grid-template-columns: 1fr 28px 1fr; }
  .signal-strip > span { display: none; }
  .process-dot { width: 28px; height: 28px; }
  .scene-wrap { min-height: 700px; height: 118vh; }
  .landscape-art { object-position: 61% bottom; }
  .scene-label { display: none; }
  .about-list li { grid-template-columns: 36px 1fr; row-gap: 8px; }
  .about-list p { grid-column: 2; }
  .work-list { grid-template-columns: 1fr; }
  .work-list a { height: auto; padding: 20px 0 22px; }
  .work-subhead { margin-top: 36px; }
  .footer-nav { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .footer-bottom span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
