/* site.css v0.1.5 - American Management Group site */
:root {
  --ink: #1d2733;
  --muted: #566372;
  --brand: #14506f;
  --brand-dark: #0d3a52;
  --brand-tint: #eaf2f7;
  --rule: #dbe3ea;
  --bg: #ffffff;
  --alt: #f5f8fa;
  --accent: #b3261e;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid #1b8fd0; outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.site-header { border-bottom: 1px solid var(--rule); background: #fff; position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand-dark); }
.logo { height: 40px; width: auto; }
.brand-text { font-weight: 700; letter-spacing: .06em; font-size: 1.05rem; text-transform: uppercase; }
.call-link { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.call-link:hover { color: var(--brand); }
.site-nav { background: var(--alt); border-top: 1px solid var(--rule); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; }
.site-nav a { display: block; padding: 11px 14px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }

/* hero + banner */
.hero, .banner { position: relative; overflow: hidden; background: #14323f; color: #fff; }
.hero { min-height: min(68vh, 560px); display: flex; align-items: center; }
.banner { min-height: 240px; display: flex; align-items: center; }
.hero-img, .banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero picture, .banner picture { position: absolute; inset: 0; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,28,40,.55), rgba(8,28,40,.7)); }
.hero-inner, .banner-inner { position: relative; z-index: 1; text-align: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1, .banner h1 { margin: 0 0 12px; font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.tagline { font-size: 1.2rem; margin: 0 0 28px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .04em; padding: 14px 28px; border-radius: 3px; }
.btn:hover { background: #8f1d17; color: #fff; }

/* sections */
.section { padding: 56px 0; }
.section.alt { background: var(--alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.page-head { background: var(--brand); color: #fff; padding: 40px 0; }
.page-head h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.4rem); text-transform: uppercase; letter-spacing: .05em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.25; margin: 0 0 18px; color: var(--brand-dark); }
h3 { font-size: 1.2rem; margin: 0 0 8px; color: var(--ink); }
.center { text-align: center; }
.note { color: var(--muted); margin-top: -8px; }
.wrap.prose { max-width: var(--max); }
.prose > * { max-width: 800px; }
.prose > .table-wrap { max-width: none; }
.prose h2:not(:first-child) { margin-top: 44px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 4px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 28px; }
.card { background: var(--alt); border: 1px solid var(--rule); border-radius: 6px; padding: 24px; }
.card p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.figure-card { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 16px; }
.phone-big { font-size: 1.6rem; font-weight: 700; text-decoration: none; }

/* galleries */
.gallery h2 .status { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--alt); }
.thumb picture, .thumb img { width: 100%; height: 100%; }
.thumb img { object-fit: cover; transition: transform .25s ease; }
.thumb:hover img { transform: scale(1.04); }
.gallery + .gallery { border-top: 1px solid var(--rule); }

/* legal documents */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.doc { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 12px; }
.doc figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }

/* faq + tables */
details { border: 1px solid var(--rule); border-radius: 6px; padding: 14px 18px; background: #fff; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 12px 0 0; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 0 0 12px; border: 1px solid var(--rule); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { background: var(--brand-tint); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-dark); }
tbody tr:last-child td { border-bottom: 0; }

/* footer */
.site-footer { background: var(--ink); color: #c9d2db; padding: 28px 0 36px; font-size: .88rem; }
.site-footer p { margin: 0 0 6px; }

/* lightbox */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lb::backdrop { background: rgba(5,12,18,.92); }
.lb-inner { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; gap: 10px; }
.lb img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 3px; background: #fff0; }
.lb-cap { color: #e6edf3; font-size: .95rem; text-align: center; min-height: 1.4em; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb .lb-close { top: 14px; right: 14px; }
.lb .lb-prev { left: 12px; top: 50%; }
.lb .lb-next { right: 12px; top: 50%; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand { gap: 9px; }
  .logo { height: 34px; }
  .brand-text { font-size: .68rem; line-height: 1.25; letter-spacing: .04em; }
  .call-link { font-size: .95rem; }
  .site-nav ul { gap: 0 2px; }
  .split { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav a { padding: 8px 8px; font-size: .66rem; letter-spacing: .08em; }
  table { font-size: .85rem; }
  th, td { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .thumb img { transition: none; } }
