/* Hero subheading */
.hero-subheading {
	text-align: center;
	font-size: 1rem;
	color: #3a3a3a;
	margin-top: -10px;
	margin-bottom: 30px;
}

/* ── Widen grid ── */
.pricing-grid {
	max-width: 1060px !important;
	padding: 50px 20px !important;
}

/* Pricing labels above card titles */
.pricing-label {
	font-size: .65rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #8a7660;
	margin-bottom: 4px;
	margin-top: 0;
}

/* Pricing description */
.pricing-description {
	font-size: .9rem;
	color: #3a3a3a;
	margin-bottom: 20px;
	margin-top: 4px;
}

/* Price display with large main number */
.price .price-main {
	font-size: 2.2rem;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: -.02em;
}

.price .price-range {
	font-size: 1rem;
	font-weight: 400;
	color: #4a4438;
}

/* ── Price option boxes (Launch card) ──
   Use negative margins to "bleed" out beyond the card padding
   so the 3 boxes get the full card width.                     */
.price-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
/* Pull left/right to use full card width despite padding */
	margin: 12px -12px 24px;
	box-sizing: border-box;
}

.price-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid #d4ccbc;
	border-radius: 8px;
	padding: 10px 4px;
	background: #f5f3ef;
	box-sizing: border-box;
	min-width: 0;
	text-align: center;
}

.price-amount {
	font-weight: 600;
	font-size: .95rem;
	color: #1a1a1a;
	display: block;
	white-space: nowrap;
}

.price-pages {
	font-size: .68rem;
	color: #8a7660;
	display: block;
	margin-top: 4px;
	white-space: nowrap;
}

/* Price note styling */
.price-note {
	font-size: .8rem;
	color: #4a4438;
	margin-top: 6px;
	margin-bottom: 20px;
	line-height: 1.5;
}

.price-note-italic {
	font-size: .8rem;
	color: #8a7660;
	font-style: italic;
	margin-top: 16px;
	margin-bottom: 0;
}

/* Feature list with checkmarks */
.pricing-item ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pricing-item ul li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 8px;
	font-size: .9rem;
	color: #2a2a2a;
}

.pricing-item ul li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: #a89684;
	font-weight: bold;
}

/* Add-ons section */
.addons-section {
	background: #ebe6dd;
	border-radius: 16px;
	padding: 36px 40px;
	margin-top: 40px;
	margin-bottom: 20px;
	box-sizing: border-box;
}

.addons-label {
	font-size: .65rem;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: #8a7660;
	margin-bottom: 24px;
	margin-top: 0;
	font-weight: 500;
}

.addon-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid #d4ccbc;
	gap: 16px;
}

.addon-item:last-child {
	border-bottom: none;
}

.addon-info {
	flex: 1;
	min-width: 0;
}

.addon-name {
	font-size: 1rem;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 2px;
	padding: 0;
}

.addon-description {
	font-size: .85rem;
	color: #8a7660;
	margin: 0;
	padding: 0;
}

.addon-price {
	font-size: 1rem;
	font-weight: 500;
	color: #1a1a1a;
	white-space: nowrap;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
}

.addon-price-bold {
	font-weight: 700;
}

/* Footer note */
.footer-note {
	text-align: center;
	font-size: .85rem;
	color: #4a4438;
	margin-top: 24px;
}

/* ── Mobile: single column ── */
@media (max-width: 700px) {
	.pricing-grid {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 20px !important;
		padding: 30px 16px !important;
		max-width: 100% !important;
	}
	
	.pricing-item {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
	
	/* On mobile with full-width cards, negative margin no longer needed */
	.price-options {
		margin-left: 0;
		margin-right: 0;
	}
	
	.addons-section {
		padding: 24px 20px !important;
	}
}

/* === CTC Header (Direction A1) === */
.ctc-header { position: relative; text-align: center; }
.ctc-header-top { width: 100%; }
.ctc-nav { justify-content: center !important; }
.ctc-nav .wp-block-navigation__container { justify-content: center; gap: 2.2em; }
.ctc-nav a { font-family: 'Fraunces', Georgia, serif !important; font-size: 11px !important; letter-spacing: 0.14em; text-transform: uppercase; color: #0f0f0f !important; font-weight: 500 !important; }
.ctc-header-cta { position: absolute; top: 18px; right: 48px; display: inline-block; background: #0f0f0f; color: #f5f3ef !important; font-family: Georgia, serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 12px 22px; border-radius: 4px; text-decoration: none; transition: opacity .2s; }
.ctc-header-cta:hover { opacity: 0.82; }
.ctc-wordmark-wrap { margin-top: 14px; }
.ctc-wordmark-block { text-align: center; }
.ctc-wordmark { display: inline-block; font-family: "Italiana", Georgia, serif; font-weight: 400; font-size: 44px; line-height: 1.1; letter-spacing: 0.01em; color: #0f0f0f !important; text-decoration: none; }
.ctc-tagline-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 4px 0 2px; }
.ctc-tagline-row .ctc-rule { display: inline-block; width: 70px; height: 1px; background: #a89684; opacity: 0.7; }
.ctc-diamond { color: #a89684; font-size: 12px; line-height: 1; }
.ctc-tagline { font-family: "Crimson Pro", Georgia, serif; font-style: italic; font-size: 15px; color: #4a4438; letter-spacing: 0.01em; }
@media (max-width: 782px) {
  .ctc-header-cta { position: static; display: inline-block; margin-top: 12px; right: auto; top: auto; }
  .ctc-wordmark { font-size: 34px; }
  .ctc-tagline-row .ctc-rule { width: 44px; }
}
/* === end CTC Header === */

/* === Portfolio cards: full-bleed image + caption 
* .ctc-port-grid { align-items: stretch !important; row-gap: 2.75rem !important; }
.ctc-port-card { position: relative !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; justify-content: flex-end !important; height: 460px !important; min-height: 460px !important; border: 3px solid rgba(40,30,25,0.55) !important; border-radius: 14px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.10) !important; }
.ctc-port-card-preview { position: absolute !important; inset: 0 !important; height: 100% !important; width: 100% !important; z-index: 0 !important; }
.ctc-port-card-preview img { height: 100% !important; width: 100% !important; object-fit: cover !important; object-position: center center !important; }
.ctc-port-card-bar { display: none !important; }
.ctc-port-card-body { position: relative !important; z-index: 3 !important; margin: 1rem !important; background: rgba(255,255,255,0.85) !important; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); border: 1px solid rgba(255,255,255,0.6) !important; border-radius: 10px !important; padding: 1rem 1.25rem !important; box-shadow: 0 6px 20px rgba(0,0,0,0.18) !important; }

/* ============================================================
   Home layout fixes (cards, eyebrows, hero) — appended
   ============================================================ */

/* ---- Service cards: separate, rounded, mock font mix ---- */
.services-espresso-grid{
  margin-left:0 !important; margin-right:0 !important;
  width:100% !important; max-width:100% !important;
  background:transparent !important; gap:28px !important;
}
.service-espresso-col,
.service-espresso-col:last-child{
  border:1px solid rgba(33,28,22,.08) !important;
  border-radius:10px !important; background:#FCFAF4 !important;
  padding:26px 28px !important;
}
/* card number (01/02/03): sans-serif, upright */
.service-espresso-col .service-espresso-num,
.service-espresso-col > *:first-child{
  font-family:'Hanken Grotesk', sans-serif !important;
  font-style:normal !important; letter-spacing:.12em !important;
}
/* card title stays serif (Fraunces) — no override needed */
/* card description: sans-serif */
.service-espresso-col p{
  font-family:'Hanken Grotesk', sans-serif !important;
  font-size:15px !important; line-height:1.6 !important;
}

/* ---- Pricing cards: separate, rounded ---- */
.pricing-teaser-grid{ gap:24px !important; border:none !important; max-width:1060px !important; }
.pricing-teaser-item,
.pricing-teaser-item:last-child{
  border:1px solid rgba(33,28,22,.08) !important;
  border-radius:10px !important; background:#FCFAF4 !important;
  text-align:left !important; padding:28px 28px !important;
}
/* pricing sublabel stays sans (already Hanken Grotesk) */

/* ---- Section eyebrow labels: 17px -> 15px ---- */
.wp-block-quote p[style*="letter-spacing:0.2em"]{ font-size:15px !important; }

/* ---- Tighten eyebrow-to-heading spacing (match mock) ---- */
.wp-block-quote:has(p[style*="letter-spacing:0.2em"]) h2{ margin-top:10px !important; }
.wp-block-quote:has(p[style*="letter-spacing:0.2em"]) > div:has(> h2){ padding-top:6px !important; }
.how-it-works-section{ padding-top:14px !important; }

/* ---- HERO: two-column split (text left on cream, image card right) ---- */
.hero-full{
  background-image:linear-gradient(rgba(239,234,225,.86),rgba(239,234,225,.92)),url("https://claritytechco.com/wp-content/uploads/2026/06/priscilla-hero-standing.jpg") !important;
  background-size:cover !important;
  background-position:center 30% !important;
  background-repeat:no-repeat !important;
  background-color:#EFEAE1 !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  align-items:center !important;
  gap:48px !important;
  min-height:560px !important;
  padding:64px 72px !important;
}
.hero-full-content{
  max-width:none !important; width:100% !important;
  padding:0 !important; position:relative !important; z-index:2 !important; order:1 !important;
}
.hero-full-overlay{
  position:relative !important; inset:auto !important;
  background-color:transparent !important;
  background-image:url("https://claritytechco.com/wp-content/uploads/2026/06/priscilla-hero-standing.jpg") !important;
  background-size:cover !important; background-repeat:no-repeat !important; background-position:center top !important;
  border-radius:12px !important;
  min-height:420px !important; height:100% !important; width:100% !important;
  box-shadow:0 30px 60px -30px rgba(33,28,22,.45) !important;
  order:2 !important;
}


/* === Mobile fixes (<=782px) ============================== */
@media (max-width: 782px){
  /* Hero: stack into one column (text over image) */
  .hero-full{
    display:flex !important;
    flex-direction:column !important;
    grid-template-columns:none !important;
    gap:28px !important;
    padding:40px 24px !important;
    min-height:0 !important;
    background-image:none !important;
    background-color:#EFEAE1 !important;
  }
  .hero-full-content{ order:1 !important; width:100% !important; }
  .hero-full-overlay{
    order:2 !important;
    width:100% !important;
    min-height:240px !important;
    height:auto !important;
    aspect-ratio:4 / 3 !important;
  }

  /* Service & pricing cards: full width, tighter */
  .services-espresso-grid,
  .pricing-teaser-grid{ grid-template-columns:1fr !important; gap:18px !important; }
  .service-espresso-col{ padding:24px 24px !important; }
}


/* ===== Pricing page refinements: centered header, ala-carte cards, care card ===== */
/* Header: centered stack, keep tagline + diamond, hide CTA only */
.ctc-header {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  gap: 8px;
}
.ctc-wordmark-wrap { order: 0 !important; margin-top: 0 !important; }
.ctc-header-top    { order: 1 !important; width: 100%; }
.ctc-header-cta    { display: none !important; }
.ctc-tagline-row, .ctc-tagline { display: block !important; }
.ctc-nav .current-menu-item a {
  color: #7C3B43 !important;
  border-bottom: 2px solid #7C3B43;
  padding-bottom: 4px;
}

/* Pricing a-la-carte: 5 bordered cards in one row */* Monthly Care Plan: remove negative-margin overflow, clean self-contained card */
[style*="margin-left: -40px"][style*="calc(100% + 80px)"] {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* ctc-header-top centering fix */
.ctc-header-top {
  order: 1 !important;
  width: 100% !important;
  justify-content: center !important;
  margin: 0 auto !important;
}
.ctc-header-top .wp-block-navigation__container,
.ctc-header-top .ctc-nav {
  justify-content: center !important;
}


/* ===== Growth card contrast + ala-carte title fit ===== */
/* Growth (Studio Pick) card has maroon bg #7C3B43 - force all text light & readable */
[style*="#7C3B43"] p,
[style*="#7C3B43"] span,
[style*="#7C3B43"] li,
[style*="#7C3B43"] div {
  color: #FAF8F4 !important;
}
/* keep the white Studio Pick badge text dark on its light pill */
[style*="#7C3B43"] [style*="#0f0f0f"] {
  color: #0f0f0f !important;
}
/* underline/border accents inside Growth card to light tint */
[style*="#7C3B43"] [style*="border-bottom"] {
  border-bottom-color: rgba(250,248,244,.35) !important;
}

/* a-la-carte titles: keep on one line */* ctc-hero-mobile-fix : keep the pricing hero from being cut off on small screens */
@media (max-width: 600px) {
  /* hero inner padding box */
  [style*="padding: 48px 56px 34px"] {
    padding-left: 22px !important;
    padding-right: 22px !important;
    padding-top: 32px !important;
  }
  /* hero stat row: stack the two stats */
  [style*="padding: 48px 56px 34px"] > div[style*="display: flex"][style*="justify-content: center"]:not([style*="flex-wrap"]) {
    flex-direction: column !important;
    gap: 14px !important;
  }
  /* hide the vertical divider between the two stats when stacked */
  [style*="padding: 48px 56px 34px"] > div[style*="display: flex"][style*="justify-content: center"]:not([style*="flex-wrap"]) > div[style*="width: 1px"],
  [style*="padding: 48px 56px 34px"] > div[style*="display: flex"][style*="justify-content: center"]:not([style*="flex-wrap"]) > span[style*="width: 1px"] {
    display: none !important;
  }
  /* hero badge row: allow wrapping so badges are not clipped */
  [style*="flex-wrap: nowrap"] {
    flex-wrap: wrap !important;
    row-gap: 10px !important;
  }
  /* hero heading: ensure it scales down and never overflows */
  [style*="padding: 48px 56px 34px"] h1 {
    font-size: clamp(26px, 8vw, 34px) !important;
  }
}

/* ctc-nav-mobile-underline-fix : underline only the active item TEXT on mobile (not the full nav row) */
@media (max-width: 600px) {
  /* remove the underline from the link box so it cannot stretch across the row */
  .ctc-nav .current-menu-item a,
  .ctc-nav .current_page_item a {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  /* put the underline on the inner text label so it hugs the word */
  .ctc-nav .current-menu-item a .wp-block-navigation-item__label,
  .ctc-nav .current_page_item a .wp-block-navigation-item__label {
    display: inline !important;
    border-bottom: 2px solid var(--ctc-accent) !important;
    padding-bottom: 3px !important;
  }
}


/* === ctc-header-cta-restore : bring the "Start a Conversation" CTA back into the top-right corner === */
.ctc-header { position: relative !important; }
header .ctc-header-cta,
.ctc-header .ctc-header-cta {
  display: inline-block !important;
  position: absolute !important;
  top: 22px !important;
  right: 40px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  order: 0 !important;
  z-index: 5 !important;
  background: #0f0f0f !important;
  color: #F5F3EF !important;
  padding: 10px 22px !important;
  border-radius: 0 !important;
  white-space: nowrap !important;
}
/* On small screens, drop it below the nav and center it so it never overlaps the wordmark */
@media (max-width: 782px) {
  header .ctc-header-cta,
  .ctc-header .ctc-header-cta {
    position: static !important;
    display: inline-block !important;
    margin: 12px auto 4px !important;
    order: 2 !important;
  }
}

/* Center all sparkle section headings (fixes off-center -40px inline margins on mobile) */
.wp-block-quote > div[style*="margin-left:-40px"],
.wp-block-quote > div[style*="margin-left: -40px"],
.why-grid-section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Center the main navigation menu */
.ctc-header-top.ctc-header-top {
  justify-content: center !important;
}


/* ---- START PAGE (page-id-1087): move Founding Client Offer higher on mobile ---- */
@media (max-width: 782px) {
  .page-id-1087 .cs-page {
    display: flex !important;
    flex-direction: column !important;
  }
  .page-id-1087 .cs-page .topbar { order: 1 !important; }
  .page-id-1087 .cs-page .hero { order: 2 !important; }
  .page-id-1087 .cs-page .ctc-founding-band { order: 3 !important; }
  .page-id-1087 .cs-page .cta-wrap { order: 4 !important; }
  .page-id-1087 .cs-page .pills { order: 5 !important; }
  .page-id-1087 .cs-page .work { order: 6 !important; }
  .page-id-1087 .cs-page .trust { order: 7 !important; }
  .page-id-1087 .cs-page .final { order: 8 !important; }
  .page-id-1087 .cs-page .ftr { order: 9 !important; }
}

/* ---- START PAGE (page-id-1087): photo beside welcome text ---- */
.page-id-1087 .cs-page .hero {
  position: relative !important;
  text-align: left !important;
  padding-left: 46% !important;
  min-height: 460px !important;
  display: block !important;
}
.page-id-1087 .cs-page .hero::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 38%;
  height: 80%;
  max-height: 520px;
  border-radius: 14px;
  background-image: url('https://claritytechco.com/wp-content/uploads/2026/06/casual-0758.jpg');
  background-size: cover;
  background-position: 50% 15%;
  background-repeat: no-repeat;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.page-id-1087 .cs-page .hero .eyebrow,
.page-id-1087 .cs-page .hero h1,
.page-id-1087 .cs-page .hero p {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}
/* Mobile: stack photo on top of text */
@media (max-width: 782px) {
  .page-id-1087 .cs-page .hero {
    padding-left: 0 !important;
    text-align: center !important;
    min-height: 0 !important;
    padding-top: 28px !important;
  }
  .page-id-1087 .cs-page .hero::before {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    display: block;
    width: 200px;
    height: auto;
    aspect-ratio: 4 / 5;
    margin: 0 auto 22px auto;
  }
  .page-id-1087 .cs-page .hero .eyebrow,
  .page-id-1087 .cs-page .hero h1,
  .page-id-1087 .cs-page .hero p {
    text-align: center !important;
  }
}

/* ---- START PAGE: animated 'See Founding Offer' pill ---- */
html { scroll-behavior: smooth; }
.page-id-1087 .cs-page .hero { position: relative !important; }
@keyframes ctcSeeOfferBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.page-id-1087 .ctc-see-offer {
  position: absolute;
  left: 40px;
  bottom: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #7c3b43;
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  white-space: nowrap;
  animation: ctcSeeOfferBounce 1.6s ease-in-out infinite;
  transition: background .2s ease, transform .2s ease;
}
.page-id-1087 .ctc-see-offer:hover { background: #5e2c33; }
.page-id-1087 .ctc-see-offer .ctc-see-offer-arw { font-size: 15px; line-height: 1; }
/* Mobile: pill ABOVE the photo (photo is stacked on top of text) */
@media (max-width: 782px) {
  .page-id-1087 .ctc-see-offer {
    position: static;
    left: auto;
    bottom: auto;
    order: -1;
    align-self: center;
    margin: 0 auto 16px auto;
  }
  .page-id-1087 .cs-page .hero { display: flex !important; flex-direction: column !important; }
}
@media (prefers-reduced-motion: reduce) {
  .page-id-1087 .ctc-see-offer { animation: none; }
}

/* Fix founding offer anchor scroll: clear the sticky header (~114px) so the link lands on the offer, not past it */
#founding-offer {
  scroll-margin-top: 130px;
}

/* Contact page founder portrait: keep it a tasteful, constrained size */
.ctc-contact-portrait {
  max-width: 360px !important;
  margin: 0 auto 28px !important;
}
.ctc-contact-portrait img {
  border-radius: 14px;
}

/* ===================== CLAUDE MOBILE FIXES ===================== */
/* 1) Hero trust pills: wrap cleanly on small screens instead of
      overflowing / getting cut off on the right edge. */
@media (max-width: 600px){
  .hero-badges{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    row-gap:4px !important;
    column-gap:2px !important;
    max-width:100% !important;
    padding:8px 10px !important;
  }
  .hero-badge{
    flex:0 1 auto !important;
    padding:6px 12px !important;
    font-size:12px !important;
    border-right:none !important;   /* drop the rigid vertical dividers when wrapping */
  }
  .hero-badge:last-child{ border-right:none !important; }
}

/* 2) Hero photo on mobile: make sure the faint full-bleed background
      photo is removed and the dedicated photo card shows cleanly
      (reinforces the existing <=782px rule, covers smaller phones too). */
@media (max-width: 600px){
  .hero-full{
    background-image:none !important;
    background-color:#EFEAE1 !important;
  }
  .hero-full-overlay{
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:4 / 3 !important;
    background-position:center 25% !important;
    border-radius:14px !important;
  }
}

/* 3) Contact page: collapse the four "ways to work together" items
      into a tidy 2-column block instead of one tall stacked list. */
@media (max-width: 600px){
  .entry-content div[style*="gap:36px"]{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px 14px !important;
    max-width:340px !important;
    padding-top:18px !important;
  }
  .entry-content div[style*="gap:36px"] > span{
    margin:0 !important;
    font-size:12px !important;
    justify-content:flex-start !important;
  }
}

/* 4) Founding-offer pill: tighten so it wraps to a clean two lines
      on mobile instead of an awkward three-line break. */
@media (max-width: 600px){
  .ctc-home-founding{
    font-size:11px !important;
    letter-spacing:1.2px !important;
    padding:11px 20px !important;
    gap:7px !important;
    max-width:100% !important;
    text-align:center !important;
    line-height:1.35 !important;
  }
  .ctc-home-founding .ctc-hf-amt{ white-space:nowrap !important; }
}

/* =================== END CLAUDE MOBILE FIXES =================== */

/* Hide featured image on homepage (kept for social share / og:image) */
body.page-id-27 .wp-block-post-featured-image { display: none !important; }
