/* Keep the Windows lettering; provide a readable, local fallback elsewhere. */
@font-face { font-family: 'Kalam'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/kalam-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Kalam'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/kalam-latin-bold.woff2') format('woff2'); }
:root {
  --handwritten-font: 'Segoe Print', 'Kalam', Arial, sans-serif;
  color-scheme: dark;
  /* Surface colors sampled directly from the reference. Light neutrals keep text readable. */
  --canvas: #181818;
  --surface-deep: #262528;
  --surface-raised: #29292a;
  --control-border: #444444;
  --text: #eeeeee;
  --muted: #bdbdbd;
  --action: #dedede;
  --action-ink: #181818;
  --gold: #f0c65a;
  --gold-light: #ffe3a0;
  --gold-deep: #dcaa35;
  --gold-ink: #30210a;
  --shadow-ink: #101010;
  --bg: var(--canvas);
  --grid-fine: #ffffff04;
  --grid-major: #ffffff08;
  --line: #444444;
  --shadow: 0 3px 4px #00000030, 5px 9px 0 #10101080;
  --section-space: clamp(48px, 6vw, 80px);
  --heading-space: clamp(20px, 2.4vw, 28px);
  --card-gap: clamp(16px, 2vw, 24px);
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
/* Charcoal drafting paper, with quiet graphite ruling. */
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  line-height: 1.5;
  background-color: var(--bg);
  background-image:
    url("assets/background-grain.svg"),
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px);
  background-size: 160px 160px, 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: 0 0;
}
/* A subtle neutral tint follows the existing scroll behavior. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--shadow-ink); opacity: var(--hero-dim, .08); }
/* A restrained sheet edge stays behind the portfolio. */
body::after {
  content: "";
  position: fixed;
  inset: 16px;
  z-index: -1;
  pointer-events: none;
  border: 1px solid #bdbdbd38;
  background:
    repeating-linear-gradient(90deg, #bdbdbd66 0 1px, transparent 1px 24px) left top / 100% 5px no-repeat,
    repeating-linear-gradient(#bdbdbd66 0 1px, transparent 1px 24px) left top / 5px 100% no-repeat;
  opacity: .55;
}
@media (max-width: 1100px) {
  body::after { background-image: none; }
}
@media (max-width: 700px) {
  body::after { inset: 7px; border-color: #bdbdbd26; }
}
a { color: inherit; }
button { font: inherit; }
a,button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 6px; }
h1,h2,h3,p { margin: 0; }
main,footer { width: min(1000px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 16px; z-index: 10; padding: 12px 20px; background: var(--surface-raised); color: var(--text); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.hero { padding: clamp(40px, 4vw, 56px) 0 0; display: grid; align-items: center; text-align: center; }
.hero-content { width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero-header { max-width: 100%; margin-bottom: 16px; }
.eyebrow { display: block; font: 10px/1.5 Consolas, monospace; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
h1 { overflow-wrap: anywhere; color: var(--text); font-family: var(--handwritten-font); font-size: clamp(52px, 6.5vw, 80px); font-weight: 700; line-height: 1.2; letter-spacing: -3px; }
h2 { font-family: var(--handwritten-font); font-size: clamp(23px, 3vw, 32px); font-weight: 600; line-height: 1.35; letter-spacing: -1px; text-wrap: balance; }
.reel-frame { position: relative; width: 100%; margin: 0 auto; padding: 9px; background: var(--surface-raised); box-shadow: var(--shadow); }
.video-placeholder { position: relative; display: block; aspect-ratio: 16/9; background: var(--surface-deep); overflow: hidden; text-decoration: none; }
.video-placeholder img { display: block; width: 100%; height: 100%; object-fit: cover;  }
.play-mark { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 64px; height: 64px; color: var(--text); transition: transform .22s ease, color .22s ease; }
.play-mark svg { width: 58px; height: 58px; fill: currentColor; stroke: var(--shadow-ink); stroke-width: 1; stroke-linejoin: round; paint-order: stroke fill; filter: drop-shadow(0 2px 3px #10101099); }
.hero-video .play-mark { width: 72px; height: 72px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 46px; padding: 12px 26px; border: 1px solid transparent; background: var(--surface-raised); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; box-shadow: 3px 4px 0 #10101050; border-radius: 2px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.hero-contact { margin-top: 24px; }
.section { margin-top: var(--section-space); }
.section-heading { display: flex; align-items: center; gap: 20px; margin-bottom: var(--heading-space); text-align: center; justify-content: center; }
.section-heading::before,.section-heading::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.creators { margin-top: var(--section-space); }
.creator-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--card-gap); max-width: 100%; margin: auto; }
.creator { position: relative; min-width: 0; padding: 8px 8px 16px; color: var(--text); text-align: center; }
.creator img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 13px; }
.creator h3 { font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
.creator p { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* Matte mounts keep each creator and their edited work color-coordinated. */
.creator, .video-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 4px 12px #00000024;
}
.creator[data-creator], .work-grid .video-card[data-creator] {
  background: color-mix(in srgb, var(--creator-color) 18%, var(--surface-raised));
  border-color: color-mix(in srgb, var(--creator-color) 35%, var(--surface-raised));
}
[data-creator="simplistic"] { --creator-color: #50c0e0; }
[data-creator="pegasus"] { --creator-color: #9dabd1; }
[data-creator="brandon"] { --creator-color: #c43b4c; }
[data-creator="skitzy"] { --creator-color: #1aaae0; }
[data-creator="provisionz"] { --creator-color: #c7b19b; }
[data-creator="ethan"] { --creator-color: #77a4d0; }
.work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: var(--card-gap); }
/* Aligned video frames stay still while visitors browse and play. */
.video-card { position: relative; min-width: 0; padding: 8px; }

/* Controls take up space only in the active player, inside its card. */
.video-player { background: var(--shadow-ink); }
.player-media { position: relative; aspect-ratio: 16/9; }
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-player.is-loading iframe { visibility: hidden; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: calc(100% - 32px); width: max-content; padding: 8px 14px; border-radius: 3px; background: #101010e8; color: var(--text); font-size: 13px; text-align: center; pointer-events: none; }
.player-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; min-height: 44px; padding-inline: 4px; color: var(--text); font-size: 12px; }
.player-tools a,.player-tools button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 4px; }
.player-tools a { text-underline-offset: 3px; }
.player-tools button { color: inherit; border: 0; background: none; cursor: pointer; font-size: 12px; }

/* Open contact links and original cream stationery. */
.contact { padding-bottom: 32px; }

.contact .contact-layout { width: 100%; max-width: 900px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.contact .contact-actions { width: 100%; display: grid; grid-template-columns: 1fr; max-width: 320px; gap: 24px; margin: 0; }
.contact .contact-actions .button { position: relative; display: flex; align-items: center; flex-direction: row; justify-content: center; gap: 14px; width: 100%; max-width: none; min-width: 0; min-height: 86px; padding: 23px 20px 19px; color: #203650; background: linear-gradient(#fbf5e6, #e8dec7); border: 1px solid #fff4d9; border-bottom: 4px solid #c1ae8c; border-radius: 7px; font-family: 'Segoe UI', Arial, sans-serif; font-size: 20px; line-height: 1.3; font-weight: 650; text-decoration: none; box-shadow: 0 2px 0 #705334, 2px 6px 7px #30251755; transform: none; transition: background .2s ease, box-shadow .2s ease; }
.contact .contact-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; background: none; color: #203650; }
.contact .contact-icon svg { width: 30px; height: 30px; }
.contact .contact-actions .button:focus-visible { outline-color: #fff1c4; transform: none; }
.contact .contact-actions .button:active { animation: none; box-shadow: 0 1px 0 #705334, 1px 3px 4px #30251744; background: #e6dac2; }
.contact .contact-story { position: relative; padding: 34px 28px 32px 36px; color: #3d4248; font-family: var(--handwritten-font); font-size: 16px; line-height: 1.85; font-weight: 400; background-color: #f4ecd7; background-image: linear-gradient(90deg, transparent 22px, #be7b733b 22px, #be7b733b 23px, transparent 23px), url('assets/background-grain.svg'), repeating-linear-gradient(0deg, transparent 0, transparent calc(1.85em - 1px), #7c95a32b calc(1.85em - 1px), #7c95a32b 1.85em); border: 1px solid #fff4df; border-radius: 1px 2px 3px 1px; box-shadow: 2px 5px 6px #49392340, inset 0 0 18px #b18e4620; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.contact .contact-story p + p { margin-top: 1.85em; }
.contact .contact-story::after { content: ''; position: absolute; bottom: 0; right: 0; width: 22px; height: 22px; background: linear-gradient(135deg, #c9b995 0%, #e9dec6 35%, #fff8e9 90%); clip-path: polygon(0 0, 100% 0, 0 100%); box-shadow: -2px -2px 4px #8d75482b; }
@media (hover: hover) {
  .contact .contact-actions .button:hover { background: linear-gradient(#fffaf0, #f0e6d0); box-shadow: 0 2px 0 #705334, 3px 8px 9px #30251755; transform: none; }
}
@media (max-width: 700px) {
  .contact .contact-layout { gap: 30px; grid-template-columns: 1fr; max-width: 520px; }
  .contact .contact-actions { max-width: none; gap: 20px; }
  .contact .contact-actions .button { min-height: 72px; }
  .contact .contact-story { padding: 30px 18px 26px 28px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact .contact-actions .button { transition: none; }
}

.button-primary { color: var(--action-ink); background: var(--action); }
footer { padding: 23px 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer a { text-decoration: none; }
footer a span { margin-left: 10px; }
@media (hover: hover) {
 .button:hover { transform: translateY(-3px); box-shadow: 4px 7px 0 #10101050; background: var(--text); }
 .button-primary:hover,.hero-contact:hover { background: var(--text); }
 .video-placeholder:hover .play-mark { color: var(--text); transform: translate(-50%,-50%) scale(1.1); }
 footer a:hover { color: var(--text); }
 .player-tools a:hover,.player-tools button:hover { text-decoration: underline; }
}
.video-placeholder:focus-visible .play-mark { color: var(--text); transform: translate(-50%,-50%) scale(1.1); }
@media (max-width: 700px) {
 main,footer { width: calc(100% - 36px); }
 h1 { letter-spacing: -2px; }
 .hero-header { max-width: 100%; margin-bottom: 16px; }
 .reel-frame { padding: 6px; }
 .hero-video .play-mark { width: 64px; height: 64px; }
 .creators { margin-top: var(--section-space); }
 .section-heading { gap: 12px; }
 .creator-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--card-gap); }
 .creator { padding: 6px 6px 13px; }
 .creator h3 { font-size: 13px; }
 .creator p { font-size: 12px; }
 .work-grid { grid-template-columns: 1fr; }
}

@media (min-width: 560px) and (max-width: 700px) {
 .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 640px) and (max-width: 700px) {
 .creator-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}







.creator img { -webkit-user-drag: none; user-select: none; }
.experience { letter-spacing: 1.5px; }
footer { flex-wrap: wrap; }
@media (max-width: 700px) {
 footer { justify-content: center; gap: 12px 24px; text-align: center; }
}


/* Strong section labels; creator captions size themselves to each card. */
.section-heading h2 { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(21px, 2.8vw, 32px); }
.creator { container-type: inline-size; padding-bottom: 14px; }
.creator h3 { font-size: clamp(13px, 7cqi, 20px); line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; margin-inline: 5px; }
.creator p { font-size: clamp(12px, 5cqi, 15px); line-height: 1.4; margin-top: 4px; }
.creator img { margin-bottom: 10px; }
.skip-link:focus-visible { outline-color: var(--text); outline-offset: 3px; }
@media (max-width: 700px) {
 .creator { padding-bottom: 12px; }
 .creator img { margin-bottom: 8px; }
 .section-heading { gap: 10px; }
 .section-heading h2 { font-size: clamp(18px, 4.5vw, 25px); letter-spacing: 0; }
}

/* Brief tactile feedback, including touch input. */
.video-placeholder:active .play-mark { transform: translate(-50%, -50%) scale(.94); color: var(--action); }

@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *,*::before,*::after { transition: none !important; animation: none !important; }
 .video-placeholder:active .play-mark { transform: translate(-50%, -50%); }
}

/* Keep the showreel still, including its play icon on hover, focus, and press. */
.hero-video.video-placeholder .play-mark { transition: none; transform: translate(-50%, -50%); }
/* Let the standalone channel video fill its section. */
.favorite .video-card { width: 100%; margin-inline: auto; }

/* Neutral selection and skip-link treatment. */
::selection { background: var(--action); color: var(--action-ink); }
.skip-link { background: var(--action); color: var(--action-ink); }
.button { border-color: var(--control-border); }
@media (hover: hover) {
  .button:hover { color: var(--action-ink); }
}

/* Polished gold action, with a warm halo and glints timed to the surface shine. */
.button.hero-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: min(244px, 100%);
  max-width: 100%;
  text-align: center;
  min-height: 60px;
  padding: 16px 30px;
  border: 1px solid #ffe6a3;
  border-radius: 12px;
  color: var(--gold-ink);
  background: linear-gradient(115deg, var(--gold) 0%, var(--gold-light) 45%, var(--gold) 72%, var(--gold-deep) 100%);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 #fff6d6, inset 0 -2px 0 #a8772470, 0 5px 14px #00000050, 0 0 28px #efbd5040;
  animation: gold-glow 6s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-contact span { position: relative; z-index: 1; min-width: 0; }
.hero-contact::after, .hero-contact span::after {
  content: '';
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  pointer-events: none;
  background: #fffbea;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  opacity: 0;
  transform: scale(.2) rotate(-25deg);
  animation: gold-sparkle 6s ease-in-out infinite;
}
.hero-contact::after { right: 12px; top: 9px; }
.hero-contact span::after { left: -19px; bottom: -3px; width: 10px; height: 10px; animation-delay: -.9s; }
.hero-contact::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 32%, #fff9e373 48%, #fffdf2a6 50%, #fff9e373 52%, transparent 68%);
  transform: translateX(-120%);
  animation: gold-shine 6s ease-in-out infinite;
}
@keyframes gold-shine {
  0%, 14% { transform: translateX(-120%); }
  42%, 100% { transform: translateX(120%); }
}
@keyframes gold-glow {
  0%, 100% { box-shadow: inset 0 1px 0 #fff6d6, inset 0 -2px 0 #a8772470, 0 5px 14px #00000050, 0 0 24px #efbd5040; }
  35%, 50% { box-shadow: inset 0 1px 0 #fff9e8, inset 0 -2px 0 #a8772470, 0 5px 14px #00000050, 0 0 14px #efbd504d, 0 0 40px #efbd506b; }
}
@keyframes gold-sparkle {
  0%, 26% { opacity: 0; transform: scale(.2) rotate(-25deg); }
  35% { opacity: 1; transform: scale(1.15) rotate(0deg); }
  39% { opacity: .7; transform: scale(.8) rotate(15deg); }
  46%, 100% { opacity: 0; transform: scale(.2) rotate(40deg); }
}
@media (hover: hover) {
  .button.hero-contact:hover {
    color: var(--gold-ink);
    background: linear-gradient(115deg, #f5d16f, #ffebb3 45%, #ebbb48);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 #fff6d6, inset 0 -2px 0 #a8772470, 0 5px 14px #00000050, 0 0 28px #efbd5040;
  }
}
.button.hero-contact:focus-visible { outline: 2px solid #ffe6a6; outline-offset: 5px; }
.button.hero-contact:active { color: var(--gold-ink); transform: translateY(0) scale(.98); }
@media (prefers-reduced-motion: reduce) {
  .button.hero-contact, .hero-contact::before, .hero-contact::after, .hero-contact span::after { animation: none; transition: none; }
  .button.hero-contact:hover, .button.hero-contact:active { transform: none; }
}
