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

html,
body {
  margin: 0;
  padding: 0;
}

/* VARIABLES */
:root {
  --max-width: 1180px;
  --side-gap: 28px;
  --section-gap: 28px;

  --paper: #f8f3e8;
  --paper-deep: #efe8d8;
  --paper-line: #d7cebc;
  --ink: #121212;
  --ink-soft: #333333;
  --ink-faint: #666056;
  --accent: #1f1f1f;
  --accent-soft: #8a8275;

  --border-color: #1c1c1c;
  --radius-lg: 0px;
  --radius-md: 0px;
  --radius-sm: 0px;

  --rule-thick: 2px solid #111111;
  --rule-thin: 1px solid #b9af9d;
}

/* BASE TYPOGRAPHY */
html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.015), rgba(0, 0, 0, 0.015)),
    var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.72;
  letter-spacing: 0;
}

/* MAIN PAGE WRAPPERS */
.top-header,
.top-nav,
.below-header,
.container,
.above-footer,
.footer {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--side-gap);
  padding-right: var(--side-gap);
  position: relative;
}

/* REMOVE INTERNAL DUPLICATE LINES INSIDE PARTIALS */
.top-header hr,
.top-nav hr,
.below-header hr,
.container hr,
.above-footer hr,
.footer hr {
  display: none;
}

.top-header > *,
.top-nav > *,
.below-header > *,
.above-footer > *,
.footer > * {
  border-top: 0;
  border-bottom: 0;
}

/* VERTICAL SPACING */
.top-header,
.below-header,
.above-footer,
.footer {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.container {
  padding-top: 40px;
  padding-bottom: 46px;
}

.top-nav {
  padding-top: 0;
  padding-bottom: 0;
}

/* SECTION TREATMENT */
.top-header {
  margin-top: 22px;
  border-top: 4px double var(--border-color);
  border-bottom: var(--rule-thick);
  background: transparent;
}

.top-nav {
  border-bottom: var(--rule-thick);
  background: transparent;
}

.below-header {
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: var(--rule-thin);
  background: transparent;
  overflow: hidden;
}

.container {
  background: transparent;
}

.above-footer {
  margin-top: 24px;
  border-top: var(--rule-thick);
  border-bottom: var(--rule-thin);
  background: transparent;
}

.footer {
  margin-bottom: 24px;
  padding-top: 20px;
  padding-bottom: 26px;
  border-top: var(--rule-thick);
  background: transparent;
}

/* HEADER */
.top-header h1,
.top-header .site-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-align: center;
  color: var(--ink);
}

/* NAVIGATION */
.top-nav {
  display: block;
}

.top-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.top-nav li {
  margin: 0;
  padding: 0;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  color: var(--ink);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.top-nav a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.03);
  border-bottom-color: var(--ink);
}

/* TEXT */
p {
  margin: 0;
  max-width: 72ch;
  font-size: 1.05rem;
  line-height: 1.86;
  color: var(--ink-soft);
}

ul,
ol {
  margin: 0;
  padding-left: 1.35rem;
}

li {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* HEADINGS */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
}

main.container h1,
main.container h2,
main.container h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

main.container h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  text-align: left;
}

main.container h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

main.container h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

/* BASE FLOW */
main.container > * + * {
  margin-top: 20px;
}

/* EXTRA SPACE BEFORE HEADINGS */
main.container h1:not(:first-child),
main.container h2:not(:first-child),
main.container h3:not(:first-child) {
  margin-top: 42px;
  padding-top: 14px;
  border-top: var(--rule-thin);
}

/* ARTICLE-LIKE CONTAINER FEEL */
main.container {
  position: relative;
}

.container > * {
  max-width: 100%;
}

/* LINKS */
a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 18, 18, 0.28);
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
  border-bottom-color: var(--ink);
}

/* FOOTER */
.footer p,
.footer small,
.footer div,
.footer li {
  color: var(--ink-soft);
}

.footer small {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* HAMBURGER — FORCE VISIBILITY */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  padding: 10px 14px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* MOBILE BEHAVIOUR */
@media (max-width: 768px) {

  .nav-toggle {
    display: inline-flex;
  }

  .top-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .top-nav.open ul {
    display: flex;
  }

  .top-nav li {
    width: 100%;
  }

  .top-nav a {
    width: 100%;
    padding: 14px;
    border-bottom: 1px solid #ccc;
  }
}

.nav-toggle:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* HEADER STRUCTURE */
.header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-align: center;
}

/* SLOGAN */
.site-slogan {
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--ink-faint);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  max-width: 100%;
}

/* TWO-COLUMN AND THREE-COLUMN SUPPORT */
.two-col,
.three-col {
  display: grid;
  width: 100%;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* COLUMN ITEMS */
.two-col > *,
.three-col > * {
  min-width: 0;
  margin: 0;
  padding: 0 0 0 0;
  border-top: var(--rule-thick);
  background: transparent;
}

/* INTERNAL SPACING INSIDE COLUMN BOXES */
.two-col > * > *:first-child,
.three-col > * > *:first-child {
  margin-top: 14px;
}

.two-col > * > *:last-child,
.three-col > * > *:last-child {
  margin-bottom: 0;
}

.two-col > * + *,
.three-col > * + * {
  margin-top: 0;
}

/* OPTIONAL COLUMN VARIANTS WITHOUT BOX BORDER */
.two-col.clean > *,
.three-col.clean > * {
  padding: 0;
  border-top: 0;
  background: transparent;
}

/* COLUMN WRAPPERS INSIDE MAIN SECTIONS */
.below-header .two-col,
.below-header .three-col,
.container .two-col,
.container .three-col,
.above-footer .two-col,
.above-footer .three-col {
  margin-top: 0;
  margin-bottom: 0;
}

/* GENERIC MEDIA */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
  border: var(--rule-thin);
}

/* BLOCKQUOTE / TABLE-LIKE TREATMENT */
blockquote {
  margin: 28px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--ink);
  background: rgba(0, 0, 0, 0.03);
  color: var(--ink-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  border-top: var(--rule-thick);
  border-bottom: var(--rule-thick);
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: var(--rule-thin);
}

/* FORMS */
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  appearance: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 11px 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  background: #2d2d2d;
  color: var(--paper);
}

input,
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--paper-line);
  border-radius: 0;
  background: #fffdf7;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --side-gap: 18px;
    --section-gap: 18px;
  }

  html {
    font-size: 16px;
  }

  .top-header {
    margin-top: 14px;
  }

  .top-header h1,
  .top-header .site-title {
    font-size: 2.2rem;
    line-height: 1.02;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
  }

  .top-nav {
    display: block;
  }

  .top-nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
  }

  .top-nav.open ul {
    display: flex;
  }

  .top-nav li {
    width: 100%;
    border-bottom: var(--rule-thin);
  }

  .top-nav li:last-child {
    border-bottom: none;
  }

  .top-nav a {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    min-height: 0;
    padding: 15px 8px;
    font-size: 0.8rem;
  }

  .container {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .two-col,
  .three-col {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px;
    margin-bottom: 18px;
  }

  main.container h1 {
    font-size: 1.8rem;
  }

  main.container h2 {
    font-size: 1.42rem;
  }

  main.container h3 {
    font-size: 1.14rem;
  }

  p,
  li {
    font-size: 1rem;
  }
}

.meta-date {display:none;}