/* Controlled visual refresh: monochrome, cobalt, and editorial geometry. */
:root {
  --ink: #111113;
  --paper: #f4f1e8;
  --blue: #023e8a;
  --line: #c8c4ba;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Futura", "Montserrat", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 232, 0.96);
  backdrop-filter: blur(12px);
}

.topbar {
  width: min(94%, 1440px);
  height: 100px;
}

.wordmark strong {
  font-family: "Futura", "Montserrat", sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wordmark img {
  display: block;
  width: min(400px, 33vw);
  height: auto;
  max-height: 88px;
  object-fit: contain;
  object-position: left center;
}

.wordmark {
  align-items: center;
  position: relative;
  left: clamp(
    calc(16px - max(3vw, calc(50vw - 720px))),
    max(-84px, min(-3vw, calc(720px - 50vw))),
    0px
  );
}

.nav-links { gap: 0; }

.nav-links a {
  border-left: 1px solid var(--line);
  padding: 0.6rem 1.25rem;
  font-weight: 400;
}

.nav-links a::after { display: none; }

.nav-links a:hover { color: var(--blue); }

#about,
#work {
  scroll-margin-top: 110px;
}

.nav-links a[aria-current="location"] {
  color: var(--blue);
  font-weight: 800;
}

.hero {
  width: min(94%, 1440px);
  min-height: auto;
  display: block;
  padding: 3.5rem 0 4.5rem;
}

.hero {
  overflow: visible;
}

.hero-video-frame {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--blue);
}

.hero-video-ratio {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.hero-video-frame iframe,
.hero-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 0;
}

.eyebrow {
  margin-bottom: 2.25rem;
  font-size: 0.68rem;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  background: var(--blue);
}

.hero h1 {
  max-width: 860px;
  font-family: "Futura", "Montserrat", sans-serif;
  font-size: clamp(4.8rem, 9.5vw, 9rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.hero h1 em {
  color: var(--blue);
  font-family: "DM Serif Display", serif;
  font-weight: 400;
}

.hero-footer {
  max-width: 620px;
  margin-top: 3rem;
  align-items: center;
}

.hero-footer > p {
  max-width: 390px;
  font-size: 1.02rem;
  line-height: 1.55;
}

.circle-link {
  width: 104px;
  height: 104px;
  flex-basis: 104px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
}

.circle-link:hover {
  transform: none;
  background: var(--blue);
  color: white;
}

.hero-media {
  height: 580px;
  border: 1px solid var(--ink);
}

.hero-media::before,
.hero-media::after,
.hero-media > p {
  display: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  margin: 0;
  filter: grayscale(0.15) contrast(1.08);
}

.art-index {
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-family: "Futura", "Montserrat", sans-serif;
  font-size: 0.72rem;
  -webkit-text-stroke: 0;
}

.ticker {
  border: 0;
  background: var(--blue);
}

.ticker-track {
  justify-content: space-around;
  animation: none;
  gap: 2.5rem;
  padding: 0.95rem 2rem;
  color: white;
}

.ticker-track span {
  font-family: "Futura", "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-section {
  width: min(94%, 1440px);
  padding: 7.5rem 0 9rem;
}

.section-heading {
  grid-template-columns: 0.28fr 0.72fr;
  align-items: end;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2.5rem;
}

.section-heading p,
.about-number {
  color: var(--blue);
}

.section-heading h2,
.about-copy h2 {
  font-family: "Futura", "Montserrat", sans-serif;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.project-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.project-large { grid-column: 1 / span 7; }
.project-offset { grid-column: 8 / span 5; margin-top: 9rem; }
.project-wide { grid-column: 4 / span 9; width: 100%; margin: 7rem 0 0; }

.project-image {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
  border: 0;
  background: #ddd8cd;
}

.project-image img {
  filter: grayscale(0.55) contrast(1.12);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease;
}

.project:hover .project-image {
  transform: translateY(-6px);
  box-shadow: 8px 8px 0 var(--blue);
}

.project:hover .project-image img {
  transform: scale(1.045);
  filter: grayscale(0) contrast(1.03);
}

.project-large .project-image img { height: 560px; }
.project-offset .project-image img { height: 390px; }
.project-wide .project-image img { height: 480px; }

.project-meta {
  border-top: 1px solid var(--ink);
  margin-top: 0.75rem;
}

.project-meta h3 {
  font-family: "Futura", "Montserrat", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about-section {
  grid-template-columns: 0.16fr 0.84fr;
  padding: 7.5rem max(3%, calc((100% - 1440px) / 2));
  background: var(--ink);
}

.about-copy h2 em {
  color: var(--blue);
  font-family: "DM Serif Display", serif;
  font-weight: 400;
}

.skill-row span {
  border-radius: 0;
  border-color: #77777d;
}

.contact-section {
  width: min(94%, 1440px);
  min-height: 420px;
}

.contact-section p { color: var(--blue); }

.contact-section a {
  border-bottom-width: 2px;
  font-family: "Futura", "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.contact-section a i { color: var(--blue); }
.contact-section a:hover { color: var(--blue); border-color: var(--blue); }

.site-footer {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  border-top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem 0 0.5rem;
}

.site-footer .footer-name {
  width: min(100%, 520px);
  height: 180px;
  object-fit: cover;
  object-position: center 53%;
  justify-self: center;
  margin: 0;
}

.footer-contact {
  background: var(--blue);
  color: white;
}

.footer-details {
  width: min(100%, 1440px);
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem max(3%, calc((100% - 1440px) / 2));
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-details a,
.footer-details .footer-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-details a {
  color: white;
  text-decoration: none;
}

.footer-details a:hover {
  color: var(--paper);
}

.footer-details i {
  color: white;
}

.site-footer .footer-year {
  margin: 0;
  color: #aaa7a0;
  font-size: 0.82rem !important;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.footer-links a {
  width: 46px;
  height: 46px;
  display: grid !important;
  place-items: center;
  opacity: 1 !important;
  visibility: visible !important;
  border: 1px solid rgba(244, 241, 232, 0.55);
  border-radius: 50%;
  color: var(--paper) !important;
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.footer-links a i {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: inherit;
}

.footer-links a:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: white !important;
}

@media (max-width: 980px) {
  .wordmark { left: 0; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-video-frame { width: 100%; }

  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-large,
  .project-offset,
  .project-wide { grid-column: auto; width: 100%; margin: 0; }
  .project-wide { margin-top: 2.5rem; }
}

@media (max-width: 680px) {
  .site-footer {
    min-height: 90px;
    gap: 0.75rem;
    text-align: center;
    padding: 1.25rem 0 0.75rem;
  }

  .footer-details {
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.25rem 1rem;
  }

  .footer-details a {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .footer-details a span {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .footer-details .footer-location {
    max-width: 100%;
  }

  .site-footer .footer-name {
    width: min(220px, 65%);
    height: 60px;
  }
  .footer-year { order: 2; }
  .footer-links { justify-content: center; order: 3; }

  .topbar { width: calc(100% - 2rem); height: 66px; }
  .nav-links a { border-left: 0; }

  .hero { width: calc(100% - 2rem); min-height: auto; padding: 2rem 0 3.5rem; }
  .hero-video-frame { width: 100%; }
  .ticker-track { justify-content: flex-start; }
  .ticker-track span:nth-of-type(n+4),
  .ticker-track b:nth-of-type(n+4) { display: none; }

  .work-section { width: calc(100% - 2rem); }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading h2 { font-size: 3.4rem; }

  .project-grid { grid-template-columns: 1fr; }
  .project-large,
  .project-offset,
  .project-wide { grid-column: auto; margin: 0; }
  .project-grid { gap: 3.5rem; }

  .project-large .project-image img,
  .project-offset .project-image img,
  .project-wide .project-image img {
    height: auto;
    object-fit: contain;
  }

  .about-section { grid-template-columns: 1fr; padding: 5.5rem 1rem; }
  .about-copy h2 { font-size: 3.5rem; }

  .contact-section { width: calc(100% - 2rem); }
  .contact-section a { font-size: 3rem; }

  .site-footer { padding-left: 1rem; padding-right: 1rem; }
  .wordmark img {
    width: min(210px, 35vw);
    max-height: 55px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-image,
  .project-image img {
    transition: none;
  }

  .project:hover .project-image,
  .project:hover .project-image img {
    transform: none;
  }
}
