/* Agency-only refinements. Shared Frankly branding and navigation stay intact. */
.presence-process li::before { content: none; }
.process-number { display: block; color: #a34200; font-weight: 800; }
.presence-package .contact-button { margin-top: 8px; padding: 14px 20px; min-height: 48px; }
.presence-services .service-eligibility { font-size: .9rem; line-height: 1.5; }
.presence-faq p a { text-decoration: underline; text-underline-offset: 3px; }
.inquiry-status { padding: 16px; border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: 8px; line-height: 1.6; }
.inquiry-status[data-state="error"] { border-color: #a63423; color: #7b251a; background: #fff7f4; }
.inquiry-status[data-state="success"] { border-color: #30633d; color: #244c2e; background: #f4faf5; }
.inquiry-status:focus { outline: 3px solid var(--ink); outline-offset: 3px; }
.inquiry-status[hidden] { display: none; }
.presence-page .support-form button:disabled { opacity: .7; cursor: wait; transform: none; }

/* Section navigation follows the complete hero; the header keeps a quiet support link. */
.presence-header-links { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.presence-support-link { color: var(--muted); font-size: .8rem; font-weight: 600; line-height: 1.4; padding: 3px 0; }
.presence-hero { padding-top: 32px; }
.presence-nav { position: static; margin-top: 28px; padding: 8px 0; gap: 2px 26px; }
.presence-nav a { line-height: 1.4; white-space: nowrap; }
.presence-nav + .websites-intro { margin-top: 24px; }
@media (max-width: 720px) {
  .presence-header-links { align-items: flex-start; gap: 8px; max-width: 100%; }
  .presence-hero { padding-top: 24px; }
  .presence-nav { margin-top: 24px; padding: 6px 0; column-gap: 20px; }
}

/* Compact service cards, using the agency's existing 900px and 600px breakpoints. */
#services .presence-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#services .presence-services .website-service { grid-column: auto; min-height: 0; padding: 18px 20px; display: flex; flex-direction: column; align-items: flex-start; }
#services .service-icon { flex: 0 0 auto; width: 24px; height: 24px; margin-bottom: 12px; color: #b84c00; }
#services .website-service h3 { line-height: 1.25; }
#services .website-service p { margin: 10px 0 0; font-size: 1rem; line-height: 1.6; }
#services .presence-support-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: 12px 24px; margin-top: 14px; padding: 16px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; background: rgba(255, 255, 255, .58); }
#services .presence-support-strip h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
#services .presence-support-strip p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
@media (max-width: 900px) {
  #services .presence-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #services .presence-services { grid-template-columns: minmax(0, 1fr); }
  #services .presence-support-strip { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* Package typography and spacing, scoped to this section. */
#packages .presence-package { padding: 22px; }
#packages .presence-package > .section-kicker { margin: 0 0 8px; }
#packages .presence-package h3 { font-family: inherit; font-size: 1.7rem; font-weight: 800; line-height: 1.15; text-transform: none; }
#packages .presence-package > p:not(.section-kicker) { margin: 8px 0 0; }
#packages .presence-package ul { margin: 14px 0 18px; }
#packages .presence-package li + li { margin-top: 8px; }
#packages .presence-package .contact-button { margin-top: 0; }
#packages .package-proposal-note { margin: 20px 0 0; color: var(--ink); font-size: 1rem; }
#packages > .presence-note { margin-top: 8px; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    #packages .presence-packages { grid-template-rows: auto auto auto 1fr auto; }
    #packages .presence-package { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 10px; align-items: start; justify-items: start; }
    #packages .presence-package > .section-kicker,
    #packages .presence-package > p:not(.section-kicker) { margin: 0; }
    #packages .presence-package ul { margin: 4px 0 8px; }
    #packages .presence-package .contact-button { align-self: end; }
  }
}

/* Locally captured homepages keep their full, consistent viewport proportions. */
#recent-work .client-preview,
#recent-work .preview-art-body { min-height: 0; }
#recent-work .client-preview-art { width: 100%; height: auto; aspect-ratio: 1280 / 900; object-fit: contain; }
#recent-work .project-visit-link { margin-top: auto; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 4px; }
.presence-how-it-works + .presence-faq { margin-top: clamp(36px, 5vw, 56px); }

/* Native FAQ accordion: compact rows with decorative state icons. */
.presence-faq { max-width: 960px; }
.presence-faq .section-heading { max-width: none; }
.presence-faq details { padding: 0; }
.presence-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; list-style: none; }
.presence-faq summary::-webkit-details-marker { display: none; }
.presence-faq summary::marker { content: ""; }
.presence-faq .faq-toggle { position: relative; flex: 0 0 18px; width: 18px; height: 18px; margin-right: 4px; color: var(--ink); }
.presence-faq .faq-toggle svg { display: block; width: 18px; height: 18px; }
.presence-faq .faq-toggle .faq-minus { display: none; }
.presence-faq details[open] .faq-toggle .faq-plus { display: none; }
.presence-faq details[open] .faq-toggle .faq-minus { display: block; }
.presence-faq details p { max-width: none; margin: 0 0 16px; }
.presence-faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* One inquiry section, progressively enhanced without removing the HTML forms. */
.presence-inquiry .inquiry-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.presence-inquiry .inquiry-choice { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 12px; background: rgba(255, 255, 255, .65); }
.presence-inquiry .inquiry-choice h3 { margin: 0; font-size: 1.3rem; line-height: 1.3; }
.presence-inquiry .inquiry-choice p { margin: 10px 0 18px; color: var(--muted); line-height: 1.6; }
.presence-inquiry .inquiry-choice .contact-button { margin-top: auto; padding: 12px 18px; min-height: 48px; font: inherit; font-weight: 800; cursor: pointer; }
.presence-inquiry .inquiry-choice .contact-button[hidden],
.presence-inquiry .inquiry-panel[hidden],
.presence-inquiry.inquiry-enhanced .inquiry-fallback { display: none; }
.presence-inquiry.inquiry-enhanced .inquiry-choice { cursor: pointer; }
.presence-inquiry .inquiry-choice.is-selected { border-color: var(--ink); border-top-color: var(--accent); background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.presence-inquiry .inquiry-panel { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .65); }
.presence-inquiry .support-section-heading { margin-bottom: 20px; }
.presence-inquiry .support-section-heading h3 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.8rem); line-height: 1.3; scroll-margin-top: 24px; }
.presence-inquiry .support-section-heading h3:focus { outline: 3px solid var(--ink); outline-offset: 5px; border-radius: 2px; }
.presence-inquiry .support-section-heading p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }
.presence-inquiry > .inquiry-contact { margin: 18px 0 0; }
.presence-inquiry .inquiry-contact a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .presence-inquiry .inquiry-choices { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .presence-inquiry .inquiry-choice { padding: 18px; }
  .presence-inquiry .inquiry-panel { padding: 18px; }
  .presence-inquiry .inquiry-choice .contact-button { white-space: normal; }
}

/* Lucide outline icons share the services' restrained orange accent. */
.presence-page .inline-icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; vertical-align: -2px; }
.presence-inquiry .inquiry-choice h3 { display: flex; align-items: flex-start; gap: 10px; }
.presence-inquiry .inquiry-choice-icon { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 1px; color: #b84c00; }

/* Share the tallest description row on desktop; stacked cards retain natural flow. */
@media (min-width: 901px) {
  #packages .presence-package > p:not(.section-kicker) { min-block-size: 3.3em; }
  @supports (grid-template-rows: subgrid) {
    #packages .presence-package > .section-kicker { grid-row: 1; }
    #packages .presence-package h3 { grid-row: 2; }
    #packages .presence-package > p:not(.section-kicker) { grid-row: 3; align-self: stretch; }
    #packages .presence-package ul { grid-row: 4; }
    #packages .presence-package .contact-button { grid-row: 5; }
  }
  @supports not (grid-template-rows: subgrid) {
    #packages .presence-package > p:not(.section-kicker) { min-block-size: 4.95em; }
  }
}


/* Share feature rows across desktop packages, including wrapped bullets. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    #packages .presence-packages { grid-template-rows: auto auto auto repeat(5, auto) auto; }
    #packages .presence-package { grid-row: span 9; }
    #packages .presence-package ul { display: grid; grid-row: 4 / span 5; grid-template-rows: subgrid; row-gap: 8px; align-self: stretch; }
    #packages .presence-package ul li { margin: 0; align-self: start; }
    #packages .presence-package .contact-button { grid-row: 9; }
  }
}

/* A simple two-line hero, with portfolio examples retained in Our Work. */
.presence-hero { grid-template-columns: minmax(0, 1fr); }
.presence-hero h1 { font-size: clamp(1.5rem, 7.3vw, 5.4rem); line-height: 1.05; }
.presence-hero h1 > span { display: block; }
.presence-hero h1 .hero-tagline-main { color: var(--ink); }
.presence-hero .presence-lede { max-width: 760px; }

/* Individually quoted projects stay separate from the online presence packages. */
.custom-projects .custom-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.custom-projects .custom-project-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 10px; background: #fff; }
.custom-projects .custom-project-icon { flex: 0 0 24px; margin-bottom: 12px; color: #b84c00; }
.custom-projects h3 { margin: 0; font-size: 1.3rem; line-height: 1.3; }
.custom-projects .custom-project-card p { margin: 10px 0 20px; color: var(--muted); }
.custom-projects .custom-project-card .contact-button { margin-top: auto; }
.custom-projects .custom-project-note { margin-top: 16px; }
@media (max-width: 600px) {
  .custom-projects .custom-project-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .custom-projects .custom-project-card { padding: 18px; }
}

/* Individual services and custom projects use the existing inquiry infrastructure. */
#packages .individual-service-link { text-decoration: underline; text-underline-offset: 3px; }
.presence-inquiry .project-inquiry-entry { margin: 16px 0 0; }
.presence-inquiry .project-inquiry-trigger { border: 0; background: transparent; color: var(--ink); padding: 8px 0; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.presence-inquiry .project-inquiry-trigger[aria-pressed="true"] { color: #a34200; }
.presence-inquiry .project-inquiry-trigger[hidden] { display: none; }
.presence-inquiry .project-inquiry-entry > a { text-decoration: underline; text-underline-offset: 3px; }

/* Public pricing placeholder, separate from draft internal estimating rates. */
#packages .package-pricing-placeholder { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--accent); border-radius: 8px; background: rgba(255, 255, 255, .65); }
#packages .package-pricing-placeholder h3 { margin: 0 0 6px; font: inherit; font-size: 1.05rem; font-weight: 800; }
#packages .package-pricing-placeholder p { margin: 0; color: var(--muted); }

/* A readable complete price sheet, using the existing agency design tokens. */
.pricing-page .pricing-hero { padding-top: 32px; }
.pricing-page .pricing-back { display: inline-block; margin-bottom: 28px; color: var(--muted); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.pricing-page .pricing-hero h1 { margin: 10px 0 16px; font-family: inherit; font-size: clamp(2.3rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.05; }
.pricing-page .pricing-intro { max-width: 760px; color: var(--muted); font-size: 1.15rem; }
.pricing-page .pricing-preview-note { max-width: 800px; padding: 12px 16px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.65); color: var(--muted); }
.pricing-page .pricing-category-nav a { white-space: normal; }
.pricing-column-headings, .pricing-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) minmax(0, 1.7fr); gap: 20px; align-items: start; }
.pricing-column-headings { padding: 0 20px 12px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.pricing-rows { overflow: hidden; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 10px; background: white; }
.pricing-row { padding: 20px; }
.pricing-row + .pricing-row { border-top: 1px solid var(--line); }
.pricing-row h3 { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.pricing-row .pricing-amount { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.5; }
.pricing-row .pricing-scope p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.pricing-row-action { display: inline-block; margin-top: 10px; font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pricing-category-cta { margin-top: 18px; }
.pricing-terms .pricing-work-rate { font-weight: 700; }
.pricing-terms ul { max-width: 900px; padding-left: 20px; color: var(--muted); line-height: 1.65; }
.pricing-terms li + li { margin-top: 8px; }
.pricing-page .pricing-contact { margin-top: 18px; }
@media (max-width: 600px) {
  .pricing-column-headings { display: none; }
  .pricing-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px; }
  .pricing-row .pricing-amount { color: #a34200; }
  .pricing-page .pricing-hero { padding-top: 24px; }
}

/* Updated bundle fees retain shared card rows and naturally flowing mobile cards. */
#packages .package-price { color: var(--ink); line-height: 1.4; }
#packages .package-price strong { font-size: 1.55rem; font-weight: 800; }
#packages .package-price span { font-size: .95rem; }
#packages .package-price small { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; }
#packages .bundle-pricing-notes { margin-top: 18px; max-width: 1000px; color: var(--muted); font-size: .9rem; }
#packages .bundle-pricing-notes p { margin: 0; }
#packages .bundle-pricing-notes p + p { margin-top: 8px; }
.custom-projects .custom-pricing-link { margin-bottom: 16px; font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    #packages .presence-packages { grid-template-rows: auto auto auto auto repeat(5, auto) auto; }
    #packages .presence-package { grid-row: span 10; }
    #packages .presence-package .package-price { grid-row: 3; }
    #packages .presence-package > p:not(.section-kicker) { grid-row: 4; }
    #packages .presence-package ul { grid-row: 5 / span 5; }
    #packages .presence-package .contact-button { grid-row: 10; }
  }
}

/* Navy section breaks echo the Frankly partnership site's visual rhythm. */
.presence-page .navy-section { padding: clamp(20px, 3vw, 32px); border-radius: 12px; border-top: 4px solid var(--accent); background: var(--ink); color: #fff; }
.presence-page .navy-section > .section-heading h2 { color: #fff; }
.presence-page .navy-section .section-kicker { color: #ffa05a; }
.presence-page .navy-section > .presence-note { color: #c7d1de; }
.presence-page .navy-section .pricing-column-headings { color: #c7d1de; }
.presence-page .navy-section .pricing-rows,
.presence-page .navy-section .custom-project-card { color: var(--ink); }
.presence-page .navy-section .pricing-rows { border-color: #d8dfe7; }
.presence-page .navy-section .custom-project-card { border-color: #d8dfe7; border-top-color: var(--accent); }
#services .navy-support-strip { background: var(--ink); border-color: var(--ink); border-left-color: var(--accent); }
#services .navy-support-strip h3 { color: #fff; }
#services .navy-support-strip p { color: #c7d1de; }
/* Reuse Frankly's existing textured navy artwork on the Digital homepage only. */
.presence-page #custom-projects.navy-section {
  background-image: linear-gradient(rgba(8, 32, 62, .70), rgba(8, 32, 62, .70)), url("./assets/home-apps-teaser-wide.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#services .navy-support-strip {
  background-image: linear-gradient(rgba(8, 32, 62, .78), rgba(8, 32, 62, .78)), url("./assets/home-apps-teaser-wide.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Compact starting-price presentation, scoped to the pricing page. */
.pricing-page .simple-pricing-section { position: relative; margin-top: 44px; }
.pricing-page .simple-pricing-section .section-heading { margin-bottom: 16px; }
.pricing-page .simple-pricing-section .section-heading p { max-width: 760px; color: var(--muted); }
.pricing-page .simple-price-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 10px; background: #fff; }
.pricing-page .simple-price-card ul { margin: 0 0 20px; padding-left: 20px; }
.pricing-page .simple-price-card li + li { margin-top: 8px; }
.pricing-page .simple-bundle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.pricing-page .simple-bundle-grid .simple-price-card { display: flex; flex-direction: column; align-items: flex-start; }
.pricing-page .simple-price-card h3 { margin: 0; font: inherit; font-size: 1.5rem; font-weight: 800; }
.pricing-page .simple-price { font-weight: 800; color: var(--ink); }
.pricing-page .simple-bundle-grid .contact-button { margin-top: auto; }
.pricing-page .simple-bundle-grid p { margin: 14px 0; }
.pricing-page .simple-bundle-grid .presence-note { margin-top: 0; }
.pricing-page .pricing-anchor { position: absolute; top: 0; scroll-margin-top: 24px; }
.pricing-page .pricing-terms > p { max-width: 800px; }
@media (max-width: 760px) { .pricing-page .simple-bundle-grid { grid-template-columns: minmax(0,1fr); } .pricing-page .simple-price-card { padding: 18px; } .pricing-page .simple-pricing-section { margin-top: 32px; } }
.pricing-page .pricing-hero .pricing-intro { padding: 0; border: 0; border-radius: 0; background: transparent; }
.pricing-page .pricing-terms { margin-top: 40px; }
/* Share content rows so wrapped prices do not offset bundle descriptions. */
@media (min-width: 761px) {
  .pricing-page .simple-bundle-grid { row-gap: 0; }
  .pricing-page .simple-bundle-grid .simple-price-card {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    align-items: start;
    justify-items: start;
  }
  .pricing-page .simple-bundle-grid h3 { grid-row: 1; }
  .pricing-page .simple-bundle-grid .simple-price { grid-row: 2; }
  .pricing-page .simple-bundle-grid p:not(.simple-price):not(.presence-note) { grid-row: 3; }
  .pricing-page .simple-bundle-grid .presence-note { grid-row: 4; }
  .pricing-page .simple-bundle-grid .contact-button { grid-row: 5; align-self: end; margin-top: 16px; }
}
