/* Nik Sova Space: standalone rebuild of the Squarespace site (same layout, colours and content).
   Font: Figtree (SIL Open Font License, self-hosted) standing in for Proxima Nova. */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("../fonts/figtree-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("../fonts/figtree-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f2f1ee;
  --text: #6b6b6b;          /* original #757575, one shade darker for legibility */
  --navy: #23268b;
  --dark: #212121;
  --white: #fff;
  --font: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --panel: 260px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/24px var(--font); letter-spacing: -0.15px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--navy); text-decoration: none; transition: opacity .15s ease; }
a:hover { opacity: .75; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--navy); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* Page wrapper (slides left when the mobile menu opens, like the original) */
.page { position: relative; z-index: 1; background: var(--bg); min-height: 100vh; transition: transform .3s ease; }

/* ---------- Header + navigation ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; height: 78px; padding: 20px;
  display: flex; justify-content: flex-end; align-items: flex-start; }
.no-banner .site-header { position: relative; background: var(--dark); }
.site-nav { display: flex; gap: 3px; flex-wrap: nowrap; }
.site-nav a, .mobile-nav a { color: var(--white); font-size: 15px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; white-space: nowrap; letter-spacing: 1.75px; }
.site-nav a { display: block; padding: 0 16px; line-height: 38px; }

.nav-toggle { display: none; position: relative; width: 22px; height: 22px; margin: 0; padding: 0;
  border: 0; background: none; cursor: pointer; color: var(--white); }
.nav-toggle i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle i:nth-of-type(1) { top: 3px; }
.nav-toggle i:nth-of-type(2) { top: 10px; }
.nav-toggle i:nth-of-type(3) { top: 17px; }
.nav-open .nav-toggle i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle i:nth-of-type(2) { opacity: 0; }
.nav-open .nav-toggle i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { position: fixed; top: 0; right: 0; bottom: 0; width: var(--panel); z-index: 0; background: var(--dark);
  padding: 24px 24px 24px 36px; overflow-y: auto; visibility: hidden; }
.mobile-nav a { display: block; padding: 11.5px 0; line-height: 15px; white-space: normal; }
.nav-open .mobile-nav { visibility: visible; }
.nav-open .page { transform: translateX(calc(-1 * var(--panel))); }
.nav-open, .nav-open body { overflow: hidden; }

/* ---------- Banner ---------- */
.banner { position: relative; overflow: hidden; background: #000; padding: 180px 0 155px; }
.banner picture, .banner__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner__img { object-fit: cover; display: block; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.banner__inner { position: relative; z-index: 1; max-width: 956px; margin: 0 auto; padding: 32px; }
.banner__title { margin: 20px 0; color: var(--white); font-size: 32px; line-height: 1.2; font-weight: 600;
  letter-spacing: 0.6px; text-transform: uppercase; text-align: center; }
.banner__title--wide { font-size: 35px; letter-spacing: 3.6px; }

/* ---------- Content ---------- */
.content { max-width: 1020px; margin: 0 auto; padding: 96px 32px 144px; }
.content--narrow .block { max-width: 874px; }
.block { padding: 17px 0; }
.block:first-child { padding-top: 0; }
.block > :first-child { margin-top: 0; }
.block > :last-child { margin-bottom: 0; }
.block p, .block h2, .block h3 { white-space: pre-wrap; overflow-wrap: break-word; }
.block p { margin: 15px 0; }
.block p.sp { min-height: 24px; }
.block h2 { margin: 22px 0 11px; font-size: 22px; line-height: 1.2; font-weight: 400; letter-spacing: -0.35px; text-transform: uppercase; color: var(--text); }
.block h3 { margin: 16px 0 8px; font-size: 16px; line-height: 1.2; font-weight: 600; letter-spacing: 1.75px; text-transform: uppercase; color: var(--text); }
.block strong { font-weight: 700; }
.block blockquote { margin: 0; padding: 8px 37.5px; font-style: italic; }
.block blockquote > :first-child { margin-top: 15px; }
.block .center { text-align: center; }

.img { margin: 0; }
.img img { display: block; width: 100%; height: auto; }
.img--center { max-width: 800px; margin: 0 auto; }
.img--ball { max-width: 340px; margin: 0 auto; }
.spacer { height: 68px; }

/* ---------- Enquiry form ---------- */
.form { max-width: 100%; }
.form fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.form legend, .form .label { display: block; padding: 0; margin: 0 0 3px; font-size: 15px; line-height: 21px; color: var(--text); }
.form .row { display: flex; gap: 10px; }
.form .row > div { flex: 1 1 0; min-width: 0; }
.form .caption { display: block; margin: 0 0 1px; font-size: 12px; line-height: 17px; letter-spacing: 0; }
.form .req { font-size: 12px; margin-left: 4px; letter-spacing: 0; }
.form .field { margin: 0 0 18px; }
.form input[type="text"], .form input[type="email"], .form textarea {
  display: block; width: 100%; margin: 0; padding: 10px; border: 1px solid #a9a9a9; border-radius: 0;
  background: #fafafa; color: #000; font: 400 15px/21px var(--font); letter-spacing: 0; -webkit-appearance: none; appearance: none; }
.form textarea { height: 100px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: #555; background: #fff; outline: none; }
.form .hp { position: absolute; left: -9999px; }
.form button { display: inline-block; margin: 0; padding: 15px 37.5px; border: 0; border-radius: 0; background: #1a1a1a; color: var(--white);
  font: 300 15px/21px var(--font); letter-spacing: 2.75px; text-transform: uppercase; cursor: pointer; }
.form button:hover { background: #333; }
.form button[disabled] { opacity: .6; cursor: default; }
.form-status { margin: 18px 0 0; }
.form-status.error { color: #b3261e; }
.form-done { font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 56px 20px 72px; }
.site-footer a { color: var(--text); }
.footer-nav a, .back-to-top { font-size: 13px; line-height: 16px; letter-spacing: 1.8px; text-transform: uppercase; }
.footer-nav { padding: 9px 0; }
.footer-contact { margin: 25px 0 0; font-size: 14px; line-height: 24px; letter-spacing: 1.8px; text-transform: uppercase; }
.footer-contact a + a { margin-left: 14px; }
.back-to-top { display: none; margin: 0 0 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .site-header { height: 57px; }
  .banner__title, .banner__title--wide { font-size: 18px; margin: 10px 0; }
  .banner__title--wide { font-size: 28px; letter-spacing: 3px; }
  .block:first-child { padding-top: 17px; }
  .content { padding: 40px 20px 120px; }
  .block blockquote { padding: 8px 20px; }
  .spacer { display: none; }
  .form .row { gap: 10px; }
  .back-to-top { display: inline-block; }
  .footer-contact a { display: block; }
  .footer-contact a + a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page, .nav-toggle i { transition: none; }
}
