/* ==========================================================================
   Fonts (Latin-subsetted WOFF2, self-hosted)
   ========================================================================== */

@font-face {
  font-family: 'AwesomeSerif';
  src: url('../fonts/awesome-serif-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AwesomeSerif';
  src: url('../fonts/awesome-serif-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AwesomeSerif';
  src: url('../fonts/awesome-serif-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AwesomeSerif';
  src: url('../fonts/awesome-serif-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AwesomeSerif Italic';
  src: url('../fonts/awesome-serif-bold-italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'AwesomeSerif Italic Tall';
  src: url('../fonts/awesome-serif-italic-tall.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'AwesomeSerif Extra Tall';
  src: url('../fonts/awesome-serif-light-extratall.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AwesomeSerif Extra Tall';
  src: url('../fonts/awesome-serif-medium-extratall.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AwesomeSerif Italic Extra Tall';
  src: url('../fonts/awesome-serif-light-italic-extratall.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'AwesomeSerif Italic Extra Tall';
  src: url('../fonts/awesome-serif-bold-italic-extratall.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Circular';
  src: url('../fonts/circular-book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/space-mono-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Tokens & Base Reset
   ========================================================================== */

:root {
  --bg-color: #e5d8cf;
  --text-color: #361a07;
  --overlay-color: #fdf4db;
  --button-bg: #d9d9d9;
  --black: #000;
  --accent-red: #ee4957;
  --accent-purple: #a95493;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'AwesomeSerif', Georgia, serif;
  font-size: 20px;
  line-height: 1.4;
}

h1,
h2,
p {
  margin: 0;
}

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

a {
  color: inherit;
}

.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;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.page-wrapper {
  overflow-x: clip;
  padding-block: 100px;
}

.container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 40px;
}

.container--flush {
  padding-inline: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  margin-bottom: 100px;
}

.hero-desktop {
  --hero-size: clamp(50px, 7.2vw, 118px);
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-line {
  font-size: var(--hero-size);
  line-height: 0.96;
  font-weight: 300;
}

.hero-row {
  display: block;
  white-space: nowrap;
}

.hero-line--name {
  margin-right: clamp(16px, 5vw, 90px);
  font-family: 'AwesomeSerif Italic Extra Tall', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(58px, 7.8vw, 126px);
  line-height: 0.9;
}

.hero-line--left {
  text-align: right;
}

.hero-line.hero-line--closing {
  margin-left: clamp(0px, 5vw, 80px);
  font-family: 'AwesomeSerif Italic Tall', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.hero-middle {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.hero-col--left {
  margin-right: -2px;
}

.hero-col--left .hero-italic {
  display: inline-block;
  padding-right: 0.22em;
}

.hero-col--right {
  margin-left: -4px;
}

.hero-portrait {
  position: relative;
  z-index: 5;
  width: calc(var(--hero-size) * 3.15);
  height: calc(var(--hero-size) * 3.74);
  perspective: 800px;
  transform-style: preserve-3d;
}

.hero-portrait picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}

.hero-portrait.is-tilting .hero-portrait-img {
  will-change: transform;
}

.hero-portrait:hover .hero-portrait-img {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(201, 164, 74, 0.1);
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: clamp(-12px, -0.6vw, -2px);
}

.hero-roman {
  font-family: 'AwesomeSerif', Georgia, serif;
  font-style: normal;
  font-weight: 400;
}

.hero-italic {
  font-family: 'AwesomeSerif Italic Tall', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
}

.hero-medium {
  font-weight: 500;
}

.hero-semibold {
  font-weight: 600;
}

/* Mobile Hero */
.hero-mobile {
  display: none;
  overflow: hidden;
}

.hero-mobile-text {
  position: relative;
  z-index: 2;
  margin-bottom: -2px;
  font-size: clamp(24px, 9.2vw, 60px);
  font-weight: 500;
  line-height: 0.92;
}

.hero-mobile-italic {
  font-style: italic;
}

.hero-mobile-semibold {
  font-weight: 600;
}

.hero-mobile-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Hero Subhead & Scroll Arrow */
.hero-subhead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 100px;
}

.hero-subhead-text {
  text-align: center;
  font-size: 70px;
  font-weight: 500;
}

.hero-arrow {
  width: 8px;
  height: 92px;
  color: var(--text-color);
}

/* ==========================================================================
   Project Cards
   ========================================================================== */

.project-card {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  border-top: 1px solid var(--text-color);
  border-bottom: 1px solid var(--text-color);
  content-visibility: auto;
  contain-intrinsic-size: auto 680px;
}

.project-card--media-left {
  grid-template-columns: 1fr 0.75fr;
  border-top: none;
  border-bottom: none;
}

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 60px 60px 40px;
  border-right: 1px solid var(--text-color);
}

.project-card--media-left .project-content {
  border-right: none;
  border-left: 1px solid var(--text-color);
}

.project-heading {
  margin-bottom: 16px;
  font-family: 'AwesomeSerif Extra Tall', 'Times New Roman', serif;
  font-size: 70px;
  font-weight: 300;
  line-height: 0.9;
}

.project-heading-accent {
  font-family: 'AwesomeSerif Italic Extra Tall', 'Times New Roman', serif;
  font-size: 85px;
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.pill {
  color: var(--bg-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 20px;
  padding: 4px 10px;
  font-family: 'Space Mono', monospace;
  font-size: 18px;
  line-height: 1.1;
  cursor: default;
}

.pill--date {
  background-color: var(--accent-red);
}

.pill--role {
  background-color: var(--accent-purple);
}

.pill span {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.pill--date:hover span {
  text-shadow: 0 0 8px rgba(238, 73, 87, 0.4);
}

.pill--role:hover span {
  text-shadow: 0 0 8px rgba(169, 84, 147, 0.4);
}

.project-description {
  margin-bottom: 30px;
  font-family: 'Circular', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.project-description + .project-description {
  margin-top: -12px;
}

.button {
  display: inline-block;
  border: 2px solid var(--black);
  background-color: var(--button-bg);
  box-shadow: 4px 4px 0 0 var(--black);
  color: var(--black);
  border-radius: 10px;
  padding: 22px 54px;
  font-family: 'Circular', Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.button:hover {
  box-shadow: 2px 4px 0 0 var(--black);
}

/* Card Media & 3D Hover Tilt */
.project-media {
  padding: 50px 40px 50px 50px;
  overflow: visible;
}

.card-media-frame {
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: transform 0.2s ease-out;
  cursor: pointer;
  overflow: visible;
}

.card-media-frame.is-tilting {
  will-change: transform;
}

/* Subtle film grain texture */
.card-media-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/png;base64,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');
  opacity: 0.9;
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: 20px;
  z-index: 2;
}

/* Hover sheen highlight */
.card-media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 60%);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  pointer-events: none;
  z-index: 2;
}

.card-media-frame:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.card-media-frame:hover::after {
  opacity: 1;
}

.card-image {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 11 / 10;
  object-fit: cover;
  border: 2px solid var(--text-color);
  box-shadow: 4px 4px 0 0 var(--text-color);
  border-radius: 20px;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  transform: translateZ(0);
}

.card-media-frame.is-tilting .card-image {
  will-change: transform;
}

.card-media-frame:hover .card-image {
  transform: translateZ(15px);
  box-shadow:
    6px 6px 0 0 var(--text-color),
    0 8px 20px rgba(14, 21, 47, 0.1),
    0 4px 10px rgba(14, 21, 47, 0.05);
}

.card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid var(--text-color);
  box-shadow: 4px 4px 0 0 var(--text-color);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.2s ease-out;
  pointer-events: none;
  z-index: 1;
  transform: translateZ(0);
}

.card-media-frame:hover .card-video {
  transform: translateZ(15px);
}

.card-video.is-playing {
  opacity: 1;
}

/* Card Overlays */
.card-overlay {
  position: absolute;
  inset: 0% 5% auto auto;
  color: var(--overlay-color);
  font-size: 100px;
  letter-spacing: -2px;
  opacity: 0.9;
  z-index: 3;
  transform: translateZ(30px);
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
}

.card-media-frame:hover .card-overlay,
.card-media-frame:hover .card-overlay-stack {
  transform: translateZ(40px);
}

/* Google DeepMind & Wonder — wired to real AwesomeSerif Bold Italic */
.card-overlay--bottom-left {
  font-family: 'AwesomeSerif Italic', 'Times New Roman', serif;
  font-size: 70px;
  font-style: italic;
  font-weight: 700;
  inset: auto auto 5% 5%;
}

.card-overlay.card-overlay--gdm {
  font-size: clamp(32px, 4.3vw, 64px);
  white-space: nowrap;
}

/* The Rotation — bottom centered */
.card-overlay--bottom-center {
  inset: 1% 0%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
  padding-bottom: 23px;
  font-size: 70px;
}

/* Screenshop — vertically & horizontally centered */
.card-overlay--center {
  inset: 1% 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 90px;
}

.card-overlay-by {
  font-family: 'AwesomeSerif Italic Extra Tall', 'Times New Roman', serif;
  font-size: 40px;
  font-style: italic;
  font-weight: 300;
  line-height: 0.9;
}

/* AMD stacked overlay */
.card-overlay-stack {
  position: absolute;
  inset: 0% auto auto 3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
  transform-style: preserve-3d;
  transform: translateZ(30px);
  transition: transform 0.3s ease-out;
}

.card-overlay--amd {
  position: static;
  transform: none;
  font-family: 'AwesomeSerif Italic Extra Tall', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
}

.card-media-frame:hover .card-overlay--amd {
  transform: none;
}

.card-overlay-sub {
  color: var(--overlay-color);
  margin-top: -14px;
  font-family: 'AwesomeSerif Italic Tall', 'Times New Roman', serif;
  font-size: 23px;
  font-style: italic;
  font-weight: 400;
}

/* ==========================================================================
   Interactive Flourishes
   ========================================================================== */

/* Google letter cascade */
.google-hover {
  cursor: default;
}

.google-hover .gl {
  display: inline-block;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 0.05s);
}

.google-hover .gl:nth-child(1) { --i: 0; }
.google-hover .gl:nth-child(2) { --i: 1; }
.google-hover .gl:nth-child(3) { --i: 2; }
.google-hover .gl:nth-child(4) { --i: 3; }
.google-hover .gl:nth-child(5) { --i: 4; }
.google-hover .gl:nth-child(6) { --i: 5; }

.google-hover:hover .gl:nth-child(1),
.google-hover.active .gl:nth-child(1) { color: #4285F4; }
.google-hover:hover .gl:nth-child(2),
.google-hover.active .gl:nth-child(2) { color: #EA4335; }
.google-hover:hover .gl:nth-child(3),
.google-hover.active .gl:nth-child(3) { color: #FBBC04; }
.google-hover:hover .gl:nth-child(4),
.google-hover.active .gl:nth-child(4) { color: #4285F4; }
.google-hover:hover .gl:nth-child(5),
.google-hover.active .gl:nth-child(5) { color: #34A853; }
.google-hover:hover .gl:nth-child(6),
.google-hover.active .gl:nth-child(6) { color: #EA4335; }

/* DeepMind signature blue gradient letter cascade (continues from Google --i: 6..13) */
.deepmind-hover {
  cursor: default;
}

.deepmind-hover .dl {
  display: inline-block;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: calc(var(--i, 6) * 0.05s);
}

.deepmind-hover .dl:nth-child(1) { --i: 6; }
.deepmind-hover .dl:nth-child(2) { --i: 7; }
.deepmind-hover .dl:nth-child(3) { --i: 8; }
.deepmind-hover .dl:nth-child(4) { --i: 9; }
.deepmind-hover .dl:nth-child(5) { --i: 10; }
.deepmind-hover .dl:nth-child(6) { --i: 11; }
.deepmind-hover .dl:nth-child(7) { --i: 12; }
.deepmind-hover .dl:nth-child(8) { --i: 13; }

.deepmind-hover:hover .dl:nth-child(1),
.deepmind-hover.active .dl:nth-child(1) { color: #0B47B0; }
.deepmind-hover:hover .dl:nth-child(2),
.deepmind-hover.active .dl:nth-child(2) { color: #1156C6; }
.deepmind-hover:hover .dl:nth-child(3),
.deepmind-hover.active .dl:nth-child(3) { color: #1665DA; }
.deepmind-hover:hover .dl:nth-child(4),
.deepmind-hover.active .dl:nth-child(4) { color: #1A73E8; }
.deepmind-hover:hover .dl:nth-child(5),
.deepmind-hover.active .dl:nth-child(5) { color: #2684F3; }
.deepmind-hover:hover .dl:nth-child(6),
.deepmind-hover.active .dl:nth-child(6) { color: #3695FA; }
.deepmind-hover:hover .dl:nth-child(7),
.deepmind-hover.active .dl:nth-child(7) { color: #4BA7FF; }
.deepmind-hover:hover .dl:nth-child(8),
.deepmind-hover.active .dl:nth-child(8) { color: #63B8FF; }

/* Shopify green sweep on hover */
.shopify-hover {
  background-image: linear-gradient(90deg, #96BF48 0%, #96BF48 100%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-size 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s, transform 0.3s ease-out;
}

.shopify-hover:hover {
  background-size: 100% 100%;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--text-color);
  padding: 60px 0;
  margin-top: 100px;
}

.footer-container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-name {
  font-family: 'AwesomeSerif Extra Tall', 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 500;
}

.footer-tagline {
  font-family: 'AwesomeSerif Italic Tall', 'Times New Roman', serif;
  font-size: 20px;
  font-style: italic;
  max-width: 400px;
  line-height: 1.4;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: right;
}

.footer-link {
  font-family: 'Circular', Arial, sans-serif;
  font-size: 18px;
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-copyright {
  font-family: 'Circular', Arial, sans-serif;
  font-size: 14px;
  color: var(--text-color);
  opacity: 0.7;
  margin-top: 10px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media screen and (min-width: 1440px) {
  .container {
    max-width: 1600px;
  }

  .project-media {
    padding: 50px 60px;
  }

  .project-heading {
    font-size: 90px;
  }

  .project-heading-accent {
    font-size: 105px;
  }
}

@media screen and (max-width: 991px) {
  .container--hero {
    padding-inline: 16px;
  }

  .hero-col--left {
    margin-right: -2px;
  }

  .hero-col--right {
    margin-left: -2px;
  }

  .hero-subhead-text {
    font-size: 65px;
  }

  .project-card,
  .project-card--media-left {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .project-content,
  .project-card--media-left .project-content {
    order: 1;
    border: none;
  }

  .project-media {
    order: -1;
  }

  .project-heading,
  .project-heading-accent {
    font-size: 70px;
  }

  .card-overlay.card-overlay--gdm {
    font-size: clamp(30px, 8.6vw, 64px);
  }
}

@media screen and (max-width: 767px) {
  .page-wrapper {
    padding-block: 50px;
  }

  .hero {
    margin-bottom: 50px;
  }

  .container--hero {
    padding-inline: clamp(20px, 6vw, 40px);
  }

  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    display: block;
  }

  .hero-subhead {
    margin-top: 60px;
  }

  .hero-subhead-text {
    font-size: 60px;
  }

  .hero-arrow {
    height: 70px;
  }

  .project-card {
    padding-block: 50px;
  }

  .project-content {
    padding-right: 40px;
  }

  .project-media {
    padding-top: 0;
    padding-left: 40px;
  }

  .project-meta {
    margin-bottom: 20px;
  }

  .pill {
    font-size: 20px;
    line-height: 1.2;
  }

  .button {
    padding: 20px 47px;
  }

  .card-overlay {
    font-size: 72px;
  }

  .card-overlay--bottom-left,
  .card-overlay--bottom-center,
  .card-overlay--center {
    font-size: 65px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-right {
    text-align: left;
  }
}

@media screen and (max-width: 479px) {
  .hero {
    margin-bottom: 0;
  }

  .hero-subhead {
    gap: 20px;
  }

  .hero-subhead-text {
    font-size: 50px;
  }

  .hero-arrow {
    height: 56px;
  }

  .project-content {
    padding-inline: 15px;
  }

  .project-media {
    padding-inline: 10px;
  }

  .project-heading,
  .project-heading-accent {
    font-size: 60px;
  }

  .pill {
    font-size: 18px;
  }

  .project-description {
    font-size: 16px;
  }

  .button {
    padding: 18px 43px;
    font-size: 18px;
  }

  .card-overlay {
    font-size: 50px;
  }

  .card-overlay--bottom-left,
  .card-overlay--bottom-center,
  .card-overlay--center {
    font-size: 45px;
  }

  .card-overlay-sub {
    font-size: 20px;
  }
}

@media screen and (max-width: 425px) {
  .hero-subhead-text {
    font-size: 44px;
  }

  .footer {
    padding: 40px 0;
    margin-top: 60px;
  }

  .footer-container {
    padding-inline: 16px;
  }

  .footer-name {
    font-size: 28px;
  }

  .footer-tagline {
    font-size: 18px;
  }

  .footer-link {
    font-size: 16px;
  }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
