/* ============================================================
   MERAKI ASCENT · SHARED STYLES
   Built from the original site, refined to brand book v1.0
   ============================================================ */

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

:root {
  /* Brand book colors */
  --pink:        #DC1A78;     /* Meraki Magenta */
  --pink-deep:   #B8125F;     /* Slightly deeper magenta for italic emphasis */
  --pink-light:  #E89BBE;     /* Soft Pink */
  --pink-mist:   #FBEEF4;
  --pink-soft:   #F5D4E3;
  --teal:        #3CA0B4;     /* Ascent Teal */
  --teal-deep:   #2A7E8F;
  --sky-mist:    #B8DDE4;

  --dark:        #3C1428;     /* Deep Plum (replaces near-black) */
  --dark2:       #2A0E1B;     /* Darker plum for layered surfaces */
  --mid:         #5B3A4A;     /* muted plum body text */
  --light-mid:   #8C7A85;     /* Stone */
  --off-white:   #FBF8F4;     /* Warm Cream */
  --white:       #ffffff;
  --border:      rgba(60, 20, 40, 0.10);
  --border-soft: rgba(60, 20, 40, 0.06);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.9rem;
  text-decoration: none;
}
.nav-brand img {
  width: 42px; height: 42px; object-fit: contain;
}
.nav-brand-text {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: 1rem; font-weight: 600; color: var(--dark);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex; gap: 2.4rem; list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); text-decoration: none; font-weight: 500;
  transition: color 0.2s;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a.is-active {
  color: var(--dark);
  border-color: var(--pink);
}
.nav-cta {
  padding: 0.9rem 2.8rem;
  background: var(--dark); color: var(--white) !important;
  border-radius: 999px;
  border-color: transparent !important;
  font-size: 0.82rem;
}
.nav-cta:hover { background: var(--pink) !important; color: var(--white) !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 28px; height: 28px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; height: 1.5px; background: var(--dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-spacer { height: 76px; }

/* ============================================================
   HEADINGS, BODY, ACCENTS
   ============================================================ */
.section-label {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.4rem;
}
.label-line { width: 28px; height: 1px; background: var(--pink); }
.label-text {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pink); font-weight: 500;
}
.section-heading {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 400; line-height: 1.15;
  color: var(--dark); margin-bottom: 1.8rem;
}
.section-heading em { font-style: italic; color: var(--pink-deep); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  padding: 0.9rem 2.2rem;
  background: var(--dark); color: var(--white);
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  font-family: 'Inter', sans-serif;
  border: none;
}
.btn-primary:hover { background: var(--pink); transform: translateY(-1px); }

.btn-secondary {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  padding: 0.4rem 0;
}
.btn-secondary:hover { color: var(--pink); border-color: var(--pink); }

.btn-ghost {
  padding: 0.9rem 2.2rem;
  background: transparent; color: var(--dark);
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; border-radius: 2px;
  border: 1px solid var(--dark);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}
.btn-ghost:hover { background: var(--dark); color: var(--white); }

/* ============================================================
   TRUST BAR (shared)
   ============================================================ */
.trust-bar {
  background: var(--dark);
  padding: 1.8rem 5rem;
  display: flex; align-items: center; justify-content: center; gap: 4rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.7rem;
  color: rgba(255,255,255,0.75); font-size: 0.78rem; letter-spacing: 0.06em;
}
.trust-item svg {
  color: var(--pink-light); width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.5;
}

/* ============================================================
   PAGE HERO (shared by About, Services, Contact)
   ============================================================ */
.page-hero {
  padding: 9rem 5rem 5rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; width: 38%;
  background: var(--off-white);
  z-index: 0;
}
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400; line-height: 1.12;
  color: var(--dark);
  margin: 1rem 0 1.5rem;
  max-width: 820px;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--pink-deep);
}
.page-hero-sub {
  font-size: 1.05rem; line-height: 1.8; color: var(--mid);
  font-weight: 400; max-width: 640px;
}

/* Page hero with side image (about/services/contact) */
.page-hero.has-image::after { display: none; }
.page-hero.has-image .page-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.page-hero-image {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 520px;
  box-shadow: 0 30px 60px -30px rgba(60, 20, 40, 0.4);
}
.page-hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.page-hero-image-accent {
  position: absolute;
  bottom: -1.2rem; right: -1.2rem;
  width: 80px; height: 80px;
  background: rgba(220, 26, 120, 0.18);
  border-radius: 2px;
  z-index: -1;
}

/* ============================================================
   CAROUSEL (shared)
   Used inside .page-hero-image (or any sized container).
   ============================================================ */
.carousel {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 3px;
}
.carousel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-dots {
  position: absolute; bottom: 0.9rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.55rem;
  z-index: 2;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(60,20,40,0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  position: relative;
}
/* Expand tappable area without changing visual size */
.carousel-dot::before {
  content: '';
  position: absolute;
  inset: -10px;
}
.carousel-dot.is-active {
  background: var(--white);
  transform: scale(1.25);
}
.carousel-dot:hover { background: rgba(255,255,255,0.85); }
@media (max-width: 900px) {
  .carousel-dot { width: 11px; height: 11px; }
  .carousel-dot::before { inset: -14px; }
  .carousel-dots { gap: 0.7rem; padding: 0.5rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-slide { transition: none; }
}

/* ============================================================
   SHARED CARDS & GENERIC SECTIONS
   ============================================================ */
.section {
  padding: 6rem 5rem;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-cream  { background: var(--off-white); }
.section-mist   { background: var(--pink-mist); }
.section-dark   {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(220,26,120,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(60,160,180,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.section-dark .section-inner { position: relative; z-index: 1; }
.section-dark .section-heading { color: var(--white); }
.section-dark .label-text { color: var(--pink-light); }

/* ============================================================
   FOOTER (shared, real)
   ============================================================ */
footer {
  background: var(--dark);
  padding: 4rem 5rem 2rem;
  color: rgba(255,255,255,0.75);
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pink-light); font-weight: 500;
  margin-bottom: 1.4rem;
}
.footer-brand-block img {
  width: 200px; max-width: 100%; height: auto;
  margin-bottom: 1.4rem;
}
.footer-tag {
  font-family: 'Fraunces', serif;
  font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,0.85);
  font-weight: 400; font-style: italic;
  margin-bottom: 1rem;
  max-width: 280px;
}
.footer-pron {
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  color: var(--pink-light);
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: color 0.2s;
  font-weight: 400;
}
.footer-col a:hover { color: var(--pink-light); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-mantra {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 0.6rem;
}
.footer-mantra .dot { color: var(--pink); }
.footer-copy {
  font-size: 0.7rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   FORMS (Contact)
   ============================================================ */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.2rem;
}
.form .form-row-full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dark); font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(220,26,120,0.10);
}
.form-note {
  grid-column: 1 / -1;
  font-size: 0.85rem; color: var(--light-mid);
  font-style: italic;
}
.form-status {
  grid-column: 1 / -1;
  display: none;
  padding: 1rem 1.2rem;
  background: var(--pink-mist);
  border-left: 2px solid var(--pink);
  color: var(--dark);
  font-size: 0.95rem;
}
.form-status.is-visible { display: block; }

/* ============================================================
   REVEAL ANIMATION (shared) - keeps content always visible.
   CSS-only stagger on initial load. No JS dependency.
   ============================================================ */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: revealUp 0.7s ease both;
  }
  .reveal:nth-of-type(2) { animation-delay: 0.1s; }
  .reveal:nth-of-type(3) { animation-delay: 0.2s; }
  .reveal:nth-of-type(4) { animation-delay: 0.3s; }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE NAV / GLOBAL
   ============================================================ */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 76px 0 0 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem 1.5rem 3rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -8px 0 24px -8px rgba(60, 20, 40, 0.20);
  }
  nav.is-open .nav-links { transform: translateX(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links li.has-dropdown { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 1.1rem 0; font-size: 0.85rem; width: 100%; }
  /* Force dropdown-toggle to render as block on mobile too (desktop has inline-flex) */
  .nav-links .dropdown-toggle {
    display: block;
    width: 100%;
    padding: 1.1rem 0;
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 600;
    letter-spacing: 0.14em;
  }
  .nav-links .dropdown-toggle.is-active { color: var(--pink); }
  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
  }
  .trust-bar { padding: 1.8rem 1.5rem; gap: 1.5rem; }
  .page-hero { padding: 7rem 1.5rem 4rem; }
  .page-hero::after { display: none; }
  .page-hero.has-image .page-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-hero-image { aspect-ratio: 4/3; max-height: 340px; }
  .section { padding: 4rem 1.5rem; }
  footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; padding-bottom: 2rem; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form { grid-template-columns: 1fr; }
}

/* ============================================================
   SKIP TO CONTENT (a11y)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 1000;
  padding: 0.7rem 1.2rem;
  background: var(--dark);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--pink); outline-offset: 2px; }

/* ============================================================
   NAV DROPDOWN
   Parent <li class="has-dropdown"> contains a parent link plus
   a <ul class="dropdown-menu"> with sub-links. Hover on desktop;
   on mobile (inside hamburger drawer) the menu is always inline.
   ============================================================ */
.nav-links li.has-dropdown { position: relative; }
.nav-links .dropdown-toggle {
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.dropdown-chevron {
  width: 9px; height: 9px;
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.has-dropdown:hover .dropdown-chevron,
.has-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, -4px);
  margin-top: 0.4rem;
  min-width: 200px;
  list-style: none;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem 0;
  box-shadow: 0 16px 36px -22px rgba(60,20,40,0.30);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 110;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dark); font-weight: 500;
  border-bottom: none !important;
  white-space: nowrap;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: var(--pink-mist);
  color: var(--pink);
}
.dropdown-menu a.is-active {
  color: var(--pink);
  background: var(--pink-mist);
}

/* ============================================================
   FEATURED STRIP ('As Featured In')
   ============================================================ */
.featured-strip {
  background: var(--off-white);
  border-top: 1px solid var(--pink);
  border-bottom: 1px solid var(--pink);
  padding: 2rem 5rem;
  text-align: center;
}
.featured-strip .eyebrow-text {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 500;
  margin-bottom: 1.2rem;
  display: block;
}
.featured-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.featured-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.featured-logo:hover { opacity: 0.7; transform: translateY(-2px); }
.featured-logo .logo-mark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1;
}
.featured-logo .logo-meta {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.78rem;
  color: var(--light-mid);
}

/* ============================================================
   ARTICLE CARD (Writing page and About teaser)
   ============================================================ */
.article-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  align-items: center;
}
.article-card:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -22px rgba(220,26,120,0.18);
}
.article-card-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: var(--off-white);
}
.article-card-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.article-card-body { display: flex; flex-direction: column; gap: 0.45rem; }
.article-meta-row {
  display: flex; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  font-size: 0.7rem;
}
.article-publication {
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pink); font-weight: 500;
}
.article-date {
  font-family: 'Fraunces', serif; font-style: italic;
  color: var(--light-mid); font-size: 0.85rem;
}
.article-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem; font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
  margin: 0.1rem 0 0.3rem;
}
.article-card p {
  font-size: 0.92rem; line-height: 1.7;
  color: var(--mid);
  margin: 0;
}
.article-link {
  margin-top: 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pink); font-weight: 600;
  align-self: flex-start;
}

/* Compact variant used in About page teaser */
.article-card.compact {
  display: flex; flex-direction: column; gap: 0.9rem;
  padding: 1rem;
}
.article-card.compact .article-card-thumb { aspect-ratio: 16/9; }
.article-card.compact h3 { font-size: 1rem; line-height: 1.35; margin-bottom: 0; }
.article-card.compact .article-link,
.article-card.compact p { display: none; }
.article-card.compact .article-meta-row { font-size: 0.65rem; }
.article-card.compact .article-date { font-size: 0.78rem; }

/* ============================================================
   PORTFOLIO LANDING CARDS (the 3 big cards on portfolio.html)
   Two-tone design: pink banner top with the category title,
   cream bottom with icon + tagline + description + big pill CTA.
   Taller 3:5 aspect ratio for a stronger "click to enter" feel.
   ============================================================ */
.portfolio-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}
.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 3 / 5;
  background: var(--white);
  color: var(--dark);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 22px 44px -22px rgba(220, 26, 120, 0.30);
}
.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-10px);
  box-shadow: 0 40px 68px -22px rgba(220, 26, 120, 0.50);
}
.portfolio-card:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

/* TOP: pink banner with the big category label */
.portfolio-card-top {
  background: var(--pink);
  color: var(--white);
  padding: 1.6rem 1.6rem 1.4rem;
  position: relative;
  transition: background 0.3s ease;
}
.portfolio-card:hover .portfolio-card-top,
.portfolio-card:focus-visible .portfolio-card-top {
  background: var(--pink-deep);
}
.portfolio-card-num {
  position: absolute;
  top: 0.9rem; right: 1.2rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1;
  margin: 0;
}
.portfolio-card-label {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

/* BOTTOM: cream with icon + italic title + description + huge pill CTA */
.portfolio-card-bottom {
  flex-grow: 1;
  background: var(--off-white);
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.portfolio-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0 1rem;
  color: var(--pink);
}
.portfolio-card-icon svg {
  width: 80px;
  height: 80px;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.portfolio-card:hover .portfolio-card-icon svg,
.portfolio-card:focus-visible .portfolio-card-icon svg {
  transform: scale(1.1) rotate(-3deg);
  color: var(--pink-deep);
}
.portfolio-card-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 0.6rem;
}
.portfolio-card-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--mid);
  margin: 0 0 1.4rem;
  flex-grow: 1;
}
.portfolio-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.4rem;
  background: var(--dark);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.25s ease, gap 0.25s ease;
}
.portfolio-card-cta .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.portfolio-card:hover .portfolio-card-cta,
.portfolio-card:focus-visible .portfolio-card-cta {
  background: var(--pink);
  gap: 0.7rem;
}
.portfolio-card:hover .portfolio-card-cta .arrow,
.portfolio-card:focus-visible .portfolio-card-cta .arrow {
  transform: translateX(4px);
}

/* ============================================================
   PHONE FRAME (Social Media page; wraps any embed content)
   ============================================================ */
.phone-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 19;
  background: var(--dark);
  border-radius: 36px;
  padding: 6px;
  box-shadow: 0 24px 48px -24px rgba(60,20,40,0.45);
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.phone-frame:hover,
a.phone-frame:focus-visible {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 32px 56px -22px rgba(220, 26, 120, 0.40);
}
a.phone-frame:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 6px;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 22px;
  background: var(--dark);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--dark);
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 2rem 1.4rem;
  color: var(--white);
}
.phone-screen::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(220,26,120,0.10) 0%,
    rgba(60,160,180,0.05) 40%,
    transparent 75%);
  pointer-events: none;
  animation: shimmer 6s ease-in-out infinite alternate;
}
@keyframes shimmer {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}
.phone-ig-icon {
  width: 36px; height: 36px;
  color: var(--pink-light);
  position: relative; z-index: 1;
}
.phone-handle {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 500;
  position: relative; z-index: 1;
}
.phone-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-light);
  position: relative; z-index: 1;
}
.phone-frame.larger { max-width: 340px; }

/* ============================================================
   PHONE MASONRY (Social Media page top)
   ============================================================ */
.phone-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 760px;
  margin: 2rem auto 0;
}
.phone-masonry .phone-frame { margin: 0; }
.phone-masonry > *:nth-child(2) { margin-top: 40px; }
.phone-masonry > *:nth-child(3) { margin-top: -40px; }
.phone-masonry > *:nth-child(4) { margin-top: 80px; }

/* Account breakout sections */
.account-breakout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.account-breakout:first-of-type { border-top: none; }
.account-breakout.reverse { grid-template-columns: 1.4fr 1fr; }
.account-breakout.reverse .account-phone-col { order: 2; }
.account-breakout.reverse .account-text-col { order: 1; }
.account-role {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mid); font-weight: 500;
  margin-bottom: 1rem;
}
.account-role .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.account-role .dot.owner      { background: var(--pink); }
.account-role .dot.manager    { background: var(--teal); }
.account-role .dot.strategist { background: var(--pink-light); }
.account-handle {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 2.2rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.account-category {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pink); font-weight: 500;
  margin-bottom: 1.4rem;
}
.account-desc {
  font-size: 1rem; line-height: 1.8; color: var(--mid);
  margin-bottom: 1.4rem;
}
.account-stats {
  display: flex; gap: 2rem;
  margin: 1.6rem 0;
}
.account-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem; font-weight: 500;
  color: var(--pink);
  line-height: 1;
}
.account-stat-label {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--light-mid); margin-top: 0.35rem;
}

/* Soft pink mist divider for "The Accounts" break */
.accounts-divider {
  background: var(--pink-mist);
  padding: 1.6rem 1rem;
  margin: 3rem 0;
  text-align: center;
}
.accounts-divider span {
  font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--pink); font-weight: 600;
}

/* ============================================================
   FILTER PILLS (Photography page)
   ============================================================ */
.filter-bar {
  position: sticky;
  top: 76px;
  z-index: 50;
  background: var(--white);
  padding: 1.4rem 5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.filter-pill {
  padding: 0.55rem 1.2rem;
  background: var(--off-white);
  color: var(--dark);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  font-family: 'Inter', sans-serif;
}
.filter-pill:hover {
  border-color: var(--pink);
  color: var(--pink);
}
.filter-pill[aria-pressed="true"] {
  background: var(--pink);
  color: var(--off-white);
  border-color: var(--pink);
}

/* ============================================================
   PHOTO GALLERY (Photography page)
   Uses CSS columns for reliable masonry across browsers.
   ============================================================ */
.gallery-wrap { padding: 3rem 5rem; }
.masonry-grid {
  column-count: 3;
  column-gap: 1.2rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  display: block;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.masonry-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(60,20,40,0.30);
}
.masonry-item img {
  width: 100%; height: auto; display: block;
}
.masonry-item.is-hidden { display: none; }
.masonry-item[data-featured="true"] {
  position: relative;
}
.masonry-item[data-featured="true"]::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 28px; height: 28px;
  background: var(--pink);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.masonry-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(to top, rgba(60,20,40,0.92), transparent);
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.masonry-item:hover .masonry-caption,
.masonry-item:focus-visible .masonry-caption {
  opacity: 1; transform: translateY(0);
}

/* ============================================================
   LIGHTBOX (Photography page)
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(60,20,40,0.96);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox-stage {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.5);
}
.lightbox-caption {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--pink-light);
  font-size: 1rem;
  text-align: center;
  max-width: 60ch;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(0,0,0,0.4);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-size: 1.3rem;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--pink); transform: scale(1.05); }
.lightbox-close {
  top: 1.5rem; right: 1.5rem;
}
.lightbox-nav.prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-nav.next:hover { transform: translateY(-50%) scale(1.05); }
body.lightbox-open { overflow: hidden; }

/* ============================================================
   MOBILE RULES for portfolio components
   ============================================================ */
@media (max-width: 900px) {
  /* Dropdown inside hamburger drawer: always visible, indented, no own border-bottom */
  .nav-links li.has-dropdown { display: block; }
  .dropdown-menu {
    position: static;
    transform: none;
    margin: 0;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0.8rem;
    list-style: none;
  }
  .dropdown-menu li { border-bottom: none; width: 100%; }
  .dropdown-menu a {
    display: block;
    width: 100%;
    padding: 0.7rem 0 0.7rem 1.4rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--mid);
    font-weight: 500;
    border-left: 2px solid var(--border);
    text-transform: none;
  }
  .dropdown-menu a:hover,
  .dropdown-menu a:focus,
  .dropdown-menu a.is-active {
    background: transparent;
    color: var(--pink);
    border-left-color: var(--pink);
  }
  .dropdown-chevron { display: none; }

  .featured-strip { padding: 1.8rem 1.5rem; }
  .featured-logos { gap: 2rem; }

  .article-card { grid-template-columns: 1fr; padding: 1rem; gap: 1rem; }
  .article-card-thumb { max-width: 100%; }
  .article-card h3 { font-size: 1.2rem; }

  .portfolio-card-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .portfolio-card { aspect-ratio: 4/5; max-width: 420px; margin: 0 auto; width: 100%; }
  .portfolio-card-label { font-size: 1rem; }
  .portfolio-card-icon svg { width: 70px; height: 70px; }
  .portfolio-card-title { font-size: 1.3rem; }

  .phone-masonry {
    grid-template-columns: 1fr;
    max-width: 320px;
    gap: 1.5rem;
  }
  .phone-masonry > *:nth-child(2),
  .phone-masonry > *:nth-child(3),
  .phone-masonry > *:nth-child(4) { margin-top: 0; }

  .account-breakout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }
  .account-breakout.reverse .account-phone-col { order: 0; }
  .account-breakout.reverse .account-text-col { order: 1; }
  .account-handle { font-size: 1.8rem; }
  .account-stats { gap: 1.4rem; }

  .filter-bar { padding: 1rem 1.5rem; top: 76px; }
  .gallery-wrap { padding: 2rem 1rem; }
  .masonry-grid { column-count: 1; column-gap: 1rem; }
  .masonry-item { margin-bottom: 1rem; }
  .masonry-caption { opacity: 1; transform: none; font-size: 0.82rem; padding: 0.7rem 0.9rem; }

  .lightbox { padding: 1rem; }
  .lightbox-img { max-height: 75vh; }
  .lightbox-close { top: 0.7rem; right: 0.7rem; width: 42px; height: 42px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-nav.prev { left: 0.5rem; }
  .lightbox-nav.next { right: 0.5rem; }
}

@media (max-width: 760px) {
  .masonry-grid { column-count: 1; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .masonry-grid { column-count: 2; }
}

/* ============================================================
   ALBUMS · Browse by Album section on Photography page
   ============================================================ */
.albums-section {
  padding: 4rem 5rem 1rem;
  max-width: 1180px;
  margin: 0 auto;
}
.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
.album-card {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 3 / 2;
  box-shadow: 0 18px 36px -22px rgba(60,20,40,0.30);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--dark);
}
.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.album-card:hover { box-shadow: 0 28px 56px -22px rgba(60,20,40,0.45); }
.album-card:hover img { transform: scale(1.04); }
.album-card::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(60,20,40,0.92) 0%, rgba(60,20,40,0.45) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.3s ease;
}
.album-card:hover::before {
  background: linear-gradient(to top, rgba(60,20,40,0.96) 0%, rgba(60,20,40,0.55) 50%, transparent 100%);
}
.album-card::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  background: var(--pink);
  transition: width 0.25s ease, height 0.25s ease;
  z-index: 2;
}
.album-card:hover::after { width: 36px; height: 36px; clip-path: polygon(100% 0, 100% 100%, 0 0); }
.album-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.6rem;
  color: var(--off-white);
  z-index: 2;
}
.album-card-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.album-card-meta {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

/* Section transition: 1px magenta rule with eyebrow centered */
.section-transition {
  margin: 3.5rem auto 2rem;
  max-width: 60%;
  position: relative;
  height: 1px;
  background: var(--pink);
}
.section-transition span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  padding: 0 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 500;
  white-space: nowrap;
}

/* ============================================================
   ALBUM BADGE on masonry photos
   The .masonry-cell wraps the photo button so the badge can sit
   as a sibling, properly focusable and clickable.
   ============================================================ */
.masonry-cell {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  position: relative;
}
.masonry-cell.is-hidden { display: none; }
.masonry-cell > .masonry-item {
  margin-bottom: 0;
}
.album-badge {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  padding: 0.35rem 0.8rem;
  background: var(--pink-light);
  color: var(--dark);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  z-index: 3;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  white-space: nowrap;
  max-width: calc(100% - 1.4rem);
  overflow: hidden;
  text-overflow: ellipsis;
}
.masonry-cell:hover .album-badge,
.masonry-cell:focus-within .album-badge {
  opacity: 1;
  transform: translateY(0);
}
.album-badge:hover {
  background: var(--pink);
  color: var(--white);
}

/* ============================================================
   ALBUM PAGE: breadcrumb, hero, cover, intro, bottom nav, share
   ============================================================ */
.album-page-header {
  padding: 8rem 5rem 2rem;
  max-width: 1180px;
  margin: 0 auto;
}
.album-breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.album-breadcrumb a {
  color: var(--mid);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.album-breadcrumb a:hover {
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.album-breadcrumb .sep {
  color: var(--pink);
  margin: 0 0.6rem;
}
.album-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.album-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
}
.album-meta-row .sep {
  color: var(--pink);
}
.album-cover-hero {
  width: 100%;
  max-height: 60vh;
  overflow: hidden;
  background: var(--off-white);
  margin: 2rem 0 0;
}
.album-cover-hero img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}
.album-intro {
  max-width: 640px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--dark);
  line-height: 1.65;
  text-align: center;
}

.album-bottom-nav {
  padding: 3rem 5rem 4rem;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}
.album-nav-link {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.album-nav-link:hover {
  border-bottom-color: var(--pink);
  gap: 0.75rem;
}
.album-nav-link.next-album {
  text-align: right;
}
.album-nav-link .next-album-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 1rem;
  color: var(--dark);
  margin-left: 0.4rem;
}

.share-row {
  padding: 0 5rem 4rem;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
}
.share-row-label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
}
.share-copy-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  color: var(--mid);
}
.share-copy-btn:hover {
  background: var(--pink-mist);
  border-color: var(--pink);
  color: var(--pink);
}
.share-copy-btn svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.share-tooltip {
  position: absolute;
  left: 0; top: -2rem;
  background: var(--dark);
  color: var(--off-white);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  white-space: nowrap;
}
.share-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile rules for albums */
@media (max-width: 1000px) {
  .albums-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .albums-grid { grid-template-columns: 1fr; }
  .albums-section { padding: 2.5rem 1.5rem 0.5rem; }
  .section-transition { max-width: 80%; margin: 2.5rem auto 1.5rem; }
  .album-page-header { padding: 6rem 1.5rem 1rem; }
  .album-cover-hero { max-height: 45vh; }
  .album-cover-hero img { height: 45vh; }
  .album-intro { margin: 2.5rem auto; font-size: 1.05rem; }
  .album-bottom-nav { padding: 2rem 1.5rem 3rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .album-nav-link.next-album { text-align: left; }
  .share-row { padding: 0 1.5rem 3rem; }
  /* Album badge always visible on mobile (touch has no hover) */
  .album-badge {
    opacity: 1;
    transform: none;
    top: auto;
    bottom: 0.7rem;
    right: 0.7rem;
  }
}

/* Featured article card: magenta corner accent matching photography pattern */
.article-card[data-featured="true"] {
  position: relative;
  overflow: hidden;
}
.article-card[data-featured="true"]::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 28px; height: 28px;
  background: var(--pink);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  z-index: 1;
}

/* ============================================================
   PHONE-SCREEN with IMAGE (Social Media page — IG grid)
   Overrides the default centered-text phone-screen layout.
   ============================================================ */
.phone-screen.has-image {
  padding: 0;
  display: block;
}
.phone-screen.has-image::after { display: none; }  /* no shimmer over image */
.phone-screen.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Account pull quote (Layla) */
.account-pullquote {
  margin-top: 1.4rem;
  padding: 1rem 1.4rem;
  border-left: 2px solid var(--pink);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--pink-deep);
  background: var(--pink-mist);
  border-radius: 0 2px 2px 0;
  max-width: 90%;
}

/* View on Instagram link */
.account-ig-link {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 600;
  border-bottom: 1px solid var(--pink);
  padding-bottom: 3px;
  transition: gap 0.2s ease;
}
.account-ig-link:hover {
  color: var(--pink-deep);
  border-bottom-color: var(--pink-deep);
}

/* ============================================================
   ABOUT PAGE · polaroid, hero kicker, thesis pull-quote,
   archived-link treatment, staccato list, sign-off, final CTA
   ============================================================ */

.about-hero-kicker {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--pink-deep);
  font-weight: 500;
  margin: 0.6rem 0 1.6rem;
  line-height: 1.3;
}

.polaroid-card {
  display: inline-block;
  background: var(--white);
  padding: 0.9rem 0.9rem 0;
  box-shadow: 0 22px 44px -16px rgba(60, 20, 40, 0.30);
  transform: rotate(-2.5deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
  max-width: 360px;
  margin: 0 auto;
}
.polaroid-card:hover { transform: rotate(-1deg) translateY(-4px); }
.polaroid-card img { display: block; width: 100%; height: auto; }
.polaroid-caption {
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--dark);
  text-align: center;
  padding: 1rem 0.4rem 1.2rem;
}
.polaroid-wrap {
  display: flex;
  justify-content: center;
  margin: 2.5rem auto 1.5rem;
  padding: 1rem 0;
}
.polaroid-wrap.smaller .polaroid-card {
  max-width: 280px;
  transform: rotate(2deg);
}
.polaroid-wrap.smaller .polaroid-card:hover {
  transform: rotate(0.5deg) translateY(-4px);
}

.about-thesis {
  margin: 3rem auto;
  max-width: 760px;
  padding: 2.4rem 1.5rem;
  text-align: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.5;
  color: var(--dark);
  border-top: 1px solid var(--pink);
  border-bottom: 1px solid var(--pink);
}

.about-list-paragraph {
  font-size: 1.05rem;
  line-height: 2.1;
  color: var(--mid);
  max-width: 760px;
  margin: 0 auto;
}
.about-list-paragraph strong { color: var(--dark); font-weight: 500; }

.archived-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--mid);
  font-style: italic;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  font-family: 'Fraunces', serif;
}
.archived-link:hover { color: var(--pink); border-bottom-color: var(--pink); }
.archived-link::after { content: '↗'; font-size: 0.85em; opacity: 0.7; font-style: normal; margin-left: 0.1rem; }

.about-section-body { max-width: 760px; margin: 0 auto; }
.about-section-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 1.4rem;
}
.about-section-body p strong { color: var(--dark); font-weight: 500; }

.about-signoff-block { text-align: center; padding: 3rem 1rem; }
.about-signoff-script {
  font-family: 'Caveat', cursive;
  font-size: 2.2rem;
  color: var(--pink);
  font-weight: 600;
  line-height: 1;
}
.about-signoff-role {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
  margin-top: 0.5rem;
}
.about-mantra-footer {
  margin-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 600;
}
.about-mantra-footer .dot { margin: 0 0.5rem; color: var(--pink-light); }

.about-final-cta {
  text-align: center;
  padding: 4rem 1.5rem 6rem;
  background: var(--off-white);
}
.about-final-cta-link {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--pink-deep);
  border-bottom: 2px solid var(--pink);
  padding-bottom: 4px;
  transition: color 0.2s;
}
.about-final-cta-link:hover { color: var(--pink); }

@media (max-width: 760px) {
  .polaroid-card { max-width: 260px; padding: 0.7rem 0.7rem 0; }
  .polaroid-caption { font-size: 1.1rem; padding: 0.8rem 0.3rem 1rem; }
  .about-thesis { padding: 1.8rem 1rem; font-size: 1.15rem; margin: 2rem auto; }
  .about-list-paragraph { font-size: 1rem; line-height: 1.95; }
  .about-section-body p { font-size: 1rem; }
  .about-signoff-script { font-size: 1.8rem; }
  .about-final-cta { padding: 3rem 1.5rem 5rem; }
}
