/* Fidea — site styles */

:root {
  --slate: #13253b;
  --slate-deep: #0b1725;
  --brass: #b9873f;
  --brass-soft: #e0bd86;
  --cream: #faf8f4;
  --ink: #2b3542;
  --ink-soft: #5a6674;
  --line: #e3ddd2;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ---------- Header ---------- */

.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; padding: 1.25rem 0; }
.site-header.solid { position: static; background: var(--slate); }

.header-inner {
  max-width: 72rem; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}

.brand {
  font-family: var(--serif); font-size: 1.75rem; letter-spacing: 0.02em;
  color: #fff; text-decoration: none;
  text-shadow: 0 1px 12px rgba(11, 23, 37, 0.55);
}
/* dotless i with a sand-coloured tittle */
.brand .dot { position: relative; }
.brand .dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: var(--tittle-top, 0.28em);
  width: var(--tittle-size, 0.13em);
  height: var(--tittle-size, 0.13em);
  border-radius: 50%;
  background: var(--brass-soft);
  transform: translateX(calc(-50% + var(--tittle-nudge, 0px)));
}

.site-nav { display: flex; gap: 0.6rem 1.75rem; flex-wrap: wrap; }
.site-nav a {
  color: #fff; text-decoration: none; font-size: 0.9375rem; letter-spacing: 0.02em;
  opacity: 0.9; padding: 0.25rem 0; border-bottom: 2px solid transparent;
  text-shadow: 0 1px 12px rgba(11, 23, 37, 0.55);
  transition: opacity 0.2s, border-color 0.2s;
}
.site-nav a:hover { opacity: 1; }
.site-nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--brass); }

/* ---------- Hero ---------- */

.hero-wrap { position: relative; }
.hero-wrap::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 7rem;
  background: linear-gradient(rgba(11, 23, 37, 0.5), rgba(11, 23, 37, 0));
  pointer-events: none;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;          /* the whole photograph, uncropped and untinted */
  background: var(--slate-deep);
}









.hero-text {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 4.5rem;
  text-align: center;
}

.hero-text h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.15;
  margin: 0 0 1.25rem; color: var(--slate);
}

.hero-text .lede {
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.8;
  color: var(--ink-soft);
}

.hero-text .tagline {
  margin-top: 2rem; font-size: 0.9rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass);
}

/* ---------- Page hero (subpages) ---------- */

.page-hero { background: var(--slate); color: #fff; padding: 1.25rem 1.5rem; text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0; }
.page-hero p { max-width: 40rem; margin: 1rem auto 0; color: var(--brass-soft); font-weight: 300; }





/* ---------- Content ---------- */

main.content { max-width: 42rem; margin: 0 auto; padding: 3.5rem 1.5rem 4.5rem; }
main.content h2 {
  font-family: var(--serif); font-weight: 500; font-size: 1.6rem;
  margin: 2.5rem 0 0.75rem; color: var(--slate);
}
main.content h2:first-child { margin-top: 0; }
main.content .lede { font-size: 1.05rem; line-height: 1.7; color: var(--slate); }
main.content ul { padding-left: 1.2rem; }
main.content li { margin-bottom: 0.5rem; }



/* ---------- Contact ---------- */

.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 2.5rem 2rem; text-align: center; margin-top: 2rem;
}
.contact-card .email {
  font-family: var(--serif); font-size: 1.5rem; color: var(--slate);
  text-decoration: none; border-bottom: 2px solid var(--brass);
}
.contact-card .email:hover { color: var(--brass); }
.contact-card .where { margin: 1.5rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--slate-deep); color: #fff; text-align: center;
  padding: 3rem 1.5rem 2.5rem;
}
.site-footer .brand { font-size: 1.2rem; }
.site-footer p { margin: 0.5rem 0; }
.site-footer .mission { color: var(--brass-soft); font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer a { color: #fff; }
.site-footer .fine { margin-top: 1.5rem; font-size: 0.8rem; opacity: 0.6; }

.alt-contact { margin-top: 2rem; color: var(--slate); font-size: 1.05rem; }
.alt-contact a { color: var(--slate); text-decoration-color: var(--brass); }
.form-note { margin: 0.8rem 0 0; font-size: 1.05rem; color: var(--slate); }
