/* Voyage in Time website: the app's regular (adults') palette and Lora. */
:root {
  --primary: #A46660;   /* pinkish brown: headings */
  --accent:  #5E6A44;   /* herb green: section labels, links */
  --gold:    #A07830;   /* bronze gold: rules, card borders */
  --bg:      #FBF7F2;   /* ivory page */
  --border:  #DDD5C8;
  --text:    #0A0A0A;
  --text-mid:#3A3A3A;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Lora, Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.65;
}

.page { max-width: 680px; margin: 0 auto; padding: 36px 16px 40px; }

/* the logo, the name and a short gold rule, as at the top of About Us */
.masthead { text-align: center; text-decoration: none; color: inherit; display: block; }
.logo {
  display: block; width: 96px; height: 96px; margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 4px 10px rgba(10, 10, 10, 0.15);
}
.name { font-weight: 700; font-size: 26px; margin: 14px 0 0; line-height: 1.3; }
.rule { width: 44px; height: 2px; background: var(--gold); margin: 12px auto 0; border: 0; }

nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; margin-top: 20px; }
nav a {
  font-weight: 700; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); text-decoration: none; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a:focus-visible { border-bottom-color: var(--accent); }
nav a[aria-current="page"] { border-bottom-color: var(--gold); }

main { margin-top: 36px; }

h1 { font-size: 28px; line-height: 1.3; margin: 0 0 20px; text-align: center; }
h2 { font-size: 19px; color: var(--primary); margin: 34px 0 6px; line-height: 1.35; }
h3 { font-size: 17px; margin: 22px 0 4px; }
p { margin: 10px 0 0; }
ul { padding-left: 22px; margin: 10px 0 0; }
li { margin-bottom: 8px; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--primary); }

.lead { font-style: italic; text-align: center; font-size: 19px; }
.centre { text-align: center; }

/* the gold-bordered card, as on About Us */
.card {
  border: 1.5px solid var(--gold); border-radius: 16px;
  padding: 16px 18px; margin-top: 26px;
}
.card > :first-child { margin-top: 0; }

.label {
  font-weight: 700; font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin: 34px 0 6px;
}

.closing { font-weight: 700; font-style: italic; color: var(--primary); text-align: center; margin-top: 16px; }
.updated { font-style: italic; font-size: 15px; margin-top: 32px; }

footer {
  max-width: 680px; margin: 0 auto; padding: 24px 16px 40px;
  font-size: 13px; line-height: 1.6; text-align: center; color: var(--text-mid);
}
footer .rule { margin-bottom: 18px; }
footer a { color: inherit; }
