/* Marketing-site-specific layout & components.
   Tokens and base type live in /colors_and_type.css */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ============== SCROLL PROGRESS ============== */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: calc(var(--z-nav) + 1);
  pointer-events: none;
  background: rgba(31, 26, 20, 0.04);
}
.scroll-progress span {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--rg-clay-500), var(--rg-turq-500));
  transform-origin: 0 50%; transform: scaleX(0);
  transition: transform 80ms linear;
}

/* ============== CURSOR BLOB ============== */
.cursor-blob {
  position: fixed; top: 0; left: 0; width: 36px; height: 36px;
  border-radius: 50%; pointer-events: none; z-index: 9999;
  background: radial-gradient(circle, rgba(166, 85, 64, 0.34), rgba(166, 85, 64, 0) 65%);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 200ms var(--ease-soft), width 240ms var(--ease-soft), height 240ms var(--ease-soft), background 240ms var(--ease-soft);
}
.cursor-blob.on { opacity: 1; }
.cursor-blob.hot {
  width: 72px; height: 72px;
  background: radial-gradient(circle, rgba(45, 95, 88, 0.32), rgba(45, 95, 88, 0) 65%);
}
@media (pointer: coarse) { .cursor-blob { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .cursor-blob { display: none !important; } }

.page-bg {
  min-height: 100vh;
  background: var(--rg-bg);
  position: relative;
  overflow-x: hidden;
}

/* Page-change cross-fade */
.page-fade {
  animation: pageIn 520ms var(--ease-soft) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal — stays hidden until .is-visible is added by the IO hook */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms var(--ease-soft),
    transform 700ms var(--ease-soft);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger: each direct child of .reveal-stagger gets a successive delay */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 620ms var(--ease-soft),
    transform 620ms var(--ease-soft);
  will-change: opacity, transform;
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > *, .page-fade,
  .work-card, .work-card .img,
  .service-card, .nav-cta, .btn,
  .marquee-track, .hero-photo img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Subtle paper grain — SVG noise as base64 */
.page-bg::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.7  0 0 0 0 0.55  0 0 0 0 0.42  0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.45'/></svg>");
  opacity: 0.06;
  mix-blend-mode: multiply;
}

/* ============== NAV ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  transition: background var(--dur-base) var(--ease-soft), backdrop-filter var(--dur-base), box-shadow var(--dur-base);
}
.nav.scrolled {
  background: rgba(241, 236, 226, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(31,26,20,0.06);
}
.nav-brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav-brand img { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  font-size: 14.5px; font-weight: 500; color: var(--rg-fg-soft);
  padding: 8px 14px; border-radius: var(--r-pill); cursor: pointer;
  transition: color var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft);
  text-decoration: none;
}
.nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
  background: var(--rg-clay-500); border-radius: 2px;
  transform-origin: 0 50%; transform: scaleX(0);
  transition: transform 420ms var(--ease-soft);
}
.nav-link:hover { color: var(--rg-fg); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--rg-fg); }
.nav-link.active::after { transform: scaleX(1); background: var(--rg-charcoal); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: var(--rg-charcoal); color: #fff;
  border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all var(--dur-base) var(--ease-soft);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.nav-cta svg { width: 14px; height: 14px; transition: transform var(--dur-base) var(--ease-soft); }
.nav-cta:hover svg { transform: translate(2px, -2px); }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--rg-fg);
  border-radius: var(--r-pill); cursor: pointer;
  margin-left: 4px;
  transition: background var(--dur-fast) var(--ease-soft);
}
.nav-toggle:hover { background: rgba(31,26,20,0.06); }

/* Mobile drawer */
.nav-drawer {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(241, 236, 226, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0; pointer-events: none;
  transition: opacity 320ms var(--ease-soft);
}
.nav-drawer.open { opacity: 1; pointer-events: auto; }
.nav-drawer-inner {
  position: absolute; left: 0; right: 0; top: 0;
  padding: 96px clamp(20px, 6vw, 48px) 48px;
  display: flex; flex-direction: column; gap: 32px;
  transform: translateY(-12px);
  transition: transform 380ms var(--ease-soft);
}
.nav-drawer.open .nav-drawer-inner { transform: translateY(0); }
.nav-drawer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.nav-drawer-links a {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 600; letter-spacing: -0.025em;
  color: var(--rg-fg); text-decoration: none;
  padding: 8px 0; cursor: pointer;
  transition: color var(--dur-fast) var(--ease-soft), transform var(--dur-base) var(--ease-soft);
}
.nav-drawer-links a:hover,
.nav-drawer-links a.active { color: var(--rg-clay-700); }
.nav-drawer-links a.active { transform: translateX(6px); }
.nav-drawer-cta {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--rg-charcoal); color: var(--rg-cream-100);
  border-radius: var(--r-pill); font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.nav-drawer-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
@media (prefers-reduced-motion: reduce) {
  .nav-drawer, .nav-drawer-inner { transition: none !important; transform: none !important; }
}

/* ============== SHARED ============== */
.section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative; z-index: 2;
}
.container {
  max-width: var(--content-max);
  margin: 0 auto;
}
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  border: 0; cursor: pointer; border-radius: var(--r-md);
  padding: 14px 24px; text-decoration: none;
  overflow: hidden;
  transition:
    transform var(--dur-base) var(--ease-soft),
    box-shadow var(--dur-base) var(--ease-soft),
    background var(--dur-base) var(--ease-soft);
}
.btn .btn-inner { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; }
.btn svg { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-soft); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-primary { background: var(--rg-charcoal); color: var(--rg-cream-100); box-shadow: var(--shadow-sm); }
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--rg-clay-500) 0%, var(--rg-clay-700) 100%);
  transform: translateY(101%); transition: transform 380ms var(--ease-soft);
  z-index: 1;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:hover::before { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--rg-fg); box-shadow: inset 0 0 0 1px var(--rg-line-strong); }
.btn-secondary:hover { background: var(--rg-sand-100); transform: translateY(-1px); }

/* Magnetic — uses CSS vars set by JS pointermove */
.btn-magnetic {
  --mx: 0px; --my: 0px;
  transform: translate(var(--mx), var(--my));
  transition: transform 220ms cubic-bezier(0.25, 1, 0.4, 1), box-shadow var(--dur-base) var(--ease-soft);
}
.btn-magnetic:hover { transform: translate(var(--mx), calc(var(--my) - 2px)); }
@media (pointer: coarse) { .btn-magnetic { transform: none !important; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rg-clay-700);
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--rg-clay-500); }

/* ============== HERO ============== */
.hero {
  padding-top: 140px; padding-bottom: var(--section-pad-y);
  position: relative;
}
.hero::after {
  content: ''; position: absolute; top: 0; right: -10%; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(166,85,64,0.22), rgba(166,85,64,0) 70%);
  pointer-events: none; z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px;
  align-items: end; position: relative; z-index: 2;
  max-width: var(--content-max); margin: 0 auto;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 600;
  margin: 24px 0 28px;
  color: var(--rg-fg);
}
.hero h1 em {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--rg-clay-500);
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 18px; line-height: 1.6; color: var(--rg-fg-soft);
  max-width: 460px; margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image {
  border-radius: var(--r-3xl); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, #D08D75 0%, #A65540 50%, #4E2218 100%);
  background-size: cover; background-position: center;
  transform: translateY(-32px) rotate(-1.2deg);
}
.hero-photo {
  position: relative;
  border-radius: var(--r-3xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  transform: translateY(-32px) rotate(-1.2deg);
  isolation: isolate;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.06);
  animation: kenburns 18s var(--ease-in-out) infinite alternate;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31,26,20,0) 55%, rgba(78,34,24,0.28) 100%),
    linear-gradient(35deg, rgba(166,85,64,0.26) 0%, rgba(166,85,64,0) 45%);
  pointer-events: none;
}
.hero-photo .stamp {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(241, 236, 226, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rg-clay-700);
}
.hero-photo .stamp::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--rg-turq-500);
  box-shadow: 0 0 0 4px rgba(45,95,88,0.22);
}
@keyframes kenburns {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -1%); }
}
.hero-meta {
  display: flex; gap: 32px; margin-top: 56px;
  padding-top: 24px; border-top: 1px solid var(--rg-line);
  max-width: var(--content-max); margin-left: auto; margin-right: auto;
  position: relative; z-index: 2;
}
.hero-meta .stat .num {
  font-size: 32px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--rg-fg);
}
.hero-meta .stat .num em {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--rg-clay-500);
}
.hero-meta .stat .lbl {
  font-size: 13px; color: var(--rg-fg-muted);
}

/* ============== MARQUEE / CLIENTS ============== */
.clients {
  padding: 28px 0;
  border-top: 1px solid var(--rg-line);
  border-bottom: 1px solid var(--rg-line);
  background: var(--rg-cream-100);
  overflow: hidden;
  position: relative;
}
.clients::before, .clients::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.clients::before { left: 0; background: linear-gradient(90deg, var(--rg-cream-100), rgba(251,249,244,0)); }
.clients::after  { right: 0; background: linear-gradient(270deg, var(--rg-cream-100), rgba(251,249,244,0)); }
.marquee {
  display: flex; width: max-content;
  animation: marquee 38s linear infinite;
}
.clients:hover .marquee { animation-play-state: paused; }
.marquee-group {
  display: flex; align-items: center; gap: 56px;
  padding-right: 56px;
}
.marquee-group span {
  font-family: var(--font-display); font-style: italic; font-size: 22px;
  color: var(--rg-ink-500); letter-spacing: -0.01em; white-space: nowrap;
}
.marquee-group .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--rg-clay-300); flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============== WORK GRID ============== */
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 56px; gap: 32px;
}
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 56px); line-height: 1.05;
  letter-spacing: -0.025em; font-weight: 600; margin: 12px 0 0;
  max-width: 600px;
}
.section-head h2 em {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--rg-clay-500);
}
.work-grid {
  display: grid; grid-template-columns: 7fr 5fr; gap: 32px;
}
.work-grid .row { display: contents; }
.work-card {
  background: var(--rg-bg-card); border-radius: var(--r-2xl); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 600ms var(--ease-soft),
    box-shadow 600ms var(--ease-soft);
  cursor: pointer; display: flex; flex-direction: column;
  isolation: isolate;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-card .img {
  aspect-ratio: 4/3; background-size: cover; background-position: center;
  transition: transform 900ms var(--ease-soft), filter 600ms var(--ease-soft);
  filter: saturate(0.96);
}
.work-card:hover .img { transform: scale(1.045); filter: saturate(1.05); }
.work-card.tall .img { aspect-ratio: 4/5.4; }
.work-card .body {
  padding: 24px 28px 28px;
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
}
.work-card .title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 4px 0 6px; }
.work-card .meta { font-size: 13px; color: var(--rg-fg-muted); }
.work-card .arrow {
  width: 44px; height: 44px; border-radius: 50%; background: var(--rg-cream-300);
  color: var(--rg-fg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition:
    background var(--dur-base) var(--ease-soft),
    color var(--dur-base) var(--ease-soft),
    transform var(--dur-base) var(--ease-soft);
}
.work-card:hover .arrow {
  background: var(--rg-clay-500); color: var(--rg-cream-100);
  transform: rotate(-12deg);
}
.work-card .arrow svg { width: 18px; height: 18px; }

/* ============== SERVICES ============== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: #fff; border-radius: var(--r-xl); padding: 32px 32px 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-soft);
  display: flex; flex-direction: column; gap: 16px;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card .ico {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--rg-clay-100); color: var(--rg-clay-700);
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
  transition: transform var(--dur-base) var(--ease-soft);
}
.service-card:hover .ico { transform: rotate(-6deg) scale(1.04); }
.service-card.t .ico { background: var(--rg-turq-100); color: var(--rg-turq-700); }
.service-card.y .ico { background: var(--rg-yellow-100); color: var(--rg-yellow-700); }
.service-card.s .ico { background: var(--rg-sage-100); color: var(--rg-sage-700); }
.service-card .ico svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.service-card p { font-size: 15px; color: var(--rg-fg-soft); line-height: 1.6; margin: 0; }
.service-card .price {
  font-size: 13px; color: var(--rg-fg-muted); padding-top: 16px;
  border-top: 1px solid var(--rg-line); margin-top: auto;
}

/* ============== PROCESS ============== */
.process { background: var(--rg-sand-100); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px;
}
.process-step {
  display: flex; flex-direction: column; gap: 12px;
}
.process-step .num {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 64px; color: var(--rg-clay-500); line-height: 1;
}
.process-step h4 { font-size: 19px; font-weight: 600; margin: 0; }
.process-step p { font-size: 14px; color: var(--rg-fg-soft); line-height: 1.55; margin: 0; }

/* ============== TESTIMONIAL ============== */
.testimonial {
  background: var(--rg-charcoal); color: var(--rg-cream-100);
  border-radius: var(--r-3xl); padding: 64px clamp(32px, 5vw, 80px);
  display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: center;
}
.testimonial .quote {
  font-size: clamp(24px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -0.015em;
  font-weight: 500;
}
.testimonial .quote em {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--rg-yellow-500);
}
.testimonial .who {
  font-size: 13px; letter-spacing: 0.04em; color: var(--rg-cream-300);
  margin-top: 24px; opacity: 0.7;
}
.testimonial-image {
  aspect-ratio: 1/1; border-radius: var(--r-2xl);
  background: linear-gradient(135deg, #A65540, #4E2218);
  background-size: cover; background-position: center;
}

/* ============== CTA / CONTACT ============== */
.cta {
  background: var(--rg-cream-300);
  border-radius: var(--r-3xl);
  padding: 80px clamp(32px, 5vw, 80px);
  text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: -20% -20% auto auto; width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(45,95,88,0.22), transparent 70%);
}
.cta h2 {
  font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.03em;
  font-weight: 600; margin: 16px 0 24px; position: relative;
}
.cta h2 em {
  font-family: var(--font-display); font-style: italic; color: var(--rg-clay-500);
}
.cta p {
  font-size: 18px; color: var(--rg-fg-soft); max-width: 520px;
  margin: 0 auto 32px; position: relative;
}
.cta .btn { position: relative; }

/* ============== FOOTER ============== */
.footer {
  padding: 64px var(--section-pad-x) 32px;
  border-top: 1px solid var(--rg-line);
  background: var(--rg-cream-100);
  position: relative; z-index: 2;
}
.footer-grid {
  max-width: var(--content-max); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img { height: 40px; }
.footer-brand p { font-size: 14px; color: var(--rg-fg-muted); margin: 16px 0 0; max-width: 280px; line-height: 1.55; }
.footer h5 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rg-clay-700);
  margin: 0 0 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  font-size: 14px; color: var(--rg-fg-soft); text-decoration: none;
  transition: color var(--dur-fast); cursor: pointer;
}
.footer ul a:hover { color: var(--rg-fg); }
.footer-bottom {
  max-width: var(--content-max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px 20px;
  padding-top: 32px; border-top: 1px solid var(--rg-line);
  font-size: 13px; color: var(--rg-fg-muted);
}
.footer-bottom em { font-family: var(--font-display); font-style: italic; color: var(--rg-clay-500); }
.footer-bottom a { color: var(--rg-fg-soft); text-decoration: none; }
.footer-bottom a:hover { color: var(--rg-fg); text-decoration: underline; }

/* ============== ABOUT ============== */
.about-hero { padding-top: 140px; }
.about-hero h1 {
  font-size: clamp(56px, 8vw, 120px); line-height: 0.96; letter-spacing: -0.035em;
  font-weight: 600; margin: 24px 0 32px; max-width: 14ch;
}
.about-hero h1 em {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--rg-clay-500);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
  margin-top: 64px;
}
.about-grid p { font-size: 18px; line-height: 1.65; color: var(--rg-fg-soft); }
.about-image { aspect-ratio: 4/5; border-radius: var(--r-2xl); background-size: cover; background-position: center; box-shadow: var(--shadow-md); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.team-card .ph { aspect-ratio: 1/1; background-size: cover; background-position: center; }
.team-card .body { padding: 20px 24px 24px; }
.team-card .name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.team-card .role { font-size: 13px; color: var(--rg-fg-muted); margin-top: 4px; }

/* ============== CONTACT ============== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px;
  margin-top: 48px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--rg-fg-soft); margin-bottom: 8px; letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  width: 100%; box-sizing: border-box;
  font-family: var(--font-sans); font-size: 15px;
  background: #fff; color: var(--rg-fg);
  border: 1px solid var(--rg-line-strong);
  border-radius: var(--r-md); padding: 14px 16px;
  transition: all var(--dur-fast) var(--ease-soft);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--rg-turq-500);
  box-shadow: 0 0 0 3px rgba(45,95,88,0.22);
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info .row {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px;
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
  cursor: default;
}
.contact-info .row:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contact-info .ico {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--rg-turq-100); color: var(--rg-turq-700);
  display: flex; align-items: center; justify-content: center;
}
.contact-info .ico svg { width: 20px; height: 20px; }
.contact-info .lbl { font-size: 12px; color: var(--rg-fg-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.contact-info .val { font-size: 16px; font-weight: 500; color: var(--rg-fg); margin-top: 2px; }

/* Services & pricing page */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
.everything-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
  max-width: 880px;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 880px) {
  .hero-grid, .work-grid, .services-grid, .process-grid,
  .testimonial, .footer-grid, .about-grid, .contact-grid, .team-grid,
  .contact-row, .pricing-grid, .everything-list {
    grid-template-columns: 1fr;
  }
  .hero-image, .hero-photo { transform: none; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }       /* CTA lives in the drawer on mobile */

  /* Tighter section rhythm */
  .section { padding-block: clamp(56px, 12vw, 96px); }
  .hero { padding-top: 112px; }

  /* Hero meta: 2x2 grid instead of awkward flex-wrap */
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-top: 40px;
  }
  .hero-meta .stat .num { font-size: 28px; }

  /* Buttons in the hero stretch full-width so they're easy to tap */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; }

  /* Cards: tighter padding */
  .work-card .body { padding: 20px 22px 22px; }
  .service-card { padding: 28px 26px 30px; }

  /* CTA block tightens */
  .cta { padding: 56px 24px; }

  /* Form inputs at >=16px to prevent iOS zoom on focus */
  .field input, .field textarea, .field select { font-size: 16px; }
}

@media (max-width: 540px) {
  .hero h1 { letter-spacing: -0.025em; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
  .testimonial { padding: 40px 24px; }
  .footer { padding-inline: 24px; }
  .footer-grid { gap: 32px; margin-bottom: 40px; }
  .nav { padding-inline: 20px; }
  .marquee-group { gap: 36px; padding-right: 36px; }
  .marquee-group span { font-size: 18px; }
}

/* ============== STAGGER HEADLINE ============== */
.stagger-h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 600;
  margin: 24px 0 28px;
  color: var(--rg-fg);
  display: block;
}
.stagger-h1 .word-wrap {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding: 0 0.06em 0.16em 0;
  margin-right: 0.14em;
}
.stagger-h1 .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: word-rise 900ms var(--ease-soft) forwards;
  will-change: transform, opacity;
}
.stagger-h1 .word-italic {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--rg-clay-500);
  letter-spacing: -0.02em;
}
@keyframes word-rise {
  from { transform: translateY(110%); opacity: 0; }
  60%  { opacity: 1; }
  to   { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .stagger-h1 .word { animation: none; transform: none; opacity: 1; }
}

/* ============== AVAILABLE BADGE ============== */
.available-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px;
  background: var(--rg-cream-100);
  border: 1px solid var(--rg-line-strong);
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 600;
  color: var(--rg-fg-soft);
  letter-spacing: 0.01em;
}
.available-badge .pulse {
  position: relative; width: 8px; height: 8px; border-radius: 50%;
  background: #5E8C5A;
}
.available-badge .pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #5E8C5A; opacity: 0.6;
  animation: pulse 1800ms ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .available-badge .pulse::after { animation: none; opacity: 0; } }

/* ============== SPOTLIGHT CARD ============== */
.spotlight {
  position: relative;
  isolation: isolate;
}
.spotlight::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--sx, -200px) var(--sy, -200px),
              rgba(166, 85, 64, 0.20),
              rgba(166, 85, 64, 0) 60%);
  opacity: 0; transition: opacity 320ms var(--ease-soft);
  pointer-events: none; z-index: 0;
}
.spotlight:hover::before { opacity: 1; }
.spotlight.tone-turq::before {
  background: radial-gradient(420px circle at var(--sx, -200px) var(--sy, -200px),
              rgba(45, 95, 88, 0.22),
              rgba(45, 95, 88, 0) 60%);
}
.spotlight.tone-yellow::before {
  background: radial-gradient(420px circle at var(--sx, -200px) var(--sy, -200px),
              rgba(196, 149, 67, 0.24),
              rgba(196, 149, 67, 0) 60%);
}
.spotlight > * { position: relative; z-index: 1; }
@media (pointer: coarse) { .spotlight::before { display: none; } }

/* ============== TILT CARD ============== */
.tilt {
  --tx: 0deg; --ty: 0deg;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty));
  transition: transform 380ms cubic-bezier(0.25, 1, 0.4, 1);
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .tilt { transform: none; transition: none; }
}

/* ============== HERO ENHANCEMENTS ============== */
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.hero-photo {
  /* Layered shadow border for warmth */
  --rg-photo-ring: 1px solid rgba(31,26,20,0.05);
}
.hero-photo::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: var(--rg-photo-ring); z-index: 2; pointer-events: none;
}

/* ============== PROCESS SECTION ON HOME ============== */
.process { background: var(--rg-sand-100); position: relative; overflow: hidden; }
.process::before {
  content: ''; position: absolute; right: -120px; bottom: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(closest-side, rgba(45,95,88,0.22), rgba(45,95,88,0) 70%);
  pointer-events: none;
}
.process-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.process-head h2 {
  font-size: clamp(32px, 4.5vw, 56px); line-height: 1.05;
  letter-spacing: -0.025em; font-weight: 600; margin: 12px 0 0;
  max-width: 600px;
}
.process-head h2 em {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--rg-clay-500);
}
.process-head p { font-size: 16px; color: var(--rg-fg-soft); max-width: 360px; margin: 0; }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px;
  position: relative;
}
.process-grid::before {
  content: ''; position: absolute; left: 4%; right: 4%; top: 38px; height: 1px;
  background: repeating-linear-gradient(90deg,
    rgba(31,26,20,0.20) 0, rgba(31,26,20,0.20) 6px,
    transparent 6px, transparent 12px);
  z-index: 0;
}
.process-step {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--rg-cream-100); border-radius: var(--r-xl);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  position: relative; z-index: 1;
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-step .num {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 56px; color: var(--rg-clay-500); line-height: 1;
}
.process-step h4 { font-size: 19px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.process-step p { font-size: 14px; color: var(--rg-fg-soft); line-height: 1.55; margin: 0; }

/* ============== EVERYTHING-LIST ANIMATED CHECKS ============== */
.everything-list li { transition: transform 320ms var(--ease-soft); }
.everything-list li:hover { transform: translateX(4px); }
.everything-list li > span:first-child {
  transition: transform var(--dur-base) var(--ease-soft), background var(--dur-base) var(--ease-soft);
}
.everything-list li:hover > span:first-child {
  background: var(--rg-clay-500); color: var(--rg-cream-100);
  transform: scale(1.08) rotate(-8deg);
}

/* ============== CONTACT FIELD POLISH ============== */
.field { position: relative; }
.field input, .field textarea, .field select {
  transition: border-color var(--dur-base) var(--ease-soft),
              box-shadow var(--dur-base) var(--ease-soft),
              transform var(--dur-fast) var(--ease-soft);
}
.field input:hover, .field textarea:hover, .field select:hover {
  border-color: rgba(31,26,20,0.22);
}

/* ============== TEAM CARD COLORED ICO TINT ============== */
.team-card { transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft); position: relative; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card .ph { transition: transform 700ms var(--ease-soft); }
.team-card:hover .ph svg { transform: scale(1.08) rotate(-4deg); transition: transform 600ms var(--ease-soft); }

/* ============== TESTIMONIAL CARD (about page) ============== */
.testimonial-card {
  background: var(--rg-bg-card); border-radius: var(--r-2xl);
  padding: 40px 44px; box-shadow: var(--shadow-sm);
  max-width: 720px; position: relative;
  border: 1px solid var(--rg-line);
}
.testimonial-card .mark {
  position: absolute; top: 18px; right: 28px;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 120px; line-height: 0.7; color: var(--rg-clay-100);
  pointer-events: none; user-select: none;
}

/* ============== CTA ENHANCED ============== */
.cta { isolation: isolate; }
.cta::after {
  content: ''; position: absolute; inset: -40% auto auto -20%; width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(196, 149, 67, 0.22), transparent 70%);
  pointer-events: none; z-index: 0;
}
.cta > * { position: relative; z-index: 1; }

/* ============== VISTA (full-bleed river photo) ============== */
.vista {
  position: relative;
  background: var(--rg-charcoal);
  padding: 24px clamp(20px, 5vw, 64px);
}
.vista-frame {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  border-radius: var(--r-3xl);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.vista-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* Warm the photograph so it sits inside our parchment/walnut world
     instead of fighting it with cool blues and bright whites. */
  filter: sepia(0.18) saturate(0.88) contrast(1.04) brightness(0.96);
  transform: scale(1.04);
  animation: vista-drift 24s var(--ease-in-out) infinite alternate;
}
.vista-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(31,26,20,0) 40%, rgba(31,26,20,0.55) 100%),
    linear-gradient(0deg, rgba(166,85,64,0.10), rgba(166,85,64,0));
}
.vista-caption {
  position: absolute; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 40px);
  display: flex; flex-direction: column; gap: 8px;
  color: var(--rg-cream-100);
  z-index: 2;
  max-width: 880px;
}
.vista-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rg-sand-300);
}
.vista-eyebrow::before {
  content: ''; width: 22px; height: 1px;
  background: var(--rg-clay-300);
}
.vista-place {
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.25; letter-spacing: -0.015em; font-weight: 500;
}
.vista-place em {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--rg-yellow-300);
}
@keyframes vista-drift {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.10) translate(-1.2%, -0.8%); }
}
@media (prefers-reduced-motion: reduce) {
  .vista-frame img { animation: none; transform: scale(1.04); }
}
.vista-credit {
  position: absolute; right: clamp(20px, 4vw, 48px); top: clamp(16px, 3vw, 28px);
  font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245, 240, 229, 0.6);
  z-index: 2;
}
@media (max-width: 880px) {
  .vista-frame { aspect-ratio: 4 / 5; border-radius: var(--r-2xl); }
  .vista-place { font-size: 18px; }
  .vista-credit { top: 14px; right: 14px; font-size: 9px; }
}

/* ============== INTERLUDE (dark band) ============== */
.interlude {
  background: var(--rg-charcoal);
  color: var(--rg-cream-100);
  position: relative; overflow: hidden;
  padding-block: clamp(80px, 11vw, 144px);
}
.interlude::before {
  content: ''; position: absolute; left: -120px; top: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(166, 85, 64, 0.32), rgba(166, 85, 64, 0) 70%);
  pointer-events: none;
}
.interlude::after {
  content: ''; position: absolute; right: -160px; bottom: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(196, 149, 67, 0.18), rgba(196, 149, 67, 0) 70%);
  pointer-events: none;
}
.interlude-grid { position: relative; z-index: 1; max-width: 1080px; }
.interlude-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rg-sand-300);
  margin-bottom: 28px;
}
.interlude-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rg-clay-500);
  box-shadow: 0 0 0 4px rgba(166, 85, 64, 0.18);
}
.interlude-quote {
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18; letter-spacing: -0.02em; font-weight: 500;
  margin: 0;
  color: var(--rg-cream-100);
  max-width: 22ch;
}
.interlude-quote em {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--rg-yellow-300);
  letter-spacing: -0.01em;
}
.interlude-sig {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(245, 240, 229, 0.14);
  display: flex; justify-content: space-between; gap: 24px;
  font-size: 13px; letter-spacing: 0.04em;
  color: var(--rg-ink-300);
}
.interlude-sig .city { color: var(--rg-clay-300); font-style: italic; font-family: var(--font-display); font-size: 16px; letter-spacing: 0; }

/* ============== STAT NUMBER ANIMATION ============== */
.hero-meta .stat { transition: transform var(--dur-base) var(--ease-soft); }
.hero-meta .stat:hover { transform: translateY(-2px); }

/* ============== RESPONSIVE — additions ============== */
@media (max-width: 880px) {
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-grid::before { display: none; }
  .stagger-h1 { font-size: clamp(38px, 9vw, 56px); }
  .testimonial-card { padding: 32px 28px; }
  .testimonial-card .mark { font-size: 80px; top: 8px; right: 18px; }
  .hero-eyebrow-row { gap: 10px 12px; margin-bottom: 12px; }
  .available-badge { font-size: 12px; padding: 6px 12px 6px 10px; }
  .process-head { gap: 24px; }
  .process-head p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress span { transition: none; }
  .process-step, .team-card, .everything-list li, .everything-list li > span:first-child {
    transition: none !important; transform: none !important;
  }
}

/* ============== PORTFOLIO ============== */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: start;
}
.portfolio-card {
  background: var(--rg-bg-card); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pf-cover {
  aspect-ratio: 16 / 10; flex: none; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: rgba(31, 26, 20, 0.5);
}
.pf-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform var(--dur-slow) var(--ease-soft);
}
.portfolio-card:hover .pf-img { transform: scale(1.04); }
.pf-cover:has(.pf-img)::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(166, 85, 64, 0.10), rgba(31, 26, 20, 0.30));
}
.pf-cover .pf-type {
  z-index: 1;
  position: absolute; left: 16px; bottom: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rg-ink-700);
  background: rgba(241, 236, 226, 0.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 6px 10px; border-radius: var(--r-pill);
}
.pf-clay   { background: linear-gradient(160deg, #EBCEC1, #A65540); }
.pf-turq   { background: linear-gradient(160deg, #C7D9D5, #2D5F58); }
.pf-yellow { background: linear-gradient(160deg, #ECD9A4, #C49543); }
.pf-body { padding: 24px 26px 28px; }
.pf-body h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 16px; }
.pf-dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 4px 0; }
.pf-dl dt {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rg-clay-700); margin-top: 14px;
}
.pf-dl dt:first-child { margin-top: 0; }
.pf-dl dd { margin: 2px 0 0; font-size: 14px; line-height: 1.55; color: var(--rg-fg-soft); }
.pf-link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 18px;
  font-size: 14px; font-weight: 600; color: var(--rg-clay-700);
  text-decoration: none; transition: gap var(--dur-fast) var(--ease-soft);
}
.pf-link:hover { gap: 9px; }
/* Stretch the link over the whole card so clicking anywhere opens it */
.pf-link::after { content: ''; position: absolute; inset: 0; z-index: 2; }

/* ============== FAQ ============== */
.faq-section { background: var(--rg-cream-100); }
.faq-list { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--rg-line);
}
.faq-item:first-child { border-top: 1px solid var(--rg-line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(17px, 2vw, 20px); font-weight: 600; letter-spacing: -0.01em;
  color: var(--rg-fg);
  transition: color var(--dur-fast) var(--ease-soft);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--rg-clay-700); }
.faq-mark {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--rg-clay-100); color: var(--rg-clay-700);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--dur-base) var(--ease-soft), background var(--dur-base) var(--ease-soft);
}
.faq-item[open] .faq-mark { transform: rotate(135deg); background: var(--rg-clay-500); color: var(--rg-cream-100); }
.faq-answer { padding: 0 0 22px; max-width: 70ch; }
.faq-answer p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--rg-fg-soft); }
@media (prefers-reduced-motion: reduce) { .faq-mark { transition: none; } }

/* ============== SEO PROSE ============== */
.seo-prose { background: var(--rg-sand-100); }
.seo-prose .prose { max-width: 760px; }
.seo-prose .prose p {
  font-size: 17px; line-height: 1.75; color: var(--rg-fg-soft); margin: 0 0 20px;
}
.seo-prose .prose h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.015em;
  color: var(--rg-fg); margin: 36px 0 10px;
}
.seo-prose .prose strong { color: var(--rg-fg); font-weight: 600; }

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