:root {
  --bg: #f4f0e8;
  --ink: #1a1814;
  --accent: #c8b89a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 300;
  line-height: 1.5;
  background-color: var(--bg);
  color: var(--ink);
}

.page-surface {
  position: relative;
  min-height: 100vh;
  padding: 3.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.page-surface::before,
.page-surface::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* Subtle grain using layered radial gradients */
.page-surface::before {
  opacity: 0.3;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.15) 0, transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(0, 0, 0, 0.12) 0, transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.1) 0, transparent 60%),
    radial-gradient(circle at 90% 90%, rgba(0, 0, 0, 0.1) 0, transparent 65%);
}

/* Soft vignette */
.page-surface::after {
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.08) 85%);
}

.page {
  position: relative;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 2.75rem 2.5rem 2.25rem;
  border: 1px solid var(--accent);
  background-color: rgba(244, 240, 232, 0.97);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 22px 60px rgba(0, 0, 0, 0.18);
}

/* Corner ornaments */
.page::before,
.page::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--accent);
  border-style: solid;
}

.page::before {
  top: 10px;
  left: 10px;
  border-width: 1px 0 0 1px;
}

.page::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 1px 1px 0;
}

.page::marker {
  /* no list markers anywhere */
  content: none;
}

.section {
  margin-bottom: 1.9rem;
}

.section:last-of-type {
  margin-bottom: 2.2rem;
}

.wordmark-section {
  text-align: center;
  margin-bottom: 2.4rem;
}

.wordmark-block {
  position: relative;
  display: inline-block;
  padding: 0.9rem 2.8rem 0.8rem;
}

.wordmark {
  margin: 0;
  font-family: "IM Fell English", "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 3.1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}

.rule {
  height: 1px;
  background-color: var(--accent);
  opacity: 0.95;
}

.rule-top {
  margin-bottom: 0.7rem;
}

.rule-bottom {
  margin-top: 0.7rem;
}

.body-copy {
  margin: 0;
  font-size: clamp(1.02rem, 1.8vw, 1.13rem);
}

.body-justified {
  text-align: justify;
  text-justify: inter-word;
}

.section-what {
  margin-top: 1.7rem;
}

.section-principals {
  margin-top: 2.4rem;
}

.principals-line {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.92rem;
}

.section-enquiries {
  margin-top: 2.3rem;
}

.enquiries-label {
  margin: 0 0 0.05rem;
  font-family: "IM Fell English", "Times New Roman", serif;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.enquiries-email {
  margin: 0;
  font-size: 0.98rem;
}

.email-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.02em;
  transition:
    border-color 260ms ease-out,
    border-bottom-width 260ms ease-out;
}

.email-link:hover,
.email-link:focus-visible {
  border-color: rgba(26, 24, 20, 0.85);
  border-bottom-width: 1.5px;
  outline: none;
}

.footer {
  max-width: 760px;
  width: 100%;
  margin: 0.6rem auto 0;
  font-size: 0.86rem;
  color: rgba(26, 24, 20, 0.82);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left,
.footer-right,
.footer-center {
  min-width: 0;
}

.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center;
  flex: 1;
}

.footer-right {
  text-align: right;
  visibility: hidden; /* Intentionally empty, preserves center alignment */
}

/* Initial fade-in state */
.fade-item {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 900ms ease-out,
    transform 900ms ease-out;
}

.page-surface.is-ready .fade-item {
  opacity: 1;
  transform: translateY(0);
}

.page-surface.is-ready .fade-item[data-seq="1"] {
  transition-delay: 120ms;
}

.page-surface.is-ready .fade-item[data-seq="2"] {
  transition-delay: 420ms;
}

.page-surface.is-ready .fade-item[data-seq="3"] {
  transition-delay: 820ms;
}

.page-surface.is-ready .fade-item[data-seq="4"] {
  transition-delay: 1180ms;
}

.page-surface.is-ready .fade-item[data-seq="5"] {
  transition-delay: 1480ms;
}

.page-surface.is-ready .fade-item[data-seq="6"] {
  transition-delay: 1820ms;
}

@media (max-width: 640px) {
  .page-surface {
    padding: 2.5rem 1.1rem;
  }

  .page {
    padding: 2.1rem 1.7rem 2rem;
  }

  .wordmark-block {
    padding: 0.7rem 2.1rem 0.7rem;
  }

  .section {
    margin-bottom: 1.7rem;
  }

  .section-principals {
    margin-top: 2.1rem;
  }

  .section-enquiries {
    margin-top: 2rem;
  }
}

