/* Familie Botha — bothas.nl */

:root {
  --bg: #f3eee4;
  --bg-soft: #efe8dc;
  --ink: #2b2824;
  --ink-muted: #6a645c;
  --accent: #5e6b47;
  --accent-hover: #4a5538;
  --gold: #9a7b3c;
  --rule: #d2c6b2;
  --focus: #5e6b47;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 222, 200, 0.9), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 0.85rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  border-radius: 2px;
}

.skip-link:focus {
  top: 1rem;
}

.page {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.35rem 0 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.15rem 0 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-name {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 1.6rem;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--ink);
}

/* Hero */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2.25rem, 6.5vh, 4.5rem) 0 clamp(1.5rem, 3.8vh, 2.75rem);
}

.crest {
  width: 82px;
  height: 82px;
  margin-bottom: 1.45rem;
}

.hero h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.85rem, 8vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.hero-rule {
  width: 48px;
  height: 1px;
  margin: 1.1rem auto 1rem;
  background: var(--gold);
  border: 0;
}

.hero .lede {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.landscape {
  width: min(720px, 100%);
  height: auto;
  margin-top: clamp(1.6rem, 4vh, 2.6rem);
  color: var(--accent);
  opacity: 0.85;
}

/* Sections */

.sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  margin-top: 0.5rem;
}

.panel {
  padding: clamp(1.85rem, 3.6vw, 2.6rem) clamp(1.5rem, 4vw, 3.25rem);
}

.panel + .panel {
  border-left: 1px solid var(--rule);
}

.panel h2 {
  margin: 0 0 1.05rem;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel p {
  margin: 0;
  max-width: 32rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-link {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Footer */

.site-footer {
  padding: 1.35rem 0 1.6rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0;
}

/* Responsive */

@media (max-width: 700px) {
  .page {
    width: min(1080px, calc(100% - 2rem));
    padding-top: 1.25rem;
  }

  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding-bottom: 0.5rem;
  }

  .hero {
    padding: 2.35rem 0 1.6rem;
  }

  .crest {
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
  }

  .sections {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 1.75rem 0.15rem;
    text-align: center;
  }

  .panel p {
    margin-inline: auto;
  }

  .panel + .panel {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 1.85rem;
  }

  .site-footer {
    padding: 1.25rem 0 1.6rem;
  }
}

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

  a {
    transition: none;
  }
}
