@font-face {
  font-family: Montserrat;
  src: url("montserrat-259e24f0.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("montserrat-29f3d14d.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Playfair;
  src: url("playfairdisplay-543b8b3a.woff2") format("woff2");
  font-display: swap;
}

:root {
  --navy: #101b29;
  --ink: #192535;
  --body: #454e57;
  --brass: #815a36;
  --gold: #d1ad7d;
  --paper: #fff;
  --line: #ddd3c5;
  --light-text: #d9dfe6;
  --serif: Playfair, Georgia, serif;
  --gutter: clamp(1.35rem, 5vw, 5rem);
  --measure: 78rem;
  --section: clamp(4rem, 8vw, 8rem);
  color: var(--ink);
  background: var(--paper);
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.65;
}

* { box-sizing: border-box; }
body, figure, dl, dd { margin: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 2rem; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
address { font-style: normal; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.031em;
  line-height: 1.09;
  text-wrap: balance;
}
h2 { font-size: clamp(2.25rem, 4.8vw, 4.25rem); }
h3 { font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
p { margin: 0; }
p + p { margin-top: 1em; }
main:focus { outline: none; }

.wrap { width: min(var(--measure), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section); }
.eyebrow {
  color: var(--brass);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .115em;
  text-transform: uppercase;
  line-height: 1.4;
}
.lead { color: var(--body); font-size: clamp(1.03rem, 1.6vw, 1.24rem); }
.text-link { display: inline-block; font-weight: 600; }
.skip {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1001;
  padding: .6rem 1rem;
  color: var(--navy);
  background: var(--paper);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.header { position: relative; z-index: 10; background: var(--navy); color: var(--paper); }
.header-inner { display: flex; min-height: 5.5rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-block; flex: none; vertical-align: middle; }
.brand img { width: 11.5rem; }
.header nav ul { display: flex; flex-wrap: wrap; gap: clamp(.85rem, 2.5vw, 2.5rem); padding: 0; margin: 0; list-style: none; }
.header nav a { display: inline-block; padding-block: .6rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.header nav a:hover, .header nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .55rem; }
.menu-toggle { display: none; }
.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.18rem;
  border: 1px solid transparent;
  background: var(--navy);
  color: var(--paper);
  font-size: .875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.button:focus-visible { outline-color: var(--brass); }
.button:hover { background: #253851; }
.button-header, .button-outline { background: transparent; border-color: currentColor; }
.button-header { color: #f4d7ad; }
.button-header:focus-visible, .button-light:focus-visible { outline-color: var(--gold); }
.button-outline { color: var(--ink); }
.button-outline:hover { background: #f1f3f6; }
.button-light { color: var(--navy); background: #e5c399; }
.button-light:hover { background: #f1d7b4; }

.hero {
  display: grid;
  grid-template-columns: 54% 46%;
  min-height: clamp(32rem, 42vw, 43rem);
  background: var(--paper);
}
.hero-copy {
  align-self: center;
  padding: clamp(3.25rem, 6vw, 6.5rem) clamp(1.4rem, 4.2vw, 4.2rem) clamp(3.4rem, 6vw, 6.5rem) max(var(--gutter), (100vw - var(--measure)) / 2);
}
.hero-copy .eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.35rem; }
.hero-copy .eyebrow span { width: 1.8rem; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(3.1rem, 5.5vw, 6rem); line-height: 1.04; letter-spacing: -.052em; text-wrap: initial; }
.hero h1 em { display: inline-block; color: var(--brass); font-family: Georgia, serif; font-weight: 400; }
.hero .lead { max-width: 34ch; margin-top: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem 1.45rem; align-items: center; margin-top: 2rem; }
.actions .text-link { padding-block: .5rem; font-size: .875rem; }
.hero-photo { position: relative; isolation: isolate; overflow: hidden; background: #32362f; }
.hero-photo img, .hero-photo::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-photo img { object-fit: cover; object-position: 49% 42%; filter: saturate(.78); }
.hero-photo::before { z-index: 1; content: ""; background: linear-gradient(0deg, rgb(12 19 27 / .86), transparent 43%); }
.hero-photo::after {
  position: absolute;
  z-index: 2;
  inset: 1.35rem;
  border: 1px solid rgb(242 220 184 / .54);
  content: "";
  pointer-events: none;
}
.hero-photo figcaption {
  position: absolute;
  z-index: 3;
  inset: auto 3rem 2.9rem;
  color: var(--paper);
  line-height: 1.28;
}
.hero-photo figcaption span { display: block; font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 2rem); }
.hero-photo figcaption small { display: block; margin-top: .25rem; color: #f1e3d1; font-size: .875rem; }

.credentials { background: var(--paper); border-bottom: 1px solid var(--line); }
.credentials dl { display: grid; grid-template-columns: 1fr 1.25fr 1fr; padding-block: 1.6rem; }
.credentials dl > div { padding-inline: clamp(1rem, 3vw, 2.35rem); }
.credentials dl > div:first-child { padding-left: 0; }
.credentials dl > div + div { border-left: 1px solid #d3c4b2; }
.credentials dt { margin-bottom: .35rem; color: var(--brass); font-size: .875rem; font-weight: 600; }
.credentials dd { font-weight: 600; line-height: 1.4; }

.section-heading { margin-bottom: clamp(1.65rem, 3.7vw, 3rem); }
.section-heading .eyebrow, .split-copy .eyebrow, .contact-details .eyebrow { margin-bottom: .7rem; }
.section-heading > p:last-child:not(:first-child) { color: var(--body); margin-top: .9rem; }
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2.6vw, 2rem); }
.practice {
  min-width: 0;
  position: relative;
  padding: clamp(1.65rem, 4vw, 3.4rem);
  border-top: 3px solid var(--brass);
  background: var(--paper);
}
.practice-penale { border-color: var(--gold); background: var(--navy); color: var(--paper); }
.practice h3 { font-size: clamp(2rem, 3.7vw, 3.2rem); }
.practice h3 a { text-decoration: none; }
.practice h3 a:hover { text-decoration: underline; }
.practice p { margin-top: 1rem; color: var(--body); }
.practice-penale p { color: var(--light-text); }
.practice .text-link { margin-top: 1.45rem; color: var(--brass); }
.practice-penale .text-link { color: #f0cb9b; }
.ruled-list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.ruled-list li { border-top: 1px solid var(--line); padding: .7rem 0; }
.practice-penale .ruled-list li { border-color: #465362; }
.immigration { margin-top: 2rem; padding: 1.7rem clamp(1.65rem, 4vw, 3.4rem); border-left: 3px solid var(--brass); background: var(--paper); }
.immigration h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.immigration p { margin-top: .55rem; }

.profile-home, .team { background: var(--paper); }
.profile-home { padding-block: var(--section); }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.photo-frame { position: relative; isolation: isolate; }
.photo-frame::after { position: absolute; z-index: 1; inset: .8rem; border: 1px solid rgb(255 244 224 / .62); pointer-events: none; content: ""; }
.photo-frame img { width: 100%; max-height: 38rem; object-fit: cover; }
.split-copy p:not(.eyebrow) { color: var(--body); margin-top: 1.15rem; }
.split-copy .text-link { color: var(--brass); margin-top: 1.35rem; }

.office-grid, .people-grid { display: grid; gap: clamp(.9rem, 2.6vw, 2rem); }
.office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.office, .person {
  min-width: 0;
  position: relative;
  padding: clamp(1.1rem, 2.6vw, 2.2rem);
  border: 1px solid var(--line);
  background: var(--paper);
}
.office { display: flex; flex-direction: column; align-items: start; }
.office h3 { margin-block: .65rem .85rem; text-wrap: initial; }
.office address, .office-note, .person p, .closing-note { color: var(--body); }
.office-note { margin: .65rem 0 0; font-size: .9rem; }
.office .text-link { color: var(--brass); margin-top: auto; padding-top: 1.1rem; font-size: .9rem; }
.office:target, .practice:target { outline: 2px solid var(--brass); outline-offset: 4px; }
.contact-band { background: var(--navy); color: var(--paper); border-bottom: 1px solid #3c4650; }
.contact-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.65rem 3rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.contact-band h2 { font-size: clamp(2.05rem, 4.5vw, 3.5rem); }
.contact-band p { margin-top: .85rem; color: var(--light-text); }
.footer { background: var(--navy); color: var(--light-text); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 2rem; padding-block: 3.5rem; }
.footer-main .eyebrow { color: #e5c399; margin-bottom: .65rem; }
.footer-main .brand + p { margin-top: .7rem; }
.footer a[href^="mailto:"] { overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.25rem; border-top: 1px solid #3c4650; padding-block: 1.3rem; font-size: .875rem; }

.mast { background: var(--paper); border-bottom: 1px solid var(--line); }
.mast-inner { padding-block: clamp(3rem, 7.5vw, 6.7rem); }
.mast .eyebrow { margin-bottom: .85rem; }
.mast h1 { font-size: clamp(3rem, 7.3vw, 6.4rem); text-wrap: initial; }
.mast .lead { max-width: 54ch; margin-top: 1.05rem; }
.founder { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.founder img { aspect-ratio: 4 / 4.6; object-position: center top; }
.person h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.person p { margin-top: .7rem; }
details { margin-top: 1rem; }
summary { width: fit-content; max-width: 100%; color: var(--brass); font-weight: 600; cursor: pointer; }
.closing-note { max-width: 65ch; margin-top: 1.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-details > p:last-of-type { margin-top: 1rem; }
.contact-links { padding: 0; margin: 1.7rem 0 0; list-style: none; }
.contact-links li { display: grid; gap: .1rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.contact-links li > span:first-child { font-size: .875rem; font-weight: 600; color: var(--brass); }
.contact-links a { overflow-wrap: anywhere; }
.form-panel { padding: clamp(1.2rem, 3vw, 2.25rem); background: var(--paper); border: 1px solid var(--line); }
.form-panel p { color: var(--body); margin-top: .7rem; }
.form-panel form { display: grid; gap: .85rem; margin-top: 1.25rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.form-panel label { display: grid; gap: .25rem; font-weight: 600; font-size: .875rem; }
.form-panel input, .form-panel textarea {
  width: 100%;
  border: 1px solid #968979;
  border-radius: 0;
  padding: .55rem .65rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  font-size: 1rem;
}
.form-panel textarea { resize: vertical; }
.form-panel .button, .privacy-link { justify-self: start; }
.privacy-link { font-size: .875rem; }
.map-tools { margin-top: 2rem; }
.map-tools p { color: var(--body); margin-block: .65rem; font-size: .9rem; }
#mappa { height: clamp(17rem, 45vw, 30rem); margin-top: 1.25rem; z-index: 0; }
.prose { max-width: 76ch; }
.prose h2 { margin-bottom: 1.5rem; }
.prose p { overflow-wrap: anywhere; }

@media (max-width: 64rem) {
  .header-inner { gap: .9rem; }
  .brand img { width: 9.5rem; }
  .header .button { padding-inline: .65rem; }
  .hero-copy { padding-right: var(--gutter); }
  .wide-break { display: none; }
}

@media (max-width: 52rem) {
  .header-inner { flex-wrap: wrap; min-height: 4.75rem; padding-block: .6rem; }
  .brand img { width: 10rem; }
  .header .button-header { display: none; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .menu-toggle {
    min-height: 2.75rem;
    gap: .55rem;
    align-items: center;
    justify-content: center;
    padding: .45rem .7rem;
    border: 1px solid #7e8791;
    color: var(--paper);
    background: transparent;
    font-size: .9rem;
    font-weight: 600;
  }
  .hamburger { display: inline-block; width: .95rem; height: .7rem; border-block: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }
  .header nav { flex-basis: 100%; border-top: 1px solid #47505e; }
  .header nav ul { gap: .05rem 1.15rem; padding-block: .4rem; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: clamp(2.6rem, 7vw, 4.5rem) var(--gutter); }
  .hero h1 { font-size: clamp(3rem, 8.2vw, 5rem); }
  .hero-photo { min-height: clamp(20rem, 68vw, 34rem); }
  .hero-photo img { object-position: 50% 37%; }
  .credentials dl { grid-template-columns: 1fr 1fr; gap: .85rem 0; }
  .credentials dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { gap: 2rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 37.5rem) {
  .actions { margin-top: 1.35rem; }
  .hero .lead { margin-top: 1.1rem; }
  .hero-photo::after { inset: .75rem; }
  .hero-photo figcaption { inset: auto 1.65rem 1.5rem; }
  .credentials dl, .practice-grid, .office-grid, .people-grid, .split, .contact-grid, .footer-main { grid-template-columns: 1fr; }
  .credentials dl > div, .credentials dl > div + div { border-left: 0; padding: 0; }
  .credentials dl > div + div { padding-top: .75rem; border-top: 1px solid #d3c4b2; }
  .founder img { max-height: 32rem; }
}
