/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
  --paper: #e4d8bb;
  --paper-light: #eee5d1;
  --paper-dark: #cdbd9e;

  --ink: #25241e;
  --forest: #304236;
  --rust: #8b3d2e;
  --mustard: #a88438;
  --faded: #746752;

  --display: "Oswald", "Arial Narrow", sans-serif;
  --narrow: "Archivo Narrow", "Arial Narrow", sans-serif;
  --type: "Special Elite", Courier, monospace;
}


/* ==========================================================================
   RESET / GLOBAL
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--narrow);
  font-size: 18px;
  line-height: 1.45;

  /* Subtle printed-paper texture */
  background-image:
    radial-gradient(
      rgba(37, 36, 30, 0.06) 0.7px,
      transparent 0.7px
    ),
    linear-gradient(
      rgba(37, 36, 30, 0.025) 1px,
      transparent 1px
    );

  background-size: 6px 6px, 100% 5px;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;

  padding: 0.75rem;

  background: var(--ink);
  color: var(--paper);
}


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.brand-meta,
.nav,
.eyebrow,
.project-no,
.job-kicker,
.tools-strip,
.section-bar,
.plate-top,
.plate-bottom,
.plate-coord {
  font: 700 12px / 1.2 var(--narrow);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-intro h2,
.experience-head h2,
.cap-intro h2,
.contact-copy h2 {
  margin: 0.35rem 0 1.5rem;

  font: 700 clamp(58px, 8vw, 128px) / 0.88 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.section-intro h2,
.experience-head h2,
.cap-intro h2,
.contact-copy h2 {
  font-size: clamp(52px, 6.5vw, 96px);
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;

  min-height: 86px;
  padding: 18px 5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  border-bottom: 5px solid var(--ink);

  background: rgba(228, 216, 187, 0.96);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-name {
  font: 700 32px / 1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.brand-rule {
  display: inline-block;

  width: 44px;
  height: 4px;

  background: var(--rust);
}

.nav {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap;
}

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


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  max-width: 1400px;
  min-height: 700px;
  margin: auto;
  padding: 8vw 5vw 7vw;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5vw;
  align-items: center;
}

.hero-copy h1 span {
  color: var(--rust);
}

.hero-lead {
  max-width: 610px;
  font-size: 22px;
}

.route-link {
  display: inline-block;

  margin-top: 1.25rem;
  padding: 0.3rem 0;

  border-bottom: 4px solid var(--ink);

  font: 700 17px var(--narrow);
  letter-spacing: 0.08em;
}

.route-link:hover {
  color: var(--rust);
  border-color: var(--rust);
}


/* ==========================================================================
   HERO GRAPHIC
   ========================================================================== */

.hero-graphic {
  position: relative;
  overflow: hidden;

  min-height: 510px;

  border: 6px solid var(--ink);
  box-shadow: 12px 12px 0 var(--rust);

  background: var(--forest);
  color: var(--paper);
}

.survey-stamp {
  position: absolute;
  top: 7%;
  right: 8%;

  width: 120px;
  height: 120px;

  display: grid;
  place-items: center;

  border: 3px solid var(--paper);
  border-radius: 50%;

  text-align: center;

  font: 700 40px / 0.8 var(--display);

  transform: rotate(8deg);
}

.survey-stamp small {
  font: 700 10px var(--narrow);
  letter-spacing: 0.12em;
}

.plate-number {
  position: absolute;
  top: 8%;
  left: 7%;

  font: 700 18px var(--display);
  letter-spacing: 0.1em;
}

.arrow-mark {
  position: absolute;
  right: 8%;
  bottom: 12%;

  font: 700 120px / 0.8 var(--display);
}

.hero-note {
  position: absolute;
  left: 7%;
  bottom: 11%;

  color: var(--paper-light);

  font: 400 20px / 1.05 var(--type);

  transform: rotate(-5deg);
}

.topo {
  position: absolute;

  width: 470px;
  height: 300px;

  border: 2px solid rgba(238, 229, 209, 0.45);
  border-radius: 50%;

  transform: rotate(-22deg);
}

.topo-a {
  top: 100px;
  left: -120px;
}

.topo-b {
  top: 160px;
  left: -40px;

  width: 550px;
  height: 350px;
}


/* ==========================================================================
   SECTION BAR
   ========================================================================== */

.section-bar {
  padding: 13px 5vw;

  display: flex;
  justify-content: space-between;
  gap: 1rem;

  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);

  background: var(--ink);
  color: var(--paper);
}


/* ==========================================================================
   SHARED SECTIONS
   ========================================================================== */

.work-section,
.experience-section,
.capabilities-section,
.contact-section {
  max-width: 1400px;
  margin: auto;
  padding: 7vw 5vw;
}


/* ==========================================================================
   WORK / PROJECTS
   ========================================================================== */

.section-intro {
  max-width: 700px;
  margin-bottom: 4rem;
}

.section-intro p:last-child {
  max-width: 620px;
  font-size: 21px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 3rem;
}

.project-card {
  padding-top: 0;
  border-top: 7px solid var(--ink);
}


/* Project image */

.project-image {
  position: relative;
  overflow: hidden;

  aspect-ratio: 16 / 10;

  border-bottom: 3px solid var(--ink);

  background: var(--forest);
}

.project-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 300ms ease,
    filter 300ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.025);
}


/* Legacy / decorative project artwork */

.project-art {
  position: relative;
  overflow: hidden;

  height: 390px;
  margin-bottom: 1.4rem;

  border: 3px solid var(--ink);
}

.art-label {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 18px;

  font: 700 12px var(--narrow);
  letter-spacing: 0.12em;
}


/* Bank artwork */

.art-bank .art-kc {
  position: absolute;
  bottom: 4%;
  left: 8%;

  font: 700 190px / 0.75 var(--display);
  letter-spacing: -0.08em;
}

.art-lines {
  position: absolute;
  top: 15%;
  right: -10%;

  width: 70%;
  height: 70%;

  border: 5px solid var(--paper);

  opacity: 0.8;

  transform: rotate(-8deg);
}


/* Web artwork */

.art-web {
  background: var(--paper-light);
}

.web-type {
  position: absolute;
  bottom: 9%;
  left: 7%;

  font: 700 72px / 0.83 var(--display);
}

.web-box {
  position: absolute;

  border: 5px solid var(--ink);
  background: var(--mustard);
}

.web-box.one {
  top: 20%;
  right: 7%;

  width: 38%;
  height: 24%;
}

.web-box.two {
  top: 47%;
  right: 22%;

  width: 24%;
  height: 18%;

  background: var(--forest);
}

.web-box.three {
  right: 7%;
  bottom: 16%;

  width: 44%;
  height: 10%;

  background: transparent;
}


/* Campaign artwork */

.art-campaign {
  background: var(--forest);
  color: var(--paper);
}

.campaign-big {
  position: absolute;
  bottom: 8%;
  left: 7%;

  font: 700 84px / 0.78 var(--display);
}

.campaign-arrow {
  position: absolute;
  top: 37%;
  right: 7%;

  color: var(--rust);

  font: 700 110px var(--display);
}


/* Brand artwork */

.art-brand {
  background: var(--mustard);
}

.kc-mark {
  position: absolute;
  bottom: 0;
  left: 7%;

  font: 700 210px / 0.72 var(--display);
}

.brand-sign {
  position: absolute;
  top: 40%;
  right: 7%;

  text-align: right;

  font: 700 44px / 0.86 var(--display);
}


/* Project information */

.project-info h3,
.job-body h3,
.cap-item h3 {
  margin: 0.35rem 0 0.7rem;

  font: 700 34px / 1 var(--display);
  text-transform: uppercase;
}

.project-info p {
  max-width: 620px;
}

.project-meta {
  margin-top: 1.25rem;
  padding-top: 0.7rem;

  display: flex;
  justify-content: space-between;
  gap: 1rem;

  border-top: 2px solid var(--ink);

  font: 700 11px var(--narrow);
  letter-spacing: 0.09em;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  margin-top: 1.25rem;
  padding: 10px 14px;

  border: 2px solid var(--ink);

  background: transparent;
  color: var(--ink);

  font-family: var(--narrow);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;

  transition:
    background-color 150ms ease,
    color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.project-link span {
  font-size: 1.2rem;
  line-height: 1;
}

.project-link:hover {
  background: var(--rust);
  color: var(--paper);
  border-color: var(--rust);

  transform: translate(3px, -3px);
}

.section-note {
  margin-top: 4rem;

  color: var(--faded);

  font: 400 14px var(--type);
}


/* ==========================================================================
   EXPERIENCE
   ========================================================================== */

.experience-section {
  max-width: none;

  padding-right: calc(
    5vw + max(0px, (100vw - 1400px) / 2)
  );
  padding-left: calc(
    5vw + max(0px, (100vw - 1400px) / 2)
  );

  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);

  background: var(--paper-light);
}

.experience-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: end;
}

.experience-lead {
  max-width: 570px;
  font-size: 21px;
}

.timeline {
  margin-top: 5rem;
  border-left: 5px solid var(--ink);
}

.job {
  position: relative;

  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;

  padding: 0 0 3rem 2rem;
}

.job::before {
  content: "";

  position: absolute;
  top: 2px;
  left: -13px;

  width: 17px;
  height: 17px;

  border: 3px solid var(--ink);
  border-radius: 50%;

  background: var(--rust);
}

.job-date {
  font: 700 15px var(--display);
  letter-spacing: 0.04em;
}

.job-body {
  max-width: 800px;
}

.job.current .job-body h3 {
  color: var(--rust);
}

.education {
  display: flex;
  align-items: center;
  gap: 2rem;

  margin-left: 2rem;
  padding-top: 2rem;

  border-top: 3px solid var(--ink);
}

.stamp {
  display: inline-block;

  padding: 0.45rem 0.7rem;

  border: 3px solid var(--rust);

  color: var(--rust);

  font: 700 12px var(--narrow);
  letter-spacing: 0.12em;

  transform: rotate(-2deg);
}


/* ==========================================================================
   CAPABILITIES
   ========================================================================== */

.capabilities-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 5vw;
  align-items: start;
}

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  border-top: 4px solid var(--ink);
}

.cap-item {
  min-height: 190px;
  padding: 1.4rem 1rem 1.6rem 0;

  border-bottom: 2px solid var(--ink);
}

.cap-item:nth-child(odd) {
  padding-right: 2rem;
  border-right: 2px solid var(--ink);
}

.cap-item:nth-child(even) {
  padding-left: 2rem;
}

.cap-item span {
  color: var(--rust);

  font: 700 12px var(--type);
}

.cap-item h3 {
  font-size: 27px;
}

.cap-item p {
  font-size: 16px;
}

.tools-strip {
  grid-column: 1 / -1;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;

  margin-top: 2rem;
  padding: 1rem 0;

  border-top: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
}

.tools-strip span {
  color: var(--rust);
}


/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6vw;
  align-items: center;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 580px;
  font-size: 21px;
}

.contact-mark {
  position: relative;

  display: inline-block;

  margin: 0.5rem 0 1rem;
  padding: 1.5rem 2rem;
}

.contact-email {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 25px;

  padding: 18px 22px;

  border: 3px solid var(--ink);

  background: var(--paper);

  font: 700 15px var(--narrow);
  letter-spacing: 0.08em;
}

.contact-email span {
  font-size: 24px;
}


/* Hand-drawn circle */

.sharpie-circle {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;

  width: 118%;
  height: 155%;

  overflow: visible;
  pointer-events: none;

  transform: translate(-50%, -50%) rotate(-2deg);
}

.sharpie-stroke {
  fill: none;
  stroke: var(--rust);
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;

  opacity: 0;
}

.sharpie-heavy {
  stroke-width: 13px;
  opacity: 0;
}

.contact-mark:hover .sharpie-stroke {
  opacity: 0.88;
  animation: sharpie-draw 1.15s cubic-bezier(0.22, 0.7, 0.35, 1) forwards;
}

.contact-mark:hover .sharpie-heavy {
  opacity: 0.15;
  animation: sharpie-draw 1.15s cubic-bezier(0.22, 0.7, 0.35, 1) forwards;
}

.contact-mark:not(:hover) .sharpie-stroke {
  animation: none;
  stroke-dashoffset: 1000;
}

@keyframes sharpie-draw {
  from {
    stroke-dashoffset: 1000;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;

  padding-top: 1rem;

  border-top: 2px solid var(--ink);

  font: 700 11px var(--narrow);
  letter-spacing: 0.1em;
}

.contact-meta a:hover {
  color: var(--rust);
}


/* Contact plate */

.contact-plate {
  position: relative;
  overflow: hidden;

  min-height: 480px;
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border: 6px solid var(--ink);
  box-shadow: 12px 12px 0 var(--forest);

  background: var(--rust);
  color: var(--paper);
}

.plate-kc {
  font: 700 260px / 0.7 var(--display);
  letter-spacing: -0.08em;
}

.plate-top,
.plate-bottom {
  font-size: 15px;
}

.plate-coord {
  font-size: 10px;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding: 22px 5vw;

  display: flex;
  justify-content: space-between;
  gap: 1rem;

  background: var(--ink);
  color: var(--paper);

  font: 700 11px var(--narrow);
  letter-spacing: 0.1em;
}


/* ==========================================================================
   BACK TO TOP
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border: 2px solid var(--ink);

  background: var(--rust);
  color: var(--paper);

  font: 700 24px var(--display);
}

.back-to-top:hover {
  background: var(--forest);
}


/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 900px) {
  .site-header {
    position: static;

    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 0.8rem;
  }

  .hero,
  .contact-section,
  .capabilities-section,
  .experience-head {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 12vw;
  }

  .hero-graphic {
    min-height: 420px;
  }

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

  .project-art {
    height: 330px;
  }

  .experience-head {
    gap: 1rem;
  }

  .job {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

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

  .cap-item:nth-child(odd) {
    padding-right: 0;
    border-right: 0;
  }

  .cap-item:nth-child(even) {
    padding-left: 0;
  }

  .contact-plate {
    min-height: 360px;
  }

  .plate-kc {
    font-size: 190px;
  }
}


/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .brand-name {
    font-size: 27px;
  }

  .nav {
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 55px;
  }

  .section-bar {
    font-size: 10px;
  }

  .project-art {
    height: 280px;
  }

  .art-bank .art-kc,
  .kc-mark {
    font-size: 140px;
  }

  .campaign-big,
  .web-type {
    font-size: 58px;
  }

  .contact-copy h2 {
    font-size: 56px;
  }

  .contact-email {
    padding: 15px;
    font-size: 12px;
  }

  .contact-mark {
    padding: 1rem;
  }

  .site-footer {
    flex-direction: column;
  }
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

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

  .sharpie-stroke {
    animation: none !important;
    stroke-dashoffset: 0;
  }

  .contact-mark:hover .sharpie-stroke {
    opacity: 0.88;
  }

  .contact-mark:hover .sharpie-heavy {
    opacity: 0.15;
  }
}


/* ==========================================================================
   CROSSHAIR CURSOR
   ========================================================================== */

html,
body,
a,
button,
input,
textarea,
select {
  cursor: crosshair;
}