:root {
  --bg: #0f0a34;
  --panel: #0f0a34;
  --text: #f2f3f5;
  --muted: #cfd3da;
  --line: rgba(255, 255, 255, 0.35);
  --accent: #ef1c06;
  --wa: #25d366;
  --container: 1120px;
  --gutter: 24px;
  --ff-serif: "Playfair Display", Georgia, serif;
  --success: #aad3ab;

  --hero-h: 234svh;
  --oldbailey-y: 0%;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  color: var(--text);
  font: 400 16px/1.65 var(--ff-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #ecf0f1;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.grid {
  display: grid;
  gap: 1rem;
}
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: 12px 16px;
}
.site-header:not(#index-header) .nav-container {
  max-width: var(--container);
}

.nav-container {
  /*  max-width: var(--container);*/
  margin: 0 auto;
  padding: 6px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  line-height: 0;
}
.brand img {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0.4));
}
.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-family: var(--ff-serif);
  font-size: 20px;
  letter-spacing: 0.3px;
  color: #ecf0f1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  padding: 6px 0;
  line-height: 1;
  border-radius: 24px;
  border: 2px solid transparent;
  transition:
    border-color 0.15s,
    background-color 0.15s,
    opacity 0.15s;
}
.nav a:hover {
  opacity: 0.85;
}
.nav a.is-active {
  border-color: var(--accent);
  background: rgba(239, 28, 6, 0.15);
  box-shadow: 0 0 0 1px rgba(239, 28, 6, 0.25);
}
#home .nav a[href="/"],
#home .nav a[href="./"],
#home .nav a[href*="index"] {
  border-color: var(--accent);
  background: rgba(239, 28, 6, 0.15);
  box-shadow: 0 0 0 1px rgba(239, 28, 6, 0.25);
  padding: 7px;
}
#about .nav a[href*="about"] {
  border-color: var(--accent);
  background: rgba(239, 28, 6, 0.15);
  box-shadow: 0 0 0 1px rgba(239, 28, 6, 0.25);
}
#contact .nav a[href*="contact"] {
  border-color: var(--accent);
  background: rgba(239, 28, 6, 0.15);
  box-shadow: 0 0 0 1px rgba(239, 28, 6, 0.25);
}
.nav-toggle {
  display: none;
}
@media (max-width: 680px) {
  .brand img {
    width: 128px;
  }
  .nav {
    position: absolute;
    right: 16px;
    top: 72px;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: 0.18s ease;
  }
  .nav-toggle {
    display: inline-grid;
    margin-left: auto;
    width: 36px;
    height: 32px;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    width: 24px;
    background: #ecf0f1;
    margin: 5px 0;
    transition:
      transform 0.18s,
      opacity 0.18s;
  }
  .site-header.open .nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .site-header.open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
#home {
  size: 100%;
}
#oldBailey {
  background:
    linear-gradient(rgba(15, 10, 52, 0.5), rgba(15, 10, 52, 0.5)),
    url("./images/background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center var(--oldbailey-y);
  background-attachment: scroll;
}
#index-container {
  background:
    linear-gradient(rgba(15, 10, 52, 0.5), rgba(15, 10, 52, 0.5)),
    url("./images/its-plotted-fingerprints-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.hero {
  position: relative;
  min-height: var(--hero-h);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--header-h) + 120px);
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}
.hero > .container {
  position: relative;
  z-index: 1;
}
.section-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: multiply;
  padding-top: 120px;
  padding-bottom: 60px;
}
.parallax {
  background-attachment: fixed;
  will-change: background-position;
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .parallax {
    background-attachment: scroll;
  }
}
.about-hero.section-bg {
  background:
    linear-gradient(90deg, rgba(13, 14, 36, 0.55) 38% 60%),
    url("./images/its-plotted-handprint-bg.jpg");
  background-position: right center;
}
.about-soc.section-bg {
  background:
    linear-gradient(
      90deg,
      rgba(13, 14, 36, 0.55) 35%,
      rgba(13, 14, 36, 0.55) 65%
    ),
    url("./images/its-plotted-camera-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
.about-cta.section-bg {
  background:
    linear-gradient(
      90deg,
      rgba(13, 14, 36, 0.55) 35%,
      rgba(13, 14, 36, 0.55) 65%
    ),
    url("./images/its-plotted-man-in-char-bg.jpg");
  padding-bottom: 100px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
.strip {
  background: var(--panel);
  padding: 28px;
  max-width: 720px;
  margin: 0 auto;
}
li {
  margin-bottom: 18px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-family: var(--ff-serif);
  color: #fff;
  text-align: center;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 33px;
}
h3 {
  font-size: 28px;
}
.card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px;
  border-radius: 8px;
}
@media (max-width: 900px) {
  .section-bg {
    padding-top: 96px;
    padding-bottom: 36px;
  }
  .about-hero.section-bg {
    background:
      linear-gradient(180deg, rgba(13, 14, 36, 0.95), rgba(13, 14, 36, 0.85)),
      url("./images/its-plotted-handprint-bg.jpg");
    background-position: center top;
  }
  .strip {
    max-width: 100%;
  }
}
.contact {
  padding: 48px 16px 64px;
  background: var(--bg);
}
.contact-form {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.label {
  font-size: 14px;
  color: var(--muted);
}
input[type="text"],
input[type="email"],
input[type="name"],
textarea {
  width: 100%;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 16px;
  outline: none;
}
#name {
  width: 100%;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 16px;
  outline: none;
}
textarea {
  min-height: 210px;
  resize: vertical;
}
input:focus,
textarea:focus {
  border-color: var(--text);
}
.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  margin-top: 18px;
}
.checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.note {
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 0;
}
.contact-info {
  display: grid;
  align-content: start;
  gap: 16px;
}
.contact-item {
  display: flex;
  gap: 20px;
  font-size: 15px;
  margin: 10px;
}
.icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #2e2e4f;
  color: #fff;
}
.icon-wa {
  background: var(--wa);
}
.contact-item a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-item a:hover {
  opacity: 0.9;
}
.btn {
  display: inline-block;
  appearance: none;
  border: 0;
  padding: 14px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 18px;
}
.btn:hover {
  filter: brightness(1.05);
}
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
footer {
  padding: 26px 0;
  color: #aab0bd;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer p,
footer nav {
  text-align: center;
}
footer .nav {
  justify-content: center;
  gap: 28px;
}
footer .nav a {
  font-size: 16px;
  padding: 0.35rem 0.8rem;
}
@media (max-width: 900px) {
  .grid--2 {
    grid-template-columns: 1fr;
  }
}
.section {
  padding-block: 2rem;
}
.muted {
  color: var(--muted);
}
.sep {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
:root {
  --header-h: 128px;
}
#about .about-hero.section-bg {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  padding-bottom: 0;
  padding-top: calc(var(--header-h) + 100px) !important;
}
#camera,
#maninchair {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
}
#camera .container,
#maninchair .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: transparent;
  padding: 12px 16px;
  z-index: 1000;
}
#about .about-hero .container {
  padding-right: clamp(16px, 3vw, 40px);
}
#about {
  overflow-x: hidden;
}
#index-info {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  padding-top: 0;
  padding-bottom: 0;
}

/* Success message: hidden state */
.form-success {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.08);
  color: var(--success);
  font-size: 15px;

  /* animation setup */
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

/* Visible state (fade in + slide down into place) */
.form-success.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-success .tick {
  color: #25d366;
  font-weight: 700;
  margin-right: 6px;
}

@media (min-width: 901px) {
  .about-hero .strip,
  .about-soc .strip,
  .about-cta .strip {
    max-width: calc((var(--container) - var(--gutter) * 2) / 2);
    margin-left: 0;
    margin-right: auto;
  }
}
.about-hero .container.grid {
  align-items: start;
}
@media (min-width: 901px) {
  .about-soc.section-bg,
  .about-cta.section-bg {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .about-soc .strip,
  .about-cta .strip {
    max-width: calc((var(--container) - var(--gutter) * 2) / 2);
    margin: 0;
    padding-block: 56px;
    border-radius: 0;
  }
  .about-soc .container,
  .about-cta .container {
    padding-top: 0;
    padding-bottom: 0;
  }
}
@media (max-width: 900px) {
  .about-soc .strip,
  .about-cta .strip {
    margin: 0;
    padding-block: 36px;
  }
}
@font-face {
  font-family: "Playfair Display";
  src: url("./fonts/static/PlayfairDisplay-Regular.ttf") format(truetype);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
