/* Horizon Build – base: tokens, type, header, footer */
:root {
  --green: #2F4538;
  --green-2: #3F5A4A;
  --stone: #E8E8E4;
  --black: #151515;
  --white: #FFFFFF;
  --muted: #5F625E;
  --line: #CFCFC9;
  --display: "Reem Kufi", "Rubik", sans-serif;
  --text: "Rubik", "Segoe UI", Tahoma, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--text); font-size: 1rem; line-height: 1.8; color: var(--black); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -50px; right: 1rem; background: var(--black); color: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { top: .5rem; }
:focus-visible { outline: 3px solid #C9A227; outline-offset: 3px; }

/* header over the opening photo */
.top { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 1.3rem var(--pad); color: var(--black); border-bottom: 1px solid var(--line); }
.word { color: var(--black); text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.word span { font-family: "Rubik", sans-serif; font-weight: 500; font-size: 1.15rem; letter-spacing: .18em; }
.word b { font-weight: 700; margin-inline-start: .35em; }
.word small { font-size: .78rem; opacity: .85; }
.top__nav { display: flex; gap: 2.2rem; }
.top__nav a { color: var(--black); text-decoration: none; font-size: .95rem; padding-bottom: .2rem; border-bottom: 1px solid transparent; }
.top__nav a:hover { border-color: var(--black); }
.top__menu { display: none; font: inherit; color: var(--black); background: transparent; border: 1px solid var(--black); padding: 0 1rem; min-height: 44px; cursor: pointer; }

/* footer */
.foot { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.5rem var(--pad); background: var(--black); color: #A6A8A3; font-size: .8rem; }
.foot span:first-child { color: #fff; letter-spacing: .18em; }

@media (max-width: 760px) {
  .top__menu { display: block; }
  .top__nav { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0; background: var(--black); padding: .5rem var(--pad) 1rem; }
  .top__nav.is-open { display: flex; }
  .top__nav a { padding: .8rem 0; border-bottom: 1px solid #333; color: #fff; }
}
