:root {
  --ink: #16312a;
  --ink-2: #223e36;
  --cream: #f7f4ed;
  --paper: #fffdf8;
  --sand: #eae3d6;
  --terra: #a54732;
  --ochre: #d6ad65;
  --sage: #a6b9a8;
  --sky: #628b96;
  --muted: #5c6b63;
  --line: #dcded4;
  --display: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; scrollbar-gutter: stable; }
html:has(.profile-dialog[open]) { overflow: hidden; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--terra); outline-offset: 4px; }
::selection { color: var(--paper); background: var(--terra); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.4rem, 3.6vw, 3.5rem); line-height: 1.1; }
h1 em, h2 em { color: var(--terra); font-weight: 400; }
.container { width: min(100% - 3rem, 1180px); margin-inline: auto; }
.section { padding: 6rem 0; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 100; padding: 1rem; color: var(--paper); background: var(--ink); }
.skip-link:focus { top: 1rem; }

/* Navigation stays available without becoming part of the modal layer. */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(22, 49, 42, .1); background: rgba(247, 244, 237, .95); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 600 1.5rem/.9 var(--display); letter-spacing: -.04em; }
.brand small { display: block; margin-top: .5rem; font: 700 .52rem var(--sans); letter-spacing: .19em; text-transform: uppercase; }
.brand-mark { color: var(--terra); font-family: serif; font-size: 2.6rem; line-height: 1; }
.header-inner nav { display: flex; align-items: center; gap: 2rem; font-size: .78rem; font-weight: 600; }
.header-inner nav a { padding-block: .7rem; transition: color .18s; }
.header-inner nav a:hover { color: var(--terra); }
.menu-toggle { display: none; align-items: center; gap: .6rem; min-height: 44px; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); color: var(--ink); font-size: .8rem; font-weight: 700; cursor: pointer; }
.header-inner nav[hidden], .menu-toggle[hidden] { display: none; }

/* Hero: quiet illustration, strong type, a contained introduction. */
.hero { position: relative; overflow: hidden; padding: 5rem 0 2.5rem; }
.grain::after { position: absolute; inset: 0; content: ""; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.weave { position: absolute; right: -14%; bottom: -7rem; width: 88%; height: 440px; opacity: .3; transform: rotate(-6deg); pointer-events: none; }
.weave path { fill: none; stroke-width: 1.5; }
.hero-content { position: relative; z-index: 1; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: .65rem; padding: .6rem .85rem; border: 1px solid var(--line); border-radius: 100px; background: rgba(255, 253, 248, .7); color: var(--muted); font-size: .61rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--terra); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; gap: 3rem; margin-top: 2.4rem; }
h1 { margin-bottom: 0; font-size: clamp(3.5rem, 6.2vw, 5.8rem); line-height: 1.01; }
.accent { color: var(--terra); }
.hero-aside { padding: 1.75rem; border: 1px solid rgba(22, 49, 42, .13); border-radius: 1.4rem; background: rgba(255, 253, 248, .91); box-shadow: 0 12px 36px rgba(22, 49, 42, .035); }
.hero-card-label { margin-bottom: 1rem; color: var(--terra); font-size: .6rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero-aside > p:not(.hero-card-label) { margin-bottom: 0; color: var(--muted); font-size: .96rem; line-height: 1.85; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 44px; padding: .9rem 1.15rem; border: 1px solid transparent; border-radius: 100px; font-size: .73rem; font-weight: 700; transition: background .18s, color .18s, border-color .18s; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--terra); }
.button-outline { border-color: var(--line); background: transparent; }
.button-outline:hover { border-color: var(--ink); background: var(--cream); }
.hero-bottom { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(22, 49, 42, .14); color: var(--muted); font-size: .59rem; font-weight: 600; letter-spacing: .12em; }
.discipline-band { background: var(--ink); color: var(--cream); }
.band-inner { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding-block: 1.4rem; font: italic 1.2rem var(--display); text-align: center; }
.band-inner span + span { border-left: 1px solid rgba(247, 244, 237, .2); }

/* Section rhythm and an abstract, intentionally non-photographic illustration. */
.section-label { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem; color: var(--terra); font-size: .61rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.section-label::before { width: 1.5rem; height: 1px; background: currentColor; content: ""; }
.section-label.light { color: var(--ochre); }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 2.75rem; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { max-width: 310px; margin-bottom: 0; color: var(--muted); font-size: .88rem; line-height: 1.8; }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: 5.5rem; }
.about-copy > p:not(.section-label) { margin-bottom: 1.1rem; color: var(--muted); font-size: .93rem; line-height: 1.85; }
.about-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 390px; overflow: hidden; padding: 2rem; border: 1px solid rgba(22, 49, 42, .13); border-radius: 1.5rem; background: var(--sand); }
.art-symbol { position: relative; z-index: 1; color: var(--terra); font-size: 3.5rem; }
.about-art p { position: relative; z-index: 1; margin: auto 0 0; font: 400 clamp(2.4rem, 3.4vw, 3.5rem)/1.05 var(--display); letter-spacing: -.04em; }
.about-art em { color: var(--terra); }
.about-art small { position: relative; z-index: 1; margin-top: 1.6rem; color: var(--muted); font-size: .56rem; font-weight: 700; letter-spacing: .12em; }
.art-orbit { position: absolute; top: -130px; right: -160px; width: 440px; height: 440px; border: 1px solid rgba(22, 49, 42, .2); border-radius: 50%; }
.orbit-two { top: -85px; right: -115px; border-color: rgba(165, 71, 50, .5); }
.orbit-three { top: -40px; right: -70px; border-color: rgba(98, 139, 150, .6); }
.text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; margin-top: .4rem; border-bottom: 1px solid var(--terra); font-size: .8rem; font-weight: 700; }
.text-link:hover { color: var(--terra); }

/* Three complementary areas; restrained line icons rather than stock photography. */
.areas-section { background: var(--ink); color: var(--cream); }
.areas-section h2 em { color: var(--sage); }
.areas-section .split-heading > p { color: #c3cdc3; }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.area-card { --area-color: #e0ad94; display: flex; flex-direction: column; min-height: 290px; padding: 1.6rem; border: 1px solid rgba(247, 244, 237, .18); border-radius: 1.1rem; background: var(--ink-2); }
.area-card:nth-child(2) { --area-color: #b5c8ae; }
.area-card:nth-child(3) { --area-color: #a2c2cf; }
.area-number { color: var(--area-color); font-size: .57rem; font-weight: 700; line-height: 1.6; letter-spacing: .12em; }
.area-symbol { display: grid; place-items: center; width: 48px; height: 48px; margin: 1.4rem 0 1.2rem; border: 1px solid rgba(247, 244, 237, .13); border-radius: .8rem; color: var(--area-color); background: rgba(247, 244, 237, .035); }
.area-symbol svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.area-card h3 { margin-bottom: .8rem; font-size: 1.8rem; line-height: 1.1; }
.area-card p { margin-bottom: 1.5rem; color: #cbd4ca; font-size: .83rem; line-height: 1.8; }
.area-line { width: 2rem; height: 2px; margin-top: auto; background: var(--area-color); }

/* Flexible centered rows remain balanced as the team grows. Modal content is external. */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.person-card { --card-color: var(--ink); display: flex; flex: 0 1 calc((100% - 3rem) / 4); flex-direction: column; min-width: 0; padding: 1.3rem; border: 1px solid var(--line); border-top: 3px solid var(--card-color); border-radius: 1.15rem; background: var(--paper); scroll-margin-top: 6.5rem; transition: box-shadow .18s, border-color .18s; }
.person-card[data-area="social"] { --card-color: #a04735; }
.person-card[data-area="health"] { --card-color: #38624f; }
.person-card[data-area="technology"] { --card-color: #386574; }
.person-card[data-area="food"] { --card-color: #8c651c; }
.person-card:hover { border-color: var(--card-color); box-shadow: 0 8px 24px rgba(22, 49, 42, .055); }
.person-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; color: var(--muted); font-size: .6rem; font-variant-numeric: tabular-nums; }
.person-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--card-color); background: color-mix(in srgb, var(--card-color) 9%, var(--paper)); font-size: .65rem; font-weight: 700; letter-spacing: .03em; }
.person-discipline { margin-bottom: .6rem; color: var(--terra); font-size: .57rem; font-weight: 700; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; }
.person-card .person-discipline { color: var(--card-color); }
.person-card h3 { margin-bottom: .55rem; font-size: 1.5rem; line-height: 1.1; }
.person-qualification { min-height: 2.8rem; margin-bottom: .65rem; color: var(--muted); font-size: .74rem; line-height: 1.65; }
.person-summary { margin-bottom: 1rem; color: var(--ink); font-size: .78rem; line-height: 1.75; }
.profile-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; margin-top: auto; padding: .65rem 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); font-size: .73rem; font-weight: 700; cursor: pointer; }
.profile-trigger > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); font-size: .9rem; }
.profile-trigger:hover { color: var(--card-color); }
.team-note { max-width: 880px; margin: 1.75rem auto 0; color: var(--muted); font-size: .71rem; line-height: 1.8; text-align: center; }

/* Capability map: scan by topic, then open a professional from the name chips. */
.capabilities-section { border-top: 1px solid var(--line); background: var(--paper); }
.scope-note { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 1.5rem; margin-bottom: 1.8rem; padding: 1.5rem; border: 1px solid var(--line); border-left: 3px solid var(--terra); border-radius: .9rem; background: var(--cream); }
.scope-note strong { font-size: .88rem; line-height: 1.65; font-weight: 600; }
.scope-note p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.8; }
.capability-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; }
.capability-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .81rem; line-height: 1.75; }
.capability-table caption { padding: 1rem 1.3rem; color: var(--muted); font-size: .68rem; text-align: left; }
.capability-table thead { background: var(--ink); color: var(--paper); }
.capability-table th, .capability-table td { padding: 1.15rem 1.3rem; vertical-align: top; }
.capability-table thead th { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.capability-table tbody tr + tr { border-top: 1px solid var(--line); }
.capability-table tbody tr:nth-child(even) { background: rgba(234, 227, 214, .2); }
.capability-table tbody th { width: 25%; font-size: .85rem; font-weight: 600; line-height: 1.6; }
.capability-table td:nth-child(2) { width: 46%; color: var(--muted); }
.capability-table td:last-child { width: 29%; }
.capability-table td a { display: inline-flex; align-items: center; width: fit-content; min-height: 30px; margin: 0 .25rem .4rem 0; padding: .25rem .6rem; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); font-size: .67rem; font-weight: 600; line-height: 1.6; transition: color .18s, border-color .18s, background .18s; }
.capability-table td a:hover { border-color: var(--terra); color: var(--terra); background: var(--cream); }

/* Native modal dialogs never participate in the card layout. */
.profile-dialog { width: min(780px, calc(100% - 2rem)); max-width: none; max-height: min(84dvh, 800px); padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--paper); color: var(--ink); box-shadow: 0 28px 90px rgba(10, 29, 23, .25); }
.profile-dialog::backdrop { background: rgba(14, 33, 27, .66); backdrop-filter: blur(6px); }
.dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.5rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.dialog-header .person-discipline { margin-bottom: .6rem; }
.dialog-header h3 { margin-bottom: .5rem; font-size: 2rem; line-height: 1.1; }
.dialog-qualification { margin-bottom: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.dialog-header form { margin: 0; }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--ink); color: var(--paper); }
.profile-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.5rem 2rem; padding: 1.5rem; }
.profile-block:nth-child(3) { grid-column: 1 / -1; }
.profile-body h4 { margin: 0 0 1rem; color: var(--ink); font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.profile-body ul { margin: 0 0 1rem; padding-left: 1rem; color: var(--muted); font-size: .82rem; line-height: 1.8; }
.profile-body li + li { margin-top: .65rem; }
.profile-body .experience-list { list-style: none; padding-left: 0; }
.experience-list li { padding-left: 1rem; border-left: 2px solid var(--sand); }
.experience-list strong { display: block; color: var(--ink); font-weight: 600; }
.profile-period { display: block; margin: .3rem 0 .5rem; color: var(--muted); font-size: .69rem; line-height: 1.6; }
.profile-block > .profile-period { margin-top: 1rem; padding: .75rem; border-radius: .6rem; background: var(--cream); }
.profile-reference { display: inline-block; min-height: 30px; color: var(--terra); font-size: .77rem; line-height: 1.7; text-decoration: underline; text-underline-offset: .2em; }

footer { padding: 2rem 0; background: var(--ink); color: var(--cream); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-brand .brand-mark { color: var(--ochre); }
.footer-inner > span, .footer-inner > a:last-child { color: #c4cec4; font-size: .7rem; line-height: 1.8; }
.footer-inner > a:last-child { padding: .5rem 0; }
.footer-inner > a:last-child:hover { color: var(--paper); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; }
  .person-card { flex-basis: calc((100% - 2rem) / 3); }
  .about-grid { gap: 3rem; }
  .capability-table th, .capability-table td { padding: 1rem; }
}

@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-aside { max-width: 600px; }
  .hero-aside > p:not(.hero-card-label) { max-width: 48ch; }
  .hero { padding-top: 3.5rem; }
  .hero-bottom { margin-top: 2.5rem; }
  .band-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 0; font-size: 1.1rem; }
  .band-inner span:nth-child(4) { border-left: 0; }
  .about-grid { gap: 2rem; }
  .about-art { min-height: 370px; padding: 1.5rem; }
  .about-art p { font-size: clamp(1.7rem, 4.3vw, 2.5rem); }
  .split-heading { gap: 2rem; }
  .split-heading > p { max-width: 250px; }
  .area-card { padding: 1.25rem; }
  .area-card h3 { font-size: 1.55rem; }
  .person-card { flex-basis: calc((100% - 1rem) / 2); }
  .scope-note { grid-template-columns: 190px minmax(0, 1fr); }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 5.5rem; }
  .container { width: calc(100% - 2rem); }
  .section { padding: 4rem 0; }
  h2 { font-size: clamp(2.2rem, 8vw, 2.8rem); }
  .header-inner { position: relative; min-height: 74px; flex-wrap: wrap; gap: .75rem; padding-block: .7rem; }
  .brand { flex-shrink: 0; font-size: 1.3rem; }
  .brand-mark { font-size: 2.25rem; }
  .brand small { font-size: .46rem; }
  .header-inner nav { justify-content: center; gap: 1.2rem; width: 100%; font-size: .75rem; }
  .site-header[data-enhanced] .header-inner { flex-wrap: nowrap; }
  .site-header[data-enhanced] .menu-toggle { display: inline-flex; }
  .site-header[data-enhanced] .menu-toggle[hidden] { display: none; }
  .site-header[data-enhanced] nav { position: absolute; top: calc(100% + .4rem); right: 0; left: 0; width: auto; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: 0 16px 40px rgba(22, 49, 42, .12); }
  .site-header[data-enhanced] nav a { padding: .95rem; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .site-header[data-enhanced] nav a:last-child { border-bottom: 0; }
  .hero { padding: 2.5rem 0 1.8rem; }
  .eyebrow-pill { max-width: 100%; font-size: .55rem; letter-spacing: .09em; }
  .hero-grid { gap: 1.75rem; margin-top: 1.75rem; }
  h1 { font-size: clamp(2.9rem, 12vw, 4.5rem); line-height: 1.03; }
  .hero-aside { padding: 1.25rem; border-radius: 1rem; }
  .hero-aside > p:not(.hero-card-label) { font-size: .87rem; line-height: 1.8; }
  .hero-card-label { margin-bottom: .75rem; }
  .actions { gap: .5rem; margin-top: 1.1rem; }
  .button { padding: .8rem 1rem; font-size: .7rem; }
  .hero-bottom { gap: 1rem; margin-top: 1.8rem; padding-top: 1rem; font-size: .5rem; line-height: 1.7; letter-spacing: .08em; }
  .hero-bottom span:last-child { text-align: right; }
  .weave { right: -45%; bottom: -5rem; width: 140%; height: 380px; opacity: .18; }
  .band-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 0; padding-block: 1.1rem; font-size: 1.05rem; }
  .band-inner span:nth-child(n) { border-left: 0; }
  .band-inner span:nth-child(even) { border-left: 1px solid rgba(247, 244, 237, .2); }
  .about-grid { grid-template-columns: 1fr; }
  .about-art { display: none; }
  .about-copy > p:not(.section-label) { font-size: .88rem; }
  .section-label { margin-bottom: 1rem; font-size: .57rem; }
  .split-heading { display: block; margin-bottom: 2rem; }
  .split-heading > p { max-width: 42ch; margin-top: 1.1rem; font-size: .84rem; }
  .area-grid { grid-template-columns: 1fr; gap: .75rem; }
  .area-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start; gap: .8rem 1rem; min-height: 0; padding: 1.25rem; }
  .area-number { grid-column: 1 / -1; }
  .area-symbol { grid-column: 1; grid-row: 2 / span 2; width: 44px; height: 44px; margin: 0; }
  .area-card h3 { grid-column: 2; margin: 0; font-size: 1.6rem; }
  .area-card p { grid-column: 2; margin: 0; font-size: .8rem; line-height: 1.75; }
  .area-line { display: none; }
  .team-grid { gap: .75rem; }
  .person-card { display: grid; flex-basis: 100%; grid-template-columns: 42px minmax(0, 1fr); column-gap: 1rem; padding: 1.2rem; }
  .person-top { grid-column: 1; grid-row: 1 / span 4; align-items: flex-start; justify-content: flex-start; margin: 0; }
  .person-top > span:first-child { display: none; }
  .person-icon { width: 42px; height: 42px; font-size: .72rem; }
  .person-card .person-discipline { grid-column: 2; margin-bottom: .3rem; font-size: .53rem; }
  .person-card h3 { grid-column: 2; margin-bottom: .4rem; font-size: 1.5rem; }
  .person-qualification { grid-column: 2; min-height: 0; margin-bottom: .6rem; font-size: .73rem; }
  .person-summary { grid-column: 2; margin-bottom: .65rem; font-size: .76rem; }
  .profile-trigger { grid-column: 2; margin: 0; padding-top: .5rem; }
  .team-note { margin-top: 1.4rem; text-align: left; font-size: .68rem; }
  .scope-note { grid-template-columns: 1fr; gap: .75rem; padding: 1.1rem; }
  .scope-note strong { font-size: .85rem; }
  .scope-note strong br { display: none; }
  .scope-note p { font-size: .76rem; }
  /* A single semantic table becomes stacked rows on a small screen. */
  .capability-table, .capability-table tbody, .capability-table tr, .capability-table th, .capability-table td { display: block; width: 100%; }
  .capability-table caption { display: block; padding: 1rem; font-size: .65rem; }
  .capability-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .capability-table tbody tr { padding: 1.25rem; }
  .capability-table tbody th { width: auto; padding: 0 0 1rem; font: 400 1.4rem/1.2 var(--display); letter-spacing: -.02em; }
  .capability-table td, .capability-table td:nth-child(2), .capability-table td:last-child { width: auto; padding: 0 0 1rem; font-size: .79rem; }
  .capability-table td:last-child { padding-bottom: 0; }
  .capability-table td::before { display: block; margin-bottom: .5rem; color: var(--terra); font-size: .55rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; content: "Capacidades concretas"; }
  .capability-table td:last-child::before { content: "Quién aporta esta experiencia"; }
  .capability-table td a { min-height: 36px; margin-bottom: .35rem; padding-inline: .7rem; font-size: .68rem; }
  .profile-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); border-radius: 1rem; }
  .dialog-header { padding: 1.1rem; }
  .dialog-header h3 { font-size: 1.8rem; }
  .dialog-header .person-discipline { font-size: .55rem; }
  .dialog-qualification { font-size: .75rem; }
  .profile-body { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.25rem; }
  .footer-inner { flex-wrap: wrap; gap: 1.4rem; }
  .footer-inner > span { width: 100%; order: 1; font-size: .68rem; }
  .footer-inner > a:last-child { margin-left: auto; font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
