/* Connected service pages within the existing JONJAE identity. */
/* Company introduction links land on the statement below the sky banner. */
#hero-title { scroll-margin-top: 14px; }
/* Homepage previews are curated separately from each service portfolio. */
.work-showcase { padding-top: 30px; padding-bottom: 65px; }
.work-preview + .work-preview { border-top: 1px solid var(--line); margin-top: 65px; padding-top: 58px; }
.work-preview .section-heading { align-items: flex-end; }
.preview-all-link { white-space: normal; max-width: 380px; flex-shrink: 0; }
.preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px 24px; }
.preview-grid[data-count="2"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
.preview-grid[data-count="1"] { grid-template-columns: minmax(0,1fr); }
.preview-grid .project, .preview-grid .project:nth-child(-n+2) { grid-column: auto; }
.preview-grid .project-title, .preview-grid .project:nth-child(-n+2) .project-title { font-size: 21px; }
.preview-grid .project-client { display: block; font-size: 13px; line-height: 1.8; }
.preview-grid .external-preview .project-client { color: var(--accent); font-weight: 700; }
.preview-source { display: inline-block; margin-top: 11px; font-size: 14px; line-height: 1.8; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.preview-reference-note { padding: 13px 18px; border-left: 3px solid #79aac5; background: #eaf4fa; border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.85; margin-bottom: 26px; color: var(--text); }
.preview-layout.with-overview { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8%; }
.preview-overview h3 { font-size: clamp(26px,2.5vw,38px); line-height: 1.5; letter-spacing: -.045em; margin-bottom: 20px; }
.preview-overview p { max-width: 480px; font-size: 17px; line-height: 1.95; color: var(--text); }
.preview-overview .preview-tags { font-size: 14px; margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--line); }
.preview-grid .photo-preview .project-visual { aspect-ratio: 16/10; }
.scoped-clients { padding-top: 20px; padding-bottom: 65px; }
.scoped-clients .section-heading h2 { font-size: clamp(27px,2.65vw,42px); }
.scoped-clients .section-heading > p { max-width: 400px; line-height: 1.9; font-size: 16px; }
.clients-empty { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.clients-empty strong { display: block; font-size: 19px; line-height: 1.7; margin-bottom: 7px; }
.clients-empty p { font-size: 16px; line-height: 1.85; color: var(--muted); }
.page-contract { padding-top: 18px; padding-bottom: 65px; }
.page-contract .public-contract { margin-top: 0; }
.service-contract { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; border: 1px solid #c3dbe9; border-radius: 18px; padding: 42px; background: #edf6fb; }
.service-contract .eyebrow { font-size: 14px; color: var(--accent); margin-bottom: 17px; }
.service-contract h2 { font-size: clamp(27px,2.5vw,38px); line-height: 1.5; margin-bottom: 19px; }
.service-contract p { font-size: 16px; line-height: 1.9; color: var(--text); }
.service-contract-details ul { margin: 0 0 24px; padding-left: 20px; }
.service-contract-details li { padding: 7px 0; font-size: 16px; line-height: 1.8; }
.service-contract-details li::marker { color: var(--accent); }
@media(max-width:1050px) {
  .work-preview .section-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .preview-grid[data-count="3"] .project:last-child { grid-column: 1/-1; width: calc(50% - 12px); }
  .preview-layout.with-overview { gap: 30px; }
  .service-contract { gap: 30px; padding: 32px; }
}
@media(max-width:650px) {
  .work-showcase { padding-top: 18px; padding-bottom: 40px; }
  .work-preview + .work-preview { margin-top: 42px; padding-top: 38px; }
  .work-preview .section-heading { gap: 10px; }
  .preview-all-link { font-size: 14px; max-width: 100%; }
  .preview-grid, .preview-grid[data-count="2"], .preview-layout.with-overview { grid-template-columns: 1fr; gap: 30px; }
  .preview-grid[data-count="3"] .project:last-child { grid-column: auto; width: auto; }
  .preview-grid .project-title, .preview-grid .project:nth-child(-n+2) .project-title { font-size: 20px; }
  .preview-reference-note { padding: 12px 15px; margin-bottom: 23px; }
  .preview-overview h3 { margin-bottom: 12px; font-size: 25px; }
  .preview-overview p { font-size: 16px; }
  .preview-overview .preview-tags { margin-top: 18px; }
  .scoped-clients { padding-top: 15px; padding-bottom: 42px; }
  .clients-empty { padding: 23px; }
  .page-contract { padding-top: 12px; padding-bottom: 42px; }
  .service-contract { grid-template-columns: 1fr; padding: 25px 22px; gap: 24px; }
  .service-contract h2 { font-size: 26px; }
  .service-contract-details ul { margin-bottom: 17px; }
}
/* The opening banner, statement, and studio story form one company introduction. */
.company-intro { background: linear-gradient(180deg,var(--paper) 0%,var(--paper) 48%,#eaf4fa 100%); }
.company-intro .hero { padding-bottom: 0; }
.company-intro .about { background: transparent; padding-top: 38px; padding-bottom: 48px; }
.company-intro .about > .eyebrow { border-top: 1px solid #bfd6e3; padding-top: 32px; margin-bottom: 28px; font-size: 14px; }
.company-intro .about-layout { grid-template-columns: 1.35fr 1fr; gap: 56px; }
.company-intro .about h2 { font-size: clamp(28px,2.7vw,44px); line-height: 1.5; font-weight: 700; }
.company-intro .about-copy { max-width: none; }
.company-intro .about-copy .lead { margin-top: 0; }
.company-intro .about-copy .text-link { margin-top: 20px; }
.company-intro .about-signature { margin-top: 38px; padding-top: 23px; font-size: 13px; }
@media(max-width:1050px) {
  .company-intro .about-layout { grid-template-columns: 1fr; gap: 26px; }
  .company-intro .about-copy { max-width: 750px; }
}
@media(max-width:650px) {
  .company-intro .about { padding-top: 27px; padding-bottom: 35px; }
  .company-intro .about > .eyebrow { padding-top: 24px; margin-bottom: 20px; }
  .company-intro .about h2 { font-size: 29px; }
  .company-intro .about-copy { margin-top: 23px; }
  .company-intro .about-copy .text-link { margin-top: 14px; }
  .company-intro .about-signature { margin-top: 30px; padding-top: 20px; flex-wrap: wrap; gap: 9px 20px; font-size: 12px; }
}
.header .desktop-link { display: inline-flex; }
.field-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; padding: 15px var(--space); border-bottom: 1px solid var(--line); background: #edf6fb; }
.field-nav .field-nav-item { display: inline-flex; align-items: center; gap: 9px; padding: 8px 3px; font-size: 14px; font-weight: 700; color: var(--text); border-bottom: 2px solid transparent; }
.field-nav a:hover { border-color: #8abbd5; }
.field-nav a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.field-nav .category-dot { display: block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #6598b3; }
.field-nav .category-label { min-width: 0; word-break: keep-all; overflow-wrap: anywhere; }
.field-nav a[aria-current="page"] .category-dot, .field-nav a:hover .category-dot { background: var(--ink); }
.business { padding-top: 36px; }
.business .section-heading > p { max-width: 410px; line-height: 1.9; font-size: 16px; }
.business-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.business-card { border: 1px solid #cbdfe9; border-radius: 16px; background: #fff; overflow: hidden; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.business-card:hover { border-color: #6696af; box-shadow: 0 12px 35px #1d496310; }
.business-image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #dcecf4; }
.business-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.business-card:hover img { transform: scale(1.025); }
.image-credit { position: absolute; bottom: 12px; left: 14px; right: 14px; width: fit-content; max-width: calc(100% - 28px); border-radius: 5px; padding: 6px 10px; background: #ffffffed; color: var(--ink); font-size: 12px; line-height: 1.6; }
.business-card-copy { padding: 26px 28px 28px; }
.business-meta { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 1px; color: var(--accent); margin-bottom: 14px; }
.business-card h3 { display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--ink); font-size: clamp(24px,2.3vw,34px); line-height: 1.5; font-weight: 700; letter-spacing: -.045em; }
.business-card h3 span { font-size: 26px; font-weight: 500; }
.business-card h3 .business-name { min-width: 0; font-size: inherit; font-weight: inherit; overflow-wrap: anywhere; }
.business-card h3 .business-arrow { flex-shrink: 0; }
.business-card p { margin-top: 12px; font-size: 16px; color: var(--text); line-height: 1.85; }
.business-card .service-tags { margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.selected-work { padding-top: 25px; }
.selected-work .portfolio-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.selected-work .project, .selected-work .project:nth-child(-n+2) { grid-column: auto; }
.selected-work .project-title { font-size: 21px; }
.selected-work .project-type { display: none; }
.all-work-link { white-space: normal; }
.public-service { padding-top: 50px; }
.public-service .public-contract { margin-top: 0; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 28px var(--space) 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.detail-hero { padding-top: 48px; padding-bottom: 58px; }
.detail-topline { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 30px; }
.detail-topline .eyebrow { color: var(--accent); }
.detail-note { font-size: 13px; color: var(--text); border: 1px solid #bbd5e4; border-radius: 100px; padding: 7px 13px; }
.detail-story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 9%; align-items: end; }
.detail-story h1 { font-size: clamp(34px,4.2vw,67px); line-height: 1.4; font-weight: 700; color: var(--ink); }
.detail-story h1 span { color: var(--accent); }
.detail-intro p { font-size: 17px; line-height: 1.95; color: var(--text); }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }
.pill-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 13px 22px; min-height: 48px; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 100px; font-size: 15px; font-weight: 600; transition: background .2s; }
.pill-button:hover { background: #122f41; }
.offerings { border-top: 1px solid var(--line); padding-top: 42px; padding-bottom: 48px; }
.offering-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.offering-grid article { min-width: 0; }
.offering-grid h2 { font-size: 23px; letter-spacing: -.04em; margin-bottom: 12px; }
.offering-grid p { font-size: 16px; line-height: 1.9; color: var(--text); }
.reference-section { background: #e8f3f9; padding-top: 64px; padding-bottom: 68px; }
.reference-notice { display: flex; justify-content: space-between; gap: 35px; padding: 21px 24px; background: #fff; border-left: 3px solid #6699b4; border-radius: 0 10px 10px 0; margin: 0 0 30px; }
.reference-notice strong { color: var(--ink); font-size: 16px; flex-shrink: 0; line-height: 1.8; }
.reference-notice p { font-size: 15px; line-height: 1.9; color: var(--text); }
.reference-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 28px; }
.reference-card { min-width: 0; }
.reference-card .reference-label { margin: 17px 0 9px; font-size: 13px; color: var(--accent); font-weight: 700; }
.reference-card h3 { font-size: 23px; line-height: 1.5; letter-spacing: -.035em; margin-bottom: 10px; }
.reference-card > p:not(.reference-label) { font-size: 16px; color: var(--text); line-height: 1.85; }
.reference-source { display: inline-block; margin-top: 16px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; line-height: 1.7; }
.reference-grid.single-video { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 48px; }
.reference-guide { padding: 0 12px; }
.reference-guide .eyebrow { margin-bottom: 20px; color: var(--accent); }
.reference-guide h3 { font-size: 28px; line-height: 1.55; margin-bottom: 20px; letter-spacing: -.04em; }
.reference-guide ul { margin: 0; padding: 0; list-style: none; }
.reference-guide li { font-size: 16px; line-height: 1.9; color: var(--text); padding: 15px 0; border-top: 1px solid #bed6e4; }
.photo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; align-items: start; }
.photo-grid .photo-visual { display: block; position: relative; border-radius: 12px; overflow: hidden; background: #d9e9f2; aspect-ratio: 4/5; }
.photo-grid .photo-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.photo-grid .photo-visual:hover img { transform: scale(1.025); }
.photo-grid .photo-visual:focus-visible { outline-offset: 6px; }
.project-planning { padding-top: 60px; padding-bottom: 60px; }
.planning-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; align-items: start; }
.planning-layout h2 { font-size: clamp(28px,3vw,42px); margin-top: 14px; }
.planning-list { list-style: none; margin: 0; padding: 0; }
.planning-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.planning-list strong { font-size: 19px; display: block; margin-bottom: 7px; }
.planning-list p { font-size: 16px; line-height: 1.85; color: var(--text); }
.other-services { padding-top: 35px; padding-bottom: 42px; background: #edf6fb; }
.other-services .eyebrow { color: var(--text); margin-bottom: 20px; }
.other-service-links { display: flex; flex-wrap: wrap; gap: 14px 35px; }
.other-service-links > a, .other-service-links > .service-unavailable { padding: 8px 0; font-size: 17px; font-weight: 600; }
.other-service-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media(max-width:1050px) {
  .field-nav { gap: 6px 24px; }
  .business-grid { gap: 24px; }
  .business-card-copy { padding: 22px; }
  .detail-story { grid-template-columns: 1fr; gap: 28px; }
  .detail-intro { max-width: 750px; }
  .reference-grid.single-video { gap: 28px; }
  .offering-grid { gap: 28px; }
  .reference-notice { flex-direction: column; gap: 6px; }
  .selected-work .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .selected-work .project:last-child { grid-column: 1/-1; max-width: calc(50% - 12px); }
  .planning-layout { gap: 8%; }
  .photo-grid { gap: 22px; }
}
@media(max-width:650px) {
  .header .desktop-link { display: none; }
  .header nav { gap: 0; }
  .header .nav-contact { display: inline-flex; font-size: 14px; }
  .field-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; padding-top: 9px; padding-bottom: 9px; }
  .field-nav .field-nav-item { min-width: 0; gap: 7px; padding: 8px 0; font-size: 14px; line-height: 1.6; }
  .field-nav .field-nav-item:last-child:nth-child(odd) { grid-column: 1/-1; justify-content: center; }
  .business { padding-top: 22px; }
  .business-grid { grid-template-columns: 1fr; gap: 25px; }
  .business .section-heading { display: block; }
  .business .section-heading > p { display: block; max-width: none; text-align: left; font-size: 16px; margin-top: 15px; }
  .business-image { aspect-ratio: 16/9; }
  .business-card-copy { padding: 20px; }
  .business-card h3 { font-size: 27px; }
  .business-meta { margin-bottom: 10px; }
  .business-card .service-tags { margin-top: 18px; padding-top: 14px; }
  .selected-work .portfolio-grid { grid-template-columns: 1fr; }
  .selected-work .project:last-child { grid-column: auto; max-width: none; }
  .selected-work .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .selected-work .text-link { font-size: 14px; }
  .breadcrumb { padding-top: 22px; font-size: 13px; }
  .detail-hero { padding-top: 30px; padding-bottom: 35px; }
  .detail-topline { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 22px; }
  .detail-story h1 { font-size: clamp(32px,8vw,46px); line-height: 1.45; }
  .detail-story { gap: 22px; }
  .detail-intro p { font-size: 16px; }
  .detail-actions { gap: 16px; margin-top: 20px; }
  .detail-actions .text-link { font-size: 14px; }
  .offering-grid { grid-template-columns: 1fr; gap: 26px; }
  .offerings { padding-top: 32px; padding-bottom: 36px; }
  .offering-grid article + article { padding-top: 24px; border-top: 1px solid var(--line); }
  .offering-grid h2 { font-size: 22px; margin-bottom: 8px; }
  .reference-section { padding-top: 42px; padding-bottom: 45px; }
  .reference-notice { padding: 18px; margin-bottom: 25px; }
  .reference-grid, .reference-grid.single-video, .photo-grid { grid-template-columns: 1fr; gap: 35px; }
  .reference-guide { padding: 0; }
  .reference-guide h3 { font-size: 25px; }
  .reference-guide .eyebrow { margin-bottom: 12px; }
  .reference-card h3 { font-size: 23px; }
  .photo-grid .photo-visual { aspect-ratio: 4/4.6; }
  .planning-layout { grid-template-columns: 1fr; gap: 27px; }
  .project-planning { padding-top: 42px; padding-bottom: 42px; }
  .planning-list li { padding: 20px 0; }
  .other-service-links { flex-direction: column; gap: 6px; }
  .other-service-links > a, .other-service-links > .service-unavailable { font-size: 17px; }
}

/* Education introduces actual learning activities without invented project imagery. */
.business-card-education { grid-column: 1/-1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 36px; padding: 16px; background: #e6f2f9; }
.education-card-topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 22px; }
.education-card-topics span { display: flex; align-items: center; min-height: 72px; padding: 16px; background: #fff; border: 1px solid #c8dfeC; border-radius: 10px; font-size: 17px; font-weight: 700; color: var(--ink); word-break: keep-all; }
.program-preview { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 44px; padding: 38px; border: 1px solid #c8dfec; border-radius: 18px; background: #eaf4fa; }
.program-intro h3 { font-size: clamp(25px,2.6vw,37px); line-height: 1.5; letter-spacing: -.045em; margin-bottom: 18px; }
.program-intro p { font-size: 17px; line-height: 1.95; color: var(--text); }
.program-intro .text-link { margin-top: 18px; }
.program-topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.program-topics li { min-width: 0; padding: 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.program-topics strong { font-size: 18px; line-height: 1.6; }
.program-topics p { font-size: 15px; line-height: 1.85; color: var(--text); margin-top: 9px; }
.education-hero { background: linear-gradient(120deg,#f8fcfe,#e1f0f8); }
.education-hero-line { border-top: 1px solid #bfd6e3; margin-top: 38px; padding-top: 20px; font-size: 16px; line-height: 1.8; color: var(--accent); font-weight: 600; }
.education-curriculum { padding-top: 60px; padding-bottom: 64px; }
.curriculum-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.curriculum-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #cbdfe9; border-radius: 16px; padding: 32px; background: #fff; }
.curriculum-card > .eyebrow { font-size: 14px; color: var(--accent); margin-bottom: 17px; }
.curriculum-card h3 { font-size: 27px; line-height: 1.5; margin-bottom: 14px; letter-spacing: -.04em; }
.curriculum-card > p:not(.eyebrow) { font-size: 17px; line-height: 1.9; color: var(--text); margin-bottom: 24px; }
.practice-note { display: flex; align-items: flex-start; gap: 13px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.practice-note span { flex-shrink: 0; padding: 3px 9px; border-radius: 5px; background: #e6f1f7; font-size: 14px; font-weight: 700; }
.practice-note p { font-size: 16px; line-height: 1.8; color: var(--text); }
.education-audience { background: #edf6fb; padding-top: 62px; padding-bottom: 62px; }
.education-curriculum .section-heading > p, .education-audience .section-heading > p { font-size: 16px; line-height: 1.9; }
.audience-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.audience-grid article { border-top: 2px solid #8cb9d0; padding-top: 22px; min-width: 0; }
.audience-grid h3 { font-size: 23px; line-height: 1.55; margin-bottom: 15px; }
.audience-grid p { font-size: 16px; line-height: 1.9; color: var(--text); }
.audience-note { margin-top: 30px; font-size: 15px; line-height: 1.85; color: var(--muted); }
@media(max-width:1050px) {
  .business-card-education { gap: 10px; padding: 8px; }
  .education-card-topics { padding: 16px; gap: 10px; }
  .education-card-topics span { font-size: 16px; padding: 13px; }
  .program-preview { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .curriculum-card { padding: 26px; }
  .audience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
  .business-card-education { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .education-card-topics { padding: 0 20px 24px; }
  .education-card-topics span { min-height: 60px; font-size: 15px; }
  .program-preview { padding: 24px 20px; }
  .program-intro p { font-size: 16px; }
  .program-topics { grid-template-columns: 1fr; gap: 12px; }
  .program-topics li { padding: 19px; }
  .education-hero-line { margin-top: 26px; padding-top: 17px; font-size: 15px; }
  .education-curriculum, .education-audience { padding-top: 42px; padding-bottom: 42px; }
  .education-curriculum .section-heading, .education-audience .section-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .education-curriculum .section-heading > p, .education-audience .section-heading > p { display: block; text-align: left; }
  .curriculum-grid, .audience-grid { grid-template-columns: 1fr; gap: 22px; }
  .curriculum-card { padding: 24px; }
  .curriculum-card h3 { font-size: 25px; }
  .curriculum-card > p:not(.eyebrow) { font-size: 16px; }
  .practice-note { gap: 10px; }
}

/* Preparation states are readable, noninteractive, and shared by all surfaces. */
.field-nav .service-unavailable { flex-wrap: wrap; cursor: default; }
.nav-status { display: inline-block; flex-shrink: 0; padding: 2px 8px; border: 1px solid #bad4e3; border-radius: 6px; background: #f8fcfe; color: #1d4963; font-size: 14px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.other-service-links > .service-unavailable { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--text); cursor: default; }
.business-card-unavailable:hover { border-color: #cbdfe9; box-shadow: none; }
.coming-soon-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; min-height: 175px; aspect-ratio: 16/9; padding: 30px; background: linear-gradient(135deg,#edf6fb,#d1e7f3); color: var(--ink); text-align: center; }
.coming-soon-visual .eyebrow { font-size: 14px; letter-spacing: .18em; color: var(--accent); }
.coming-soon-visual strong { font-size: clamp(30px,3vw,44px); line-height: 1.4; font-weight: 700; letter-spacing: -.045em; }
.business-card-wide { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.business-card-wide .coming-soon-visual { width: 100%; height: 100%; }
.preview-unavailable { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.preview-unavailable .eyebrow { margin-bottom: 15px; }
.preview-unavailable h2 { font-size: clamp(27px,2.6vw,38px); line-height: 1.5; }
.preview-unavailable .coming-soon-visual { min-height: 175px; aspect-ratio: auto; border: 1px solid #cbdfe9; border-radius: 14px; }
.preview-unavailable .coming-soon-visual .eyebrow { margin-bottom: 0; }
.coming-soon-description { margin-top: 20px; font-size: 17px; line-height: 1.9; color: var(--text); }
.coming-soon-page { min-height: 55vh; padding-top: 65px; padding-bottom: 65px; }
.coming-soon-panel { padding: clamp(30px,6vw,90px); border: 1px solid #c3dbe9; border-radius: 20px; background: linear-gradient(135deg,#edf6fb,#d9ecf6); }
.coming-soon-panel > .eyebrow { font-size: 14px; color: var(--accent); margin-bottom: 26px; }
.coming-soon-panel h1 { font-size: clamp(32px,4vw,62px); line-height: 1.55; color: var(--ink); }
.coming-soon-panel h1 span { color: var(--ink); }
.coming-soon-panel .detail-actions { margin-top: 30px; flex-wrap: wrap; }
@media(max-width:650px) {
  .field-nav { gap: 4px 12px; }
  .field-nav .service-unavailable { gap: 5px 7px; }
  .field-nav .nav-status { margin-left: 13px; }
  .field-nav .field-nav-item:last-child .nav-status { margin-left: 0; }
  .business-card-wide, .preview-unavailable { grid-template-columns: 1fr; }
  .preview-unavailable { gap: 22px; }
  .coming-soon-visual { min-height: 160px; padding: 25px; }
  .coming-soon-page { padding-top: 35px; padding-bottom: 35px; }
  .coming-soon-panel { padding: 32px 23px; }
  .coming-soon-description { font-size: 16px; }
  .coming-soon-panel .detail-actions { align-items: flex-start; flex-direction: column; }
}

/* Client names sit directly beneath every genuine portfolio thumbnail. */
.project-info { padding-top: 22px; }
.project-client, .preview-grid .project-client { display: flex; align-items: baseline; justify-content: flex-start; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 9px; color: #000000; font-size: 24px; font-weight: 800; line-height: 1.45; letter-spacing: -.04em; }
.project-client-name { position: relative; display: block; min-width: 0; max-width: 100%; padding-left: 18px; color: #000000; word-break: keep-all; overflow-wrap: anywhere; }
.project-client-name::before { content: ''; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.project-client .project-type { color: #414B52; font-size: 13px; font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.portfolio-grid .project-title, .portfolio-grid .project:nth-child(-n+2) .project-title,
.preview-grid .project-title, .preview-grid .project:nth-child(-n+2) .project-title { font-size: 19px; font-weight: 600; line-height: 1.65; }
.other-services { background: #FFFFFF; }
/* Consistent boundaries separate the main homepage chapters. */
.home-page { --chapter-inset: max(var(--space),calc((100vw - 1700px)/2)); }
.home-page #business, .home-page #work, .home-page #clients, .home-page #contact { position: relative; padding-top: 84px; padding-bottom: 84px; }
.home-page #business::before, .home-page #work::before, .home-page #clients::before, .home-page #contact::before { content: ''; position: absolute; top: 0; left: var(--chapter-inset); right: var(--chapter-inset); height: 4px; background: var(--accent); }
.home-page .company-intro .about { padding-bottom: 80px; }
.home-page .section-heading .eyebrow, .home-page .about > .eyebrow, .home-page .contact > .eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 1.8px; }
@media(max-width:650px) {
  .project-info { padding-top: 18px; }
  .project-client, .preview-grid .project-client { font-size: 21px; margin-bottom: 8px; gap: 6px 12px; }
  .project-client-name { padding-left: 16px; }
  .project-client-name::before { width: 6px; height: 6px; }
  .portfolio-grid .project-title, .portfolio-grid .project:nth-child(-n+2) .project-title,
  .preview-grid .project-title, .preview-grid .project:nth-child(-n+2) .project-title { font-size: 18px; }
  .home-page #business, .home-page #work, .home-page #clients, .home-page #contact { padding-top: 52px; padding-bottom: 52px; }
  .home-page .company-intro .about { padding-bottom: 52px; }
}

/* Mobile-only refinement. Keep every desktop rule and shared HTML unchanged. */
@media (max-width: 650px) {
  .field-nav { grid-template-columns: minmax(0,1fr); gap: 8px; padding-top: 12px; padding-bottom: 12px; align-items: stretch; }
  .field-nav .field-nav-item { display: grid; grid-template-columns: 6px minmax(0,1fr) auto; align-items: center; align-content: center; gap: 8px; min-height: 46px; padding: 10px 12px; border: 1px solid #CADFE9; border-radius: 10px; background: #FFFFFF; font-size: 15px; line-height: 1.45; text-align: left; }
  .field-nav .field-nav-item:last-child:nth-child(odd) { grid-column: auto; justify-content: normal; }
  .field-nav .field-nav-item:first-child { grid-column: 1/-1; border-color: #91B3C7; }
  .field-nav .category-dot { grid-column: 1; grid-row: 1; }
  .field-nav .category-label { grid-column: 2; grid-row: 1; white-space: nowrap; }
  .field-nav .field-nav-item .nav-status { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 12px; font-weight: 500; line-height: 1.4; color: #4D6472; }
  .field-nav a::after { content: '↗'; grid-column: 3; grid-row: 1; font-size: 19px; color: var(--accent); }

  .home-page .hero { padding-top: 20px; }
  .home-page .hero-topline { margin-bottom: 14px; }
  .home-page .hero-topline .eyebrow { font-size: 11px; letter-spacing: 1px; }
  .home-page .hero-identity { height: clamp(132px,40vw,176px); border-radius: 14px; }
  .home-page .hero-story { grid-template-columns: minmax(0,1fr); gap: 18px; margin-top: 25px; }
  .home-page #hero-title { font-size: clamp(25px,7.5vw,32px); line-height: 1.5; letter-spacing: -.05em; text-wrap: balance; }
  .home-page .hero-bottom p { font-size: 15px; line-height: 1.9; letter-spacing: -.02em; text-wrap: pretty; }
  .home-page .hero-bottom .mobile-break { display: none; }

  .home-page .company-intro .about { padding-top: 30px; }
  .home-page .company-intro .about-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; }
  .home-page .company-intro .about h2 { font-size: clamp(25px,6.9vw,31px); line-height: 1.5; letter-spacing: -.04em; text-wrap: balance; }
  .home-page .company-intro .about-copy { margin-top: 0; }
  .home-page .company-intro .about-copy .lead { margin: 0 0 20px; font-size: 18px; line-height: 1.8; letter-spacing: -.025em; }
  .home-page .company-intro .about-copy p:not(.lead) { margin-top: 18px; font-size: 15px; line-height: 1.95; letter-spacing: -.015em; text-wrap: pretty; }
  .home-page .company-intro .about-signature { flex-direction: column; align-items: flex-start; gap: 8px; line-height: 1.7; }

  .home-page .section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
  .home-page .section-heading h2 { font-size: clamp(26px,7vw,32px); line-height: 1.45; letter-spacing: -.045em; text-wrap: balance; }
  .home-page .section-heading > p { max-width: none; margin-top: 0; padding-bottom: 0; text-align: left; font-size: 15px; line-height: 1.85; text-wrap: pretty; }
  .home-page .preview-all-link { width: 100%; max-width: 100%; gap: 14px; font-size: 14px; line-height: 1.6; }
  .home-page .preview-all-link > span { flex-shrink: 0; }
  .home-page .business-card-copy { padding: 22px 20px; }
  .home-page .business-card h3 { font-size: 25px; line-height: 1.45; }
  .home-page .business-card p { font-size: 15px; line-height: 1.85; }
  .home-page .business-card .service-tags { font-size: 13px; }
  .home-page .preview-unavailable h2 { font-size: 26px; line-height: 1.45; }
  .home-page .coming-soon-description { font-size: 15px; line-height: 1.85; margin-top: 12px; }

  .public-contract { grid-template-columns: minmax(0,1fr); padding: 24px 18px; gap: 24px; }
  .contract-intro h3 { font-size: clamp(23px,6vw,28px); line-height: 1.5; letter-spacing: -.045em; }
  .contract-intro > p:last-child, .contract-benefits p { font-size: 15px; line-height: 1.9; text-wrap: pretty; }
  .contract-amount { min-width: 0; padding: 20px 18px; gap: 10px; }
  .contract-amount > strong { font-size: clamp(38px,10vw,48px); }
  .contract-amount > span:first-child { font-size: 16px; }
  .contract-amount > span:nth-of-type(2), .contract-amount > p { font-size: 14px; line-height: 1.8; }
  .contract-benefits h4 { font-size: 21px; margin-bottom: 10px; }
  .contract-documents { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.8; }
  .contract-conditions { font-size: 14px; line-height: 1.9; text-wrap: pretty; }
  .contract-sources { font-size: 12px; line-height: 1.85; }

  .home-page .contact-heading { align-items: flex-start; gap: 14px; }
  .home-page .contact h2 { min-width: 0; font-size: clamp(26px,7vw,34px); line-height: 1.5; letter-spacing: -.045em; }
  .home-page .contact-circle { width: 44px; margin-top: 5px; font-size: 28px; }
  .home-page .contact-intro { font-size: 15px; line-height: 1.9; text-wrap: pretty; }
  .home-page .contact-details { gap: 25px; }
  .home-page .contact-details a, .home-page .contact-details div > span:last-child:not(.contact-label) { font-size: clamp(17px,5vw,20px); line-height: 1.6; }
  .home-page .footer-social-copy h2 { font-size: 25px; line-height: 1.5; }
}

/* Homepage disclosure: phone layout and the compact header controls. */
@media (max-width: 650px) {
  .home-page.mobile-menu-ready .header { gap: 8px; }
  .home-page.mobile-menu-ready .header .brand-wordmark { width: clamp(118px,34vw,150px); }
  .home-page.mobile-menu-ready .header nav { gap: 8px; }
  .home-page.mobile-menu-ready .header .nav-contact { padding: 10px; font-size: 13px; }
  .home-page .mobile-menu-toggle:not([hidden]) { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; }
  .home-page .mobile-menu-icon { position: relative; display: block; width: 28px; height: 22px; }
  .home-page .mobile-menu-icon > span { position: absolute; left: 0; width: 28px; height: 1.5px; background: currentColor; transition: transform .22s ease, opacity .18s ease; }
  .home-page .mobile-menu-icon > span:nth-child(1) { top: 0; }
  .home-page .mobile-menu-icon > span:nth-child(2) { top: 10px; }
  .home-page .mobile-menu-icon > span:nth-child(3) { top: 20px; }
  .home-page .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon > span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .home-page .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon > span:nth-child(2) { opacity: 0; }
  .home-page .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon > span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .home-page.mobile-menu-ready > .field-nav { position: fixed; z-index: 9; top: var(--mobile-menu-top,76px); left: 0; right: 0; max-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; border-bottom-width: 0; transform: translateY(-8px); transition: max-height .28s ease, padding .28s ease, opacity .2s ease, transform .28s ease, visibility 0s linear .28s; }
  .home-page.mobile-menu-open > .field-nav { max-height: min(var(--mobile-menu-height,320px),calc(100vh - var(--mobile-menu-top,76px) - 12px)); max-height: min(var(--mobile-menu-height,320px),calc(100dvh - var(--mobile-menu-top,76px) - 12px)); padding-top: 12px; padding-bottom: 12px; overflow-y: auto; opacity: 1; visibility: visible; pointer-events: auto; border-bottom-width: 1px; box-shadow: 0 12px 22px #17384D1A; transform: translateY(0); transition-delay: 0s; }
  @media (prefers-reduced-motion: reduce) {
    .home-page.mobile-menu-ready > .field-nav, .home-page .mobile-menu-icon > span { transition: none; }
  }
}

/* Desktop homepage categories open beside the inquiry action; other page styles stay intact. */
@media (min-width: 651px) {
  .home-page .mobile-menu-toggle:not([hidden]) { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; }
  .home-page .mobile-menu-icon { position: relative; display: block; width: 28px; height: 22px; }
  .home-page .mobile-menu-icon > span { position: absolute; left: 0; width: 28px; height: 1.5px; background: currentColor; transition: transform .22s ease, opacity .18s ease; }
  .home-page .mobile-menu-icon > span:nth-child(1) { top: 0; }
  .home-page .mobile-menu-icon > span:nth-child(2) { top: 10px; }
  .home-page .mobile-menu-icon > span:nth-child(3) { top: 20px; }
  .home-page .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon > span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .home-page .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon > span:nth-child(2) { opacity: 0; }
  .home-page .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon > span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .home-page.mobile-menu-ready > .field-nav { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; position: fixed; z-index: 9; top: var(--mobile-menu-top,82px); right: max(var(--space),calc((100vw - 1700px)/2)); width: min(380px,calc(100vw - 2 * var(--space))); max-height: 0; padding: 0 14px; border: 1px solid var(--line); border-top: 0; border-bottom-width: 0; border-radius: 0 0 14px 14px; background: #EDF6FB; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: max-height .28s ease, padding .28s ease, opacity .2s ease, transform .28s ease, visibility 0s linear .28s; }
  .home-page.mobile-menu-open > .field-nav { max-height: min(var(--mobile-menu-height,320px),calc(100vh - var(--mobile-menu-top,82px) - 12px)); max-height: min(var(--mobile-menu-height,320px),calc(100dvh - var(--mobile-menu-top,82px) - 12px)); padding-top: 12px; padding-bottom: 12px; overflow-y: auto; opacity: 1; visibility: visible; pointer-events: auto; border-bottom-width: 1px; box-shadow: 0 12px 24px #17384D1F; transform: translateY(0); transition-delay: 0s; }
  .home-page.mobile-menu-ready .field-nav .field-nav-item { display: grid; grid-template-columns: 6px minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 46px; padding: 10px 12px; border: 1px solid #CADFE9; border-radius: 9px; background: #FFFFFF; font-size: 15px; line-height: 1.45; }
  .home-page.mobile-menu-ready .field-nav a:hover { background: #F5FAFD; border-color: var(--accent); }
  .home-page.mobile-menu-ready .field-nav .category-dot { grid-column: 1; grid-row: 1; }
  .home-page.mobile-menu-ready .field-nav .category-label { grid-column: 2; grid-row: 1; white-space: nowrap; }
  .home-page.mobile-menu-ready .field-nav .nav-status { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; padding: 0; border: 0; background: transparent; font-size: 12px; font-weight: 500; line-height: 1.4; color: #4D6472; }
  .home-page.mobile-menu-ready .field-nav a::after { content: '↗'; grid-column: 3; grid-row: 1; font-size: 19px; color: var(--accent); }
  @media (max-width: 900px) {
    .home-page.mobile-menu-ready .header nav { gap: 16px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .home-page.mobile-menu-ready > .field-nav, .home-page .mobile-menu-icon > span { transition: none; }
  }
}
