/* Bridgehead Hospitality — shared stylesheet */

:root {
  --bg: #F6F4EE;
  --bg-alt: #EFEBE1;
  --ink: #111110;
  --ink-2: #2B2925;
  --muted: #6F6B62;
  --rule: #D9D3C4;
  --rule-soft: #E8E3D5;
  --accent: oklch(0.38 0.09 250);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max: 1320px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a.link {
  border-bottom: 1px solid var(--ink);
  transition: color .15s ease, border-color .15s ease;
}
a.link:hover { color: var(--accent); border-color: var(--accent); }

::selection { background: var(--ink); color: var(--bg); }

/* Layout primitives */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule-soft { border: 0; border-top: 1px solid var(--rule-soft); margin: 0; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.wordmark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wordmark span.light { font-weight: 400; color: var(--ink-2); }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-2);
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

/* Section scaffolding */
section {
  padding: 88px 0;
  border-bottom: 1px solid var(--rule);
}
section.tight { padding: 56px 0; }

.sec-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  margin-bottom: 56px;
  align-items: baseline;
}
.sec-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Typography */
.display {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
}
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 56ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  transition: background .15s ease, color .15s ease;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn .arrow { display: inline-block; transform: translateX(0); transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Footer */
footer {
  padding: 64px 0 32px;
  background: var(--ink);
  color: var(--bg);
}
footer .wrap { color: var(--bg); }
footer a { color: var(--bg); }
footer a.link { border-color: var(--bg); }
footer a.link:hover { color: #cfc8b3; border-color: #cfc8b3; }
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2b2925;
}
.foot-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #a8a293;
  font-weight: 400;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8a293;
}
.foot-mark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(80px, 18vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #1d1b18;
  padding-top: 48px;
  white-space: nowrap;
  overflow: hidden;
  border-top: 1px solid #2b2925;
  margin-top: 32px;
}

/* Utility */
.col-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.col-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.col-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* Mobile hamburger menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.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);
}

@media (max-width: 900px) {
  .wrap, .nav-inner { padding-left: 24px; padding-right: 24px; }
  .col-2, .col-3, .col-4 { grid-template-columns: 1fr; gap: 32px; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  section { padding: 64px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    font-size: 24px;
    z-index: 55;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--ink); }
  .nav-links .nav-cta {
    font-size: 14px;
    padding: 14px 28px;
  }
}
