/* thehorizonfisher static site styles */

:root {
  color-scheme: light;
  --ink: #182027;
  --muted: #586575;
  --paper: #f7f3ec;
  --mist: rgba(255, 255, 255, 0.64);
  --line: rgba(24, 32, 39, 0.16);
  --teal: #0f766e;
  --coral: #b8543a;
  --gold: #c8942f;
  --shadow: 0 18px 60px rgba(24, 32, 39, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(247, 243, 236, 0.76), rgba(247, 243, 236, 1) 62%),
    #d8eef0;
  letter-spacing: 0;
}

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

.horizon-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  font-weight: 800;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--mist);
  backdrop-filter: blur(18px);
}

.nav a {
  min-width: 72px;
  padding: 10px 12px;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  outline: none;
}

.hero {
  min-height: calc(100vh - 140px);
  display: grid;
  align-content: center;
  padding: 80px 0 120px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  max-width: 780px;
}

h1 {
  margin: 0;
  font-size: clamp(3.8rem, 13vw, 9.8rem);
  line-height: 0.86;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-copy {
  margin: 28px 0 0;
  color: #34404c;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.button.primary {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.content-band,
.link-grid {
  margin: 0 0 28px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.content-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 40px;
}

.section-heading {
  display: grid;
  gap: 10px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.link-grid .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.link-card {
  display: grid;
  min-height: 180px;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 38px rgba(24, 32, 39, 0.08);
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid rgba(15, 118, 110, 0.22);
}

.link-card span {
  color: var(--gold);
  font-weight: 900;
}

.link-card strong {
  font-size: 1.45rem;
}

.link-card small {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact {
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 42px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .nav a {
    flex: 1;
  }

  .hero {
    min-height: auto;
    padding: 82px 0 86px;
  }

  .content-band,
  .link-grid {
    grid-template-columns: 1fr;
    padding: 48px 0;
  }

  .link-card {
    min-height: 148px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .link-card:hover,
  .link-card:focus-visible {
    transform: none;
  }
}
