/* Recreates the Squarespace "Bedford" look. futura-pt -> Jost, europa -> Nunito Sans (free lookalikes). */
:root {
  --ink: #1f1f1f;
  --muted: #9c9999;
  --footer-bg: #201a16;
  --footer-ink: rgba(255, 255, 255, .55);
  --accent: #e8c547;
  --head: "Jost", "Futura", sans-serif;
  --body: "Nunito Sans", "Helvetica Neue", sans-serif;
  --wrap: 1020px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 300 16px/1.8 var(--body); letter-spacing: .5px; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.3; margin: 0 0 .6em; }
h1 { font-weight: 300; font-size: 44px; }
h2 { font-weight: 300; font-size: 32px; }
h3 { font-weight: 400; font-size: 18px; letter-spacing: 4px; text-transform: uppercase; }
h4 { font-weight: 500; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid rgba(0, 0, 0, .15); margin: 2em 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Header: overlays the first banner, solid otherwise */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 16px; }
.logo img { width: 78px; height: 78px; object-fit: contain; border: 2px solid var(--accent); }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { font: 500 13px var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a.nav-cta { color: #fff; border: 2px solid #fff; padding: 9px 16px; }
.burger { display: none; width: 36px; height: 28px; cursor: pointer; position: relative; z-index: 2; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #fff; }
.burger::before { top: 4px; } .burger span { top: 13px; } .burger::after { top: 22px; }
@media (max-width: 767px) {
  .burger { display: block; }
  .nav { display: none; position: fixed; inset: 0; background: rgba(32, 26, 22, .97); flex-direction: column; justify-content: center; gap: 22px; }
  .menu-toggle:checked ~ .nav { display: flex; }
  .nav a { font-size: 16px; color: #fff; }
}

/* Banners */
.banner { position: relative; min-height: 50vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--footer-bg) center / cover no-repeat; padding: 140px 16px 70px; }
.banner--first { min-height: max(420px, 77vh); }
.banner--plain { min-height: 200px; padding: 0; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(32, 26, 22, .55); }
.banner-text { position: relative; max-width: 900px; }
.banner-text p { font: 400 18px/1.7 var(--head); letter-spacing: 4px; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin: 0; }
.banner-text p:first-child { font-weight: 300; font-size: clamp(36px, 6vw, 64px); line-height: 1.2; letter-spacing: 0; text-transform: none; color: #fff; margin-bottom: 24px; }
.banner-text strong { font-weight: inherit; }

/* Grid */
.content { padding-top: 70px; padding-bottom: 70px; }
.row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 40px; }
.col { grid-column: span var(--span); min-width: 0; }
.col > * + * { margin-top: 17px; }
@media (max-width: 767px) { .col { grid-column: span 12; } .row { gap: 0; } }

/* Blocks */
.b-text img { display: inline-block; }
.b-image { margin: 0 0 17px; }
.b-image figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.b-video { width: 100%; }
.b-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.b-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.b-embed iframe { max-width: 100%; }
.b-quote { margin: 1em 0; font: 300 24px/1.5 var(--head); text-align: center; }
.b-quote cite { display: block; font: 400 14px var(--head); letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-style: normal; margin-top: 12px; }
.b-social { display: flex; gap: 18px; justify-content: center; }
.b-social a { font: 500 13px var(--head); letter-spacing: 2px; text-transform: uppercase; }
.button { display: inline-block; font: 500 15px var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--ink); background: transparent; border: 2px solid currentColor; padding: 14px 26px; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--ink); color: #fff; }
.meta { font: 400 13px var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

/* Latest posts + blog list */
.b-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.b-posts img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 14px; }
.b-posts h3 a { text-decoration: none; }
.post-item { display: grid; grid-template-columns: 280px 1fr; gap: 32px; margin-bottom: 56px; }
.post-item .thumb img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post-item h2 a { text-decoration: none; }
@media (max-width: 700px) { .post-item { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: space-between; }
.post { max-width: 800px; }
.post-back { margin-top: 3em; }

/* Forms */
.b-form { max-width: 640px; margin: 0 auto; text-align: left; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 400; }
.field input:not([type=checkbox]):not([type=radio]), .field textarea, .field select { display: block; width: 100%; margin-top: 6px; padding: 12px; font: inherit; border: 1px solid #ccc; background: #fafafa; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field fieldset label { font-weight: 300; }
.field small { color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form-success { display: none; padding: 16px; background: #f3f0e6; }
.b-form.is-sent > :not(.form-success) { display: none; }
.b-form.is-sent .form-success { display: block; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 60px 0 30px; }
.site-footer h1, .site-footer h2, .site-footer h3 { color: #fff; }
.site-footer a { color: var(--footer-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0; }
.site-footer .b-form { max-width: 480px; margin: 30px auto 10px; }
.site-footer .b-form input:not([type=checkbox]) { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.site-footer .button { color: #fff; }
.site-footer hr { border-color: rgba(255, 255, 255, .15); }
.back-to-top { text-align: center; margin-top: 30px !important; font: 500 12px var(--head); letter-spacing: 2px; text-transform: uppercase; }
