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

@font-face {
  font-family: 'Libertinus Serif';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/libertinus-serif-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Libertinus Serif';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/libertinus-serif-latin-400-italic.woff2') format('woff2');
}

body {
  font-family: 'Libertinus Serif', 'Linux Libertine', 'Linux Libertine O', Georgia, 'Book Antiqua', Palatino, 'Times New Roman', serif;
  background: #3a2414;
  color: #f0e4c8;
}

/* ── Masthead: the original label, sharp through the name, blurred vertically
      above and below; logo and tagline sit on the blurred areas ── */
.masthead {
  position: relative;
  background: #3a2414;
  border-bottom: 1px solid #4a2e1a;
  text-align: center;
  overflow: hidden;
}
.masthead::after {               /* a light fade at the very top and bottom only */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(58,36,20,0.55) 0%, rgba(58,36,20,0) 22%,
    rgba(58,36,20,0) 78%, rgba(58,36,20,0.6) 100%);
}
.masthead-title { margin: 0; line-height: 0; font-size: 0; }
.masthead-title img {
  display: block; width: 100%; height: auto;
  max-height: 580px; min-height: 420px;
  object-fit: cover; object-position: 50% 50%;
}
.masthead-logo {
  position: absolute; z-index: 1; top: 6%; left: 50%;
  width: 140px; transform: translateX(-50%);
  clip-path: circle(44%);
}
.masthead-tagline {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 5%;
  margin: 0; padding: 0 1rem;
  font-size: 0.85rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: #f3dfb4; text-shadow: 0 1px 2px rgba(30,15,5,0.95), 0 0 14px rgba(30,15,5,0.85);
}

/* ── Products bar ── */
.products {
  background: #2b1a0e;
  padding: 0.65rem 2rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 1.4rem;
  border-bottom: 1px solid #4a2e1a;
  font-size: 1.09rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.products-label { color: #6f5a45; }
.products a { color: #c9963a; text-decoration: none; }
.products a:hover { text-decoration: underline; }

/* ── Sections ── */
.section-paper    { background: #f0e4cc; color: #1a0802; padding: 3.5rem 2rem; }
.section-parchment{ background: #f6eed8; color: #1a0802; padding: 3.5rem 2rem; }
.section-dark     { background: #3a2414; padding: 3.5rem 2rem; }

.inner { max-width: 800px; margin: 0 auto; }
.inner-narrow { max-width: 460px; margin: 0 auto; }

/* ── Typography ── */
.section-title {
  font-size: 1.67rem;
  letter-spacing: 0.18em;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.section-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
  color: #c9963a;
  margin-bottom: 1.4rem;
}
.body-p {
  line-height: 1.55;
  font-size: 1.26rem;
  color: #2c1506;
  margin-bottom: 1.9rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  font-feature-settings: "kern", "liga", "onum";
}
.body-p-last { margin-bottom: 0; }
.blockquote {
  border-left: 2px solid #c9963a;
  padding: 0.65rem 0 0.65rem 1.2rem;
  margin: 0 0 1.9rem;
  overflow: hidden; /* sit beside floats so the rule stays visible */
  font-style: italic;
  font-size: 1.2rem;
  color: #4a2008;
}

/* ── Decorative ── */
.badge {
  display: inline-block;
  font-size: 0.71rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9963a;
  border: 1px solid #c9963a;
  padding: 0.18rem 0.7rem;
  margin-bottom: 1.1rem;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 1rem 0;
}
.divider-line { height: 1px; width: 65px; background: #c9963a; opacity: 0.55; }
.divider-line-short { height: 1px; width: 45px; background: #c9963a; opacity: 0.45; }
.hr-rule { height: 1px; background: #5a3a22; margin: 1.4rem 0; }
.ornament-rule {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}
.ornament-rule-line { height: 1px; flex: 1; background: #c9963a; opacity: 0.4; }

/* ── Images ── */
.float-right, .float-left { overflow: hidden; }
.float-right img, .float-left img { width: calc(100% + 20px); max-width: none; margin: -10px; display: block; }

/* ── Clock photograph (white backdrop multiplied into the paper) ── */
.figure-clock { float: right; width: 34%; margin: 0.4rem 0 1rem 1.6rem; }
.figure-clock img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.figure-clock figcaption {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.35;
  color: #6a4a2c;
  text-align: center;
}

/* ── Airside screenshot ── */
.figure-shot { float: left; clear: left; width: 54%; margin: 0.35rem 2rem 1rem 0; }
.figure-shot img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 2px 10px rgba(40,20,5,0.25); }

/* ── Floated figures ── */
.float-right { float: right; width: 40%; margin: 0.3rem 0 1rem 2rem; }
.float-left  { float: left;  width: 36%; margin: 0.3rem 2rem 1rem 0; }
.clearfix::after { content: ""; display: block; clear: both; }

/* ── Contact ── */
.contact-line {
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  color: #b09478;
  text-align: center;
  margin: 0.55rem 0;
}
.contact-link { color: #c9963a; text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.footer-note {
  font-size: 0.71rem;
  letter-spacing: 0.12em;
  color: #b09478;
  text-transform: uppercase;
  margin-top: 0.8rem;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .masthead-logo { width: 92px; top: 5%; }
  .masthead-title img { min-height: 340px; }
  .masthead-tagline { font-size: 0.72rem; letter-spacing: 0.24em; }
  .float-right, .float-left, .figure-shot { float: none; width: 100%; max-width: 360px; margin: 0 auto 1.9rem; }
  .figure-clock { float: none; width: 50%; max-width: 220px; margin: 0 auto 1.9rem; }
  .body-p { text-align: left; }
}
