/* Owner corrections, 29 October 2026. Original home composition is preserved. */

/* Controls use the owner's lavender/outline palette in their resting state. */
.button { background:transparent;color:#503366;border:1px solid #8d74ac; }
.button-primary,.enquiry-form .button-primary { background:#B9A5D6;color:#2E2E2E;border-color:#8d74ac; }
.review-tabs [role="tab"][aria-selected="true"] { background:#B9A5D6;color:#2E2E2E;border-color:#8d74ac; }
.button:hover,.button-primary:hover { background:#B9A5D6;color:#2E2E2E; }
button.text-link { border:0;background:transparent;color:#503366;padding:.4rem 0;font:600 1rem/1.6 Inter,sans-serif;text-decoration:underline;text-underline-offset:.25em;cursor:pointer; }
button.text-link:hover { background:#B9A5D6;color:#2E2E2E; }

/* Put the small language selector with contact details, outside the nav row. */
.header-contact-row { display:flex;align-items:center;justify-content:space-between;gap:.35rem; }
.header-contacts .language-picker { position:relative;margin:0;flex:0 0 auto; }
.header-contacts .language-picker summary { min-width:44px;min-height:44px;padding:0 .3rem;display:flex;align-items:center;justify-content:center;gap:.25rem;font:600 .75rem/1 Inter,sans-serif;cursor:pointer; }
.header-contacts .language-picker summary::after { width:.35rem;height:.35rem; }
.header-contacts .language-picker .nav-popover { position:absolute;z-index:10;inset:auto 0 auto auto;top:calc(100% + .25rem);min-width:5rem;padding:.35rem;background:var(--paper);border:1px solid var(--line);border-radius:.6rem;box-shadow:var(--shadow); }
.header-contacts .language-picker .nav-popover a { display:flex;align-items:center;min-height:44px;padding:.4rem .7rem;text-decoration:none; }
.site-header-trimmed .header-contacts { inline-size:auto; }
@media(min-width:75rem) {
 .site-header-trimmed .header-inner { display:grid;grid-template-columns:clamp(10rem,15vw,12rem) minmax(0,1fr) auto;gap:clamp(.65rem,1.25vw,1.25rem);min-height:6.5rem;padding-block:.3rem; }
 .site-header-trimmed .brand { grid-column:1;grid-row:1;display:flex;width:100%;min-width:0;max-width:12rem;gap:.5rem; }
 .site-header-trimmed .brand .full-brand-symbol { width:4.75rem;height:4.75rem;flex:0 0 auto; }
 .site-header-trimmed .brand-type { min-width:0;flex:1; }
 .site-header-trimmed .brand-wordmark { width:100%;height:auto; }
 .site-header-trimmed .brand-tagline { font-size:.6rem;letter-spacing:.1em; }
 .site-header-trimmed .menu-toggle { display:none; }
 .site-header-trimmed .site-nav { grid-column:2;grid-row:1;position:static;display:flex!important;align-items:center;justify-content:center;flex-direction:row;margin:0;padding:0;max-height:none;overflow:visible;border:0;background:transparent; }
 .site-header-trimmed .header-primary-links { display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;width:auto;gap:clamp(.55rem,1vw,1rem); }
 .site-header-trimmed .header-primary-links>a,.site-header-trimmed .header-primary-links>details>summary { min-height:44px;padding:0;font-size:clamp(.76rem,.95vw,.875rem);white-space:nowrap; }
 .site-header-trimmed .site-nav details { width:auto; }
 .site-header-trimmed .site-nav .nav-popover { position:absolute;top:calc(100% + .4rem);inset-inline-end:0;min-width:15rem;max-width:21rem;margin:0;padding:.5rem;border:1px solid var(--line);background:var(--paper);border-radius:.9rem;box-shadow:var(--shadow); }
 .site-header-trimmed .header-contacts { grid-column:3;grid-row:1;justify-self:end;margin:0;min-width:11.5rem; }
 .site-header-trimmed .header-phone { font-size:.85rem; }
}
@media(max-width:74.999rem) {
 .site-header-trimmed .header-inner { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 1rem;padding:0 1rem .35rem;min-height:0; }
 .site-header-trimmed .brand { grid-column:1;grid-row:1;min-width:0;width:max-content;max-width:100%; }
 .site-header-trimmed .menu-toggle { display:inline-flex;grid-column:2;grid-row:1;justify-self:end; }
 .site-header-trimmed .header-contacts { grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 .8rem;margin:0;inline-size:auto; }
 .site-header-trimmed .header-contact-row { gap:.5rem; }
 .site-header-trimmed .site-nav { position:absolute;inset:100% 0 auto;display:none;flex-direction:column;align-items:stretch;margin:0;padding:1rem;max-height:calc(100dvh - 9rem);overflow:auto;background:var(--paper);border-bottom:1px solid var(--line); }
 .site-header-trimmed .site-nav[data-open="true"] { display:flex; }
 .site-header-trimmed .header-primary-links { display:flex;flex-direction:column;align-items:stretch;gap:.25rem; }
 .site-header-trimmed .header-primary-links>a { padding:.6rem 0;justify-content:flex-start; }
 .site-header-trimmed .site-nav details { width:100%; }
 .site-header-trimmed .site-nav summary { min-height:44px;padding:.6rem 0; }
 .site-header-trimmed .site-nav .nav-popover { position:static;inset:auto;min-width:0;margin:.2rem 0 .6rem;padding:.35rem;box-shadow:none; }
 .site-header-trimmed .messenger-links { flex-wrap:wrap;justify-content:flex-start; }
}

/* Keep the final invitation readable alongside Pavel's original photograph. */
#h10 .drawing-final-grid { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important; }
#h10 .section-copy { min-width:0; }
#h10 .detail-grid { display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem; }
#h10 .detail-item { display:grid;grid-template-columns:2.5rem minmax(0,1fr);gap:.8rem;align-items:start; }
#h10 .detail-item>img { width:2.5rem;height:2.5rem;object-fit:contain; }
#h10 .detail-item p { margin:0;max-width:48ch; }
#h10 .section-actions { display:flex;align-items:flex-start;flex-direction:column;gap:.9rem; }
#h10 .section-actions>* { min-height:44px;max-width:100%;white-space:normal;text-align:left; }
#h10 .drawing-final-grid figure img { max-height:35rem;object-fit:contain; }
@media(max-width:45rem) {
 #h10 .drawing-final-grid { grid-template-columns:minmax(0,1fr)!important; }
 #h10 .drawing-final-grid figure { max-width:28rem;margin-inline:auto; }
}

/* One clear column of form fields, with wrapping labels and scrollable details. */
.enquiry-dialog { width:min(44rem,calc(100% - 2rem));max-height:90dvh;padding:3.75rem clamp(1rem,4vw,2.5rem) 2rem; }
.enquiry-dialog h2 { font-size:clamp(1.65rem,4vw,2rem);line-height:1.2;padding-right:1rem; }
.enquiry-dialog .enquiry-form { display:grid;grid-template-columns:minmax(0,1fr);gap:1.2rem;margin-top:1.5rem; }
.enquiry-dialog .enquiry-form>* { min-width:0;grid-column:1/-1; }
.enquiry-dialog .enquiry-form label { min-width:0; }
.enquiry-dialog .enquiry-form :is(input:not([type="checkbox"]),textarea,select) { box-sizing:border-box;width:100%;max-width:100%;font:400 1rem/1.5 Inter,sans-serif; }
.enquiry-dialog .form-data-notice,.enquiry-dialog .enquiry-conditions,.enquiry-dialog .consent-label span { font-size:.9375rem;line-height:1.65;overflow-wrap:anywhere; }
.enquiry-dialog .enquiry-conditions summary { min-height:44px;line-height:1.5; }
.enquiry-dialog .enquiry-form .consent-label { display:flex;align-items:flex-start;gap:.75rem; }
.enquiry-dialog .consent-label input { flex:0 0 1.4rem;width:1.4rem;height:1.4rem;margin-top:.15rem; }

/* Full verified credentials and personal statements, styled as authored messages. */
.expert-card { grid-template-columns:minmax(7rem,.7fr) minmax(0,1.4fr);align-items:start; }
.expert-copy { min-width:0; }
.expert-copy h3 { overflow-wrap:normal; }
.expert-copy p { line-height:1.65; }
.expert-opinion-dialog { width:min(47rem,calc(100% - 2rem));padding:3.75rem clamp(1rem,4vw,2.5rem) 2rem; }
.expert-opinion-dialog h2 { padding-right:1rem;font-size:clamp(1.6rem,4vw,2rem);line-height:1.2; }
.opinion-author { display:grid;grid-template-columns:4.5rem minmax(0,1fr);gap:1rem;align-items:start;margin:1.5rem 0; }
.opinion-author>img { width:4.5rem;height:4.5rem;object-fit:cover;object-position:50% 20%;border-radius:50%;background:#e3d9ef; }
.opinion-author h3 { margin:0 0 .45rem;font:600 1rem/1.4 Inter,sans-serif; }
.opinion-author p { margin:0;font-size:.875rem;line-height:1.6; }
.expert-opinion-dialog .expert-message { margin:1.25rem 0 0;padding:clamp(1rem,3vw,1.75rem);border:0;border-radius:1.25rem 1.25rem 1.25rem .25rem;background:#efe9f5; }
.expert-opinion-dialog .expert-message p { margin:0;font-size:1rem;line-height:1.8; }
@media(max-width:62.5rem) {
 .expert-card { grid-template-columns:minmax(7rem,11rem) minmax(0,1fr); }
}
@media(max-width:30rem) {
 .expert-card { grid-template-columns:minmax(0,1fr);gap:1.25rem; }
 .expert-portrait { min-height:0;width:12rem;max-width:100%; }
 .expert-portrait img { height:15rem; }
 .opinion-author { grid-template-columns:3rem minmax(0,1fr);gap:.75rem; }
 .opinion-author>img { width:3rem;height:3rem; }
}

/* Owner refinement: a calm home link, and two photographs of shared practice. */
.site-header .brand,
.site-header .brand:is(:hover,:active,:visited) {
 color:var(--ink);background:transparent;text-decoration:none;box-shadow:none;transform:none;
}
.site-header .brand .brand-tagline { color:inherit;text-decoration:none; }

/* Portraits and names share a top edge; both opinion links share a row. */
.expert-grid { grid-template-rows:auto 1fr auto;align-items:stretch; }
.expert-card { grid-row:span 3;grid-template-rows:subgrid;grid-template-columns:minmax(7rem,10rem) minmax(0,1fr);column-gap:1.2rem;row-gap:1rem;max-width:none; }
.expert-copy { display:contents; }
.expert-portrait { grid-column:1;grid-row:1/4;display:block;align-self:start;min-height:0;height:16rem;width:100%;border:0;overflow:hidden; }
.expert-portrait img,.expert-card:nth-child(2) .expert-portrait img { width:100%;height:100%;object-fit:cover;object-position:50% 0;transform:none; }
.expert-copy h3 { grid-column:2;grid-row:1;margin:0; }
.expert-copy p { grid-column:2;grid-row:2;margin:0; }
.expert-copy .text-link { grid-column:2;grid-row:3;align-self:end;justify-self:start;margin:0;min-height:44px; }
@media(max-width:62.5rem) {
 .expert-grid { grid-template-rows:none; }
 .expert-card { grid-row:auto;grid-template-rows:auto 1fr auto;grid-template-columns:9rem minmax(0,1fr); }
}
@media(max-width:30rem) {
 .expert-card { grid-template-columns:5.5rem minmax(0,1fr);gap:1rem; }
 .expert-portrait { grid-column:1;grid-row:1;height:8rem;width:5.5rem; }
 .expert-copy h3 { align-self:start;font-size:1.3rem; }
 .expert-copy p { grid-column:1/-1;grid-row:2;font-size:.9375rem; }
 .expert-copy .text-link { grid-column:1/-1;grid-row:3; }
}

.authentic-video-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3vw,2rem);margin-top:1.5rem; }
.authentic-video { display:grid;grid-template-columns:minmax(7rem,40%) minmax(0,1fr);gap:1.1rem;align-items:start; }
.authentic-video video { width:100%;aspect-ratio:9/16;background:#2e2e2e;border-radius:.8rem;object-fit:contain; }
.authentic-video h3 { font:400 clamp(1.25rem,2vw,1.55rem)/1.25 'Playfair Display',serif;margin:.3rem 0 .7rem; }
.authentic-video p { font-size:.9375rem;line-height:1.6;margin:0; }
.authentic-video .video-duration { font-size:.8rem;letter-spacing:.06em;color:#655d6c; }
.report-testimonials { padding-top:2.5rem;margin-top:2.5rem;border-top:1px solid #b6c5cd; }
.report-testimonials>h3 { font:400 clamp(1.5rem,3vw,2rem)/1.25 'Playfair Display',serif; }
.report-testimonials>p { max-width:62ch; }
.event-film video { display:block;width:100%;height:auto;border-radius:.6rem; }
.letter-aligned {display:flex;flex-direction:column;align-items:flex-start;}
.letter-aligned .text-link {margin-top:auto;min-height:44px;display:inline-flex;align-items:center;}
.letter-aligned .audience-caption:empty {display:none;}
.company-letter-dialog .dialog-close {position:sticky;top:0;display:block;margin-left:auto;z-index:2;background:#fbfaf7;}
#h10 .drawing-final-grid figure img { max-height:29rem; }
@media(max-width:45rem) {
 .authentic-video-grid { grid-template-columns:minmax(0,1fr);gap:2rem; }
 .authentic-video { grid-template-columns:minmax(7rem,40%) minmax(0,1fr); }
}
@media(max-width:23rem) {
 .authentic-video { grid-template-columns:minmax(0,1fr); }
 .authentic-video video { max-width:15rem; }
}
/* Keep the existing keyboard focus ring; hover has no decorative treatment. */
.group-trust { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(2rem,5vw,4rem); }
.group-trust .people-collage { grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.75rem,1.6vw,1.25rem);align-items:start;padding:.35rem .35rem 1.35rem;max-width:none; }
.group-trust .people-collage figure:first-child { transform:rotate(-2deg); }
.group-trust .people-collage figure:last-child { margin:1rem 0 0;transform:rotate(2deg); }
.group-trust .people-collage img,
.group-trust .people-collage figure:last-child img { display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover; }
@media(max-width:62.5rem) {
 .group-trust { grid-template-columns:minmax(0,1fr);gap:1.5rem; }
 .group-trust .people-collage { max-width:42rem; }
}
@media(max-width:30rem) {
 .group-trust .people-collage { grid-template-columns:minmax(0,1fr);gap:1.15rem;padding:.35rem .35rem .6rem; }
 .group-trust .people-collage figure:last-child { margin:0; }
}

/* The original long-table scene leads a three-photo record of real participation. */
.group-trust .people-collage { grid-template-columns:1.05fr 1fr;grid-template-areas:'table screen' 'table exhibition';align-items:stretch;gap:.8rem; }
.group-trust .people-collage figure:nth-child(1) { grid-area:table;min-width:0;transform:rotate(-1.5deg); }
.group-trust .people-collage figure:nth-child(2) { grid-area:screen;margin:0;transform:rotate(1.5deg); }
.group-trust .people-collage figure:nth-child(3) { grid-area:exhibition;margin:0;transform:rotate(-1deg); }
.group-trust .people-collage figure:first-child img { height:100%;aspect-ratio:auto;object-position:50% 28%!important; }
.group-trust .people-collage figure:not(:first-child) img { height:auto;aspect-ratio:16/10;object-fit:cover; }
@media(max-width:30rem) {
 .group-trust .people-collage { grid-template-columns:minmax(0,1fr);grid-template-areas:'table' 'screen' 'exhibition';gap:1rem; }
 .group-trust .people-collage figure:first-child img { height:auto;aspect-ratio:4/3; }
}
