@font-face {
  font-family: "Arizonia";
  src: url("assets/arizonia.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --sand: #eee8d8;
  --paper: #fbf6ea;
  --linen: #efe3d0;
  --coffee: #4a231d;
  --cocoa: #6d3e27;
  --pine: #1f4d46;
  --terracotta: #a75138;
  --ink: #182133;
  --speckle: rgba(74, 35, 29, 0.18);
  --shadow: 0 24px 70px rgba(74, 35, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--coffee);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 22%, var(--speckle) 0 1.5px, transparent 2px),
    radial-gradient(circle at 72% 18%, rgba(74, 35, 29, 0.12) 0 4px, transparent 5px),
    radial-gradient(circle at 38% 68%, rgba(74, 35, 29, 0.11) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 78%, rgba(74, 35, 29, 0.1) 0 2px, transparent 3px),
    linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08)),
    var(--sand);
  background-size: 138px 138px, 220px 220px, 96px 96px, 170px 170px, auto, auto;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(74, 35, 29, 0.16);
  border-color: transparent rgba(74, 35, 29, 0.16) rgba(74, 35, 29, 0.16) transparent;
  border-radius: 50%;
  pointer-events: none;
}

body::before {
  top: 92px;
  left: -132px;
  transform: rotate(24deg);
}

body::after {
  right: -122px;
  bottom: 80px;
  transform: rotate(-28deg);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 250, 243, 0.8);
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(46, 12, 2, 0.14);
  border-radius: 999px;
  background: rgba(251, 246, 234, 0.7);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--coffee);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--paper);
}

main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 4vw, 38px);
  min-height: auto;
  padding: 38px 0 70px;
  text-align: center;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  color: var(--coffee);
  font-family: Arizonia, Georgia, "Times New Roman", serif;
  font-size: clamp(4.7rem, 10vw, 8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.tagline {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(46, 12, 2, 0.82);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.hero-actions,
.link-list {
  display: grid;
  gap: 12px;
}

.hero-actions {
  grid-template-columns: repeat(2, minmax(0, 230px));
}

.button,
.link-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.link-list a:hover {
  transform: translateY(-2px);
}

.button img,
.link-list img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}

.button-primary {
  background: var(--pine);
  color: white;
  box-shadow: 0 16px 34px rgba(31, 77, 70, 0.22);
}

.button-secondary {
  border: 1px solid rgba(46, 12, 2, 0.16);
  background: var(--paper);
  color: var(--coffee);
}

.video-panel {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(46, 12, 2, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.76);
  box-shadow: var(--shadow);
}

.video-panel::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border-radius: 8px;
  background: var(--terracotta);
}

.video-panel video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  background: var(--ink);
  object-fit: cover;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 32px;
  margin: 10px 0 28px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(46, 12, 2, 0.12);
}

.intro-content h2,
.links-section h2 {
  margin-bottom: 14px;
  color: var(--coffee);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro-content p,
.features p,
.signature-card p,
.site-footer p {
  color: rgba(46, 12, 2, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.signature-card {
  padding: 22px;
  border: 1px solid rgba(109, 62, 39, 0.18);
  border-radius: 8px;
  background: var(--linen);
}

.signature-card img {
  width: 128px;
  height: 128px;
  margin-bottom: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.features article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 243, 0.5);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.58);
}

.features span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--terracotta);
  font-size: 0.86rem;
  font-weight: 900;
}

.features h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: 0;
}

.links-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.78fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: 10px 0 74px;
}

.links-section h2 span {
  display: inline-block;
  font-family: Arizonia, Georgia, "Times New Roman", serif;
  font-size: 1.35em;
  font-weight: 400;
  line-height: 0.85;
}

.link-list a {
  justify-content: flex-start;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid rgba(46, 12, 2, 0.13);
  background: var(--paper);
  color: var(--coffee);
  box-shadow: 0 12px 30px rgba(46, 12, 2, 0.1);
}

.link-list span {
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(46, 12, 2, 0.16);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero,
  .intro-band,
  .links-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-actions,
  .features {
    grid-template-columns: 1fr;
  }

  .video-panel {
    margin: 0;
  }

  .features article {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  body {
    background-size: 110px 110px, 170px 170px, 84px 84px, 140px 140px, auto, auto;
  }

  main,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .brand span {
    font-size: 1rem;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(4.2rem, 19vw, 5.25rem);
  }

  .tagline {
    font-size: 1.08rem;
  }

  .intro-band {
    padding: 24px;
  }

  .video-panel::before {
    inset: 14px 0 -10px 14px;
  }

  .video-panel {
    width: 100%;
  }
}
