:root {
  color-scheme: light;
  --ink: #261437;
  --muted: #60566a;
  --purple: #2a094e;
  --lavender: #f2ecf8;
  --line: #e5ddec;
  --teal: #00685e;
  --mint: #bdebe2;
  --body-font: "Instrument Sans", system-ui, sans-serif;
  --heading-font: "Poppins", var(--body-font);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 6.25rem; }
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #fff;
  font: 400 1rem/1.55 var(--body-font);
}
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading-font);
  line-height: 1.06;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5.4rem); letter-spacing: -.065em; }
h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); letter-spacing: -.05em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.025em; }
p { margin: 0; }
p + p { margin-top: 1rem; }
:focus-visible { outline: 3px solid #006c66; outline-offset: 4px; }
.site-header :focus-visible, .site-footer :focus-visible, .reel-dialog :focus-visible { outline-color: var(--mint); }

.shell { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.section { padding-block: clamp(3.2rem, 6.3vw, 5.25rem); }
.skip-link {
  position: fixed;
  z-index: 9;
  top: .75rem;
  left: 1rem;
  padding: .65rem 1rem;
  transform: translateY(-200%);
  color: var(--ink);
  background: white;
}
.skip-link:focus { transform: none; }
.site-header, .site-footer { color: white; background: var(--purple); }
.site-header { position: sticky; top: 0; z-index: 5; }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.header-inner { min-height: 4.75rem; }
.site-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .6rem;
  color: white;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: clamp(1.05rem, 3vw, 2.25rem); }
.site-nav > a, .mobile-nav > a { font-size: .95rem; font-weight: 600; text-decoration: none; }
.site-nav > a:not(.button):hover, .site-nav > a[aria-current="page"]:not(.button) {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: .35em;
}
.mobile-nav, .menu-toggle { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.button {
  display: inline-flex;
  min-height: 3rem;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}
.button-primary { color: white; background: var(--teal); }
.button-primary:hover { background: #054d47; }
.button-secondary { color: var(--ink); background: transparent; border-color: #8b799d; }
.button-secondary:hover { background: #e9dff2; }
.button-header { min-height: 2.55rem; color: var(--purple); background: var(--mint); white-space: nowrap; }
.button-header:hover { background: #d7fff6; }
.text-link { color: var(--teal); font-weight: 700; text-underline-offset: .24em; }
.text-link:hover { color: #054d47; }

.page-intro {
  background: var(--lavender);
  border-bottom: 1px solid var(--line);
}
.home-hero {
  --wave-depth: clamp(13rem, 27vw, 24rem);
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.8rem, 5.1vw, 5.05rem) clamp(5.75rem, 7.5vw, 7rem);
  background: white;
  color: white;
}
.home-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    url("../images/mobile_wave_4.png") center bottom / 100% var(--wave-depth) no-repeat,
    linear-gradient(var(--purple), var(--purple)) center top / 100% calc(100% - var(--wave-depth) + 2px) no-repeat;
  content: "";
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.9rem, 4.5vw, 4.15rem);
  align-items: center;
}
.hero-copy h1 { max-width: 15ch; font-size: clamp(2.65rem, 4.65vw, 4.75rem); font-weight: 800; }
.hero-copy p, .page-intro p, .contact-intro p {
  max-width: 35rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.25rem);
}
.hero-copy .actions { margin-top: 1.6rem; }
.home-hero .hero-copy p { max-width: 31rem; color: #f2e7fb; }
.home-hero .button-primary, .chat-cta .button-primary { color: var(--purple); background: var(--mint); }
.home-hero .button-primary:hover, .chat-cta .button-primary:hover { background: #d7fff6; }
.home-hero .button-secondary { color: white; border-color: #bd9bd8; }
.home-hero .button-secondary:hover { background: #422064; }
.home-hero :focus-visible, .chat-cta :focus-visible { outline-color: var(--mint); }
.home-hero + .section { padding-top: clamp(2.3rem, 4.3vw, 3.45rem); }
.reel-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-width: 0;
  border: 1px solid #523e68;
  border-radius: .85rem;
  background: var(--purple);
  color: white;
  box-shadow: 0 .65rem 1.5rem rgb(42 9 78 / .24);
}
.reel-cover img, .work-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
.reel-cover img { opacity: .81; }
.reel-play {
  position: relative;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid white;
  border-radius: 50%;
  background: white;
  color: var(--purple);
  transition: transform .18s ease, background-color .18s ease;
}
.reel-play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: .22rem;
  border-top: .53rem solid transparent;
  border-bottom: .53rem solid transparent;
  border-left: .85rem solid currentColor;
}
.reel-cover:hover .reel-play, .reel-cover:focus-visible .reel-play {
  transform: scale(1.1);
  background: var(--mint);
  border-color: var(--mint);
}
.reel-caption {
  position: absolute;
  bottom: .9rem;
  left: .9rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: var(--purple);
  font-size: .82rem;
  font-weight: 600;
}
.reel-dialog {
  width: min(90vw, 58rem);
  max-width: none;
  padding: 1rem;
  border: 1px solid #765d91;
  border-radius: .85rem;
  background: var(--purple);
  color: white;
}
.reel-dialog::backdrop { background: rgb(24 11 36 / .82); }
.reel-dialog-head { display: flex; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.reel-dialog-head h2 { font-size: 1.2rem; letter-spacing: 0; }
.reel-dialog-head button {
  flex: none;
  width: 2.5rem;
  min-height: 2.5rem;
  border: 1px solid #a58ab8;
  border-radius: .4rem;
  background: transparent;
  color: white;
  font-size: 1.65rem;
  line-height: 1;
}
.reel-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.65rem;
}
.work-grid, .portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.45rem; }
.work-tile, .case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: white;
}
.work-tile { text-decoration: none; }
.work-tile:hover { border-color: #8d759e; }
.work-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #ded0eb; }
.work-art img { transition: transform .25s ease; }
.work-tile:hover .work-art img { transform: scale(1.04); }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.25rem; }
.work-meta p, .case-client { margin-bottom: .2rem; color: var(--muted); font-size: .86rem; font-weight: 700; }
.work-arrow { color: var(--teal); font-size: 1.35rem; }
.process-section { background: #f8f5fb; border-block: 1px solid var(--line); }
.process-grid, .pricing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.65rem);
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}
.process-grid li, .pricing-steps li { padding-top: 1rem; border-top: 2px solid #c4b2d0; }
.process-grid p, .pricing-steps p { margin-top: .5rem; color: var(--muted); }
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-art {
  display: grid;
  height: clamp(6.5rem, 12vw, 9.75rem);
  place-items: center;
  margin-bottom: 1rem;
}
.process-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: left center; }
.section-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.35rem, 3.5vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--lavender);
}
.section-cta p { margin-top: .55rem; color: var(--muted); }
.section-cta .button { flex: none; }
.chat-cta {
  border-color: transparent;
  background:
    linear-gradient(105deg, rgb(24 19 77 / .73), rgb(22 30 90 / .39)),
    #096fc0 url("../images/lets_chat_bg.png") center center / cover no-repeat;
  color: white;
}
.chat-copy { display: flex; align-items: center; gap: clamp(.95rem, 3vw, 2rem); }
.chat-copy img { flex: none; width: clamp(3.25rem, 8vw, 6.2rem); height: auto; }
.chat-cta p { color: white; }
.footer-inner { min-height: 6.25rem; }

.page-intro { padding-block: clamp(2.65rem, 6.1vw, 5.5rem); }
.page-intro h1 { max-width: 15ch; }
.portfolio-grid { padding-block: clamp(2.1rem, 5vw, 4.5rem); align-items: start; }
.case-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; }
.case-media { background: var(--purple); aspect-ratio: 16 / 9; }
.case-media iframe, .case-media img { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.case-copy { padding: clamp(1.15rem, 2.75vw, 2.1rem); }
.case-copy h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); }
.case-facts { margin-block: 1.05rem 0; }
.case-facts > div + div { margin-top: .65rem; }
.case-facts dt { font-weight: 700; }
.case-facts dd { margin: .1rem 0 0; color: var(--muted); }
.case-copy .text-link { display: inline-block; margin-top: 1rem; }
.case-card-text { background: #faf8fc; }

.pricing-grid, .contact-layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 5.25rem);
  align-items: center;
}
.pricing-card, .contact-panel {
  padding: clamp(1.2rem, 3.7vw, 2.85rem);
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: white;
}
.pricing-card .pricing-rate { display: grid; gap: .25rem; margin: 0 0 1.25rem; }
.pricing-amount { font: 800 clamp(3.3rem, 7vw, 7rem)/.95 var(--heading-font); letter-spacing: -.075em; }
.pricing-rate .pricing-unit { color: var(--ink); font-weight: 600; }
.pricing-card .pricing-note { margin-top: 1.05rem; font-size: 1rem; }
.pricing-includes { padding-block: clamp(3rem, 6vw, 5.1rem); }
.contact-page { padding-block: clamp(3rem, 6vw, 6rem); background: #faf8fc; }
.contact-layout { grid-template-columns: .9fr minmax(0, 1fr); align-items: start; }
.contact-intro h1 { max-width: 10ch; }
.contact-intro .text-link { display: inline-block; margin-top: 1.15rem; }
.contact-art { width: min(44%, 12rem); height: auto; margin-top: clamp(1.2rem, 3vw, 2rem); }
.form-row { display: grid; gap: .35rem; margin-bottom: 1rem; }
.form-row label { font-weight: 700; }
.form-row input, .form-row textarea {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .8rem;
  border: 1px solid #9c8eaa;
  border-radius: .4rem;
  background: white;
  color: var(--ink);
}
.form-row textarea { resize: vertical; }
.contact-panel .actions { gap: .75rem 1.15rem; margin-top: 1.25rem; }
.thanks-page .button { margin-top: 1.4rem; }

@media (max-width: 900px) {
  .case-card-featured { grid-template-columns: 1fr; }
}

@media (max-width: 759px) {
  html { scroll-padding-top: 5.4rem; }
  .shell { width: min(100% - 2.25rem, 72rem); }
  .header-inner { min-height: 4rem; }
  .site-nav { display: none; }
  .menu-toggle {
    display: grid;
    gap: .25rem;
    padding: .75rem;
    border: 1px solid #8f77a4;
    border-radius: .35rem;
    background: none;
    color: #fff;
  }
  .menu-toggle span { display: block; width: 1.1rem; height: .12rem; background: currentColor; }
  .mobile-nav:not([hidden]) { display: grid; gap: .75rem; padding: .25rem 0 1rem; }
  .mobile-nav a[aria-current="page"]:not(.button) { text-decoration: underline; text-underline-offset: .25em; }
  .hero-grid, .portfolio-grid, .pricing-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 13ch; }
  .home-hero { padding-block: 2.7rem 2rem; }
  .home-hero::before { background: var(--purple) url("../images/mobile_wave_5_full.png") center bottom / 100% 100% no-repeat; }
  .reel-cover { max-width: 34rem; }
  .work-grid { gap: 1rem; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-art { width: min(33%, 8rem); }
  .footer-inner { flex-wrap: wrap; padding-block: 1.35rem; }
}

@media (max-width: 490px) {
  h1, .hero-copy h1 { font-size: clamp(2.55rem, 11vw, 3.3rem); }
  .work-grid, .pricing-steps { grid-template-columns: 1fr; }
  .section-cta, .section-heading { align-items: start; flex-direction: column; }
  .section-heading { gap: .5rem; }
}

@media (max-width: 345px) {
  .process-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reel-play, .work-art img { transition: none; }
}
