/* =========================================================
   Harrison Beeson — Voice Actor
   Built from Harrison_Beeson_V0_2.ai
   ========================================================= */

:root {
  --red: #8b1a1f;
  --red-dark: #6f1418;
  --navy: #1f2631;
  --navy-bar: #262d38;
  --cream: #eeeadb;
  --paper: #f8f7f4;
  --ink: #141414;
  --gray-text: #8f8f8f;
  --track: #c9c5bc;
  --quote: #9b7c7d;
  --gold: #c9a23a;

  --notch: clamp(36px, 6.5vw, 96px);   /* depth of the chevron section edges */
  --container: 1120px;

  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-script: "Croissant One", Georgia, serif;
  --f-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-ui: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.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;
}

/* ---------- Shared type ---------- */
.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
  text-align: center;
  color: var(--ink);
  margin-bottom: clamp(28px, 4vw, 50px);
}
.section-title.light { color: #fff; }

.script-heading {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(20px, 1.9vw, 24px);
  letter-spacing: .05em;
  text-align: center;
  margin-bottom: 22px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 22px 8px;
  font-family: var(--f-script);
  font-size: 15px;
  letter-spacing: .04em;
  transition: background .2s, transform .2s;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.25); }
.btn-red:hover, .btn-red:focus-visible { background: var(--red-dark); transform: translateY(-1px); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Chevron section edges ---------- */
/* Bottom edge that points down (V) */
.shape-v-bottom {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), 50% 100%, 0 calc(100% - var(--notch)));
}
/* Top edge that points up (^) – overlaps the section above */
.shape-peak-top {
  position: relative;
  margin-top: calc(var(--notch) * -1);
  clip-path: polygon(0 var(--notch), 50% 0, 100% var(--notch), 100% 100%, 0 100%);
}
.shape-peak-top.shape-v-bottom {
  clip-path: polygon(0 var(--notch), 50% 0, 100% var(--notch), 100% calc(100% - var(--notch)), 50% 100%, 0 calc(100% - var(--notch)));
}
/* stacking order so each shaped edge sits over its neighbour */
.site-header    { z-index: 10; }
.intro          { z-index: 9; }
.videos         { z-index: 1; margin-top: calc(var(--notch) * -1); }
.testimonials   { z-index: 5; }
.clients        { z-index: 6; }
.representation { z-index: 4; margin-top: calc(var(--notch) * -1); }
.contact        { z-index: 1; margin-top: calc(var(--notch) * -1); }

/* Dark grunge background */
.dark-texture {
  background-color: var(--navy);
  background-image: url("images/texture-dark.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  background:
    linear-gradient(180deg, rgba(20,25,34,.25), rgba(20,25,34,.55)),
    url("images/texture-header.jpg") center top / cover,
    var(--navy);
  color: #fff;
  padding: 34px 0 calc(var(--notch) + 40px);
  position: relative;
}

.nav-bar {
  position: relative;
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 52px;
}
.nav-bar::before {             /* the slanted dark bar */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-bar);
  clip-path: polygon(0 0, 100% 0, calc(100% - 46px) 100%, 46px 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
  z-index: 0;
}
.nav-bar > * { position: relative; z-index: 1; }

.contact-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-family: var(--f-ui);
  font-size: 15px;
  color: #fff;
  margin-top: -14px;
  justify-self: start;
  padding-left: clamp(30px, 4vw, 54px);
}
.contact-chip:last-of-type { justify-self: end; padding-left: 0; padding-right: clamp(40px, 5vw, 70px); }
.contact-chip:hover span:last-child { color: var(--cream); text-decoration: underline; }

.chip-icon {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: #fff;
  color: var(--red);
  font-size: 13px;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  border-radius: 6px;
}

.main-nav {
  display: grid;
  grid-template-columns: 1fr clamp(150px, 15vw, 200px) 1fr;
  align-items: center;
}
.main-nav ul { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.main-nav a {
  font-family: var(--f-ui);
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: none;
  color: #a69aa6;
  letter-spacing: .01em;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }

.brand-monogram {
  justify-self: center;
  width: clamp(100px, 10vw, 130px);
  margin-top: -14px;
  margin-bottom: -96px;      /* lets the monogram drop over the hero title */
}
.brand-monogram img { width: 100%; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }

.hero-title { text-align: center; margin-top: 92px; position: relative; z-index: 2; }
.hero-title h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(38px, 4.4vw, 56px);
  letter-spacing: .04em;
  line-height: 1;
  color: var(--cream);
}
.tagline {
  font-family: var(--f-body);
  font-weight: 100;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: .14em;
  color: #9d9d9d;
  margin-top: 4px;
}
.hero-monogram-mobile { display: none; }

.menu-toggle {
  display: none;
  background: none; border: 0;
  width: 44px; height: 44px;
  padding: 10px;
  flex-direction: column; justify-content: space-between;
}
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 72px; left: 16px; right: 16px;
  background: var(--navy-bar);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  z-index: 20;
  padding: 10px 0;
}
.mobile-menu a {
  display: block;
  padding: 12px 22px;
  font-family: var(--f-ui);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  color: #ddd;
}
.mobile-menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.mobile-menu a:nth-child(n+5) { text-transform: none; color: #aaa; font-size: 14px; }
.mobile-menu i { color: #fff; width: 18px; }

/* =========================================================
   INTRO: demos + about
   ========================================================= */
.intro {
  background: var(--paper);
  margin-top: calc(var(--notch) * -1 - 2px);
  padding: calc(var(--notch) + 50px) 0 calc(var(--notch) + 70px);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 130px);
  max-width: 1020px;
}

.demo-list { display: grid; gap: 22px; max-width: 330px; margin-inline: auto; }
.audio-player {
  display: grid;
  grid-template-columns: 22px 1fr 22px;
  align-items: center;
  gap: 14px;
}
.ap-play {
  background: none; border: 0; padding: 0;
  color: #444; font-size: 17px; line-height: 1;
  transition: color .2s, transform .2s;
}
.ap-play:hover { color: var(--red); transform: scale(1.1); }
.audio-player.is-playing .ap-play { color: var(--red); }
.ap-body { display: grid; gap: 4px; }
.ap-title {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.ap-track {
  position: relative;
  height: 10px;
  background: var(--track);
  cursor: pointer;
  overflow: hidden;
}
.ap-fill {
  position: absolute; inset: 0 auto 0 0;
  width: 36%;                    /* matches the mockup at rest */
  background: var(--red);
  transition: width .15s linear;
}
.audio-player.has-started .ap-fill { transition: none; }
.ap-download {
  color: var(--red); font-size: 15px; text-align: center;
  transition: transform .2s;
}
.ap-download:hover { transform: translateY(2px); }
.audio-player.is-missing .ap-title::after { content: " — file coming soon"; text-transform: none; letter-spacing: 0; }

.about p {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.38;
  color: var(--gray-text);
  text-align: justify;
  hyphens: auto;
}

/* =========================================================
   FEATURED VIDEOS
   ========================================================= */
.videos {
  position: relative;
  background:
    linear-gradient(rgba(236,236,234,.62), rgba(236,236,234,.62)),
    #d8d8d6 url("images/texture-light.jpg") center / cover;
  padding: calc(var(--notch) + 70px) 0 calc(var(--notch) + 110px);
  overflow: hidden;
}
.videos::before {            /* faded vintage portrait */
  content: "";
  position: absolute;
  left: 4%; top: 0;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  background: url("images/vintage-portrait.png") center / contain no-repeat;
  mix-blend-mode: multiply;
  opacity: .7;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  pointer-events: none;
}
.videos .container { position: relative; max-width: 1240px; width: min(1240px, 100% - 40px); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 5vw, 72px);
}
.video-card {
  position: relative;
  aspect-ratio: 417 / 248;
  background: #121110;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  overflow: hidden;
}
.video-card[hidden] { display: none; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt-play {
  position: relative;
  width: 62px; height: 44px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
  transition: transform .2s, background .2s;
}
.video-card:hover .yt-play { transform: scale(1.08); background: #a51f25; }
#load-more { margin-top: clamp(32px, 4vw, 52px); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  padding: calc(var(--notch) + 60px) 0 calc(var(--notch) + 120px);
}
.quote-wrap {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding: 0 clamp(60px, 9vw, 120px);
}
.quote-mark {
  position: absolute;
  font-size: clamp(48px, 6vw, 80px);
  color: var(--quote);
}
.quote-mark.open { left: 0; top: 0; }
.quote-mark.close { right: 0; bottom: -10px; }
.quote-slides { display: grid; }
.quote {
  grid-area: 1 / 1;
  margin: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
}
.quote.is-active { opacity: 1; visibility: visible; }
.quote blockquote {
  margin: 30px 0 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  color: #ececec;
}
.quote figcaption {
  margin-top: 28px;
  font-family: var(--f-body);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 19px);
  color: #fff;
}
.quote-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.quote-dots button {
  width: 10px; height: 10px; padding: 0;
  border-radius: 50%;
  border: 1px solid var(--quote);
  background: transparent;
}
.quote-dots button[aria-selected="true"] { background: var(--quote); }

/* =========================================================
   HAPPY CLIENTS
   ========================================================= */
.clients {
  background: #fff;
  padding: calc(var(--notch) + 50px) 0 calc(var(--notch) + 90px);
}
.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 4vw, 60px);
  max-width: 1020px;
  margin-inline: auto;
}
.car-arrow {
  background: none; border: 0;
  color: var(--red);
  font-size: 34px;
  padding: 8px;
  transition: transform .2s;
}
.car-arrow svg { width: 22px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; display: block; }
.car-arrow:hover { transform: scale(1.12); }
.car-viewport {
  overflow: hidden;
  background: #fafafa;
  box-shadow: 0 0 22px rgba(0,0,0,.04);
  padding: 18px 0;
}
.car-track {
  display: flex;
  transition: transform .45s ease;
}
.car-track li {
  flex: 0 0 20%;
  display: grid;
  place-items: center;
  padding: 6px 18px;
  height: 78px;
}
.car-track img {
  max-height: 58px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* =========================================================
   REPRESENTATION
   ========================================================= */
.representation {
  position: relative;
  padding: calc(var(--notch) + 80px) 0 calc(var(--notch) + 110px);
}
.representation::before {     /* fade toward lighter grey at the bottom, as in the mockup */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,38,49,0) 25%, rgba(120,122,128,.6) 100%);
  pointer-events: none;
}
.representation .container { position: relative; }
.agency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  max-width: 1060px;
  margin-inline: auto;
}
.agency h3 {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.agency p {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: #9da2aa;
}
.agency a { text-decoration: none; overflow-wrap: anywhere; }
.agency a:hover { color: #fff; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  position: relative;
  background:
    linear-gradient(90deg, #d4d8de 0%, #e6e8ec 30%, #d0d4da 62%, #c6cad1 100%);
  padding: calc(var(--notch) + 110px) 0 70px;
  overflow: hidden;
}
.contact-photo {
  position: absolute;
  right: 0; bottom: 0;
  height: 100%;
  width: auto;
  max-width: 34%;
  object-fit: cover;
  object-position: 40% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 520px);
  gap: clamp(30px, 4vw, 60px);
  align-items: end;
  width: min(1240px, 100% - 40px);
}
.contact-form-wrap { width: 100%; }
.contact-form-wrap .section-title { margin-bottom: 36px; }

.contact-brand { text-align: center; padding-bottom: 50px; }
.contact-brand img { width: 120px; height: auto; margin: 0 auto 4px; }
.brand-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 3vw, 42px);
  letter-spacing: .04em;
  line-height: 1.05;
}
.brand-tag {
  font-family: var(--f-body);
  font-weight: 100;
  font-size: 24px;
  letter-spacing: .14em;
  color: #333;
}
.socials { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.socials a {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: #fff;
  color: var(--red);
  font-size: 11px;
  text-decoration: none;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--red); color: #fff; }

.contact-form { display: grid; gap: 18px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #fff;
  padding: 12px 14px;
  font-family: var(--f-ui);
  font-size: 16px;
  color: #111;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form ::placeholder { color: #222; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); }
.contact-form .is-invalid { border-color: var(--red); background: #fff6f6; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 8px; }
.form-status { font-family: var(--f-ui); font-size: 14px; color: #333; margin-right: auto; }
.form-status.error { color: var(--red); }
.btn-send { border-radius: 6px; padding: 8px 36px 9px; font-size: 18px; }
.btn-send[disabled] { opacity: .6; cursor: progress; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #232a35;
  color: #e6e6e6;
  font-family: var(--f-ui);
  font-size: 13px;
  padding: 14px 0 18px;
  border-top: 3px solid #fff;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  width: min(1240px, 100% - 40px);
}
.footer-right { text-align: right; }
.footer-quote {
  color: var(--gold);
  border-bottom: 1px solid #3a414c;
  padding-bottom: 6px;
  margin-bottom: 6px;
  font-size: 14px;
}
.site-footer a { text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .contact-photo { max-width: 30%; opacity: .9; }
  .contact-grid { grid-template-columns: 240px minmax(0, 1fr); }
  .contact-form-wrap { max-width: 460px; }
}

@media (max-width: 900px) {
  .nav-bar { display: flex; justify-content: flex-end; min-height: 48px; }
  .nav-bar::before { clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 24px 100%); }
  .main-nav, .contact-chip { display: none; }
  .menu-toggle { display: flex; margin-right: 18px; }

  .site-header { padding-top: 20px; }
  .hero-title { margin-top: 26px; }
  .hero-monogram-mobile { display: block; width: 110px; height: auto; margin: 0 auto 6px; }

  .intro-grid { grid-template-columns: 1fr; gap: 56px; }
  .about { max-width: 560px; margin-inline: auto; }
  .about p { text-align: left; }

  .video-grid { grid-template-columns: 1fr 1fr; }
  .videos::before { width: 90vw; left: -10%; }

  .car-track li { flex-basis: 33.333%; }

  .agency-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }

  .contact { padding-top: 0; }
  .contact-photo {
    position: relative;
    max-width: none;
    width: 100%;
    height: 420px;
    object-position: 50% 15%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    margin-bottom: -40px;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { order: -1; max-width: 560px; width: 100%; margin-inline: auto; }
  .contact-brand { padding-bottom: 0; }

  .footer-inner { flex-direction: column-reverse; align-items: center; text-align: center; }
  .footer-right { text-align: center; }
}

@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
  .agency-grid { grid-template-columns: 1fr; }
  .car-track li { flex-basis: 50%; }
  .carousel { gap: 4px; }
  .car-arrow { font-size: 26px; }
  .quote-wrap { padding: 0 10px; }
  .quote-mark { font-size: 40px; opacity: .6; }
  .quote-mark.open { top: -24px; left: 0; }
  .quote-mark.close { bottom: -30px; }
  .contact-photo { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
