:root {
  --bg-base: #0e1416;
  --bg-overlay: rgba(14, 20, 22, 0.75);
  --panel-bg: rgba(14, 20, 22, 0.65);
  --accent: #d2a24e;
  --accent-soft: rgba(210, 162, 78, 0.35);
  --text-main: #efe6d4;
  --text-muted: #d2d8d9;
  --text-small: #cfc7b0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--text-main);
  text-align: center;
  background: linear-gradient(var(--bg-overlay), var(--bg-overlay)),
    url("assets/bh-heritage-maintenance.jpg") center/cover no-repeat fixed;
  background-color: var(--bg-base);
}

main {
  width: 100%;
  display: flex;
  justify-content: center;
}

.box {
  background: var(--panel-bg);
  padding: 32px 28px;
  border: 1px solid var(--accent-soft);
  border-radius: 14px;
  max-width: 760px;
  width: 100%;
  backdrop-filter: blur(3px);
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  margin: 0 0 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tagline {
  margin: 0 0 16px;
  font-size: 1.1rem;
  color: var(--text-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  font-size: 1.25rem;
  margin: 0 0 6px;
}

p {
  font-size: 1.1rem;
  margin: 0 0 22px;
  color: var(--text-muted);
}

.small {
  font-size: 0.9rem;
  color: var(--text-small);
}

.contact-line {
  margin-top: 26px;
}

/* Gradient divider */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(210, 162, 78, 0.55),
    transparent
  );
  margin: 18px 0 24px;
}

/* Base link styling */
a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease,
    background-color 0.2s ease;
}

a:hover {
  border-color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-color: transparent;
}

/* Button-style links */
.actions {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: none; /* override base link underline */
}

.btn:hover {
  border-color: var(--accent);
}

/* Primary (directory) button */
.btn-primary {
  background: var(--accent);
  color: #0e1416;
}

.btn-primary:hover {
  background: #e0b76a;
}

/* Outline (interest) button */
.btn-outline {
  background: transparent;
}

/* Directory layout */
.directory {
  margin-top: 10px;
  text-align: left;
}

.directory-item {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(210, 162, 78, 0.18);
  background: rgba(14, 20, 22, 0.55);
}

.directory-item:last-of-type {
  margin-bottom: 0;
}

/* Responsive tweaks */
@media (min-width: 700px) {
  .box {
    padding: 36px 32px;
  }

  .directory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    text-align: left;
  }

  .directory-item {
    margin-bottom: 0;
  }
}

@media (min-width: 600px) {
  .actions {
    flex-direction: row;
    justify-content: center;
  }

  .actions .btn {
    min-width: 230px;
  }
}

@media (max-width: 480px) {
  .box {
    padding: 24px 18px;
  }

  p {
    font-size: 1rem;
  }

  .small {
    font-size: 0.85rem;
  }
}
