@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Outfit:wght@300&family=Cinzel:wght@400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --ivory: #f1e8dc;
  --muted-ivory: #e4d9cd;
  --warm-accent: #d7a18b;
  --deep: #171b20;
}
* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body { background: var(--deep); color: var(--ivory); }
.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #20252a;
}
.hero-image, .shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  z-index: -2;
  background-image: url('assets/lighthouse-background-v2.jpg');
  background-size: cover;
  background-position: center 49%;
  transform: scale(1.005);
}
.shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,19,25,.45) 0%, rgba(16,20,25,.26) 43%, rgba(20,21,25,.08) 100%),
    linear-gradient(0deg, rgba(10,14,18,.58) 0%, rgba(10,14,18,.04) 45%, rgba(10,14,18,.18) 100%);
}
.brand {
  position: absolute;
  top: clamp(30px, 5.5vh, 66px);
  left: clamp(28px, 6.4vw, 110px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}
.brand-mark {
  display: block;
  width: clamp(44px, 5vw, 70px);
  height: clamp(66px, 7.3vw, 96px);
  object-fit: contain;
}
.brand-copy { padding-top: 2px; }
.brand-name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(24px, 2.55vw, 39px);
  font-weight: 400;
  letter-spacing: .25em;
  line-height: 1.3;
  white-space: nowrap;
}
.brand-subtitle {
  margin-top: 9px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(9px, .82vw, 12px);
  font-weight: 400;
  letter-spacing: .22em;
  line-height: 1.6;
  white-space: nowrap;
  color: var(--muted-ivory);
}
.intro {
  position: absolute;
  top: 48%;
  left: clamp(300px, 36vw, 620px);
  max-width: min(620px, 57vw);
  transform: translateY(-2%);
}
.rule { width: 54px; height: 1px; background: var(--ivory); margin-bottom: 27px; }
h1 {
  margin: 0;
  font-family: 'Outfit', 'DM Sans', Arial, sans-serif;
  font-size: clamp(27px, 2.55vw, 42px);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -.01em;
  line-height: 1.42;
  color: var(--ivory);
  text-shadow: 0 1px 18px rgba(0,0,0,.12);
}
.contact { margin-top: clamp(31px, 4vh, 48px); }
.location {
  margin: 0 0 14px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .24em;
  color: var(--muted-ivory);
}
.contact a {
  color: var(--ivory);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}
.contact a:hover { border-color: var(--warm-accent); color: #fff5e8; }
.footer {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .18em;
  color: rgba(241,232,220,.68);
}
@media (min-aspect-ratio: 19/10) {
  .hero-image { background-position: center 47%; }
}
@media (max-width: 760px) {
  .hero { min-height: 100svh; }
  .hero-image { background-position: 34% center; }
  .shade {
    background:
      linear-gradient(90deg, rgba(13,19,25,.42), rgba(16,20,25,.18)),
      linear-gradient(0deg, rgba(10,14,18,.76) 0%, rgba(10,14,18,.12) 72%, rgba(10,14,18,.22) 100%);
  }
  .brand { top: 28px; left: 22px; gap: 13px; }
  .brand-mark { width: 38px; height: 58px; }
  .brand-name { font-size: clamp(19px, 5.2vw, 27px); letter-spacing: .18em; }
  .brand-subtitle { font-size: 8px; letter-spacing: .11em; margin-top: 6px; }
  .intro {
    top: auto;
    bottom: 14%;
    left: 24px;
    right: 20px;
    max-width: 540px;
    transform: none;
  }
  .rule { margin-bottom: 20px; width: 42px; }
  h1 { font-size: clamp(25px, 6.4vw, 36px); line-height: 1.45; }
  .contact { margin-top: 27px; }
  .location { font-size: 9px; letter-spacing: .19em; }
  .contact a { font-size: 13px; }
  .footer { bottom: 16px; font-size: 8px; letter-spacing: .12em; }
}
@media (max-width: 390px) {
  .brand-subtitle { white-space: normal; max-width: 220px; }
  .intro { bottom: 12%; }
}
