:root {
  --color-navy: #152346;
  --color-navy-dark: #152245;
  --color-steel: #4585A1;
  --color-steel-soft: #4585A0;
  --color-pale-blue: #B7D5E0;
  --color-cyan: #72A6B7;
  --color-bg: #E2E2E2;
  --color-sidebar-h2-bg: #E3E3E3;
  --color-text: #313131;
  --color-text-muted: #707070;
  --color-photo-border: #DADADA;
  --color-photo-shadow: rgba(84, 142, 168, 0.85);
  --container-width: 1024px;
  --sidebar-width: 284px;
  --content-width: 586px;
  --side-gutter: 50px;
  --nav-height: 59px;
  --header-height-home: 342px;
  --header-height-interior: 144px;
  --font-serif: "Georgia", "Times New Roman", serif;
  --font-sans: "Tahoma", "Verdana", "Helvetica", sans-serif;
  --font-display: "Trajan Pro", "Cinzel", "Georgia", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--color-bg);
  font-family: var(--font-serif);
  color: var(--color-text);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-steel); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: normal; }
ul, ol, p { margin: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.main_container {
  width: 100%;
  margin: 0;
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* ===== Header ===== */
.site-header {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.10) 100%),
    var(--color-steel);
  position: relative;
  overflow: hidden;
}
.site-header__inner {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: var(--container-width);
}
.site-header--home { height: var(--header-height-home); }
.site-header--home .site-header__inner { height: var(--header-height-home); }
.site-header--interior { height: var(--header-height-interior); }
.site-header--interior .site-header__inner { height: var(--header-height-interior); }

.site-header__logo {
  position: absolute;
  top: 13px; left: 80px;
  z-index: 2;
}
.site-header__logo img {
  width: 511px;
  max-width: 100%;
  height: auto;
}

.site-header__contact {
  position: absolute;
  top: 32px; right: 54px;
  width: 264px;
  z-index: 3;
}
.site-header__contact-label {
  background-color: rgba(255,255,255,0.46);
  height: 50px;
}
.site-header__contact-label h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 50px;
  color: #02304B;
  margin: 0;
}
.site-header__phone {
  height: 50px;
  text-align: right;
  padding-right: 20px;
  line-height: 50px;
}
.site-header__phone a {
  font-family: var(--font-display);
  font-size: 17px;
  color: #ffffff;
}
.site-header__phone a:hover { color: var(--color-pale-blue); text-decoration: none; }

.site-header__photo {
  position: absolute;
  top: 86px; left: 13px;
  width: 647px;
  height: 258px;
  background-color: #ffffff;
  border: 1px solid var(--color-photo-border);
  box-shadow: 4px 4px 5px var(--color-photo-shadow);
  text-align: center;
  z-index: 2;
}
.site-header__photo img {
  width: 617px;
  height: 239px;
  margin: 9px auto 0;
  border: 1px solid var(--color-photo-border);
}

.site-header__tagline {
  position: absolute;
  top: 200px; right: 0;
  width: 376px;
  z-index: 1;
}
.site-header__tagline-top {
  background-color: var(--color-steel-soft);
  height: 31px;
}
.site-header__tagline-top h2 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  text-align: left;
  line-height: 31px;
  color: #ffffff;
  padding-left: 30px;
  text-shadow: 3px 2px 4px #3B7385;
}
.site-header__tagline-bottom {
  background-color: rgba(255,255,255,0.57);
  height: 26px;
  width: 356px;
}
.site-header__tagline-bottom h2 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  text-align: left;
  line-height: 24px;
  color: #222222;
  padding-left: 45px;
  text-shadow: 3px 2px 4px #83A6AD;
}
.site-header__tagline-bottom h2 span {
  color: #21576F;
}

/* ===== Nav ===== */
.navi {
  width: 100%;
  height: var(--nav-height);
  background:
    linear-gradient(180deg, #1d2c52 0%, #0e1937 100%);
  position: relative;
  border-top: 1px solid #1c2c54;
  border-bottom: 1px solid #0a1531;
}
.navi__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}
.navi__item {
  position: relative;
}
.navi__link {
  display: inline-block;
  padding: 0 22px;
  line-height: var(--nav-height);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.navi__link:hover, .navi__link.is-active {
  color: var(--color-pale-blue);
  text-decoration: none;
}
.navi__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-navy);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 220px;
  z-index: 50;
  display: none;
  border: 1px solid #0a1531;
  box-shadow: 0 4px 8px rgba(0,0,0,0.35);
}
.navi__item--has-children:hover > .navi__submenu,
.navi__item--has-children:focus-within > .navi__submenu,
.navi__item--has-children.is-open > .navi__submenu {
  display: block;
}
.navi__sublink {
  display: block;
  padding: 8px 18px;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 14px;
  white-space: nowrap;
}
.navi__sublink:hover, .navi__sublink.is-active {
  background-color: #1d2c52;
  color: var(--color-pale-blue);
  text-decoration: none;
}

.navi__toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid #ffffff55;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.navi__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
}
.navi__toggle-label {
  display: none;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: bold;
  text-transform: uppercase;
}

/* ===== Wrapper / Sidebar / Content ===== */
.wrapper {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  background-color: transparent;
  display: flex;
  align-items: flex-start;
  gap: 54px;
  padding: 30px var(--side-gutter);
  position: relative;
  box-sizing: border-box;
}
.sidebar {
  width: var(--sidebar-width);
  flex: 0 0 var(--sidebar-width);
  margin: 0;
}
.content {
  width: var(--content-width);
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}
.wrapper--no-sidebar .content { flex-basis: 100%; width: 100%; }

.sidebar__widget + .sidebar__widget { margin-top: 28px; }
.sidebar h2 {
  background-color: var(--color-sidebar-h2-bg);
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  line-height: 45px;
  color: var(--color-text-muted);
  text-indent: 14px;
  margin: 0 0 12px 0;
  position: relative;
}
.sidebar h2::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 30px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(183,213,224,0.6));
}
.sidebar ul {
  list-style: none;
  margin: 0 14px 16px 14px;
  padding: 0;
}
.sidebar ul li {
  border-bottom: 1px solid #BCBCBC;
  background: transparent;
  padding: 0;
}
.sidebar ul li::before {
  content: "■";
  color: var(--color-steel);
  font-size: 9px;
  display: inline-block;
  width: 18px;
  text-align: center;
  vertical-align: middle;
}
.sidebar ul li a {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 26px;
  color: #323232;
  text-decoration: none;
}
.sidebar ul li a:hover { color: var(--color-steel); text-decoration: none; }
.sidebar p {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-text);
  padding: 4px 14px;
  line-height: 1.5;
}
.sidebar p a { color: var(--color-steel); }

/* ===== Content (entry) ===== */
.entry h2 {
  background-color: var(--color-pale-blue);
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  line-height: 45px;
  color: var(--color-navy);
  text-indent: 18px;
  margin: 18px 0;
  position: relative;
}
.entry h2::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 30px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6));
}
.entry h2:first-child { margin-top: 0; }
.entry h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-navy);
  font-weight: bold;
  margin: 18px 0 6px;
}
.entry h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-navy);
  font-weight: bold;
  font-style: italic;
  margin: 14px 0 6px;
}
.entry p {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--color-text);
  text-align: justify;
  margin: 0 0 12px;
  line-height: 1.55;
}
.entry ul, .entry ol {
  margin: 0 0 14px 22px;
  padding: 0;
}
.entry ul li, .entry ol li {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 4px;
}
.entry ul li { list-style: disc; }
.entry ol li { list-style: decimal; }
.entry blockquote {
  margin: 0 0 14px 18px;
  padding: 6px 0 6px 14px;
  border-left: 3px solid var(--color-pale-blue);
  color: #444;
  font-style: italic;
}
.entry img.alignright { float: right; margin: 0 0 12px 14px; }
.entry img.alignleft { float: left; margin: 0 14px 12px 0; }
.entry img.aligncenter { display: block; margin: 12px auto; }
.entry .map-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 12px 0;
  background: #eee;
}
.entry .map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Awards row (home) ===== */
.awards {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 8px;
  padding: 8px 0;
}
.awards__item img {
  display: block;
  width: auto;
  max-height: 96px;
}

/* ===== Footer ===== */
.site-footer {
  width: 100%;
  margin: 0;
}
.site-footer__copyright {
  background-color: var(--color-cyan);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12px;
  color: #ffffff;
  line-height: 27px;
  height: 27px;
  width: 100%;
}
.site-footer__strip {
  background-color: var(--color-navy);
  height: 55px;
  width: 100%;
}

/* ===== Mobile tap-to-call (only on phones) ===== */
.tap-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background-color: var(--color-navy);
  color: #ffffff;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: bold;
  line-height: 48px;
  height: 48px;
  z-index: 100;
  border-top: 2px solid var(--color-steel);
}
.tap-bar:hover { color: var(--color-pale-blue); text-decoration: none; }

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  /* Pin the nav to the top of the viewport on mobile so it doesn't appear
     floating between header photo and body. */
  body { padding-top: 52px; }
  .navi {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
  }

  /* Headers collapse to a normal stack on mobile/tablet. */
  .site-header--home, .site-header--interior { height: auto; }
  .site-header__inner { height: auto; padding: 18px 14px; }
  .site-header__logo,
  .site-header__contact,
  .site-header__photo,
  .site-header__tagline {
    position: static;
    width: 100%;
    margin: 0 auto;
  }
  .site-header__logo {
    text-align: center;
    margin-bottom: 12px;
  }
  .site-header__logo img {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }
  .site-header__contact {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 14px;
  }
  .site-header__photo {
    width: 100%;
    max-width: 540px;
    height: auto;
    box-shadow: 4px 4px 8px var(--color-photo-shadow);
    margin: 0 auto 16px;
    padding: 9px;
  }
  .site-header__photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
  }
  .site-header__tagline { margin: 0 auto; max-width: 540px; }
  .site-header__tagline-bottom { width: 100%; }

  /* Nav becomes a hamburger drawer */
  .navi {
    height: auto;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
    background: var(--color-navy);
    border-top: 0;
    border-bottom: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  }
  .navi__toggle {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    position: static;
    transform: none;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.06);
  }
  .navi__toggle-bars {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
  }
  .navi__toggle-label { display: inline; }
  .navi__list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 12px 0;
    width: 100%;
    flex-basis: 100%;
    margin: 0;
  }
  .navi.is-open {
    flex-wrap: wrap;
  }
  .navi.is-open .navi__list {
    display: flex;
    background: var(--color-navy);
    border-top: 1px solid #1d2c52;
    padding: 0;
    max-height: calc(100vh - 52px);
    overflow-y: auto;
  }
  .navi__item {
    width: 100%;
    border-bottom: 1px solid #1d2c52;
  }
  .navi__item:last-child { border-bottom: 0; }
  .navi__link {
    display: block;
    padding: 12px 22px;
    line-height: 1.4;
  }
  .navi__submenu {
    position: static;
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 22px;
  }
  .navi__sublink { padding: 6px 18px; font-size: 13px; }

  /* Wrapper stacks */
  .wrapper {
    flex-direction: column;
    gap: 28px;
    padding: 18px;
  }
  .sidebar, .content {
    width: 100%;
    flex: 1 1 auto;
    margin: 0;
  }
  .sidebar { order: 2; }
  .content { order: 1; }

  /* Mobile tap bar */
  .tap-bar { display: block; }
  body { padding-bottom: 48px; padding-top: 52px; }
}

@media (max-width: 600px) {
  .awards {
    flex-direction: column;
    gap: 14px;
  }
}
