/* Beacon Ridge — one-page site.
   Palette and rhythm are taken from the logo: graphite mark, gold beam,
   warm paper background. Everything else stays quiet on purpose. */

:root {
  --paper: #f9f8f5;          /* matches the logo artwork background */
  --paper-deep: #f1efe9;
  --ink: #23282f;            /* logo graphite */
  --ink-soft: #4a5058;
  --mist: #8a9098;
  --line: #d9d5cb;
  --gold: #b8975a;           /* logo beam */
  --gold-soft: rgba(184, 151, 90, 0.35);
  --night: #171d26;          /* footer sea */
  --night-text: #c9cdd3;

  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --body: "Manrope", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --measure: 34rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

img { max-width: 100%; height: auto; display: block; }

main { flex: 1; }

/* ---------- top bar ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--gutter);
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
}

.top__home {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.top__home img {
  width: 2.1rem;
  height: auto;
}

.top__contact {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 240ms ease, border-color 240ms ease;
}

.top__contact:hover {
  color: var(--ink);
  border-color: var(--gold);
}

/* ---------- hero ---------- */

.hero {
  text-align: center;
  padding: clamp(2rem, 8vh, 5rem) var(--gutter) clamp(1.5rem, 4vh, 2.5rem);
}

.hero__logo {
  display: block;
  margin: 0 auto;
  width: min(100%, 30rem);
  animation: settle 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__line {
  margin: clamp(1.5rem, 4vh, 2.5rem) auto 0;
  max-width: var(--measure);
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: var(--ink);
  animation: settle 1.4s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* ---------- the rule (line — ✦ — line), taken from the logo ---------- */

.rule {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(100% - 2 * var(--gutter), 22rem);
  margin: clamp(1.5rem, 4vh, 2.5rem) auto;
  color: var(--gold);
  font-size: 0.85rem;
}

.rule::before,
.rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.55;
}

.rule__star {
  position: relative;
  line-height: 1;
}

/* Signature: a faint sweep of light passing along the rule now and then,
   like the beam of the lighthouse in the mark. */
.rule::after,
.rule::before {
  position: relative;
  overflow: hidden;
}

.rule > .rule__star::after {
  content: "";
  position: absolute;
  inset: -0.6rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  opacity: 0;
  animation: glow 9s ease-in-out infinite;
}

/* ---------- about ---------- */

.about {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.about__lead {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--ink-soft);
}

.about__note {
  margin: 1.5rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
}

/* ---------- facts ---------- */

.facts {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 8vh, 5rem);
}

.facts dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.facts__item dt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.5rem;
}

.facts__item dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ink);
}

.facts__item dd a {
  border-bottom: 1px solid var(--line);
  transition: border-color 240ms ease;
}

.facts__item dd a:hover { border-color: var(--gold); }

/* ---------- footer ---------- */

.foot {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--night-text);
  text-align: center;
  padding: clamp(2.5rem, 6vh, 4rem) var(--gutter) 2rem;
}

/* The beam again, this time at night: a single still wedge of gold. */
.foot__beam {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 88deg at -2% 0%,
      transparent 0deg,
      rgba(184, 151, 90, 0.05) 3deg,
      rgba(184, 151, 90, 0.13) 7deg,
      rgba(184, 151, 90, 0.05) 11deg,
      transparent 14deg);
  pointer-events: none;
}

.foot > p { position: relative; margin: 0; }

.foot__name {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #eef0f2;
}

.foot__meta {
  margin-top: 0.75rem !important;
  max-width: 40rem;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--night-text);
}

.foot__meta + .foot__meta { margin-top: 0.35rem !important; }

.foot__meta a {
  border-bottom: 1px solid rgba(201, 205, 211, 0.3);
  transition: border-color 240ms ease;
}

.foot__meta a:hover { border-color: var(--gold); }

.foot__copy {
  margin-top: 2rem !important;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #7d848d;
}

/* ---------- motion ---------- */

@keyframes settle {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes glow {
  0%, 70%, 100% { opacity: 0; }
  80%           { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__logo,
  .hero__line { animation: none; }
  .rule > .rule__star::after { animation: none; opacity: 0.6; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- small screens ---------- */

@media (max-width: 40rem) {
  .top__home span { display: none; }
  .facts dl {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}
