/* ====================================================
   conjerti.com rebuild — cloned from the live Framer site
   Palette: navy / cream / orange / teal (Padres City Connect v2). Font: Inter.
   Tweak the colors here:
   ==================================================== */

:root {
  --navy: #0C1E44;
  --cream: #FFF0E3;
  --orange: #FB7A43;
  --teal: #2FC3B4;
  --white: #ffffff;
  --ink: #0C1E44;
  --muted-on-dark: rgba(255, 240, 227, 0.55);
  --line-dark: rgba(255, 240, 227, 0.16);
  --line-light: rgba(20, 20, 20, 0.14);
  --radius-lg: 0;
  --radius-md: 0;
  --max: 1290px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 56px; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }

/* ---------- Section themes ---------- */
.sec-dark { background: var(--navy); color: var(--cream); }
.sec-white { background: var(--white); color: var(--ink); }
.sec-cream { background: var(--cream); color: var(--ink); }
.sec-orange { background: var(--orange); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 60;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo { font-weight: 700; font-size: 38px; letter-spacing: -0.01em; }

.on-light .logo, .on-light .nav-toggle span { color: var(--ink); background-color: currentColor; }
.on-light .logo { background: none; }

.nav-toggle {
  background: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px;
  padding: 10px 0;
}
.nav-toggle span {
  display: block; width: 86px; height: 2px;
  background: var(--cream);
}
.on-light .nav-toggle span { background: var(--ink); }

/* Full-screen menu overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: var(--navy);
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 0 56px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-overlay a {
  color: var(--cream);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 600; letter-spacing: -0.03em;
  line-height: 1.25;
  transition: color 0.2s;
}
.menu-overlay a:hover, .menu-overlay a[aria-current="page"] { color: var(--teal); }
.menu-close {
  position: absolute; top: 22px; right: 56px;
  background: none; border: 0; cursor: pointer;
  color: var(--cream); font-size: 40px; line-height: 1;
}

/* ---------- Buttons & pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 13.5px; font-weight: 600;
  padding: 7px 16px;
  transition: background 0.2s, color 0.2s;
}
.sec-dark .pill:hover, .menu-overlay .pill:hover { background: var(--cream); color: var(--navy); }
.sec-white .pill:hover, .sec-orange .pill:hover, .sec-cream .pill:hover { background: var(--ink); color: var(--white); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: var(--navy);
  font-weight: 600; font-size: 16px;
  padding: 16px 30px;
  border-radius: 0;
  border: 1px solid var(--teal);
  transition: transform 0.15s, background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn:hover {
  background: var(--cream); color: var(--navy); border-color: var(--cream);
  transform: translateY(-2px);
}

.link-underline {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 60px;
  font-weight: 600; font-size: 16px;
  padding-bottom: 10px;
  min-width: 235px;
}
.link-underline .arrow { transition: transform 0.2s; }
.link-underline:hover .arrow { transform: translate(4px, -4px); }

/* ---------- Hero (home) ---------- */
.hero {
  padding: 170px 0 90px;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: space-between;
}

.hero h1 {
  font-size: clamp(56px, 9.6vw, 142px);
  letter-spacing: -0.035em;
}

.hero h1 .pill-photo {
  display: inline-block;
  width: 1.38em; height: 0.62em;
  border-radius: 0;
  object-fit: cover; object-position: 50% 22%;
  vertical-align: baseline;
  margin-right: 0.18em;
  transform: translateY(0.06em);
  background: var(--white);
}

.hero-role {
  margin-top: 22px;
  font-size: clamp(22px, 3vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--muted-on-dark);
}
.hero-role .amp { font-style: italic; font-weight: 400; }

.hero .lede {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  max-width: 30em;
  margin-top: 40px;
  color: var(--muted-on-dark);
}

.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; margin-top: 90px; flex-wrap: wrap;
}
.social-row { display: flex; gap: 10px; }

/* ---------- Section heads ---------- */
section { padding: 110px 0; }
.eyebrow { font-size: 15px; font-weight: 600; margin-bottom: 14px; opacity: 0.8; }
.section-head h2 { font-size: clamp(38px, 5.5vw, 72px); }
.section-head { margin-bottom: 56px; }

/* ---------- Project media cards ---------- */
.project-stack { display: grid; gap: 44px; }

.media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 8.4;
  background: #ddd;
}
.media-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.media-card:hover > img { transform: scale(1.03); }

.media-card .bar {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  background: var(--white); color: var(--ink);
  border-radius: 0;
  padding: 26px 30px 30px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px;
}
.media-card .bar h3 { font-size: clamp(18px, 2vw, 25px); margin-bottom: 14px; letter-spacing: -0.02em; }
.media-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.media-card .tag {
  font-size: 13px; font-weight: 500;
  color: #555;
  border: 1px solid var(--line-light);
  border-radius: 0;
  padding: 4px 12px;
  white-space: nowrap;
}
.media-card .go {
  flex: none;
  width: 54px; height: 54px;
  border: 1px solid var(--line-light);
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background 0.2s, color 0.2s;
}
.media-card:hover .go { background: var(--teal); color: var(--navy); }

.all-link {
  display: inline-block; margin-top: 48px;
  font-weight: 600;
  padding-bottom: 4px;
}

/* ---------- Expertise accordion (orange) ---------- */
.skill-rows { border-top: 1px solid rgba(20,20,20,0.25); }
.skill-item { border-bottom: 1px solid rgba(20,20,20,0.25); }
.skill-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; padding: 34px 6px;
  background: none; border: 0; cursor: pointer; color: inherit;
  font-family: inherit; text-align: left;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600; letter-spacing: -0.02em;
}
/* +/- toggle drawn with two bars so it animates cleanly */
.skill-row .plus {
  position: relative; flex: none; width: 24px; height: 24px;
}
.skill-row .plus::before, .skill-row .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.skill-row .plus::before { width: 22px; height: 2px; transform: translate(-50%, -50%); }
.skill-row .plus::after  { width: 2px; height: 22px; transform: translate(-50%, -50%); }
.skill-row[aria-expanded="true"] .plus::after {
  transform: translate(-50%, -50%) scaleY(0); opacity: 0;
}
/* collapsible body */
.skill-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.skill-body > div { overflow: hidden; }
.skill-body p {
  margin: 0; padding: 0 6px 34px; max-width: 68ch;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 400; letter-spacing: normal; line-height: 1.5;
}
.skill-row[aria-expanded="true"] + .skill-body { grid-template-rows: 1fr; }

/* ---------- Clients (white, cycling logo) ---------- */
.clients-card {
  max-width: 900px; margin: 0 auto;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1.3fr;
  min-height: 320px;
  overflow: hidden;
}
.clients-card .left {
  padding: 44px;
  border-right: 1px solid var(--line-light);
  display: flex; flex-direction: column; justify-content: flex-start;
}
.clients-card .left p { color: #555; font-size: 17px; max-width: 24ch; }
.clients-card .right {
  display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: center; justify-items: center;
  gap: 28px 24px; padding: 44px;
}
.clients-card .right img {
  max-height: 60px; max-width: 100%; width: auto;
  opacity: 1;
  filter: brightness(0);
}
.clients-card .right img.lg { max-height: 92px; }
.clients-card .right img.asis { filter: none; }

/* ---------- Let's Talk CTA (navy) ---------- */
.lets-talk { text-align: center; padding: 150px 0; }
.lets-talk .big {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: clamp(56px, 10vw, 128px);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1;
  color: var(--white);
}
.lets-talk .big img {
  width: clamp(90px, 15vw, 225px); height: clamp(40px, 6.6vw, 100px);
  object-fit: cover; object-position: 50% 22%;
  border-radius: 0;
  background: var(--white);
}
.lets-talk p {
  color: var(--white);
  font-size: clamp(18px, 2.2vw, 27px);
  font-weight: 600; line-height: 1.35;
  max-width: 44ch;
  margin: 34px auto 44px;
}

/* ---------- Footer (orange) ---------- */
.site-footer { background: var(--orange); color: var(--ink); padding: 90px 0 60px; }
.footer-email {
  display: inline-block;
  font-size: clamp(44px, 7.5vw, 110px);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1;
}
.footer-logo {
  display: inline-block;
  font-size: 66.5px;
  font-weight: 700; letter-spacing: -0.01em; line-height: 1;
  color: inherit;
}
.footer-row {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 30px;
  margin-top: 40px;
}
.footer-row .social-row .pill { border-color: var(--ink); }
.footer-nav { display: flex; gap: 34px; font-size: 16px; order: -1; }
.footer-nav a { opacity: 0.75; font-weight: 500; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { opacity: 1; font-weight: 600; }
.credit { margin-top: 44px; font-size: 13px; opacity: 0.6; }

/* ---------- Interior page head (dark) ---------- */
.page-head { padding: 170px 0 70px; }
.page-head h1 { font-size: clamp(48px, 7.5vw, 96px); color: var(--muted-on-dark); }

/* ---------- Case study ---------- */
.case-head { padding: 150px 0 10px; }
.back-link {
  display: inline-block;
  font-weight: 600; font-size: 15px;
  color: var(--muted-on-dark);
  margin-bottom: 36px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--cream); }
.case-head h1 { font-size: clamp(44px, 7vw, 92px); color: var(--muted-on-dark); margin-bottom: 60px; }

.case-meta { padding-bottom: 70px; }
.case-meta .row {
  display: flex; justify-content: space-between; gap: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 16px;
}
.case-meta .row:last-child { border-bottom: 1px solid var(--line-dark); }
.case-meta .label { color: var(--muted-on-dark); font-weight: 500; }
.case-meta .value { font-weight: 600; text-align: right; }

.case-media { padding: 70px 0 110px; }
.case-media .inner { display: grid; gap: 34px; }
.case-media img, .case-media .video-embed {
  border-radius: var(--radius-md);
  width: 100%;
}
.video-embed { aspect-ratio: 16 / 9; overflow: hidden; }
.video-embed iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius-md); }

/* ---------- About (cream) ---------- */
.about-hero { padding: 190px 0 60px; text-align: center; }
.about-hero h1 {
  font-size: clamp(52px, 8.5vw, 120px);
  letter-spacing: -0.035em;
}
.about-copy {
  max-width: 900px; margin: 0 auto;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 400; line-height: 1.6;
  text-align: center;
}
.about-copy p { margin-bottom: 24px; }
.about-copy a { text-decoration: underline; text-underline-offset: 4px; }

.about-portrait { max-width: 760px; margin: 8px auto 0; }
.about-portrait img { width: 100%; height: auto; }

.feature {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 60px; align-items: center;
}
.feature img { border-radius: var(--radius-lg); }
.feature h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 20px; }
.feature p { color: #444; font-size: 17.5px; }
.feature p a { text-decoration: underline; text-underline-offset: 3px; }

.timeline { max-width: 1000px; margin: 0 auto; }
.timeline-row {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 30px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line-light);
  font-size: 17px;
}
.timeline-row .years { color: #666; }
.timeline-row .role { font-weight: 600; }

/* ---------- Contact ---------- */
.contact-head { padding: 170px 0 90px; }
.contact-head h1 { font-size: clamp(48px, 7.5vw, 96px); color: var(--muted-on-dark); margin-bottom: 50px; }
.social-stack { display: flex; flex-direction: column; gap: 20px; }
.social-stack a { font-weight: 600; font-size: 17px; color: var(--cream); opacity: 0.85; }
.social-stack a:hover { opacity: 1; }
.social-stack .icon { opacity: 0.5; margin-right: 10px; }

.contact-form-sec h2 { font-size: clamp(34px, 4.5vw, 54px); margin-bottom: 44px; color: #b9b9b9; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; font-size: 14px; color: #777; margin-bottom: 8px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  background: #f4f4f4;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font); font-size: 16px;
  color: var(--ink);
  padding: 16px 18px;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); }
.contact-form textarea { min-height: 190px; resize: vertical; }
.contact-form .btn { justify-self: start; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ---------- Work example (case study) pages ---------- */
/* Scoped to .case-page so the About page's .about-copy is unaffected. */
.case-page .about-copy {
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 400;
  line-height: 1.6;
}
.case-page .about-copy p { margin-bottom: 24px; }

.case-page .case-head { padding: 190px 0 16px; }
.case-page .case-meta { padding-bottom: 8px; }
.case-page .case-media { padding: 0 0 40px; }
.case-page .case-media .inner { gap: 44px; }
.case-page .lets-talk { padding: 70px 0; }

@media (max-width: 860px) {
  .case-page .case-head { padding: 140px 0 16px; }
  .case-page .case-media { padding: 0 0 32px; }
  .case-page .lets-talk { padding: 56px 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .wrap { padding: 0 24px; }
  .menu-overlay { padding: 0 24px; }
  .menu-close { right: 24px; }
  .nav-toggle span { width: 56px; }
  .hero { min-height: 0; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .media-card { aspect-ratio: auto; min-height: 420px; }
  .media-card .bar { flex-direction: column; }
  .media-card .go { display: none; }
  .clients-card { grid-template-columns: 1fr; }
  .clients-card .left { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .feature { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; gap: 4px; }
  .contact-form { grid-template-columns: 1fr; }
  .case-meta .row { flex-direction: column; gap: 4px; }
  .case-meta .value { text-align: left; }
}
