/* Creative Transaction Partner — redesign */
:root {
  --purple: #5f2d86;
  --purple-dark: #4a2269;
  --purple-soft: #f3ebf8;
  --green: #497234;
  --green-dark: #3a5c2a;
  --cream: #fffac9;
  --cream-soft: #fffef0;
  --sage: #9aad8a;
  --sage-soft: #dce5d4;
  --sage-mist: #eef3e9;
  --text: #46403d;
  --text-muted: #6b6460;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #faf8f6;
  --border: #e8e2dc;
  --shadow: 0 8px 30px rgba(70, 64, 61, 0.08);
  --shadow-hover: 0 12px 40px rgba(95, 45, 134, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1120px;
  --font: "Montserrat", "Century Gothic", CenturyGothic, AppleGothic, system-ui, sans-serif;
  --focus: 0 0 0 3px rgba(95, 45, 134, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-dark); }

:focus-visible { outline: none; box-shadow: var(--focus); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--purple);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 56px;
  width: auto;
  border-radius: 0;
  max-width: 200px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  background: var(--purple);
  color: var(--cream) !important;
  border-bottom: none !important;
  padding: 0.5rem 1.05rem !important;
  border-radius: 10px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(40, 30, 55, 0.12), 0 4px 12px rgba(95, 45, 134, 0.22);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  background: var(--purple-dark);
  color: var(--cream) !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(40, 30, 55, 0.14), 0 8px 18px rgba(95, 45, 134, 0.28);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--purple);
  color: var(--cream);
  box-shadow: 0 1px 2px rgba(40, 30, 55, 0.12), 0 6px 16px rgba(95, 45, 134, 0.28);
}
.btn-primary:hover {
  background: var(--purple-dark);
  color: var(--cream);
  box-shadow: 0 2px 4px rgba(40, 30, 55, 0.14), 0 10px 22px rgba(95, 45, 134, 0.32);
}

.btn-secondary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(30, 50, 25, 0.1), 0 6px 16px rgba(73, 114, 52, 0.25);
}
.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(30, 50, 25, 0.12), 0 10px 22px rgba(73, 114, 52, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple);
  border-color: rgba(95, 45, 134, 0.28);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px rgba(40, 30, 55, 0.04);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--purple-dark);
  border-color: var(--purple);
  box-shadow: 0 4px 14px rgba(95, 45, 134, 0.12);
}

.btn-cream {
  background: var(--cream);
  color: var(--purple);
  border-color: rgba(255, 250, 201, 0.9);
  box-shadow: 0 1px 2px rgba(40, 30, 55, 0.1), 0 6px 16px rgba(40, 30, 55, 0.14);
}
.btn-cream:hover {
  background: #fffdf0;
  color: var(--purple-dark);
  box-shadow: 0 2px 4px rgba(40, 30, 55, 0.12), 0 10px 22px rgba(40, 30, 55, 0.18);
}

.btn-sage {
  background: var(--sage);
  color: var(--purple-dark);
  border-color: var(--sage);
  box-shadow: 0 1px 2px rgba(40, 30, 55, 0.1), 0 6px 16px rgba(40, 30, 55, 0.14);
}
.btn-sage:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green-dark);
  box-shadow: 0 2px 4px rgba(40, 30, 55, 0.12), 0 10px 22px rgba(40, 30, 55, 0.18);
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(95, 45, 134, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgba(73, 114, 52, 0.12), transparent 50%),
    var(--sage-mist);
}

.hero-bg {
  position: relative;
  isolation: isolate;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  background: #1f1a24;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/hero-workspace-b.png?v=2");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(255, 252, 247, 0.92) 0%, rgba(255, 252, 247, 0.82) 42%, rgba(255, 252, 247, 0.35) 68%, rgba(31, 26, 36, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.2) 0%, rgba(255, 252, 247, 0.55) 100%);
}

.hero-bg .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-grid-single {
  grid-template-columns: minmax(0, 34rem);
}

.hero-copy {
  max-width: 40rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 40px rgba(40, 30, 55, 0.12);
  backdrop-filter: blur(6px);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(73, 114, 52, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
/* Cleared to Close tagline — Option A: plain green letter-spaced text with short rule (no pill) */
.eyebrow-ctc {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.eyebrow-ctc::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.hero-tagline {
  margin: -0.75rem 0 1.5rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--green);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--green-dark);
}
.hero-tagline strong { color: var(--green); font-weight: 700; }

.section-purple a:not(.btn) { color: var(--cream); }
.footer-bottom a { color: var(--cream); }
.hero h1 .accent { color: var(--purple); }
.hero h1 .accent-green { color: var(--green); }

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  align-items: center;
}
.hero-actions .btn {
  padding: 0.68rem 0.95rem;
  font-size: 0.8rem;
  white-space: nowrap;
  flex: 0 1 auto;
}
@media (max-width: 768px) {
  .hero-actions { flex-wrap: wrap; }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-meta strong { color: var(--text); font-weight: 600; }

.hero-bg .btn-outline {
  background: rgba(255, 255, 255, 0.88);
}

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-purple {
  background: var(--purple);
  color: var(--white);
}
.section-purple h2,
.section-purple p { color: var(--white); }
.section-cream { background: var(--sage-mist); }

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  background: var(--purple-soft);
  color: var(--purple);
}
.card-icon.green { background: rgba(73, 114, 52, 0.12); color: var(--green); }
.card-icon.cream { background: var(--sage-soft); color: var(--purple); }

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
}
.card p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  flex-grow: 1;
}
.card-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--purple);
  font-size: 0.95rem;
}
.card-link:hover { text-decoration: underline; }

/* About blurb */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
}
.split-photo.photo-frame {
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.split-photo.photo-frame img {
  display: block;
  border-radius: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
}

.split-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}
.split-copy p { color: var(--text-muted); margin: 0 0 1rem; }
.split-copy p:last-of-type { margin-bottom: 1.5rem; }

/* Credentials / pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.pill {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}
.pill.featured {
  background: var(--purple);
  color: var(--cream);
  border-color: var(--purple);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.skill-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.skill-item::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.tech-list span {
  background: var(--purple-soft);
  color: var(--purple);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Service detail blocks */
.service-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.service-block h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }
.service-block p { margin: 0 0 0.75rem; color: var(--text-muted); }
.service-block ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}
.service-block li { margin-bottom: 0.35rem; }

.bk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.bk-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.bk-item h3 {
  margin: 0 0 0.5rem;
  color: var(--purple);
  font-size: 1.1rem;
}
.bk-item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3.5rem 0;
}
.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}
.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  opacity: 0.92;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-card h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}
.contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.contact-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.contact-list .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.contact-list a {
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}
.contact-list a:hover { text-decoration: underline; }

.map-note {
  background: var(--sage-mist);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Page banner */
.page-banner {
  padding: 2.75rem 0 2rem;
  background:
    linear-gradient(135deg, var(--purple-soft), var(--sage-mist));
  border-bottom: 1px solid var(--border);
}
.page-banner h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
}
.page-banner p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: #ddd8d4;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand img {
  height: 56px;
  width: auto;
  max-width: 180px;
  border-radius: 0;
  margin-bottom: 0.75rem;
  background: transparent;
  object-fit: contain;
}
.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 18rem;
}
.footer-col h3 {
  margin: 0 0 0.85rem;
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a {
  color: #ddd8d4;
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #a8a29e;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .card-grid { grid-template-columns: 1fr; }
  .bk-grid { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 0 2rem; }
  .hero-bg { min-height: auto; padding: 3rem 0 2.5rem; }
  .hero-copy { padding: 1.1rem 1.15rem; }
  .service-block { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem 1.25rem;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav-list a {
    padding: 0.65rem 0.5rem;
    border-bottom: none;
  }
  .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
  }
  .card-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .nav-cta { transition: none; }
  .card:hover, .btn:hover { transform: none; }
}
