:root {
  --bg: #fff;
  --panel: #f2f6fc;
  --text: #18263c;
  --muted: #59697d;
  --blue: #2563eb;
  --line: #dce4ee;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Golos Text', Arial, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
::selection { background: var(--blue); color: white; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.skip { position: fixed; top: -100px; left: 20px; padding: 16px; background: var(--blue); color: white; z-index: 100; }
.skip:focus { top: 12px; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; z-index: 60; }
.header { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 4.5%; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; background: #ffffffed; backdrop-filter: blur(16px); transition: transform .45s var(--ease), box-shadow .4s; will-change: transform; }
.header.is-scrolled { box-shadow: 0 8px 28px #2037590b; }
.header.is-hidden { transform: translateY(-105%); pointer-events: none; }
.header:has(:focus-visible) { transform: none; pointer-events: auto; }
.brand-lockup { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo { width: 47px; height: 58px; object-fit: contain; }
.brand-name { font-weight: 700; font-size: 21px; letter-spacing: .015em; line-height: 1.3; white-space: nowrap; }
.brand-name span { color: var(--blue); font-weight: 500; }
.desktop-nav { display: flex; gap: 30px; }
.desktop-nav a, footer a:last-child { font-size: 14px; position: relative; padding: 10px 0; }
.desktop-nav a:after, footer a:last-child:after { content: ''; position: absolute; bottom: 2px; left: 0; width: 100%; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.desktop-nav a:hover:after, footer a:last-child:hover:after { transform: scaleX(1); transform-origin: left; }
.header-contact { display: flex; align-items: center; gap: 20px; font-size: 14px; white-space: nowrap; }
.contact-mark { font-size: 26px; font-weight: 400; color: var(--blue); transition: transform .6s var(--ease); }
.header-contact:hover .contact-mark { transform: rotate(90deg); }
.menu-toggle { display: none; }
.mobile-nav[hidden] { display: none; }
.hero { padding: 30px 4.5% 0; background: linear-gradient(#f7f9fc, #fff); }
.hero-meta { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .07em; color: var(--muted); }
.hero-heading { display: grid; grid-template-columns: 1fr 240px; align-items: center; gap: 40px; margin: 36px 0; }
h1 { font-size: clamp(42px, 4.2vw, 66px); font-weight: 500; letter-spacing: -.035em; line-height: 1.14; margin: 0; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: block; }
h1 em { color: var(--blue); font-style: normal; font-weight: 500; }
.hero-aside p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 20px; }
.text-link { display: inline-flex; flex-direction: column; gap: 9px; position: relative; font-size: 14px; width: fit-content; }
.text-link > span { height: 1px; background: var(--line); overflow: hidden; width: 100%; }
.text-link > span:after { content: ''; display: block; background: var(--blue); width: 100%; height: 100%; transform: translateX(-102%); transition: transform .6s var(--ease); }
.text-link:hover > span:after { transform: translateX(0); }
.hero-visual { height: clamp(360px, 43vw, 570px); position: relative; overflow: hidden; background: var(--panel); isolation: isolate; border-radius: 5px; }
.hero-photo { height: 120%; width: 100%; position: absolute; top: -10%; object-fit: cover; object-position: 50% 48%; will-change: transform; }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #081a3130, transparent 45%, #081a3166); }
.visual-label { position: absolute; top: 25px; left: 28px; display: flex; gap: 16px; align-items: center; color: white; font-size: 11px; line-height: 1.8; letter-spacing: .06em; text-shadow: 0 1px 12px #0008; }
.visual-label b { font-size: 14px; font-weight: 400; letter-spacing: 0; }
.crosshair { width: 24px; height: 24px; position: relative; flex-shrink: 0; }
.crosshair:before, .crosshair:after { content: ''; position: absolute; left: 50%; top: 50%; width: 24px; height: 1px; background: white; }
.crosshair:before { transform: translate(-50%, -50%); }
.crosshair:after { transform: translate(-50%, -50%) rotate(90deg); }
.visual-contact { position: absolute; bottom: 0; right: 0; background: var(--blue); color: white; width: 290px; min-height: 120px; display: flex; justify-content: space-between; align-items: center; padding: 27px; font-size: 24px; letter-spacing: -.025em; line-height: 1.25; transition: background .4s; }
.visual-contact:hover { background: #174ec5; }
.round-plus { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ffffff85; border-radius: 50%; font-size: 28px; font-weight: 400; transition: transform .7s var(--ease), background .4s; }
.visual-contact:hover .round-plus, .contact-button:hover .round-plus { transform: rotate(90deg); background: #ffffff20; }
.visual-caption { position: absolute; bottom: 24px; left: 28px; color: white; font-size: 10px; letter-spacing: .07em; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding: 20px 0; font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.scroll-hint { display: flex; align-items: center; gap: 14px; }
.scroll-hint i { width: 1px; height: 23px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i:after { content: ''; position: absolute; top: 0; width: 1px; height: 12px; background: var(--blue); animation: scroll-line 2.5s infinite; }
.section-pad { padding: 78px 4.5%; scroll-margin-top: 18px; }
.section-label { font-size: 11px; letter-spacing: .09em; color: var(--muted); }
.section-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.section-title { font-size: clamp(30px, 3vw, 44px); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; margin: 28px 0 38px; }
.section-title span { color: var(--blue); }
.company { display: grid; grid-template-columns: 20% 1fr; }
.company-content { display: grid; grid-template-columns: 1fr 1.25fr; gap: 7%; }
.statement { font-size: clamp(25px, 2.4vw, 34px); font-weight: 500; line-height: 1.35; letter-spacing: -.025em; margin: 0; }
.statement span { color: var(--muted); }
.company-description p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 0 24px; }
.expertise { background: var(--panel); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { min-width: 0; background: white; border: 1px solid #e2e9f3; border-radius: 7px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 20px #20375904; }
.service-image-link { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #e8edf4; overflow: hidden; }
.service-photo { display: block; width: 100%; height: 100%; object-fit: contain; transition: filter .5s; }
.service-image-link:hover .service-photo { filter: brightness(1.06); }
.service-copy { padding: 25px 24px; display: flex; flex-direction: column; flex: 1; }
.service-copy h3 { font-size: 22px; line-height: 1.35; letter-spacing: -.02em; font-weight: 500; margin: 0 0 18px; }
.service-copy p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 25px; }
.service-copy .text-link { margin-top: auto; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; align-items: start; border-bottom: 1px solid var(--line); }
.metric { display: flex; flex-direction: column; gap: 13px; }
.metric strong { font-size: clamp(40px, 4vw, 64px); line-height: 1; font-weight: 500; letter-spacing: -.04em; color: var(--blue); }
.metric > span { color: var(--muted); font-size: 14px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px 30px; }
.project-card:nth-child(even) { margin-top: 35px; }
.project-photo { aspect-ratio: 1.5; position: relative; overflow: hidden; background: var(--panel); border-radius: 4px; }
.project-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card:hover img { transform: scale(1.035); }
.project-open { position: absolute; right: 0; bottom: 0; background: var(--blue); color: white; padding: 8px 21px; font-size: 27px; transition: padding .6s var(--ease); }
.project-card:hover .project-open { padding: 8px 29px; }
.project-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; font-size: 12px; color: var(--blue); }
.project-card h3 { font-weight: 400; font-size: clamp(18px, 1.65vw, 23px); line-height: 1.5; margin: 12px 0 0; letter-spacing: -.015em; }
.leadership { background: #f7f9fc; }
.leader-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9%; max-width: 1000px; margin: 85px auto 0; }
.leader { min-width: 0; }
.leader-photo { height: 340px; position: relative; isolation: isolate; overflow: visible; clip-path: inset(-100px -60px 0); }
.leader-photo:before { content: ''; position: absolute; inset: 22% 0 0; border-radius: 12px 12px 0 0; background: linear-gradient(130deg, #e7eef9, #d6e4f8); z-index: -1; }
.leader-photo:after { content: ''; position: absolute; width: 48px; height: 48px; border-top: 1px solid #9dbbed; border-right: 1px solid #9dbbed; top: 16%; right: -10px; z-index: -1; }
.leader-photo img { position: absolute; bottom: -6px; left: 50%; width: 92%; height: calc(100% + 50px); max-width: none; object-fit: contain; object-position: center bottom; transform: translateX(-50%); filter: drop-shadow(0 8px 12px #2843630c); transition: transform .9s var(--ease); }
.leader:hover .leader-photo img { transform: translate(-50%, -5px); }
.leader-position { display: block; margin-top: 25px; color: var(--blue); font-size: 14px; }
.leader h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; margin: 12px 0 16px; }
.leader p, .reference p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 45px; }
.reference { border-top: 1px solid var(--line); padding-top: 26px; }
.reference h3 { font-size: 21px; font-weight: 500; line-height: 1.4; }
.client-logo { width: 160px; height: 85px; padding: 8px; background: white; }
.client-logo img { width: 100%; height: 100%; object-fit: contain; }
.approach { display: grid; grid-template-columns: 20% 1fr; background: var(--panel); }
.approach .section-title { margin-top: 0; }
.approach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.approach-grid article { border-top: 1px solid var(--line); padding-top: 27px; }
.approach-grid h3 { font-size: 18px; font-weight: 500; line-height: 1.5; margin: 24px 0 12px; }
.approach-grid p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.line-symbol { display: block; width: 30px; height: 28px; border-left: 1px solid var(--blue); transform: skew(-25deg); margin-left: 8px; }
.line-symbol.double { border-right: 1px solid var(--blue); width: 15px; }
.line-symbol.triple { border-right: 1px solid var(--blue); position: relative; }
.line-symbol.triple:after { content: ''; position: absolute; height: 100%; left: 14px; border-left: 1px solid var(--blue); }
.contact { background: var(--blue); color: white; position: relative; overflow: hidden; }
.contact:after { content: '+'; position: absolute; right: 0; bottom: -110px; color: #ffffff08; font-size: 560px; line-height: 1; pointer-events: none; }
.contact-top { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; letter-spacing: .06em; }
.contact-top .section-label { color: #dbe6ff; }
.contact h2 { font-size: clamp(34px, 4.1vw, 58px); letter-spacing: -.03em; line-height: 1.18; font-weight: 500; margin: 38px 0; position: relative; z-index: 1; }
.contact h2 span { color: #d2e2ff; }
.contact-details { position: relative; z-index: 1; max-width: 620px; margin-bottom: 24px; }
.contact-details a { display: block; width: fit-content; font-size: clamp(21px, 2vw, 30px); margin-bottom: 10px; letter-spacing: -.015em; }
.contact-details p { font-size: 16px; line-height: 1.7; margin: 17px 0 0; color: #e3ecff; }
.contact-button { display: inline-flex; align-items: center; gap: 50px; padding: 15px 0; border-bottom: 1px solid #ffffff80; font-size: 17px; position: relative; z-index: 1; }
.back-to-top { position: fixed; right: 26px; bottom: 26px; z-index: 45; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid #cbdaf7; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 5px 24px #1d3a6722; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(15px); transition: opacity .35s, transform .5s var(--ease), background .3s, color .3s; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); color: white; }
.back-to-top svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
footer { padding: 36px 4.5%; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #f7f9fc; }
footer > span { font-size: 12px; line-height: 1.6; color: var(--muted); }
@keyframes scroll-line { from { transform: translateY(-15px); } to { transform: translateY(40px); } }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .intro { animation: fade-in .9s .15s both; }
  .motion-ready .line > span { animation: title-in 1.1s var(--ease) both; }
  .motion-ready .line:nth-child(2) > span { animation-delay: .12s; }
  .motion-ready .hero-visual { animation: photo-in 1.2s .1s var(--ease) both; }
  .motion-ready .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0ms); }
  .motion-ready .reveal.visible { opacity: 1; transform: none; }
  @keyframes title-in { from { transform: translateY(115%); } to { transform: translateY(0); } }
  @keyframes photo-in { from { clip-path: inset(9% 0 0); opacity: 0; } to { clip-path: inset(0); opacity: 1; } }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (min-width: 1650px) {
  .hero, .section-pad { padding-left: max(4.5%, calc((100vw - 1480px)/2)); padding-right: max(4.5%, calc((100vw - 1480px)/2)); }
}
@media (max-width: 1050px) {
  .brand-name { font-size: 18px; }
  .brand-lockup { gap: 10px; }
  .brand-logo { width: 40px; }
  .desktop-nav { gap: 22px; }
  .header { gap: 20px; }
  .header-contact { gap: 12px; }
  .hero-heading { grid-template-columns: 1fr 195px; gap: 30px; }
  .hero-aside p { font-size: 14px; }
  .company-content { grid-template-columns: 1fr; gap: 25px; }
  .company-description { max-width: 650px; }
  .service-copy { padding: 20px 18px; }
  .service-copy h3 { font-size: 20px; }
  .service-copy p { font-size: 16px; }
  .leader-photo { height: 300px; }
  footer > span { max-width: 260px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 95px; }
  .header { height: 78px; padding: 0 6%; }
  .brand-logo { width: 35px; height: 48px; }
  .brand-name { font-size: 18px; letter-spacing: .005em; }
  .desktop-nav, .header-contact { display: none; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: white; border: 1px solid var(--line); border-radius: 5px; color: var(--text); }
  .menu-toggle span { display: block; flex: 0 0 2px; width: 20px; height: 2px; background: currentColor; transition: transform .3s, opacity .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav { position: fixed; z-index: 42; top: 78px; left: 0; right: 0; padding: 27px 6%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px #2037590b; display: flex; flex-direction: column; gap: 25px; }
  .hero { padding: 25px 6% 0; }
  .hero-meta { font-size: 9px; letter-spacing: .02em; }
  .hero-meta span:last-child { display: none; }
  .hero-heading { display: block; margin: 28px 0; }
  h1 { font-size: clamp(32px, 8.3vw, 44px); letter-spacing: -.025em; }
  .hero-aside { margin-top: 24px; display: block; }
  .hero-aside p { font-size: 16px; line-height: 1.6; max-width: 300px; margin-bottom: 15px; }
  .hero-visual { height: 370px; }
  .hero-photo { object-position: 50% 50%; }
  .visual-label { top: 17px; left: 18px; gap: 12px; font-size: 9px; }
  .visual-label b { font-size: 12px; }
  .visual-caption { display: none; }
  .visual-contact { width: 220px; min-height: 98px; font-size: 21px; padding: 22px; }
  .round-plus { width: 38px; height: 38px; font-size: 26px; }
  .hero-bottom { font-size: 8px; padding: 18px 0; gap: 10px; }
  .hero-bottom > span:last-child { display: none; }
  .scroll-hint { gap: 9px; }
  .section-pad { padding: 56px 6%; }
  .section-label { font-size: 10px; }
  .section-title { font-size: 29px; margin: 25px 0 30px; line-height: 1.25; }
  .section-top { gap: 20px; align-items: start; }
  .section-top .text-link { font-size: 14px; flex-shrink: 0; }
  .company, .approach { display: block; }
  .company > .section-label, .approach > .section-label { margin-bottom: 25px; }
  .statement { font-size: 26px; }
  .company-content { gap: 25px; }
  .service-grid { grid-template-columns: 1fr; gap: 25px; }
  .service-image-link { aspect-ratio: 4 / 3; }
  .service-copy { padding: 24px; }
  .service-copy h3 { font-size: 23px; }
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .metrics > .section-label { grid-column: 1 / -1; margin-bottom: 15px; }
  .metric strong { font-size: 43px; }
  .metric > span { font-size: 12px; line-height: 1.5; }
  .project-grid, .leader-grid, .reference-grid { grid-template-columns: 1fr; gap: 35px; }
  .project-card:nth-child(even) { margin-top: 0; }
  .project-card h3 { font-size: 19px; }
  .leader-grid { margin-top: 82px; gap: 95px; }
  .leader-photo { height: 300px; max-width: 370px; margin: 0 auto; }
  .leader-photo img { height: calc(100% + 50px); width: 94%; }
  .leader-photo:after { right: -5px; }
  .leader h3 { font-size: 24px; }
  .leadership .section-top > span:last-child { display: none; }
  .approach-grid { grid-template-columns: 1fr; gap: 22px; }
  .approach-grid article { display: grid; grid-template-columns: 35px 1fr; gap: 0 22px; padding-top: 22px; }
  .line-symbol { grid-row: span 2; margin-top: 5px; }
  .approach-grid h3 { margin: 0; font-size: 18px; }
  .approach-grid p { margin: 10px 0 0; }
  .contact-top > span:last-child { display: none; }
  .contact h2 { font-size: 34px; margin: 30px 0; }
  .contact-details a { font-size: 24px; }
  .contact-button { font-size: 16px; gap: 30px; }
  .contact:after { font-size: 390px; right: -50px; bottom: -60px; }
  .back-to-top { right: 18px; bottom: 18px; width: 48px; height: 48px; }
  footer { padding: 30px 6%; display: grid; grid-template-columns: 1fr; gap: 22px; }
  footer > span { max-width: 100%; font-size: 12px; }
  footer > a:last-child { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .hero-photo, .header { will-change: auto; }
}
/* Equal image frames, cropped without distorting the source. */
.service-image-link { aspect-ratio: 16 / 10; position: relative; }
.service-photo { object-fit: cover; transition: transform 1.1s var(--ease), filter .55s; }
.service-card { transition: box-shadow .55s var(--ease), border-color .55s, transform .55s var(--ease); }
.motion-ready .service-card.reveal.visible { transition: opacity .9s var(--ease), transform .55s var(--ease), box-shadow .55s, border-color .55s; }
.service-card.reveal.visible:hover, .service-card:focus-within { transform: translateY(-8px); border-color: #aac4f3; box-shadow: 0 18px 40px #254c7f18; }
.service-card:hover .service-photo, .service-card:focus-within .service-photo { transform: scale(1.075); filter: brightness(1.035); }
.service-image-link:after { content: '+'; position: absolute; bottom: 15px; right: 15px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--blue); font-size: 25px; opacity: 0; transform: translateY(9px) rotate(-90deg); transition: opacity .4s, transform .7s var(--ease); }
.service-card:hover .service-image-link:after, .service-card:focus-within .service-image-link:after { opacity: 1; transform: none; }
.service-copy h3 { min-height: 2.7em; transition: color .4s; }
.service-card:hover h3, .service-card:focus-within h3 { color: var(--blue); }
.metric strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric-plus { display: inline-block; font-size: .65em; vertical-align: top; margin: .05em 0 0 .1em; font-weight: 400; }
.metric-count { display: inline-block; min-width: 1.25ch; }
@media (prefers-reduced-motion: no-preference) {
  .metric.is-counting .metric-count { animation: metric-rise 1s var(--ease) both; }
  @keyframes metric-rise { from { opacity: .3; transform: translateY(17px); } to { opacity: 1; transform: none; } }
}
/* Profiles share the same space; the selected profile expands into both columns. */
.leader-switcher { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.leader-switcher button { padding: 10px 17px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 30px; font-size: 14px; cursor: pointer; transition: color .35s, border-color .35s, background .35s; }
.leader-switcher button:hover, .leader-switcher button[aria-pressed=true] { background: var(--blue); color: white; border-color: var(--blue); }
.leader-grid { display: flex; gap: 7%; align-items: start; max-width: 1200px; min-height: 640px; margin-top: 90px; transition: gap .75s var(--ease); }
.leader { display: grid; grid-template-columns: minmax(0, var(--leader-intro-width, 100%)) minmax(0, 0fr); gap: 0; flex: 0 1 46.5%; min-width: 0; opacity: 1; clip-path: inset(-100px 0 0); transition: flex-basis .8s var(--ease), opacity .4s, gap .8s var(--ease), grid-template-columns .8s var(--ease); }
.leader-intro { min-width: 0; }
.leader-intro .leader-photo { max-width: 390px; margin-left: auto; margin-right: auto; }
.leader-expand, .leader-collapse { font: inherit; cursor: pointer; background: none; padding: 0; border: 0; color: var(--blue); }
.leader-expand { font-size: 14px; margin-top: 12px; text-align: left; }
.leader-grid.has-active { gap: 0; }
.leader-grid.has-active .leader:not(.is-expanded) { flex-basis: 0; opacity: 0; overflow: hidden; pointer-events: none; visibility: hidden; }
.leader-grid .leader.is-expanded { flex-basis: 100%; grid-template-columns: minmax(0, var(--leader-intro-width, 46.5%)) minmax(0, 1fr); gap: 45px; }
.leader-details { min-width: 0; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(15px); max-height: 0; transition: opacity .5s .15s, transform .6s var(--ease); }
.leader.is-expanded .leader-details { opacity: 1; visibility: visible; max-height: 680px; overflow-y: auto; transform: none; padding: 2px 15px 20px 0; scrollbar-width: thin; scrollbar-color: #b4c9eb transparent; }
.leader-details-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 18px; color: var(--muted); font-size: 14px; }
.leader-collapse { font-size: 14px; }
.leader-experience { display: flex; align-items: center; gap: 20px; padding: 25px 0 12px; }
.leader-experience strong { font-size: 43px; font-weight: 500; color: var(--blue); }
.leader-experience strong span { font-size: 25px; margin-left: 3px; }
.leader-experience > span { max-width: 140px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.leader-detail-section { margin-top: 25px; }
.leader-detail-section h4 { color: var(--blue); font-size: 15px; font-weight: 500; margin: 0 0 12px; }
.leader-detail-section ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.leader-detail-section li { font-size: 16px; line-height: 1.75; color: var(--text); }
.leader-detail-key_skills ul { display: flex; flex-wrap: wrap; gap: 8px; }
.leader-detail-key_skills li { padding: 7px 11px; border: 1px solid #d6e2f4; background: #eef4fd; border-radius: 5px; font-size: 14px; line-height: 1.5; }
.reference h3 { font-size: clamp(23px, 2.3vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 14px; }
.reference-author { font-size: 15px; line-height: 1.6; color: var(--text); }
.reference-author span { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; }
.footer-copy { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
/* Contact curtain and document viewer use native accessible modal dialogs. */
.overlay-open { overflow: hidden; }
.contact-tab { position: fixed; right: 0; top: 45%; z-index: 44; padding: 21px 12px; writing-mode: vertical-rl; border: 0; border-radius: 9px 0 0 9px; background: var(--blue); color: white; font-size: 14px; font-weight: 500; letter-spacing: .04em; cursor: pointer; box-shadow: -4px 4px 22px #20375926; transition: padding .4s var(--ease), background .3s; }
.contact-tab:hover { padding-right: 18px; padding-left: 18px; background: #174ec5; }
.contact-drawer { width: min(510px, 100%); max-width: 100vw; height: 100dvh; max-height: 100dvh; inset: 0 0 0 auto; margin: 0; padding: 32px; border: 0; color: var(--text); background: white; transform: translateX(102%); transition: transform .32s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.contact-drawer.is-entered { transform: none; }
.contact-drawer::backdrop, .letter-modal::backdrop { background: #0d20395e; backdrop-filter: blur(5px); }
.drawer-heading, .letter-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-close { display: inline-grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: white; cursor: pointer; transition: transform .5s var(--ease), background .3s; }
.dialog-close:hover { transform: rotate(90deg); background: var(--panel); }
.dialog-close svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.contact-drawer h2 { font-weight: 500; font-size: 32px; line-height: 1.2; letter-spacing: -.03em; margin: 34px 0 18px; }
.drawer-intro { font-size: 16px; color: var(--muted); line-height: 1.7; margin: 0 0 27px; }
.drawer-form { display: grid; gap: 18px; }
.drawer-field label { display: block; font-size: 14px; margin-bottom: 9px; color: var(--text); }
.drawer-field label span { color: var(--blue); }
.drawer-field input, .drawer-field textarea, .drawer-field select { box-sizing: border-box; width: 100%; min-height: 46px; padding: 11px 12px; font: inherit; font-size: 16px; line-height: 1.5; border: 1px solid #cdd8e5; border-radius: 5px; color: var(--text); background: #fafcff; transition: border-color .3s, box-shadow .3s; }
.drawer-field textarea { min-height: 120px; resize: vertical; }
.drawer-field input:focus, .drawer-field textarea:focus, .drawer-field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px #2563eb12; }
.drawer-field [aria-invalid=true] { border-color: #b53131; }
.field-error { color: #a82424; font-size: 14px; line-height: 1.5; margin: 8px 0 0; }
.drawer-submit { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 16px 19px; border: 0; border-radius: 5px; background: var(--blue); color: white; cursor: pointer; font-size: 16px; transition: background .3s; }
.drawer-submit span { font-size: 24px; line-height: 1; }
.drawer-submit:hover { background: #174ec5; }
.drawer-submit:disabled { opacity: .6; cursor: wait; }
.drawer-status { font-size: 15px; color: var(--muted); line-height: 1.7; }
.drawer-status.is-success { padding: 16px; border: 1px solid #bad8ca; border-radius: 5px; background: #f0f8f4; color: #215c3b; }
.letter-modal { width: min(1100px, 94vw); max-width: 94vw; height: min(94dvh, 1100px); max-height: 94dvh; padding: 0; border: 0; border-radius: 9px; color: var(--text); background: white; opacity: 0; transform: translateY(22px) scale(.98); transition: opacity .32s, transform .32s var(--ease); overflow: hidden; }
.letter-modal.is-entered { opacity: 1; transform: none; }
.letter-modal[open] { display: flex; flex-direction: column; }
.letter-heading { padding: 20px 25px; border-bottom: 1px solid var(--line); }
.letter-heading h2 { font-size: 22px; font-weight: 500; line-height: 1.3; margin: 8px 0 0; }
.letter-controls { display: flex; align-items: center; gap: 15px; }
.letter-zoom { background: white; color: var(--blue); border: 0; padding: 10px 0; cursor: pointer; font-size: 14px; white-space: nowrap; }
.letter-body { flex: 1; min-height: 0; overflow: auto; padding: 20px; background: #edf1f6; text-align: center; overscroll-behavior: contain; }
.letter-body img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(min(94dvh, 1100px) - 155px); margin: 0 auto; object-fit: contain; box-shadow: 0 8px 25px #142a4112; }
.letter-modal.is-zoomed .letter-body img { width: 150%; max-width: none; max-height: none; }
.letter-status { color: var(--muted); font-size: 15px; }
@media (max-width: 1050px) {
  .leader-grid .leader.is-expanded { gap: 30px; }
  .leader-details-heading { align-items: start; }
}
@media (max-width: 700px) {
  .service-image-link { aspect-ratio: 16 / 10; }
  .service-copy h3 { min-height: 2.7em; }
  .leader-grid { flex-direction: column; gap: 85px; min-height: 0; margin-top: 80px; }
  .leader-grid .leader { width: 100%; flex: none; grid-template-columns: minmax(0, 1fr); transition: opacity .3s; }
  .leader-grid .leader.is-expanded { grid-template-columns: 1fr; gap: 30px; }
  .leader-grid.has-active .leader:not(.is-expanded) { display: none; }
  .leader-details { display: none; }
  .leader.is-expanded .leader-details { display: block; max-height: none; overflow: visible; padding-right: 0; }
  .leader-switcher { gap: 8px; }
  .leader-switcher button { padding: 9px 12px; font-size: 14px; }
  .reference h3 { font-size: 26px; }
  .footer-copy { max-width: 100%; }
  .contact-tab { padding: 17px 10px; font-size: 14px; }
  .contact-tab:hover { padding-left: 10px; padding-right: 10px; }
  .contact-drawer { padding: 24px; }
  .contact-drawer h2 { font-size: 29px; }
  .letter-modal { width: 96vw; max-width: 96vw; }
  .letter-heading { padding: 17px; gap: 12px; }
  .letter-heading h2 { font-size: 18px; }
  .letter-controls { flex-direction: column-reverse; gap: 7px; }
  .letter-zoom { font-size: 14px; }
  .letter-body { padding: 12px; }
  .letter-body img { max-height: calc(94dvh - 165px); }
}
/* Keep text, image frames and overlays steady across viewport changes. */
html { scrollbar-gutter: stable; }
.service-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; min-height: 8.75em; }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .service-image-link, .motion-ready .project-photo { clip-path: inset(0 0 10% 0); transition: clip-path 1.25s var(--ease); transition-delay: var(--delay, 0ms); }
  .motion-ready .service-card.visible .service-image-link, .motion-ready .project-card.visible .project-photo { clip-path: inset(0); }
}
/* Two strokes orbit the card, then rest at opposite diagonal corners. */
.service-card { position: relative; }
.service-border { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; opacity: 0; transition: opacity .3s; }
.border-orbit { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: var(--orbit-dash); stroke-dashoffset: var(--rest-offset); }
.has-orbit-border .service-border { display: block; }
.service-card:hover .service-border, .service-card:focus-within .service-border { opacity: 1; }
.service-card:hover .border-orbit, .service-card:focus-within .border-orbit { animation: border-orbit-in 1.5s cubic-bezier(.22,.7,.22,1) both; }
@keyframes border-orbit-in {
  0% { stroke-dashoffset: var(--start-offset); opacity: 0; }
  15% { opacity: 1; }
  100% { stroke-dashoffset: var(--rest-offset); opacity: 1; }
}
.leader-intro { cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .service-card:hover .border-orbit, .service-card:focus-within .border-orbit { animation: none; }
}
/* Shared page navigation. */
.desktop-nav { align-items: center; gap: 24px; }
.desktop-nav a[aria-current=page], .mobile-nav a[aria-current=page] { color: var(--blue); font-weight: 500; }
.desktop-nav a[aria-current=page]:after { transform: scaleX(1); }
.nav-more { position: relative; }
.nav-more > summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 14px; padding: 10px 0; }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.2; transition: transform .3s; }
.nav-more[open] > summary svg { transform: rotate(180deg); }
.nav-dropdown { position: absolute; right: -20px; top: calc(100% + 12px); width: 210px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 16px 40px #20375917; z-index: 45; }
.nav-more[open] .nav-dropdown { animation: navigation-in .3s var(--ease); }
.nav-dropdown a { display: block; padding: 13px 14px; border-radius: 4px; }
.nav-dropdown a:hover { background: var(--panel); color: var(--blue); }
.nav-dropdown a:after { display: none; }
@keyframes navigation-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* About: editorial introduction, full company story and grouped documents. */
.about-hero { padding-top: 28px; background: linear-gradient(#f5f8fd, white); }
.breadcrumbs { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 44px; }
.breadcrumbs a:hover { color: var(--blue); }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 7%; align-items: center; }
.about-hero-copy h1 { font-size: clamp(37px, 3.5vw, 56px); line-height: 1.15; margin: 24px 0; letter-spacing: -.025em; }
.about-lead { font-size: 18px; line-height: 1.65; color: var(--text); max-width: 410px; margin: 0 0 16px; }
.about-hero-description { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 390px; margin: 0 0 28px; }
.about-quick-links { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.about-team { min-width: 0; margin: 0; }
.about-team > img { display: block; width: 100%; height: auto; border-radius: 7px; }
.about-team figcaption { display: flex; justify-content: space-between; gap: 15px; font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 17px; }
.about-story { display: grid; grid-template-columns: 15% minmax(0, 1fr) 170px; gap: 5%; border-top: 1px solid var(--line); }
.about-story .section-title { margin-top: 0; font-size: clamp(28px, 2.7vw, 39px); }
.about-story-copy p { font-size: 16px; line-height: 1.9; color: var(--muted); margin: 0; }
.about-seal { text-align: center; padding-top: 12px; }
.about-seal img { width: 150px; height: 175px; object-fit: contain; }
.about-seal span { display: block; color: var(--muted); font-size: 11px; margin-top: 18px; }
.about-principles { background: var(--panel); }
.purpose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.purpose-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 34px; }
.purpose-symbol { display: inline-flex; padding: 10px; color: var(--blue); background: #f0f5fe; border-radius: 10px; }
.purpose-symbol svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.purpose-card h3 { font-size: 26px; font-weight: 500; letter-spacing: -.025em; margin: 23px 0; }
.purpose-card ul, .strategy-lines { list-style: none; margin: 0; padding: 0; }
.purpose-card li { position: relative; padding-left: 19px; margin-top: 17px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.purpose-card li:before { content: ''; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; position: absolute; left: 0; top: .7em; }
.about-strategy { display: grid; grid-template-columns: 20% minmax(0, 1fr); gap: 5%; }
.about-strategy .section-title { margin-top: 0; }
.strategy-lines { display: grid; gap: 19px; }
.strategy-lines li { color: var(--muted); font-size: 16px; line-height: 1.8; border-left: 2px solid #c4d7f8; padding-left: 23px; }
.strategy-lines li:first-child { color: var(--text); font-size: 20px; border-left-color: var(--blue); }
.strategy-image { display: block; width: 100%; height: auto; max-height: 450px; object-fit: cover; margin-top: 35px; border-radius: 6px; }
.document-group { border-top: 1px solid var(--line); }
.document-group:last-child { border-bottom: 1px solid var(--line); }
.document-group > summary, .more-reviews > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 0; font-size: 23px; font-weight: 500; cursor: pointer; list-style: none; }
.document-group > summary::-webkit-details-marker, .more-reviews > summary::-webkit-details-marker { display: none; }
.document-group small { display: inline-block; color: var(--blue); font-size: 13px; font-weight: 400; margin-left: 13px; vertical-align: middle; }
.document-group > summary i, .more-reviews > summary i { position: relative; width: 22px; height: 22px; flex-shrink: 0; color: var(--blue); }
.document-group > summary i:before, .document-group > summary i:after, .more-reviews > summary i:before, .more-reviews > summary i:after { content: ''; width: 22px; height: 1px; background: currentColor; position: absolute; left: 0; top: 11px; transition: transform .4s var(--ease); }
.document-group > summary i:after, .more-reviews > summary i:after { transform: rotate(90deg); }
.document-group[open] > summary i:after, .more-reviews[open] > summary i:after { transform: rotate(0); }
.document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 5px 0 35px; }
.document-card { min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 15px; background: white; transition: box-shadow .5s, border-color .5s; }
.document-card:hover { border-color: #a6c0ef; box-shadow: 0 14px 30px #20375910; }
.document-image { height: 275px; padding: 13px; position: relative; background: #f5f7fa; overflow: hidden; }
.document-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.document-card:hover .document-image img { transform: scale(1.035); }
.document-view { position: absolute; bottom: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--blue); font-size: 23px; box-shadow: 0 2px 10px #20375916; }
.document-card h3 { font-size: 17px; font-weight: 500; line-height: 1.5; margin: 20px 0 10px; }
.document-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.document-hint { display: block; font-size: 14px; color: var(--blue); margin-top: 18px; }
.more-reviews { margin-top: 38px; border-top: 1px solid var(--line); }
.more-reviews > summary { font-size: 16px; color: var(--blue); }
.details-close-label { display: none; }
.more-reviews[open] .details-open-label { display: none; }
.more-reviews[open] .details-close-label { display: inline; }
.more-reviews .reference-grid { padding-top: 22px; }
.about-cta { background: var(--panel); display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.about-cta .section-title { margin-bottom: 20px; }
.about-cta p { max-width: 470px; font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0; }
.about-cta-button { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-shrink: 0; padding: 19px 24px; border-radius: 6px; background: var(--blue); color: white; font-size: 16px; transition: background .3s, transform .6s var(--ease); }
.about-cta-button span { font-size: 27px; font-weight: 400; transition: transform .6s var(--ease); }
.about-cta-button:hover { background: #174ec5; transform: translateY(-3px); }
.about-cta-button:hover span { transform: rotate(90deg); }
@media (max-width: 1100px) {
  .desktop-nav { gap: 19px; }
  .nav-home { display: none; }
  .about-story { grid-template-columns: minmax(0, 1fr) 160px; gap: 35px; }
  .about-story > .section-label { grid-column: 1 / -1; }
  .about-hero-grid { gap: 5%; }
}
@media (max-width: 700px) {
  .mobile-nav { gap: 0; padding-top: 12px; padding-bottom: 16px; max-height: calc(100dvh - 78px); overflow-y: auto; }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid #edf1f6; font-size: 16px; }
  .mobile-nav a:last-child { border-bottom: 0; }
  .about-hero { padding-top: 24px; }
  .breadcrumbs { margin-bottom: 30px; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .about-hero-copy h1 { font-size: 35px; margin: 23px 0; }
  .about-lead { font-size: 17px; }
  .about-quick-links { gap: 20px; }
  .about-team figcaption { font-size: 10px; }
  .about-story { grid-template-columns: 1fr; gap: 24px; }
  .about-story > .section-label { grid-column: auto; }
  .about-story .section-title { font-size: 28px; }
  .about-seal { display: flex; align-items: center; gap: 20px; text-align: left; padding-top: 5px; }
  .about-seal img { width: 75px; height: 90px; }
  .about-seal span { margin: 0; font-size: 12px; }
  .purpose-grid { grid-template-columns: 1fr; gap: 24px; }
  .purpose-card { padding: 26px 24px; }
  .purpose-card h3 { font-size: 24px; }
  .about-principles .section-top > span:last-child { display: none; }
  .about-strategy { grid-template-columns: 1fr; gap: 25px; }
  .about-documents .section-top > span:last-child { display: none; }
  .document-group > summary { font-size: 21px; }
  .document-grid { grid-template-columns: 1fr; gap: 24px; }
  .document-image { height: 330px; }
  .about-cta { flex-direction: column; align-items: start; gap: 30px; }
  .about-cta-button { width: 100%; }
}
summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
.photo-archive-hero { padding-top: 28px; background: linear-gradient(#f5f8fd, white); }
.photo-archive-heading { display: grid; grid-template-columns: 1fr minmax(250px, .7fr); gap: 8%; align-items: end; }
.photo-archive-heading h1 { font-size: clamp(34px, 3.7vw, 54px); margin: 22px 0 0; }
.photo-archive-heading p { color: var(--muted); font-size: 17px; line-height: 1.8; margin: 0 0 25px; }
.archive-total { display: flex; align-items: center; gap: 18px; color: var(--blue); font-size: 34px; }
.archive-total small { font-size: 14px; color: var(--muted); }
.photo-archive { border-top: 1px solid var(--line); padding-top: 36px; }
.archive-index-line { display: flex; justify-content: space-between; gap: 20px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.photo-category-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0; }
.photo-category-list a { display: flex; align-items: center; gap: 12px; font-size: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 5px; transition: background .3s, color .3s; }
.photo-category-list small { font-size: 12px; color: var(--muted); }
.photo-category-list a[aria-current], .photo-category-list a:hover { color: white; background: var(--blue); border-color: var(--blue); }
.photo-category-list a[aria-current] small, .photo-category-list a:hover small { color: #fff9; }
.photo-archive-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 25px; }
.archive-results { color: var(--muted); font-size: 14px; }
.photo-archive-toolbar form { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.photo-archive-toolbar select { min-width: 130px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--text); background: white; font: inherit; }
.photo-archive-toolbar button { border: 0; background: var(--panel); color: var(--blue); border-radius: 4px; padding: 11px 14px; cursor: pointer; }
.photo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gallery-tile { position: relative; aspect-ratio: 4 / 3; min-width: 0; overflow: hidden; border-radius: 5px; background: #eaf0f8; animation: photo-tile-in .7s var(--ease) both; }
.gallery-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; }
.gallery-tile:hover img, .gallery-tile:focus-visible img { transform: scale(1.075); filter: brightness(.9); }
.gallery-tile:before, .gallery-tile:after { content: ''; pointer-events: none; z-index: 2; position: absolute; width: 20px; height: 20px; opacity: 0; border-color: white; border-style: solid; transition: opacity .4s, transform .6s var(--ease); }
.gallery-tile:before { top: 10px; left: 10px; border-width: 1px 0 0 1px; transform: translate(-5px, -5px); }
.gallery-tile:after { right: 10px; bottom: 10px; border-width: 0 1px 1px 0; transform: translate(5px, 5px); }
.gallery-tile:hover:before, .gallery-tile:hover:after, .gallery-tile:focus-visible:before, .gallery-tile:focus-visible:after { opacity: .9; transform: none; }
.gallery-tile-shade { position: absolute; inset: auto 0 0; padding: 30px 13px 13px; color: white; background: linear-gradient(transparent, #0c1e36c9); opacity: 0; transform: translateY(7px); transition: opacity .4s, transform .6s var(--ease); }
.gallery-tile-shade > span { font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.gallery-tile-shade time { display: block; margin-top: 4px; font-size: 12px; color: #fff9; }
.gallery-view-mark { position: absolute; top: 9px; right: 12px; font-size: 24px; color: white; font-style: normal; opacity: 0; transition: opacity .4s; }
.gallery-tile:hover .gallery-tile-shade, .gallery-tile:focus-visible .gallery-tile-shade { opacity: 1; transform: none; }
.gallery-tile:hover .gallery-view-mark, .gallery-tile:focus-visible .gallery-view-mark { opacity: 1; }
.gallery-preview-missing { font-size: 13px; color: var(--muted); padding: 12px; display: block; }
.photo-load-footer { text-align: center; padding-top: 30px; }
.photo-load-status { font-size: 14px; color: var(--muted); }
.photo-load-more { display: inline-flex; align-items: center; gap: 35px; border: 1px solid var(--line); color: var(--blue); border-radius: 5px; padding: 15px 23px; font-size: 16px; }
.photo-load-more[aria-disabled] { opacity: .5; pointer-events: none; }
.photo-load-more span { font-size: 24px; }
.photo-viewer { width: min(1380px, 96vw); max-width: 96vw; height: 92dvh; max-height: 92dvh; padding: 0; border: 0; border-radius: 8px; color: var(--text); background: white; overflow: hidden; opacity: 0; transform: translateY(18px); transition: opacity .32s, transform .32s var(--ease); }
.photo-viewer[open] { display: flex; flex-direction: column; }
.photo-viewer.is-entered { opacity: 1; transform: none; }
.photo-viewer::backdrop { background: #0c1c32b0; backdrop-filter: blur(6px); }
.photo-viewer-heading { padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.photo-viewer-heading > div { display: flex; align-items: center; gap: 20px; }
.photo-viewer-count { color: var(--muted); font-size: 14px; }
.photo-viewer-zoom { color: var(--blue); background: none; border: 0; padding: 10px; font-size: 14px; cursor: pointer; }
.photo-viewer-stage { position: relative; min-height: 0; flex: 1; background: #edf2f8; }
.photo-viewer-canvas { display: grid; place-items: center; width: 100%; height: 100%; padding: 18px 65px; overflow: auto; overscroll-behavior: contain; }
.photo-viewer-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; opacity: 0; transition: opacity .35s; }
.photo-viewer-image.is-loaded { opacity: 1; }
.photo-viewer.is-zoomed .photo-viewer-canvas { display: block; }
.photo-viewer.is-zoomed .photo-viewer-image { width: auto; height: auto; max-width: none; min-width: 100%; }
.photo-viewer-status { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 14px; color: var(--muted); }
.photo-prev, .photo-next { position: absolute; z-index: 2; top: calc(50% - 23px); width: 44px; height: 46px; font-size: 32px; border: 1px solid var(--line); background: #fffffff0; color: var(--blue); border-radius: 50%; cursor: pointer; }
.photo-prev { left: 10px; }.photo-next { right: 10px; }
.photo-viewer-caption { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 18px 23px; border-top: 1px solid var(--line); }
.photo-viewer-meta { font-size: 13px; color: var(--muted); }
.photo-viewer-caption h2 { font-size: 17px; line-height: 1.5; font-weight: 500; margin: 8px 0 0; }
.photo-viewer-project { flex-shrink: 0; font-size: 14px; }
.photo-viewer-project[hidden] { display: none; }
@keyframes photo-tile-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 601px) and (max-width: 800px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .photo-archive-heading { grid-template-columns: 1fr; gap: 25px; }
  .photo-archive-heading h1 { font-size: 34px; }
  .photo-archive-heading p { font-size: 16px; }
  .archive-index-line > span:last-child { display: none; }
  .photo-category-list a { padding: 11px 12px; }
  .photo-archive-toolbar form { flex-wrap: wrap; gap: 10px; }
  .photo-viewer-canvas { padding: 12px 38px; }
  .photo-prev, .photo-next { width: 32px; height: 36px; font-size: 25px; }
  .photo-prev { left: 3px; }.photo-next { right: 3px; }
  .photo-viewer-caption { padding: 15px; display: block; }
  .photo-viewer-caption h2 { font-size: 15px; }
  .photo-viewer-project { margin-top: 12px; }
}
@media (max-width: 600px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .gallery-tile { animation: none; } }
/* Contacts: source details and an independent, accessible page form. */
.contact-page-hero { padding-top: 28px; background: linear-gradient(#f5f8fd, white); }
.contact-map-section { border-top: 1px solid var(--line); }
.contact-map-shell { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); }
.contact-map-frame { display: block; width: 100%; height: 460px; border: 0; }
@media (max-width: 700px) {
  .contact-map-frame { height: 420px; }
}
.contact-page-heading { display: grid; grid-template-columns: 1fr minmax(250px, .7fr); gap: 8%; align-items: end; }
.contact-page-heading h1 { font-size: clamp(38px, 3.8vw, 58px); margin: 23px 0 0; }
.contact-page-heading > p { font-size: 17px; color: var(--muted); line-height: 1.85; margin: 0; max-width: 430px; }
.contact-page-body { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 6%; align-items: start; }
.contact-page-info { min-width: 0; }
.contact-company-name { font-size: 24px; line-height: 1.5; letter-spacing: -.02em; font-weight: 500; margin: 22px 0 30px; }
.contact-direct { display: grid; gap: 27px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.contact-detail-label { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.contact-main-link { display: inline-block; font-size: clamp(22px, 2vw, 31px); line-height: 1.4; letter-spacing: -.025em; transition: color .3s; }
.contact-main-link:hover, .contact-emergency a:hover { color: var(--blue); }
.contact-email-link { overflow-wrap: anywhere; }
.contact-emergency a { font-size: 18px; }
.contact-details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; margin-top: 35px; }
.contact-detail-icon { display: block; width: 28px; height: 28px; stroke: var(--blue); stroke-width: 1.3; margin-bottom: 20px; }
.contact-detail-card h3 { font-size: 18px; font-weight: 500; margin: 0 0 15px; }
.contact-detail-card p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 0 17px; }
.contact-detail-card .text-link { font-size: 14px; }
.contact-project-link { border-top: 1px solid var(--line); margin-top: 35px; padding-top: 30px; }
.contact-project-link > p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 18px 0 23px; }
.contact-page-form-panel { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 32px; }
.contact-page-form-panel h2 { font-size: 30px; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; margin: 22px 0 15px; }
.contact-form-intro { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 0 28px; }
.page-contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.page-contact-field-subject, .page-contact-field-message { grid-column: 1 / -1; }
.page-contact-form textarea { min-height: 155px; }
.page-contact-form input, .page-contact-form select, .page-contact-form textarea { background: white; }
.page-contact-form select { padding-right: 9px; }
@media (max-width: 1100px) {
  .contact-details-grid { grid-template-columns: 1fr; gap: 27px; }
  .contact-detail-card { position: relative; padding-left: 44px; }
  .contact-detail-icon { position: absolute; left: 0; top: 0; }
  .contact-page-form-panel { padding: 26px; }
  .page-contact-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .contact-page-heading { grid-template-columns: 1fr; gap: 25px; }
  .contact-page-heading h1 { font-size: 36px; }
  .contact-page-heading > p { font-size: 16px; }
  .contact-page-body { grid-template-columns: 1fr; gap: 40px; }
  .contact-company-name { font-size: 23px; }
  .contact-main-link { font-size: 25px; }
  .contact-page-form-panel { padding: 27px 23px; }
  .contact-page-form-panel h2 { font-size: 28px; }
}
.nav-more[data-current-section] > summary { color: var(--blue); }
/* News and careers share the light editorial language of the main pages. */
.journal-hero, .careers-hero, .article-hero, .role-hero { padding-top: 28px; background: linear-gradient(#f5f8fd, white); }
.journal-heading { display: grid; grid-template-columns: 1fr minmax(250px, .65fr); align-items: end; gap: 8%; }
.journal-heading h1, .careers-hero h1 { font-size: clamp(36px, 3.7vw, 56px); margin: 23px 0; }
.journal-heading > p, .careers-hero-grid > div > p { font-size: 17px; line-height: 1.85; color: var(--muted); max-width: 500px; }
.journal-list, .home-news, .related-news, .careers-list { border-top: 1px solid var(--line); }
.home-news { background: var(--panel); }
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.news-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 7px; background: white; overflow: hidden; transition: border-color .4s, box-shadow .5s; }
.news-card:hover { border-color: #abc4ee; box-shadow: 0 16px 35px #20375914; }
.news-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); }
.news-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.news-card:hover .news-photo > img { transform: scale(1.06); }
.news-photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--blue); background: linear-gradient(135deg, #e6eefc, #f5f8fd); }
.news-photo-placeholder svg { width: 80px; height: 80px; stroke: currentColor; stroke-width: 1.2; }
.news-card-copy { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.news-card time { color: var(--muted); font-size: 14px; }
.news-card h3 { font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; line-height: 1.5; letter-spacing: -.02em; margin: 14px 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; transition: color .3s; }
.news-card:hover h3 { color: var(--blue); }
.news-card p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 20px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.news-read { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); color: var(--blue); font-size: 14px; }
.journal-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 35px; }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.category-pills a { display: inline-block; padding: 12px 18px; border: 1px solid var(--line); border-radius: 5px; font-size: 14px; transition: color .3s, background .3s; }
.category-pills a[aria-current], .category-pills a:hover { background: var(--blue); border-color: var(--blue); color: white; }
.listing-count { color: var(--muted); font-size: 14px; white-space: nowrap; }
.listing-empty { grid-column: 1 / -1; color: var(--muted); font-size: 17px; line-height: 1.8; }
.listing-empty h3 { color: var(--text); font-size: 23px; font-weight: 500; }
.journal-category-title { font-size: 28px; font-weight: 500; margin: 0 0 30px; }
.journal-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 40px; font-size: 16px; }
.journal-pagination a { color: var(--blue); padding: 12px 15px; border: 1px solid var(--line); border-radius: 5px; }
.article-hero h1, .role-hero h1 { font-size: clamp(28px, 3vw, 44px); line-height: 1.35; margin: 23px 0; max-width: 1100px; }
.article-lead { font-size: 19px; line-height: 1.8; color: var(--muted); max-width: 900px; margin-bottom: 35px; }
.article-cover { margin: 35px 0 0; background: var(--panel); border-radius: 7px; overflow: hidden; }
.article-cover img { display: block; width: 100%; height: auto; max-height: 550px; object-fit: contain; }
.article-body { max-width: 960px; margin: 0 auto; padding-top: 30px; }
.article-body > .text-link { margin-top: 35px; }
.rich-body { font-size: 17px; line-height: 1.9; color: var(--muted); overflow-wrap: anywhere; }
.rich-body p { margin: 0 0 20px; }
.rich-body h2, .rich-body h3, .rich-body h4 { color: var(--text); line-height: 1.4; font-weight: 500; margin: 30px 0 18px; }
.rich-body ul, .rich-body ol { padding-left: 24px; margin: 20px 0; }
.rich-body li { margin: 10px 0; padding-left: 5px; }
.rich-body li p { margin: 0; }
.rich-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.rich-body img { height: auto !important; max-width: 100% !important; border-radius: 6px; }
.rich-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.rich-body td, .rich-body th { padding: 12px; border: 1px solid var(--line); }
.rich-body blockquote { border-left: 2px solid var(--blue); padding: 12px 25px; margin: 25px 0; background: var(--panel); }
.careers-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 7%; }
.careers-hero-grid > div > p { margin: 0 0 26px; }
.careers-team { min-width: 0; margin: 0; }
.careers-team img { display: block; width: 100%; height: auto; border-radius: 7px; }
.careers-team figcaption { color: var(--muted); font-size: 14px; margin-top: 15px; }
.vacancy-row { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 32px; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 20px; transition: background .4s, border-color .4s, box-shadow .5s; }
a.vacancy-row:hover { background: #f7faff; border-color: #abc4ee; box-shadow: 0 12px 30px #2037590d; }
.vacancy-row h3 { font-size: 26px; line-height: 1.4; font-weight: 500; margin: 18px 0 0; letter-spacing: -.02em; }
.vacancy-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.vacancy-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.vacancy-meta svg { width: 17px; height: 17px; stroke: var(--blue); stroke-width: 1.3; }
.vacancy-status { font-weight: 500; }
.vacancy-status i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.vacancy-status.is-active { color: #227344; }
.vacancy-status.is-active i { background: #2b9958; box-shadow: 0 0 0 4px #2b995810; }
.vacancy-status.is-inactive { color: #a03c3c; }
.vacancy-status.is-inactive i { background: #c85252; box-shadow: 0 0 0 4px #c8525210; }
.vacancy-row-inactive { background: #f5f6f8; color: var(--muted); border-color: #e4e7ec; cursor: default; }
.vacancy-row-inactive .vacancy-meta { color: #667182; }
.vacancy-row-inactive .vacancy-meta svg { stroke: #87909c; }
.vacancy-closed-label { flex-shrink: 0; color: var(--muted); font-size: 14px; }
.vacancy-row-action { display: flex; align-items: center; gap: 22px; color: var(--blue); font-size: 14px; flex-shrink: 0; }
.vacancy-row-action i { font-size: 28px; font-style: normal; transition: transform .5s var(--ease); }
.vacancy-row:hover i { transform: rotate(90deg); }
.role-hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 30px; }
.role-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .65fr); gap: 7%; border-top: 1px solid var(--line); align-items: start; }
.role-section { margin-bottom: 45px; }
.role-section h2 { font-size: 28px; font-weight: 500; margin: 0 0 23px; letter-spacing: -.02em; }
.application-panel { padding: 30px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); scroll-margin-top: 110px; }
.application-panel h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.025em; font-weight: 500; margin: 23px 0 18px; }
.application-panel > p { font-size: 16px; color: var(--muted); line-height: 1.8; margin: 0 0 25px; }
.application-form [type=file] { padding: 10px; background: white; font-size: 14px; }
.application-form [type=file]::file-selector-button { border: 0; border-radius: 3px; padding: 8px 10px; margin-right: 10px; color: var(--blue); background: #eaf1fe; cursor: pointer; font: inherit; }
.resume-hint { display: block; color: var(--muted); font-size: 14px; margin-top: 10px; line-height: 1.6; }
.role-back { padding-top: 0; }
@media (max-width: 1000px) and (min-width: 701px) {
  .vacancy-row { gap: 25px; }
  .vacancy-row h3 { font-size: 23px; }
  .role-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
  .application-panel { padding: 24px; }
}
@media (min-width: 701px) and (max-width: 800px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .journal-heading, .careers-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .journal-heading h1, .careers-hero h1 { font-size: 34px; }
  .journal-heading > p, .careers-hero-grid > div > p { font-size: 16px; }
  .journal-heading > p { margin: 0; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-copy { padding: 24px; }
  .news-card h3 { font-size: 21px; }
  .journal-toolbar { flex-direction: column; align-items: start; gap: 22px; }
  .article-lead { font-size: 17px; }
  .rich-body { font-size: 16px; }
  .vacancy-row { padding: 25px; flex-direction: column; align-items: start; gap: 22px; }
  .vacancy-row h3 { font-size: 23px; }
  .careers-list .section-top { flex-direction: column; align-items: start; gap: 15px; }
  .role-hero-bottom { flex-direction: column; align-items: start; }
  .role-layout { grid-template-columns: 1fr; gap: 20px; }
  .application-panel { padding: 25px 22px; }
  .role-section h2 { font-size: 25px; }
}
.language-switcher { display: flex; align-items: center; flex-shrink: 0; gap: 4px; }
.language-switcher form { margin: 0; }
.language-switcher button { display: block; border: 0; background: transparent; color: var(--muted); padding: 8px 5px; border-radius: 4px; font-size: 14px; font-weight: 500; cursor: pointer; transition: color .3s, background .3s; }
.language-switcher button:hover, .language-switcher button[aria-current] { color: var(--blue); background: #edf3fe; }
@media (max-width: 1250px) {
  .header { gap: 14px; }
  .desktop-nav { gap: 16px; }
  .header-contact { font-size: 0; gap: 0; }
  .header-contact .contact-mark { font-size: 27px; }
}
@media (max-width: 950px) and (min-width: 701px) {
  .brand-lockup { gap: 9px; }
  .brand-name { font-size: 18px; }
  .brand-logo { width: 36px; height: 46px; }
  .desktop-nav { gap: 13px; }
  .desktop-nav a, .nav-more > summary { font-size: 14px; }
}
@media (max-width: 700px) {
  .header { gap: 10px; padding-left: 5%; padding-right: 5%; }
  .brand-lockup { gap: 6px; }
  .brand-name { font-size: 15px; }
  .brand-logo { width: 30px; height: 39px; }
  .language-switcher { margin-left: auto; gap: 0; }
  .language-switcher button { padding: 9px 3px; font-size: 14px; }
  .menu-toggle { width: 36px; height: 36px; flex-shrink: 0; }
}
@media (max-width: 360px) {
  .brand-lockup .brand-logo { display: none; }
}
/* Project portfolio and individual facilities. */
.portfolio-hero, .project-detail-hero { padding-top: 28px; background: linear-gradient(#f5f8fd, white); }
.portfolio-heading { display: grid; grid-template-columns: 1fr minmax(240px, .65fr); gap: 8%; align-items: end; margin-bottom: 40px; }
.portfolio-heading h1 { font-size: clamp(38px, 4vw, 60px); margin-top: 24px; }
.portfolio-intro p { font-size: 17px; line-height: 1.8; color: var(--muted); margin: 0 0 24px; }
.portfolio-feature { position: relative; display: block; overflow: hidden; border-radius: 7px; background: var(--panel); }
.portfolio-feature > img { display: block; width: 100%; height: clamp(300px, 34vw, 480px); object-fit: cover; transition: transform 1.2s var(--ease); }
.portfolio-feature:hover > img { transform: scale(1.04); }
.portfolio-feature-caption { position: absolute; inset: auto 0 0; padding: 65px 32px 30px; color: white; background: linear-gradient(transparent, #07172dd9); }
.portfolio-feature-caption > span:first-child { font-size: 14px; }
.portfolio-feature-caption h2 { font-size: clamp(20px, 2.2vw, 29px); line-height: 1.4; font-weight: 500; max-width: 85%; margin: 12px 0 0; }
.portfolio-feature-open { position: absolute; right: 30px; bottom: 30px; width: 42px; height: 42px; display: grid; place-items: center; background: white; color: var(--blue); border-radius: 50%; font-size: 27px; }
.portfolio-catalog { border-top: 1px solid var(--line); }
.portfolio-result { color: var(--muted); font-size: 14px; }
.portfolio-result b { color: var(--blue); font-weight: 500; }
.project-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; padding: 24px; background: var(--panel); border-radius: 7px; margin-bottom: 35px; }
.project-filters > div:first-child { flex: 1; min-width: 190px; }
.project-filters label { display: block; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.project-filters select { width: 100%; padding: 13px 36px 13px 14px; background: white; border: 1px solid #cdd8e5; color: var(--text); font: inherit; font-size: 16px; border-radius: 5px; min-height: 48px; }
.project-filters button { border: 0; padding: 14px 20px; min-height: 48px; background: var(--blue); color: white; border-radius: 5px; cursor: pointer; }
.project-filters button:hover { background: #174ec5; }
.filter-reset { padding: 14px 0; font-size: 14px; color: var(--muted); }
.portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.portfolio-grid .project-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; transition: border-color .4s, box-shadow .5s; }
.portfolio-grid .project-card:hover { border-color: #a6c0ef; box-shadow: 0 15px 35px #20375912; }
.portfolio-grid .project-photo { aspect-ratio: 16 / 10; border-radius: 0; }
.portfolio-card-copy { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.portfolio-card-copy h3 { font-size: 18px; line-height: 1.55; margin: 15px 0 25px; }
.portfolio-card-copy .project-meta { font-size: 13px; line-height: 1.6; margin-top: 0; }
.portfolio-card-link { font-size: 14px; color: var(--blue); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.portfolio-empty { grid-column: 1 / -1; padding: 40px 0; }
.portfolio-empty h3 { font-size: 25px; font-weight: 500; }
.portfolio-empty p { color: var(--muted); line-height: 1.7; }
.project-detail-hero h1 { font-size: clamp(27px, 2.6vw, 42px); line-height: 1.35; max-width: 1150px; margin: 23px 0 35px; }
.project-detail-meta { display: flex; flex-wrap: wrap; gap: 14px 25px; color: var(--blue); font-size: 14px; }
.project-cover { display: block; position: relative; background: var(--panel); border-radius: 7px; overflow: hidden; }
.project-cover img { display: block; width: 100%; height: auto; max-height: 550px; object-fit: contain; }
.project-cover-zoom { position: absolute; right: 20px; bottom: 20px; background: white; color: var(--blue); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; }
.project-story { display: grid; grid-template-columns: 20% minmax(0, 1fr); gap: 5%; border-top: 1px solid var(--line); }
.project-story p { font-size: 17px; line-height: 1.9; color: var(--muted); margin: 0 0 20px; }
.project-album { border-top: 1px solid var(--line); }
.project-album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-album-photo { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--panel); }
.project-album-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project-album-photo:hover img { transform: scale(1.06); }
.project-album-photo > span { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 32px; height: 32px; background: white; border-radius: 50%; color: var(--blue); font-size: 23px; }
@media (max-width: 1000px) and (min-width: 701px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .portfolio-heading { grid-template-columns: 1fr; gap: 25px; }
  .portfolio-heading h1 { font-size: 38px; }
  .portfolio-intro p { font-size: 16px; }
  .portfolio-feature > img { height: 360px; }
  .portfolio-feature-caption { padding: 70px 20px 25px; }
  .portfolio-feature-caption h2 { font-size: 19px; max-width: 100%; padding-bottom: 45px; }
  .portfolio-feature-open { right: 20px; bottom: 20px; width: 32px; height: 32px; }
  .portfolio-catalog .section-top { align-items: start; flex-direction: column; gap: 14px; }
  .project-filters { padding: 20px; gap: 20px; }
  .project-filters > div, .project-filters button { width: 100%; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .project-story { grid-template-columns: 1fr; gap: 25px; }
  .project-story p { font-size: 16px; }
  .project-album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .project-album-photo { aspect-ratio: 1; }
}
/* Activity: complete service catalogue with uncropped text and uniform imagery. */
.activity-hero { padding-top: 28px; background: linear-gradient(#f5f8fd, white); }
.activity-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 7%; align-items: center; }
.activity-heading h1 { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.18; letter-spacing: -.03em; margin: 25px 0; }
.activity-heading > p { color: var(--muted); font-size: 17px; line-height: 1.8; max-width: 520px; margin: 0 0 30px; }
.activity-visual { position: relative; min-width: 0; margin: 0; border-radius: 7px; overflow: hidden; background: var(--panel); }
.activity-visual > img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.activity-visual figcaption { display: grid; gap: 10px; padding: 22px 24px; background: white; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 7px 7px; font-size: 17px; line-height: 1.5; }
.activity-visual .section-label { color: var(--blue); }
.activity-catalog { border-top: 1px solid var(--line); }
.activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; }
.activity-grid .service-card { scroll-margin-top: 110px; }
.activity-grid .service-card:target { border-color: var(--blue); box-shadow: 0 0 0 3px #2563eb12; }
.activity-grid .service-copy { padding: 24px; }
.activity-grid h3 { font-size: 22px; min-height: 2.7em; }
.service-detail-trigger { border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.service-detail-trigger.text-link { background: transparent; width: fit-content; font-size: 14px; }
.service-modal { width: min(820px, 94vw); height: fit-content; max-height: 88dvh; }
.service-modal .letter-heading { flex-shrink: 0; }
.service-modal .letter-heading > div { min-width: 0; }
.service-modal-scroll { overflow: auto; overscroll-behavior: contain; padding: 26px 32px 30px; }
.service-modal-photo { margin: 0 0 25px; padding: 16px; background: var(--panel); border-radius: 6px; }
.service-modal-photo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 260px; object-fit: contain; margin: 0 auto; border-radius: 4px; }
.service-modal-description p { font-size: 16px; line-height: 1.85; color: var(--muted); margin: 0 0 16px; }
.service-modal-contact { width: fit-content; margin-top: 25px; padding: 14px 20px; }
.activity-placeholder svg { width: 80px; height: 80px; stroke: var(--blue); stroke-width: 1.2; }
.direction-index { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 38px; }
.direction-index > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; cursor: pointer; font-size: 18px; }
.direction-index > summary::-webkit-details-marker { display: none; }
.direction-index small { font-size: 14px; color: var(--blue); margin-left: 14px; }
.direction-index summary i { position: relative; width: 20px; height: 20px; color: var(--blue); }
.direction-index summary i:before, .direction-index summary i:after { content: ''; position: absolute; width: 20px; height: 1px; top: 10px; left: 0; background: currentColor; transition: transform .4s var(--ease); }
.direction-index summary i:after { transform: rotate(90deg); }
.direction-index[open] summary i:after { transform: rotate(0); }
.direction-index nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 25px; padding: 0 0 25px; }
.direction-index nav a { border-radius: 5px; padding: 13px 17px; font-size: 16px; line-height: 1.5; background: var(--panel); transition: color .3s, background .3s; }
.direction-index nav a:hover { color: var(--blue); background: #eaf1fd; }
.activity-projects { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.activity-projects p { max-width: 500px; color: var(--muted); font-size: 16px; line-height: 1.8; margin: 0; }
.activity-projects > .text-link { flex-shrink: 0; }
.activity-empty { font-size: 17px; color: var(--muted); line-height: 1.8; }
@media (max-width: 1000px) {
  .activity-hero-grid { gap: 4%; }
  .activity-heading h1 { font-size: 34px; }
  .activity-grid { gap: 24px; }
  .activity-grid .service-copy { padding: 24px; }
  .activity-grid h3 { font-size: 22px; }
}
@media (min-width: 701px) and (max-width: 800px) {
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .activity-hero { padding-top: 24px; }
  .activity-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .activity-heading h1 { font-size: clamp(29px, 7.6vw, 35px); }
  .activity-heading > p { font-size: 16px; }
  .activity-visual > img { aspect-ratio: 16 / 10; }
  .activity-catalog .section-top > span:last-child { display: none; }
  .activity-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .activity-grid h3 { min-height: 0; }
  .service-modal { width: 94vw; }
  .service-modal-scroll { padding: 20px; }
  .service-modal-photo { padding: 10px; margin-bottom: 20px; }
  .service-modal-photo img { max-height: 190px; }
  .service-modal-contact { width: 100%; }
  .direction-index nav { grid-template-columns: 1fr; }
  .direction-index summary { font-size: 17px; }
  .activity-projects { flex-direction: column; align-items: start; gap: 25px; }
}
