:root {
  --harbor: #0f2c3d;
  --kelp: #24535a;
  --seaglass: #9dbfbc;
  --fog: #eef2f2;
  --brass: #b48a3e;
  --brass-deep: #8a6727;
  --ink: #13212b;
  --muted: #4d5d66;
  --line: #d5dfe0;
  --white: #ffffff;
  --max: 1160px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--kelp); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; color: var(--harbor); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; }
.site-header.solid { position: static; background: var(--harbor); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0.06em; line-height: 1; }
.brand-sub { display: block; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--seaglass); margin-top: 4px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-nav a { color: var(--white); text-decoration: none; font-size: 0.95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--brass); }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: var(--white); background: var(--harbor) url("/img/harbor.jpg") center 40% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,44,61,0.72) 0%, rgba(15,44,61,0.15) 38%, rgba(15,44,61,0.25) 60%, rgba(15,44,61,0.92) 100%); }
.hero .wrap { position: relative; padding-top: 160px; padding-bottom: 72px; width: 100%; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero p { font-size: 1.2rem; color: #dfe9e8; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 28px; }
.hero-actions .phone { color: var(--white); text-decoration: none; font-size: 1.05rem; }

.button { display: inline-block; background: var(--brass); color: var(--white); padding: 14px 26px; border-radius: 2px; text-decoration: none; font-weight: 600; letter-spacing: 0.01em; }
.button:hover { background: var(--brass-deep); }

/* Page heading for inner pages */
.page-head { background: var(--harbor); color: var(--white); padding: 56px 0 64px; }
.page-head h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 18ch; }
.page-head p { color: #d4e2e1; font-size: 1.15rem; margin: 0; }

/* Sections */
.section { padding: 88px 0; }
.section.tint { background: var(--fog); }
.section.dark { background: var(--harbor); color: #dfe9e8; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.intro { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.4; color: var(--harbor); max-width: 30ch; }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.wide-left { grid-template-columns: 1.3fr 1fr; } }
.photo { width: 100%; aspect-ratio: 4 / 5; max-height: 600px; object-fit: cover; border-radius: 2px; box-shadow: 18px 18px 0 var(--seaglass); }
.photo.landscape { aspect-ratio: 3 / 2; }

/* Ledger: the firm's record, set like a line in a deal book */
.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid rgba(255,255,255,0.18); }
.ledger div { padding: 26px 24px 4px 0; }
.ledger strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.6rem; color: var(--brass); line-height: 1.1; }
.ledger span { color: #c9d8d7; }

/* Reasons */
.reasons { display: grid; gap: 36px 56px; margin-top: 40px; }
@media (min-width: 760px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons div { border-top: 2px solid var(--brass); padding-top: 18px; }
.reasons p { color: var(--muted); margin: 0; }

/* Tombstones: the deal announcement card of M&A */
.tombstones { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 36px; }
.tombstone { background: var(--white); border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: -8px; padding: 34px 26px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tombstone .company { font-family: var(--serif); font-size: 1.35rem; color: var(--harbor); line-height: 1.2; }
.tombstone .place { font-size: 0.88rem; color: var(--muted); margin: 4px 0 18px; }
.tombstone .verb { font-family: var(--serif); font-style: italic; color: var(--muted); margin-bottom: 6px; }
.tombstone .buyer { font-weight: 600; color: var(--ink); font-size: 0.97rem; line-height: 1.4; }
.tombstone .value { font-family: var(--serif); font-size: 1.6rem; color: var(--brass-deep); margin-top: 18px; }
.tombstone .foot { margin-top: auto; padding-top: 18px; width: 100%; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.tombstone .foot img { width: 22px; height: 22px; display: inline-block; vertical-align: middle; margin-right: 6px; }

/* Testimonial */
.quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.35; color: var(--white); margin: 0 0 22px; font-weight: 300; }
.quote-by { color: var(--seaglass); }
.more-quotes { display: grid; gap: 32px; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.18); }
@media (min-width: 760px) { .more-quotes { grid-template-columns: 1fr 1fr; } }
.more-quotes p { font-family: var(--serif); font-size: 1.2rem; color: var(--white); margin-bottom: 8px; }
.more-quotes span { color: var(--seaglass); font-size: 0.95rem; }

/* Lists and tables */
.facts { width: 100%; border-collapse: collapse; margin: 8px 0 24px; }
.facts th, .facts td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { font-weight: 600; width: 34%; color: var(--harbor); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.ticks li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 2px; background: var(--brass); }

/* Process: a real sequence, so it is numbered */
.process { list-style: none; counter-reset: step; padding: 0; margin: 32px 0; display: grid; gap: 0; }
.process li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.process li::before { content: counter(step); font-family: var(--serif); font-size: 2rem; color: var(--brass); line-height: 1; }
.process strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--harbor); margin-bottom: 4px; }
.process span { color: var(--muted); }

/* Services */
.services { display: grid; gap: 0; margin-top: 24px; }
.service { display: grid; gap: 8px 48px; padding: 36px 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .service { grid-template-columns: 1fr 1.6fr; } }
.service h3 { margin: 0; font-size: 1.6rem; font-weight: 400; }
.service .price { display: block; margin-top: 10px; color: var(--brass-deep); font-weight: 600; font-size: 0.95rem; }
.service p { color: var(--muted); margin: 0; }

/* Team */
.team { display: grid; gap: 40px 48px; margin-top: 16px; }
@media (min-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }
.person { border-top: 2px solid var(--brass); padding-top: 20px; }
.person h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 2px; }
.person .role { color: var(--kelp); font-weight: 600; margin-bottom: 12px; }
.person p { color: var(--muted); }
.person .creds { font-size: 0.92rem; color: var(--ink); }

/* Recognition lists on About */
.three { display: grid; gap: 40px; margin-top: 16px; }
@media (min-width: 900px) { .three { grid-template-columns: repeat(3, 1fr); } }

/* Contact */
.contact-grid { display: grid; gap: 32px; margin-top: 8px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid div { border-top: 2px solid var(--brass); padding-top: 18px; }
.contact-grid p { font-size: 1.1rem; }

/* Call to action band */
.cta { background: var(--kelp); color: var(--white); padding: 72px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { color: var(--white); margin: 0; max-width: 22ch; }

/* Footer */
.site-footer { background: var(--ink); color: #aebdbf; padding: 56px 0 40px; font-size: 0.93rem; }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer a { color: #dfe9e8; }
.site-footer h3 { color: var(--white); font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.site-footer .notice { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; color: #8b9c9f; }
