/*
Theme Name: Lime & Lotus
Theme URI: https://limeandlotus.com
Author: Lime & Lotus
Description: A custom editorial agency theme for Lime & Lotus.
Version: 1.0.0
Requires at least: 7.0
Requires PHP: 8.1
Text Domain: lime-and-lotus
*/

:root {
  --ink: #171714;
  --paper: #f4f0e7;
  --white: #fffdf8;
  --lime: #9fbd15;
  --pink: #df788d;
  --line: rgba(23, 23, 20, 0.22);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body, button, input, textarea, select { font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { object-fit: cover; }
.hero-media img, .case-cover img, .project-media img,
.testimonial-portrait img, .team-member-portrait img {
  width: 100%; height: 100%;
}
::selection { background: var(--pink); color: var(--ink); }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 200;
  background: var(--lime); color: var(--ink); padding: .8rem 1rem;
}
.skip-link:focus { top: 1rem; }
.eyebrow {
  margin: 0; font-size: .72rem; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 650;
}

/* Navigation */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 80; height: 88px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); transition: background .3s, color .3s, height .3s;
}
.site-header--scrolled {
  height: 70px; background: rgba(244, 240, 231, .92);
  backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
.site-header--inverse { color: var(--white); }
.brand-logo { display: inline-flex; align-items: center; gap: .66rem; }
.brand-logo img { width: 32px; height: 32px; object-fit: contain; }
.brand-logo span {
  font: 500 1.22rem/1 var(--serif); letter-spacing: -.035em;
  white-space: nowrap;
}
.brand-logo i { font-weight: 400; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.8rem); }
.desktop-nav ul, .footer-links ul { display: contents; margin: 0; padding: 0; list-style: none; }
.desktop-nav li, .footer-links li { display: contents; }
.desktop-nav > a, .desktop-nav li a {
  font-size: .78rem; letter-spacing: .07em; text-transform: uppercase;
  position: relative;
}
.desktop-nav > a:not(.nav-cta)::after, .desktop-nav li a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem;
  height: 1px; background: currentColor; transition: right .25s;
}
.desktop-nav > a:hover::after, .desktop-nav li a:hover::after,
.desktop-nav > a[aria-current="page"]::after,
.desktop-nav .current-menu-item a::after,
.desktop-nav .current-menu-ancestor a::after { right: 0; }
.nav-cta {
  border: 1px solid currentColor; padding: .82rem 1.15rem;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--ink); color: var(--white); }
.site-header--inverse .nav-cta:hover { background: var(--white); color: var(--ink); }
.menu-toggle { display: none; border: 0; background: none; text-transform: uppercase; font-size: .75rem; letter-spacing: .1em; }
.mobile-menu { display: none; }
.mobile-menu[hidden] { display: none !important; }

/* Buttons */
.button {
  display: inline-flex; justify-content: space-between; align-items: center;
  gap: 2.5rem; min-width: 15rem; padding: 1rem 1.15rem;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid; transition: background .22s, color .22s, transform .22s;
}
.button:hover { transform: translateY(-2px); }
.button--light { color: var(--white); border-color: rgba(255,255,255,.72); }
.button--light:hover { background: var(--white); color: var(--ink); }
.button--dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* Hero */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  color: var(--white); background: #282824;
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { transform: translate3d(0, var(--hero-y, 0), 0) scale(var(--hero-scale, 1.02)); will-change: transform; }
.hero-content { transform: translate3d(0, var(--hero-content-y, 0), 0); opacity: var(--hero-opacity, 1); will-change: transform, opacity; }
.hero-media img { object-position: center; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(12,12,11,.78) 0%, rgba(12,12,11,.51) 32%, rgba(12,12,11,.08) 65%),
    linear-gradient(0deg, rgba(10,10,9,.32), transparent 45%);
}
.hero-content {
  position: relative; z-index: 2; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7.5rem var(--pad) 4.5rem;
}
.hero-brand {
  margin: 0 0 1.1rem; font: 500 clamp(1.35rem, 2vw, 2rem)/1 var(--serif);
  letter-spacing: -.035em;
}
.hero h1 {
  margin: 0; max-width: 760px; font: 400 clamp(4rem, 8.5vw, 8.4rem)/.82 var(--serif);
  letter-spacing: -.075em;
}
.hero-copy { max-width: 470px; margin: 2rem 0; font-size: clamp(.95rem, 1.3vw, 1.15rem); line-height: 1.55; }
.scroll-note {
  position: absolute; right: var(--pad); bottom: 2.5rem; z-index: 3;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .12em;
  display: flex; gap: 1rem;
}

/* Homepage */
.intro-section {
  display: grid; grid-template-columns: 1fr 3fr; gap: 3rem;
  padding: clamp(7rem, 13vw, 13rem) var(--pad);
}
.intro-statement { max-width: 1050px; }
.intro-statement h2 {
  margin: 0; font: 400 clamp(3rem, 6.2vw, 6.5rem)/.96 var(--serif);
  letter-spacing: -.055em;
}
.intro-statement h2 em { color: var(--pink); font-weight: 400; }
.intro-statement > p { margin: 3rem 0 0 auto; max-width: 470px; line-height: 1.65; }
.work-section { padding: 0 var(--pad) clamp(7rem, 12vw, 12rem); }
.section-heading {
  display: flex; justify-content: space-between; padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--ink);
}
.section-heading > p:last-child { margin: 0; font-size: .77rem; }
.project-list { display: flex; flex-direction: column; }
.project-row { display: block; margin-top: 4.5rem; }
.project-media {
  position: relative; width: 82%; margin-left: auto;
  aspect-ratio: 1.8; overflow: hidden; background: #d7d0c3;
}
.project-media img { transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .5s; }
.project-row:hover .project-media img { transform: scale(1.035); filter: saturate(1.08); }
.project-index, .project-view {
  position: absolute; top: 1.2rem; background: var(--paper);
  padding: .6rem .75rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
}
.project-index { left: 1.2rem; }
.project-view { right: 1.2rem; transform: translateY(-160%); transition: transform .3s; }
.project-row:hover .project-view { transform: none; }
.project-info {
  width: 82%; margin: 1.2rem 0 0 auto; padding-bottom: 1.2rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline;
  border-bottom: 1px solid var(--line);
}
.project-info h3 { margin: 0; font: 400 clamp(2.1rem, 4vw, 4rem)/1 var(--serif); letter-spacing: -.045em; }
.project-info p { margin: 0; text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; }
.project-info ul { margin: 0; padding: 0; list-style: none; text-align: right; font-size: .74rem; }
.project-info li { display: inline; }
.project-info li + li::before { content: " / "; opacity: .5; }
.section-link { display: flex; justify-content: flex-end; margin-top: 3rem; }
.section-link a {
  width: 82%; border-bottom: 1px solid var(--ink); padding-bottom: .9rem;
  display: flex; justify-content: space-between; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em;
}
.services-home { padding: clamp(7rem, 12vw, 11rem) var(--pad); background: var(--ink); color: var(--white); }
.services-title { display: grid; grid-template-columns: 1fr 2fr; padding-bottom: 5rem; }
.services-title h2 { max-width: 790px; margin: 0; font: 400 clamp(3rem, 6vw, 6rem)/.95 var(--serif); letter-spacing: -.055em; }
.service-lines { border-top: 1px solid rgba(255,255,255,.35); }
.service-line {
  display: grid; grid-template-columns: .3fr 1.2fr 1fr auto; gap: 2rem;
  align-items: center; min-height: 9.5rem; border-bottom: 1px solid rgba(255,255,255,.28);
  transition: color .25s, padding .25s;
}
.service-line:hover { color: var(--lime); padding-left: 1rem; }
.service-line > span, .service-line > p { font-size: .78rem; }
.service-line h3 { margin: 0; font: 400 clamp(2rem, 3.7vw, 3.8rem)/1 var(--serif); letter-spacing: -.04em; }
.service-line p { margin: 0; max-width: 420px; line-height: 1.55; color: rgba(255,255,255,.67); }
.service-line i { font-style: normal; }
.process-section {
  min-height: 900px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 8rem var(--pad);
  background: #e9e3d8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-section .mark-orbit img { width: 88%; }
.mark-orbit { display: flex; align-items: center; justify-content: center; min-height: 500px; }
.mark-orbit img { width: min(46vw, 600px); height: auto; object-fit: contain; }
.process-copy { max-width: 610px; margin-left: auto; }
.process-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.process-copy .eyebrow::before {
  content: "";
  width: 2.8rem;
  height: 3px;
  background: var(--pink);
}
.process-copy h2 { margin: 2rem 0; font: 400 clamp(3rem, 5.2vw, 5.5rem)/.95 var(--serif); letter-spacing: -.055em; }
.process-copy > p:not(.eyebrow) {
  max-width: 470px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: rgba(23, 23, 20, .74);
  font-size: 1.02rem;
  line-height: 1.65;
}
.process-copy ol { list-style: none; padding: 0; margin: 4rem 0 0; border-top: 1px solid var(--ink); }
.process-copy li { padding: 1.25rem 0; border-bottom: 1px solid var(--ink); font-size: 1.05rem; }
.process-copy li span { display: inline-block; width: 4rem; font-size: .68rem; }
.testimonials-section {
  padding: clamp(6rem, 10vw, 10rem) var(--pad);
  background: var(--paper);
  overflow: hidden;
}
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--ink);
}
.testimonials-header h2 {
  max-width: 720px;
  margin: 1.4rem 0 0;
  font: 400 clamp(3rem, 5vw, 5.2rem)/.95 var(--serif);
  letter-spacing: -.055em;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.testimonial-controls p {
  min-width: 7.5rem;
  margin: 0 1rem 0 0;
  font-size: .7rem;
  letter-spacing: .08em;
}
.testimonial-controls p span { opacity: .48; }
.testimonial-controls button {
  width: 3.2rem;
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.testimonial-controls button:hover {
  background: var(--ink);
  color: var(--white);
}
.testimonial-viewport {
  overflow: hidden;
  width: 100%;
  outline: none;
}
.testimonial-viewport:focus-visible {
  box-shadow: 0 0 0 3px var(--pink);
}
.testimonial-track {
  --testimonial-gap: clamp(1rem, 1.6vw, 1.5rem);
  display: flex;
  gap: var(--testimonial-gap);
  padding-top: 2.5rem;
  transition: transform .52s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.testimonial-item {
  flex: 0 0 100%;
  min-width: 0;
  padding-right: var(--testimonial-gap);
  border-right: 1px solid var(--line);
}
.testimonial-track[data-visible="2"] .testimonial-item {
  flex-basis: calc((100% - var(--testimonial-gap)) / 2);
}
.testimonial-track[data-visible="3"] .testimonial-item {
  flex-basis: calc((100% - 2 * var(--testimonial-gap)) / 3);
}
.testimonial-portrait {
  position: relative;
  aspect-ratio: 1.08;
  overflow: hidden;
  background: #ded6c9;
}
.testimonial-portrait img {
  filter: saturate(.88);
  transition: transform .5s ease, filter .3s ease;
}
.testimonial-item:hover .testimonial-portrait img {
  transform: scale(1.025);
  filter: saturate(1);
}
.testimonial-portrait span {
  position: absolute;
  left: .8rem;
  top: .8rem;
  padding: .48rem .58rem;
  background: var(--paper);
  font-size: .62rem;
  letter-spacing: .08em;
}
.testimonial-item blockquote {
  min-height: 11rem;
  margin: 1.7rem 0 2rem;
  font: 400 clamp(1.45rem, 2.2vw, 2.2rem)/1.12 var(--serif);
  letter-spacing: -.025em;
}
.testimonial-item footer {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.testimonial-item footer strong,
.testimonial-item footer span {
  display: block;
  font-size: .68rem;
  line-height: 1.4;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.testimonial-item footer span {
  margin-top: .35rem;
  opacity: .52;
}
.testimonial-dots {
  display: flex;
  gap: .35rem;
  margin-top: 2.5rem;
}
.testimonial-dots span {
  width: 2rem;
  height: 2px;
  background: var(--line);
  transition: width .25s, background .25s;
}
.testimonial-dots span.is-active {
  width: 4rem;
  background: var(--pink);
}

/* Interior pages */
.page-hero {
  padding: clamp(10rem, 17vw, 14rem) var(--pad) clamp(5rem, 9vw, 9rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 1180px; margin: 2.5rem 0;
  font: 400 clamp(4rem, 9vw, 9rem)/.86 var(--serif); letter-spacing: -.075em;
}
.page-hero h1 em { font-weight: 400; color: var(--pink); }
.page-hero-copy { max-width: 500px; margin-left: auto; line-height: 1.6; font-size: 1.02rem; }
.page-content { padding: 1rem var(--pad) 10rem; }
.work-index .project-row:first-child { margin-top: 5rem; }
.service-index { padding: 0 var(--pad) 10rem; }
.service-index > a {
  display: grid; grid-template-columns: .25fr 1fr auto; align-items: start;
  gap: 2rem; padding: 3rem 0; border-bottom: 1px solid var(--line);
}
.service-index > a > span { font-size: .72rem; }
.service-index h2 { margin: 0; font: 400 clamp(2.7rem, 5.5vw, 5.7rem)/.9 var(--serif); letter-spacing: -.055em; transition: color .2s; }
.service-index p { max-width: 520px; margin: 1rem 0 0; line-height: 1.55; }
.service-index i { font-style: normal; font-size: 1.4rem; }
.service-index a:hover h2 { color: var(--pink); }
.service-detail > header, .case-header {
  padding: clamp(11rem, 17vw, 15rem) var(--pad) 7rem;
}
.service-detail > header h1, .case-header h1 {
  margin: 2.2rem 0; font: 400 clamp(4.5rem, 10vw, 10rem)/.83 var(--serif);
  letter-spacing: -.075em;
}
.service-detail > header > p:last-child, .case-summary { max-width: 620px; margin-left: auto; font-size: 1.1rem; line-height: 1.6; }
.service-story, .capability-list, .case-body, .case-results {
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem;
  padding: 7rem var(--pad); border-top: 1px solid var(--line);
}
.service-story > div, .case-body > div { max-width: 780px; }
.service-story > div p, .case-body > div p {
  margin: 0 0 2rem; font: 400 clamp(2rem, 3.5vw, 3.5rem)/1.15 var(--serif);
  letter-spacing: -.035em;
}
.capability-list ol { margin: 0; padding: 0; list-style: none; }
.capability-list li { padding: 1.4rem 0; border-top: 1px solid var(--line); font: 400 clamp(1.7rem, 3vw, 3rem)/1 var(--serif); }
.capability-list li:last-child { border-bottom: 1px solid var(--line); }
.capability-list li span { display: inline-block; width: 4.5rem; font: .68rem/1 var(--sans); }
.service-cta {
  padding: 7rem var(--pad); background: var(--lime);
  display: flex; justify-content: space-between; align-items: end;
}
.service-cta p { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.service-cta a { font: 400 clamp(3.5rem, 7vw, 7rem)/1 var(--serif); letter-spacing: -.06em; border-bottom: .06em solid; }
.case-services { display: flex; flex-wrap: wrap; gap: .5rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.case-services li { border: 1px solid var(--line); padding: .65rem .8rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.case-cover { position: relative; aspect-ratio: 1.75; }
.case-results { background: var(--lime); }
.case-results > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.case-results strong { display: block; font: 400 clamp(3.5rem, 7vw, 7rem)/1 var(--serif); letter-spacing: -.06em; }
.case-results span { display: block; margin-top: .7rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.next-project { padding: 7rem var(--pad); }
.next-project a { display: flex; justify-content: space-between; margin-top: 3rem; border-bottom: 1px solid; font: 400 clamp(3rem, 7vw, 7rem)/1 var(--serif); letter-spacing: -.055em; }
.about-manifesto {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center;
  min-height: 850px; padding: 7rem var(--pad);
  background: #e9e3d8; overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-manifesto .mark-orbit {
  width: min(42vw, 610px);
  min-height: 0;
  aspect-ratio: 1;
  justify-self: center;
}
.about-manifesto .mark-orbit img {
  width: 88%;
  filter: none;
}
.about-manifesto .eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.about-manifesto .eyebrow::before {
  content: "";
  width: 2.8rem;
  height: 3px;
  background: var(--pink);
}
.about-manifesto h2 {
  max-width: 690px;
  margin: 2.25rem 0;
  font: 400 clamp(3rem, 5vw, 5.2rem)/.96 var(--serif);
  letter-spacing: -.05em;
}
.about-manifesto div > p:last-child {
  max-width: 520px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: rgba(23, 23, 20, .74);
  font-size: 1.02rem;
  line-height: 1.65;
}
.founder-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  padding: clamp(6rem, 10vw, 10rem) var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.founder-portrait {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: #dfd8ca;
}
.founder-portrait--placeholder {
  display: grid;
  place-items: center;
  isolation: isolate;
}
.founder-portrait--placeholder::before {
  content: "";
  position: absolute;
  inset: 1.4rem;
  border: 1px solid rgba(23, 23, 20, .2);
  z-index: 2;
}
.founder-portrait--placeholder img {
  position: absolute;
  width: min(76%, 520px);
  height: auto;
  opacity: .16;
  object-fit: contain;
  transform: rotate(-8deg);
  z-index: -1;
}
.founder-portrait--placeholder span {
  font: 400 clamp(8rem, 17vw, 15rem)/1 var(--serif);
  letter-spacing: -.11em;
  color: var(--ink);
}
.founder-copy { max-width: 700px; }
.founder-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.founder-copy .eyebrow::before {
  content: "";
  width: 2.8rem;
  height: 3px;
  background: var(--lime);
}
.founder-copy h2 {
  margin: 2rem 0 .5rem;
  font: 400 clamp(4.5rem, 8vw, 8rem)/.88 var(--serif);
  letter-spacing: -.07em;
}
.founder-role {
  margin: 0 0 3.5rem;
  color: var(--pink);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.founder-bio {
  max-width: 590px;
  margin: 0 0 1.3rem;
  color: rgba(23, 23, 20, .74);
  font-size: 1.05rem;
  line-height: 1.7;
}
.founder-linkedin {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  max-width: 590px;
  margin-top: 3rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.founder-linkedin > span {
  display: grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  background: var(--ink);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: none;
}
.founder-linkedin i { font-style: normal; }
.founder-linkedin:hover { color: var(--pink); }
.principles { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; padding: 9rem var(--pad); }
.principles > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.principles article { border-top: 1px solid; padding-top: 1.3rem; }
.principles article span { font-size: .7rem; }
.principles h3 { min-height: 6rem; margin: 3rem 0 1rem; font: 400 2.1rem/1 var(--serif); }
.principles article p { line-height: 1.5; opacity: .7; }
.team-section {
  padding: clamp(7rem, 11vw, 11rem) var(--pad);
  background: var(--ink);
  color: var(--white);
}
.team-heading {
  display: grid;
  grid-template-columns: .55fr 1.15fr .7fr;
  gap: 3rem;
  align-items: end;
  padding-bottom: clamp(3rem, 6vw, 6rem);
}
.team-heading h2 {
  max-width: 650px;
  margin: 0;
  font: 400 clamp(3.4rem, 6vw, 6.5rem)/.9 var(--serif);
  letter-spacing: -.06em;
}
.team-heading > p:last-child {
  max-width: 340px;
  margin: 0;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}
.team-roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  border-top: 1px solid rgba(255,255,255,.32);
  padding-top: 1.25rem;
}
.team-member { min-width: 0; }
.team-member-portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: .82;
  overflow: hidden;
  background: #d9d1c3;
  color: var(--ink);
}
.team-member:nth-child(2) .team-member-portrait { background: var(--lime); }
.team-member:nth-child(3) .team-member-portrait { background: #c88293; }
.team-member-portrait img {
  transition: transform .65s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
  filter: saturate(.82);
}
.team-member:hover .team-member-portrait img {
  transform: scale(1.035);
  filter: saturate(1);
}
.team-member-portrait > span {
  font: 400 clamp(5rem, 10vw, 10rem)/1 var(--serif);
  letter-spacing: -.1em;
}
.team-member-portrait i {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font: .65rem/1 var(--sans);
  font-style: normal;
  letter-spacing: .1em;
}
.team-member-copy {
  padding: 1.4rem 0 0;
  border-top: 1px solid transparent;
}
.team-member-copy h3 {
  margin: 0;
  font: 400 clamp(2rem, 3vw, 3rem)/1 var(--serif);
  letter-spacing: -.04em;
  transition: color .25s ease;
}
.team-member:hover .team-member-copy h3 { color: var(--lime); }
.team-member-copy p {
  margin: .65rem 0 1.4rem;
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.team-member-copy span {
  display: block;
  max-width: 390px;
  color: rgba(255,255,255,.62);
  font-size: .92rem;
  line-height: 1.6;
}
.insight-index { padding: 0 var(--pad) 10rem; }
.insight-index a { display: grid; grid-template-columns: .2fr 1fr auto; gap: 2rem; padding: 3.2rem 0; border-bottom: 1px solid var(--line); }
.insight-index a > span, .insight-index div > p { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.insight-index h2 { margin: 1.3rem 0; max-width: 900px; font: 400 clamp(2.5rem, 5vw, 5rem)/.95 var(--serif); letter-spacing: -.05em; transition: color .2s; }
.insight-index em { display: block; max-width: 560px; font-style: normal; line-height: 1.5; }
.insight-index i { font-style: normal; }
.insight-index a:hover h2 { color: var(--pink); }
.article-page > header { padding: clamp(11rem, 17vw, 15rem) var(--pad) 7rem; max-width: 1300px; }
.article-page h1 { margin: 2rem 0; font: 400 clamp(4rem, 8vw, 8rem)/.88 var(--serif); letter-spacing: -.07em; }
.article-page header > p:last-child { max-width: 670px; margin-left: auto; font-size: 1.15rem; line-height: 1.55; }
.article-body { max-width: 760px; margin: 0 auto; padding: 2rem var(--pad) 9rem; }
.article-body p { margin: 0 0 2rem; font: 400 clamp(1.45rem, 2.4vw, 2rem)/1.48 var(--serif); }
.article-body p:first-child::first-letter { float: left; font-size: 5rem; line-height: .78; padding: .1rem .55rem 0 0; color: var(--pink); }
.article-page footer { padding: 3rem var(--pad) 7rem; }
.article-page footer a { display: flex; justify-content: space-between; border-bottom: 1px solid; padding-bottom: .8rem; text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; }
.contact-page {
  min-height: 100svh; padding: 10rem var(--pad) 5rem;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 8rem);
}
.contact-intro h1 { margin: 2rem 0; font: 400 clamp(4rem, 7vw, 7rem)/.87 var(--serif); letter-spacing: -.065em; }
.contact-intro > p:not(.eyebrow) { max-width: 450px; line-height: 1.6; }
.contact-details { margin-top: 4rem; display: flex; flex-direction: column; gap: .5rem; font-size: .78rem; }
.contact-details span { opacity: .55; text-transform: uppercase; letter-spacing: .08em; }
.contact-details a { text-decoration: underline; text-underline-offset: .25em; }
.calendly-wrap, .calendly-placeholder {
  min-height: 720px; position: relative; background: #fff; border: 1px solid var(--line);
}
.calendly-wrap iframe { width: 100%; height: 680px; border: 0; }
.calendar-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem; }
.calendar-fallback { display: block; text-align: center; padding: 1rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.calendly-placeholder { padding: clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.calendly-placeholder h2 { font: 400 clamp(2.5rem, 4vw, 4rem)/1 var(--serif); margin: 2rem 0; }
.calendly-placeholder > p:not(.eyebrow) { line-height: 1.6; margin-bottom: 2rem; }
.not-found { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; padding: 8rem var(--pad); }
.not-found h1 { margin: 2rem 0; font: 400 clamp(4rem, 9vw, 9rem)/.88 var(--serif); letter-spacing: -.07em; }
.loading-screen { height: 100svh; display: grid; place-items: center; }
.loading-screen span { width: 36px; aspect-ratio: 1; border: 3px solid var(--line); border-top-color: var(--pink); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* WordPress */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto; width: auto; height: auto; margin: 0;
  left: 1rem; top: 1rem; padding: .8rem 1rem; z-index: 1000;
  background: var(--lime); color: var(--ink);
}
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .72s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.menu-open { overflow: hidden; }
.mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.admin-bar .site-header { top: 32px; }
.wp-caption, .gallery-caption { max-width: 100%; }
.alignwide { width: min(100% - 2 * var(--pad), 1400px); margin-inline: auto; }
.alignfull { width: 100%; }
.entry-content img { max-width: 100%; height: auto; }
.pagination { display: flex; gap: 1rem; padding: 3rem var(--pad) 8rem; }
.pagination .page-numbers { border-bottom: 1px solid; padding: .4rem; }
.pagination .current { color: var(--pink); }
.empty-collection { padding: 5rem 0; font: 400 2rem/1.2 var(--serif); }
.theme-notice { padding: 1rem; border-left: 4px solid var(--lime); background: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding: 6rem var(--pad) 2rem; }
.footer-lead { border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: 5rem; }
.footer-cta { display: flex; justify-content: space-between; align-items: end; margin-top: 2rem; font: 400 clamp(3.8rem, 8vw, 8rem)/.9 var(--serif); letter-spacing: -.065em; }
.footer-cta span { font: 1.5rem/1 var(--sans); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 3rem; padding-top: 2rem; }
.footer-links { display: flex; gap: 1.5rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-meta { text-align: right; font-size: .7rem; }
.footer-meta p { margin: .6rem 0 0; opacity: .5; }

/* Admin */
.admin-shell { min-height: 100svh; display: grid; grid-template-columns: 250px 1fr; background: #f7f7f4; }
.admin-sidebar {
  position: sticky; top: 0; height: 100svh; padding: 1.5rem;
  display: flex; flex-direction: column; background: #eeeee9; border-right: 1px solid #d6d6cf;
}
.admin-sidebar nav { display: flex; flex-direction: column; gap: .3rem; margin-top: 3rem; }
.admin-sidebar nav a { padding: .72rem .8rem; border-radius: .25rem; font-size: .82rem; }
.admin-sidebar nav a:hover, .admin-sidebar nav a[aria-current="page"] { background: #deded7; }
.admin-user { margin-top: auto; display: flex; flex-direction: column; gap: .6rem; font-size: .7rem; word-break: break-all; }
.admin-user button { padding: 0; border: 0; background: none; cursor: pointer; text-decoration: underline; }
.admin-main { min-width: 0; }
.admin-page { padding: 3rem clamp(1.5rem, 4vw, 4rem); }
.admin-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 3rem; }
.admin-header p { margin: 0 0 .7rem; color: #73736e; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.admin-header h1 { margin: 0; font: 400 clamp(2.5rem, 4vw, 4rem)/1 var(--serif); letter-spacing: -.04em; }
.admin-primary { display: inline-block; border: 0; background: var(--ink); color: #fff; padding: .9rem 1.15rem; font-size: .75rem; cursor: pointer; }
.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid #d6d6cf; background: #fff; }
.admin-stats a { min-height: 150px; padding: 1.2rem; display: flex; flex-direction: column; border-right: 1px solid #d6d6cf; }
.admin-stats a:last-child { border: 0; }
.admin-stats span, .admin-stats small { font-size: .68rem; }
.admin-stats strong { margin: auto 0 .4rem; font: 400 2.8rem/1 var(--serif); }
.admin-stats small { color: #777; }
.admin-recent { margin-top: 3rem; background: #fff; border: 1px solid #d6d6cf; }
.admin-section-title { padding: 1.2rem; border-bottom: 1px solid #d6d6cf; }
.admin-section-title h2 { margin: 0; font-size: .9rem; }
.admin-recent > div:not(.admin-section-title) { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; padding: 1rem 1.2rem; border-bottom: 1px solid #e3e3de; font-size: .75rem; }
.admin-recent > div span { text-transform: capitalize; }
.admin-recent > div strong { color: #777; font-weight: 500; }
.admin-login { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: 550px; margin: auto; padding: 2rem; }
.admin-login h1 { margin: 1.5rem 0 3rem; font: 400 4rem/1 var(--serif); letter-spacing: -.05em; }
.admin-notice { padding: 1.5rem; border: 1px solid #d6d6cf; background: #fff; line-height: 1.5; }
.admin-form { max-width: 960px; }
.admin-form.compact { max-width: 560px; display: flex; flex-direction: column; gap: 1.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.span-2 { grid-column: span 2; }
.admin-form label { display: flex; flex-direction: column; gap: .5rem; font-size: .72rem; font-weight: 650; }
.admin-form input, .admin-form textarea, .admin-form select, .media-upload input {
  width: 100%; border: 1px solid #cacac4; background: #fff; padding: .82rem; border-radius: 0;
  font-size: .85rem; font-weight: 400; outline: none;
}
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.admin-form textarea { resize: vertical; line-height: 1.55; }
.form-settings, .seo-fields { margin: 2rem 0 0; padding: 1.5rem; border: 1px solid #d6d6cf; }
.form-settings { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; }
.form-settings legend, .seo-fields legend { padding: 0 .5rem; font-size: .72rem; font-weight: 650; }
.checkbox-label { flex-direction: row !important; align-items: center; }
.checkbox-label input { width: auto; }
.form-actions { margin-top: 2rem; }
.danger-zone { display: flex; justify-content: space-between; align-items: center; margin-top: 4rem; padding: 1.2rem 0; border-top: 1px solid #c98b8b; color: #8b2424; font-size: .75rem; }
.admin-danger { border: 1px solid #8b2424; color: #8b2424; background: transparent; padding: .7rem 1rem; cursor: pointer; }
.content-table { border: 1px solid #d6d6cf; background: #fff; }
.content-table-head, .content-table > a { display: grid; grid-template-columns: 1fr 120px 130px 30px; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid #e1e1dc; font-size: .76rem; }
.content-table-head { color: #777; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.content-table > a:hover { background: #f4f4ef; }
.content-table i { font-style: normal; }
.status { width: fit-content; padding: .35rem .5rem; background: #e9e9e4; font-size: .63rem; text-transform: uppercase; letter-spacing: .06em; }
.status--published { background: #e5edbd; color: #485700; }
.empty-state { padding: 3rem 1.2rem; color: #777; font-size: .8rem; }
.admin-success { padding: .8rem 1rem; background: #e5edbd; color: #485700; font-size: .75rem; }
.setup-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ccc; }
.setup-steps article { padding: 2rem 2rem 2rem 0; }
.setup-steps span { font-size: .68rem; }
.setup-steps h2 { margin: 3rem 0 1rem; font: 400 1.8rem/1 var(--serif); }
.setup-steps p { color: #666; line-height: 1.5; font-size: .82rem; }
.media-upload { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; padding: 1.5rem; background: #fff; border: 1px solid #d6d6cf; }
.media-upload label { font-size: .72rem; font-weight: 650; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.media-grid figure { margin: 0; background: #fff; border: 1px solid #d6d6cf; }
.media-grid img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.media-grid figcaption { padding: 1rem; font-size: .7rem; }
.media-grid figcaption strong { display: block; margin-bottom: .5rem; }
.media-grid figcaption code { display: block; width: 100%; color: #777; font-size: .62rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-error { color: #8b2424; font-size: .75rem; }

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .site-header--inverse .menu-toggle { color: var(--white); }
  .site-header--open { color: var(--ink); background: var(--paper); }
  .mobile-menu {
    position: fixed; inset: 0; z-index: 70; padding: 8rem var(--pad) 3rem;
    display: flex; flex-direction: column; background: var(--paper);
  }
  .mobile-menu > div a { display: block; padding: .2rem 0; font: 400 clamp(3.5rem, 13vw, 6.5rem)/1 var(--serif); letter-spacing: -.055em; }
  .mobile-menu .button { margin-top: auto; }
  .intro-section, .services-title, .process-section, .about-manifesto,
  .principles, .service-story, .capability-list, .case-body,
  .case-results, .contact-page { grid-template-columns: 1fr; }
  .intro-section { gap: 3rem; }
  .project-media, .project-info, .section-link a { width: 100%; }
  .service-line { grid-template-columns: .2fr 1fr auto; min-height: 8rem; }
  .service-line p { display: none; }
  .process-section { padding-top: 4rem; }
  .mark-orbit { min-height: 350px; }
  .mark-orbit img { width: min(80vw, 550px); }
  .about-manifesto { min-height: auto; }
  .about-manifesto .mark-orbit {
    width: min(72vw, 540px);
  }
  .principles > div { grid-template-columns: 1fr; }
  .founder-section {
    grid-template-columns: 1fr;
  }
  .founder-portrait {
    min-height: 620px;
  }
  .principles h3 { min-height: auto; margin-top: 1.5rem; }
  .team-heading { grid-template-columns: 1fr 1.5fr; }
  .team-heading > p:last-child { grid-column: 2; }
  .team-roster { grid-template-columns: repeat(2, 1fr); }
  .case-results > div { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 2; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-stats a { border-bottom: 1px solid #d6d6cf; }
}

@media (max-width: 640px) {
  .site-header { height: 68px; }
  .hero-content { padding-top: 6rem; justify-content: flex-end; padding-bottom: 6rem; }
  .hero h1 { font-size: clamp(3.9rem, 19vw, 5.3rem); }
  .hero-shade { background: linear-gradient(0deg, rgba(10,10,9,.86) 0%, rgba(10,10,9,.4) 57%, rgba(10,10,9,.12)); }
  .hero-media img { object-position: 64% center; }
  .hero-copy { margin: 1.5rem 0; font-size: .95rem; }
  .scroll-note { display: none; }
  .intro-section { padding-top: 7rem; }
  .intro-statement h2, .services-title h2 { font-size: 3.2rem; }
  .project-row { margin-top: 3rem; }
  .project-media { aspect-ratio: 1.05; }
  .project-info { grid-template-columns: 1fr auto; gap: .7rem; }
  .project-info ul { display: none; }
  .project-info h3 { font-size: 2.45rem; }
  .services-home { padding-top: 6rem; }
  .services-title { gap: 2rem; padding-bottom: 3rem; }
  .service-line { grid-template-columns: 2.2rem 1fr auto; gap: .5rem; min-height: 7rem; }
  .service-line h3 { font-size: 2rem; }
  .process-section { min-height: auto; padding-bottom: 6rem; }
  .process-copy h2 { font-size: 3.2rem; }
  .testimonials-header {
    align-items: start;
    flex-direction: column;
  }
  .testimonial-controls {
    width: 100%;
  }
  .testimonial-controls p {
    margin-right: auto;
  }
  .testimonial-item blockquote {
    min-height: 0;
  }
  .page-hero { padding-top: 9.5rem; }
  .page-hero h1 { font-size: clamp(3.8rem, 17vw, 5.4rem); }
  .page-hero-copy { margin-top: 3rem; }
  .service-index > a { grid-template-columns: 2rem 1fr auto; gap: .5rem; padding: 2rem 0; }
  .service-index h2 { font-size: 2.8rem; }
  .service-detail > header, .case-header { padding-top: 10rem; padding-bottom: 4rem; }
  .service-detail > header h1, .case-header h1 { font-size: 4.4rem; }
  .service-story, .capability-list, .case-body, .case-results { gap: 3rem; padding-top: 5rem; padding-bottom: 5rem; }
  .service-cta { display: block; }
  .service-cta a { display: flex; margin-top: 3rem; }
  .case-cover { aspect-ratio: .92; }
  .case-results > div { grid-template-columns: 1fr; }
  .case-results strong { font-size: 5rem; }
  .about-manifesto { padding-top: 4rem; }
  .about-manifesto .mark-orbit {
    width: min(80vw, 390px);
  }
  .about-manifesto h2 { font-size: 3.2rem; }
  .founder-portrait {
    min-height: 470px;
  }
  .founder-copy h2 {
    font-size: 4.6rem;
  }
  .team-heading {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .team-heading > p:last-child { grid-column: 1; }
  .team-roster { grid-template-columns: 1fr; gap: 3.5rem; }
  .team-member-portrait { aspect-ratio: .9; }
  .principles { padding-top: 6rem; }
  .insight-index a { grid-template-columns: 2rem 1fr auto; gap: .5rem; }
  .insight-index h2 { font-size: 2.8rem; }
  .article-page h1 { font-size: 4.3rem; }
  .contact-page { padding-top: 9rem; }
  .contact-intro h1 { font-size: 4.5rem; }
  .calendly-wrap, .calendly-placeholder { min-height: 650px; }
  .footer-cta { font-size: 3.8rem; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .footer-meta { grid-column: 1; text-align: left; }
  .admin-shell { display: block; }
  .admin-sidebar { position: static; height: auto; }
  .admin-sidebar nav { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }
  .admin-user { display: none; }
  .admin-page { padding: 2rem 1rem; }
  .admin-header { align-items: start; gap: 1rem; }
  .admin-header h1 { font-size: 2.4rem; }
  .admin-stats, .setup-steps, .form-grid, .form-settings, .media-upload, .media-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: 1; }
  .content-table-head { display: none; }
  .content-table > a { grid-template-columns: 1fr auto; }
  .content-table time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
