

/* Typography comparison build: IBM Plex Sans + softened charcoal palette. */
:root {
  --orange: #E87513;
  --orange-dark: #A94E00;
  --orange-soft: #FFF4E5;
  --ink: #2D2D2D;
  --text: #474747;
  --muted: #707070;
  --line: #E2E2DE;
  --soft: #F7F7F5;
  --white: #FFFFFF;
  --max: 1220px;
  --radius: 10px;
  --shadow: 0 18px 55px rgba(20,20,20,.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
::selection { background: #ffd9ad; color: var(--ink); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 8px 12px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226,226,222,.86);
}
.nav-wrap { max-width: 1500px; margin: 0 auto; height: 92px; padding: 0 32px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 260px; max-height: 82px; object-fit: contain; object-position: left center; display: block; }
.header-right { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 24px; min-width: 0; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.brand-motto { flex: 0 0 auto; min-width: 250px; max-width: 300px; padding-left: 22px; border-left: 1px solid var(--line); text-align: right; line-height: 1.2; }
.motto-latin { display: block; color: var(--orange); font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-style: italic; white-space: nowrap; }
.motto-translation { display:flex; flex-direction:column; align-items:flex-end; gap:1px; margin-top:5px; color:#7b7b7b; font-size:10px; font-weight:500; line-height:1.18; text-align:right; }
.motto-translation > span { display:block; }
.main-nav a { text-decoration: none; color: #383838; font-size: 14px; font-weight: 600; padding: 10px 11px; border-radius: 7px; position: relative; white-space: nowrap; }
.main-nav a:hover, .main-nav a:focus-visible { background: var(--soft); color: var(--orange-dark); outline: none; }
.main-nav a.active::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--orange); }
.nav-contact { margin-left: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content:""; display:block; width:20px; height:2px; background:var(--ink); transition:.2s; }
.menu-btn span { margin: 4px 0; }

.container { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }
/* v15: inner-page heroes use the same geometry and typography as the approved Home hero. */
.page-hero { min-height: 600px; display:flex; align-items:center; position: relative; overflow: hidden; padding: 82px 0 88px; border-bottom: 1px solid var(--line); }
.page-hero::before { content:""; position:absolute; width:72vw; min-width:760px; height:38vw; min-height:400px; border: 24px solid #f0f0ed; border-radius:50%; right:-18vw; top:-19vw; transform:rotate(-12deg); pointer-events:none; }
.page-hero::after { content:""; position:absolute; width:46vw; min-width:520px; height:24vw; min-height:270px; border:2px solid #ecece8; border-radius:50%; right:-2vw; top:-2vw; transform:rotate(-12deg); pointer-events:none; }
.page-hero .container { position: relative; z-index: 1; }
.eyebrow { display:flex; align-items:center; gap:10px; color:var(--orange-dark); font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.12em; margin-bottom:20px; }
.eyebrow::before { content:""; width:24px; height:3px; background:var(--orange); border-radius:3px; }
.page-hero h1 { color: var(--ink); max-width: 1020px; margin: 0; font-size: clamp(41px,4.25vw,61px); line-height: 1.075; letter-spacing: -.022em; font-weight: 600; }
.portfolio-hero h1 { max-width: 1020px; }
.page-hero .lead { max-width: 850px; margin: 23px 0 0; font-size: 19px; line-height:1.55; color:#555555; }
.page-hero .lead + .lead { margin-top: 12px; }

.home-hero { min-height: 600px; display:flex; align-items:center; padding: 82px 0 88px; position:relative; overflow:hidden; border-bottom:1px solid var(--line); }
/* Use the same restrained orbit treatment as the inner-page heroes.  The motif is decorative and intentionally stays at the top-right instead of competing with the main message. */
.home-hero::before { content:""; position:absolute; width:72vw; min-width:760px; height:38vw; min-height:400px; border:24px solid #f0f0ed; border-radius:50%; right:-18vw; top:-19vw; transform:rotate(-12deg); pointer-events:none; }
.home-hero::after { content:""; position:absolute; width:46vw; min-width:520px; height:24vw; min-height:270px; border:2px solid #ecece8; border-radius:50%; right:-2vw; top:-2vw; transform:rotate(-12deg); pointer-events:none; }
.home-hero .hero-grid { display:block; position:relative; z-index:1; }
.home-hero .hero-grid > div:first-child { max-width:1000px; }
.home-hero h1 { margin:0; color:var(--ink); font-size:clamp(41px,4.25vw,61px); line-height:1.075; letter-spacing:-.022em; max-width:1020px; font-weight:600; }
.home-hero .hero-copy { font-size:19px; max-width:850px; color:#555555; margin:23px 0 0; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:10px 18px; border-radius:8px; font-size:15px; font-weight:600; text-decoration:none; border:1px solid transparent; transition:.18s ease; }
.btn-primary { background:var(--orange); color:#201b16; }
.btn-primary:hover, .btn-primary:focus-visible { background:#f18619; transform:translateY(-1px); outline:none; }
.btn-secondary { border-color:#cfcfca; background:#fff; color:var(--ink); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color:var(--orange); outline:none; }
/* Kept in the markup for now so it can be reactivated later if we decide to use an information diagram in the hero. */
.hero-visual { display:none; }


/* Home proof strip — Issues #01–#04 */
.proof-strip {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: .78fr 1.12fr 1.7fr 1.3fr;
  gap: 0;
  align-items: stretch;
}
.proof-item {
  min-width: 0;
  padding: 28px 24px 30px;
  border-left: 1px solid var(--line);
}
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item:last-child { padding-right: 0; }
.proof-item strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.008em;
  margin-bottom: 7px;
}
.proof-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.client-proof {
  margin: 28px 0 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  background: #fff;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.client-proof-label {
  display: block;
  color: var(--orange-dark);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 7px;
}
.client-proof-names {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}
.section-link { margin-top: 16px !important; }
.section-link a,
.section-links a {
  color: var(--orange-dark);
  font-weight: 650;
  text-decoration: none;
}
.section-link a:hover,
.section-link a:focus-visible,
.section-links a:hover,
.section-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}
.section-subhead {
  margin: -12px 0 24px !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 700 !important;
}
.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 24px;
  font-size: 15px;
}
.section-links span { color: #aaa; }

.section { padding: 94px 0; }
/* Home-only section rhythm — approved #20 */
.home-page .section { padding: 80px 0; }
.home-page .section-head { margin-bottom: 0; }
.section.alt { background: var(--soft); }
.section-head { display:grid; grid-template-columns: 220px minmax(0,1fr); gap:50px; align-items:start; margin-bottom:38px; }
.section-kicker { color:var(--orange-dark); text-transform:uppercase; font-size:12px; letter-spacing:.12em; font-weight:700; padding-top:8px; }
.section h2, .content-page h2 { color:var(--ink); font-size:clamp(29px,3.4vw,42px); letter-spacing:-.018em; line-height:1.16; margin:0 0 24px; font-weight:600; }
.section h3, .content-page h3 { color:var(--ink); font-size:23px; line-height:1.28; margin:36px 0 14px; font-weight:600; }
.prose { max-width:850px; }
.prose p { margin:0 0 18px; }
.prose p:last-child { margin-bottom:0; }
.flow-line, .process-line { margin:26px 0; padding:18px 20px; background:#fff; border-left:4px solid var(--orange); border-top:1px solid var(--line); border-right:1px solid var(--line); border-bottom:1px solid var(--line); color:var(--ink); font-weight:650; line-height:1.55; overflow-wrap:anywhere; }
.alt .flow-line { background:#fff; }
.entity-token { font-weight:650; color:#333; }

.content-page { padding: 74px 0 110px; }
.content-page .intro { max-width:920px; margin-bottom:68px; }
.content-page .intro p { font-size:19px; }
.content-page p { max-width:900px; margin:0 0 18px; }
.content-page ul { max-width:900px; margin:8px 0 26px; padding-left:1.25rem; }
.content-page li { margin:.3rem 0; padding-left:.25rem; }
.content-page li::marker { color:var(--orange); }

.capabilities-grid { counter-reset: cap; }
.capability-item { position:relative; display:grid; grid-template-columns:110px minmax(0,1fr); gap:42px; padding:58px 0; border-top:1px solid var(--line); }
.capability-num { color:#d5d5d0; font-weight:800; font-size:54px; line-height:1; letter-spacing:-.05em; }
.capability-item:hover .capability-num { color:var(--orange); }
.capability-item h2 { font-size:30px; margin-top:3px; }

.portfolio-jump, .case-jump { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 56px; }
.portfolio-jump a, .case-jump a { text-decoration:none; border:1px solid var(--line); border-radius:999px; padding:7px 12px; font-size:13px; font-weight:600; background:#fff; }
.portfolio-jump a:hover, .case-jump a:hover { border-color:var(--orange); }
.portfolio-category { margin-top:92px; scroll-margin-top:110px; }
.portfolio-category > h2 { padding-bottom:18px; border-bottom:2px solid var(--ink); }
.project-card { padding:38px 0 42px; border-bottom:1px solid var(--line); scroll-margin-top:110px; }
.project-card h3 { margin:0 0 8px; font-size:28px; }
.project-subtitle { color:var(--muted); font-size:15px; font-weight:650; margin-bottom:18px!important; }
.project-card ul { columns: 1; }
.project-card .case-link { display:inline-flex; margin-top:4px; color:var(--orange-dark); font-weight:600; text-decoration:none; }
.reference-block { margin:22px 0; padding:18px 20px; border:1px solid var(--line); border-radius:8px; background:var(--soft); max-width:920px; }
.reference-block p { margin:0 0 10px; font-size:14px; }
.reference-block a { display:block; color:#714000; overflow-wrap:anywhere; font-size:14px; margin:4px 0 10px; }

.case-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:64px; align-items:start; }
.case-toc { position:sticky; top:104px; border-left:1px solid var(--line); padding-left:18px; }
.case-toc strong { color:var(--ink); display:block; font-size:13px; margin-bottom:12px; text-transform:uppercase; letter-spacing:.08em; }
.case-toc a { display:block; text-decoration:none; font-size:13px; color:var(--muted); padding:6px 0; line-height:1.35; }
.case-toc a:hover { color:var(--orange-dark); }
.case-study { padding:0 0 92px; margin:0 0 78px; border-bottom:2px solid var(--ink); scroll-margin-top:110px; }
.case-study:last-child { border-bottom:0; margin-bottom:0; }
.case-study > h2 { font-size:clamp(30px,3.2vw,42px); line-height:1.08; letter-spacing:-.012em; font-weight:500; margin-bottom:10px; }
.case-subtitle { font-size:20px; color:var(--muted); margin-bottom:25px!important; }
.meta-grid { display:flex; flex-wrap:wrap; gap:8px; margin:22px 0 34px; max-width:920px; }
.meta-pill { border:1px solid var(--line); background:var(--soft); border-radius:999px; padding:6px 11px; font-size:13px; color:#555; }
.case-study h3 { margin-top:42px; font-size:20px; text-transform:uppercase; letter-spacing:.035em; padding-top:10px; }

.about-highlight { margin: 0 0 70px; padding:28px 30px; background:var(--orange-soft); border-left:4px solid var(--orange); max-width:900px; }
.about-highlight p { margin:0 0 14px; font-size:18px; }
.about-highlight p:last-child { margin-bottom:0; }

.contact-grid { display:grid; grid-template-columns: minmax(0,1fr) 420px; gap:70px; align-items:start; }
.contact-simple { max-width:520px; }
.contact-card { background:var(--soft); border:1px solid var(--line); border-radius:12px; padding:30px; }
.contact-card h2 { font-size:25px; }
.contact-item { padding:18px 0; border-top:1px solid var(--line); }
.contact-label { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.1em; font-weight:750; display:block; margin-bottom:5px; }
.contact-value { font-size:18px; font-weight:700; color:var(--ink); text-decoration:none; }
.copy-btn { margin-top:12px; appearance:none; border:0; background:none; padding:0; color:var(--orange-dark); font:inherit; font-size:13px; font-weight:750; cursor:pointer; }

.site-footer { border-top:4px solid var(--orange); padding:42px 0 28px; background:#fff; }
.footer-grid { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:48px; align-items:stretch; }
.footer-brand img { width:205px; max-height:78px; object-fit:contain; object-position:left center; display:block; margin-bottom:13px; }
.footer-brand p { color:var(--muted); margin:0; max-width:620px; font-size:14px; }
.footer-right { display:flex; flex-direction:column; align-items:flex-end; justify-content:space-between; min-width:0; }
.footer-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px 18px; }
.footer-links a { position:relative; padding:3px 0 7px; text-decoration:none; font-size:13px; font-weight:650; color:#444; }
.footer-links a:hover, .footer-links a:focus-visible { color:var(--orange-dark); outline:none; }
.footer-links a.active::after { content:""; position:absolute; left:0; right:0; bottom:1px; height:2px; border-radius:2px; background:var(--orange); }
.footer-copyright { margin-top:auto; padding-top:30px; font-size:12px; color:#777; text-align:right; }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity .42s ease, transform .42s ease; }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) { html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.btn{transition:none} }

@media (max-width: 1240px) {
  .brand-motto { display:none; }
}

@media (max-width: 1200px) {
  .home-page .section { padding: 72px 0; }
}

@media (max-width: 1120px) {
  .menu-btn { display:flex; flex-direction:column; margin-left:auto; }
  .header-right { margin-left:auto; }
  .main-nav { position:fixed; top:92px; left:0; right:0; background:#fff; border-bottom:1px solid var(--line); padding:18px 28px 24px; display:none; flex-direction:column; align-items:stretch; gap:2px; box-shadow:0 18px 30px rgba(0,0,0,.06); }
  .main-nav.open { display:flex; }
  .main-nav a { font-size:16px; padding:10px 8px; }
  .main-nav a.active::after { left:8px; right:auto; width:24px; }
  .nav-contact { margin-left:0; margin-top:8px; }
  .case-layout { grid-template-columns:1fr; }
  .case-toc { position:relative; top:auto; border-left:0; border-bottom:1px solid var(--line); padding:0 0 20px; display:flex; flex-wrap:wrap; gap:6px 14px; }
  .case-toc strong { width:100%; }
  .case-toc a { border:1px solid var(--line); padding:5px 9px; border-radius:999px; }
  .contact-grid { grid-template-columns:1fr; }
}

@media (max-width: 980px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { border-bottom: 1px solid var(--line); }
  .proof-item:nth-child(odd) { border-left: 0; padding-left: 0; padding-right: 24px; }
  .proof-item:nth-child(even) { padding-right: 0; }
  .proof-item:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 720px) {
  body { font-size:16px; }
  .container { width:min(100% - 36px,var(--max)); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item,
  .proof-item:nth-child(odd),
  .proof-item:nth-child(even) {
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .proof-item:last-child { border-bottom: 0; }
  .proof-item strong { font-size: 16px; }
  .client-proof { padding: 16px 17px; }
  .section-links { align-items: flex-start; flex-direction: column; gap: 5px; }
  .section-links span { display: none; }
  .nav-wrap { padding:0 18px; height:72px; }
  .brand img { width:190px; max-height:66px; }
  .main-nav { top:72px; padding-left:18px; padding-right:18px; }
  .home-hero { min-height:auto; padding:64px 0 68px; }
  .home-hero::before { width:470px; height:260px; right:-260px; top:-150px; border-width:20px; }
  .home-hero::after { display:none; }
  .home-hero h1 { font-size:clamp(38px,10.5vw,52px); line-height:1.09; }
  .home-hero .hero-copy { font-size:18px; }
  .page-hero { min-height:auto; padding:64px 0 68px; }
  .page-hero::before { width:470px; height:260px; right:-260px; top:-150px; border-width:20px; }
  .page-hero::after { display:none; }
  .page-hero h1 { font-size:clamp(38px,10.5vw,52px); line-height:1.09; }
  .page-hero .lead { font-size:18px; }
  .section, .content-page { padding:64px 0; }
  .home-page .section { padding:56px 0; }
  .home-page .section-head { margin-bottom:0; }
  .section-head { grid-template-columns:1fr; gap:4px; margin-bottom:24px; }
  .capability-item { grid-template-columns:60px minmax(0,1fr); gap:18px; padding:40px 0; }
  .capability-num { font-size:36px; }
  .project-card h3 { font-size:24px; }
  .case-study > h2 { font-size:30px; line-height:1.1; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-right { align-items:flex-start; }
  .footer-links { justify-content:flex-start; }
  .footer-copyright { padding-top:6px; text-align:left; }
}


/* v5 responsive hardening and contact refinements */
html, body { max-width:100%; }
body { overflow-x:hidden; }
main, .container, .case-layout, .case-layout > *, .case-study, .project-card, .content-page, .prose { min-width:0; }
main a, .case-study a, .project-card a, .contact-value { overflow-wrap:anywhere; word-break:break-word; }
.meta-pill { max-width:100%; overflow-wrap:anywhere; }
.case-study p, .case-study li, .project-card p, .project-card li { overflow-wrap:anywhere; }
.contact-phone { display:block; margin-top:8px; }
.contact-phone:first-of-type { margin-top:0; }

@media (max-width: 720px) {
  .case-layout, .case-study, .project-card { width:100%; max-width:100%; }
  .case-toc { max-width:100%; }
  .case-toc a { max-width:100%; overflow-wrap:anywhere; }
  .meta-grid { width:100%; }
  .meta-pill { border-radius:14px; }
  .process-line, .flow-line { max-width:100%; overflow-wrap:anywhere; word-break:break-word; }
}

/* Issues #05 + #09 — coordinated Portfolio / Expertise architecture */
.content-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.btn-small { min-height:42px; padding:8px 14px; font-size:14px; }
.expertise-page .capabilities-grid { margin-top:-10px; }
.expertise-page .capability-item:first-child { border-top:0; padding-top:10px; }
.expertise-approach { display:grid; grid-template-columns:110px minmax(0,1fr); gap:42px; margin-top:34px; padding:58px 0 0; border-top:2px solid var(--ink); }
.expertise-approach .section-kicker { padding-top:8px; }
.expertise-approach h2 { font-size:30px; margin-top:0; }
.expertise-approach h3 { margin-top:44px; font-size:20px; letter-spacing:.025em; }

.portfolio-proof { background:var(--soft); border-bottom:1px solid var(--line); }
.portfolio-proof-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.portfolio-proof-item { min-width:0; padding:28px 28px 30px; border-left:1px solid var(--line); }
.portfolio-proof-item:first-child { border-left:0; padding-left:0; }
.portfolio-proof-item:last-child { padding-right:0; }
.portfolio-proof-item strong { display:block; color:var(--ink); font-size:17px; line-height:1.4; letter-spacing:-.006em; margin-bottom:8px; }
.portfolio-proof-item span { display:block; color:var(--muted); font-size:13px; line-height:1.5; }

.portfolio-page { padding-top:78px; }
.section-head.compact { margin-bottom:34px; }
.section-head.compact p { max-width:840px; margin:0; }
.portfolio-selected { padding-bottom:76px; border-bottom:1px solid var(--line); }
.selected-project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.featured-project-card { position:relative; display:flex; flex-direction:column; align-items:flex-start; min-width:0; padding:30px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.featured-project-card:hover { border-color:#d3b08b; box-shadow:0 14px 36px rgba(20,20,20,.045); }
.featured-project-num { color:var(--orange-dark); font-size:12px; letter-spacing:.12em; font-weight:800; margin-bottom:12px; }
.featured-project-card h3 { margin:0 0 6px; font-size:25px; line-height:1.23; }
.featured-project-card .project-subtitle { margin-bottom:14px!important; }
.featured-project-card p { font-size:16px; }
.featured-focus { color:var(--ink); font-weight:650; font-size:14px!important; }
.project-tags { margin-top:auto!important; padding-top:10px; color:var(--orange-dark); font-size:13px!important; font-weight:650; line-height:1.5; }
.featured-project-card .btn { margin-top:6px; }

.portfolio-archive { padding-top:80px; }
.portfolio-archive .portfolio-jump { margin-top:38px; }
.portfolio-archive .portfolio-category { margin-top:78px; }
.portfolio-archive .project-card { padding:30px 0 34px; }
.portfolio-archive .project-card h3 { font-size:25px; }
.archive-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 36px; margin-top:22px; }
.archive-list > div { padding:20px 0; border-top:1px solid var(--line); }
.archive-list h4 { margin:0 0 7px; color:var(--ink); font-size:17px; line-height:1.35; }
.archive-list p { margin:0; font-size:15px; }
.reference-block a { text-decoration:none; margin:8px 0; }
.reference-block a:hover, .reference-block a:focus-visible { color:var(--orange-dark); text-decoration:underline; text-underline-offset:3px; outline:none; }
.page-cta { margin-top:92px; padding:42px 0 0; border-top:2px solid var(--ink); }
.page-cta h2 { max-width:900px; font-size:clamp(28px,3vw,38px); }

@media (max-width: 980px) {
  .portfolio-proof-grid { grid-template-columns:1fr; }
  .portfolio-proof-item, .portfolio-proof-item:first-child, .portfolio-proof-item:last-child { padding:22px 0; border-left:0; border-bottom:1px solid var(--line); }
  .portfolio-proof-item:last-child { border-bottom:0; }
  .selected-project-grid { grid-template-columns:1fr; }
  .archive-list { grid-template-columns:1fr; }
}

@media (max-width: 720px) {
  .expertise-approach { grid-template-columns:60px minmax(0,1fr); gap:18px; padding-top:40px; }
  .expertise-approach .section-kicker { font-size:10px; overflow-wrap:anywhere; }
  .portfolio-page { padding-top:58px; }
  .portfolio-selected { padding-bottom:56px; }
  .featured-project-card { padding:23px 20px; }
  .portfolio-archive { padding-top:58px; }
  .portfolio-archive .portfolio-category { margin-top:58px; }
  .portfolio-jump { margin-bottom:36px; }
  .page-cta { margin-top:62px; padding-top:34px; }
}



/* Issue#06 Case Study executive summaries */
.case-summary { max-width:920px; margin:4px 0 38px; padding:22px 24px 24px; border:1px solid var(--line); border-top:3px solid var(--orange); background:#fff; }
.case-summary-title { color:var(--ink); font-size:12px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; margin-bottom:16px; }
.case-summary-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.case-summary-item { min-width:0; padding:0 20px; border-left:1px solid var(--line); }
.case-summary-item:first-child { padding-left:0; border-left:0; }
.case-summary-item:last-child { padding-right:0; }
.case-summary-item strong { display:block; color:var(--orange-dark); font-size:12px; letter-spacing:.06em; margin-bottom:8px; }
.case-summary-item p { margin:0!important; font-size:15px; line-height:1.55; color:#444; }
@media (max-width:720px) {
  .case-summary { padding:20px; margin-bottom:32px; }
  .case-summary-grid { grid-template-columns:1fr; }
  .case-summary-item, .case-summary-item:first-child, .case-summary-item:last-child { padding:14px 0; border-left:0; border-top:1px solid var(--line); }
  .case-summary-item:first-child { padding-top:0; border-top:0; }
  .case-summary-item:last-child { padding-bottom:0; }
}

/* v17: About final polish */
.about-proof .proof-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.about-page > .container > h2:first-child { max-width:900px; margin-bottom:24px; }
.about-page .page-cta p { max-width:760px; font-size:18px; }

/* v20 — Issue #14: responsive audit fixes */
@media (max-width: 980px) {
  .about-proof .proof-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .about-proof .proof-grid { grid-template-columns: 1fr; }
  .expertise-page .capability-item { grid-template-columns:1fr; gap:10px; }
  .expertise-page .capability-num { font-size:13px; line-height:1.2; letter-spacing:.12em; margin-bottom:1px; }
}


/* v19 — Issues #10–#11: Contact page structure and details */
.contact-page .contact-grid { grid-template-columns:minmax(0,1fr) 420px; gap:70px; }
.contact-page .contact-details { min-width:0; }
.contact-page .contact-card { padding:34px 36px; }
.contact-page .contact-item { padding:24px 0; }
.contact-page .contact-item:first-child { padding-top:0; border-top:0; }
.contact-page .contact-item:last-child { padding-bottom:0; }
.contact-entry { display:grid; grid-template-columns:180px minmax(0,1fr); gap:20px; align-items:baseline; padding:7px 0; }
.contact-role { color:var(--muted); font-size:15px; line-height:1.45; }
.contact-page .contact-value { font-size:18px; line-height:1.4; font-weight:650; }
.contact-page .contact-value:hover { color:var(--orange-dark); }
.contact-company { color:var(--ink); font-size:18px; line-height:1.45; font-weight:650; }
.contact-note { background:var(--orange-soft); border-left:4px solid var(--orange); padding:30px 30px 28px; }
.contact-note h2 { font-size:30px; margin-bottom:18px; }
.contact-note p { font-size:17px; line-height:1.62; }
.contact-note p:last-child { margin-bottom:0; }

@media (max-width: 1120px) {
  .contact-page .contact-grid { grid-template-columns:1fr; gap:38px; }
  .contact-note { max-width:760px; }
}

@media (max-width: 760px) {
  .contact-entry { grid-template-columns:1fr; gap:2px; padding:9px 0; }
  .contact-page .contact-card { padding:26px 24px; }
  .contact-note { padding:26px 24px 24px; }
}


.brochure-preview { display:block; margin:24px 0 12px; max-width:920px; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; text-decoration:none; color:inherit; }
.brochure-preview:hover, .brochure-preview:focus-visible { border-color:#d8c2a3; box-shadow:0 0 0 3px rgba(220,132,25,.10); outline:none; }
.brochure-preview img { display:block; width:100%; height:auto; background:#fff; }
.brochure-preview span { display:block; padding:14px 16px; border-top:1px solid var(--line); font-size:14px; font-weight:750; color:var(--orange-dark); }
@media (max-width: 640px) { .brochure-preview span { font-size:13px; padding:12px 14px; } }


.case-diagram { margin: 24px 0 28px; max-width: 960px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.case-diagram img { display: block; width: 100%; height: auto; }
.case-diagram figcaption { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); background: #fff; }
@media (max-width: 640px) { .case-diagram figcaption { padding: 12px 14px; font-size: 13px; } }
