:root {
  color-scheme: dark;
  --bg: #0c111c;
  --surface: #111827;
  --cream: #f6eee0;
  --muted: #b4b8c4;
  --gold: #e4bc82;
  --border: #ffffff24;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--cream); font: 16px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }
.shell { width: min(1232px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: 1rem; left: 1rem; transform: translateY(-250%); background: var(--cream); color: var(--bg); padding: .5rem 1rem; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.top { display: flex; justify-content: space-between; align-items: center; min-height: 87px; border-bottom: 1px solid var(--border); gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: .82rem; font-weight: 700; line-height: 1.15; }
.monogram { border: 1px solid #e4bc8273; color: var(--gold); padding: 7px 8px; font: italic 1.2rem var(--serif); }
nav { display: flex; gap: clamp(18px, 4vw, 53px); color: var(--muted); font-size: .88rem; }
.top-contact { font-size: .88rem; border: 1px solid var(--border); padding: 8px 15px; border-radius: 4px; white-space: nowrap; }
.top-contact span { margin-left: 5px; color: var(--gold); }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(28px, 5vw, 86px); padding-block: 92px 87px; }
.eyebrow { color: var(--gold); font-size: .69rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; margin: 0 0 16px; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; margin: 0; line-height: .99; }
h1 { font-size: clamp(4.3rem, 8vw, 7.75rem); }
h1 em { display: block; }
h2 { font-size: clamp(3rem, 6vw, 5.3rem); }
em { color: var(--gold); font-weight: 400; }
.intro { color: var(--muted); max-width: 36ch; margin: 25px 0 26px; font-size: clamp(.96rem, 1.5vw, 1.13rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button { border-radius: 3px; padding: 11px 16px; font-size: .86rem; font-weight: 700; display: inline-flex; align-items: center; gap: 16px; }
.solid { background: var(--gold); color: #17120e; }
.solid:hover { background: var(--cream); color: #17120e; }
.quiet { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); font-size: .86rem; }
.quiet span { color: var(--gold); }
.play { display: grid; place-items: center; position: absolute; top: 50%; left: 50%; translate: -50% -50%; padding-left: 3px; width: 56px; height: 56px; border: 1px solid #fff9; border-radius: 50%; background: #0c111c99; color: white; font-size: .9rem; backdrop-filter: blur(5px); transition: background .2s, color .2s; }
.project-link:hover .play { background: var(--gold); color: var(--bg); }
.section { padding-block: 70px 78px; scroll-margin-top: 24px; }
#work { border-top: 1px solid var(--border); }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { color: var(--muted); background: transparent; border: 1px solid var(--border); border-radius: 99px; padding: 6px 15px; font-size: .82rem; }
.filters button[aria-pressed="true"], .filters button:hover { color: var(--bg); background: var(--cream); border-color: var(--cream); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 19px; }
.project-link { display: block; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--surface); height: 100%; }
.cover { position: relative; aspect-ratio: 1.68; overflow: hidden; }
.cover img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-link:hover img { transform: scale(1.045); }
.cover .play { width: 43px; height: 43px; font-size: .73rem; }
.project-meta { padding: 15px 17px 17px; display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.project-meta p { text-transform: uppercase; font-weight: 700; letter-spacing: .11em; color: var(--gold); margin: 0 0 5px; font-size: .61rem; }
h3 { margin: 0; font-size: 1.06rem; line-height: 1.3; }
.project-arrow { color: var(--gold); }
.about-band { background: #141c2c; border-block: 1px solid var(--border); }
.about { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(25px, 7vw, 110px); }
.about p:not(.eyebrow) { color: var(--muted); max-width: 48ch; }
.about h2 { margin-bottom: 25px; }
.capabilities > div { padding: 19px 0; border-top: 1px solid var(--border); }
.capabilities p { margin: 5px 0 0; }
.tools { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 11px 0 0; list-style: none; }
.tools li { border: 1px solid var(--border); border-radius: 99px; padding: 3px 11px; font-size: .84rem; }
.cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cert { border: 1px solid var(--border); background: var(--surface); overflow: hidden; border-radius: 5px; }
.cert-cover { display: block; }
.cert-details { padding: 18px 20px 21px; }
.cert-details .eyebrow { margin-bottom: 7px; }
.credential-id { overflow-wrap: anywhere; color: var(--muted); font-size: .75rem; margin: 9px 0 11px; }
.contact { border-block: 1px solid var(--border); background: radial-gradient(ellipse at 50% 120%, #292237, #141b2a 70%); text-align: center; scroll-margin-top: 24px; }
.contact-inner { padding-block: 72px 76px; }
.contact .hero-actions { justify-content: center; margin-top: 26px; }
.footer { display: flex; justify-content: space-between; gap: 15px; padding-block: 23px; color: var(--muted); font-size: .78rem; }
dialog { width: min(890px, calc(100vw - 36px)); max-height: calc(100dvh - 44px); border: 1px solid var(--border); border-radius: 8px; padding: 16px; color: var(--cream); background: var(--surface); }
dialog::backdrop { background: #03060bdd; }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.viewer-head h2 { font: 700 1rem/1.35 var(--sans); letter-spacing: 0; }
#close-viewer { border: 1px solid var(--border); border-radius: 50%; background: transparent; width: 36px; height: 36px; font-size: 1.3rem; line-height: 1; }
#viewer-content > * { display: block; width: 100%; max-height: min(70dvh, 700px); object-fit: contain; }
#viewer-content iframe { aspect-ratio: 16/9; border: 0; background: #05070c; }
#viewer-content video { background: #05070c; }
#external-video { margin-top: 10px; }
@media (max-width: 960px) {
  .shell { width: calc(100% - 62px); }
  .hero { padding-block: 72px 67px; }
  h1 { font-size: clamp(3.5rem, 9vw, 6rem); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .top { flex-wrap: wrap; row-gap: 13px; padding-block: 13px; min-height: 0; }
  nav { order: 3; justify-content: center; width: 100%; gap: 33px; }
  .hero, .about { grid-template-columns: 1fr; }
  .hero { padding-block: 46px; gap: 29px; }
  h1 { font-size: clamp(3.4rem, 13.5vw, 6rem); }
  .section { padding-block: 47px; }
  .section-top { align-items: start; flex-direction: column; gap: 12px; }
  .cert-grid { grid-template-columns: 1fr; }
  .work-grid { gap: 13px; }
  .project-meta { padding: 10px; }
  .project-meta h3 { font-size: .89rem; }
  .project-meta p { line-height: 1.3; }
  .cover .play { height: 35px; width: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.arrow { display: inline-block; width: 10px; height: 10px; position: relative; color: var(--gold); }
.arrow::before { content: ''; position: absolute; width: 6px; height: 6px; right: 0; top: 0; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.arrow::after { content: ''; position: absolute; width: 10px; height: 1px; top: 1px; right: 0; background: currentColor; transform: rotate(-45deg); transform-origin: right; }
.solid .arrow { color: currentColor; }
.play::before { content: ''; width: 0; height: 0; border-block: 6px solid transparent; border-left: 9px solid currentColor; }

.hero {
  grid-template-columns: 1.05fr .95fr;
  background: radial-gradient(ellipse at 79% 45%, #1a283b 0, transparent 49%);
}
.portrait {
  width: min(100%, 315px);
  margin: 0 auto;
  padding: 11px;
  border: 1px solid #e4bc8273;
  position: relative;
}
.portrait::after {
  content: '';
  position: absolute;
  inset: 17px -18px -18px 17px;
  border-right: 1px solid #e4bc8242;
  border-bottom: 1px solid #e4bc8242;
  pointer-events: none;
}
.portrait img { height: auto; aspect-ratio: 3/4; object-fit: cover; }
.project-link { width: 100%; padding: 0; text-align: left; }
.cover { container-type: inline-size; isolation: isolate; }
.cover-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  padding: 5% 7% 12%;
  background: linear-gradient(85deg, #070910 1%, #070910cc 26%, #07091055 67%, #07091007 100%),
              linear-gradient(0deg, #080a13 0%, transparent 53%);
  pointer-events: none;
}
.cover-title {
  display: grid;
  font: 900 clamp(.94rem, 8.2cqw, 2.1rem)/.98 Arial, Helvetica, sans-serif;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.048em;
  text-shadow: 0 2px 12px #000;
  color: #fff5ec;
}
.cover-title span + span { color: var(--accent); }
.cover-serif .cover-title { font: italic 500 clamp(1.08rem, 9.4cqw, 2.3rem)/.86 var(--serif); letter-spacing: -.04em; }
.edit-tracks {
  position: absolute;
  bottom: 10%;
  left: 7%;
  right: 23%;
  height: 14%;
  transform: perspective(125px) rotateX(26deg) rotate(-4deg);
  opacity: .86;
  background:
    repeating-linear-gradient(90deg, transparent 0 12%, #0a1220 12% 13%) 0 20% / 97% 26% no-repeat,
    linear-gradient(90deg, transparent, var(--accent) 42%, #436b9d) 0 20% / 97% 26% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 20%, #0a1220 20% 21%) 0 67% / 84% 29% no-repeat,
    linear-gradient(90deg, #1d514d, #55799c 50%, var(--accent)) 0 67% / 84% 29% no-repeat,
    #050811b3;
  border: 1px solid #b9ccef65;
  border-radius: 3px;
}
.cover .play { z-index: 2; inset: auto 5% 8% auto; translate: none; }
.cert-original {
  background: #eee4d6;
  height: 235px;
}
.cert-cover img { width: 100%; height: 100%; object-fit: contain; }
.cert-original img { padding: 12px; }
.contact-address { display: inline-block; color: var(--muted); margin-top: 20px; overflow-wrap: anywhere; }
.contact .hero-actions { margin-top: 18px; }
@media (max-width: 650px) {
  .hero { grid-template-columns: 1fr; background-position: center 110px; }
  .portrait { width: min(70%, 275px); }
  .cover .play { width: 28px; height: 28px; }
  .cover .play::before { border-block-width: 4px; border-left-width: 6px; }
}
.cover-animal-reel {
  background: radial-gradient(ellipse at 78% 52%, #fbf1cf 0 35%, transparent 36%), #e8dcb9;
}
.cover-animal-reel img {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 12%;
  width: 48%;
  height: 78%;
  object-fit: contain;
}
.cover-animal-reel .cover-art {
  background: transparent;
  padding: 10% 0 5% 6.5%;
}
.cover-animal-reel .cover-art::before {
  content: 'TikTok';
  position: absolute;
  left: 6.5%;
  top: 12%;
  padding: .18em .55em;
  border-radius: 30px;
  background: #173b2e;
  color: #fff7e2;
  font-size: clamp(.5rem, 3.5cqw, .73rem);
  font-weight: 700;
}
.cover-animal-reel .cover-title {
  width: 49%;
  font-family: 'Arial Rounded MT Bold', Arial, sans-serif;
  font-size: clamp(.85rem, 7.7cqw, 1.94rem);
  font-style: normal;
  color: #173b2e;
  text-transform: none;
  text-shadow: none;
  letter-spacing: -.05em;
}
.cover-animal-reel .cover-title span + span { margin-top: .12em; }
.project-link:hover .cover-animal-reel img { transform: none; }
@keyframes corgi-hop {
  0%, 100% { transform: translateY(0) rotate(0); }
  45% { transform: translateY(-7%) rotate(-5deg); }
  75% { transform: translateY(0) rotate(3deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .cover-animal-reel img { animation: corgi-hop 1.2s ease-in-out .5s 3; }
  .project-link:hover .cover-animal-reel img, .project-link:focus-visible .cover-animal-reel img {
    animation: corgi-hop .85s ease-in-out 2;
  }
}
.cover-animal-reel .edit-tracks, .cover-introduction .edit-tracks { display: none; }
.cover-introduction img { object-position: 72% 50%; }
.cover-introduction .cover-art {
  align-content: end;
  padding-bottom: 9%;
  background: linear-gradient(90deg, #070910c9, transparent 66%), linear-gradient(0deg, #080a13aa, transparent 58%);
}
