/* Rosa Cirulli v0.1.8 — bilingual, static, privacy-first professional profile */
:root {
  --bg: #fafafa;
  --bg-soft: #fff7f9;
  --surface: rgba(255,255,255,.82);
  --surface-strong: #ffffff;
  --text: #333333;
  --muted: #6f6368;
  --subtle: #78696f;
  --pink: #e86a8f;
  --pink-deep: #b84468;
  --blush: #f7b6c2;
  --soft-blush: #fde6ea;
  --border: rgba(200,79,116,.15);
  --border-strong: rgba(200,79,116,.32);
  --container: 1240px;
  --header-height: 82px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow: 0 28px 80px rgba(98,52,67,.10);
  --ease: cubic-bezier(.2,.75,.25,1);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--pink) #f5eef0; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--bg); font-family: var(--sans); line-height: 1.66; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 4px; }
::selection { color: #fff; background: rgba(232,106,143,.78); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(5rem,10vw,9rem); }
.section + .section { border-top: 1px solid rgba(200,79,116,.09); }
.page-pattern { position: fixed; inset: 0; z-index: -4; pointer-events: none; opacity: .48; background-image: linear-gradient(rgba(232,106,143,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(232,106,143,.025) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(to bottom, black, transparent 86%); }
.ambient { position: fixed; z-index: -3; width: 40rem; height: 40rem; border-radius: 50%; filter: blur(115px); opacity: .18; pointer-events: none; }
.ambient-one { top: -24rem; right: -12rem; background: var(--blush); }
.ambient-two { bottom: -25rem; left: -19rem; background: var(--soft-blush); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: .7rem 1rem; color: #fff; background: var(--pink-deep); border-radius: 8px; transform: translateY(-180%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid transparent; background: rgba(250,250,250,.64); backdrop-filter: blur(18px); transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { border-color: var(--border); background: rgba(250,250,250,.93); box-shadow: 0 10px 35px rgba(87,55,66,.055); }
.header-main { height: var(--header-height); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-cluster { min-width: 0; display: flex; align-items: center; gap: 1rem; }
.brand-cluster .brand { flex: 0 1 auto; }
.brand { display: inline-flex; align-items: center; gap: .76rem; min-width: 0; }
.brand img { width: 48px; height: 49px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-family: var(--serif); color: #3c3034; font-size: 1.18rem; font-weight: 500; letter-spacing: -.02em; }
.brand-copy small { margin-top: .18rem; color: var(--subtle); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.header-tools { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.language-switch { flex: 0 0 auto; display: inline-flex; align-items: center; padding-left: .75rem; margin-left: .15rem; border-left: 1px solid var(--border); }
.language-switch a { display: inline-flex; min-width: 34px; min-height: 32px; align-items: center; justify-content: center; padding: .3rem .5rem; border: 1px solid var(--border); border-right-width: 0; color: var(--subtle); background: rgba(255,255,255,.68); font-size: .68rem; line-height: 1; font-weight: 800; letter-spacing: .08em; }
.language-switch a:first-child { border-radius: 999px 0 0 999px; }
.language-switch a:last-child { border-right-width: 1px; border-radius: 0 999px 999px 0; }
.language-switch a:hover { color: var(--pink-deep); background: #fff; }
.language-switch a[aria-current="page"] { color: #fff; border-color: rgba(200,79,116,.46); background: linear-gradient(135deg, #b84468, #c14b70); }
.utility-nav { display: flex; align-items: center; }
.utility-nav a, .page-switcher summary { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 999px; color: #6c555e; background: rgba(255,255,255,.66); transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s var(--ease); }
.utility-nav a:hover, .page-switcher summary:hover { color: var(--pink-deep); border-color: var(--border-strong); background: #fff; transform: translateY(-1px); }
.utility-icon { width: 20px; height: 20px; }
.page-switcher { position: relative; z-index: 20; flex: 0 0 auto; }
.page-switcher summary { cursor: pointer; list-style: none; }
.page-switcher summary::-webkit-details-marker { display: none; }
.menu-icon { width: 18px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; color: currentColor; }
.menu-icon span { width: 100%; height: 1.5px; display: block; border-radius: 99px; background: currentColor; transform-origin: center; transition: transform .2s ease, opacity .15s ease; }
.page-switcher[open] .menu-icon > span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.page-switcher[open] .menu-icon > span:nth-child(2) { opacity: 0; }
.page-switcher[open] .menu-icon > span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }
.page-switcher-menu, .context-menu { position: absolute; right: 0; top: calc(100% + .65rem); min-width: 220px; padding: .55rem; border: 1px solid var(--border-strong); border-radius: 14px; background: rgba(255,255,255,.97); box-shadow: 0 22px 60px rgba(92,50,65,.14); }
.page-switcher-menu { z-index: 30; display: grid; left: 0; right: auto; }
.page-switcher-menu a, .context-menu a { padding: .72rem .82rem; border-radius: 9px; color: #68565d; font-size: .88rem; font-weight: 650; }
.page-switcher-menu a:hover, .context-menu a:hover { color: var(--pink-deep); background: var(--bg-soft); }
.page-context { border-top: 1px solid rgba(200,79,116,.08); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.58); }
.page-context-inner { min-height: 44px; display: flex; align-items: center; gap: 1.2rem; }
.context-heading { color: var(--subtle); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.context-nav { display: flex; align-items: center; gap: .2rem; }
.context-nav a { padding: .45rem .62rem; border-radius: 8px; color: #78656c; font-size: .78rem; font-weight: 650; }
.context-nav a:hover { color: var(--pink-deep); background: rgba(253,230,234,.7); }
.context-switcher { display: none; position: relative; margin-left: auto; }
.context-switcher summary { display: flex; align-items: center; gap: .55rem; color: #7a666e; font-size: .78rem; font-weight: 700; cursor: pointer; list-style: none; }
.context-switcher summary::-webkit-details-marker { display: none; }
.disclosure-chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.context-menu { z-index: 10; display: grid; }

.hero { position: relative; min-height: calc(100vh - 127px); display: grid; grid-template-columns: minmax(0,1.06fr) minmax(390px,.94fr); gap: clamp(2.5rem,7vw,7rem); align-items: center; padding-block: clamp(4rem,8vw,7rem); }
.hero-copy { max-width: 760px; }
.profile-name { margin: 0 0 .55rem; color: #5d424c; font-family: var(--serif); font-size: clamp(1.12rem,1.45vw,1.34rem); line-height: 1.5; font-weight: 500; letter-spacing: .01em; }
.eyebrow, .section-kicker { margin: 0; color: var(--pink-deep); font-size: .7rem; line-height: 1.3; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .65rem; }
.eyebrow span { width: 30px; height: 1px; background: linear-gradient(90deg, var(--pink), transparent); }
h1, h2, h3, .hero-statement { overflow-wrap: normal; word-break: normal; hyphens: none; text-wrap: balance; }
p { overflow-wrap: break-word; }
.hero-statement { max-width: 850px; margin: 1.3rem 0 1.45rem; font-family: var(--serif); font-size: clamp(3rem,5.15vw,5.45rem); line-height: .98; letter-spacing: -.052em; font-weight: 500; }
.hero-statement em { color: transparent; background: linear-gradient(105deg, #a93f62 0%, var(--pink-deep) 52%, #cf6684 100%); background-clip: text; -webkit-background-clip: text; font-style: normal; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.25rem,4.5vw,4.35rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; color: #43353a; }
h3 { line-height: 1.2; color: #48383e; }
.hero-intro { max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(1.03rem,1.45vw,1.2rem); }
.hero-proof { max-width: 680px; margin: 1.3rem 0 0; color: var(--subtle); font-size: .95rem; }
.hero-proof strong { color: #4c3b41; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .8rem 1.12rem; border: 1px solid var(--border); border-radius: 11px; font-size: .9rem; font-weight: 750; transition: transform .25s var(--ease), border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.button svg { width: 18px; height: 18px; }
.button-primary { color: #fff; border-color: rgba(171,59,93,.28); background: linear-gradient(135deg, #b84468, #c14b70); box-shadow: 0 14px 30px rgba(210,74,116,.18); }
.button-primary:hover { box-shadow: 0 17px 34px rgba(210,74,116,.24); }
.button-secondary { color: #6a4d58; border-color: var(--border-strong); background: rgba(255,255,255,.8); }
.button-secondary:hover { color: var(--pink-deep); background: #fff; box-shadow: 0 12px 26px rgba(98,52,67,.08); }
.hero-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.hero-tags li { padding: .36rem .64rem; border: 1px solid var(--border); border-radius: 999px; color: var(--subtle); background: rgba(255,255,255,.65); font-size: .69rem; font-weight: 700; }

.brand-panel { position: relative; overflow: hidden; padding: clamp(1.45rem,3vw,2.25rem); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0%, rgba(247,182,194,.3), transparent 22rem), linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,247,249,.94)); box-shadow: var(--shadow); }
.brand-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(232,106,143,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(232,106,143,.035) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(135deg, black, transparent 80%); }
.brand-panel-mark { position: absolute; width: 230px; right: -65px; bottom: -70px; opacity: .075; transform: rotate(-6deg); pointer-events: none; }
.brand-panel-mark img { width: 100%; height: auto; }
.panel-header, .impact-list { position: relative; z-index: 1; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.panel-header strong { font-family: var(--serif); font-size: clamp(1.35rem,2vw,1.7rem); font-weight: 500; letter-spacing: -.03em; }
.panel-status { display: inline-flex; align-items: center; gap: .42rem; color: var(--pink-deep); font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.panel-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 14px rgba(232,106,143,.55); }
.impact-list { display: grid; margin: 0; padding: 0; list-style: none; }
.impact-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; padding: 1.12rem 0; border-bottom: 1px solid rgba(200,79,116,.1); }
.impact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.impact-index { color: var(--pink-deep); font-size: .68rem; line-height: 1.5; font-weight: 800; }
.impact-list strong { display: block; margin-bottom: .28rem; color: #4e3c43; font-size: .98rem; }
.impact-list p { margin: 0; color: #806d74; font-size: .86rem; line-height: 1.56; }

.section-heading { display: grid; grid-template-columns: minmax(0,.42fr) minmax(0,1fr); gap: clamp(1.5rem,6vw,6rem); align-items: end; margin-bottom: clamp(2.5rem,6vw,5rem); }
.section-heading-compact { display: block; }
.section-heading .section-kicker { align-self: start; padding-top: .55rem; }
.section-heading > div > p, .section-heading-compact > p:last-child { max-width: 700px; margin: 1rem 0 0; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: .73fr 1.27fr; gap: clamp(2rem,8vw,8rem); align-items: start; }
.about .section-heading { position: sticky; top: calc(var(--header-height) + 4rem); }
.profile-portrait {
  width: min(100%, 360px);
  margin: 2rem 0 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #e9e3de;
  box-shadow: 0 24px 60px rgba(92,56,69,.13);
}
.profile-portrait img { display: block; width: 100%; height: auto; }
.about-copy { max-width: 760px; }
.about-copy p { color: var(--muted); font-size: 1.03rem; }
.about-copy .about-lead { margin-top: 0; color: #514047; font-family: var(--serif); font-size: clamp(1.5rem,2.5vw,2.15rem); line-height: 1.35; }
.profile-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; margin: 2.2rem 0 0; }
.profile-facts div { padding: 1.15rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(255,255,255,.72); }
.profile-facts dt { color: var(--pink-deep); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.profile-facts dd { margin: .45rem 0 0; color: #57454c; font-size: .88rem; font-weight: 650; line-height: 1.5; }

.workflow { background: linear-gradient(180deg, rgba(253,230,234,.24), rgba(250,250,250,0)); }
.workflow-chain { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .8rem; }
.workflow-node { position: relative; min-height: 190px; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.8); }
.workflow-node::after { content: ""; position: absolute; top: 50%; right: -.82rem; width: .82rem; height: 1px; background: linear-gradient(90deg, var(--blush), var(--pink)); }
.workflow-node:last-child::after { display: none; }
.workflow-node > span, .card-index { display: block; margin-bottom: 1rem; color: var(--pink-deep); font-size: .67rem; font-weight: 850; letter-spacing: .11em; }
.workflow-node h3 { margin: 0 0 .5rem; font-family: var(--serif); font-size: 1.28rem; font-weight: 500; }
.workflow-node p { margin: 0; color: var(--muted); font-size: .86rem; }
.management-note { display: grid; grid-template-columns: minmax(180px,.36fr) minmax(0,1fr); gap: 2rem; margin-top: 1rem; padding: 1.3rem 1.4rem; border-left: 3px solid var(--pink); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(255,255,255,.62); }
.management-note strong { color: #4e3d43; }
.management-note p { margin: 0; color: var(--muted); }

.expertise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.expertise-card { position: relative; min-height: 100%; padding: clamp(1.35rem,3vw,2rem); border: 1px solid var(--border); border-radius: var(--radius-md); background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,247,249,.7)); transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease; }
.expertise-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 18px 44px rgba(109,61,77,.08); }
.card-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 1.3rem; border: 1px solid rgba(232,106,143,.25); border-radius: 14px; color: var(--pink-deep); background: rgba(253,230,234,.5); }
.card-icon svg { width: 27px; height: 27px; }
.expertise-card h3 { margin: 0 0 .6rem; font-family: var(--serif); font-size: clamp(1.32rem,2vw,1.7rem); font-weight: 500; letter-spacing: -.025em; }
.expertise-card p { margin: 0; color: var(--muted); }

.method { background: radial-gradient(circle at 100% 0%, rgba(247,182,194,.12), transparent 35rem); }
.case-list { display: grid; gap: .8rem; }
.case-study { border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.76); overflow: hidden; }
.case-study[open] { border-color: var(--border-strong); background: rgba(255,255,255,.94); box-shadow: 0 18px 55px rgba(101,57,72,.07); }
.case-study summary { display: grid; grid-template-columns: 52px minmax(0,1fr) 38px; gap: 1rem; align-items: start; padding: 1.35rem 1.4rem; cursor: pointer; list-style: none; }
.case-study summary::-webkit-details-marker { display: none; }
.case-number { color: var(--pink-deep); font-size: .72rem; font-weight: 850; letter-spacing: .1em; padding-top: .18rem; }
.case-summary-copy { min-width: 0; display: grid; gap: .38rem; }
.case-summary-copy > strong { color: #49383e; font-family: var(--serif); font-size: clamp(1.25rem,2.2vw,1.7rem); font-weight: 500; letter-spacing: -.025em; }
.case-summary-copy > span:not(.case-tags) { color: var(--muted); }
.case-tags { display: flex; flex-wrap: wrap; gap: .38rem; margin-top: .35rem; }
.case-tags i { padding: .28rem .5rem; border: 1px solid var(--border); border-radius: 999px; color: var(--subtle); font-size: .65rem; font-weight: 750; font-style: normal; }
.case-toggle { width: 34px; height: 34px; display: grid; place-items: center; color: var(--pink-deep); transition: transform .25s ease; }
.case-toggle svg { width: 18px; height: 18px; }
.case-study[open] .case-toggle { transform: rotate(180deg); }
.case-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 0 1.4rem 1.4rem 52px; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.case-body > div { padding: 1rem; border-radius: var(--radius-sm); background: #fff8fa; }
.case-body h3 { margin: 0 0 .4rem; color: var(--pink-deep); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.case-body p { margin: 0; color: var(--muted); font-size: .9rem; }

.path-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem,8vw,8rem); align-items: start; }
.path .section-heading { position: sticky; top: calc(var(--header-height) + 4rem); }
.timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 1.2rem; padding: 0 0 2.4rem; }
.timeline li::before { content: ""; position: absolute; left: 91px; top: .55rem; bottom: 0; width: 1px; background: linear-gradient(var(--pink), rgba(232,106,143,.08)); }
.timeline li::after { content: ""; position: absolute; left: 86px; top: .45rem; width: 11px; height: 11px; border: 3px solid var(--bg); border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 1px rgba(200,79,116,.2); }
.timeline li:last-child::before { display: none; }
.timeline-year { color: var(--pink-deep); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; padding-top: .1rem; }
.timeline div { padding-left: 1.2rem; }
.timeline h3 { margin: 0 0 .45rem; font-family: var(--serif); font-size: clamp(1.35rem,2.1vw,1.75rem); font-weight: 500; }
.timeline p { margin: 0; color: var(--muted); }

.principle-panel { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(300px,.82fr); gap: clamp(2rem,7vw,6rem); align-items: end; padding: clamp(2rem,5vw,4rem); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff, #fff5f7); box-shadow: var(--shadow); }
.principle-panel + .principle-panel { margin-top: clamp(1.25rem,3vw,2rem); }
blockquote { margin: 1rem 0; font-family: var(--serif); font-size: clamp(2.3rem,4.8vw,4.6rem); line-height: 1; letter-spacing: -.045em; color: #43343a; }
blockquote span { color: var(--pink-deep); }
.principle-intro { max-width: 700px; margin: 0; color: var(--muted); }
.principle-points { display: grid; gap: .8rem; }
.principle-points p { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: .8rem; margin: 0; padding: .8rem 0; border-bottom: 1px solid var(--border); }
.principle-points p:last-child { border-bottom: 0; }
.principle-points strong { color: var(--pink-deep); font-size: .7rem; letter-spacing: .08em; }
.principle-points span { color: #66535a; font-weight: 650; }

.contact-panel { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: clamp(2rem,5vw,4rem); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0%, rgba(247,182,194,.24), transparent 20rem), #fff; box-shadow: var(--shadow); }
.contact-panel h2 { margin-top: .8rem; }
.contact-panel p { max-width: 680px; color: var(--muted); }
.contact-place { margin-bottom: 0; color: var(--subtle) !important; font-weight: 700; }
.contact-actions { margin-top: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%, 540px); flex: 0 0 min(100%, 540px); }
.contact-actions .button { width: 100%; min-width: 0; height: 52px; min-height: 52px; white-space: nowrap; }

.site-footer { padding-block: 2.1rem; padding-bottom: calc(2.1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: rgba(255,255,255,.65); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: .65rem; }
.footer-brand img { width: 35px; height: 35px; object-fit: contain; }
.footer-brand span { display: grid; line-height: 1.25; }
.footer-brand strong { font-family: var(--serif); font-weight: 500; }
.footer-brand small { color: var(--subtle); font-size: .68rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .85rem; color: #7a666e; font-size: .78rem; font-weight: 650; }
.footer-links a:hover { color: var(--pink-deep); }
.copyright { margin: 0; color: var(--subtle); font-size: .74rem; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .68s var(--ease), transform .68s var(--ease); transition-delay: calc(var(--delay,0) * 85ms); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
[data-delay="1"] { --delay: 1; } [data-delay="2"] { --delay: 2; }

@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .brand-panel { max-width: 860px; }
  .workflow-chain { grid-template-columns: repeat(3,1fr); }
  .workflow-node:nth-child(3)::after { display: none; }
  .expertise-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid, .path-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about .section-heading, .path .section-heading { position: static; }
  .profile-portrait { width: min(100%, 420px); }
  .principle-panel { grid-template-columns: 1fr; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .contact-actions { width: min(100%, 540px); flex-basis: auto; }
}
@media (max-width: 820px) {
  :root { --header-height: 72px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-cluster { gap: .55rem; }
  .brand img { width: 42px; height: 43px; }
  .brand-copy small { display: none; }
  .language-switch { padding-left: .5rem; margin-left: 0; }
  .language-switch a { min-width: 31px; min-height: 30px; padding: .28rem .38rem; }
  .context-nav, .context-heading { display: none; }
  .context-switcher { display: block; }
  .page-context-inner { justify-content: flex-end; }
  .section-heading { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; }
  .section-heading .section-kicker { padding-top: 0; }
  .management-note { grid-template-columns: 1fr; gap: .8rem; }
  .profile-facts { grid-template-columns: 1fr; }
  .case-study summary { grid-template-columns: 44px minmax(0,1fr) 34px; }
  .case-body { margin-left: 44px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 620px) {
  .hero-statement { font-size: clamp(2.75rem,14vw,4.25rem); }
  .hero { padding-top: 3rem; }
  .workflow-chain, .expertise-grid { grid-template-columns: 1fr; }
  .workflow-node { min-height: auto; }
  .workflow-node::after { display: none; }
  .case-study summary { grid-template-columns: 30px minmax(0,1fr); }
  .case-toggle { display: none; }
  .case-body { grid-template-columns: 1fr; margin-left: 0; }
  .timeline li { grid-template-columns: 70px minmax(0,1fr); }
  .timeline li::before { left: 69px; }
  .timeline li::after { left: 64px; }
  .hero-actions, .contact-actions { width: 100%; }
  .contact-actions { grid-template-columns: 1fr; flex-basis: auto; }
  .hero-actions .button, .contact-actions .button { width: 100%; }
  .utility-nav { display: none; }
  .language-switch { padding-left: 0; border-left: 0; }
  .page-switcher-menu { left: 50%; right: auto; width: min(220px, calc(100vw - 28px)); min-width: 0; transform: translateX(-50%); }
}
@media (max-width: 360px) { .hero-statement { font-size: clamp(2.45rem,12.5vw,2.9rem); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* v0.1.2+ — production domain, legal/privacy pages and utility footer */
.footer-meta { display: grid; justify-items: center; gap: .55rem; }
.footer-meta > p { margin: 0; text-align: center; }
.footer-credit { color: var(--subtle); font-size: .68rem; line-height: 1.35; }
.footer-credit a { color: #80616c; font-weight: 700; }
.footer-credit a:hover { color: var(--pink-deep); }
.footer-social { display: flex; align-items: center; justify-content: center; gap: .18rem; }
.footer-social a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--subtle); transition: color .2s ease, background .2s ease; }
.footer-social a:hover { color: var(--pink-deep); background: rgba(253,230,234,.72); }
.footer-social .utility-icon { width: 18px; height: 18px; }
.utility-icon-linkedin { fill: currentColor; stroke: none; }
.utility-icon-mail { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.document-hero { padding-block: clamp(4rem,8vw,7rem); }
.document-hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); gap: clamp(2.5rem,7vw,7rem); align-items: center; }
.document-hero h1 { margin: 1rem 0 1.25rem; font-family: var(--serif); color: #43353a; font-size: clamp(3rem,5.2vw,5.3rem); line-height: .98; letter-spacing: -.05em; font-weight: 500; }
.document-hero .lead { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(1.03rem,1.45vw,1.18rem); }
.document-summary { padding: clamp(1.45rem,3vw,2.2rem); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0%, rgba(247,182,194,.26), transparent 19rem), rgba(255,255,255,.88); box-shadow: var(--shadow); }
.document-summary > strong { display: block; margin-bottom: 1rem; color: #4c3b41; font-family: var(--serif); font-size: 1.28rem; font-weight: 500; }
.document-summary-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.document-summary-list li { display: grid; grid-template-columns: 42px 1fr; gap: .8rem; padding: .92rem 0; border-bottom: 1px solid var(--border); }
.document-summary-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.document-summary-list span { color: var(--pink-deep); font-size: .68rem; font-weight: 850; letter-spacing: .08em; }
.document-summary-list strong { display: block; color: #514047; }
.document-summary-list p { margin: .2rem 0 0; color: var(--muted); font-size: .84rem; }
.document-section { padding-block: clamp(4rem,8vw,7rem); border-top: 1px solid rgba(200,79,116,.09); }
.document-grid { display: grid; grid-template-columns: minmax(170px,.28fr) minmax(0,1fr); gap: clamp(1.5rem,5vw,5rem); align-items: start; }
.document-label { position: sticky; top: calc(var(--header-height) + 4rem); }
.document-content { max-width: 900px; }
.document-content h2 { margin: 0 0 1.2rem; font-size: clamp(2rem,4vw,3.55rem); }
.document-content h3 { margin: 1.85rem 0 .55rem; font-family: var(--serif); color: #4b3940; font-size: clamp(1.22rem,2vw,1.55rem); font-weight: 500; }
.document-content p, .document-content li { color: var(--muted); }
.document-content ul { padding-left: 1.2rem; }
.document-content li + li { margin-top: .45rem; }
.document-content a { color: var(--pink-deep); text-decoration: underline; text-decoration-color: rgba(200,79,116,.32); text-underline-offset: .18em; }
.document-contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 1.5rem; }
.document-contact-card { padding: 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.72); }
.document-contact-card strong { display: block; margin-bottom: .32rem; color: #4d3b42; }
.document-contact-card a { overflow-wrap: anywhere; }
.document-note { margin-top: 2rem; padding: 1.15rem 1.25rem; border-left: 3px solid var(--pink); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(255,255,255,.62); }
.document-update { margin-top: 2rem; color: var(--subtle) !important; font-size: .82rem; }
.simple-page { min-height: calc(100vh - var(--header-height)); display: grid; align-items: center; }
.simple-page-card { max-width: 760px; padding: clamp(2rem,5vw,4rem); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: rgba(255,255,255,.86); box-shadow: var(--shadow); }
.simple-page-card h1 { margin: .8rem 0 1rem; font-family: var(--serif); font-size: clamp(2.6rem,5vw,4.7rem); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.simple-page-card p { color: var(--muted); }

@media (max-width: 980px) {
  .document-hero-grid { grid-template-columns: 1fr; }
  .document-summary { max-width: 780px; }
  .document-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .document-grid { grid-template-columns: 1fr; gap: 1rem; }
  .document-label { position: static; }
}

/* v0.1.4 — hamburger beside brand, equal contact CTAs and SEO-supporting release fingerprint */

/* v0.1.6 — centered footer stack and OpenMilanese-style desktop contact positioning */
.footer-meta { gap: .38rem; }
.footer-credit { margin-top: .05rem; }

@media (min-width: 1121px) {
  .contact-panel {
    display: grid;
    grid-template-columns: minmax(0,1.08fr) minmax(440px,.92fr);
    align-items: center;
    gap: clamp(2.5rem,5vw,5rem);
  }
  .contact-actions {
    width: min(100%,500px);
    justify-self: center;
    flex: none;
  }
}


/* v0.1.7 — uniform contextual navigation across Home, Privacy and Legal */
.page-context {
  height: 48px;
}
.page-context-inner {
  height: 100%;
  min-height: 0;
  gap: 1rem;
}
.context-heading {
  flex: 0 0 auto;
  padding-right: 1rem;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.context-switcher {
  width: 100%;
  margin-left: 0;
}
.context-switcher summary {
  width: 100%;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}
.context-menu {
  right: 0;
  left: 0;
}
.disclosure-chevron {
  flex: 0 0 auto;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.context-switcher[open] > summary .disclosure-chevron {
  transform: translateY(2px) rotate(225deg);
}
.contact-panel .section-kicker {
  color: var(--pink-deep);
}
main [id] {
  scroll-margin-top: calc(var(--header-height) + 4.25rem);
}

@media (max-width: 820px) {
  .page-context { height: 46px; }
  .page-context-inner { justify-content: stretch; }
  .context-switcher { display: block; }
  .context-switcher summary { color: #7a666e; }
}

/* v0.1.8 — WCAG AA text/control contrast, 8-bit-alpha mark and SEO/404 refinements */

/* v1.0.1 — matching editorial Home panel and entity sameAs release fingerprint */

/* v1.1.3 — primary hamburger panel stays above the contextual “In questa pagina / On this page” bar */
