:root {
  --bg: #f3efe7;
  --bg-strong: #e5dccd;
  --paper: rgba(255, 252, 246, 0.76);
  --text: #111111;
  --muted: #5a534b;
  --accent: #c8b8a3;
  --accent-dark: #7d6d5c;
  --line: rgba(17, 17, 17, 0.14);
  --shadow: 0 18px 40px rgba(43, 37, 32, 0.12);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(200, 184, 163, 0.38), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(43, 37, 32, 0.08), transparent 24%),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 52%, #efe7da 100%);
  color: var(--text);
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px);
  background-size: 160px 160px;
  mask-image: radial-gradient(circle at center, black, transparent 85%);
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  background: rgba(243, 239, 231, 0.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.06);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark__word,
h1,
h2,
h3 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-mark__word {
  font-size: 1.6rem;
  line-height: 1;
}

.brand-mark__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-nav a,
.menu-toggle {
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.menu-toggle:hover,
.site-nav a:focus-visible,
.menu-toggle:focus-visible,
.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(17, 17, 17, 0.06);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
}

.section {
  padding: 5.5rem 0 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 7rem);
  padding-top: 2.5rem;
}

.eyebrow,
.scribble,
.service-card__index,
.crew-card span,
.work-board__header,
.sticky-note,
.mascot-card__badge {
  font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-dark);
  font-size: 1rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(4rem, 15vw, 8.5rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.6rem;
  line-height: 1;
}

.hero-copy__lead {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.hero-copy__body,
.about-card,
.service-card p,
.crew-intro p,
.work-copy p,
.work-tile p,
.contact-panel__body {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions,
.contact-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button--dark {
  background: var(--text);
  color: #f8f4ec;
}

.button--dark:hover,
.button--dark:focus-visible {
  background: #2d2924;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(17, 17, 17, 0.05);
}

.hero-visual__frame,
.about-card,
.service-card,
.crew-card,
.work-board,
.contact-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-visual__frame {
  min-height: 37rem;
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(200, 184, 163, 0.54)),
    linear-gradient(135deg, rgba(17, 17, 17, 0.06), transparent 40%);
}

.scribble {
  position: absolute;
  top: 1rem;
  left: 1.3rem;
  transform: rotate(-5deg);
  font-size: 1rem;
  color: var(--accent-dark);
}

.mascot-card {
  height: 100%;
  min-height: 33.5rem;
  padding: 2rem;
  border: 1px dashed rgba(17, 17, 17, 0.25);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.88), transparent 50%),
    linear-gradient(180deg, rgba(243, 239, 231, 0.92), rgba(229, 220, 205, 0.8));
}

.mascot-card__badge {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(17, 17, 17, 0.07);
}

.mascot-card__scene {
  position: relative;
  height: calc(100% - 3rem);
}

.chair {
  position: absolute;
  left: 50%;
  bottom: 3.8rem;
  width: 13rem;
  height: 11rem;
  transform: translateX(-50%);
  border: 4px solid var(--text);
  border-bottom-width: 0;
  border-radius: 1rem 1rem 0.4rem 0.4rem;
}

.chair::before,
.chair::after,
.chair span::before,
.chair span::after {
  content: "";
  position: absolute;
  width: 0.35rem;
  background: var(--text);
  border-radius: 999px;
}

.chair::before {
  left: 1.25rem;
  bottom: -5rem;
  height: 5.1rem;
  transform: rotate(14deg);
}

.chair::after {
  right: 1.25rem;
  bottom: -5rem;
  height: 5.1rem;
  transform: rotate(-14deg);
}

.chair span::before {
  left: 1.5rem;
  top: -4.2rem;
  height: 4.3rem;
  transform: rotate(-18deg);
}

.chair span::after {
  right: 1.5rem;
  top: -4.2rem;
  height: 4.3rem;
  transform: rotate(18deg);
}

.slouch {
  position: absolute;
  left: 50%;
  bottom: 8rem;
  width: 11rem;
  height: 7rem;
  transform: translateX(-50%) rotate(-6deg);
  border: 4px solid var(--text);
  border-radius: 52% 48% 56% 44%;
  background: rgba(255, 255, 255, 0.46);
}

.slouch::before,
.slouch::after {
  content: "";
  position: absolute;
  top: -2rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 4px solid var(--text);
  border-radius: 50%;
  background: var(--bg);
}

.slouch::before {
  left: 1rem;
}

.slouch::after {
  right: 1rem;
}

.slouch__eye,
.slouch__mouth {
  position: absolute;
  background: var(--text);
}

.slouch__eye {
  top: 2.7rem;
  width: 1rem;
  height: 0.2rem;
  border-radius: 999px;
}

.slouch__eye:first-of-type {
  left: 2.8rem;
}

.slouch__eye:last-of-type {
  right: 2.8rem;
}

.slouch__mouth {
  left: 50%;
  bottom: 1.5rem;
  width: 1.8rem;
  height: 0.24rem;
  transform: translateX(-50%);
  border-radius: 999px;
}

.prop {
  position: absolute;
  border: 4px solid var(--text);
  background: rgba(255, 255, 255, 0.38);
}

.prop--camera {
  top: 20%;
  right: 12%;
  width: 6rem;
  height: 4.2rem;
  border-radius: 1.1rem;
}

.prop--camera::before,
.prop--camera::after,
.prop--clapper::before {
  content: "";
  position: absolute;
}

.prop--camera::before {
  top: 1rem;
  left: 1.2rem;
  width: 1.7rem;
  height: 1.7rem;
  border: 4px solid var(--text);
  border-radius: 50%;
}

.prop--camera::after {
  top: -1.3rem;
  left: 0.9rem;
  width: 2rem;
  height: 1.2rem;
  border: 4px solid var(--text);
  border-bottom: 0;
  border-radius: 0.7rem 0.7rem 0 0;
}

.prop--clapper {
  left: 12%;
  bottom: 26%;
  width: 6.5rem;
  height: 5rem;
  border-radius: 1rem;
  transform: rotate(-8deg);
}

.prop--clapper::before {
  top: -1.1rem;
  left: -0.25rem;
  width: 6.8rem;
  height: 1.2rem;
  border: 4px solid var(--text);
  border-radius: 0.7rem 0.7rem 0 0;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 0.75rem,
      var(--text) 0.75rem 1.05rem
    );
}

.sticky-note {
  position: absolute;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: #f8e9a8;
  box-shadow: 0 12px 22px rgba(17, 17, 17, 0.14);
  color: #3f3327;
}

.sticky-note--left {
  left: -0.3rem;
  bottom: 3.4rem;
  transform: rotate(-7deg);
}

.sticky-note--right {
  right: 1rem;
  top: 4.4rem;
  transform: rotate(5deg);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.about-grid,
.work-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-card,
.service-card,
.crew-card,
.work-copy,
.work-board,
.contact-panel {
  padding: 1.6rem;
}

.about-card__quote {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--text);
  line-height: 1.12;
}

.about-card--quote::after,
.contact-panel::after {
  content: "";
  position: absolute;
  inset: auto -8% -22% auto;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: rgba(200, 184, 163, 0.32);
  filter: blur(4px);
}

.services-grid,
.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.crew-card {
  min-height: 14rem;
}

.service-card__index,
.crew-card span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-dark);
  font-size: 1rem;
}

.crew-intro {
  max-width: 32rem;
  margin-bottom: 1.25rem;
}

.crew-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(216, 209, 199, 0.64)),
    linear-gradient(135deg, rgba(17, 17, 17, 0.06), transparent 55%);
}

.work-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.44);
}

.work-board {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(200, 184, 163, 0.36)),
    linear-gradient(135deg, rgba(17, 17, 17, 0.06), transparent 45%);
}

.work-board__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  color: var(--accent-dark);
  font-size: 1rem;
}

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

.work-tile {
  min-height: 10.5rem;
  padding: 1.2rem;
  border: 1px dashed rgba(17, 17, 17, 0.25);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.34);
}

.work-tile--wide {
  grid-column: 1 / -1;
}

.work-tile strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-panel {
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.98), rgba(43, 37, 32, 0.94));
  color: #f8f4ec;
}

.contact-panel .eyebrow,
.contact-panel__body {
  color: rgba(248, 244, 236, 0.8);
}

.contact-panel .button--ghost {
  border-color: rgba(248, 244, 236, 0.22);
  background: rgba(248, 244, 236, 0.08);
  color: #f8f4ec;
}

.contact-panel .button--ghost:hover,
.contact-panel .button--ghost:focus-visible {
  background: rgba(248, 244, 236, 0.16);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.4rem 0 3rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal--delay {
  transition-delay: 120ms;
}

.reveal--delay-2 {
  transition-delay: 240ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero,
  .about-grid,
  .work-layout,
  .services-grid,
  .crew-grid,
  .work-board__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual__frame,
  .mascot-card {
    min-height: 28rem;
  }

  .service-card,
  .crew-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.4rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    text-align: center;
    border: 1px solid rgba(17, 17, 17, 0.06);
  }

  .section {
    padding-top: 4.5rem;
  }

  .hero {
    padding-top: 1.2rem;
  }

  .hero-visual__frame {
    min-height: 24rem;
    padding: 1rem;
  }

  .mascot-card {
    min-height: 21rem;
    padding: 1.2rem;
  }

  .chair {
    width: 9rem;
    height: 7.4rem;
    bottom: 2.8rem;
  }

  .slouch {
    width: 7.8rem;
    height: 5rem;
    bottom: 6rem;
  }

  .slouch::before,
  .slouch::after {
    top: -1.4rem;
    width: 1.9rem;
    height: 1.9rem;
  }

  .prop--camera {
    right: 6%;
    width: 4.4rem;
    height: 3.3rem;
  }

  .prop--clapper {
    left: 6%;
    width: 4.8rem;
    height: 3.9rem;
  }

  .sticky-note {
    font-size: 0.9rem;
  }

  .work-board__header,
  .site-footer {
    flex-direction: column;
  }
}
