:root {
  --ivory: #FFFBFC;
  --paper: #FFFFFF;
  --ink: #493C43;
  --muted: #70636A;
  --accent: #805D6E;
  --accent-deep: #684B59;
  --blush: #F4E8ED;
  --accent-muted: #795E6B;
  --line: #E6DAE0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
/* Shared components follow the static site's semantic markup. */
.header-inner{width:min(1450px,calc(100% - 96px));margin-inline:auto}
.nav-group>summary{cursor:pointer;font-size:.78rem;list-style:none;padding:14px 0}
.nav-group>summary::-webkit-details-marker{display:none}
.nav-group>summary::after{content:"⌄";margin-left:9px}
.nav-group[open] .nav-dropdown{display:block}
.service-row{text-decoration:none;grid-template-columns:160px minmax(0,1fr) 24px;gap:40px}
.service-kind{font-size:.78rem;align-items:center;color:var(--accent-muted);padding-top:7px}
.service-content h3{font-size:clamp(1.7rem,2.5vw,2.4rem);margin-bottom:13px}
.service-row>.arrow{align-self:center}
.service-row:hover .service-content h3{color:var(--accent)}
.project-info h3 a{text-decoration:none}
.hero-art{margin:0}
.floating-project{text-decoration:none}
.ribbon-inner>a{font-family:var(--serif);font-size:1.45rem;text-decoration:none;color:var(--accent)}
.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-block:0;margin-block:80px}
.brand-card{border-bottom:1px solid var(--line)}
.brand-card img{height:auto!important;max-width:100%!important;width:100%!important;aspect-ratio:1.6;object-fit:cover!important;object-position:top!important;border-radius:100px 3px 3px 3px}
.brand-card h2{font-size:2rem}
.cta-inner>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:15px;flex-shrink:0}
.cta-inner .text-link{color:var(--accent);border-color:#CBB6C1}
.footer .label{color:#E7D9E0}
.footer-top>div>a:not(.brand){color:var(--paper);overflow-wrap:anywhere}
.footer-bottom .footer-links{flex-direction:row;flex-wrap:wrap;gap:14px}
.footer-links button{border:0;padding:0;color:inherit;background:none;font-size:inherit}
.sidebar h4{font-family:var(--sans);font-size:.8rem;margin-top:32px}
.sidebar .text-link{display:block!important;margin-top:10px}
.full-preview{width:100%;max-width:1100px;margin-inline:auto}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 5px; }
img { max-width: 100%; height: auto; display: block; }
svg { vertical-align: middle; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 5.25vw, 5.4rem); }
h2 { font-size: clamp(2.3rem, 3.7vw, 3.9rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.3rem); }
p { margin-bottom: 1.25rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .45rem; }
::selection { background: var(--blush); color: var(--accent-deep); }
:focus-visible { outline: 3px solid #805D6E; outline-offset: 5px; }
.footer :focus-visible { outline-color: #E8D7DF; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 1000; background: var(--paper); padding: 12px 20px; }
.skip:focus { top: 16px; }
.label { display: block; color: var(--accent-muted); font-size: .7rem; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: 22px; }
.button { max-width: 100%; white-space: normal; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 51px; border: 1px solid transparent; border-radius: 2px; padding: 14px 23px; font-size: .82rem; font-weight: 700; line-height: 1.3; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary, .primary.button { color: #FFFFFF; background: var(--accent); border-color: var(--accent); }
.button.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.button.outline, .outline.button { color: var(--accent); background: transparent; border-color: #CDBAC4; }
.button.outline:hover { border-color: var(--accent); background: #F6EEF2; }
.text-link { max-width: 100%; display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-size: .84rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid #C9B4BF; padding-block: 4px; }
.text-link:hover { border-color: var(--accent); }
.arrow { flex-shrink: 0; display: inline-block; font-family: var(--sans); font-size: 1.2rem; font-weight: 400; line-height: 1; }

/* The masthead is compact enough to keep the work in view. */
.header { position: sticky; top: 0; z-index: 60; background: var(--blush); color: var(--ink); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 17px; text-decoration: none; }
.brand img { width: 145px; max-height: 43px; object-fit: contain; filter: grayscale(1) contrast(3) brightness(2); mix-blend-mode: screen; }
.header .brand img { filter: grayscale(1) contrast(3) brightness(2) invert(1); mix-blend-mode: multiply; }
.brand-tag { max-width: 110px; padding-left: 17px; border-left: 1px solid #C9B7C1; font-size: .68rem; line-height: 1.5; letter-spacing: .05em; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav > a, .nav-group > a, .nav-group > button, .nav-group > summary { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: .78rem; font-weight: 500; text-decoration: none; color: inherit; border: 0; background: transparent; padding: 14px 0; }
.site-nav > a:hover, .nav-group > a:hover, .nav-group > button:hover, .nav-group > summary:hover { color: var(--accent-deep); }
.site-nav .nav-contact { border: 1px solid #C5ADBA; padding: 11px 18px; border-radius: 2px; }
.site-nav .nav-contact:hover { background: var(--paper); color: var(--accent-deep); }
.nav-group { position: relative; }
.nav-dropdown { display: none; position: absolute; top: calc(100% + 12px); left: -20px; min-width: 265px; padding: 13px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 16px 35px rgba(61,40,50,.11); }
.nav-dropdown::before { content: ""; position: absolute; left: 0; top: -17px; width: 100%; height: 18px; }
.nav-dropdown a { display: block; padding: 10px 12px; font-size: .81rem; line-height: 1.4; text-decoration: none; border-bottom: 1px solid #F2EAEE; }
.nav-dropdown a:last-child { border: 0; }
.nav-dropdown a:hover { background: var(--ivory); color: var(--accent); }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown, .nav-group.open .nav-dropdown { display: block; }
.menu-toggle { display: none; min-height: 44px; min-width: 44px; color: var(--ink); background: none; border: 1px solid #C5ADBA; font-size: .78rem; padding: 9px 13px; }

/* A photographic arch gives the landing page its own visual language. */
.hero { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); grid-template-areas: "copy photo" "proof photo"; align-items: center; column-gap: clamp(35px, 6vw, 95px); row-gap: 0; padding-block: 79px 84px; }
.hero-copy { grid-area: copy; padding-bottom: 0; align-self: end; }
.hero h1 { max-width: 740px; margin-bottom: 24px; font-size: clamp(2.65rem, 4.55vw, 4.6rem); line-height: 1.06; }
.hero h1 em, .page-hero h1 em { color: var(--accent); font-weight: 400; }
.hero-copy > p { max-width: 540px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 25px; }
.hero-proof { grid-area: proof; align-self: start; display: flex; flex-wrap: wrap; gap: 25px; margin-top: 28px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: .73rem; line-height: 1.55; }
.hero-proof > * { max-width: 165px; }
.hero-proof strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; font-weight: 400; margin-bottom: 6px; }
.hero-art { grid-area: photo; position: relative; padding-bottom: 0; }
.hero-art::before { content: ""; position: absolute; right: -17px; top: 35px; width: 74%; height: calc(100% - 65px); border: 1px solid #CDBCC5; border-radius: 48% 48% 0 0; z-index: -1; }
.hero-picture { width: 100%; height: 560px; object-fit: cover; object-position: center; border-radius: 50% 50% 2px 2px; background: #F2E9ED; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hero-note { position: absolute; bottom: 0; left: -36px; width: 218px; padding: 24px 25px; background: var(--accent); color: var(--paper); font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }
.hero-note small { display: block; margin-top: 10px; color: #E7D9E0; font: .67rem/1.6 var(--sans); letter-spacing: .04em; }
.hero-caption { display: block; margin-top: 12px; color: var(--muted); font: .72rem/1.6 var(--sans); }
.floating-project { position: absolute; right: -18px; bottom: 58px; width: 190px; padding: 15px 17px; background: var(--paper); border: 1px solid var(--line); font-size: .75rem; line-height: 1.5; box-shadow: 0 5px 20px rgba(61,40,50,.06); }
.floating-project strong { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; margin-bottom: 5px; }
.ribbon { border-block: 1px solid var(--line); background: #F8F1F4; }
.ribbon-inner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 22px 39px; min-height: 76px; padding-block: 19px; font-size: .78rem; color: #70636A; }
.ribbon-inner > * { margin: 0; }
.ribbon-inner strong { font-weight: 500; color: var(--accent); }
.section { padding-block: 104px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: start; }
.intro-large { font: clamp(1.7rem, 2.65vw, 2.65rem)/1.3 var(--serif); letter-spacing: -.025em; }
.intro-grid p:not(.intro-large) { color: var(--muted); line-height: 1.85; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 48px; }
.section-head h2 { max-width: 690px; margin-bottom: 0; }
.section-head .text-link { flex-shrink: 0; margin-bottom: 7px; }
.section-lead { max-width: 590px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 160px minmax(0,1fr) 24px; gap: 40px; padding-block: 33px 36px; border-bottom: 1px solid var(--line); }
.service-kind { display: flex; align-items: flex-start; gap: 17px; }
.service-kind h3 { margin: 3px 0 0; font-size: 2rem; }
.service-kind svg { color: var(--accent); flex: 0 0 auto; width: 29px; height: 29px; margin-top: 7px; stroke-width: 1.3; }
.service-content p { color: var(--muted); max-width: 655px; margin-bottom: 18px; }
.service-content .text-link { font-size: .78rem; }

/* Portfolio imagery has generous space and restrained caption typography. */
.work-section { background: #F9F3F6; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 34px 29px; }
.project-card { min-width: 0; }
.project-card > a { text-decoration: none; display: block; }
.project-image { overflow: hidden; aspect-ratio: 1.35; background: #F0E5EB; border-radius: 3px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .55s ease; }
.project-card:hover .project-image img { transform: scale(1.025); }
.project-info { padding-top: 19px; display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.project-info h3 { margin: 0 0 7px; font-size: 1.75rem; }
.project-info p { margin: 0; color: var(--muted); font-size: .77rem; }
.project-info .arrow { color: var(--accent); flex-shrink: 0; padding-top: 3px; }
.project-category { display: block; margin-bottom: 9px; font-size: .63rem; letter-spacing: .11em; text-transform: uppercase; color: var(--accent-muted); }
.project-card.featured { grid-column: span 2; }
.project-card.featured .project-image { aspect-ratio: 2.15; }
.project-card.featured .project-info h3 { font-size: 2rem; }
.sector-list { border-top: 1px solid var(--line); }
.sector { border-bottom: 1px solid var(--line); padding: 0 0 3px; }
.sector summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; list-style: none; cursor: pointer; padding: 24px 0; font: 1.55rem/1.35 var(--serif); }
.sector summary::-webkit-details-marker { display: none; }
.sector summary::after { content: "+"; color: var(--accent); font: 1.5rem var(--sans); }
.sector[open] summary::after { content: "−"; }
.sector > p, .sector > div { padding-bottom: 23px; max-width: 810px; color: var(--muted); }
.brand-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; border: 1px solid var(--line); }
.brand-card { padding: 35px; border-right: 1px solid var(--line); }
.brand-card:nth-child(even) { border-right: 0; }
.brand-card:nth-last-child(-n+2) { border-bottom: 0; }
.brand-card h3 { font-size: 1.8rem; margin-bottom: 17px; }
.brand-card p { color: var(--muted); font-size: .9rem; }
.brand-card img { height: 44px; width: auto; max-width: 190px; object-fit: contain; object-position: left center; margin-bottom: 25px; }
.cta-band { padding-block: 73px; background: var(--blush); color: var(--ink); }
.cta-inner { display: flex; gap: 70px; justify-content: space-between; align-items: center; }
.cta-inner h2 { max-width: 790px; font-size: clamp(2.15rem, 3.45vw, 3.6rem); margin-bottom: 16px; }
.cta-inner p { color: var(--muted); max-width: 710px; margin-bottom: 0; font-size: .94rem; }
.cta-inner .label { color: var(--accent-muted); }
.cta-inner .button { flex-shrink: 0; background: var(--accent); color: var(--paper); border-color: var(--accent); }
.cta-inner .button:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.footer { padding-block: 59px 25px; background: var(--ink); color: var(--paper); }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 65px; padding-bottom: 45px; }
.footer .brand img { width: 154px; }
.footer p { color: #D9CDD3; font-size: .81rem; max-width: 310px; margin-top: 22px; }
.footer h3, .footer h4 { font: 700 .69rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; color: #E7D9E0; }
.footer-links { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.footer-links a { font-size: .8rem; color: #E7DDE2; text-decoration: none; }
.footer-links a:hover { color: white; text-decoration: underline; }
.footer-bottom .footer-links { align-items: center; }
.footer-links button { font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; gap: 25px; justify-content: space-between; flex-wrap: wrap; padding-top: 23px; border-top: 1px solid #796770; color: #D2C3CB; font-size: .68rem; }
.footer-bottom p { margin: 0; font-size: inherit; max-width: none; }
.footer-bottom a { color: inherit; }

/* Interior pages keep the same typographic rhythm. */
.page-hero { padding-block: 37px 77px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; font-size: .68rem; color: var(--muted); margin-bottom: 42px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.page-hero .label { margin-bottom: 20px; }
.page-hero h1 { max-width: 1030px; margin-bottom: 25px; font-size: clamp(2.7rem,5vw,5rem); }
.page-hero p { max-width: 770px; color: var(--muted); line-height: 1.85; font-size: 1.02rem; margin-bottom: 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 84px; align-items: start; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(2rem, 3vw, 2.9rem); margin-top: 47px; margin-bottom: 23px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.65rem; margin-top: 32px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--accent); }
.prose img { margin-block: 35px; border-radius: 3px; }
.prose blockquote { margin: 34px 0; border-left: 2px solid var(--accent); padding-left: 25px; font: 1.6rem/1.45 var(--serif); }
.sidebar { position: sticky; top: 114px; padding: 31px; border: 1px solid var(--line); background: #F8F1F4; }
.sidebar h3 { font-size: 1.8rem; margin-bottom: 16px; }
.sidebar p { font-size: .85rem; color: var(--muted); }
.sidebar .button { width: 100%; margin-top: 9px; font-size: .78rem; }
.sidebar a:not(.button) { display: inline-block; color: var(--accent); font-size: .82rem; }
.sidebar ul { padding-left: 18px; font-size: .83rem; color: var(--muted); }
.service-block { padding-block: 34px; border-bottom: 1px solid var(--line); }
.service-block:first-child { padding-top: 0; }
.service-block h2 { margin-top: 0; }
.deliverables { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; margin-block: 30px; border-top: 1px solid var(--line); }
.deliverable { padding: 20px 0; border-bottom: 1px solid var(--line); }
.deliverable h3, .deliverable h4 { font-size: 1.25rem; margin: 0 0 8px; }
.deliverable p { margin: 0; font-size: .87rem; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 37px; }
.filter { padding: 10px 16px; border: 1px solid #D0BDC7; background: transparent; color: #70636A; font-size: .76rem; border-radius: 2px; }
.filter:hover { color: var(--accent); border-color: var(--accent); }
.filter.active, .filter[aria-pressed="true"] { background: var(--accent); color: white; border-color: var(--accent); }
.project-count { color: var(--muted); font-size: .72rem; margin-left: auto; }
.empty-state { padding: 45px; border: 1px solid var(--line); color: var(--muted); text-align: center; }
.case-hero { padding-block: 35px 72px; }
.case-hero h1 { margin-bottom: 23px; }
.case-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 67px; align-items: center; padding-top: 64px; }
.case-image { background: #F2E8ED; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.case-image img { width: 100%; height: auto; object-fit: cover; object-position: top; }
.case-meta { padding-top: 26px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.case-meta h2 { font-size: clamp(2rem,3.2vw,3rem); color: var(--ink); margin-bottom: 23px; }
.case-meta dl { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 12px 18px; border-block: 1px solid var(--line); padding-block: 22px; margin-block: 25px; }
.case-meta dt { font-size: .66rem; text-transform: uppercase; letter-spacing: .07em; color: var(--accent-muted); }
.case-meta dd { margin: 0; color: var(--ink); font-size: .82rem; }
.case-meta .text-link { margin-bottom: 19px; }
.case-meta .button { margin-top: 24px; }
.case-meta strong { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-muted); margin-bottom: 7px; }
.case-meta p { margin: 0 0 16px; }
.full-preview { display: block; border: 1px solid var(--line); background: #F2E8ED; margin-block: 35px; overflow: hidden; }
.full-preview img { width: 100%; height: auto; }
.history { margin-block: 30px; border-top: 1px solid var(--line); }
.history-item { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 32px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.history-year { font: 1.7rem/1.25 var(--serif); color: var(--accent); }
.history-item h3 { margin: 0 0 12px; font-size: 1.65rem; }
.history-item p { margin: 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: start; }
.contact-panel { padding: 37px; background: #F8F1F4; border-top: 3px solid var(--accent); }
.contact-panel h2 { font-size: 2.55rem; }
.contact-panel h3 { font-size: 1.6rem; margin-top: 34px; }
.contact-panel p { color: var(--muted); font-size: .92rem; }
.contact-panel > a { display: inline-block; color: var(--accent); font-size: clamp(1.1rem,2vw,1.5rem); text-decoration: none; border-bottom: 1px solid #C8B3BF; margin-bottom: 16px; }
.contact-panel h2 a { color: var(--accent); text-decoration: none; }
.contact-panel p a { overflow-wrap: anywhere; }
.contact-panel > .text-link { font-size: .84rem; }
.contact-form { display: grid; gap: 19px; }
.contact-form h2 { font-size: 2.55rem; margin-bottom: 9px; }
.contact-form p { color: var(--muted); font-size: .91rem; }
.contact-form label { display: block; color: var(--ink); font-size: .79rem; font-weight: 700; line-height: 1.55; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #C5AFBA; border-radius: 2px; background: var(--paper); color: var(--ink); font-size: .91rem; line-height: 1.5; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form > label + input:not([type="checkbox"]), .contact-form > label + select, .contact-form > label + textarea { margin-top: -12px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #927F89; font-weight: 400; }
.contact-form input[type="checkbox"] { accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.contact-form label:has(input[type="checkbox"]) { display: flex; align-items: start; gap: 10px; font-size: .7rem; color: var(--muted); font-weight: 400; }
.contact-form .button { justify-self: start; }
.contact-form [role="status"] { margin: 0; padding: 14px; background: #F4EBF0; color: #805D6E; }
.contact-form [role="status"]:empty { display: none; }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.team-member { border-top: 1px solid var(--line); padding-top: 24px; }
.team-member img { width: 100%; aspect-ratio: .85; object-fit: cover; object-position: top; border-radius: 46% 46% 2px 2px; margin-bottom: 22px; }
.team-member h3 { font-size: 1.7rem; margin-bottom: 9px; }
.team-member p, .team-member a { font-size: .82rem; color: var(--muted); }
.team-member a { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; margin-bottom: 8px; }
.people-grid { display: grid; max-width: 1080px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 70px); margin-top: 42px; }
.people-member { min-width: 0; }
.people-member > img, .people-member > a > img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: center top; border-radius: 30% 30% 6px 6px; margin-bottom: 25px; }
.people-member--agnieszka > img, .people-member--agnieszka > a > img { object-position: 72% center; }
.people-member h3 { font-size: clamp(1.65rem, 2.6vw, 2.4rem); margin-bottom: 10px; }
.people-member p { max-width: 520px; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.people-member a:not(.button) { color: var(--accent); overflow-wrap: anywhere; }
.team-photo { display: block; width: 100%; height: auto; margin: 42px 0 0; border-radius: 28px 3px 3px 3px; overflow: hidden; background: #F2E8ED; }
img.team-photo { object-fit: contain; object-position: center; }
.team-photo img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }
.team-photo figcaption { color: var(--muted); font-size: .76rem; line-height: 1.55; padding: 15px 20px; }
.contact-portrait { display: block; width: 100%; max-width: 360px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; margin: 0 0 28px; border-radius: 45% 45% 3px 3px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 23px 40px 23px 0; font-size: .99rem; font-weight: 500; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 5px; top: 20px; color: var(--accent); font: 1.65rem/1.4 var(--sans); }
.faq details[open] summary::after { content: "−"; }
.faq details > p, .faq details > div { color: var(--muted); font-size: .91rem; max-width: 860px; padding-bottom: 16px; }
.legal { max-width: 850px; }
.legal h1 { font-size: clamp(2.5rem,4vw,4.2rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.8rem; margin-top: 37px; }
.legal h3 { font-size: 1.35rem; }
.legal p, .legal li { font-size: .92rem; color: var(--muted); }
.legal a { color: var(--accent); overflow-wrap: anywhere; }

/* Consent actions remain equally legible and reachable. */
.consent-banner { position: fixed; z-index: 100; bottom: 18px; left: 50%; transform: translateX(-50%); width: min(1100px, calc(100% - 36px)); max-height: calc(100dvh - 36px); overflow-y: auto; padding: 24px 28px; background: var(--paper); color: var(--ink); border: 1px solid #DDD0D7; box-shadow: 0 6px 40px rgba(61,40,50,.2); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; }
.consent-copy { flex: 1; }
.consent-copy h2, .consent-copy h3 { font-size: 1.4rem; margin-bottom: 8px; }
.consent-copy p { font-size: .75rem; line-height: 1.65; color: var(--muted); margin: 0; }
.consent-copy a { color: var(--accent); }
.consent-actions { display: flex; gap: 9px; align-items: center; flex-shrink: 0; flex-wrap: wrap; }
.consent-actions .button { min-height: 42px; padding: 10px 15px; font-size: .72rem; }
.consent-actions button:not(.button) { border: 1px solid #CDBAC4; background: transparent; color: var(--accent); padding: 10px 15px; min-height: 42px; font-size: .72rem; border-radius: 2px; }
.consent-settings { flex-basis: 100%; width: 100%; padding-top: 8px; }
.consent-settings h2 { font-size: 2.1rem; }
.consent-settings p { color: var(--muted); font-size: .86rem; }
.consent-options { border-top: 1px solid var(--line); margin-block: 0 20px; }
.consent-options label { display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); padding-block: 16px; font-size: .83rem; }
.consent-options input { accent-color: var(--accent); width: 18px; height: 18px; flex: 0 0 auto; }


/* Prevent intrinsic text and image widths from stretching grid columns. */
.hero > *, .intro-grid > *, .contact-grid > *, .case-layout > *, .footer-top > *, .content-grid > *, .service-content, .project-info > div { min-width: 0; }
h1, h2, h3, .history-year, .breadcrumbs { overflow-wrap: anywhere; }
h1, h2 { text-wrap: balance; }
input, select, textarea { min-width: 0; max-width: 100%; }
.hero-proof { min-width: 0; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 10px; border-radius: 8px; }
.menu-icon { width: 19px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.menu-icon i { display: block; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-6px) rotate(-45deg); }
button, a, summary { touch-action: manipulation; }

@media (min-width: 1450px) {
  .hero { padding-block: 94px; }
  .hero-picture { height: 600px; }
}
@media (max-width: 1170px) {
  .wrap, .header-inner { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .brand img { width: 132px; }
  .header .brand img { filter: grayscale(1) contrast(3) brightness(2) invert(1); mix-blend-mode: multiply; }
.brand-tag { max-width: 95px; font-size: .65rem; padding-left: 13px; }
  .site-nav { gap: 18px; }
  .site-nav > a, .nav-group > summary { font-size: .76rem; }
  .hero { column-gap: 38px; }
  .hero-picture { height: 490px; }
  .floating-project { right: 0; width: 175px; bottom: 68px; }
  .intro-grid, .content-grid, .contact-grid { gap: 45px; }
  .service-row { grid-template-columns: 115px minmax(0,1fr) 24px; gap: 24px; }
  .content-grid { grid-template-columns: minmax(0,1fr) 280px; }
  .case-layout { gap: 36px; }
  .consent-banner { flex-direction: column; align-items: stretch; gap: 15px; }
  .consent-actions { justify-content: flex-end; }
}
@media (max-width: 930px) {
  html { scroll-padding-top: 92px; }
  body.menu-open { overflow: hidden; }
  .wrap, .header-inner { width: calc(100% - 48px); }
  .header-inner { min-height: 72px; }
  .brand img { width: 140px; }
  .brand-tag { font-size: .68rem; max-width: 112px; }
  .menu-toggle { display: inline-flex; margin-left: auto; min-height: 46px; padding: 10px 14px; font-size: .85rem; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 12px 24px max(24px, env(safe-area-inset-bottom)); background: var(--blush); border-top: 1px solid var(--line); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; box-shadow: 0 16px 24px rgba(61,40,50,.18); }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > a, .nav-group > summary { display: flex; width: 100%; min-height: 50px; padding: 13px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-group > summary::after { margin-left: auto; }
  .site-nav .nav-contact { margin-top: 16px; justify-content: center; padding: 14px; border-radius: 6px; }
  .nav-dropdown { position: static; min-width: 0; padding: 2px 16px 10px; background: var(--ivory); border: 0; box-shadow: none; border-radius: 0 0 8px 8px; color: var(--ink); }
  .nav-dropdown::before { display: none; }
  .nav-dropdown a { color: var(--ink); font-size: .94rem; min-height: 48px; padding: 12px 0; border-color: var(--line); }
  .nav-dropdown a:hover { background: transparent; text-decoration: underline; }
  .site-nav .nav-group:not([open]) .nav-dropdown { display: none; }
  .site-nav .nav-group[open] .nav-dropdown { display: block; }
  .hero { padding-block: 52px 58px; column-gap: 28px; }
  .hero h1 { font-size: clamp(2.3rem,4.7vw,3.3rem); }
  .hero-picture { height: 460px; }
  .floating-project { display: none; }
  .section { padding-block: 72px; }
  .intro-grid { gap: 32px; }
  .section-head { gap: 24px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px 24px; }
  .project-card.featured { grid-column: auto; }
  .cta-inner { gap: 32px; }
  .footer-top { gap: 30px; }
  .content-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .sidebar { position: static; max-width: none; }
  .contact-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .contact-panel { display: grid; grid-template-columns: minmax(0,1fr); padding: 28px; }
  .contact-panel h2, .contact-form h2 { font-size: 2.2rem; }
  .contact-portrait { max-width: 280px; }
  .case-layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "photo" "proof"; gap: 28px; max-width: 620px; }
  .hero-copy { align-self: auto; }
  .hero h1 { font-size: clamp(2.25rem,7vw,3.8rem); }
  .hero-copy > p { max-width: 580px; }
  .hero-art { width: 100%; max-width: 520px; justify-self: center; }
  .hero-art::before { right: 9px; top: 15px; width: calc(100% - 18px); height: calc(100% - 24px); }
  .hero-picture { height: auto; aspect-ratio: 4 / 5; object-position: center 48%; border-radius: 42% 42% 6px 6px; }
  .hero-proof { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 0; padding-top: 22px; }
  .hero-proof > * { max-width: none; }
  .intro-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .intro-grid h2 br { display: none; }
  .brand-grid { grid-template-columns: minmax(0,1fr); margin-block: 56px; }
  .brand-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .brand-card:last-child { border-bottom: 0; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-head .text-link { margin: 0; }
}
@media (max-width: 650px) {
  .wrap, .header-inner { width: calc(100% - 40px); }
  body { font-size: 16px; }
  h2 { font-size: clamp(1.9rem,7.8vw,2.6rem); line-height: 1.15; }
  h3 { font-size: 1.65rem; }
  .label { margin-bottom: 16px; font-size: .69rem; line-height: 1.6; letter-spacing: .12em; }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand { gap: 12px; }
  .brand-tag { padding-left: 12px; }
  .site-nav { max-height: calc(100dvh - 68px); padding-inline: 20px; }
  .hero { gap: 25px; padding-block: 30px 40px; }
  .hero h1 { font-size: clamp(2.15rem,9.4vw,3.5rem); line-height: 1.08; margin-bottom: 20px; }
  .hero-copy > p { font-size: 1rem; line-height: 1.65; margin-bottom: 0; }
  .hero-actions { display: grid; grid-template-columns: minmax(0,1fr); justify-items: stretch; gap: 8px; margin-top: 22px; }
  .hero-actions .text-link { justify-self: center; min-height: 44px; align-items: center; }
  .button { min-height: 50px; padding: 14px 18px; font-size: .94rem; border-radius: 6px; }
  .hero-proof { font-size: .8rem; line-height: 1.5; gap: 18px; }
  .hero-proof strong { font-size: 1.5rem; }
  .hero-caption { font-size: .8rem; margin-top: 12px; }
  .ribbon-inner { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; padding-block: 14px; }
  .ribbon-inner > span { font-size: .78rem; padding-bottom: 8px; }
  .ribbon-inner > span br { display: none; }
  .ribbon-inner > a { min-height: 46px; display: flex; align-items: center; border-top: 1px solid var(--line); font-size: 1.3rem; }
  .section { padding-block: 48px; }
  .intro-large { font-size: 1.75rem; line-height: 1.35; }
  .intro-grid p:not(.intro-large) { font-size: 1rem; line-height: 1.7; }
  .section-head { margin-bottom: 28px; }
  .section-lead { font-size: 1rem; }
  .service-row { grid-template-columns: minmax(0,1fr) 24px; gap: 10px 14px; padding-block: 24px; }
  .service-kind { grid-column: 1 / -1; padding-top: 0; font-size: .8rem; }
  .service-content { grid-column: 1; }
  .service-row > .arrow { grid-column: 2; grid-row: 2; }
  .service-content h3 { font-size: 1.8rem; margin-bottom: 12px; }
  .service-content p { font-size: .98rem; line-height: 1.65; margin-bottom: 0; }
  .project-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .project-image, .project-card.featured .project-image { aspect-ratio: 1.45; border-radius: 12px; }
  .project-info { padding-top: 16px; gap: 12px; }
  .project-info h3 { font-size: 1.7rem; }
  .project-info > a { display: flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; min-height: 44px; margin-top: 13px; border: 1px solid var(--line); border-radius: 50%; }
  .project-category { font-size: .7rem; }
  .sector summary { padding-block: 20px; gap: 16px; font-size: 1.35rem; }
  .sector summary::after { flex-shrink: 0; }
  .sector > p { font-size: 1rem; }
  .brand-grid { margin-block: 40px; }
  .brand-card { padding: 22px; }
  .brand-card img { border-radius: 50px 6px 6px 6px; }
  .brand-card p { font-size: 1rem; }
  .cta-band { padding-block: 42px; }
  .cta-inner { gap: 24px; }
  .cta-inner > div:last-child { width: 100%; }
  .cta-inner .button { width: 100%; }
  .cta-inner h2 { font-size: clamp(2rem,8vw,2.6rem); }
  .cta-inner p { font-size: 1rem; }
  .cta-inner .text-link { min-height: 44px; }
  .footer { padding-block: 40px 22px; }
  .footer-top { grid-template-columns: minmax(0,1fr); gap: 28px; padding-bottom: 28px; }
  .footer-top > :first-child { grid-column: auto; }
  .footer p { font-size: .94rem; margin-top: 16px; }
  .footer-top > div > a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; }
  .footer .label { margin-bottom: 8px; }
  .footer-bottom { gap: 12px; font-size: .8rem; padding-top: 18px; }
  .footer-bottom .footer-links { gap: 4px 18px; }
  .footer-links a, .footer-links button { min-height: 44px; display: inline-flex; align-items: center; font-size: .85rem; }
  .page-hero { padding-block: 22px 32px; }
  .breadcrumbs { margin-bottom: 24px; font-size: .76rem; line-height: 1.65; gap: 5px 8px; }
  .page-hero h1, .case-hero h1 { font-size: clamp(2rem,8.8vw,3rem); margin-bottom: 20px; line-height: 1.14; }
  .page-hero p { font-size: 1rem; line-height: 1.7; }
  .content-grid { gap: 32px; }
  .prose h2 { font-size: clamp(1.75rem,7vw,2.25rem); margin-top: 30px; }
  .prose h3 { font-size: 1.6rem; }
  .prose p, .prose li { font-size: 1rem; line-height: 1.7; }
  .sidebar { padding: 22px; }
  .sidebar p, .sidebar a:not(.button) { font-size: .95rem; }
  .sidebar .button { width: 100%; font-size: .94rem; }
  .sidebar .text-link { min-height: 44px; }
  .deliverables { grid-template-columns: minmax(0,1fr); }
  .filters { gap: 8px; margin-bottom: 20px; }
  .filter { font-size: .86rem; padding: 11px 13px; min-height: 44px; border-radius: 24px; }
  .project-count { font-size: .84rem; margin: 0 0 24px; }
  .case-layout { gap: 26px; padding-top: 32px; }
  .case-meta { font-size: .95rem; }
  .case-meta .button { width: 100%; }
  .case-meta dl { grid-template-columns: 64px minmax(0,1fr); gap: 14px; }
  .case-meta dt { font-size: .72rem; }
  .case-meta dd { font-size: .94rem; }
  .history-item { grid-template-columns: minmax(0,1fr); gap: 12px; padding-block: 24px; }
  .history-year { font-size: 1.1rem; }
  .history-item h3 { font-size: 1.65rem; }
  .contact-panel { padding: 22px; }
  .contact-panel h2 { font-size: clamp(1.7rem,7vw,2.2rem); }
  .contact-panel p { font-size: .98rem; }
  .contact-portrait { max-width: 250px; margin-inline: auto; }
  .contact-form { gap: 18px; }
  .contact-form p { font-size: 1rem; }
  .contact-form label { font-size: .9rem; }
  .contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { font-size: 16px; border-radius: 6px; }
  .contact-form .button { width: 100%; }
  .team-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .team-member p, .team-member a { font-size: .95rem; }
  .team-member a { min-height: 40px; margin: 0; display: flex; align-items: center; }
  .people-grid { grid-template-columns: minmax(0,1fr); gap: 36px; margin-top: 28px; }
  .people-member > img { max-width: 440px; aspect-ratio: 4 / 4.6; margin-inline: auto; margin-bottom: 24px; }
  .people-member h3 { font-size: 1.9rem; }
  .people-member p { font-size: 1rem; }
  .people-member .text-link { min-height: 44px; }
  .faq summary { font-size: 1rem; padding-block: 20px; padding-right: 32px; }
  .faq details > p { font-size: 1rem; }
  .consent-banner { bottom: max(8px,env(safe-area-inset-bottom)); width: calc(100% - 16px); padding: 18px 16px; gap: 14px; border-radius: 12px; max-height: min(76dvh,600px); }
  .consent-copy h2 { font-size: 1.25rem; }
  .consent-copy p { font-size: .82rem; line-height: 1.55; }
  .consent-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .consent-actions .button, .consent-actions button:not(.button) { width: 100%; min-height: 48px; font-size: .83rem; padding: 10px 8px; border-radius: 6px; }
  .consent-actions > :last-child:nth-child(3) { grid-column: 1 / -1; }
  .consent-settings { padding: 0; }
  .consent-options label { font-size: .95rem; }
}
@media (max-width: 480px) {
  .brand-tag { display: none; }
  .brand img { width: 144px; }
}
@media (max-width: 360px) {
  .wrap, .header-inner { width: calc(100% - 32px); }
  .hero h1 { font-size: 2.05rem; }
  .brand img { width: 132px; }
  .menu-toggle { padding-inline: 12px; }
  .brand-card, .contact-panel, .sidebar { padding: 18px; }
}
@media (hover: none) {
  .button:hover, .project-card:hover .project-image img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
