@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("figtree-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fraunces-latin.woff2") format("woff2");
}

:root {
  --sand: #efe4d2;
  --sand-deep: #e3d3b8;
  --cream: #f7f1e6;
  --ink: #172117;
  --muted: #314232;
  --green: #1a4634;
  --green-deep: #0e2c21;
  --line: rgba(23, 33, 23, 0.16);
  --sans: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sheet: 44rem;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  background-color: var(--sand);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 27px,
    rgba(23, 33, 23, 0.045) 27px 28px
  );
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--cream);
  color: var(--ink);
  padding: 10px 14px;
  z-index: 3;
}

.skip:focus { top: 12px; }

a { color: var(--green); }

a:hover { color: var(--green-deep); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.top {
  background: var(--green-deep);
  color: var(--cream);
}

.brand,
.primary-nav,
.sheet,
.foot {
  width: min(var(--sheet), calc(100% - 28px));
  margin-inline: auto;
}

.brand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0 4px;
}

.brand a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand small {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.78;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 16px;
  width: min(var(--sheet), calc(100% - 28px));
}

.primary-nav a {
  color: var(--cream);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(247, 241, 230, 0.28);
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 650;
}

.primary-nav a[aria-current="page"] {
  background: var(--cream);
  color: var(--green-deep);
  border-color: var(--cream);
}

.sheet {
  background: var(--cream);
  margin-top: 18px;
  margin-bottom: 28px;
  padding: 18px 18px 28px;
  border: 1px solid #cbb892;
}

.rules {
  height: 6px;
  margin: 0 0 18px;
  background:
    linear-gradient(var(--green), var(--green)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--green), var(--green)) 0 4px / 100% 2px no-repeat;
}

.hole {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
}

.hole span {
  display: inline-grid;
  place-items: center;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0 4px;
  background: var(--green);
  color: var(--cream);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 650;
  font-size: clamp(2.05rem, 8vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.45;
  max-width: 38rem;
}

.crumbs {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.crumbs a { color: var(--green); }

.block { margin-top: 26px; }

.block h2,
.foot h2,
.gloss-label {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
}

.block p,
.manners p { margin: 0 0 12px; }

.check {
  background: var(--sand);
  margin-left: -18px;
  margin-right: -18px;
  padding: 16px 18px 8px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.steps .num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--green);
  padding-top: 4px;
}

.steps strong {
  display: block;
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.door,
.index-line,
.related a {
  text-decoration: none;
  color: inherit;
}

.door {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  row-gap: 2px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.door-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
}

.door-title {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.6rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.door-detail {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.98rem;
}

.door-go {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.door:hover .door-title,
.index-line:hover,
.related a:hover { color: var(--green); }

.index-line,
.related a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid var(--line);
  padding: 8px 0;
}

.index-line span:last-child,
.related a span:last-child {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.later {
  margin: 22px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #cbb892;
  color: var(--muted);
  font-size: 0.95rem;
}

.gloss dt {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.gloss dd { margin: 4px 0 0; }

.manners h2 {
  margin: 26px 0 8px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
}

.note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.foot {
  padding-bottom: 48px;
}

.foot-grid {
  display: grid;
  gap: 18px;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot li { margin: 0; }

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green-deep);
  text-decoration: none;
}

.foot a:hover { text-decoration: underline; }

.mirror {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (min-width: 800px) {
  .sheet { margin-top: 28px; padding: 28px 40px 40px; }
  .check { margin-left: -40px; margin-right: -40px; padding: 18px 40px 8px; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .door-title { font-size: 1.85rem; }
}

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

/* Site information links (added for about/privacy/affiliate-disclosure/contact) */
.fine-print {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin-top: 18px;
}
