/* ============================================================
   Glad Animal Movements — warm, bright, playful
   ============================================================ */

:root {
  --cream: #faf8ee;
  --red-tint: rgba(171, 51, 44, 0.08); /* translucent wash of the logo's brick red */
  --brand: #ab332c; /* logo brick red */
  --brand-dark: #8c2a24;
  --sun: #e0a83e;
  --saffron: #eb9722; /* buddhist-robe orange, turmeric-bright */
  --clay: #a0512a;
  --ink: #000000;
  --ink-soft: #3c3c3c;

  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 22px;
  --shadow: 0 12px 40px rgba(45, 53, 36, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn--primary {
  background: var(--brand);
  color: var(--cream);
  box-shadow: 0 6px 20px rgba(171, 51, 44, 0.35);
}
.btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(171, 51, 44, 0.45);
}
.btn--ghost {
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn--big { font-size: 1.1rem; }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 53, 36, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.nav__brand-mark img {
  height: 46px;
  width: auto;
  border-radius: 8px;
  display: block;
}
.nav__brand-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  list-style: none;
}
.nav__menu a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav__menu a:hover { color: var(--brand); }
.nav__menu a.nav__cta {
  background: var(--brand);
  color: var(--cream);
  padding: 0.55em 1.3em;
  border-radius: 999px;
  font-weight: 600;
}
.nav__menu a.nav__cta:hover { background: var(--brand-dark); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ Hero (full-bleed video) ============ */
.hero {
  position: relative;
  min-height: clamp(540px, 88vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  color: var(--cream);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: -2;
}

/* legibility overlay over the footage */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(20, 28, 16, 0.3) 0%,
    rgba(20, 28, 16, 0.12) 45%,
    rgba(20, 28, 16, 0.4) 100%
  );
}

.hero__inner {
  width: 100%;
  padding-inline: clamp(1.2rem, 3vw, 2.5rem);
}

.hero__copy {
  max-width: 40em;
  background: rgba(16, 22, 14, 0.12);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius);
}

.hero__kicker {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--saffron);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 1.3rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero__title em {
  font-style: italic;
  color: var(--saffron);
}

.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: rgba(250, 248, 238, 0.92);
  max-width: 34em;
  margin-bottom: 2rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
  background: rgba(16, 22, 14, 0.45);
  padding: 0.85em 1.1em;
  border-radius: 14px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ghost button needs to read against footage */
.hero .btn--ghost {
  color: var(--cream);
  border-color: var(--cream);
}
.hero .btn--ghost:hover {
  background: var(--cream);
  color: var(--ink);
}

/* ============ Sections (shared) ============ */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--tint { background: var(--red-tint); }

.section__head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__kicker {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.1;
}
.section__title-aside {
  font-size: 0.8em;
  font-weight: 500;
  font-style: italic;
  color: var(--ink-soft);
}

/* ============ Showreel ============ */
.showreel__frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.showreel__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============ About ============ */
.about__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about__body p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.about__body strong { color: var(--ink); }
.about__pull {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink) !important;
  border-left: 4px solid var(--sun);
  padding-left: 1.2rem;
  margin-top: 1.8rem;
}

.about__facts {
  display: grid;
  gap: 1.2rem;
}
.about__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  max-width: 460px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.about__photo img {
  width: 100%;
  display: block;
}
.about__photo figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 0.7rem 1rem;
}
.fact-card {
  background: var(--red-tint);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  display: grid;
  gap: 0.2rem;
}
.fact-card__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.4rem;
  color: var(--brand);
  line-height: 1;
}
.fact-card__label {
  color: var(--ink-soft);
  font-weight: 500;
}

/* ============ Services ============ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: 0 4px 18px rgba(45, 53, 36, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.service-card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ============ Work ============ */
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.work-card {
  border: 2px solid rgba(45, 53, 36, 0.1);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}
.work-card:hover {
  border-color: var(--sun);
  background: #fdfcf2;
  transform: translateY(-4px);
}
.work-card__client {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--clay);
  margin-bottom: 0.6rem;
}
.work-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.work-card p { color: var(--ink-soft); font-size: 0.95rem; }
.work-card__films {
  list-style: none;
  margin: 0.5rem 0 0.3rem;
  display: grid;
  gap: 0.35rem;
}
.work-card__films a {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.work-card__films a:hover { text-decoration: underline; }

.work-card__year {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sun);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.work__more { margin-top: 2.6rem; text-align: center; }

/* ============ Clients ============ */
.clients__logos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.client-logo {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(45, 53, 36, 0.06);
  display: grid;
  place-items: center;
  padding: 1.3rem 1.5rem;
  min-height: 110px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.client-logo img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
/* white-only logo artwork needs a dark ground */
.client-logo--dark { background: var(--brand-dark); }
/* square icon marks can use a little more height */
.client-logo--tall img { max-height: 72px; border-radius: 12px; }
/* detailed square logos that read small at standard size */
.client-logo--big img { max-height: 104px; }
/* name labels for marks that aren't self-identifying */
.client-logo__label {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.25;
}
.client-logo:has(.client-logo__label) img { max-height: 56px; }

/* ============ Testimonials ============ */
.quotes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.quote-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.9rem 1.7rem;
  box-shadow: 0 4px 18px rgba(45, 53, 36, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
}
.quote-card::before {
  content: "“";
  position: absolute;
  top: 0.4rem;
  left: 1.1rem;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--sun);
  line-height: 1;
}
.quote-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0.8rem 0 1.2rem;
  flex: 1;
}
.quote-card footer { border-top: 1px solid rgba(45, 53, 36, 0.08); padding-top: 0.9rem; }
.quote-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
.quote-card footer span {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.quote-card__projects {
  margin-top: 0.25rem;
  font-style: italic;
  font-size: 0.8rem !important;
  color: var(--clay) !important;
}

/* ============ Contact ============ */
.contact { position: relative; overflow: hidden; }
.contact__blob {
  position: absolute;
  width: 40vw; height: 40vw;
  min-width: 300px; min-height: 300px;
  background: rgba(171, 51, 44, 0.12);
  border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
  right: -12%;
  bottom: -30%;
  z-index: -1;
}
.contact__inner { text-align: center; }
.contact .section__head { margin-bottom: 2rem; }
.contact__sub {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-top: 0.8rem;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact__links {
  color: var(--ink-soft);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.contact__links a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.contact__links a:hover { text-decoration: underline; }

/* ============ Enquiry page ============ */
.enquiry__inner { max-width: 760px; }
.enquiry__sub { color: var(--ink-soft); margin-top: 0.8rem; }
.enquiry__form { display: grid; gap: 1.6rem; }
.enquiry__section {
  border: 2px solid rgba(45, 53, 36, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.7rem;
}
.enquiry__section legend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 0 0.5em;
}
.enquiry__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.4rem;
}
.field__hint {
  font-size: 0.83rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.enquiry__submit-row { margin-top: 0.4rem; }
.enquiry__outro {
  margin-top: 2.5rem;
  color: var(--ink-soft);
  border-top: 1px solid rgba(45, 53, 36, 0.1);
  padding-top: 1.6rem;
}
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field--hp { position: absolute; left: -9999px; }
.field label {
  font-weight: 600;
  font-size: 0.92rem;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid rgba(45, 53, 36, 0.15);
  border-radius: 12px;
  padding: 0.7em 0.9em;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.enquiry__status { margin-top: 0.8rem; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 640px) {
  .enquiry__grid { grid-template-columns: 1fr; }
}

/* ============ Rates page ============ */
.rates__inner { max-width: 820px; }
.rates__sub { color: var(--ink-soft); margin-top: 0.8rem; max-width: 44em; }
.rates__group { margin-bottom: 2.4rem; }
.rates__group h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}
.rates__unit {
  font-size: 0.7em;
  font-weight: 500;
  font-style: italic;
  color: var(--ink-soft);
}
.rates__caveat {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 0.7rem;
}
.rates__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(45, 53, 36, 0.07);
}
.rates__table td {
  padding: 0.95rem 1.3rem;
  border-top: 1px solid rgba(45, 53, 36, 0.07);
  vertical-align: top;
}
.rates__table tr:first-child td { border-top: none; }
.rates__table strong { display: block; }
.rates__note {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
  line-height: 1.45;
}
.rates__price {
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--brand);
  width: 1%;
}
.rates__price--text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: normal;
}
.rates__per {
  font-size: 0.7em;
  font-weight: 600;
  color: var(--ink-soft);
}
.rates__cta {
  margin-top: 3rem;
  text-align: center;
  border-top: 1px solid rgba(45, 53, 36, 0.1);
  padding-top: 2.2rem;
}
.rates__cta p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.rates__cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 640px) {
  .rates__table td { padding: 0.8rem 0.9rem; }
  .rates__price { font-size: 1.02rem; }
}

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid rgba(45, 53, 36, 0.08);
  padding-block: 1.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .work-card { transition: none; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: repeat(3, 1fr); }
  .services__grid, .work__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__logos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(45, 53, 36, 0.08);
    box-shadow: 0 14px 30px rgba(45, 53, 36, 0.12);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu li { border-top: 1px solid rgba(45, 53, 36, 0.06); }
  .nav__menu a {
    display: block;
    padding: 1rem 1.4rem;
  }
  .nav__menu a.nav__cta {
    border-radius: 0;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .about__facts { grid-template-columns: 1fr; }
  .services__grid, .work__grid { grid-template-columns: 1fr; }
  .clients__logos { grid-template-columns: repeat(2, 1fr); }
  .client-logo { min-height: 90px; padding: 1rem; }
  .client-logo img { max-height: 52px; }
  .quotes__grid { grid-template-columns: 1fr; }
  .contact__actions { flex-direction: column; align-items: stretch; }
  .contact__actions .btn { text-align: center; }
}
