:root {
  --cream: #f2ebe5;
  --brown: #752900;
  --blue: #aac4e7;
  --blue-dim: rgba(82, 146, 248, 0.701);
  --white: #fffaf5;
  --line: #a8612f;
  --shadow: 8px 9px 10px rgba(117, 41, 0, 0.22);
  --soft-shadow: 0 14px 28px rgba(117, 41, 0, 0.16);
  --site-width: min(1366px, 100vw);
  --content-width: min(936px, calc(100vw - 24px));
}

* {
  box-sizing: border-box;
}

.bg-clouds {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-cloud {
  position: absolute;
  background: var(--blue);
  border-radius: 999px;
  opacity: 0.35;
}

.bg-cloud::before,
.bg-cloud::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 999px;
}

.bg-cloud-1 { width: 280px; height: 90px; top: 12%; left: 5%; animation: driftCloud 15s linear infinite 2s; }
.bg-cloud-1::before { width: 140px; height: 110px; left: 40px; top: -50px; }
.bg-cloud-1::after  { width: 100px; height: 80px; right: 30px; top: -25px; }

.bg-cloud-2 { width: 200px; height: 70px; top: 38%; left: 30%; animation: driftCloud 10s linear infinite 3s; }
.bg-cloud-2::before { width: 100px; height: 85px; left: 28px; top: -38px; }
.bg-cloud-2::after  { width: 75px;  height: 60px; right: 22px; top: -18px; }

.bg-cloud-3 { width: 320px; height: 100px; top: 62%; left: 62%; animation: driftCloud 15s linear infinite 1s; }
.bg-cloud-3::before { width: 160px; height: 120px; left: 50px; top: -55px; }
.bg-cloud-3::after  { width: 110px; height: 90px; right: 35px; top: -28px; }

.bg-cloud-4 { width: 180px; height: 65px; top: 82%; left: 82%; animation: driftCloud 10s linear infinite 4s; }
.bg-cloud-4::before { width: 90px; height: 75px; left: 22px; top: -32px; }
.bg-cloud-4::after  { width: 65px; height: 55px; right: 18px; top: -15px; }

.bg-cloud-5 { width: 280px; height: 90px; top: 16%; left: 55%; animation: driftCloud 15s linear infinite 2s; }
.bg-cloud-5::before { width: 140px; height: 110px; left: 40px; top: -50px; }
.bg-cloud-5::after  { width: 100px; height: 80px; right: 30px; top: -25px; }

.bg-cloud-6 { width: 280px; height: 90px; top: 46%; left: -5%; animation: driftCloud 15s linear infinite 3s; }
.bg-cloud-6::before { width: 140px; height: 110px; left: 40px; top: -50px; }
.bg-cloud-6::after  { width: 100px; height: 80px; right: 30px; top: -25px; }

.bg-cloud-7 { width: 280px; height: 90px; top: 16%; left: -12%; animation: driftCloud 15s linear infinite 1s; }
.bg-cloud-7::before { width: 140px; height: 110px; left: 40px; top: -50px; }
.bg-cloud-7::after  { width: 100px; height: 80px; right: 30px; top: -25px; }

.bg-cloud-8 { width: 280px; height: 90px; top: 50%; left: 55%; animation: driftCloud 10s linear infinite 4s; }
.bg-cloud-8::before { width: 140px; height: 110px; left: 40px; top: -50px; }
.bg-cloud-8::after  { width: 100px; height: 80px; right: 30px; top: -25px; }

@keyframes driftCloud {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(100vw + 400px)); }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: "League Spartan", sans-serif;
}

.status-bar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 101;
  background: var(--brown);
  color: var(--cream);
  text-align: center;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.5rem 1rem;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  isolation: isolate;
}

.status-bar .pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cream);
  display: inline-block; flex-shrink: 0;
  animation: pulseGlow 1.8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 120;
  background: var(--cream);
  border-bottom: 1px solid rgba(117, 41, 0, 0.1);
}

.site-header-inner {
  width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}

.menu-toggle,
.nav-scrim {
  display: none;
}

.top-page-nav,
.site,
.footer {
  width: var(--content-width);
  margin: 0 auto;
  isolation: isolate;
  padding-top: 90px;
}

.top-page-nav {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  padding: 12px 0 10px;
  font-size: 1rem;
  border-bottom: 1px solid rgba(117, 41, 0, 0.1);
  isolation: isolate;
}

.top-page-nav a[aria-current="page"] {
  font-weight: 700;
  color: #223d5d;
}

.hero,
.sound-familiar,
.services,
.about,
.process,
.recent-work,
.contact {
  position: relative;
}

.hero {
  min-height: 510px;
  padding: 10px 0px 0;
}

.brand,
.brand-line,
.footer-brand p {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.brand-line,
.footer-brand p {
  font-size: clamp(2rem, 2.6vw, 2.8rem);
}

.brand span,
.brand-line span,
.footer-brand span {
  font-style: normal;
  font-size: 0.68em;
}

.hero-nav-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-nav {
  display: flex;
  gap: 20px;
  font-size: .9rem;
}

.hero-nav a {
  position: relative;
}

.hero-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 4px;
  background: var(--brown);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 45px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--brown);
  font-size: 1.02rem;
  box-shadow: var(--shadow);
}

.button-solid {
  background: var(--brown);
  color: var(--cream);
}

.button-solid-dark {
  background: var(--cream);
  color: var(--brown);
}

.button-outline-light {
  background: var(--cream);
  color: var(--brown);
}

.button-outline {
  background: var(--cream);
  color: var(--brown);
}

.button-outline-dark {
  background: var(--brown);
  color: var(--cream);
  border: 1px solid var(--cream);
}

.button-chat {
  min-width: 130px;
  min-height: 36px;
  font-size: .88rem;
}

.button-small-action {
  min-width: 108px;
  min-height: 42px;
  padding: 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: end;
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
}

.hero-image {
  width: min(100%, 476px);
  margin-top: 24px;
  margin-left: auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 56px 14px 92px 0;
  text-align: center;
}

.hero-copy h1 {
  margin: 0 auto;
  max-width: 540px;
  font-size: clamp(1.2rem, 3.7vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-shadow: -2px 2px 0 var(--cream);
}

.hero-actions,
.recent-actions {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
}

.logo-strip {
  overflow: hidden;
  padding: 25px 36px;
  background: var(--blue);
  border-top: 3px solid var(--brown);
  border-bottom: 3px solid var(--brown);
}

.logo-strip-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-strip img {
  flex: 0 0 calc(20% - 20px);
  max-height: 66px;
  width: 100%;
  object-fit: contain;
}

.sound-familiar {
  padding: 74px 0 0;
}

.section-script {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sound-familiar .section-script {
  padding-left: 96px;
}

.thought-layout {
  position: relative;
  min-height: 575px;
  margin-top: 12px;
}

.thought-cloud {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 24px 28px;
  color: var(--white);
  background: var(--brown);
  box-shadow: var(--shadow);
  text-align: center;
}

.thought-cloud::before,
.thought-cloud::after {
  content: "";
  position: absolute;
  background: var(--brown);
  border-radius: 999px;
}

.thought-cloud span {
  position: relative;
  z-index: 1;
  font-size: 1.16rem;
  line-height: 1.15;
  font-weight: 700;
}

.bubble-left {
  left: 40px;
  top: 177px;
  width: 280px;
  height: 288px;
  border-radius: 44% 44% 46% 46% / 43% 43% 47% 47%;
}

.bubble-middle {
  left: 255px;
  top: 52px;
  width: 330px;
  height: 290px;
  border-radius: 42% 42% 43% 43% / 42% 42% 48% 48%;
}

.bubble-right {
  right: 115px;
  top: 28px;
  width: 300px;
  height: 215px;
  border-radius: 43% 43% 45% 45% / 41% 41% 47% 47%;
}

.bubble-bottom {
  left: 294px;
  top: 326px;
  width: 220px;
  height: 198px;
  border-radius: 44% 44% 46% 46% / 42% 42% 47% 47%;
}

.thinking-image {
  position: absolute;
  right: -4px;
  bottom: 0px;
  width: 313px;
}

/* ── THOUGHT TRAIL – desktop (absolute positioning within absolute container) ── */
.thought-trail {
  position: absolute;
  right: 260px;
  top: 344px;
  width: 150px;
  height: 118px;
}

.thought-trail span {
  position: absolute;
  background: var(--brown);
  border-radius: 50%;
  box-shadow: 0 10px 14px rgba(117, 41, 0, 0.22);
}

.thought-trail span:nth-child(1) { width: 10px; height: 10px; right: -9px;  bottom: 52px; }
.thought-trail span:nth-child(2) { width: 14px; height: 14px; right: 24px;  bottom: 38px; }
.thought-trail span:nth-child(3) { width: 18px; height: 18px; right: 62px;  bottom: 42px; }
.thought-trail span:nth-child(4) { width: 22px; height: 22px; right: 82px;  bottom: 86px; }
.thought-trail span:nth-child(5) { width: 28px; height: 28px; right: 130px; bottom: 78px; }

.ticker {
  overflow: hidden;
  padding: 14px 0 12px;
  font-size: 1.05rem;
  border-top: 3px solid var(--brown);
  border-bottom: 3px solid var(--brown);
}

.ticker-light {
  background: var(--brown);
}

.ticker-blue {
  margin-top: 22px;
  background: var(--blue);
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  min-width: 200%;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  flex: 0 0 auto;
  padding-right: 38px;
}

.marquee-group { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.marquee-item {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cream); white-space: nowrap;
  padding: 0 2.5rem;
}
.marquee-item .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cream); box-shadow: 0 0 8px var(--shadow); flex-shrink: 0;
}
.marquee-group-blue { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.marquee-item-blue {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brown); white-space: nowrap;
  padding: 0 2.5rem;
}
.marquee-item-blue .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brown); box-shadow: 0 0 8px var(--shadow); flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.services {
  background: var(--blue);
  min-height: 659px;
  padding: 34px 32px 0;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 100%;
  margin: 28px 0 0;
  padding-right: 15px;
  padding-left: 15px;
}

.service-card {
  min-height: 336px;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 22px;
  border-radius: 22px;
  border: 3px solid var(--brown);
  box-shadow: var(--soft-shadow);
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.3vw, 2.2rem);
  text-align: center;
  font-weight: 500;
  line-height: 1.02;
}

.service-card h3::after {
  content: "";
  display: block;
  width: 162px;
  height: 4px;
  margin: 11px auto 0;
  background: currentColor;
}

.service-card ul {
  margin: 16px 0 0;
  padding-left: 32px;
  font-size: 0.98rem;
  line-height: 1.18;
}

.service-card li {
  margin-bottom: 14px;
}

.service-card-light {
  background: var(--cream);
  color: var(--brown);
}

.service-card-dark {
  background: var(--brown);
  color: var(--white);
}

.card-subtitle {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.card-button-row {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 10px;
}

.about {
  display: grid;
  grid-template-columns: 43% 57%;
  gap: 14px;
  align-items: end;
  padding: 50px 54px 0;
}

.about-copy {
  padding-bottom: 72px;
}

.about-title {
  margin-bottom: 14px;
}

.about-title span {
  display: inline-block;
  margin-right: 8px;
  font-style: normal;
  font-size: 0.7em;
}

.about-copy p {
  max-width: 356px;
  margin: 0 0 30px;
  font-size: 1.14rem;
  line-height: 1.16;
}

.about-copy > .button {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.about-visual {
  display: flex;
  justify-content: flex-end;
  align-items: end;
}

.about-image {
  width: min(100%, 512px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  min-height: 83px;
  background: var(--blue);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.stat {
  text-align: center;
  padding: 8px 10px;
}

.stat strong {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.8;
  font-style: italic;
  font-weight: 600;
}

.stat span {
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  line-height: 1.05;
}

.process {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 44px;
  padding: 64px 53px 0;
}

.process-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 28px;
  align-content: start;
  padding-top: 22px;
}

.gallery-card {
  width: 100%;
  object-fit: cover;
  border: 3px solid var(--brown);
  border-radius: 34px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: scale(1.06);
  box-shadow: 0 18px 30px rgba(117, 41, 0, 0.28);
}

.gallery-card-small {
  height: 224px;
}

.gallery-card-tall {
  height: 284px;
}

.gallery-card, .recent-card {
  cursor: zoom-in;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  width: min(92vw, 980px);
}

.lightbox img {
  max-width: 100%;
  max-height: calc(90vh - 4rem);
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

body.lightbox-open .status-bar,
body.lightbox-open .site-header {
  display: none;
}

.lightbox-close {
  position: static;
  z-index: 10000;
  min-width: auto;
  min-height: auto;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--cream);
  background: rgba(242, 235, 229, 0.12);
  color: var(--cream);
  box-shadow: none;
}

.process-copy {
  max-width: 442px;
}

.process-copy h2 {
  text-wrap: balance;
  text-align: center;
}

.process-copy ol {
  margin: 24px 0 0;
  padding-left: 30px;
}

.process-copy li {
  margin-bottom: 22px;
  font-size: 1.12rem;
  line-height: 1.14;
  padding-left: 10px;
  text-wrap: pretty;
}

.process-copy li::marker {
  font-weight: 700;
}

.process-button-row {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.pricing-note {
  max-width: 772px;
  margin-top: 24px;
  font-size: 0.95rem;
  line-height: 1.15;
  justify-content: center;
  text-wrap: pretty;
  padding-left: 60px;
}

.recent-work {
  padding: 62px 52px 55px;
}

.centered {
  text-align: center;
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 24px;
  margin-bottom: 15px;
}

.recent-card {
  width: 100%;
  height: 264px;
  object-fit: cover;
  border-radius: 28px;
  border: 3px solid var(--brown);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.recent-card:hover {
  transform: scale(1.06);
  box-shadow: 0 18px 30px rgba(117, 41, 0, 0.28);
}

.portfolio-page {
  padding-top: 118px;
}

.portfolio-hero {
  padding: 32px 0 40px;
}

.portfolio-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 64px;
  min-height: 430px;
}

.portfolio-hero-visual {
  display: flex;
  justify-content: center;
}

.portfolio-hero-frame {
  width: min(100%, 390px);
  padding: 14px;
  border: 14px solid var(--brown);
  border-radius: 30px;
  background: var(--brown);
  box-shadow: var(--soft-shadow);
}

.portfolio-hero-frame img {
  width: 100%;
  aspect-ratio: 1 / 0.88;
  object-fit: cover;
  
}

.portfolio-hero-copy {
  text-align: center;
}

.portfolio-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 4.55rem);
  line-height: 0.95;
  font-weight: 700;
}

.portfolio-hero-copy h1 em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 700;
}

.portfolio-hero-copy p {
  max-width: 550px;
  margin: 14px auto 0;
  font-size: 1.15rem;
  line-height: 1.16;
}

.portfolio-ticker {
  margin-top: 0;
}

.portfolio-featured {
  padding: 46px 0 68px;
}

.portfolio-featured .section-script {
  text-align: center;
  margin-bottom: 30px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 950px;
  margin: 0 auto;
}

.portfolio-card {
  padding: 12px 12px 16px;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.portfolio-card-blue {
  background: var(--blue);
  color: var(--brown);
}

.portfolio-card-brown {
  background: var(--brown);
  color: var(--cream);
}

.portfolio-card-image {
  width: 100%;
  height: 172px;
  object-fit: cover;
  border-radius: 16px;
  border-width: 0;
  box-shadow: none;
}

.portfolio-card:hover .portfolio-card-image {
  transform: none;
  box-shadow: none;
}

.portfolio-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 12px;
}

.portfolio-card-meta h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-style: italic;
  line-height: 0.95;
}

.portfolio-card-meta p,
.portfolio-card-meta span {
  margin: 0;
  font-size: 0.75rem;
  text-transform: lowercase;
}

.portfolio-card-meta span {
  padding-top: 4px;
  white-space: nowrap;
}

.portfolio-card-body {
  min-height: 72px;
  margin: 14px 0 0;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(255, 250, 245, 0.82);
  font-size: 0.96rem;
  line-height: 1.16;
  color: var(--brown);
}

.portfolio-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.portfolio-chip {
  padding: 5px 10px 4px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: lowercase;
}

.portfolio-quote {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin-inline: 0;
  padding: 72px 24px 70px;
  background: var(--blue);
  overflow: hidden;
  border-top: 3px solid var(--brown);
  border-bottom: 3px solid var(--brown);
  text-align: center;
}

.quote-clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.quote-cloud {
  position: absolute;
  width: 120px;
  height: 42px;
  background: rgba(242, 235, 229, 0.78);
  border-radius: 999px;
  animation: driftCloud 16s linear infinite;
}

.quote-cloud::before,
.quote-cloud::after {
  content: "";
  position: absolute;
  background: rgba(242, 235, 229, 0.78);
  border-radius: 999px;
}

.quote-cloud::before {
  width: 54px;
  height: 54px;
  left: 18px;
  top: -20px;
}

.quote-cloud::after {
  width: 42px;
  height: 42px;
  right: 16px;
  top: -10px;
}

.quote-cloud-1 { left: -130px; top: 20%; animation-duration: 18s; animation-delay: 0s; }
.quote-cloud-2 { left: -130px; top: 65%; animation-duration: 14s; animation-delay: 4s; }
.quote-cloud-3 { left: -130px; top: 40%; animation-duration: 20s; animation-delay: 8s; }
.quote-cloud-4 { left: -130px; top: 80%; animation-duration: 15s; animation-delay: 2s; }

.quote-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.quote-text {
  margin: 0;
  padding: 0 72px;
  font-size: 1.75rem;
  line-height: 1.18;
  font-weight: 500;
  color: var(--brown);
}

.quote-text em {
  font-style: normal;
  font-weight: 700;
}

.quote-mark {
  position: absolute;
  color: var(--brown);
  font-family: "Cormorant Garamond", serif;
  font-size: 7rem;
  line-height: 1;
  z-index: 1;
}

.quote-mark:first-of-type {
  left: -10px;
  top: -30px;
}

.quote-mark:last-of-type {
  right: -10px;
  bottom: -56px;
}


.portfolio-cta-section {
  padding: 52px 0 72px;
}

.portfolio-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 62px;
  max-width: 820px;
  margin: 0 auto;
}

.portfolio-cta-card {
  padding: 18px 18px 22px;
  border: 2px solid var(--brown);
  border-radius: 26px;
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.portfolio-cta-card-blue {
  background: var(--blue);
  color: var(--brown);
}

.portfolio-cta-card-brown {
  background: var(--brown);
  color: var(--cream);
}

.portfolio-cta-card .section-script {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
}

.portfolio-cta-card img {
  width: min(100%, 220px);
  margin: 10px auto 0;
}

.portfolio-cta-card p {
  max-width: 260px;
  margin: 8px auto 18px;
  font-size: 1.12rem;
  line-height: 1.15;
}

.button-compact {
  min-width: auto;
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.9rem;
  text-transform: lowercase;
}

.portfolio-footer {
  padding-top: 26px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
  padding: 20px 0 22px;
  border-top: 1px solid rgba(117, 41, 0, 0.18);
}

.footer-contact p,
.footer-nav a,
.socials a {
  margin: 0;
  font-size: 0.95rem;
}

.footer-contact p + p {
  margin-top: 7px;
}

.footer-brand {
  text-align: center;
}

.footer-brand p {
  margin: 0 0 6px;
  font-size: 1rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  font-size: 0.48rem;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: end;
  gap: 6px 24px;
}

/* ─────────────────────────────────────────
   MOBILE THOUGHT TRAIL – shared across all
   breakpoints below 920px
───────────────────────────────────────── */
@media (max-width: 920px) {
  .top-page-nav,
  .site,
  .footer {
    width: min(100vw - 18px, 936px);
  }

  .hero,
  .services,
  .about,
  .process,
  .recent-work {
    padding-left: 18px;
    padding-right: 18px;
  }

 

  .hero-actions,
  .recent-actions {
    flex-wrap: wrap;
  }
  
  .hero-image {
    width: 100%;
    margin: 0;
  }


  .sound-familiar {
    padding-top: 64px;
  }

  .sound-familiar .section-script {
    padding-left: 18px;
  }

  .service-cards {
    padding-right: 20px;
  }

  .thought-layout {
    display: grid;
    gap: 18px;
    min-height: auto;
    padding: 18px;
  }

  .thought-cloud,
  .thinking-image {
    position: static;
  }

  .thought-cloud {
    width: 100%;
    min-height: 170px;
  }

  .thinking-image {
    width: min(100%, 260px);
    margin-left: auto;
    margin-bottom: -18px;
  }

  /* Trail becomes a flex row of dots, no absolute positioning */
  .thought-trail {
    position: static;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 8px;
    width: 90px;
    height: 80px;
    margin: 0 110px 0 auto;
  }

  .thought-trail span {
    position: static;
    border-radius: 50%;
    background: var(--brown);
    box-shadow: 0 10px 14px rgba(117, 41, 0, 0.22);
    flex-shrink: 0;
  }

  .thought-trail span:nth-child(1) { width: 8px;  height: 8px; margin-bottom: -40px; margin-right: 55px; }
  .thought-trail span:nth-child(2) { width: 11px; height: 11px; margin-bottom: -20px; margin-right: 8px; }
  .thought-trail span:nth-child(3) { width: 14px; height: 14px; margin-bottom: 12px; margin-right: -30px; }
  .thought-trail span:nth-child(4) { width: 18px; height: 18px; margin-bottom: 38px; margin-right: -50px; }
  .thought-trail span:nth-child(5) { width: 22px; height: 22px; margin-bottom: 70px; }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-gallery {
    gap: 18px;
  }

  .gallery-card-small,
  .gallery-card-tall {
    height: 220px;
  }

  .contact {
    padding-top: 100px;
  }

  .contact-card,
  .form-divider {
    width: 100%;
  }

  .contact-form label {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer {
    padding: 18px 0 22px;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .portfolio-hero-grid,
  .portfolio-cta-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .portfolio-hero {
    padding-top: 12px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .portfolio-quote {
    padding: 54px 18px 58px;
  }

  .quote-text {
    font-size: 1.35rem;
    padding: 0 40px;
  }

  .quote-mark:first-of-type {
    left: 8px;
    top: -22px;
  }

  .quote-mark:last-of-type {
    right: 8px;
    bottom: -44px;
  }
}

@media (max-width: 680px) {
  .quote-text {
    padding: 0 24px;
  }

  .quote-mark {
    font-size: 5.5rem;
  }
}

@media (max-width: 820px) {
  body {
    overflow-x: hidden;
    font-size: 1.16rem;
  }

  .site,
  .footer {
    width: 100%;
    max-width: none;
    padding-top: 98px;
  }

  .site-header-inner {
    position: relative;
    gap: 16px;
    padding: 12px 0;
    width: calc(100vw - 24px);
  }

  .brand {
    max-width: calc(100% - 76px);
    font-size: 1.45rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(117, 41, 0, 0.28);
    border-radius: 50%;
    background: var(--cream);
    color: var(--brown);
    margin-left: auto;
    z-index: 112;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .hero-nav-wrap {
    position: fixed;
    top: 88px;
    right: 12px;
    left: 12px;
    z-index: 111;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 1.25rem;
    border: 1px solid rgba(117, 41, 0, 0.16);
    border-radius: 24px;
    background: var(--cream);
    box-shadow: 0 18px 48px rgba(117, 41, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .hero-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 1.15rem;
    font-weight: 600;
  }

  .button-chat {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
  }

  .nav-scrim {
    position: fixed;
    top: 88px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 119;
    background: rgba(68, 34, 12, 0.42);
    opacity: 0;
    transition: opacity 0.22s ease;
  }

  body.menu-open { overflow: hidden; }
  body.menu-open .hero-nav-wrap { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  body.menu-open .nav-scrim { display: block; opacity: 1; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .button {
    min-width: 156px;
    font-size: 1.12rem;
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  .hero-grid { gap: 18px; }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 10vw, 4.4rem);
    line-height: 0.96;
  }

  .hero-actions { gap: 14px; }

  .logo-strip { padding: 18px 0; }

  .logo-strip-track {
    width: max-content;
    gap: 30px;
    animation: logoMarquee 18s linear infinite;
  }

  .logo-strip img {
    flex: 0 0 118px;
    max-height: 52px;
  }

  .recent-actions { gap: 16px; }

  .section-script { font-size: clamp(3.2rem, 12vw, 4.45rem); }

  .thought-cloud span,
  .process-copy li,
  .about-copy p,
  .service-card ul,
  .pricing-note {
    font-size: 1.18rem;
    line-height: 1.24;
  }

  .hero-nav,
  .footer-contact p,
  .footer-nav a,
  .socials a,
  .card-subtitle,
  .stat span {
    font-size: 1rem;
  }

  .services {
    padding-top: 30px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 28px;
  }

  .service-card h3 { font-size: 2.1rem; }

  .card-button-row {
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
  }

  .button-small-action {
    min-width: 92px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .stats { gap: 0; }
  .stat strong { font-size: 2.6rem; }
  .stat span { font-size: 0.92rem; }

  .gallery-card-small,
  .gallery-card-tall,
  .recent-card {
    height: 190px;
  }

  .lightbox { padding: 1rem; }
  .lightbox-content { width: 100%; }
  .lightbox-close { font-size: 0.98rem; padding: 0.55rem 0.95rem; }
}

@media (max-width: 680px) {
  body {
    overflow-x: hidden;
    font-size: 1.16rem;
  }

  .site,
  .footer {
    width: 100%;
    max-width: none;
    padding-top: 98px;
  }

  .site-header-inner {
    position: relative;
    gap: 16px;
    padding: 12px 0;
    width: calc(100vw - 24px);
  }

  .brand {
    max-width: calc(100% - 76px);
    font-size: 1.45rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(117, 41, 0, 0.28);
    border-radius: 50%;
    background: var(--cream);
    color: var(--brown);
    margin-left: auto;
    z-index: 112;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .hero-nav-wrap {
    position: fixed;
    top: 88px;
    right: 12px;
    left: 12px;
    z-index: 111;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 1.25rem;
    border: 1px solid rgba(117, 41, 0, 0.16);
    border-radius: 24px;
    background: var(--cream);
    box-shadow: 0 18px 48px rgba(117, 41, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .hero-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 1.15rem;
    font-weight: 600;
  }

  .button-chat { width: 100%; min-height: 48px; font-size: 1rem; }

  .nav-scrim {
    position: fixed;
    top: 88px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 119;
    background: rgba(68, 34, 12, 0.42);
    opacity: 0;
    transition: opacity 0.22s ease;
  }

  body.menu-open { overflow: hidden; }
  body.menu-open .hero-nav-wrap { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  body.menu-open .nav-scrim { display: block; opacity: 1; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .button { min-width: 156px; font-size: 1.12rem; }
  .hero { min-height: auto; padding-top: 22px; }
  .hero-grid { gap: 18px; }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 10vw, 4.4rem);
    line-height: 0.96;
  }

  .hero-image {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .hero-copy {
    order: -1;
    padding: 12px 0 28px;
  }

  .hero-actions { gap: 14px; }
  .logo-strip { padding: 18px 0; }

  .logo-strip-track {
    width: max-content;
    gap: 30px;
    animation: logoMarquee 18s linear infinite;
  }

  .logo-strip img { flex: 0 0 118px; max-height: 52px; }
  .recent-actions { gap: 16px; }
  .section-script { font-size: clamp(3.2rem, 12vw, 4.45rem); }

  .portfolio-page {
    padding-top: 104px;
  }

  .portfolio-hero-grid {
    gap: 24px;
    min-height: auto;
  }

  .portfolio-hero-copy p {
    font-size: 1.2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .portfolio-card-image {
    height: 200px;
  }

  .portfolio-cta-section {
    padding-bottom: 56px;
  }

  .hero-grid,
  .service-cards,
  .about,
  .process,
  .recent-grid,
  .footer {
    grid-template-columns: 1fr;
  }
  
  .thought-cloud span,
  .process-copy li,
  .about-copy p,
  .service-card ul,
  .pricing-note {
    font-size: 1.18rem;
    line-height: 1.24;
  }

  .hero-nav,
  .footer-contact p,
  .footer-nav a,
  .socials a,
  .card-subtitle,
  .stat span {
    font-size: 1rem;
  }

  .services {
    padding-top: 30px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 28px;
  }

  .service-card h3 { font-size: 2.1rem; }

  .card-button-row {
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
  }

  .button-small-action {
    min-width: 92px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .stats { gap: 0; }
  .stat strong { font-size: 2.6rem; }
  .stat span { font-size: 0.92rem; }

  .gallery-card-small,
  .gallery-card-tall,
  .recent-card {
    height: 190px;
  }

  .lightbox { padding: 1rem; }
  .lightbox-content { width: 100%; }
  .lightbox-close { font-size: 0.98rem; padding: 0.55rem 0.95rem; }
}

@keyframes logoMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   PORTFOLIO PAGE — filter, sort, cards, quote, cta
   (transferred from portfolio2.html)
   ============================================= */

.portfolio-page {
  padding-top: 118px;
}

.portfolio-hero {
  padding: 32px 0 40px;
}

.portfolio-hero-inner {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 64px;
  min-height: 430px;
}

.portfolio-hero-image-wrap {
  display: flex;
  justify-content: center;
}

.portfolio-hero-image {
  width: min(100%, 390px);
  padding: 14px;
  border: 14px solid var(--brown);
  border-radius: 30px;
  background: rgba(255, 250, 245, 0.72);
  box-shadow: var(--soft-shadow);
}

.portfolio-hero-copy {
  text-align: center;
  color: var(--brown);
}

.portfolio-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 4.55rem);
  line-height: 0.95;
  font-weight: 700;
}

.portfolio-hero-copy h1 em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 700;
}

.portfolio-hero-copy p {
  max-width: 330px;
  margin: 14px auto 0;
  font-size: 1.15rem;
  line-height: 1.16;
}

/* ── Filter panel ── */
.portfolio-filter-wrap {
  padding: 8px 0 20px;
}

.filter-panel {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(170, 196, 231, 0.3);
  border: 1px solid rgba(117, 41, 0, 0.14);
  box-shadow: var(--soft-shadow);
}

.filter-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-sort-group,
.filter-tags-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-sort-label,
.filter-tags-label,
.filter-count {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(117, 41, 0, 0.68);
}

.filter-tags-label {
  margin-right: 6px;
}

.sort-btn,
.filter-tag-btn,
.card-tag {
  border-radius: 999px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.sort-btn,
.filter-tag-btn {
  border: 1px solid var(--brown);
  background: var(--cream);
  color: var(--brown);
  box-shadow: var(--shadow);
}

.sort-btn {
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 700;
}

.filter-tag-btn {
  padding: 5px 14px;
  font-size: 0.76rem;
  font-weight: 600;
}

.sort-btn.active,
.sort-btn:hover,
.filter-tag-btn.active,
.filter-tag-btn:hover,
.card-tag:hover,
.card-tag.active-tag {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}

.filter-clear-btn {
  background: none;
  border: none;
  color: rgba(117, 41, 0, 0.68);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 5px 8px;
  font-family: inherit;
}

.filter-count-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Portfolio grid & cards ── */
.portfolio-section {
  padding: 26px 0 68px;
}

.portfolio-section h2 {
  text-align: center;
  margin: 0 0 30px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.portfolio-card {
  padding: 12px 12px 16px;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:nth-child(odd) {
  background: var(--blue);
  color: var(--brown);
}

.portfolio-card:nth-child(even) {
  background: var(--brown);
  color: var(--cream);
}

.portfolio-card:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 30px rgba(117, 41, 0, 0.28);
}

.portfolio-card[hidden] {
  display: none;
}

.card-media {
  position: relative;
  width: 100%;
  height: 172px;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 16px;
  background: rgba(255, 250, 245, 0.4);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-cost-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 250, 245, 0.9);
  color: var(--brown);
  border: 1px solid rgba(117, 41, 0, 0.12);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 12px;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.card-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-style: italic;
  line-height: 0.95;
  color: currentColor;
}

.card-date,
.card-category {
  font-size: 0.75rem;
  margin: 0;
}

.card-category {
  display: block;
  margin-top: 6px;
  text-transform: lowercase;
  opacity: 0.9;
}

.card-date {
  white-space: nowrap;
  padding-top: 4px;
  opacity: 0.85;
}

.card-desc {
  min-height: 72px;
  margin: 14px 0 0;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(255, 250, 245, 0.82);
  font-size: 0.96rem;
  line-height: 1.16;
  color: var(--brown);
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.card-tag {
  padding: 5px 10px 4px;
  border: 1px solid currentColor;
  background: transparent;
  color: currentColor;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: lowercase;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  font-size: 1.1rem;
  color: var(--brown);
}



/* ── CTA cards ── */
.portfolio-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 62px;
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 0 72px;
}

.cta-card {
  padding: 18px 18px 22px;
  border: 2px solid var(--brown);
  border-radius: 26px;
  text-align: center;
  box-shadow: var(--soft-shadow);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(117, 41, 0, 0.25);
}

.cta-card-light {
  background: var(--blue);
  color: var(--brown);
}

.cta-card-dark {
  background: var(--brown);
  color: var(--cream);
}

.cta-card img {
  width: min(100%, 220px);
  height: auto;
  margin: 10px auto 0;
  object-fit: contain;
  border-radius: 0;
}

.cta-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 700;
}

.cta-card p {
  max-width: 260px;
  margin: 8px auto 18px;
  font-size: 1.12rem;
  line-height: 1.15;
}

.cta-card .button {
  min-width: auto;
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.9rem;
  text-transform: lowercase;
  margin-top: 0;
}

/* ── Portfolio responsive ── */
@media (max-width: 920px) {
  .portfolio-hero-inner,
  .portfolio-cta {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .portfolio-quote {
    padding: 54px 18px 58px;
  }

  .quote-text {
    font-size: 1.35rem;
  }

  .quote-mark:first-of-type {
    left: 8px;
    top: -22px;
  }

  .quote-mark:last-of-type {
    right: 8px;
    bottom: -44px;
  }
}

@media (max-width: 680px) {
  .portfolio-page {
    padding-top: 104px;
  }

  .portfolio-hero {
    padding-top: 12px;
  }

  .portfolio-hero-inner {
    gap: 24px;
    min-height: auto;
  }

  .portfolio-hero-image {
    max-width: 390px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .card-media {
    height: auto;
    aspect-ratio: 3/4;
  }

  .filter-panel,
  .portfolio-section,
  .portfolio-cta {
    margin-left: 18px;
    margin-right: 18px;
  }

  .filter-top-row {
    flex-direction: column;
    gap: 14px;
  }
}


/* ════════════════════════════════════════
   SERVICES PAGE
   ════════════════════════════════════════ */

/* ── Page shell ── */
.services-page { display:flex; flex-direction:column; gap:0; padding-bottom:0; }

/* ── Hero ── */
.services-hero { min-height:auto; padding-bottom:0; }
.services-hero .hero-copy { padding:70px 0 48px; max-width:700px; margin:0 auto; }
.eyebrow {
  display:inline-block; margin-bottom:16px; padding:9px 18px 7px; border-radius:999px;
  background:rgba(170,196,231,.58); border:1px solid rgba(117,41,0,.18);
  font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
}

/* ── Section wrappers ── */
.svc-section { padding:64px 0; }
.svc-inner   { width:var(--content-width); margin:0 auto; padding-left:20px; padding-right:20px; }
.svc-cream   { background:rgba(242,235,229,0.9); }
.svc-blue    { background:rgba(170,196,231,0.88); }
.svc-brown   { background:var(--brown); color:var(--cream); }

.section-label {
  margin:0 0 6px; font-size:.74rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; opacity:.55;
}

/* ── Service rows — 65 / 35 split ── */
.service-row {
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:40px; align-items:stretch;
  padding:52px 0; border-bottom:1px solid var(--brown);
}
.service-row:first-of-type { padding-top:0; }
.service-row:last-child    { border-bottom:none; padding-bottom:0; }

.service-row.flip { grid-template-columns: 1fr 2fr; }

/* Prevent grid blowout — let fr units control width */
.service-prompt { display:flex; flex-direction:column; min-width:0; }
.card-gallery   { position:relative; min-width:0; display:flex; flex-direction:column; }
.card-track-wrap { overflow:hidden; border-radius:22px; box-shadow:var(--soft-shadow); flex:1; min-height:0; }

.service-prompt .svc-tag {
  align-self:flex-start; margin-bottom:14px; padding:6px 13px 5px;
  border-radius:999px; background:rgba(170,196,231,.55);
  font-size:.76rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--brown);
}
.service-prompt h3 {
  margin:0; font-size:clamp(1.65rem,2.6vw,2.3rem);
  line-height:1.03; font-weight:800; letter-spacing:-.03em;
}
.service-kicker { margin:10px 0 0; font-size:.97rem; line-height:1.2; opacity:.7; font-weight:600; }
.service-prompt .svc-actions { margin-top:26px; }

/* ── Card gallery ── */
.card-track { display:flex; transition:transform .38s cubic-bezier(.4,0,.2,1); }
.slide-card {
  flex:0 0 100%; padding:28px 28px 26px; box-sizing:border-box;
  border-radius:22px; min-height:240px; display:flex; flex-direction:column; gap:10px;
}
.sc-cream { background:var(--white); border:2px solid rgba(117,41,0,.12); color:var(--brown); }
.sc-blue  { background:rgba(170,196,231,.42); border:2px solid rgba(117,41,0,.1); color:var(--brown); }
.slide-card-title { margin:0; font-size:1.3rem; font-weight:800; line-height:1.05; }
.slide-card-desc  { margin:0; font-size:.96rem; line-height:1.28; opacity:.82; flex:1; }

.gallery-nav { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:14px; }
.gallery-btn {
  width:36px; height:36px; border-radius:50%; border:2px solid var(--brown);
  background:var(--cream); color:var(--brown); font-size:1rem; cursor:pointer;
  display:grid; place-items:center; transition:background .18s,color .18s;
  flex-shrink:0; font-family:inherit; line-height:1;
}
.gallery-btn:hover:not(:disabled) { background:var(--brown); color:var(--cream); }
.gallery-btn:disabled { opacity:.22; cursor:default; }
.gallery-dots { display:flex; gap:7px; align-items:center; }
.gallery-dot {
  width:7px; height:7px; border-radius:50%; background:rgba(117,41,0,.22);
  border:none; cursor:pointer; padding:0; flex-shrink:0;
  transition:background .2s,transform .2s;
}
.gallery-dot.active { background:var(--brown); transform:scale(1.35); }

/* ── Service Accordion ── */
.svc-accordion {
  display:flex; flex-direction:column; gap:0;
  min-width:0; align-self:stretch;
  border:2px solid rgba(117,41,0,.6);
  border-radius:14px;
  overflow:hidden;
  background:var(--brown);
}
.svc-acc-item {
  border-bottom:1px solid rgba(242,235,229,.18);
  transition:background .2s;
}
.svc-acc-item:last-child { border-bottom:none; }
.svc-acc-item.open { background:rgba(242,235,229,.1); }
.svc-acc-trigger {
  width:100%; background:none; border:none; padding:13px 16px;
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  font-family:inherit; font-size:.97rem; font-weight:800;
  color:var(--cream); cursor:pointer; text-align:left; line-height:1.15;
}
.svc-acc-trigger:hover { background:rgba(242,235,229,.1); }
.svc-acc-icon {
  font-size:1rem; flex-shrink:0; line-height:1; color:var(--blue);
  display:inline-flex; align-items:center;
  transition:transform .3s cubic-bezier(.4,0,.2,1);
}
.svc-acc-item.open .svc-acc-icon { transform:rotate(180deg); }
.svc-acc-body {
  display:grid; grid-template-rows:0fr;
  transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1);
}
.svc-acc-item.open .svc-acc-body { grid-template-rows:1fr; }
.svc-acc-body-inner {
  overflow:hidden; padding:0 16px 0;
  font-size:.91rem; line-height:1.4; color:var(--cream); opacity:1;
  transition:padding .3s cubic-bezier(.4,0,.2,1);
}
.svc-acc-item.open .svc-acc-body-inner { padding:0 16px 13px; }

/* ── Why hire me ── */
.why-section { position:relative; background:rgba(242,235,229,0.9); }
.why-sticky-panel {
  position:sticky; top:94px; z-index:2;
  min-height:calc(100vh - 94px);
  display:flex; flex-direction:column;
}
.why-inner {
  flex:1; width:var(--content-width); margin:0 auto; padding:48px 20px 0;
  display:flex; flex-direction:column; align-items:center;
}
.why-header { text-align:center; margin-bottom:36px; flex-shrink:0; }
.why-scene {
  flex:1; width:100%; display:flex; flex-direction:column; align-items:center;
}
.why-stack-wrap { flex-shrink:0; z-index:2; }
.why-stack {
  position:relative;
  width:min(520px,72vw);
  height:220px;
}
.why-card {
  position:absolute; inset:0;
  border:2px solid var(--brown); border-radius:24px;
  padding:24px 28px; background:var(--brown); color:var(--cream);
  box-shadow:var(--soft-shadow);
  will-change:transform,opacity;
}
.why-card h3 { margin:0; font-size:1.25rem; line-height:1.1; font-weight:800; }
.why-card p  { margin:12px 0 0; font-size:1rem; line-height:1.35; opacity:.9; }
.why-image-col {
  flex:1; width:100%; display:flex; align-items:flex-end; justify-content:center;
  pointer-events:none; z-index:1;
}
.why-image-col img {
  height:clamp(320px,45vh,540px); width:auto; max-width:380px; display:block;
  object-fit:contain; object-position:bottom;
}
.why-scroll-spacer { height:800px; }

/* ── Not sure where to start ── */
.start-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:28px;
}
.start-card {
  border-radius:22px; padding:24px;
  background:rgba(242,235,229,.86); border:2px solid var(--brown);
  color:var(--brown); display:flex; flex-direction:column; gap:14px;
}
.start-card h3 { margin:0; font-size:1.4rem; line-height:1; }
.start-card p  { margin:0; font-size:.95rem; line-height:1.26; flex:1; }

/* ── Marquee — services brown bar ── */
.svc-marquee-bar {
  background:var(--brown); overflow:hidden; padding:13px 0;
  border-top:2px solid rgba(242,235,229,.15);
  border-bottom:2px solid rgba(242,235,229,.15);
}
.svc-marquee-bar .marquee-track { animation:marquee 34s linear infinite; }
.svc-marquee-bar .marquee-item  { color:var(--cream); }
/* Fix: ensure dots stay perfectly circular, no inherited size distortion */
.svc-marquee-bar .marquee-item .dot {
  display:inline-block;
  width:6px; height:6px; border-radius:50%;
  background:var(--cream) !important;
  flex-shrink:0; flex-grow:0;
  padding:0; margin:0;
}

/* ── Ongoing support copy ── */
.support-lead { font-size:1.05rem; line-height:1.35; font-weight:600; margin:0 0 14px; max-width:600px; }
.support-body { font-size:.97rem; line-height:1.4; opacity:.82; margin:0 0 12px; max-width:640px; }
.support-included { margin:20px 0 0; padding:18px 20px; border-radius:18px; background:rgba(117,41,0,.06); border:1px solid var(--brown); max-width:640px; }
.support-included-label { margin:0 0 10px; font-size:.82rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; opacity:.6; }
.support-list { margin:0; padding-left:20px; display:flex; flex-direction:column; gap:7px; }
.support-list li { font-size:.95rem; line-height:1.3; }
.support-list em { font-style:normal; opacity:.7; }

/* ── Support plan pricing toggle ── */
.pricing-toggle {
  display:flex; align-items:center; justify-content:center; gap:14px; margin:22px 0 30px;
}
.toggle-label { font-size:.95rem; font-weight:700; }
.toggle-track {
  width:54px; height:28px; border-radius:999px; background:var(--brown);
  position:relative; cursor:pointer; border:none; padding:0; transition:background .2s;
}
.toggle-thumb {
  position:absolute; top:3px; left:3px; width:22px; height:22px;
  border-radius:50%; background:var(--cream); transition:transform .22s ease;
}
.toggle-track.yearly .toggle-thumb { transform:translateX(26px); }
.savings-pill {
  background:var(--blue); border:2px solid var(--brown); border-radius:999px;
  padding:5px 14px; font-size:.82rem; font-weight:800; opacity:.3; transition:opacity .3s;
}
.savings-pill.show { opacity:1; }

.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.pricing-card {
  border-radius:26px; padding:28px 24px 26px;
  border:2px solid var(--brown); background:var(--cream);
  display:flex; flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease;
}
.pricing-card:hover { transform:translateY(-5px); box-shadow:0 20px 42px rgba(117,41,0,.2); }
.pricing-card.featured { background:var(--brown); color:var(--cream); }
.pricing-card h3 { margin:0; font-size:1.55rem; font-weight:800; }
.price-row    { display:flex; align-items:baseline; gap:3px; margin:10px 0 0; }
.price-num    { font-size:2.5rem; font-weight:800; line-height:1; }
.price-mo     { font-size:.88rem; opacity:.65; }
.price-annual-note { font-size:.82rem; opacity:.6; margin:4px 0 0; min-height:1.15em; }
.price-annual-note:not(:empty) {
  display:inline-block;
  background:var(--blue); color:var(--brown);
  border-radius:999px; padding:4px 12px;
  font-size:.76rem; font-weight:700; opacity:1;
}
.p-divider    { height:1px; background:var(--brown); margin:16px 0; }
.pricing-card.featured .p-divider { background:rgba(242,235,229,.22); }
.p-feature    { display:flex; gap:9px; font-size:.93rem; line-height:1.2; margin-bottom:10px; }
.p-check      { flex-shrink:0; margin-top:1px; }
.p-tag        { margin-top:auto; padding-top:14px; font-size:.84rem; font-weight:700; opacity:.65; font-style:italic; }

/* ── Project pricing — centered text only ── */
.project-pricing-centered { max-width:620px; margin:0 auto; text-align:center; }
.project-pricing-centered p { font-size:1rem; line-height:1.4; opacity:.82; margin:14px 0 0; }
.project-pricing-centered p + p { margin-top:12px; }
.min-invest-pill {
  display:inline-block; margin-top:22px;
  background:var(--brown); color:var(--cream);
  border-radius:999px; padding:12px 28px;
  font-size:1rem; font-weight:700;
}
.min-invest-pill strong { font-size:1.15rem; }

/* ── Services recent work (scoped so it doesn't clash with .recent-grid elsewhere) ── */
.svc-recent-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:22px;
}
.rc-link {
  display:block; border-radius:20px; overflow:hidden;
  border:2px solid var(--brown); box-shadow:var(--soft-shadow);
  text-decoration:none; color:var(--brown);
  transition:transform .22s ease, box-shadow .22s ease;
}
.rc-link:hover { transform:scale(1.03); box-shadow:0 18px 36px rgba(117,41,0,.2); }
.rc-link img  { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; }
.rc-link span { display:block; padding:11px 14px; font-size:.95rem; font-weight:700; background:var(--white); }

/* ── Process steps ── */
.process-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:30px 0 34px; }
.p-step {
  border-radius:22px; padding:24px;
  background:rgba(242,235,229,.86); border:2px solid var(--brown);
}
.step-num {
  font-size:2.4rem; font-weight:800; line-height:1;
  font-family:"Cormorant Garamond",serif; font-style:italic;
  color:var(--brown); margin-bottom:10px;
}
.p-step h3 { margin:0; font-size:1.1rem; line-height:1.1; color:var(--brown); }
.p-step p  { margin:7px 0 0; font-size:.93rem; line-height:1.24; color:var(--brown); opacity:.78; }

/* ── FAQ accordion ── */
.faq-list  { list-style:none; margin:24px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; }
.faq-item  { border:2px solid var(--brown); border-radius:18px; overflow:hidden; background:rgba(242,235,229,.88); }
.faq-trigger {
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  width:100%; padding:18px 20px; background:none; border:none;
  color:var(--brown); font-family:inherit; font-size:1rem; font-weight:700;
  text-align:left; cursor:pointer; line-height:1.2;
}
.faq-trigger:hover { background:rgba(117,41,0,.05); }
.faq-icon {
  flex-shrink:0; width:28px; height:28px; border-radius:50%;
  background:var(--brown); color:var(--cream);
  display:grid; place-items:center; font-size:1.1rem; line-height:1;
  transition:transform .22s ease;
}
.faq-trigger[aria-expanded="true"] .faq-icon { transform:rotate(45deg); }
.faq-body  { display:none; padding:0 20px 18px; font-size:.97rem; line-height:1.32; color:var(--brown); }
.faq-item.open .faq-body { display:block; }

/* ── Final CTA ── */
.svc-cta-wrap { text-align:center; }
.svc-cta-wrap p { max-width:500px; margin:14px auto 0; font-size:1rem; line-height:1.26; }
.svc-cta-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:22px; }

/* ── Services responsive ── */
@media (max-width: 980px) {
  .service-row,
  .service-row.flip { grid-template-columns:1fr; gap:26px; }
  /* On mobile keep order: prompt → buttons → gallery (never swap sides) */
  .service-row.flip .svc-accordion { order:1; }
  .why-sticky-panel { top:88px; min-height:calc(100vh - 88px); }
  .why-stack { width:min(480px,90vw); }
  .pricing-split { grid-template-columns:1fr; }
  .pricing-split-image { min-height:280px; }
  .pricing-split-text { padding-bottom:0; }
  .start-grid    { grid-template-columns:1fr; }
  .pricing-grid  { grid-template-columns:1fr; }
  .process-steps { grid-template-columns:1fr; }
  .svc-recent-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 760px) {
  .svc-section { padding:44px 0; }
  .svc-inner   { padding-left:18px; padding-right:18px; }
  .svc-recent-grid { grid-template-columns:1fr; }
  .section-script { font-size:clamp(2.4rem,13vw,3.3rem) !important; }
}

/* ── Pricing split layout (text left, image right) ── */
.pricing-section-flush { padding-bottom:0 !important; }
.pricing-split {
  display:grid; grid-template-columns:1fr 320px;
  gap:48px; align-items:stretch;
}
.pricing-split-text { display:flex; flex-direction:column; padding-bottom:64px; }
.pricing-split-text p { font-size:1rem; line-height:1.4; opacity:.82; margin:12px 0 0; }
.pricing-cta-btn { display:inline-flex; margin-top:28px; align-self:flex-start; }
.pricing-split-image {
  display:flex; align-items:flex-end; justify-content:center;
  align-self:stretch;
}
.pricing-split-image img {
  width:100%; max-width:300px; object-fit:contain; object-position:bottom;
  display:block;
}

/* ── Sprint card meta lines ── */
.sprint-meta {
  margin:0 0 10px; font-size:.93rem; line-height:1.3; color:var(--brown);
}
.sprint-meta:last-of-type { margin-bottom:0; }
.sprint-label {
  display:inline-block; font-weight:800; margin-right:5px;
}

/* ── Pricing card single button ── */
.pricing-card-actions {
  display:flex; justify-content:center;
  margin-top:18px;
}

/* ── Coming soon button ── */
.svc-coming-soon {
  opacity:.55; cursor:default; pointer-events:none;
}

/* ── Vertical process steps ── */
.process-vertical {
  display:flex; flex-direction:column;
  align-items:center; gap:0;
  margin:36px auto 36px; max-width:520px;
  text-align:left;
}
.p-step-v {
  display:grid; grid-template-columns:48px 2px 1fr;
  gap:0 20px; width:100%;
}
.p-step-v.last { grid-template-columns:48px 1fr; gap:0 20px; }
.p-step-num {
  width:48px; height:48px; border-radius:50%;
  background:var(--brown); color:var(--cream);
  display:grid; place-items:center;
  font-size:1.3rem; font-weight:800; flex-shrink:0;
  font-family:"Cormorant Garamond",serif; font-style:italic;
  grid-row: 1;
}
.p-step-line {
  width:2px; background:var(--brown);
  min-height:60px; margin:0 auto;
  grid-column:2; grid-row:1/3;
}
.p-step-body {
  padding:8px 0 32px;
  grid-column:3; grid-row:1;
}
.p-step-v.last .p-step-body {
  grid-column:2; padding-bottom:0;
}
.p-step-body h3 { margin:0; font-size:1.1rem; line-height:1.15; color:var(--brown); font-weight:800; }
.p-step-body p  { margin:6px 0 0; font-size:.93rem; line-height:1.28; color:var(--brown); opacity:.75; }

