/* Portfolio presentation extends the existing First Conversation Co. brand. */
:root { --paper: #f3f6fa; --muted: #4e6073; }
body { font-size: 1rem; line-height: 1.55; }
img { max-width: 100%; }
section[id], main[id] { scroll-margin-top: 7rem; }
a:focus-visible { outline: 3px solid #c95c08; outline-offset: 5px; }
.site-header a:focus-visible, .hero a:focus-visible { outline-color: #ffb566; }
.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 100; padding: .8rem 1rem; background: white; color: var(--navy); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 5.25rem; height: auto; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { min-width: 0; }
.brand small { font-size: .875rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; font-size: .875rem; font-weight: 650; }
.site-nav a { color: #cdd8e4; padding: .3rem 0; }
.site-nav a:hover { color: white; }
.header-phone { white-space: nowrap; font-size: .875rem; }
.launch-notice { background: #eaf0f6; color: #253e58; border-bottom: 1px solid #d5dfeb; font-size: .875rem; }
.hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; padding-top: 4.5rem; padding-bottom: 5rem; }
.hero-copy, .hero-project { min-width: 0; }
.hero h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); line-height: 1.06; letter-spacing: -.045em; overflow-wrap: anywhere; }
.hero h1 span { color: #ffa851; }
.hero-lede { font-size: 1.125rem; line-height: 1.7; max-width: 32rem; }
.service-overview { max-width: 34rem; margin: 1.2rem 0 0; color: #cdd8e4; font-size: 1rem; line-height: 1.7; }
.service-overview a { color: #ffb566; text-decoration: underline; text-underline-offset: .2em; }
.remote-support { background: #fff; }
.support-card[id] { scroll-margin-top: 8rem; }
.support-card h3 { margin-top: 1rem; font-size: 1.4rem; }
.support-card > .support-price { margin: .7rem 0 1rem; color: var(--navy); font-size: 1.45rem; font-weight: 800; line-height: 1.35; }
.support-price span { font-size: .9375rem; font-weight: 650; }
.offer-grid.support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.support-grid .offer-card:last-child { grid-column: auto; }
.support-card > p:not(.eyebrow):not(.fit):not(.support-price) { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.support-card .fit { font-size: .9375rem; }
.support-note { margin-top: 2rem; padding: 1.5rem; background: var(--paper); border-left: 3px solid var(--orange); border-radius: 0 .6rem .6rem 0; }
.support-note p { max-width: 62rem; margin: 0 0 1rem; font-size: 1rem; line-height: 1.65; }
.location { font-size: .875rem; padding: .55rem .85rem; line-height: 1.5; }
.quick-facts { font-size: .875rem; gap: .55rem 1.1rem; }
.hero-project { overflow: hidden; border: 1px solid #526074; border-radius: 1.2rem; background: #132c45; box-shadow: 0 18px 45px #0003; }
.project-browser { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; color: #cdd8e4; }
.project-browser > span { width: .45rem; height: .45rem; border-radius: 50%; background: #71859b; }
.project-browser p { margin: 0 0 0 .5rem; font-size: .8125rem; }
.project-preview { display: block; height: 21rem; overflow: hidden; background: #faf8f2; }
.project-preview img { display: block; width: 100%; height: auto; }
.project-preview.project-preview-client { height: auto; aspect-ratio: 1440 / 663; }
.hero-project-caption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem; }
.hero-project-caption strong { font-size: 1rem; }
.hero-project-caption p { margin: .3rem 0 0; color: #c5d1df; font-size: .8125rem; }
.hero-project-caption > a { flex-shrink: 0; font-size: .875rem; font-weight: 750; color: #ffb566; }
.section { padding-top: 5rem; padding-bottom: 5rem; }
.section h2, .contact-band h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.13; letter-spacing: -.035em; }
.eyebrow { font-size: .875rem; letter-spacing: .1em; }
.section-intro > p:last-child { font-size: 1.0625rem; color: var(--muted); }
.selected-work { background: white; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.work-card { min-width: 0; overflow: hidden; border: 1px solid #d8e1eb; border-radius: 1rem; background: white; }
.work-card-client { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.work-card-client .work-image { height: 100%; min-height: 0; display: flex; align-items: center; background: #eef3ea; border-bottom: 0; border-right: 1px solid #d8e1eb; }
.work-card-client .work-card-body { padding: 2rem; align-self: center; }
.work-card-client .project-scope { margin-top: .85rem; font-size: .875rem; }
.work-card-owned { background: var(--navy); color: white; border-color: var(--navy); }
.owned-project-mark { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 2rem; min-height: 17rem; background: linear-gradient(135deg, #0b233c, #174869); border-bottom: 1px solid #ffffff20; }
.owned-project-mark > span { font-size: 1.5rem; line-height: 1.25; font-weight: 800; letter-spacing: -.03em; }
.owned-project-mark small { display: block; margin-top: .65rem; font-size: .875rem; font-weight: 550; color: #c3d4e3; letter-spacing: 0; }
.work-image { display: block; height: 17rem; overflow: hidden; background: #faf8f2; border-bottom: 1px solid #d8e1eb; }
.work-image img { display: block; width: 100%; height: auto; }
.work-card-body { padding: 1.75rem; }
.project-kind { margin: 0; color: #85511b; font-size: .875rem; font-weight: 750; }
.work-card-owned .project-kind { color: #ffb566; }
.work-card h3 { margin: .65rem 0 .9rem; font-size: 1.6rem; letter-spacing: -.025em; line-height: 1.25; }
.work-card-body > p:not(.project-kind) { color: var(--muted); margin: 0; }
.work-card-owned .work-card-body > p:not(.project-kind) { color: #cedae6; }
.project-tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.35rem 0 1.75rem; list-style: none; }
.project-tags li { padding: .3rem .65rem; border-radius: .4rem; background: #edf2f7; color: #354d65; font-size: .8125rem; font-weight: 650; }
.work-card-owned .project-tags li { background: #ffffff12; color: #cfdeeb; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; font-size: 1rem; font-weight: 750; border-bottom: 1px solid currentColor; padding-bottom: .15rem; }
.text-link:hover { color: var(--orange-dark); }
.work-card-owned .text-link { color: #ffb566; }
.offers { background: var(--paper); }
.offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer-card { min-width: 0; border-radius: 1rem; }
.offer-top { flex-wrap: wrap; }
.price span { font-size: .8125rem; }
.popular { font-size: .875rem; letter-spacing: .04em; }
.problem-strip { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; }
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-grid li { min-width: 0; padding: 1.4rem; }
.process-grid p { font-size: 1rem; }
.boundaries { background: #e6edf5; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; }
.boundary-grid p { font-size: 1rem; }
.proof { max-width: 1180px; grid-template-columns: 240px minmax(0, 1fr); gap: 3rem; }
.proof > img { width: min(240px, 100%); height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 1rem; }
.proof > div > p:not(.eyebrow) { font-size: 1.0625rem; color: var(--muted); }
.proof .text-link { margin-top: 1.5rem; }
.contact-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; }
.contact-lede { max-width: 35rem; margin: 1.25rem 0; font-size: 1.0625rem; }
.contact-band .actions { margin-top: 1.75rem; }
.contact-band .start-card { border: 1px solid #ffffff65; border-radius: 1rem; padding: 1.5rem; box-shadow: none; background: #ffffffd9; }
.contact-band .message-list { padding: 0; margin: .8rem 0; background: none; }
.contact-band .message-list ul { margin: 0; }
.privacy-note { color: #4f5f70; font-size: .875rem; }
.contact-email, .flyer-share { max-width: 38rem; font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.contact-email a, .flyer-share a { text-decoration: underline; text-underline-offset: .2em; font-weight: 700; }
footer { align-items: center; flex-wrap: wrap; line-height: 1.6; }
footer a { color: #ffb566; }
@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; gap: .7rem 1.5rem; }
  .site-nav { order: 3; width: 100%; justify-content: flex-start; gap: 1.5rem; }
  .hero { gap: 2rem; }
  .hero h1 { font-size: clamp(2.6rem, 5.3vw, 4rem); }
  .hero-project-caption { display: block; }
  .hero-project-caption > a { display: inline-block; margin-top: .65rem; }
  .offer-grid, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-card:last-child { grid-column: 1 / -1; }
  .problem-strip, .boundaries { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 3rem; padding-bottom: 3.5rem; }
  .hero h1 { font-size: clamp(2.7rem, 9vw, 4.3rem); }
  .hero-project { transform: none; max-width: 36rem; width: 100%; }
  .project-preview { height: 22rem; }
  .hero-project-caption { display: flex; }
  .hero-project-caption > a { margin-top: 0; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-card-client { grid-template-columns: minmax(0, 1fr); }
  .work-card-client .work-image { height: auto; min-height: 0; aspect-ratio: 1440 / 663; border-right: 0; border-bottom: 1px solid #d8e1eb; }
  .proof { grid-template-columns: minmax(0, 1fr); }
  .contact-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .brand strong { font-size: .9rem; }
  .brand img { width: 34px; height: 34px; }
  .header-phone { display: none; }
  .site-header { padding-top: .85rem; padding-bottom: .85rem; }
  .site-nav { justify-content: space-between; gap: .5rem; font-size: .875rem; }
  .hero h1 { font-size: clamp(2.55rem, 11vw, 3.9rem); }
  .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .section h2, .contact-band h2 { font-size: 2rem; }
  .project-preview { height: 17rem; }
  .hero-project-caption { display: block; }
  .hero-project-caption > a { margin-top: .7rem; }
  .owned-project-mark { padding: 1.5rem; gap: .75rem; min-height: 13rem; }
  .owned-project-mark img { width: 60px; height: 60px; }
  .owned-project-mark > span { font-size: 1.15rem; }
  .work-image { height: 13rem; }
  .work-card-body { padding: 1.5rem; }
  .offer-grid, .offer-grid.support-grid, .process-grid { grid-template-columns: minmax(0, 1fr); }
  .offer-card:last-child { grid-column: auto; }
  .contact-band { padding-top: 3.5rem; padding-bottom: 3.5rem; gap: 2rem; }
  footer { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .hero-project { transform: none; } }

/* Compact service browsing keeps the original copy inside native disclosures. */
section[id], main[id], .support-card[id] { scroll-margin-top: var(--header-offset, 9rem); }
.offer-grid, .offer-grid.support-grid { align-items: start; gap: 1rem; margin-top: 2rem; }
.offer-grid .offer-card { padding: 0; overflow: visible; }
.offer-grid .offer-card:last-child { grid-column: auto; }
.service-details { border-radius: inherit; }
.service-summary { position: relative; display: flex; flex-direction: column; min-height: 10rem; border-radius: inherit; cursor: pointer; list-style: none; }
.service-summary::-webkit-details-marker { display: none; }
.service-summary::after { content: ''; position: absolute; right: 1.25rem; bottom: 1.4rem; width: .55rem; height: .55rem; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); }
.service-details[open] > .service-summary::after { transform: rotate(225deg); bottom: 1.1rem; }
.service-summary:hover { background: #f3f6fa; }
.service-summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.service-summary-content { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: .75rem; padding: 1.25rem 3rem 1.25rem 1.25rem; }
.service-name { display: block; font-size: 1.0625rem; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.service-price { display: block; color: var(--navy); font-size: 1.55rem; font-weight: 850; line-height: 1.4; }
.service-price span { font-size: .875rem; font-weight: 650; color: var(--muted); }
.service-summary .popular { position: absolute; inset: 0 0 auto; display: block; padding: .45rem .75rem; border-radius: .8rem .8rem 0 0; font-size: .8125rem; line-height: 1.4; }
.offers .service-summary-content { padding-top: 3.75rem; }
.service-content { padding: 0 1.25rem 1.5rem; }
.service-content > h3 { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 1.25rem; line-height: 1.4; }
.service-content > p:not(.fit) { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.service-content .fit { font-size: .9375rem; }
.service-details[open] > .service-summary { border-radius: 1rem 1rem 0 0; }
.offer-grid.support-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.boundaries { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.boundary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-band a:focus-visible { outline-color: var(--navy); }
@media (max-width: 1000px) {
  .offer-grid.support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .boundary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .service-summary { min-height: 8rem; }
}
@media (max-width: 620px) {
  .offer-grid.support-grid, .boundary-grid { grid-template-columns: minmax(0, 1fr); }
  .service-summary { min-height: 7rem; }
  .service-summary-content { gap: .45rem; }
}
@media print {
  .site-header { position: static; }
  .offer-grid, .offer-grid.support-grid { display: block; }
  .offer-card { margin-block: 1rem; break-inside: avoid; }
  .service-summary::after { display: none; }
  .service-details::details-content { content-visibility: visible; display: block; }
}
