/* =====================================================================
   MACRAE UX — Portfolio Website  |  Shared Stylesheet
   ---------------------------------------------------------------------
   BRAND PALETTE (pulled from the MacRae UX logo):
     --blue        royal blue    -> primary: headings, logo, dark bands
     --blue-deep   darker blue   -> hover states, deeper bands
     --blue-ink    deep navy     -> body text on light backgrounds
     --pink        hot pink      -> accent: buttons, links, highlights
     --cream       warm off-white-> page background
     --cream-card  lighter cream -> cards, light text on dark bands

   The old variable names (--plum, --purple, --creme, --cinnamon...) are
   kept as ALIASES below so every existing rule updates automatically.
   To retune the whole site, edit only the brand palette values.

   Fonts:
     --font-display  big chunky headers + logo (Archivo Black stand-in)
     --font-bebas    condensed specimen font (Bebas Neue)
     --font-body     clean readable sans for paragraphs
   ===================================================================== */

:root {
  /* ---- Brand palette (sampled from the logo) ---- */
  --blue:        #0049ac;   /* royal blue  — primary */
  --blue-deep:   #003a8a;   /* darker blue — hovers, deep bands */
  --blue-ink:    #10265e;   /* deep navy   — body text */
  --pink:        #ff65c3;   /* hot pink    — accent */
  --pink-deep:   #e84fab;   /* darker pink — accent hover */
  --cream:       #f5efe6;   /* warm cream  — page background */
  --cream-card:  #fbf7f0;   /* lighter cream — cards / light text */

  /* ---- Semantic aliases (keep old rule names working) ---- */
  --plum:        var(--blue-ink);  /* dark body text -> deep navy   */
  --purple:      var(--cream);     /* main background -> cream       */
  --purple-soft: #dfe6fb;          /* soft fill -> light blue tint   */
  --purple-deep: var(--blue);      /* dark bands -> royal blue       */
  --creme:       var(--cream-card);/* light cards / text on dark     */
  --cinnamon:    var(--pink);      /* accent -> hot pink             */
  --cinnamon-dk: var(--pink-deep); /* accent hover -> darker pink    */

  --max-width: 1140px;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(43, 34, 51, 0.16);

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-bebas:   "Bebas Neue", "Oswald", sans-serif;
  --font-body:    "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Background squiggle removed — set to a url("images/...") to bring it back */
  --squiggle:  none;
}


/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--plum);
  background-color: var(--purple);
  /* full-page scribble background (shows on every page EXCEPT case studies) */
  background-image: var(--squiggle);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;     /* spans the full page width */
  background-attachment: fixed;   /* stays put while scrolling */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* case-study pages opt out of the full-page background */
body.case-page { background-image: none; }

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

/* Hidden from view but readable by search engines / screen readers */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a { color: var(--cinnamon); text-decoration: none; }
a:hover { color: var(--cinnamon-dk); text-decoration: underline; }

p { margin-bottom: 1rem; }
strong { font-weight: 700; }

/* Display headings */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;       /* Archivo Black is already heavy */
  line-height: 1.05;
  letter-spacing: 0.5px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 4.5rem 0; position: relative; }

/* Section background helpers */
.bg-creme  { background-color: var(--creme); color: var(--plum); }
.bg-purple { background-color: var(--purple); }
.bg-soft   { background-color: var(--purple-soft); }
.bg-deep   { background-color: var(--purple-deep); color: var(--creme); }
.bg-deep h1, .bg-deep h2, .bg-deep h3 { color: var(--creme); }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.navbar {
  background-color: var(--cream);
  border-bottom: 1px solid rgba(0, 73, 172, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  position: relative;
}

/* Logo — left side */
.logo {
  font-family: var(--font-display);
  color: var(--blue);
  font-size: 1.9rem;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.logo:hover { color: var(--blue-deep); text-decoration: none; }
/* Image version of the logo in the nav */
.logo-img { height: 46px; width: auto; display: block; }
.logo span { display: block; }

/* Nav links — right side */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.nav-links > li > a {
  color: var(--plum);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--cinnamon);
  border-bottom-color: var(--cinnamon);
  text-decoration: none;
}

/* ---- Dropdown ---- */
.dropdown { position: relative; }
.dropdown-toggle::after { content: " ▾"; font-size: 0.75rem; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 0.75rem;
  background-color: transparent;
  list-style: none;
  min-width: 230px;
  z-index: 200;
}
.dropdown-menu::before {
  content: "";
  display: block;
  position: absolute;
  top: 0.75rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--cream-card);
  border: 1px solid rgba(0, 73, 172, 0.15);
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: -1;
}
.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--blue-ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 73, 172, 0.12);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
  z-index: 1;
}
.dropdown-menu li:first-child a { border-radius: 8px 8px 0 0; }
.dropdown-menu li:last-child a { border-bottom: none; border-radius: 0 0 8px 8px; }
.dropdown-menu li a:hover {
  background-color: var(--cinnamon);
  color: var(--creme);
  text-decoration: none;
}
.dropdown.open .dropdown-menu { display: block; }

/* ---- Hamburger button ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--plum);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-block;
  background-color: var(--cinnamon);
  color: var(--creme);
  padding: 0.8rem 1.7rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  border: 2px solid var(--cinnamon);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}
.btn:hover {
  background-color: var(--cinnamon-dk);
  border-color: var(--cinnamon-dk);
  color: var(--creme);
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-outline {
  background-color: transparent;
  color: var(--creme);
  border: 2px solid var(--creme);
}
.btn-outline:hover { background-color: var(--creme); color: var(--plum); }

.btn-ghost {
  background-color: transparent;
  color: var(--cinnamon);
  border: 2px solid var(--cinnamon);
}
.btn-ghost:hover { background-color: var(--cinnamon); color: var(--creme); }

/* =====================================================================
   HOME HERO  (used on index.html)
   ===================================================================== */
.hero {
  text-align: center;
  position: relative;
  /* Fill the screen so only the logo (+ buttons) shows until you scroll */
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}
/* Buttons fade up gently after the page loads */
.hero-actions {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.hero-actions.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Faint scroll cue at the bottom of the hero */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  color: var(--blue);
  opacity: 0;                       /* JS adds .reveal to fade it in */
  transition: opacity 1.4s ease;
  line-height: 0;
}
.scroll-cue.reveal { opacity: 0.4; }
.scroll-cue:hover { opacity: 0.75; text-decoration: none; }
.scroll-cue svg {
  width: 36px;
  height: 36px;
  animation: cue-bounce 1.8s ease-in-out infinite;
}
@keyframes cue-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { animation: none; }
}

/* Fixed "Hire Me" button — pinned on every page */
.hire-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 300;
  background-color: var(--pink);
  color: var(--cream-card);
  border: 2px solid var(--pink);
  padding: 0.8rem 1.7rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  box-shadow: 0 8px 22px rgba(16, 38, 94, 0.28);
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.hire-fab:hover {
  background-color: var(--pink-deep);
  border-color: var(--pink-deep);
  color: var(--cream-card);
  text-decoration: none;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .hire-fab { right: 1rem; bottom: 1rem; padding: 0.7rem 1.3rem; font-size: 0.82rem; }
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
/* Logo lockup used in place of the hero heading on the homepage */
.hero-logo { max-width: 620px; width: 82%; margin: 0 auto 1.25rem; }
.hero .subtitle {
  color: var(--cinnamon);
  font-family: var(--font-bebas);
  font-size: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero p.tagline {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   SOFTWARE / SKILLS BANNER  (under the hero buttons on index.html)
   ===================================================================== */
.skills-banner {
  margin-top: 2.75rem;
  /* full-bleed: break out of the centered container to span the whole page */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: #ffe4f3;   /* light pink tint of the brand pink */
  padding: 1.4rem 1.25rem;
}
.skills-label {
  display: block;
  font-family: var(--font-bebas);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* Software icon badges */
.sw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}
.sw-icon.ai  { background: #330000; color: #ff9a00; }
.sw-icon.ps  { background: #001e36; color: #31a8ff; }
.sw-icon.id  { background: #49021f; color: #ff3366; }
.sw-icon.vsc { background: #0079cc; color: #ffffff; font-size: 0.72rem; letter-spacing: -1px; }
.sw-icon.proc{ background: linear-gradient(135deg, #f7b733 0%, #e8613d 100%); color: #ffffff; }
.sw-icon.claude { background: #d97757; color: #ffffff; font-size: 1.25rem; }
.sw-icon.gpt { background: #10a37f; color: #ffffff; font-size: 1.05rem; }
.sw-icon.fig { background: transparent; }
.sw-icon.fig svg { width: 22px; height: auto; display: block; }

/* A single tool = icon + name */
.tool {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--blue-ink);
  font-size: 1rem;
  white-space: nowrap;
}

/* --- Style A: static centered row of pills --- */
.tool-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1rem;
  padding: 0;
}
.tool-row .tool {
  background: var(--cream-card);
  border: 1px solid rgba(0, 73, 172, 0.15);
  border-radius: 50px;
  padding: 0.45rem 1.1rem 0.45rem 0.5rem;
  box-shadow: var(--shadow);
}

/* --- Style B: auto-scrolling marquee --- */
.tool-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.tool-marquee .track {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  width: max-content;
  animation: tool-scroll 20s linear infinite;
}
.tool-marquee:hover .track { animation-play-state: paused; }
@keyframes tool-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tool-marquee .track { animation: none; }
}

/* Small preview caption (remove once you pick a style) */
.preview-caption {
  font-family: var(--font-bebas);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  font-size: 0.8rem;
  margin: 2rem 0 0.6rem;
}

/* Generic centered section header (squiggle floats behind the title) */
.section-head { text-align: center; margin-bottom: 3rem; position: relative; z-index: 0; }

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--blue);
  text-transform: uppercase;
}
.section-head .lead { color: var(--plum); max-width: 620px; margin: 1rem auto 0; font-weight: 600; }

/* =====================================================================
   DECORATIVE SCRIBBLE  (light squiggle behind hero / about photo)
   ===================================================================== */
.scribble {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  stroke: var(--purple-soft);
  fill: none;
}
.scribble path { stroke: var(--purple-soft); stroke-width: 14; fill: none; stroke-linecap: round; }
.has-scribble { position: relative; }
.has-scribble > * { position: relative; z-index: 1; }

/* =====================================================================
   PROJECT / PORTFOLIO GRID  (work.html + home "what I do")
   ===================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}
.project-card {
  background-color: var(--creme);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(43, 34, 51, 0.28);
}
.project-thumb {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--creme);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: center;
  padding: 1rem;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.project-body h3 { font-size: 1.4rem; margin-bottom: 0.4rem; text-transform: uppercase; }
.project-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--purple-soft);
  color: var(--purple-deep);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.project-body p { flex-grow: 1; }
.project-body .btn { align-self: flex-start; margin-top: 0.75rem; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
}
/* squiggle framing the about photo */
.photo-wrap { position: relative; z-index: 0; }
.about-photo {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--creme);
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.about-text h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--blue); text-transform: uppercase; margin-bottom: 1.25rem; }
.about-text p { font-weight: 600; font-size: 1.05rem; }

.skills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }
.skills li {
  background-color: var(--creme);
  color: var(--plum);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
}

/* =====================================================================
   CASE STUDY — shared building blocks
   ===================================================================== */

/* --- Case hero (intro) --- */
.case-hero { padding: 3.5rem 0 4rem; }
.case-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.case-label {
  font-family: var(--font-display);
  color: var(--blue);
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.case-title {
  font-family: var(--font-display);
  color: var(--cinnamon);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 0.4rem;
}
.case-sub {
  font-family: var(--font-bebas);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--plum);
  margin-bottom: 1.5rem;
}
.case-intro p { font-weight: 600; }
.case-hero-media { display: flex; align-items: center; justify-content: center; }

/* Software badges (InDesign / Illustrator / Photoshop / Figma ...) */
.software-badges { display: flex; gap: 0.8rem; margin-top: 1.5rem; flex-wrap: wrap; }
.software-badges .sw {
  width: 54px; height: 54px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--creme);
  background-color: var(--plum);
  border: 2px solid rgba(247,240,227,0.25);
}

/* --- Big section banner heading (DEFINE / EMPATHIZE / IDEATE) --- */
.banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 6rem);
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 0;
}
.banner-title.cinnamon { color: var(--cinnamon); }
.banner-title.plum     { color: var(--plum); }
/* On dark blue bands the banner reads in cream */
.bg-deep .banner-title { color: var(--cream-card); }
.bg-deep .banner-title.cinnamon { color: var(--pink); }

/* --- Define grid: OBJECTIVE / CHALLENGE / SOLUTION + media --- */
.define-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.define-points .point { margin-bottom: 1.75rem; }
.define-points .point h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}
.define-points .point p { font-weight: 600; margin-bottom: 0; }

/* --- Image placeholder tiles --- */
.ph {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--creme);
  font-weight: 700;
  text-align: center;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
/* full-width image box: shows the whole image (no cropping) and grows to its height */
.ph.ph-full { height: auto; }
.ph.ph-full img { height: auto; object-fit: contain; }
/* icon/logo box: shows the whole image, smaller with breathing room around it */
.ph.ph-icon img { object-fit: contain; padding: 0.25rem; box-sizing: border-box; }

/* --- App demo video (GIF-style autoplay loop) --- */
.video-demo { display: flex; align-items: center; justify-content: center; }
.video-demo video {
  width: 100%;
  max-width: 320px;        /* phone-sized; raise/lower to taste */
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* --- Image gallery / collage --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 160px;
  gap: 1rem;
}
.collage .ph { min-height: 0; height: 100%; }
.collage .tall { grid-row: span 2; }
.collage .wide { grid-column: span 2; }

/* --- Insight card (What's missing?) --- */
.insight-card {
  background-color: var(--creme);
  border-radius: var(--radius);
  padding: 2.25rem;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.insight-card h3 { font-size: 1.5rem; text-transform: none; margin-bottom: 1rem; color: var(--cinnamon); }
.insight-card ul { list-style: none; }
.insight-card li { font-weight: 600; padding-left: 1.4rem; position: relative; margin-bottom: 0.5rem; }
.insight-card li::before { content: "–"; position: absolute; left: 0; color: var(--cinnamon); font-weight: 700; }

/* --- Quote bubbles (EMPATHIZE) --- */
.quotes { display: flex; flex-direction: column; gap: 1.25rem; max-width: 720px; margin: 0 auto; }
.quote-card {
  background-color: var(--creme);
  border-radius: 50px;
  padding: 1.1rem 2rem;
  font-weight: 600;
  font-style: italic;
  text-align: center;
  box-shadow: var(--shadow);
}

/* --- Scribble circular badge (FINALLY A SPACE THAT HEARS US!) --- */
.scribble-badge {
  width: 230px; height: 230px;
  border: 5px dashed var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  margin: 2rem auto;
  padding: 1.5rem;
  font-family: var(--font-display);
  color: var(--cinnamon);
  text-transform: uppercase;
  font-size: 1.15rem;
  line-height: 1.15;
}
.bg-deep .scribble-badge { border-color: var(--cream-card); }

/* --- Giant statement line (BUILT WITH ARTISTS IN MIND.) --- */
.statement {
  font-family: var(--font-display);
  color: var(--cinnamon);
  text-transform: uppercase;
  font-size: clamp(2.6rem, 10vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 1px;
}

/* --- "WHO IS IT FOR?" + giant EVERYONE --- */
.everyone {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(3rem, 18vw, 12rem);
  line-height: 0.9;
  color: var(--blue);
  letter-spacing: 2px;
  text-align: center;
}
.bg-deep .everyone { color: var(--cream-card); }

/* --- Design system: color swatches + font specimens --- */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.swatch { display: flex; align-items: center; gap: 0.8rem; }
.swatch .chip {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid rgba(43,34,51,0.15);
  flex-shrink: 0;
}
.swatch .hex { font-weight: 700; }
.specimen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.specimen {
  background-color: var(--creme);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}
.specimen .label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--purple-deep); margin-bottom: 0.5rem; }
.specimen .big-bebas { font-family: var(--font-bebas); font-size: 2.4rem; letter-spacing: 2px; color: var(--plum); }
.specimen .big-light { font-size: 1.6rem; font-weight: 300; color: var(--plum); }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
.contact-info p { font-weight: 600; }
.contact-links { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--plum);
}
.contact-links a:hover { color: var(--cinnamon); text-decoration: none; }
.contact-links .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cinnamon); flex-shrink: 0;
}

/* Form */
.contact-form {
  background-color: var(--creme);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.82rem;
  color: var(--purple-deep);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--plum);
  background-color: #fff;
  border: 2px solid var(--purple-soft);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cinnamon);
}
.form-field textarea { resize: vertical; min-height: 140px; }

/* Success banner shown after a submission (?sent=1) */
.form-success {
  display: none;
  background-color: var(--purple-deep);
  color: var(--creme);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}
.form-success.show { display: block; }

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

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background-color: var(--plum);
  color: var(--creme);
  text-align: center;
  padding: 2.5rem 0;
}
.footer a { color: var(--cinnamon); }
.footer p { margin-bottom: 0.4rem; opacity: 0.9; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 820px) {
  .case-hero .container,
  .define-grid,
  .about-grid,
  .specimen-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .collage { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--purple);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 24px rgba(43,34,51,0.15);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; border-bottom: 1px solid rgba(43,34,51,0.1); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links > li > a { display: block; padding: 0.8rem 0; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background-color: var(--cream);
    display: none;
    min-width: 0;
  }
  /* Hide the desktop blue floating panel on mobile */
  .dropdown-menu::before { display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu li a { color: var(--blue-ink); padding: 0.6rem 1rem; }

  section { padding: 3rem 0; }
  .collage { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .collage .wide { grid-column: span 1; }
}
