/* ==========================================================================
   Resona Collective — Brand Variables
   ========================================================================== */
:root {
  --teal: #0d434c;
  --teal-light: #1a616c;
  --gold: #b8935a;
  --gold-light: #d4b483;
  --gold-text: #7d5f2c; /* darker gold for small text so it is easy to read */ 
  --cream: #f5efe4;
  --cream-dark: #ece2cf;
  --ink: #2b2b28;
  --ink-soft: #5b5a54;
  --white: #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1140px;
  --section-pad: 7rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background:
    radial-gradient(ellipse 900px 600px at 12% 0%, rgba(184,147,90,0.07), transparent 60%),
    radial-gradient(ellipse 900px 700px at 88% 30%, rgba(13,67,76,0.05), transparent 55%),
    var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--teal);
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.12; font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.2; }
h3 { font-size: 1.3rem; color: var(--teal); }

p { margin: 0 0 1rem; color: var(--ink-soft); }

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

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 680px;
  color: var(--ink-soft);
}

.dot-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.1rem;
}

.dot-divider span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}

.dot-divider .dot-mid {
  width: 6px;
  height: 6px;
  opacity: 1;
}

.dot-divider .line {
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
  flex-shrink: 0;
}

.dot-divider-light span,
.dot-divider-light .line {
  background: var(--gold-light);
}

.section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: var(--cream-dark);
}

/* Progress bar */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(245, 239, 228, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 67, 76, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.logo-icon img { position: relative; z-index: 2; }

.logo-icon::before,
.logo-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 2.5px solid var(--gold);
  opacity: 0;
  animation: resonancePulse 3.6s ease-out infinite;
  z-index: 1;
}

.logo-icon::after { animation-delay: 1.2s; }

@keyframes resonancePulse {
  0%   { transform: scale(0.55); opacity: 0.85; }
  60%  { opacity: 0.35; }
  100% { transform: scale(2.3); opacity: 0; }
}

.logo-divider {
  width: 1px;
  height: 30px;
  background: rgba(184,147,90,0.5);
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-sub-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.logo-line {
  width: 10px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.main-nav a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  position: relative;
  padding: 4px 0;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--teal);
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 0.74rem;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--teal);
  width: 100%;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(184,147,90,0.14), transparent 55%),
    radial-gradient(ellipse at 20% 85%, rgba(28,59,54,0.06), transparent 55%),
    var(--cream);
  padding-top: 84px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.hero-sub {
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 2.4rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 620px;
  padding: 7px; /* room for the outer rings so they are never clipped */
}

.hero-actions .btn {
  padding: 15px 10px;
  white-space: nowrap;
  font-size: clamp(0.78rem, 1.08vw, 0.92rem);
  /* same double ring as the photos: fine gold, a sliver of cream, fine teal */
  box-shadow:
    0 0 0 1.5px var(--gold),
    0 0 0 4.5px var(--cream),
    0 0 0 6px var(--teal);
}

.hero-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 50%;
  border: none;
  /* inside to outside: fine gold ring, a sliver of cream, fine teal ring */
  box-shadow:
    0 0 0 1.5px var(--gold),
    0 0 0 5.5px var(--cream),
    0 0 0 7px var(--teal);
  filter: drop-shadow(0 16px 28px rgba(13, 67, 76, 0.16));
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 320px;
}

.hero-logo-lockup {
  display: block;
  width: 100%;
  height: auto;
}

.lg-break { display: block; }

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: rgba(28,59,54,0.25);
  overflow: hidden;
}

.scroll-cue span {
  display: block;
  width: 100%;
  height: 20px;
  background: var(--gold);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-20px); }
  100% { transform: translateY(60px); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgba(28,59,54,0.3);
  color: var(--teal);
}

.btn-ghost:hover {
  border-color: var(--teal);
  background: rgba(28,59,54,0.05);
}

/* ==========================================================================
   Philosophy — Triad
   ========================================================================== */
.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.triad-item {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(28,59,54,0.15);
}

.triad-mark {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.8rem;
}

.triad-item p { font-size: 0.98rem; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-list {
  columns: 2;
  column-gap: 3.5rem;
  margin-top: 3.5rem;
}

.service-row {
  break-inside: avoid;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 1rem;
  padding: 1.6rem 0;
  transition: padding-left 0.3s ease;
}



.service-index {
  grid-row: 1 / 3;
  grid-column: 1;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
  padding-top: 0.1rem;
}

.service-row h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.service-row p { font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-list {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
}

.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(28,59,54,0.12);
}

.process-step:first-child { padding-top: 0; }
.process-step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-text);
  min-width: 70px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(184,147,90,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 { margin-bottom: 0.4rem; }
.process-step p { margin: 0; max-width: 560px; }

/* ==========================================================================
   Why AI + Human
   ========================================================================== */
.why-ai {
  background: var(--teal);
  position: relative;
  overflow: hidden;
}

.why-ai::before {
  content: '';
  position: absolute;
  top: -20%; right: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(184,147,90,0.15);
}

.why-ai::after {
  content: '';
  position: absolute;
  top: -8%; right: 4%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(184,147,90,0.12);
}

.why-ai h2 { color: var(--cream); }
.why-ai .lead { color: rgba(245,239,228,0.78); }
.why-ai .eyebrow { color: var(--gold-light); }

.why-ai-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-ai-points {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.point {
  padding-left: 1.3rem;
  border-left: 2px solid var(--gold);
}

.point h3 { font-size: 1.1rem; margin-bottom: 0.3rem; color: var(--cream); }
.point p { margin: 0; font-size: 0.92rem; color: rgba(245,239,228,0.7); }

/* ==========================================================================
   About / Founders
   ========================================================================== */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4.5rem;
  margin-top: 3.5rem;
}

.founder-photo {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  margin: 7px 0 1.4rem 7px;
  /* same double ring as the team photo, scaled down: fine gold, a sliver of cream, fine teal */
  box-shadow:
    0 0 0 1.5px var(--gold),
    0 0 0 4.5px var(--cream),
    0 0 0 6px var(--teal);
}

.founder-card h3 { margin-bottom: 0.2rem; }

.founder-role {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.9rem;
}

.founder-bio {
  font-size: 0.95rem;
  font-style: italic;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--teal); }
.contact .eyebrow { color: var(--gold-light); }
.contact h2 { color: var(--cream); }
.contact .lead { color: rgba(245,239,228,0.75); }

.contact-inner { text-align: left; }

.contact-form {
  margin-top: 3rem;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-row { display: flex; flex-direction: column; gap: 0.5rem; }

.form-row label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(245,239,228,0.7);
}

.form-row input,
.form-row textarea {
  background: rgba(245,239,228,0.08);
  border: 1px solid rgba(245,239,228,0.25);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(245,239,228,0.4); }

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form .btn-primary {
  background: var(--gold);
  color: var(--teal);
  align-self: flex-start;
}

.contact-form .btn-primary:hover { background: var(--gold-light); }

.form-note {
  color: var(--gold-light);
  font-size: 0.88rem;
}

.contact-direct {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245,239,228,0.2);
  color: rgba(245,239,228,0.85);
}

.contact-direct a { color: var(--gold-light); }
.contact-direct a:hover { text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #142d28;
  padding: 3.5rem 0;
  text-align: center;
}

.footer-logo { position: relative; display: flex; flex-direction: column; align-items: center; margin-bottom: 1.2rem; }

.footer-logo img { width: 100px; height: auto; }

.footer-tagline {
  color: rgba(245,239,228,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.footer-copy {
  color: rgba(245,239,228,0.35);
  font-size: 0.78rem;
  margin-top: 1rem;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  :root { --section-pad: 4.5rem; }

  .main-nav {
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 2rem 2rem;
    border-bottom: 1px solid rgba(28,59,54,0.1);
    transform: translateY(-140%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .main-nav.open { transform: translateY(0); opacity: 1; }

  .main-nav a { padding: 0.8rem 0; width: 100%; }
  .nav-cta { margin-top: 0.5rem; text-align: center; }

  .nav-toggle { display: flex; }

  .triad,
  .founders-grid {
    grid-template-columns: 1fr;
  }

  .services-list { columns: 1; }

  .why-ai-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-ai-points { padding-top: 0; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-photo-wrap {
    order: -1;
    width: 100%;
    align-items: center;
  }
  .hero-photo {
    width: 100%;
    justify-content: center;
  }
  .hero-photo img {
    max-width: 260px;
    box-shadow:
      0 0 0 1.5px var(--gold),
      0 0 0 4.5px var(--cream),
      0 0 0 6px var(--teal);
  }
  .hero-logo-wrap {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-logo-lockup { max-width: 100%; margin: 0 auto; }
  .hero-actions { margin-left: auto; margin-right: auto; }
  .hero-actions .btn { font-size: 0.92rem; }
  /* leave room under the last button for the scroll chevron so they never touch */
  .hero { padding-bottom: 6.5rem; }
}

@media (max-width: 520px) {
  .container { padding: 0 1.3rem; }
  .hero-actions { grid-template-columns: 1fr; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-icon::before,
  .logo-icon::after,
  .hero-logo-wrap::before,
  .hero-logo-wrap::after,
  .scroll-cue span,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Portfolio page
   ========================================================================== */
.main-nav a[aria-current="page"]:not(.nav-cta)::after { width: 100%; }

@media (min-width: 1131px) and (max-width: 1280px) {
  .main-nav { gap: 1.8rem; }
}

/* With seven menu items, switch to the dropdown menu a little earlier than the rest of the layout */
@media (max-width: 1130px) {
  .main-nav {
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 2rem 2rem;
    border-bottom: 1px solid rgba(28,59,54,0.1);
    transform: translateY(-140%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .main-nav.open { transform: translateY(0); opacity: 1; }

  .main-nav a { padding: 0.8rem 0; width: 100%; }
  .nav-cta { margin-top: 0.5rem; text-align: center; }

  .nav-toggle { display: flex; }
}

.portfolio-intro {
  padding-top: calc(var(--section-pad) + 84px);
  padding-bottom: 3rem;
}

.portfolio-intro h1 { max-width: 760px; }

.portfolio-section { padding-top: 4rem; }

.portfolio-section h2 { margin-bottom: 0; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(13, 67, 76, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(13, 67, 76, 0.07);
}

.work-card-featured {
  flex-direction: row;
  margin-top: 1.5rem;
}

.work-shot {
  display: block;
  overflow: hidden;
  background: var(--teal);
}

.work-shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.work-shot:hover img { transform: scale(1.03); }

.work-card-featured .work-shot { flex: 1.25; }

.work-card-featured .work-shot img {
  height: 100%;
  object-fit: cover;
}

.work-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 1.6rem 1.7rem 1.9rem;
}

.work-card-featured .work-body {
  justify-content: center;
  padding: 2.5rem;
}

.work-body h3 {
  margin-bottom: 0.2rem;
  font-size: 1.6rem;
}

.work-body p { font-size: 0.95rem; }

.work-type {
  font-size: 0.8rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.9rem;
}

.work-status {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 4px 12px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.work-status-live {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--cream);
}

.work-status-concept { border-style: dashed; }

.work-disclaimer {
  font-size: 0.8rem !important;
  font-style: italic;
  color: var(--ink-soft);
}

.work-link {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  transition: color 0.25s ease;
}

.work-card-featured .work-link { margin-top: 1rem; }

.work-link:hover { color: var(--gold); }

.portfolio-cta { text-align: center; }

.portfolio-cta .dot-divider { justify-content: center; }

.portfolio-cta .lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.section-link { margin-top: 2.5rem; }

.section-link a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card-featured { flex-direction: column; }
  .work-card-featured .work-shot img { height: auto; }
  .work-card-featured .work-body { padding: 1.6rem 1.7rem 1.9rem; }
}

/* ==========================================================================
   Process (inside the Services section)
   ========================================================================== */
.process-block {
  margin-top: 4.5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(184, 147, 90, 0.28);
  scroll-margin-top: 100px;
}

.process-title {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.process-block .process-list { margin-top: 2.5rem; }

.process-block .step-num { min-width: 56px; }

@media (min-width: 1001px) {
  .process-block .process-list {
    flex-direction: row;
    gap: 1.8rem;
  }

  .process-block .process-step {
    flex: 1;
    flex-direction: column;
    gap: 1.1rem;
    padding: 0;
    border-bottom: none;
  }

  .process-block .process-step p { font-size: 0.92rem; }
}

/* Hero buttons: one gold family, deepest to lightest (ends at the beige in the team photo) */
.btn-tone {
  color: #082f36;
  border-color: transparent;
}

.btn-tone:hover {
  filter: brightness(0.94);
  transform: translateY(-2px);
}

.btn-tone-1 { background: #b8935a; border-color: #b8935a; }
.btn-tone-2 { background: #cdb18a; border-color: #cdb18a; }
.btn-tone-3 { background: #e5d7c3; border-color: #e5d7c3; }

/* Big centered portfolio call-to-action (inside Services) */
.portfolio-band {
  margin-top: 5rem;
  text-align: center;
}

.portfolio-band-text {
  margin: 0 0 1.6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.25;
  color: var(--teal);
}

.btn-large {
  padding: 22px 58px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 30px rgba(184, 147, 90, 0.38);
}

.btn-large:hover { box-shadow: 0 16px 38px rgba(184, 147, 90, 0.5); }

.btn-arrow {
  display: inline-block;
  margin-left: 0.7rem;
  transition: transform 0.25s ease;
}

.btn-large:hover .btn-arrow { transform: translateX(7px); }

/* Soft gold ripple, like the one around the logo icon in the header */
.btn-ripple { animation: buttonRipple 3.2s ease-out infinite; }

@keyframes buttonRipple {
  0%   { box-shadow: 0 12px 30px rgba(184, 147, 90, 0.38), 0 0 0 0 rgba(184, 147, 90, 0.55); }
  70%  { box-shadow: 0 12px 30px rgba(184, 147, 90, 0.38), 0 0 0 22px rgba(184, 147, 90, 0); }
  100% { box-shadow: 0 12px 30px rgba(184, 147, 90, 0.38), 0 0 0 0 rgba(184, 147, 90, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-ripple { animation: none; }
}

@media (max-width: 520px) {
  .portfolio-band { margin-top: 3.5rem; }
  .btn-large { padding: 20px 36px; }
}

/* Soft gold ripple radiating from the dot in the big logo (same idea as the header icon) */
.hero-logo-lockup { position: relative; z-index: 2; }

.hero-logo-wrap::before,
.hero-logo-wrap::after {
  content: '';
  position: absolute;
  left: 6.7%;
  top: 30.9%;
  width: 8%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%) scale(0.5);
  animation: logoRipple 9s ease-out infinite;
}

.hero-logo-wrap::after { animation-delay: 4.5s; }

@keyframes logoRipple {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
  60%  { opacity: 0.25; }
  100% { transform: translate(-50%, -50%) scale(3.6); opacity: 0; }
}

/* ==========================================================================
   Menu: plain "Start a Conversation" link and the sliding gold line
   ========================================================================== */
.main-nav a.nav-cta {
  padding: 4px 0;
  border: none;
  border-radius: 0;
  background: none;
  font-size: 0.76rem;
  margin-top: 0;
  text-align: left;
}

.main-nav a.nav-cta:hover {
  background: none;
  color: var(--teal);
  transform: none;
}

.nav-indicator { display: none; }

@media (min-width: 1131px) {
  .main-nav { position: relative; }

  .nav-indicator {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    opacity: 0;
    pointer-events: none;
  }

  .nav-indicator.is-ready {
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1),
                width 0.4s cubic-bezier(0.65, 0, 0.35, 1),
                opacity 0.25s ease;
  }

  /* the sliding line replaces the old per-link underline on desktop */
  .main-nav a:not(.nav-cta)::after { display: none; }
}

/* Slightly larger line above the hero headline */
.hero-text .eyebrow {
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

/* Email address in the footer */
.footer-email { margin: 0.9rem 0 0; font-size: 0.85rem; }
.footer-email a { color: var(--gold-light); }
.footer-email a:hover { text-decoration: underline; }

/* Contact details under the form and in the footer */
.contact-direct p { margin: 0 0 0.5rem; color: inherit; }
.contact-direct p:last-child { margin-bottom: 0; }

.footer-email a + a { margin-left: 0; }
.footer-sep { color: rgba(245, 239, 228, 0.35); }

@media (max-width: 520px) {
  /* stack the email and phone on narrow phones instead of wrapping awkwardly */
  .footer-email a { display: block; }
  .footer-email a + a { margin-top: 0.4rem; }
  .footer-sep { display: none; }
}

/* ==========================================================================
   Animated dividers: lines draw outward from the center dot, which gives off
   a soft gold ripple (same idea as the logo icon). Starts when scrolled into view.
   ========================================================================== */
.dot-divider .line {
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.15s;
}
.dot-divider .line:nth-child(2) { transform-origin: right center; }
.dot-divider .line:nth-child(4) { transform-origin: left center; }

.dot-divider > span:not(.line) {
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dot-divider .dot-mid { position: relative; }
.dot-divider > span:first-child,
.dot-divider > span:last-child { transition-delay: 0.7s; }

.dot-divider.visible .line,
.visible .dot-divider .line { transform: scaleX(1); }
.dot-divider.visible > span:not(.line),
.visible .dot-divider > span:not(.line) { transform: scale(1); }

.dot-divider .dot-mid::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  pointer-events: none;
}
.dot-divider-light .dot-mid::after { border-color: var(--gold-light); }

.dot-divider.visible .dot-mid::after,
.visible .dot-divider .dot-mid::after {
  animation: dividerPulse 3.4s ease-out 1s infinite;
}

@keyframes dividerPulse {
  0%   { transform: scale(1); opacity: 0.85; }
  70%  { opacity: 0.25; }
  100% { transform: scale(5.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .dot-divider .line { transform: scaleX(1); transition: none; }
  .dot-divider > span:not(.line) { transform: scale(1); transition: none; }
  .dot-divider .dot-mid::after { animation: none !important; }
}

/* ==========================================================================
   Home page portfolio sub-heading and Pricing section
   ========================================================================== */
.portfolio-subhead { margin-top: 2.2rem; }

.pricing { text-align: center; }
.pricing .dot-divider { justify-content: center; }
.pricing .lead { margin-left: auto; margin-right: auto; margin-bottom: 2rem; }

/* Placeholder card for the painting tool demo video */
.work-shot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  aspect-ratio: 1000 / 625;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--cream);
  cursor: default;
}

.play-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: 2px solid var(--gold-light);
  border-radius: 50%;
}

.play-tri {
  margin-left: 5px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--gold-light);
}

.placeholder-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* Client reviews coming-soon section (same centered look as Pricing) */
.reviews { text-align: center; }
.reviews .dot-divider { justify-content: center; }
.reviews .lead { margin-left: auto; margin-right: auto; margin-bottom: 0; }

/* Short philosophy line in the hero, beside the team photo */
.hero-quote {
  max-width: 560px;
  margin: 2.2rem 0 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.4;
  color: var(--teal);
}

@media (max-width: 900px) {
  .hero-quote {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    border-left: none;
    text-align: center;
  }
}

/* Scroll cue: a small gold chevron that gently bounces (replaces the thin bar) */
.scroll-cue {
  bottom: 1.3rem;
  width: 44px;
  height: 44px;
  background: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.scroll-cue span {
  width: 14px;
  height: 14px;
  margin-top: -6px;
  background: none;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: chevronBounce 1.8s ease-in-out infinite;
}

.scroll-cue:hover span { border-color: var(--teal); }

@keyframes chevronBounce {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.55; }
  50%      { transform: translateY(9px) rotate(45deg); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; opacity: 0.8; }
}

/* Hero buttons: the gold slowly flows through the three tones, a little out of step on each */
.hero-actions .btn-tone {
  background: linear-gradient(110deg, #b8935a, #d6c1a0, #e8dcc8, #d6c1a0, #b8935a);
  background-size: 300% 100%;
  border-color: transparent;
  animation: btnFlow 6s ease-in-out infinite;
}
.hero-actions .btn-tone-2 { animation-delay: -2s; }
.hero-actions .btn-tone-3 { animation-delay: -4s; }

@keyframes btnFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Light sweep: a soft streak of light glides across the button (used on the action buttons) */
.btn-sweep { position: relative; overflow: hidden; }
.btn-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: btnShine 4.5s ease-in-out infinite;
}

@keyframes btnShine {
  0%   { left: -60%; }
  28%  { left: 130%; }
  100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions .btn-tone { animation: none; background-position: 0% 50%; }
  .btn-sweep::after { animation: none; display: none; }
}

/* Client review cards: one shows as a wide centered card, two or more sit side by side */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  text-align: left;
}

.review-card {
  position: relative;
  margin: 0;
  padding: 3.2rem 2.2rem 2rem;
  background: var(--white);
  border: 1px solid rgba(13, 67, 76, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(13, 67, 76, 0.07);
}

.review-card:only-child {
  grid-column: 1 / -1;
  max-width: 780px;
  margin: 0 auto;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem;
  left: 1.6rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.8;
}

.review-card blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--teal);
}

.review-card figcaption { display: flex; flex-direction: column; gap: 0.2rem; }

.review-name {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.review-biz {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold-text);
}

@media (max-width: 900px) {
  .review-grid { grid-template-columns: 1fr; }
  .review-card { padding: 3rem 1.5rem 1.6rem; }
}

/* About section: the four-paragraph intro above the founder cards */
.about-copy { max-width: 680px; }
.about-copy p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.about-copy p:last-child { margin-bottom: 0; }

/* Process is its own section now (between About and Portfolio), so drop the divider and spacing it had inside Services */
.process-section .process-block { margin-top: 0; padding-top: 0; border-top: none; }
.process-section .process-list { margin-top: 3rem; }

/* Services: intro under the heading and the "something else in mind" note under the list */
.services-intro { max-width: 700px; margin-top: 1.4rem; }
.services-tagline {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.3;
  color: var(--teal);
}
.services-intro p:last-child { margin: 0; color: var(--ink-soft); }
.services-intro + .services-list { margin-top: 2.5rem; }

.services-more {
  margin-top: 3rem;
  padding: 2.2rem 2.4rem 2.4rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(184, 147, 90, 0.35);
  border-radius: 14px;
  max-width: 820px;
}
.services-more h3 { margin: 0 0 0.6rem; font-size: 1.6rem; }
.services-more p { margin: 0 0 1.6rem; color: var(--ink-soft); }

@media (max-width: 520px) {
  .services-more { padding: 1.6rem 1.4rem 1.8rem; }
}

/* ==========================================================================
   Process circles: each one does something different on hover or tap
   ========================================================================== */
.process-section .process-step { cursor: pointer; -webkit-tap-highlight-color: transparent; }

.process-section .step-num {
  position: relative;
  transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.5, 1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.process-section .step-num .num { position: relative; z-index: 2; transition: color 0.35s ease; }

/* 01 Listen: our teal floods in from the middle */
.process-section .process-step:nth-child(1) .step-num::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--teal);
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.process-section .process-step:nth-child(1):hover .step-num::before,
.process-section .process-step:nth-child(1):active .step-num::before { transform: scale(1); }
.process-section .process-step:nth-child(1):hover .step-num,
.process-section .process-step:nth-child(1):active .step-num { border-color: var(--teal); }
.process-section .process-step:nth-child(1):hover .num,
.process-section .process-step:nth-child(1):active .num { color: var(--cream); }

/* 02 Reflect: fills gold and sends out a ring that fades */
.process-section .process-step:nth-child(2) .step-num::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  pointer-events: none;
}
.process-section .process-step:nth-child(2):hover .step-num,
.process-section .process-step:nth-child(2):active .step-num { background: var(--gold); border-color: var(--gold); }
.process-section .process-step:nth-child(2):hover .num,
.process-section .process-step:nth-child(2):active .num { color: #082f36; }
.process-section .process-step:nth-child(2):hover .step-num::after,
.process-section .process-step:nth-child(2):active .step-num::after { animation: stepRing 1.1s ease-out infinite; }
@keyframes stepRing { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }

/* 03 Design: a full spin, filling with soft gold */
.process-section .process-step:nth-child(3) .step-num {
  transition: transform 0.8s cubic-bezier(0.4, 0.1, 0.2, 1), background 0.4s ease, border-color 0.4s ease;
}
.process-section .process-step:nth-child(3):hover .step-num,
.process-section .process-step:nth-child(3):active .step-num { transform: rotateY(360deg); background: var(--gold-light); border-color: var(--gold); }
.process-section .process-step:nth-child(3):hover .num,
.process-section .process-step:nth-child(3):active .num { color: var(--teal); }

/* 04 Refine: swells with a warm golden halo */
.process-section .process-step:nth-child(4):hover .step-num,
.process-section .process-step:nth-child(4):active .step-num {
  transform: scale(1.18);
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 8px rgba(184, 147, 90, 0.16), 0 10px 26px rgba(184, 147, 90, 0.35);
}

/* 05 Launch and Support: a springy hop, the number becomes a check mark */
.process-section .process-step:nth-child(5) .step-num .chk {
  position: absolute;
  z-index: 2;
  opacity: 0;
  transform: scale(0.4);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--cream);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.process-section .process-step:nth-child(5) .step-num::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.process-section .process-step:nth-child(5):hover .step-num,
.process-section .process-step:nth-child(5):active .step-num { animation: stepHop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); border-color: var(--gold); }
.process-section .process-step:nth-child(5):hover .step-num::before,
.process-section .process-step:nth-child(5):active .step-num::before { opacity: 1; }
.process-section .process-step:nth-child(5):hover .num,
.process-section .process-step:nth-child(5):active .num { opacity: 0; }
.process-section .process-step:nth-child(5):hover .chk,
.process-section .process-step:nth-child(5):active .chk { opacity: 1; transform: scale(1); }
@keyframes stepHop { 0% { transform: translateY(0); } 40% { transform: translateY(-14px); } 70% { transform: translateY(2px); } 100% { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .process-section .step-num,
  .process-section .step-num::before,
  .process-section .step-num::after { animation: none !important; transition: none !important; }
}





/* Painting tool demo video: card tile, play button, and the pop-up player */
.work-shot-video {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
  background: var(--teal);
}
.work-shot-video img { display: block; width: 100%; height: auto; }
.work-shot-video .play-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(13, 67, 76, 0.62);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.work-shot-video:hover .play-ring,
.work-shot-video:focus-visible .play-ring {
  background: var(--gold);
  border-color: var(--gold);
  transform: translate(-50%, -50%) scale(1.1);
}
.work-shot-video:hover .play-tri,
.work-shot-video:focus-visible .play-tri { border-left-color: #082f36; }

.work-link-btn {
  margin-top: auto;
  padding: 1rem 0 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
}

.video-dialog {
  width: min(92vw, 400px);
  max-width: 92vw;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.video-dialog::backdrop { background: rgba(8, 47, 54, 0.85); }
.video-dialog video { display: block; width: 100%; max-height: 86vh; background: #000; }
.video-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 239, 228, 0.92);
  color: var(--teal);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

/* Service numbers: solid teal circles, locked in (no hover, tap, or motion) */
.service-index {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  width: 44px;
  height: 44px;
  padding-top: 0;
  border: 1px solid var(--teal);
  border-radius: 50%;
  background: var(--teal);
  font-size: 1.05rem;
  color: var(--cream);
}

/* A button styled exactly like the three hero buttons: flowing gold plus the fine gold / cream / teal double ring */
.btn-flow-ring {
  margin: 7px; /* room for the outer rings so they are never clipped */
  background: linear-gradient(110deg, #b8935a, #d6c1a0, #e8dcc8, #d6c1a0, #b8935a);
  background-size: 300% 100%;
  border-color: transparent;
  animation: btnFlow 6s ease-in-out infinite;
  box-shadow:
    0 0 0 1.5px var(--gold),
    0 0 0 4.5px var(--cream),
    0 0 0 6px var(--teal);
}

@media (prefers-reduced-motion: reduce) {
  .btn-flow-ring { animation: none; background-position: 0% 50%; }
}
