/* frame.css — base, tokens, reset, typography, utilities */

:root {
  --color-paper: #F4F7F4;
  --color-ink: #14211A;
  --color-ink-soft: #3a4a42;
  --color-primary: #04663B;
  --color-primary-light: #0B7A4A;
  --color-deep: #033524;
  --color-accent: #C9A227;
  --color-line: #d9e2dc;
  --color-card: #ffffff;
  --color-deep-ink: #e7efe9;

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 22px;
  --shadow-soft: 0 14px 38px -22px rgba(3, 53, 36, 0.42);
  --shadow-card: 0 6px 24px -16px rgba(3, 53, 36, 0.5);
  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

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

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

body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.62;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.14;
  color: var(--color-ink);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.55rem); }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .42em; }

strong { font-weight: 600; }

table { border-collapse: collapse; width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.to-content {
  position: absolute;
  left: 14px;
  top: -120px;
  z-index: 1200;
  background: var(--color-deep);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-s);
  transition: top .2s var(--ease);
}
.to-content:focus { top: 14px; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-light); }

.btn-gold {
  background: var(--color-accent);
  color: var(--color-deep);
  border-color: var(--color-accent);
}
.btn-gold:hover { background: #b8911f; border-color: #b8911f; color: var(--color-deep); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--color-accent);
  vertical-align: middle;
  margin-right: .6em;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
