:root {
  --bg: #fffaf2;
  --panel: #fffdf8;
  --ink: #2d241c;
  --heading: #22332c;
  --muted: #6f5c49;
  --body: #4f4237;
  --line: #eadfce;
  --accent: #b95f35;
  --accent-soft: #d87a4a;
  --footer: #22332c;
  --footer-text: #fffaf2;
  --footer-muted: #d9ccbd;
  --canvas: var(--bg);
  --paper: var(--panel);
  --line-strong: #d9ccbd;
  --teal: var(--accent);
  --teal-dark: var(--heading);
  --teal-soft: var(--accent-soft);
  --rose: var(--accent);
  --pink: var(--accent-soft);
  --gold: var(--accent);
  --danger: var(--accent);
  --shadow: 0 16px 42px rgba(45, 36, 28, 0.08);
  --font-app: "QuicksandPresence", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "AveriaPresence", "QuicksandPresence", Georgia, serif;
}

@font-face {
  font-family: "QuicksandPresence";
  src: url("assets/fonts/Quicksand_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "QuicksandPresence";
  src: url("assets/fonts/Quicksand_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "QuicksandPresence";
  src: url("assets/fonts/Quicksand_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-app);
  font-weight: 500;
  letter-spacing: 0;
}

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

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

p,
li {
  color: var(--body);
  line-height: 1.75;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.7rem;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: min(100%, 1024px);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.nav {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.brand img {
  display: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a,
.footer-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--rose);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--font-app);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 3rem;
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1.03rem;
}

.intro {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-top: 22px;
  font-size: 1.06rem;
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
}

.meta span {
  color: var(--ink);
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(45, 36, 28, 0.05);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.hero-visual {
  position: relative;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(34, 51, 44, 0.12), transparent 44%),
    linear-gradient(315deg, rgba(185, 95, 53, 0.16), transparent 46%);
}

.hero-visual img {
  position: absolute;
  inset: 20px 18px 0 auto;
  width: min(58%, 250px);
  height: auto;
  object-fit: contain;
}

.visual-panel {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: min(72%, 300px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
}

.visual-panel p:first-child {
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 1.02rem;
  font-weight: 700;
}

.content {
  padding-bottom: 58px;
}

.section-band {
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.section-band.alt {
  background: var(--panel);
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 22px;
}

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

.link-card {
  display: grid;
  gap: 10px;
  min-height: 148px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(45, 36, 28, 0.05);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  outline: none;
}

.link-card span {
  color: var(--accent);
  font-weight: 700;
}

.sections {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 30px 0;
}

.section-row + .section-row {
  border-top: 1px solid var(--line);
}

.section-body {
  display: grid;
  gap: 16px;
}

.section-body a,
.intro a,
.meta a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bullet-list {
  list-style: none;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 20px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.notice {
  padding: 18px;
  border: 1px solid rgba(185, 95, 53, 0.24);
  border-left: 4px solid var(--danger);
  border-radius: 8px;
  background: var(--panel);
}

.notice p {
  color: var(--body);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--footer);
  color: var(--footer-text);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer-title {
  color: var(--footer-text);
  font-size: 1.08rem;
  font-weight: 700;
}

.footer-subtitle {
  margin-top: 4px;
  color: var(--footer-muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #f4dfc5;
  font-size: 0.94rem;
  font-weight: 700;
}

@media (min-width: 720px) {
  .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }

  .nav,
  .footer-inner,
  .meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-row {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 42px;
  }
}

@media (min-width: 980px) {
  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  h1 {
    font-size: 2.25rem;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 250px;
  }

  .visual-panel {
    width: calc(100% - 40px);
  }
}
