:root {
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-text-muted: #888888;
  --color-accent: #3ba89c;
  --color-accent-light: #ceeaeb;
  --color-dark: #000000;
  --color-border: #dddddd;
  --color-tag-bg: #f3f3f3;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --max-width: 1100px;
  --gap: 2rem;
}

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

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
}

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

/* Nav */
.site-nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(206, 234, 235, 0.82);
  border-bottom: none;
  transition: background 0.3s ease;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.site-nav .rp-logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  color: var(--color-dark);
  text-decoration: none;
}
/* Push page content below fixed nav */
body > .site-nav-wrapper + * { padding-top: 35px; }
.nav-content-offset { padding-top: 35px; }
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  margin: 0;
  padding: 0;
}
.nav-list a { color: var(--color-dark); font-size: 15px; font-weight: 300; text-decoration: none; }
.nav-list a:hover { opacity: 0.65; }

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--color-dark);
  flex-direction: column;
  gap: 5px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(206, 234, 235, 0.97);
    border-bottom: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-list.open { display: flex; }
  .nav-list > li { width: 100%; }
  .nav-list > li > a { display: block; padding: 0.65rem 2rem; }
  .nav-submenu { position: static; box-shadow: none; border: none; border-radius: 0; padding-left: 1rem; background: #f9f9f9; }
  .nav-dropdown::after { display: none; }
  .site-nav-wrapper.scrolled .nav-list { background: rgba(206,234,235,0.97); }
}
.nav-list a { font-weight: 300; }
.nav-list a.active { color: #84cacc; font-weight: 700; }
.nav-list > li > a { transition: opacity 0.15s; }
.nav-chevron { font-size: 0.65rem; opacity: 0.5; margin-left: 2px; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 2px; }

.nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  min-width: 200px;
  list-style: none;
  padding: 0.75rem 0 0.5rem;
  z-index: 200;
}
/* Bridge the invisible gap so moving mouse to submenu doesn't close it */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.75rem;
}
/* Dropdowns now controlled by JS with delay — CSS hover kept as fallback */
.nav-dropdown:focus-within .nav-submenu { display: block; }
.nav-submenu li a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text);
  white-space: nowrap;
  transition: background 0.1s, color 0.1s;
}
.nav-submenu li a:hover { background: var(--color-tag-bg); color: var(--color-accent); opacity: 1; }
.nav-submenu-heading {
  padding: 0.5rem 1.25rem 0.25rem;
  font-size: 0.7rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.nav-submenu-divider {
  border-top: 1px solid var(--color-border);
  margin: 0.4rem 0;
}

/* Project layout */
.project-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

/* Lottie header — full viewport width, no side padding */
.lottie-header {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background: var(--color-dark);
}
.lottie-header svg {
  display: block;
  width: 100% !important;
  height: auto !important;
}

/* Skills & Deliverables */
.skills-deliverables {
  margin: 2rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}
.skills-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.project-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
}

.project-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem 2rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.project-meta dt { color: var(--color-text-muted); margin-bottom: 0.2rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.project-meta dd { font-weight: 500; }

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.skill-tag {
  background: var(--color-tag-bg);
  border-radius: 2rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Section headings */
.project-section {
  margin: 3rem 0;
}
.project-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

/* Body prose */
.prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  max-width: 72ch;
}
.prose p { margin-bottom: 1rem; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose h2 { font-size: 1.4rem; font-weight: 700; margin: 2rem 0 0.75rem; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }

/* Impact callout */
.impact-block {
  background: #f7f7f7;
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 72ch;
}
.impact-block strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); margin-bottom: 0.4rem; }

/* Header image */
.project-header-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2.5rem;
}

/* Design highlights grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.highlight-item img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  margin-bottom: 0.75rem;
}
.highlight-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.highlight-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.8; }
.btn-black { background: var(--color-text); color: #fff; }
.btn-white { background: #fff; color: var(--color-text); border: 1.5px solid var(--color-text); }

/* Next project teaser */
.next-project {
  border-top: 1px solid var(--color-border);
  padding-top: 3rem;
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.next-project-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: 0.3rem; }
.next-project-title { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.next-project-arrow { font-size: 2rem; color: var(--color-accent); }

/* Contact section */
.contact-section {
  background: #fff;
  color: var(--color-dark);
  padding: 5rem 2rem 3rem;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}
.contact-section h2 { font-size: 2rem; font-weight: 700; margin: 0 0 2rem; letter-spacing: -0.02em; color: var(--color-dark); }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.btn-dark { display: inline-block; padding: 0.85rem 2rem; background: var(--color-dark); color: #fff; border-radius: 100px; font-size: 0.9rem; font-weight: 600; text-decoration: none; min-width: 160px; text-align: center; transition: opacity 0.15s; }
.btn-dark:hover { opacity: 0.8; }
.btn-outline { display: inline-block; padding: 0.85rem 2rem; background: #fff; color: var(--color-dark); border: 2px solid var(--color-dark); border-radius: 100px; font-size: 0.9rem; font-weight: 600; text-decoration: none; min-width: 160px; text-align: center; transition: opacity 0.15s; cursor: pointer; }
.btn-outline:hover { opacity: 0.7; }
.contact-linkedin { display: inline-block; color: var(--color-dark); margin-top: 0.5rem; transition: opacity 0.15s; }
.contact-linkedin:hover { opacity: 0.6; }

/* Work category links */
.work-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.work-category-link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.work-category-link:hover { color: var(--color-accent); border-color: var(--color-accent); opacity: 1; }

/* Embed container */
.embed-container {
  position: relative;
  width: 100%;
  margin: 1rem 0;
}
.embed-container iframe { width: 100%; border: none; border-radius: 6px; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

@media (max-width: 600px) {
  .site-nav ul { gap: 1rem; font-size: 0.85rem; }
  .project-page { padding: 0 1rem 4rem; }
  .highlights-grid { grid-template-columns: 1fr; }
}


/* =====================
   RACHAEL PAGE HOMEPAGE
   ===================== */

.rp-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

/* 1. HERO */
.rp-hero {
  position: relative;
  min-height: 595px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.rp-hero-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* Slide-in animations — "Analytical" from left, "+ Creative" from right */
@keyframes slideInLeft {
  from { transform: translateX(-120px); opacity: 0; }
  to   { transform: translateX(0);      opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(120px);  opacity: 0; }
  to   { transform: translateX(0);      opacity: 1; }
}

.rp-heading-analytical {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-dark);
  margin: 0;
  align-self: flex-start;
  animation: slideInLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rp-heading-creative {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-dark);
  margin: 0;
  align-self: flex-end;
  animation: slideInRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* 2. TOOL ICONS MARQUEE (infinite ticker) */
.rp-icons-strip {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
  overflow: hidden;
}
.rp-marquee {
  overflow: hidden;
  width: 100%;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
.rp-marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  width: max-content;
  animation: marquee 18s linear infinite;
}
.rp-marquee-track:hover {
  animation-play-state: paused;
}
.rp-tool-icon {
  height: 44px;
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.6;
}

/* 3. ABOUT */
.rp-about {
  background: #fff;
  padding: 4rem 2rem;
}
.rp-about-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.rp-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}
.rp-inline-link {
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 1px solid var(--color-accent);
}
.rp-about-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* 4. CLIENT LOGOS */
.rp-client-logos {
  background: #fff;
  padding: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.rp-logos-img {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  opacity: 0.75;
}

/* 5. FEATURED WORK */
.rp-work {
  background: var(--color-dark);
  padding: 4rem 2rem;
}
.rp-work-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.rp-work-header {
  margin-bottom: 2.5rem;
}
.rp-work-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.rp-work-subheading {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.rp-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.rp-cat-pill {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border-radius: 2rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  transition: background 0.15s;
}
.rp-cat-pill:hover { background: var(--color-accent); color: #fff; opacity: 1; }
.rp-cat-pill-all { background: var(--color-accent); color: #fff; font-weight: 600; }

/* Featured hero project */
.rp-work-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  transition: opacity 0.2s;
}
.rp-work-featured:hover { opacity: 0.9; }
.rp-work-featured-img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}
.rp-work-featured-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rp-work-featured-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.rp-work-featured-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* Other project cards */
.rp-work-others-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.rp-work-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  color: var(--color-text);
  display: block;
  transition: opacity 0.2s;
}
.rp-work-card:hover { opacity: 0.9; }
.rp-work-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.rp-work-card-info { padding: 1.25rem; }
.rp-work-card-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.rp-work-card-info p { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.5; margin-bottom: 0.5rem; }
.rp-arrow { color: var(--color-accent); font-size: 1.1rem; }

/* Section common */
.rp-section { margin: 4rem 0; padding-top: 3rem; border-top: 1px solid var(--color-border); }
.rp-section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

/* Skills */
.rp-skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.rp-skill-heading { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); font-weight: 700; margin-bottom: 1rem; }
.rp-skill-col ul { list-style: none; }
.rp-skill-col li { font-size: 0.9rem; padding: 0.3rem 0; border-bottom: 1px solid var(--color-border); }

/* Experience timeline */
.rp-timeline { display: flex; flex-direction: column; }
.rp-timeline-item { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); }
.rp-timeline-dates { font-size: 0.8rem; color: var(--color-text-muted); font-weight: 600; }
.rp-timeline-companies { font-size: 0.75rem; color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.25rem; }
.rp-timeline-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.rp-timeline-desc { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }

/* Qualifications */
.rp-quals { list-style: none; }
.rp-quals li { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); font-size: 0.95rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.rp-quals li strong { min-width: 200px; }

/* What makes me unique */
.rp-unique-inner { display: grid; grid-template-columns: 320px 1fr; gap: 4rem; align-items: start; }
.rp-unique-photo img { width: 100%; border-radius: 8px; }
.rp-unique-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.rp-unique-list li { font-size: 0.95rem; line-height: 1.6; }
.rp-unique-list strong { display: block; color: var(--color-dark); margin-bottom: 0.2rem; }

/* Testimonials */
.rp-refs-note { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1.5rem; font-style: italic; }
/* Books & Articles grid — adapts columns to item count */

/* Testimonial quote text: Barlow Condensed 18px — matches live Webflow site */
.r-testimonials .r-block-quote { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; }
.rp-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rp-testimonial { background: #f7f7f7; border-radius: 8px; padding: 1.75rem; }
.rp-stars { color: var(--color-accent); font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 3px; }
.rp-testimonial blockquote { font-size: 0.875rem; line-height: 1.7; font-style: italic; margin-bottom: 1rem; }
.rp-testimonial cite { font-size: 0.8rem; font-style: normal; }
.rp-testimonial cite strong { display: block; font-weight: 700; }

/* Books & Articles — 3→3cols, 4→2cols, 5→3cols, 6→3cols (set via --article-cols in template) */
.rp-articles-grid { display: grid !important; grid-template-columns: repeat(var(--article-cols, 3), 1fr); gap: 1.5rem; margin-left: 0 !important; margin-right: 0 !important; }
.rp-articles-grid .w-col { width: auto !important; float: none !important; padding: 0 !important; }
.rp-articles-grid::before, .rp-articles-grid::after { content: none !important; display: none !important; }
.rp-article-card { display: block; color: var(--color-text); }
.rp-article-card:hover { opacity: 0.8; }
.rp-article-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; margin-bottom: 0.75rem; }
.rp-article-card p { font-size: 0.875rem; font-weight: 600; line-height: 1.4; }

/* Photography */
.rp-photo-grid { columns: 4; gap: 0.5rem; }
.rp-photo-grid img { width: 100%; margin-bottom: 0.5rem; border-radius: 4px; break-inside: avoid; display: block; }

/* Responsive */
@media (max-width: 1024px) {
  .rp-work-featured { grid-template-columns: 1fr; }
  .rp-work-featured-img img { min-height: 250px; max-height: 350px; }
  .rp-unique-inner { grid-template-columns: 240px 1fr; gap: 2rem; }
  .rp-testimonials { grid-template-columns: 1fr; gap: 1rem; }
  .rp-articles-grid { grid-template-columns: repeat(2, 1fr); --article-cols: 2; }
}
@media (max-width: 768px) {
  .rp-work-others-grid { grid-template-columns: 1fr; }
  .rp-skills-grid { grid-template-columns: 1fr 1fr; }
  .rp-timeline-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .rp-unique-inner { grid-template-columns: 1fr; }
  .rp-unique-photo { max-width: 280px; }
  .rp-photo-grid { columns: 2; }
}
@media (max-width: 600px) {
  .rp-about { padding: 2.5rem 1.5rem; }
  .rp-work { padding: 2.5rem 1.5rem; }
  .rp-page { padding: 0 1rem 4rem; }
  .rp-skills-grid { grid-template-columns: 1fr; }
  .rp-articles-grid { grid-template-columns: 1fr; --article-cols: 1; }
  .rp-heading-analytical, .rp-heading-creative { font-size: 3rem; }
}

/* ================================
   SURFACE PATTERN DESIGN — COLLECTION PAGES
   ================================ */

/* Hero */
.spd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  align-items: center;
}
.spd-hero-text {
  padding: 5rem 4rem 5rem 2rem;
  max-width: 560px;
  margin-left: auto;
}
.spd-collection-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1.125rem;
}
.spd-collection-name {
  font-family: 'Parisienne', cursive;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  color: #048ba2 !important;
  margin-bottom: 1.5rem;
  font-style: normal;
}
.spd-collection-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 48ch;
}
.spd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.spd-meta span::before { content: '· '; }
.spd-meta span:first-child::before { content: ''; }

.spd-hero-image {
  height: 100%;
  min-height: 70vh;
  overflow: hidden;
}
.spd-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA button */
.spd-cta {
  display: inline-block;
  background: var(--color-dark);
  color: #fff;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
}
.spd-cta:hover { background: #048ba2; border-color: #048ba2; opacity: 1; }

/* Section label */
.spd-section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 2rem;
  font-style: normal;
}

/* Colourways */
.spd-colourways {
  background: #f9f9f7;
  padding: 5rem 2rem;
}
.spd-colourways-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.spd-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.spd-swatch img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.spd-swatch-name {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 0.6rem;
  color: var(--color-text-muted);
  text-transform: capitalize;
  letter-spacing: 0.04em;
}

/* Mockups */
.spd-mockups {
  padding: 5rem 2rem;
  background: #fff;
}
.spd-mockups-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.spd-mockups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.spd-mockup-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.spd-mockup-item figcaption {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
}

/* Licensing CTA section */
.spd-licensing {
  background: var(--color-dark);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
}
.spd-licensing-inner {
  max-width: 640px;
  margin: 0 auto;
}
.spd-licensing h2 {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  font-style: italic;
  color: #ffffff !important;
}
.spd-licensing p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}
.spd-licensing .spd-cta {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
}
.spd-licensing .spd-cta:hover { background: #048ba2; border-color: #048ba2; }

/* Back link */
.spd-back {
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.spd-back a:hover { color: var(--color-accent); opacity: 1; }

/* Responsive */
@media (max-width: 900px) {
  .spd-hero { grid-template-columns: 1fr; min-height: auto; }
  .spd-hero-text { padding: 3rem 1.5rem 2rem; margin: 0; max-width: 100%; }
  .spd-hero-image { min-height: 50vw; }
  .spd-grid { grid-template-columns: repeat(3, 1fr); }
  .spd-mockups-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .spd-grid { grid-template-columns: repeat(2, 1fr); }
  .spd-mockups-grid { grid-template-columns: 1fr; }
}

/* ── Force pure black text — override webflow.css charcoal values ── */
body { color: #000000 !important; }
h1, h2, h3, h4, h5, h6 { color: #000000 !important; }
p, li { color: #000000 !important; }
.r-body, .r-1-showcase-page, .r-work-next-project-title { color: #000000 !important; }
/* Restore intentional colour exceptions */
.r-body.grey, .r-body.bold-small-caps.grey { color: #888888 !important; }
.next-project-title, .next-project-label, .browse-label, .browse-pill { color: inherit !important; }
.dennis-title { color: #ffffff !important; }
.contact-section h2, .contact-section p { color: #000000 !important; }
/* Restore white text on dark backgrounds */
.next-project-strip, .next-project-strip * { color: #fff !important; }
.next-project-strip .browse-pill { color: #fff !important; border-color: rgba(255,255,255,0.5) !important; }
.next-project-strip .browse-pill:hover { color: #000 !important; background: #fff !important; }
/* Pin full-length photo to bottom of its grid cell */
.div-block-144 { display: flex !important; flex-direction: column; justify-content: flex-end; }
.div-block-144 .image-51 { display: block; }
/* Global mobile side padding — rachaelpage.com */
@media screen and (max-width: 767px) {
  .w-container, .w-layout-blockcontainer, section { padding-left: 10px !important; padding-right: 10px !important; }
  .page-padding { padding-left: 10px !important; padding-right: 10px !important; }
}
