@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Fraunces:opsz,wght@9..144,600;9..144,750&display=swap");

:root {
  --ink: #111418;
  --ink-soft: #1d2429;
  --paper: #f6f2e8;
  --paper-2: #e8eee8;
  --mist: #c9dedd;
  --coral: #ff8b68;
  --green: #7b927d;
  --line: rgba(17, 20, 24, 0.16);
  --line-light: rgba(246, 242, 232, 0.22);
  --shadow: rgba(17, 20, 24, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(201, 222, 221, 0.22), transparent 36%),
    linear-gradient(20deg, transparent 54%, rgba(255, 139, 104, 0.12)),
    var(--paper);
  font-family: "DM Sans", Helvetica, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(17, 20, 24, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 24, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0;
  line-height: 0.96;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(22px, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background: rgba(17, 20, 24, 0.9);
  border-bottom: 1px solid rgba(246, 242, 232, 0.16);
  backdrop-filter: blur(16px);
}

.site-brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--paper);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-nav a {
  color: rgba(246, 242, 232, 0.76);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--coral);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.72) contrast(1.08) blur(1px);
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 20, 24, 0.96), rgba(17, 20, 24, 0.64) 48%, rgba(17, 20, 24, 0.28)),
    linear-gradient(0deg, rgba(17, 20, 24, 0.92), transparent 54%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 96px 0 74px;
}

.hero h1 {
  max-width: 760px;
  font-size: 5.6rem;
}

.hero-line {
  margin-top: 26px;
  color: var(--mist);
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-content > p:not(.hero-line) {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(246, 242, 232, 0.84);
  font-size: 1.05rem;
}

.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--ink);
  background: var(--coral);
  border: 1px solid var(--coral);
}

.button-secondary {
  color: var(--paper);
  background: rgba(246, 242, 232, 0.08);
  border: 1px solid var(--line-light);
}

.content-band,
.page-intro,
.portfolio-cards {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.content-band {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.9fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2,
.page-intro h1 {
  font-size: 3.45rem;
}

.section-heading p,
.page-intro p,
.two-column p {
  color: rgba(17, 20, 24, 0.74);
  font-size: 1.04rem;
}

.portfolio-section-shell + .portfolio-section-shell {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.work-card,
.portfolio-card,
.reel-frame {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(246, 242, 232, 0.74);
  box-shadow: 0 16px 44px -34px var(--shadow);
  overflow: hidden;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--ink-soft);
}

.work-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.work-copy h3 {
  font-size: 1.5rem;
  line-height: 1.02;
}

.work-copy p {
  color: rgba(17, 20, 24, 0.72);
  font-size: 0.94rem;
}

.work-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.work-card-link:hover,
.work-card-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(243, 127, 99, 0.62);
  box-shadow: 0 20px 42px -30px var(--shadow);
}

.work-card-link:focus-visible {
  outline: 2px solid rgba(243, 127, 99, 0.7);
  outline-offset: 2px;
}

.work-link-label {
  width: max-content;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 20, 24, 0.22);
  background: rgba(255, 255, 255, 0.45);
  color: rgba(17, 20, 24, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
}

.work-link-label::after {
  content: "→";
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.work-card-link:hover .work-link-label::after,
.work-card-link:focus-visible .work-link-label::after {
  transform: translateX(3px);
}

.page-main {
  padding: 74px 0 96px;
}

.page-intro {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin-bottom: 16px;
}

.page-intro .text-link {
  width: max-content;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 44px;
  align-items: start;
}

.two-column h2 {
  margin-bottom: 18px;
  font-size: 2.6rem;
}

.detail-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.detail-list p {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(17, 20, 24, 0.78);
  font-weight: 700;
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.reel-frame {
  margin: 0;
  padding: 14px;
}

.featured-reel {
  max-width: 960px;
}

.reel-frame figcaption {
  margin-bottom: 12px;
  color: rgba(17, 20, 24, 0.8);
  font-weight: 700;
}

.video-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 6px;
  padding-top: 56.25%;
  background: var(--ink);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-preview {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  color: var(--paper);
  background: var(--ink);
  text-decoration: none;
}

.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1.01);
  transition: opacity 180ms ease, transform 180ms ease;
}

.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(17, 20, 24, 0.74), transparent 52%),
    radial-gradient(circle at 50% 48%, rgba(255, 139, 104, 0.18), transparent 30%);
}

.video-preview:hover img,
.video-preview:focus-visible img {
  opacity: 0.94;
  transform: scale(1.035);
}

.play-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 72px;
  height: 50px;
  border-radius: 14px;
  background: #ff0000;
  box-shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.82);
  transform: translate(-50%, -50%);
}

.play-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid #fff;
  transform: translate(-50%, -50%);
}

.preview-label {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 2;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.portfolio-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  color: var(--ink);
  text-decoration: none;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  border-color: rgba(255, 139, 104, 0.82);
}

.portfolio-card span {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  font-weight: 750;
  line-height: 1;
}

.portfolio-card small {
  color: rgba(17, 20, 24, 0.7);
  font-size: 0.98rem;
}

.playlist-list {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-top: 22px;
}

.playlist-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
}

.playlist-list a::after {
  content: "Open";
  color: var(--green);
  font-size: 0.88rem;
}

.contact-panel {
  min-height: 380px;
  align-content: center;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 22px;
  }

  .site-nav {
    gap: 16px;
  }

  .hero {
    min-height: 580px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .section-heading,
  .two-column,
  .reel-grid,
  .portfolio-cards {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 520px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 74px 0 48px;
  }

  .hero h1,
  .section-heading h2,
  .page-intro h1 {
    font-size: 2.7rem;
  }

  .hero-line {
    font-size: 1.12rem;
  }

  .content-band,
  .page-intro,
  .portfolio-cards {
    width: calc(100% - 32px);
  }

  .content-band {
    padding: 50px 0;
  }

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

  .portfolio-card span {
    font-size: 1.55rem;
  }
}

/* Bailey R Gwyn signature: Audia Systems LLC structural footer treatment. */
.site-signature {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 18px 0 16px;
  color: rgba(17, 20, 24, 0.24);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: right;
  text-transform: none;
}

.site-signature span {
  opacity: 0.72;
}

/* Bailey R Gwyn signature: Will Smith Edits logo lockup. */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 52px;
  flex: 0 0 auto;
  color: var(--paper);
}

.brand-w {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.8rem;
  font-weight: 750;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.brand-edits {
  position: absolute;
  top: -2px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%) rotate(-3deg);
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-brand:hover .brand-edits,
.site-brand:focus-visible .brand-edits {
  color: var(--mist);
}

@media (max-width: 720px) {
  .site-brand {
    gap: 9px;
  }

  .brand-logo {
    width: 48px;
    height: 44px;
  }

  .brand-w {
    font-size: 3.05rem;
  }

  .brand-edits {
    top: -1px;
    font-size: 0.56rem;
    letter-spacing: 0.18em;
  }

  .brand-title {
    max-width: 180px;
    font-size: 0.82rem;
  }
}

/* Bailey R Gwyn signature: keep verified portrait key art sharp and uncropped. */
.work-card img.poster-contain {
  object-fit: contain;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 32%, rgba(246, 242, 232, 0.12), transparent 38%),
    var(--ink-soft);
}

/* Bailey R Gwyn signature: compact professional refinement layer. */
:root {
  --paper: #f3efe5;
  --paper-2: #edf0ea;
  --mist: #d4e5e2;
  --coral: #f37f63;
  --line: rgba(17, 20, 24, 0.13);
  --shadow: rgba(17, 20, 24, 0.18);
}

body {
  background:
    linear-gradient(130deg, rgba(201, 222, 221, 0.15), transparent 34%),
    linear-gradient(24deg, transparent 58%, rgba(255, 139, 104, 0.07)),
    var(--paper);
  font-size: 0.98rem;
  line-height: 1.5;
}

body::before {
  opacity: 0.07;
  background-size: 42px 42px;
}

.site-header {
  gap: 18px;
  padding: 12px max(22px, calc((100vw - 1120px) / 2));
  background: rgba(17, 20, 24, 0.94);
  box-shadow: 0 10px 34px -28px rgba(0, 0, 0, 0.7);
}

.site-brand {
  gap: 10px;
}

.brand-logo {
  width: 48px;
  height: 42px;
}

.brand-w {
  font-size: 3.05rem;
}

.brand-edits {
  top: -1px;
  font-size: 0.54rem;
  letter-spacing: 0.18em;
}

.brand-title {
  font-size: 0.94rem;
}

.site-nav {
  gap: 18px;
  font-size: 0.9rem;
}

.hero {
  min-height: 540px;
}

.hero-image {
  opacity: 0.38;
  filter: saturate(0.78) contrast(1.08) blur(0.5px);
}

.hero-content {
  width: min(1120px, calc(100% - 44px));
  padding: 74px 0 58px;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3.25rem, 8vw, 4.95rem);
}

.hero-line {
  margin-top: 18px;
  font-size: 1.13rem;
}

.hero-content > p:not(.hero-line) {
  max-width: 620px;
  margin-top: 12px;
  font-size: 1rem;
}

.action-row {
  margin-top: 24px;
}

.button {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 7px;
}

.content-band,
.page-intro,
.portfolio-cards {
  width: min(1120px, calc(100% - 44px));
}

.content-band {
  padding: 48px 0;
}

.page-main {
  padding: 56px 0 72px;
}

.page-intro {
  gap: 14px;
  max-width: 820px;
  margin-bottom: 8px;
}

.section-heading {
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.9fr);
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading h2,
.page-intro h1 {
  font-size: clamp(2.45rem, 5vw, 3.05rem);
}

.section-heading p,
.page-intro p,
.two-column p {
  font-size: 0.98rem;
}

.work-grid {
  gap: 14px;
}

.work-card,
.portfolio-card,
.reel-frame {
  border-radius: 10px;
  background: rgba(246, 242, 232, 0.84);
  box-shadow: 0 14px 32px -28px var(--shadow);
}

.work-card img {
  aspect-ratio: 16 / 9;
}

.work-copy {
  gap: 6px;
  padding: 13px 14px 15px;
}

.work-copy h3 {
  font-size: 1.28rem;
}

.work-copy p {
  font-size: 0.86rem;
  line-height: 1.4;
}

.two-column {
  gap: 34px;
}

.two-column h2 {
  margin-bottom: 12px;
  font-size: 2.25rem;
}

.detail-list p {
  padding: 11px 0;
}

.reel-grid {
  gap: 16px;
}

.reel-frame {
  padding: 12px;
}

.featured-reel {
  max-width: 900px;
}

.reel-frame figcaption {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.preview-label {
  right: 15px;
  bottom: 13px;
  left: 15px;
  font-size: 0.95rem;
}

.play-mark {
  width: 60px;
  height: 42px;
  border-radius: 12px;
}

.play-mark::before {
  border-top-width: 9px;
  border-bottom-width: 9px;
  border-left-width: 15px;
}

.portfolio-cards {
  gap: 14px;
}

.portfolio-card {
  gap: 8px;
  padding: 22px;
}

.portfolio-card span {
  font-size: 1.72rem;
}

.portfolio-card small {
  font-size: 0.92rem;
}

.playlist-list {
  max-width: 660px;
  margin-top: 16px;
}

.playlist-list a {
  padding: 12px 0;
}

.portfolio-section-shell + .portfolio-section-shell {
  margin-top: 12px;
  padding-top: 10px;
}

.site-signature {
  width: min(1120px, calc(100% - 44px));
  padding: 12px 0 14px;
  font-size: 0.48rem;
  color: rgba(17, 20, 24, 0.18);
}

@media (max-width: 900px) {
  .site-header {
    gap: 12px;
    padding: 12px 18px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 64px 0 52px;
  }

  .content-band {
    padding: 38px 0;
  }

  .page-main {
    padding: 46px 0 62px;
  }
}

@media (max-width: 620px) {
  .site-nav {
    gap: 13px;
    font-size: 0.86rem;
  }

  .brand-title {
    max-width: 170px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .work-copy {
    padding: 12px;
  }

  .portfolio-card {
    padding: 18px;
  }
}

/* Bailey R Gwyn signature: accessibility and hardening helpers. */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--coral);
  border: 1px solid rgba(17, 20, 24, 0.24);
  border-radius: 8px;
  box-shadow: 0 12px 30px -18px var(--shadow);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}
