/* anting.co.uk — homepage, Björk-inspired dark editorial style */
:root {
  --bg: #0a0a0c;
  --bg-raised: #121216;
  --bg-card: rgba(255, 255, 255, 0.04);
  --fg: #eef1f4;
  --fg-dim: #9aa3ad;
  --fg-faint: #6b7280;
  --accent: #7ee0d8;
  --accent-deep: #2f8f88;
  --border: rgba(255, 255, 255, 0.12);
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --content: 1080px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--accent);
  color: #061a18;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--fg);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.container {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header — transparent over the hero, logo centred ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}

.main-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.15s;
}

.main-nav a:hover {
  color: var(--accent);
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.brand img {
  height: 46px;
  width: auto;
}

/* social bar — the distinct spot, right side */
.social-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-bar a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--fg);
  border: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.social-bar a:hover {
  color: var(--accent);
  border-color: var(--accent-deep);
  background: var(--bg-card);
}

.social-bar svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-bar .screen-reader-text,
.footer-socials .screen-reader-text,
.newsletter-form .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}

.hero video,
.hero .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* top fade keeps the menu & icons legible; bottom fade carries the text */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 12, 0.55) 0%,
    rgba(10, 10, 12, 0.18) 22%,
    rgba(10, 10, 12, 0.12) 50%,
    rgba(10, 10, 12, 0.9) 100%
  );
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12vh;
  text-align: center;
  padding: 0 24px;
}

.hero-bio {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--fg);
}

.hero-quote {
  max-width: 500px;
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.hero-quote p {
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
}

.hero-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  padding: 7vh 0 5vh;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.footer-grid h3 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-grid .intro {
  color: var(--fg-dim);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input[type='email'] {
  flex: 1 1 220px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg);
  font-family: var(--font);
  font-size: 0.95rem;
}

.newsletter-form input[type='email']::placeholder {
  color: var(--fg-faint);
}

.newsletter-form input[type='email']:focus {
  outline: none;
  border-color: var(--accent-deep);
}

.newsletter-form button {
  padding: 14px 26px;
  background: none;
  border: 1px solid var(--fg);
  border-radius: 6px;
  color: var(--fg);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.newsletter-form button:hover {
  background: var(--fg);
  color: var(--bg);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--fg-dim);
  transition: color 0.15s, border-color 0.15s;
}

.footer-socials a:hover {
  color: var(--accent);
  border-color: var(--accent-deep);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-legal {
  margin-top: 5vh;
  padding-top: 3vh;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--fg-faint);
  font-size: 0.82rem;
}

.footer-legal a {
  color: var(--fg-dim);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px 26px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .main-nav a {
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .social-bar {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand img {
    height: 38px;
  }

  .social-bar a {
    width: 34px;
    height: 34px;
  }

  .hero-content {
    bottom: 10vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
