/* Bay Way company site — November 23, 2026 */
:root {
  --ink: #10262c;
  --navy: #0b1f25;
  --sea: #1e4a52;
  --copper: #9a6b3c;
  --copper-dark: #7a522c;
  --cream: #f7f3eb;
  --sand: #eadcc6;
  --paper: #fffdf8;
  --text: #1c2e34;
  --muted: #4e646b;
  --line: rgba(16, 38, 44, 0.14);
  --max: 68rem;
  --prose: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--sea);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--copper-dark);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy);
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
  font-size: 0.92rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--copper-dark);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.hero {
  padding: 4.25rem 0 3.25rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}

.eyebrow {
  display: inline-block;
  color: var(--copper-dark);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 1rem;
}

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  max-width: 16ch;
  margin: 0 0 1.15rem;
}

.lede {
  font-size: 1.2rem;
  max-width: 38rem;
  color: var(--muted);
  margin: 0;
}

.section {
  padding: 3.25rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: 1.65rem;
  margin: 0 0 1rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: 1.5rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  padding: 1.35rem 1.4rem 1.45rem;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.contact-block {
  display: grid;
  gap: 0.35rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: 1.25rem;
}

.contact-block dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.contact-block dd {
  margin: 0 0 1rem;
}

address {
  font-style: normal;
}

.legal {
  padding: 3rem 0 4rem;
}

.legal-header {
  max-width: var(--prose);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.65rem;
}

.effective {
  color: var(--muted);
  margin: 0;
}

.prose {
  max-width: var(--prose);
}

.prose h2 {
  font-size: 1.3rem;
  margin: 2.1rem 0 0.65rem;
}

.prose h3 {
  font-size: 1.08rem;
  margin: 1.4rem 0 0.4rem;
}

.prose p,
.prose ul {
  margin: 0 0 1rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin: 0.25rem 0;
}

.site-footer {
  background: var(--navy);
  color: #d5ddd8;
  padding: 2.25rem 0 2rem;
  font-size: 0.92rem;
}

.site-footer a {
  color: #f0e6d4;
}

.site-footer .wrap {
  display: grid;
  gap: 1.25rem;
}

.footer-legal {
  margin: 0;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-meta {
  color: #9aadaf;
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0 1.1rem;
  }

  .hero {
    padding: 2.6rem 0 2.2rem;
  }

  .wrap {
    width: min(var(--max), calc(100% - 1.6rem));
  }
}
