/* Shelly Flanagan — rebuilt from the Squarespace "Marquee" site, same look.
   Colours and sizes measured from the old site (Nov 2026). */

/* Fonts. The old site used Futura PT (headings) and Europa (body text) from
   Adobe Fonts. Jost is a free look-alike. size-adjust makes the letters the
   same height as the old fonts (lowercase height for mixed text, capital
   height for all-capitals text); small letter-spacing tweaks (the "em" parts
   in letter-spacing below) make each line the same length, so lines break in
   the same places (measured Nov/Dec 2026). */
@font-face { font-family: "SF Futura"; src: url(/fonts/jost-latin.woff2) format("woff2"); font-weight: 300 500; font-style: normal; size-adjust: 89%; font-display: swap; }
@font-face { font-family: "SF Futura"; src: url(/fonts/jost-latin-italic.woff2) format("woff2"); font-weight: 300 500; font-style: italic; size-adjust: 89%; font-display: swap; }
@font-face { font-family: "SF Futura Caps"; src: url(/fonts/jost-latin.woff2) format("woff2"); font-weight: 300 500; font-style: normal; size-adjust: 95.3%; font-display: swap; }
@font-face { font-family: "SF Futura Caps Bold"; src: url(/fonts/jost-latin.woff2) format("woff2"); font-weight: 300 500; font-style: normal; size-adjust: 95.3%; font-display: swap; }
/* Home page mixed-case text: lowercase letters the same height as the old Futura */
@font-face { font-family: "SF Futura Home"; src: url(/fonts/jost-latin.woff2) format("woff2"); font-weight: 300 500; font-style: normal; size-adjust: 90.2%; font-display: swap; }
@font-face { font-family: "SF Europa"; src: url(/fonts/jost-latin.woff2) format("woff2"); font-weight: 300 500; font-style: normal; size-adjust: 100%; font-display: swap; }
@font-face { font-family: "SF Europa"; src: url(/fonts/jost-latin-italic.woff2) format("woff2"); font-weight: 300 500; font-style: italic; size-adjust: 100%; font-display: swap; }

:root {
  --plum: #400d30;          /* header, footer, buttons */
  --plum-90: rgba(64, 13, 48, 0.9);
  --orange: #ff8400;        /* menu hover / current page */
  --ink: #1f1f1f;           /* body text */
  --ink-h1: #1c1c1c;
  --link: rgba(31, 31, 31, 0.5);
  --grey-band: #f0f0f0;
  --banner-shade: rgba(33, 27, 23, 0.39);
  --font: "SF Europa", "Jost", sans-serif;            /* body text */
  --font-head: "SF Futura", "Jost", sans-serif;       /* big headings */
  --font-caps: "SF Futura Caps", "Jost", sans-serif;  /* spaced capitals */
  --font-caps-bold: "SF Futura Caps Bold", "Jost", sans-serif;
}
h1.heading, h2.subheading, .banner h1,
.audio-title, .modal h2 { font-family: var(--font-head); }
h3, .button, .site-footer { font-family: var(--font-caps); }
.site-title, .main-nav a, .side-nav a { font-family: var(--font-caps-bold); }
.cover-middle h2, .cover-middle p { font-family: "SF Futura Home", "Jost", sans-serif; }
.cover-top, .cover-nav a { font-family: var(--font-caps-bold); font-weight: 470 !important; } /* old menu words were a shade finer */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: calc(0.5px + 0.021em);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
em { letter-spacing: calc(0.5px + 0.012em); } /* italics run slightly wider */
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 20px;
}
.site-header.is-fixed {
  position: fixed;
  background: var(--plum-90);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.site-header.is-fixed.show { transform: translateY(0); }
.site-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: calc(3px - 0.026em);
  line-height: 1;
  text-transform: uppercase;
}
.site-title a { color: #fff; }
.main-nav { display: flex; }
.main-nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: calc(2px - 0.026em);
  line-height: 1;
  text-transform: uppercase;
  padding: 0 13px;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--orange); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
}

/* Side menu on phones */
.side-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: var(--plum);
  z-index: 2000;
  padding: 80px 30px 30px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.side-nav.open { transform: translateX(0); }
.side-nav a {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: calc(2px - 0.026em);
  text-transform: uppercase;
  padding: 12px 0;
}
.side-nav a[aria-current="page"], .side-nav a:hover { color: var(--orange); }
.side-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: 0;
  color: #fff; font-size: 30px; line-height: 1;
  cursor: pointer;
}
.page-shade {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1500;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.page-shade.open { opacity: 1; pointer-events: auto; }

/* ---------- Banner ---------- */
/* Same box as the old site: 180px above, 155px below, title in a 956px
   column with 32px padding and 20px margins (10px on small screens). */
.banner {
  position: relative;
  padding: 180px 0 155px;
  background-color: #211b17;
  overflow: hidden;
}
.banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;   /* site.js sets the focal point like the old site */
}
.banner::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--banner-shade);
}
.banner h1 {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 956px;
  padding: 52px 32px;
  text-align: center;
  color: #fff;
  font-size: 86px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0;
}

/* ---------- Page sections ---------- */
.section {
  max-width: 1084px;   /* 1020px of content, like the old site */
  margin: 0 auto;
  padding: 96px 32px;
}
.section + .section { padding-top: 0; }
.section.narrow { max-width: 1020px; } /* About page was a little narrower */

h1.heading {
  margin: 0 0 17px;
  text-align: center;
  color: var(--ink-h1);
  font-size: 42px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}
h2.subheading {
  margin: 16px 0 34px;
  color: var(--ink-h1);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}
h3 {
  margin: 0 0 17px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: calc(4px - 0.0114em);
  text-transform: uppercase;
}
.center { text-align: center; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 40px; }
li { margin-bottom: 0.5em; }
li::marker { color: var(--ink); }

/* 12-column grid (same proportions as the old site) */
.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 34px;
  margin-bottom: 17px;
}
.span-12 { grid-column: span 12; }
.span-10 { grid-column: 2 / span 10; }
.span-8  { grid-column: 3 / span 8; }
.span-4  { grid-column: span 4; }
.span-6  { grid-column: span 6; }
.col-8-left { grid-column: 1 / span 8; }
.col-4-right { grid-column: 9 / span 4; }
.block { margin-bottom: 34px; }
.block:last-child { margin-bottom: 0; }

.col-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 52px;
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--plum);
  color: #fff;
  border: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: calc(3px - 0.0114em);
  line-height: 14px;
  text-transform: uppercase;
  padding: 14px 35px;
  cursor: pointer;
}
.button:hover { opacity: 0.8; color: #fff; }
.button-wrap { text-align: center; margin: 17px 0 34px; }

/* Video */
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 17px;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Audio */
.audio {
  border: 1px solid #e3e3e3;
  padding: 14px 17px;
  margin-bottom: 1em;
}
.audio-title { font-weight: 400; letter-spacing: 1px; }
.audio-author { font-size: 14px; color: var(--link); margin-bottom: 8px; }
.audio audio { width: 100%; }

/* Facebook icon */
.social { display: flex; justify-content: center; margin-top: 17px; }
.social a {
  display: inline-flex;
  width: 28px; height: 28px;
  border-radius: 15%;
  background: var(--plum);
  align-items: center; justify-content: center;
}
.social svg { width: 16px; height: 16px; fill: #fff; }

/* About page */
.portrait { float: left; margin: 0 69px 34px 34px; width: 145px; }
.video-left { float: left; width: 317px; aspect-ratio: 4 / 3; margin: 0 34px 17px 0; }
.map { width: 100%; height: 300px; border: 0; margin-top: 34px; }

/* ---------- Footer ---------- */
.pre-footer { background: var(--grey-band); height: 106px; }
.site-footer {
  background: var(--plum);
  padding: 60px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: calc(2px - 0.0114em);
  line-height: 1.8;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.site-footer span { display: inline-block; margin: 0 6px; }

/* ---------- Enquiry pop-up ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 3000;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  overflow-y: auto;
}
.modal.open { display: flex; }
.modal-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: #fff;
  padding: 40px;
  box-shadow: 0 0 40px rgba(0,0,0,0.1);
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: 0;
  font-size: 30px; line-height: 1; color: #333;
  cursor: pointer;
}
.modal h2 { margin: 0 0 24px; font-size: 22px; font-weight: 400; letter-spacing: 1px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 14px; font-weight: 400; margin-bottom: 4px; }
.field .req { color: #999; font-weight: 300; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  padding: 10px 12px;
  border: 1px solid #ccc;
  background: #fafafa;
  border-radius: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.name-row small { display: block; font-size: 12px; color: #999; }
.form-thanks { display: none; }
.form-error { color: #b00020; display: none; margin-top: 10px; }

/* ---------- Home cover page ---------- */
.cover {
  position: relative;
  height: 100vh;
  min-height: 520px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: #8a99a8;
}
.cover > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Grey veil over the clouds, same as the old site (grey 115,119,122 at 30%) */
.cover::after {
  content: "";
  position: absolute; inset: 0;
  background: rgb(115, 119, 122);
  opacity: 0.3;
  pointer-events: none;
}
/* Home page sizes measured from the old site at 375-1600px wide */
.cover-top {
  position: absolute; top: 40px; left: 60px; right: 60px;
  z-index: 1;
  margin: 0;
  font-size: 22px; font-weight: 500;
  letter-spacing: 0.14em; line-height: 1;
  text-transform: uppercase;
}
.cover-top a { color: #fff; }
.cover-middle {
  position: absolute; top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 60px;
}
.cover-middle h2 {
  margin: 0;
  font-size: 110px; font-weight: 400; line-height: 1;
  letter-spacing: 0.017em; word-spacing: -0.05em; /* same word and gap widths as old */
}
.cover-middle p {
  margin: 20px auto 0;
  max-width: 720px;
  font-size: 20px; font-weight: 400;
  letter-spacing: 0.057em; word-spacing: -0.07em; line-height: 1.4;
}
.cover-nav { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; }
.cover-nav a {
  color: #fff;
  display: block;
  padding: 10.5px 5px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.2em; line-height: 13px;
  text-transform: uppercase;
}
.cover-nav a:hover { opacity: 0.7; }
.cover-social {
  position: absolute; bottom: 40px; left: 0; right: 0;
  z-index: 1;
  display: flex; justify-content: center;
}
.cover-social a {
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.cover-social svg { width: 14px; height: 14px; fill: #8a99a8; }
@media (max-width: 1100px) { .cover-middle p { font-size: 18px; } }
/* Menu links stack once they no longer fit on one line */
@media (max-width: 800px) {
  .cover-nav { display: block; margin-top: 31px; }
  .cover-middle { transform: translateY(calc(-50% + 8px)); }
  .cover-nav a {
    max-width: 280px; margin: 0 auto 15px;
    padding: 8px 0;
    font-size: 10px; letter-spacing: 2px; line-height: 10px;
  }
}
@media (max-width: 700px) { .cover-middle p { font-size: 17px; } }
@media (max-width: 600px) {
  .cover-top { top: 20px; left: 20px; right: 20px; }
  .cover-middle { padding: 0 20px; }
  .cover-middle p { font-size: 16px; }
}
@media (max-width: 480px) {
  .cover-top { font-size: clamp(16px, 4.3vw, 20px); }
  .cover-middle h2 { font-size: 16.3vw; letter-spacing: 0.01em; }
  .cover-nav { margin-top: 23px; }
}
@media (min-width: 601px) and (max-width: 999px) { .cover-social { bottom: 60px; } }

/* ---------- Phones and tablets ---------- */
@media (max-width: 1000px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .site-title { font-size: 16px; }
  .site-header { height: 64px; }
}
@media (max-width: 767px) {
  .section { padding: 60px 32px; }
  h1.heading { font-size: 30px; }
  .site-footer span { display: block; }
  .modal-box { padding: 30px 20px; }
  .name-row { grid-template-columns: 1fr; }
}
/* Columns stack below 640px, same as the old site */
@media (max-width: 640px) {
  h2.subheading { font-size: 26px; }
  .portrait { float: none; margin: 0 auto 34px; }
  .video-left { float: none; width: 100%; margin: 0 0 17px; }
  .banner h1 { font-size: 30px; padding: 42px 32px; }
  .site-header { height: 58px; }
  .section { padding-left: 20px; padding-right: 20px; }
  .row { display: block; }
  .span-4, .span-6, .span-8, .span-10, .span-12, .col-8-left, .col-4-right { margin-bottom: 34px; }
  /* Like the old site: never stretch a photo past its real size */
  .col-img { width: auto; max-width: 100%; margin: 0 auto 34px; }
}
