:root {
  --rk-paper: #f3ebdd;
  --rk-paper-2: #efe4d2;
  --rk-ink: #1a1814;
  --rk-muted: #6a6156;
  --rk-line: #d5c8b4;
  --rk-forest: #1f3d2b;
  --rk-forest-2: #2c5640;
  --rk-rust: #b85c38;
  --rk-cream: #faf6ee;
  --rk-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --rk-body: "Source Serif 4", Georgia, serif;
  --rk-sans: "Outfit", "Avenir Next", sans-serif;
}

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

html { scroll-behavior: smooth; }

body.rk {
  margin: 0;
  background: var(--rk-paper);
  color: var(--rk-ink);
  font-family: var(--rk-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rk-forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rk-rust); }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--rk-forest); color: var(--rk-cream);
  padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }

.rk-bar {
  background: var(--rk-forest);
  color: #e7ddc8;
  font-family: var(--rk-sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.rk-bar span { opacity: 0.86; }

.rk-mast {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: end;
  border-bottom: 1px solid var(--rk-line);
}
.rk-brand { display: flex; gap: 14px; align-items: center; color: inherit; text-decoration: none; }
.rk-brand img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--rk-forest);
}
.rk-brand strong {
  display: block; font-family: var(--rk-display); font-size: 1.85rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1;
}
.rk-brand em { display: block; margin-top: 6px; font-style: italic; color: var(--rk-muted); font-size: 0.95rem; }
.rk-nav { display: flex; justify-content: flex-end; gap: 22px; flex-wrap: wrap; padding-bottom: 8px; }
.rk-nav a {
  font-family: var(--rk-sans); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rk-ink); text-decoration: none; font-weight: 500;
}
.rk-nav a[aria-current="page"], .rk-nav a:hover { color: var(--rk-rust); }

.rk-wrap { max-width: 1180px; margin: 0 auto; padding: 36px 24px 72px; }
.rk-kicker {
  font-family: var(--rk-sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rk-rust); font-weight: 600;
}

.rk-feature { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0; align-items: stretch; margin-bottom: 56px; }
.rk-feature figure { margin: 0; position: relative; }
.rk-feature img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.rk-feature-copy {
  background: var(--rk-cream);
  border: 1px solid var(--rk-line);
  margin: 48px 0 48px -48px;
  padding: 40px 36px;
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
}
.rk-feature h1 {
  font-family: var(--rk-display); font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08; letter-spacing: -0.03em; margin: 10px 0 16px; font-weight: 600;
}
.rk-feature p { margin: 0 0 22px; color: var(--rk-ink-soft, #3a352c); font-size: 1.12rem; }
.rk-meta { font-family: var(--rk-sans); font-size: 0.78rem; color: var(--rk-muted); letter-spacing: 0.04em; }
.rk-btn {
  align-self: flex-start; background: var(--rk-forest); color: #f4ecde; text-decoration: none;
  font-family: var(--rk-sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 18px; border: 0;
}
.rk-btn:hover { background: var(--rk-rust); color: #fff; }

.rk-strip { margin: 8px 0 56px; }
.rk-strip-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.rk-strip h2 { font-family: var(--rk-display); font-size: 1.6rem; margin: 0; }
.rk-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rk-photos a { position: relative; overflow: hidden; }
.rk-photos img { width: 100%; height: 180px; object-fit: cover; filter: saturate(0.92); transition: transform 220ms ease, filter 220ms ease; }
.rk-photos a:hover img { transform: scale(1.04); filter: saturate(1.05); }

.rk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rk-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.rk-card img { width: 100%; height: 210px; object-fit: cover; }
.rk-card h3 { font-family: var(--rk-display); font-size: 1.35rem; line-height: 1.2; margin: 0; }
.rk-card p { margin: 0; color: var(--rk-muted); }

.rk-essay { max-width: 740px; margin: 0 auto; }
.rk-essay header { margin-bottom: 28px; }
.rk-essay h1 {
  font-family: var(--rk-display); font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.03em; margin: 8px 0 16px;
}
.rk-essay .lead { font-size: 1.25rem; font-style: italic; color: #3f382f; }
.rk-essay figure { margin: 8px 0 28px; }
.rk-essay figcaption { font-family: var(--rk-sans); font-size: 0.78rem; color: var(--rk-muted); margin-top: 8px; }
.rk-essay .body p { font-size: 1.125rem; margin: 0 0 1.15em; }
.rk-essay .body p:first-of-type::first-letter {
  float: left; font-family: var(--rk-display); font-size: 4.6rem; line-height: 0.75;
  padding: 10px 10px 0 0; color: var(--rk-forest); font-weight: 600;
}

.rk-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rk-gallery figure { margin: 0; }
.rk-gallery img { width: 100%; height: 240px; object-fit: cover; }
.rk-gallery figcaption { font-family: var(--rk-sans); font-size: 0.75rem; padding: 8px 2px 0; color: var(--rk-muted); }
.rk-gallery figure:nth-child(7n + 1) { grid-column: span 2; }
.rk-gallery figure:nth-child(7n + 1) img { height: 360px; }

.rk-about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.rk-about img { width: 100%; min-height: 420px; object-fit: cover; }
.rk-about h1 { font-family: var(--rk-display); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.95; margin: 8px 0 18px; }
.rk-about p { font-size: 1.12rem; }

.rk-foot {
  border-top: 1px solid var(--rk-line);
  padding: 36px 24px 48px;
  background: var(--rk-forest);
  color: #e7ddc8;
}
.rk-foot-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rk-foot strong { font-family: var(--rk-display); font-size: 1.4rem; display: block; margin-bottom: 6px; }
.rk-foot p, .rk-foot small { color: #cbbfa8; }
.rk-foot a { color: #f3e6c8; }

.rk-toggle { display: none; background: none; border: 0; font-family: var(--rk-sans); letter-spacing: 0.12em; text-transform: uppercase; }

@media (max-width: 900px) {
  .rk-mast, .rk-feature, .rk-grid, .rk-about, .rk-gallery { grid-template-columns: 1fr; }
  .rk-feature-copy { margin: -24px 16px 0; }
  .rk-photos { grid-template-columns: repeat(2, 1fr); }
  .rk-gallery figure:nth-child(7n + 1) { grid-column: span 1; }
  .rk-gallery figure:nth-child(7n + 1) img, .rk-gallery img, .rk-card img { height: 220px; }
  .rk-nav { display: none; }
  .rk-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 0 0; }
  .rk-toggle { display: block; justify-self: end; }
  .rk-mast { grid-template-columns: 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  .rk-photos img { transition: none; }
}

.rk-nav, .ph-nav, .pl-nav, .og-nav, .cl-nav { list-style: none; margin: 0; padding: 0; }
.rk-nav li, .ph-nav li, .pl-nav li, .og-nav li, .cl-nav li { margin: 0; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo, .custom-logo-link img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.body img, .aligncenter, .alignwide, .alignfull { max-width: 100%; height: auto; }
.theme-feature { display: grid; gap: 24px; margin: 24px auto 48px; max-width: 1180px; padding: 0 24px; }
.theme-feature img { width: 100%; height: auto; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 1180px; margin: 0 auto 64px; padding: 0 24px; }
.theme-grid img { width: 100%; height: 200px; object-fit: cover; }
body.ph .theme-feature, body.cl .theme-feature { color: inherit; }
@media (min-width: 900px) {
  .theme-feature { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}
