@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --gd-max: 1080px;
  --ink: #2B2420;
  --ink-soft: #5C5348;
  --paper: #FDFBF7;
  --paper-soft: #F3EDE1;
  --rule: #E3D9C6;
  --accent: #B4552D;
  --accent-dark: #8C4222;
  --accent-2: #4C6B58;
  --accent-2-dark: #3A5344;
  --radius: 10px;
  --radius-sm: 6px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.2vw, 2.75rem); margin: 0 0 0.75rem; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); margin: 2.75rem 0 1rem; padding-top: 0.4rem; border-top: 1px solid var(--rule); }
h3 { font-size: 1.25rem; margin: 1.6rem 0 0.75rem; }

p { margin: 0 0 1.05rem; }
a { color: var(--accent-dark); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 2px; }
a:hover { text-decoration-color: currentColor; }

ul, ol { padding-left: 1.35rem; margin: 0 0 1.05rem; }
li { margin-bottom: 0.45rem; }

.wrap {
  max-width: var(--gd-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

svg.gd-icon { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; }

/* Header */
.gd-header {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.gd-header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gd-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.15rem;
  text-decoration: none;
}
.gd-brand__mark { height: 34px; width: 34px; display: block; }
.gd-nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.6rem;
}
.gd-nav__list a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
}
.gd-nav__list a:hover { color: var(--accent-dark); }
.gd-nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.gd-nav-toggle__bar { width: 22px; height: 2px; background: var(--ink); }

@media (min-width: 768px) {
  .gd-nav-toggle { display: none; }
  .gd-nav__list { display: flex; }
}
@media (max-width: 767px) {
  .gd-nav__list {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  .gd-nav__list.is-open { display: flex; }
}

/* Footer */
.gd-footer {
  background: var(--ink);
  color: #D8CFC1;
  padding: 2.75rem 0 1.5rem;
  margin-top: 3.5rem;
}
.gd-footer__inner { display: flex; flex-direction: column; gap: 1rem; }
.gd-footer__brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; color: #FDFBF7; font-size: 1.05rem; }
.gd-footer__note { font-size: 0.9rem; max-width: 700px; color: #B4AA9B; }
.gd-footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.gd-footer__links a { color: #D8CFC1; font-size: 0.9rem; text-decoration: none; }
.gd-footer__links a:hover { text-decoration: underline; }
.gd-footer__copy { font-size: 0.85rem; color: #8A8072; margin: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
