:root {
  --ink: #17140f;
  --ink-soft: #292721;
  --paper: #f7f5f0;
  --paper-deep: #ebe8e0;
  --muted: #74736f;
  --line: rgba(23,20,15,.15);
  --slate: #50545f;
  --gold: #e4c36a;
  --gold-deep: #9b6f1c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

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

.site-header {
  width: min(1400px, calc(100% - 56px));
  height: 94px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -.02em; }
.brand img { display: block; width: 150px; height: auto; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23,20,15,.35);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
}
nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
nav a:not(.nav-cta) { color: #575651; }
nav a:hover { color: var(--gold-deep); }
.nav-cta { padding: 11px 18px; border: 1px solid var(--slate); border-radius: 3px; background: var(--slate); color: white; }

.hero {
  min-height: 760px;
  width: min(1400px, calc(100% - 56px));
  margin: auto;
  padding: 90px 0 100px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 1px; background: var(--gold-deep); }
.hero h1, .section-head h2, .about h2, .contact h2 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -.065em;
  line-height: .96;
  margin: 0;
}
.hero h1 { font-size: clamp(62px, 7vw, 112px); font-weight: 500; }
em { color: var(--gold-deep); font-style: normal; }
.hero-intro { max-width: 570px; margin: 34px 0; color: #686762; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 34px; padding: 16px 22px; border-radius: 999px; transition: .25s ease; }
.button-primary { color: white; background: var(--slate); font-weight: 600; border-radius: 3px; }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(80,84,95,.18); }
.button-cv { color: var(--slate); background: transparent; border: 1px solid rgba(80,84,95,.34); border-radius: 3px; font-weight: 600; }
.button-cv:hover { color: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-2px); background: rgba(255,255,255,.5); }
.text-button { border: 0; background: transparent; cursor: pointer; color: var(--gold-deep); padding: 14px 0; }
.mini-play { display: inline-grid; place-items: center; margin-left: 8px; width: 29px; height: 29px; border: 1px solid rgba(155,111,28,.55); border-radius: 50%; font-size: 8px; }

.feature-reel {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 22px;
  background-image:
    linear-gradient(90deg, rgba(15,15,17,.28), rgba(15,15,17,.1)),
    linear-gradient(0deg, rgba(7,7,8,.58), transparent 65%),
    var(--feature-thumb),
    linear-gradient(135deg, #3e424b 0%, #24262c 44%, #111216 100%);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  isolation: isolate;
}
.feature-thumbnail { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.03) 72%); z-index: 1; }
.feature-reel::before { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; right: 11%; top: 18%; box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); z-index: 2; }
.feature-kicker, .feature-title, .feature-meta, .feature-index { position: absolute; left: 34px; z-index: 3; }
.feature-kicker { top: 30px; color: rgba(255,255,255,.72); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.feature-title { bottom: 76px; font: 600 clamp(50px, 6vw, 90px)/1 "Manrope", sans-serif; letter-spacing: -.07em; }
.feature-meta { bottom: 44px; color: #ccd4cf; font-size: 13px; }
.feature-index { top: 31px; left: auto; right: 34px; font-size: 11px; color: rgba(255,255,255,.58); }
.play-button { position: absolute; right: 34px; bottom: 34px; z-index: 3; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--gold); box-shadow: 0 16px 36px rgba(0,0,0,.3); transition: .25s ease; }
.play-button b { margin-left: 5px; }
.feature-reel:hover .play-button { transform: scale(1.08); }
.feature-lines { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; gap: 5px; padding: 0 13% 0 53%; opacity: .22; }
.feature-lines i { width: 5px; height: 42%; background: white; transform-origin: bottom; }
.feature-lines i:nth-child(2), .feature-lines i:nth-child(8) { height: 25%; }
.feature-lines i:nth-child(3), .feature-lines i:nth-child(7) { height: 52%; }
.feature-lines i:nth-child(4), .feature-lines i:nth-child(6) { height: 32%; }
.feature-lines i:nth-child(5) { height: 63%; }

.ticker { overflow: hidden; border-block: 1px solid rgba(23,20,15,.1); padding: 20px 0; color: var(--ink); background: var(--gold); }
.ticker div { min-width: max-content; display: flex; justify-content: center; gap: 34px; font: 500 12px/1 "Manrope", sans-serif; letter-spacing: .15em; }
.ticker i { color: white; font-style: normal; }

.work { width: min(1400px, calc(100% - 56px)); margin: auto; padding: 130px 0; }
.section-head { display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; }
.section-head h2, .about h2, .contact h2 { font-size: clamp(48px, 5vw, 78px); font-weight: 500; }
.section-head > p { max-width: 480px; color: #6e6c67; font-size: 17px; line-height: 1.7; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 60px 0 34px; }
.filter { background: transparent; border: 1px solid rgba(23,20,15,.2); border-radius: 999px; padding: 11px 18px; cursor: pointer; color: #676660; }
.filter sup { color: var(--gold-deep); margin-left: 5px; }
.filter:hover, .filter.is-active { background: var(--slate); color: white; border-color: var(--slate); }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; grid-auto-rows: 105px; gap: 20px; }
.project-card { grid-column: span 4; grid-row: span 3; min-width: 0; }
.project-card.size-wide { grid-column: span 8; grid-row: span 4; }
.project-card.size-tall { grid-column: span 4; grid-row: span 5; }
.project-card.is-hidden { display: none; }
.project-visual {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  padding: 0;
  background-color: #25262b;
  background-image:
    linear-gradient(0deg, rgba(9,9,10,.68), rgba(9,9,10,.02) 72%),
    var(--thumb),
    var(--card-bg, linear-gradient(140deg, #3d3e44, #17181c));
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
.project-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.06), transparent 35%); }
.project-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,6,.84), rgba(5,5,6,.02) 68%); }
.project-code { position: absolute; left: 24px; right: 74px; top: 22px; color: white; font: 600 clamp(14px, 1.25vw, 18px)/1.3 "Manrope", sans-serif; letter-spacing: -.015em; text-align: left; z-index: 2; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.project-type { position: absolute; left: 24px; top: 50px; z-index: 2; color: rgba(255,255,255,.7); font-size: 11px; text-align: left; }
.project-format { position: absolute; right: 23px; top: 23px; z-index: 2; color: rgba(255,255,255,.68); font-size: 10px; letter-spacing: .1em; }
.card-services { position: absolute; left: 24px; right: 84px; bottom: 25px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: white; text-align: left; text-transform: uppercase; }
.card-services b { font: 600 clamp(10px, 1vw, 13px)/1.25 "Manrope", sans-serif; letter-spacing: .075em; }
.card-services i { color: var(--gold); font-size: 8px; font-style: normal; }
.card-play { position: absolute; right: 24px; bottom: 23px; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 11px; transition: .2s ease; }
.project-visual:hover .card-play { transform: scale(1.1); }

.about { width: min(1400px, calc(100% - 56px)); margin: 0 auto 56px; padding: 95px 7%; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(48px, 7vw, 100px); overflow: hidden; border-radius: 22px; background: var(--slate); color: white; }
.software-showcase { align-self: center; }
.software-heading { margin: 0 0 16px; color: #d3d4d7; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.software-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.software-card { min-height: 116px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.055); }
.software-card:nth-child(1), .software-card:nth-child(4) { transform: translateY(12px); }
.software-icon { width: 48px; height: 48px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.06); }
.software-icon img { width: 100%; height: 100%; display: block; object-fit: contain; }
.premiere .software-icon img, .after-effects .software-icon img { transform: scale(1.38); }
.blender .software-icon { background: #f0f0ef; }
.blender .software-icon img { transform: scale(1.18); }
.capcut .software-icon { padding: 7px; background: white; }
.software-card b { display: block; margin-top: 20px; font: 600 13px/1.25 "Manrope", sans-serif; }
.software-card small { display: block; margin-top: 4px; color: #bfc1c6; font-size: 10px; }
.supporting-tools { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.supporting-label { flex-basis: 100%; color: #bfc1c6; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.supporting-tools > div { display: flex; align-items: center; gap: 8px; padding: 7px 11px 7px 7px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #d9dade; font-size: 10px; }
.supporting-tools img { width: 25px; height: 25px; border-radius: 7px; object-fit: cover; }
.supporting-tools .ai-tool img { padding: 0; object-fit: cover; background: #fff; }
.supporting-tools .chatgpt-tool img { padding: 4px; object-fit: contain; }
.supporting-tools .gemini-tool img { padding: 2px; object-fit: contain; }
.about .eyebrow { color: #d3d4d7; }
.about-copy > p:not(.eyebrow) { max-width: 690px; color: #d6d7da; font-size: 17px; line-height: 1.75; }
.about-copy { min-width: 0; }
.about h2 { max-width: 760px; margin-bottom: 30px; overflow-wrap: break-word; }

.contact { width: 100%; margin: 0; padding: 120px 28px 130px; overflow: hidden; border-radius: 0; text-align: center; background: var(--gold); color: var(--ink); }
.contact .eyebrow { justify-content: center; color: #6f5723; }
.contact .eyebrow span { background: var(--slate); }
.contact h2 { font-size: clamp(54px, 7vw, 102px); }
.contact h2 em { color: white; }
.contact > p:not(.eyebrow) { color: #665121; margin: 28px auto 35px; font-size: 17px; }
.button-light { background: var(--slate); color: white; font-weight: 600; border-radius: 3px; }

footer { width: min(1400px, calc(100% - 56px)); margin: auto; display: flex; justify-content: space-between; padding: 34px 0; color: #77746e; font-size: 12px; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; width: 100vw; height: 100dvh; padding: 30px; background: rgba(14,14,15,.72); backdrop-filter: blur(10px); }
.modal[hidden] { display: none; }
.modal-panel { position: relative; width: min(1100px, 100%); max-height: calc(100dvh - 60px); padding: 12px; overflow: auto; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: #111313; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.video-frame { aspect-ratio: 16/9; overflow: hidden; border-radius: 14px; background: #050706; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-panel p { margin: 12px 8px 4px; color: #e2e3e2; }
.modal-close { position: absolute; right: 22px; top: 22px; z-index: 5; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(12,13,13,.78); color: white; cursor: pointer; font-size: 28px; line-height: 1; box-shadow: 0 6px 20px rgba(0,0,0,.3); }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .feature-reel { min-height: 470px; }
  .section-head { grid-template-columns: 1fr; gap: 15px; }
  .project-grid { grid-template-columns: repeat(6, 1fr); }
  .project-card, .project-card.size-wide, .project-card.size-tall { grid-column: span 3; grid-row: span 4; }
  .project-card.size-wide { grid-column: span 6; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .software-showcase { max-width: 600px; }
}

@media (max-width: 640px) {
  .site-header, .hero, .work, .about, footer { width: min(100% - 34px, 1400px); }
  .site-header { height: 76px; }
  .brand img { width: 128px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding: 68px 0 76px; }
  .hero h1 { font-size: 55px; }
  .hero-intro { font-size: 16px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { justify-content: space-between; flex: 1 1 calc(50% - 6px); gap: 18px; }
  .hero-actions .text-button { flex-basis: 100%; text-align: left; }
  .feature-reel { min-height: 390px; }
  .feature-title { font-size: 52px; }
  .play-button { right: 24px; bottom: 24px; width: 46px; height: 46px; }
  .work { padding: 90px 0; }
  .project-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 105px; gap: 14px; }
  .project-card, .project-card.size-wide, .project-card.size-tall { grid-column: span 2; grid-row: span 3; }
  .project-card.size-tall { grid-column: span 1; grid-row: span 4; }
  .project-code { left: 18px; top: 17px; right: 55px; font-size: 13px; }
  .project-type { left: 18px; top: 43px; }
  .project-format { right: 17px; top: 18px; }
  .card-services { left: 18px; right: 66px; bottom: 18px; gap: 5px; }
  .card-services b { font-size: 9px; }
  .card-play { right: 17px; bottom: 17px; width: 38px; height: 38px; }
  .about { padding: 56px 25px; margin-bottom: 34px; gap: 52px; }
  .software-card { min-height: 105px; }
  .about h2, .section-head h2 { font-size: clamp(38px, 10vw, 44px); }
  .about-copy > p:not(.eyebrow) { font-size: 16px; }
  .contact { padding-block: 85px 95px; }
  .contact h2 { font-size: 50px; }
  footer { flex-direction: column; gap: 8px; }
  .modal { padding: 12px; }
  .modal-panel { max-height: calc(100dvh - 24px); padding: 8px; border-radius: 18px; }
  .video-frame { border-radius: 12px; }
  .modal-close { right: 16px; top: 16px; width: 36px; height: 36px; font-size: 25px; }
  .modal-panel p { margin: 10px 7px 3px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
