:root {
  --navy: #102942;
  --deep-navy: #10263a;
  --ink: #33455b;
  --gold: #9b7945;
  --gold-dark: #795b2f;
  --gold-light: #e1c493;
  --paper: #fcfbf8;
  --warm: #f4f1ec;
  --line: #e4dcd0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: var(--paper); font: 1rem/1.55 var(--sans); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 5.55vw, 5rem); letter-spacing: -.048em; }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.5rem); letter-spacing: -.04em; }
h3 { font-size: 1.6rem; letter-spacing: -.025em; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 1rem; }
.shell { width: min(88.3%, 80rem); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 5; padding: .65rem 1rem; background: white; }
.skip-link:not(:focus) { clip-path: inset(50%); }

.site-header { background: #fff; border-bottom: 1px solid #ede9e2; }
.header-inner { min-height: 5.125rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { display: inline-flex; flex-direction: column; width: max-content; text-decoration: none; }
.wordmark span { font: 2.05rem/1.05 var(--serif); letter-spacing: -.045em; }
.wordmark small { margin-top: .35rem; font-size: .55rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .39em; }
.site-nav, .site-footer nav { display: flex; gap: clamp(1rem, 3.3vw, 2.8rem); align-items: center; font-size: .875rem; }
.site-nav > a, .site-footer nav > a { text-decoration: none; }
.site-nav > a:hover, .site-footer nav > a:hover { text-decoration: underline; }
.menu-toggle { display: none; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; gap: .65rem; padding: .63rem 1.45rem; border: 1px solid transparent; font: 500 .875rem/1.35 var(--sans); text-align: center; text-decoration: none; }
.button span, .text-link span { font-size: 1.15em; line-height: 1; }
.button-outline { border-color: var(--gold); background: rgb(255 255 255 / .82); color: var(--navy); }
.button-outline:hover { background: #f1e9db; }
.button-navy { background: var(--navy); color: #fff; }
.button-navy:hover { background: #224360; }
.button-gold { background: var(--gold-light); color: var(--deep-navy); }
.button-gold:hover { background: #efd7b0; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.eyebrow { color: var(--gold-dark); font-size: .7rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
.ruled::before, .rule-below::after { content: ""; display: block; width: 2.7rem; height: 2px; background: var(--gold); }
.ruled::before { margin-bottom: .9rem; }
.rule-below::after { margin-top: .8rem; }

.home-hero {
  background: linear-gradient(90deg, rgb(252 251 248 / .85) 0%, rgb(252 251 248 / .77) 29%, rgb(252 251 248 / .52) 48%, rgb(252 251 248 / .14) 64%, transparent 79%),
    url("maritime-hero-balanced-review.jpg") center 60% / cover no-repeat, var(--paper);
}
.hero-inner { padding-block: clamp(3rem, 6.35vw, 6.5rem) clamp(3.5rem, 5.9vw, 7rem); }
.home-hero h1 { max-width: 10em; margin-top: .95rem; line-height: 1; }
.hero-summary { margin: .75rem 0 1.45rem; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.home-section { padding-block: clamp(2rem, 3.3vw, 3.5rem); }
.additional-practices { margin-top: 2rem; }
.additional-practice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; list-style: none; margin: .8rem 0 0; padding: 0; }
.additional-practice-list li { border-top: 1px solid var(--line); }
.additional-practice-list a { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; padding: .7rem 0; text-decoration: none; }
.practice-link-title { text-decoration: underline; text-decoration-color: var(--gold); }
.additional-practice-list a > [aria-hidden] { color: var(--gold-dark); }
.practice-grid, .director-grid, .profile-rows, .breadcrumbs ol { padding: 0; list-style: none; }
.practice-grid, .director-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.65rem 0 0; }
.practice { padding-inline: clamp(1rem, 3.6vw, 3rem); border-inline-start: 1px solid var(--line); }
.practice:first-child { padding-inline-start: .15rem; border-inline-start: 0; }
.practice:last-child { padding-inline-end: 0; }
.practice-number { font: 1.85rem/1 var(--serif); color: var(--gold-dark); }
.practice h3 { margin-top: .45rem; min-height: 2.2em; }
.director p::after, .practice p::before { content: ""; display: block; width: 2.4rem; height: 1px; margin-block: .75rem .8rem; background: var(--gold); }
.practice p { font-size: .9rem; color: var(--ink); margin-bottom: .55rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; text-decoration-color: var(--gold); }
.text-link span { color: var(--gold-dark); }
.about-firm { border-top: 1px solid var(--line); }
.about-firm-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(1rem, 5vw, 4rem); align-items: start; }
.about-firm-copy { max-width: 62ch; color: var(--ink); }
.about-firm-copy p + p { margin-top: .65rem; }
.lawyers { background: var(--warm); }
.section-summary { margin-top: .55rem; }
.director-grid { gap: clamp(.75rem, 2.25vw, 2rem); }
.director { padding: 1.45rem clamp(.8rem, 2.65vw, 2.3rem); border: 1px solid var(--line); background: var(--paper); }
.director h3 { font-size: clamp(1.35rem, 2.6vw, 2.1rem); }
.director p { margin-top: .3rem; color: var(--ink); font-size: .77rem; letter-spacing: .18em; }

.contact-band, .site-footer { background: var(--deep-navy); color: #fff; }
.contact-band { background: linear-gradient(110deg, #10263a, #173750); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1.65rem; }
.contact-band h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.contact-band h2::before { background: var(--gold-light); margin-bottom: .65rem; }
.contact-band p { margin-top: .45rem; color: #e0e7ed; font-size: .9rem; }
.contact-band .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid #496077; }
.footer-inner { padding-block: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.site-footer .wordmark span { font-size: 1.7rem; }
.site-footer .wordmark small { font-size: .47rem; }
.site-footer nav { flex-wrap: wrap; gap: .4rem 1.3rem; }
.site-footer .button { min-height: auto; padding: 0; border: 0; background: transparent; color: inherit; }
.review-note { flex: 1 1 15rem; color: #c5d1dc; font-size: .75rem; text-align: end; }

.office-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.office-grid section { padding: clamp(1rem, 3vw, 2.25rem); border: 1px solid var(--line); background: var(--warm); }
.office-grid h2 { font-size: clamp(1.65rem, 3vw, 2.7rem); }
.office-grid address { margin-block: 1rem; color: var(--ink); font-style: normal; font-size: 1.1rem; }
.office-methods { margin-top: .5rem; }
.office-methods div { padding-block: .6rem; border-bottom: 1px solid var(--line); }
.office-methods div:last-child { border-bottom: 0; }
.office-methods dt { color: var(--gold-dark); font: 600 .72rem/1.4 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.office-methods dd { color: var(--ink); font-size: 1.1rem; overflow-wrap: anywhere; }
.office-map { margin-block: 1.5rem clamp(2rem, 5vw, 4.5rem); border: 1px solid var(--line); background: var(--warm); }
.office-map-heading { padding: .9rem clamp(1rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line); }
.office-map-heading h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.office-map-heading p { margin-top: .2rem; color: var(--ink); font: .85rem/1.4 var(--sans); }
.office-map-stage { position: relative; aspect-ratio: 12 / 5; }
.office-map-preview { width: 100%; height: 100%; object-fit: cover; }
.office-map-canvas { position: absolute; inset: 0; visibility: hidden; }
.office-map-stage.is-interactive .office-map-preview { visibility: hidden; }
.office-map-stage.is-interactive .office-map-canvas { visibility: visible; }
.office-map-credit { padding: .25rem 1rem; color: var(--ink); text-align: end; font: .72rem/1.4 var(--sans); }
.office-map-pin { width: 1.5rem; height: 1.9rem; pointer-events: none; }
.office-map-pin::before { content: ""; position: absolute; top: .1rem; left: 0; width: 1.5rem; height: 1.5rem; border: 2px solid var(--paper); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--navy); }
.office-map-pin::after { content: ""; position: absolute; top: .58rem; left: .5rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold-light); }
.office-map-pin span { position: absolute; top: .05rem; left: 1.65rem; padding: .3rem .5rem; border-radius: 2px; background: var(--navy); color: var(--paper); font: 600 .8rem/1.3 var(--sans); white-space: nowrap; }

.profile { font-family: var(--serif); }
.breadcrumbs { color: #556479; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .8rem .75rem; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: .5rem; color: var(--gold-dark); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.profile-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 30%); gap: clamp(2rem, 7vw, 7rem); align-items: center; padding: .75rem 2.2rem 2.5rem 0; }
.profile-intro .eyebrow { margin-bottom: .5rem; }
.profile-intro h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); }
.profile-intro h1::after { width: 3.8rem; margin-top: .95rem; }
.profile-summary { color: var(--ink); max-width: 25em; font-size: clamp(1.22rem, 2.17vw, 1.85rem); line-height: 1.28; margin: .9rem 0 1.3rem; }
.portrait { position: relative; }
.portrait img { aspect-ratio: 15 / 16; height: auto; object-fit: cover; object-position: center 13%; }
.portrait::before, .portrait::after { content: ""; position: absolute; width: 2.45rem; height: 2.95rem; pointer-events: none; }
.portrait::before { top: -.65rem; left: -.65rem; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.portrait::after { bottom: -.65rem; right: -.65rem; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.profile-nav { border-block: 1px solid var(--line); }
.profile-nav .shell { display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(1.3rem, 4vw, 3rem); }
.profile-nav a { display: inline-flex; align-items: center; min-height: 2.85rem; text-decoration: none; font-size: .98rem; }
.profile-nav a:hover { text-decoration: underline; }
.profile-content { padding-block: 1.85rem 1.35rem; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 29%); column-gap: clamp(1.7rem, 4vw, 3.2rem); align-items: start; }
.profile-section { padding-block: .95rem 1.15rem; border-bottom: 1px solid var(--line); }
.profile-grid #overview, .profile-grid #expertise { grid-column: 1; }
.profile-grid #overview { padding-top: 0; }
.profile-content #qualifications { border-bottom: 0; padding-bottom: 0; }
.profile-section h2, .glance h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.profile-section > p { color: var(--ink); font-size: 1.15rem; line-height: 1.4; margin-top: .85rem; }
.glance { grid-column: 2; grid-row: 1 / 3; padding: clamp(1.1rem, 2.9vw, 2.5rem); color: #fff; background: linear-gradient(145deg, #163952, #10283e); }
.glance h2 { font-size: clamp(1.7rem, 3.15vw, 2.7rem); }
.glance h2::after { background: var(--gold-light); }
.glance dl > div { padding-block: .72rem; border-bottom: 1px solid #698093; }
.glance dt { text-transform: uppercase; letter-spacing: .12em; color: var(--gold-light); font-size: .69rem; font-weight: 700; }
.glance dd { margin-top: .12rem; line-height: 1.35; }
.glance .text-link { margin-top: .85rem; color: var(--gold-light); text-decoration-color: currentColor; }
.glance .text-link span { color: inherit; }
.profile-rows { margin: .55rem 0 0; }
.profile-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: .75rem 0; align-items: start; }
.profile-rows li + li { border-top: 1px solid var(--line); }
.profile-rows li:last-child { padding-bottom: .1rem; }
.profile-rows li > span { padding: .1rem .7rem .15rem 0; min-width: 2.4rem; border-right: 1px solid var(--gold); color: var(--gold-dark); }
.profile-rows h3 { font-size: 1.2rem; line-height: 1.2; }
.profile-rows p { color: var(--ink); font-size: 1rem; line-height: 1.4; margin-top: .15rem; }
.boxed li, .boxed li:last-child { padding: .65rem 1rem; border: 1px solid var(--line); }
.boxed li + li { margin-top: .6rem; }

@media (max-width: 48rem) {
  .shell { width: min(calc(100% - 2.5rem), 36rem); }
  .header-inner { min-height: 4.3rem; flex-wrap: wrap; gap: 0; }
  .wordmark span { font-size: 1.8rem; }
  .wordmark small { font-size: .48rem; }
  .menu-toggle:not([hidden]) { display: grid; place-items: center; width: 2.75rem; min-height: 2.75rem; padding: 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
  .menu-toggle:not([hidden])[aria-expanded="false"] + .site-nav { display: none; }
  .site-nav { flex: 0 0 100%; display: grid; gap: .15rem; align-items: stretch; padding: .4rem 0 .9rem; border-top: 1px solid var(--line); }
  .site-nav > a:not(.button) { display: flex; min-height: 2.75rem; align-items: center; }
  .site-nav > .button { margin-top: .35rem; }
  .home-hero { position: relative; isolation: isolate; background: var(--paper); }
  .home-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: clamp(12rem, 34vw, 18rem);
    background: linear-gradient(180deg, var(--paper), rgb(252 251 248 / .22) 22%, transparent 44%),
      url("maritime-hero-balanced-review.jpg") right bottom / max(100%, 33rem) auto no-repeat;
  }
  .hero-inner { padding-block: 2.25rem clamp(10.5rem, 31vw, 16rem); }
  .home-hero h1 { max-width: 13em; line-height: 1.08; }
  .desktop-break { display: none; }
  .office-map-stage { aspect-ratio: 6 / 5; }
  .about-firm-inner { grid-template-columns: 1fr; gap: .9rem; }
  .hero-summary { margin-bottom: 1.15rem; max-width: 29rem; }
  .practice-grid, .director-grid, .additional-practice-list, .office-grid { grid-template-columns: 1fr; }
  .practice, .practice:first-child, .practice:last-child { padding: 1rem 0; border-inline: 0; border-top: 1px solid var(--line); }
  .practice:first-child { padding-top: 0; border-top: 0; }
  .practice:last-child { padding-bottom: 0; }
  .practice h3 { min-height: 0; }
  .practice h3 br { display: none; }
  .practice p::before { margin-block: .55rem; }
  .contact-inner { flex-direction: column; align-items: stretch; gap: .9rem; }
  .review-note { flex-basis: 100%; text-align: start; }
  .profile-hero { grid-template-columns: 1fr; gap: 1rem; padding: .75rem 0 .95rem; }
  .profile-intro .eyebrow { margin-bottom: .35rem; }
  .profile-intro h1 { font-size: clamp(2.4rem, 9.6vw, 4rem); }
  .profile-summary { margin-bottom: 1rem; }
  .profile-intro .button { width: 100%; }
  .portrait img { aspect-ratio: 5 / 4; object-position: center 4%; }
  .portrait::before, .portrait::after { display: none; }
  .profile-nav .shell { gap: 0 1.2rem; padding-block: .1rem; }
  .profile-nav a { min-height: 2.75rem; font-size: .92rem; }
  .profile-content { padding-top: 1.25rem; }
  .profile-grid { display: block; }
  .profile-grid #overview { border: 0; padding-bottom: .85rem; }
  .profile-section > p { font-size: 1.09rem; }
  .glance { padding: .65rem 1rem; border-left: 2px solid var(--gold); background: var(--warm); color: var(--ink); }
  .glance .glance-desktop { display: none; }
  .glance h2 { display: none; }
  .glance dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .glance dl > div { border: 0; padding: 0; }
  .glance dd { line-height: 1.35; }
  .glance dl > div:nth-child(3) { color: var(--navy); }
}

@media (max-width: 29rem) {
  .home-hero .button { width: 100%; }
}
