/* ============================================================
   Laura Cuttiford — Event Producer & Project Manager
   Bold & energetic. Purple accent nods to her CV.
   ============================================================ */

:root {
  --ink:        #14101f;   /* near-black, warm */
  --ink-soft:   #2a2340;
  --paper:      #ffffff;
  --cream:      #f6f3ef;   /* warm off-white section bg */
  --violet:     #6c1cf0;   /* primary accent */
  --violet-dk:  #4a0fb0;
  --violet-lt:  #b78bff;
  --lime:       #ffd84d;   /* warm friendly yellow pop */
  --muted:      #6b6580;
  --line:       rgba(20,16,31,0.12);

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 18px;

  --font-display: 'Anton', 'Archivo', system-ui, sans-serif;
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Shared type ---------- */
.kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 0.9rem;
}
.kicker--light { color: var(--violet-lt); }

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-head { max-width: 760px; margin: 0 auto clamp(2.4rem, 5vw, 4rem); text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.7rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn--primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(108,28,240,0.65);
}
.btn--primary:hover { background: var(--violet-dk); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Image slots (placeholders) ---------- */
.img-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(108,28,240,0.16), rgba(183,139,255,0.06)),
    repeating-linear-gradient(45deg, rgba(20,16,31,0.04) 0 12px, transparent 12px 24px);
  border: 1.5px dashed rgba(108,28,240,0.45);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--violet-dk);
}
.img-slot > span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1rem, 2.6vw, 1.6rem);
  letter-spacing: 0.02em;
  opacity: 0.65;
  z-index: 1;
}
.img-slot::after {
  content: attr(data-note);
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--violet-dk);
  background: rgba(255,255,255,0.85);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0.9;
}
.img-slot--portrait { aspect-ratio: 4 / 5; }
.img-slot--tall { aspect-ratio: 4 / 5; height: 100%; }
/* When you swap in a real <img>, it fills the same rounded frame */
.img-slot img, .card .img-slot > img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.9);
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(0,0,0,0.4);
}
.nav__brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--violet);
  transition: width .22s ease;
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--violet);
  color: #fff !important;
  padding: 0.6rem 1.15rem;
  border-radius: 100px;
}
.nav__cta:hover { background: var(--violet-dk); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(7rem, 14vw, 10rem) var(--pad) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(108,28,240,0.10), transparent 60%),
    radial-gradient(800px 500px at 0% 110%, rgba(216,255,62,0.14), transparent 55%),
    var(--paper);
}
.hero__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--violet);
  margin-bottom: 1.2rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.hero__title .accent { color: var(--violet); }
.hero__lede {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 40ch;
  margin-bottom: 2.1rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.hero__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(108,28,240,0.18);
}
.hero__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
}
.hero__photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(108,28,240,0.6);
  transform: rotate(1.5deg);
}
.hero__portrait .img-slot {
  position: relative;
  z-index: 2;
  box-shadow: 0 40px 80px -40px rgba(108,28,240,0.6);
  transform: rotate(1.5deg);
}
.hero__portrait::before {
  content: '';
  position: absolute;
  inset: -18px -18px auto auto;
  width: 45%; height: 45%;
  background: var(--lime);
  border-radius: var(--radius);
  z-index: 1;
  transform: rotate(-4deg);
}

/* ============================================================
   STAT BAND
   ============================================================ */
.stats { background: var(--ink); color: #fff; padding: clamp(2.6rem, 5vw, 3.6rem) var(--pad); }
.stats__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat { text-align: center; padding: 0 0.5rem; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.14); }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--lime);
  letter-spacing: 0.01em;
}
.stat__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.01em;
}

/* ============================================================
   WORK
   ============================================================ */
.work { padding: clamp(4rem, 9vw, 7rem) var(--pad); background: var(--paper); }
.work__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(20,16,31,0.4); }
.card .img-slot { border-radius: 0; aspect-ratio: 3 / 2; }
.card__body { padding: 1.4rem 1.5rem 1.7rem; }
.card__tag {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 0.6rem;
}
.card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.card p:not(.card__tag) { font-size: 0.95rem; color: var(--ink-soft); }

/* ============================================================
   CLIENTS marquee
   ============================================================ */
.clients { background: var(--violet); color: #fff; padding: clamp(2.4rem, 5vw, 3.4rem) 0; overflow: hidden; }
.clients__label {
  text-align: center;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.6rem;
}
.clients__marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.clients__track {
  display: flex;
  align-items: center;
  gap: clamp(2.4rem, 5vw, 3.6rem);
  width: max-content;
  animation: scroll-x 45s linear infinite;
}
.clients:hover .clients__track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
}
/* Size every logo by ART HEIGHT (not a fixed box) so wide wordmarks and
   narrow marks read at the same optical size — no letterboxing. */
.logo img {
  height: 30px;
  width: auto;
  opacity: 0.9;
  transition: opacity .2s ease;
}
/* Dense all-caps marks fill their whole box, so they read larger than
   lowercase/mixed marks — scale these down a touch to balance the row. */
.logo img[src*="imagination"] { height: 25px; }
.logo img[src*="tindle"]      { height: 27px; }
.logo img[src*="wonder"]      { height: 27px; }
.logo:hover img { opacity: 1; }
.logo__word {
  display: none; /* revealed by onerror fallback */
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.92);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: clamp(4rem, 9vw, 7rem) var(--pad); background: var(--cream); }
.about__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__photo {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.about__text p { color: var(--ink-soft); margin-top: 1.1rem; font-size: 1.02rem; }
.about__text h2 { margin-bottom: 0.4rem; }
.about__pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.about__pills li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: clamp(4rem, 9vw, 7rem) var(--pad); background: var(--ink); color: #fff; }
.services .kicker { color: var(--violet-lt); }
.services h2 { color: #fff; }
.services__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.service {
  padding: 1.8rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  transition: background .2s ease, transform .2s ease;
}
.service:hover { background: rgba(255,255,255,0.05); transform: translateY(-5px); }
.service__no {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--lime);
}
.service h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin: 0.8rem 0 0.6rem; }
.service p { font-size: 0.92rem; color: rgba(255,255,255,0.72); }

.services__tags {
  list-style: none;
  max-width: var(--maxw);
  margin: 2.4rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.services__tags li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  color: rgba(255,255,255,0.85);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.services__tags li:hover { border-color: var(--lime); color: #fff; background: rgba(255,216,77,0.10); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: clamp(4rem, 9vw, 7rem) var(--pad); background: var(--violet); color: #fff; }
.contact__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  align-items: start;
}
.contact h2 { color: #fff; }
.contact__blurb { margin-top: 1.2rem; max-width: 42ch; color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.contact__direct { list-style: none; margin-top: 2rem; display: grid; gap: 0.7rem; }
.contact__direct a {
  font-family: var(--font-head);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color .2s ease;
}
.contact__direct a:hover { border-color: #fff; }

.form {
  background: #fff;
  color: var(--ink);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.55);
}
.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: #fff;
}
.field textarea { resize: vertical; }
.form__status { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form__status.is-error { color: #c0392b; }
.form__status.is-ok { color: var(--violet-dk); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 2rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
}
.footer__top { font-family: var(--font-head); font-weight: 600; color: #fff; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { max-width: 420px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat:nth-child(3) { border-left: none; }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    background: #fff;
    padding: 5.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -20px 0 60px -30px rgba(0,0,0,0.5);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 60; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .stats__inner { grid-template-columns: 1fr 1fr; }
  .work__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
