/* JPVisCom | Two-column Services & About pages | Nov 17, 2026
   This stylesheet is independent of the existing homepage slider and reveal styles.
   The three ring gradients are the exact values used by the homepage's non-intro slides.
*/
:root {
  --paper: #f5f5f2;
  --ink: #111214;
  --acid: #b7c500;
  --olive: #697300;
  --muted: #666a70;
  --line: #d8d9d4;
  /* Shared rhythm: content to divider, and divider to content/footer. */
  --section-space: clamp(64px, 6.5vw, 92px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 'DM Sans', Arial, sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; top: -90px; left: 14px; z-index: 1000; background: #fff; padding: 12px 18px; }
.skip-link:focus-visible { top: 12px; }
:focus-visible { outline: 3px solid #617000; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }

/* Header Alignment Fix | Keep the nav on the same 1320px grid as index.html.
   Only the sticky header gets the wider container; editorial content stays at 1120px. */
.site-header .site-nav.wrap {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}
@media (max-width: 600px) {
  .site-header .site-nav.wrap {
    width: min(1320px, calc(100% - 28px));
  }
}


/* Exact visual language of homepage navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--acid); border-bottom: 1px solid rgba(17,18,20,.16); }
.site-nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; justify-content: center; gap: 1px; line-height: 1.14; text-decoration: none; white-space: nowrap; }
.brand-name { font: 800 1.12rem Manrope, 'Helvetica Neue', sans-serif; letter-spacing: -.045em; }
.brand-subtitle { font: 700 .73rem Manrope, 'Helvetica Neue', sans-serif; letter-spacing: .055em; }
.navlinks { display: flex; align-items: center; gap: 24px; }
.navlinks a { text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
/* Shared selected navigation: default black; hovered/selected white with an underline. */
.site-header .navlinks > a:not(.resume-button) {
  color: var(--ink);
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: color .16s ease;
}
.site-header .navlinks > a:not(.resume-button):is(:hover, :focus-visible),
.site-header .navlinks > a:not(.resume-button)[aria-current] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #fff;
}

.resume-button { padding: 11px 16px; background: #111214; color: #fff; border: 1px solid #111214; }
.resume-button:hover { background: #343638; }

/* Seamless ring treatment: one continuous canvas with intentionally placed
   non-repeating rings. Each gradient covers the full page, so there are NO
   880px background tiles and no horizontal joins between sections. */
.circle-canvas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--paper);
  padding-bottom: var(--section-space);
}
.circle-canvas::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 46vw at 41% 11%, transparent 0 55%, rgba(183,197,0,.19) 56% 65%, transparent 66%),
    radial-gradient(circle 34vw at 91% 23%, transparent 0 60%, rgba(106,120,0,.16) 61% 70%, transparent 71%),
    radial-gradient(circle 28vw at 5% 2%, transparent 0 56%, rgba(183,197,0,.15) 57% 69%, transparent 70%),
    radial-gradient(circle 42vw at 13% 39%, transparent 0 55%, rgba(183,197,0,.15) 56% 65%, transparent 66%),
    radial-gradient(circle 37vw at 87% 53%, transparent 0 59%, rgba(106,120,0,.14) 60% 69%, transparent 70%),
    radial-gradient(circle 44vw at 43% 70%, transparent 0 55%, rgba(183,197,0,.18) 56% 65%, transparent 66%),
    radial-gradient(circle 31vw at 96% 86%, transparent 0 59%, rgba(106,120,0,.14) 60% 69%, transparent 70%),
    radial-gradient(circle 36vw at 12% 96%, transparent 0 56%, rgba(183,197,0,.14) 57% 68%, transparent 69%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.circle-canvas > * { position: relative; z-index: 1; }

/* The same two-column split and restrained typographic hierarchy as homepage slide one */
.kicker { margin: 0 0 19px; color: #697300; font-size: .77rem; font-weight: 800; letter-spacing: .145em; line-height: 1.5; }
h1, h2, h3 { font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; }
h1 { font-size: clamp(3.2rem, 5.65vw, 6.35rem); line-height: .96; font-weight: 800; letter-spacing: -.075em; margin: 0 0 38px; max-width: 690px; }
h1 span { display: block; }
h2 { font-size: clamp(2.45rem, 4vw, 4.2rem); line-height: 1.055; font-weight: 800; letter-spacing: -.061em; margin: 0 0 24px; }
h3 { font-size: clamp(1.03rem, 1.3vw, 1.24rem); line-height: 1.23; letter-spacing: -.035em; margin: 0; font-weight: 800; }
p { margin: 0 0 17px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.55; color: #393c40; max-width: 565px; }
.support { font-size: .98rem; color: #4c5050; max-width: 560px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 43px; padding: 11px 16px; background: var(--acid); color: var(--ink); text-decoration: none; font: 700 .88rem/1.3 'DM Sans', Arial, sans-serif; border: 1px solid var(--acid); transition: background .16s, color .16s, border-color .16s; }
.button:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.button:active { background: #111214; color: #fff; border-color: #111214; }
.button--outline { background: transparent; border-color: #767e5f; }
.button--outline:hover { background: #fff; border-color: #111214; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

.page-hero { padding: clamp(68px, 8.7vw, 128px) 0 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr); column-gap: clamp(44px, 7vw, 106px); align-items: center; }
.page-hero .two-col { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); column-gap: 64px; }
.page-hero .hero-copy { padding-block: 28px; }
.hero-feature { border-top: 6px solid var(--acid); padding-top: 25px; align-self: center; min-width: 0; }
.hero-feature__image { margin: 0 0 21px; position: relative; }
.hero-feature__image img { width: 100%; height: auto; display: block; object-fit: contain; }
.hero-feature__caption { font-weight: 800; font-size: 1.11rem; font-family: Manrope, Arial, sans-serif; letter-spacing: -.03em; }
.hero-feature__detail { color: #60656c; margin: 7px 0 18px; font-size: .94rem; }
.hero-feature__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.about-portrait { width: min(100%, 325px); aspect-ratio: 1; margin: 0 auto 35px; position: relative; isolation: isolate; }
.about-portrait::before, .about-portrait::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.about-portrait::before { width: 115%; height: 115%; left: -12%; top: 5%; border: 17px solid rgba(183,197,0,.55); z-index: -2; }
.about-portrait::after { width: 68%; height: 68%; right: -15%; top: -12%; border: 12px solid rgba(112,124,0,.42); z-index: -1; }
.about-portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.03); border: 8px solid var(--paper); box-shadow: 0 0 0 3px rgba(81,90,0,.22); }
.about-page .page-hero { padding-bottom: 0; }
.about-page .hero-feature { border-top-color: var(--acid); }

/* Same fine rules and three-column information stripe as homepage's first slide */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; padding: 25px 0; margin: 4px 0 0; }
.stat strong { font: 800 clamp(1.65rem, 2.1vw, 2.15rem)/1 Manrope, Arial, sans-serif; letter-spacing: -.05em; display: block; }
.stat span { font-size: .85rem; color: var(--muted); display: block; margin-top: 7px; line-height: 1.4; }

/* Full-width ring canvas continues across every section, without solid white panels */
.editorial-section { padding: var(--section-space) 0; }
.editorial-section .two-col { align-items: start; }
.editorial-left { max-width: 410px; }
.editorial-left .kicker { margin-bottom: 17px; }
.editorial-left p:not(.kicker) { color: #555c54; font-size: 1.02rem; }
.editorial-right { min-width: 0; }
.section-rule { border-top: 1px solid var(--line); margin-top: 0; }
.service-link { text-decoration: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; align-items: center; padding: 19px 0 21px; border-bottom: 1px solid #d4d7cc; }
.service-link:first-child { border-top: 1px solid #d4d7cc; }
.service-link:hover h3, .service-link:hover .arrow { color: #627400; }
.service-link__meta { display: block; font-size: .89rem; line-height: 1.42; color: #61665f; margin-top: 5px; max-width: 490px; }
.service-link .arrow { font-size: 1.5rem; color: #748100; font-weight: 700; align-self: start; line-height: 1; margin-top: 7px; }
.detail-headline { font: 800 1.29rem/1.33 Manrope, Arial, sans-serif; letter-spacing: -.035em; margin-bottom: 16px; }
.detail-copy { color: #4b504b; font-size: 1rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; margin: 21px 0 0; }
.pill-list li { border: 1px solid #cdd1bd; padding: 9px 12px; font-size: .84rem; font-weight: 700; color: #344018; background: rgba(245,245,242,.62); }
.process-point { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 18px; padding: 18px 0; border-top: 1px solid #d4d7cc; }
.process-point:last-child { border-bottom: 1px solid #d4d7cc; }
.process-point .number { color: #667600; font: 800 .88rem/1.45 'DM Sans',sans-serif; }
.process-point h3 { margin-bottom: 5px; }
.process-point p { margin: 0; color: #515750; font-size: .95rem; }
.career-item { display: grid; grid-template-columns: 106px minmax(0,1fr); gap: 18px; padding: 19px 0 21px; border-top: 1px solid #d4d7cc; }
.career-item:last-child { border-bottom: 1px solid #d4d7cc; }
.career-item .years { font-size: .85rem; font-weight: 800; color: #607000; padding-top: 3px; }
.career-item h3 { margin-bottom: 5px; }
.career-item p { margin: 0; font-size: .94rem; color: #575b57; }
.end-panel { margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--section-space) 0; }
.end-panel.two-col { align-items: center; }
.end-panel h2 { font-size: clamp(2.5rem, 4vw, 4.3rem); margin-bottom: 0; }
.end-panel .button-row { margin-top: 14px; }

/* Same lime footer as the approved homepage; no additional hero/fill blocks */
.site-footer { background: var(--acid); padding: 44px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.site-footer h2 { font: 800 clamp(2.15rem, 4.4vw, 4.2rem)/1 Manrope, Arial, sans-serif; letter-spacing: -.064em; margin: 0; }
.site-footer .contact-links { text-align: right; }
.site-footer .contact-links a { display: block; font-weight: 700; text-decoration: none; }
.site-footer .contact-links a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 29px; padding-top: 17px; border-top: 1px solid rgba(17,18,20,.3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

@media(max-width: 950px) {
  .wrap { width: min(100% - 44px, 1120px); }
  .site-nav { flex-wrap: wrap; padding: 14px 0; row-gap: 12px; }
  .navlinks { gap: 12px 19px; flex-wrap: wrap; }
  .page-hero { padding-top: 68px; }
  h1 { font-size: clamp(3.25rem, 6.9vw, 5rem); }
  .two-col { column-gap: 43px; }
}
@media(max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .brand-name { font-size: 1rem; }
  .navlinks a { font-size: .84rem; }
  .resume-button { padding: 9px 11px; }
  .two-col, .page-hero .two-col, .footer-top { grid-template-columns: minmax(0,1fr); gap: 30px; }
  :root { --section-space: 64px; }
  .page-hero { padding: 48px 0 0; }
  .page-hero .hero-copy { padding-block: 8px 0; }
  h1 { font-size: clamp(3.15rem, 11vw, 5rem); letter-spacing: -.068em; margin-bottom: 25px; }
  .hero-feature { margin-top: 8px; max-width: 600px; }
  .about-portrait { width: min(75vw, 290px); }
  .stats { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
  .stat strong { font-size: 1.5rem; }
  .stat span { font-size: .75rem; }
  .editorial-section { padding: var(--section-space) 0; }
  .editorial-left { max-width: 570px; }
  .editorial-section .two-col { gap: 25px; }
  .section-rule { margin-top: 0; }
  .end-panel { margin: 0 auto; padding: var(--section-space) 0; }
  .site-footer .contact-links { text-align: left; }
  /* Mobile uses the same uninterrupted, untiled field at a larger ring scale. */
  .circle-canvas::before {
    background-image:
      radial-gradient(circle 85vw at 41% 9%, transparent 0 55%, rgba(183,197,0,.18) 56% 65%, transparent 66%),
      radial-gradient(circle 73vw at 88% 22%, transparent 0 59%, rgba(106,120,0,.15) 60% 70%, transparent 71%),
      radial-gradient(circle 65vw at 4% 2%, transparent 0 55%, rgba(183,197,0,.15) 56% 69%, transparent 70%),
      radial-gradient(circle 92vw at 17% 37%, transparent 0 55%, rgba(183,197,0,.15) 56% 65%, transparent 66%),
      radial-gradient(circle 73vw at 93% 53%, transparent 0 59%, rgba(106,120,0,.14) 60% 69%, transparent 70%),
      radial-gradient(circle 87vw at 41% 70%, transparent 0 55%, rgba(183,197,0,.17) 56% 65%, transparent 66%),
      radial-gradient(circle 70vw at 93% 86%, transparent 0 60%, rgba(106,120,0,.14) 61% 70%, transparent 71%),
      radial-gradient(circle 80vw at 16% 97%, transparent 0 56%, rgba(183,197,0,.14) 57% 68%, transparent 69%);
  }
}
@media(max-width: 410px) {
  .wrap { width: calc(100% - 30px); }
  .site-nav { justify-content: center; }
  .brand { width: 100%; }
  .navlinks { justify-content: flex-start; gap: 10px 14px; }
  .navlinks a { font-size: .81rem; }
  .stats { gap: 8px; }
  .career-item { grid-template-columns: 1fr; gap: 4px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
