/* =====================================================
   layout.css — Topbar, header/nav, footer
   ===================================================== */

/* ======================================================
   TOP BAR
   ====================================================== */
.topbar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .75);
  font-size: .78rem;
  padding: .5rem 0;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar a {
  color: inherit;
  transition: color var(--transition);
}

.topbar a:hover {
  color: var(--gold-light);
}

.topbar-social {
  margin-left: auto;
  display: flex;
  gap: .75rem;
  align-items: center;
}

.topbar-social a {
  display: flex;
  align-items: center;
}

.topbar-social svg {
  width: 14px;
  height: 14px;
}

/* ======================================================
   HEADER / NAV
   ====================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  letter-spacing: .05em;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
}

.logo-location {
  font-size: .7rem;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: .25rem;
  align-items: center;
}

.main-nav a {
  color: rgba(255, 255, 255, .82);
  font-size: .875rem;
  font-weight: 500;
  padding: .5rem .9rem;
  border-radius: 4px;
  transition: all var(--transition);
  letter-spacing: .02em;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ======================================================
   FOOTER
   ====================================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .7);
}

.footer-inner {
  padding-top: 4rem;
  padding-bottom: 3rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-logo-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  height: 80px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-mark--footer {
  width: 52px;
  height: 52px;
  font-size: 1rem;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: .25rem;
  justify-content: center;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-col a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.25rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, .5);
}

.footer-bottom a:hover {
  color: var(--gold);
}

.back-to-top {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .45);
  transition: color var(--transition);
}

.back-to-top:hover {
  color: var(--gold);
}

/* Give the footer a more editorial, left-anchored composition on wide screens. */
@media (min-width: 901px) {
  .footer-brand {
    align-items: flex-start;
    text-align: left;
  }

  .footer-social {
    justify-content: flex-start;
  }
}