/* Archangel One — archangel.eu
   Single static page. No framework, no JavaScript. */

:root {
  --ink:        #112317;   /* base dark green */
  --ink-deep:   #0a1610;   /* below-fold ground */
  --paper:      #ffffff;
  --muted:      rgba(255, 255, 255, 0.58);
  --rule:       rgba(255, 255, 255, 0.14);
  --rule-soft:  rgba(255, 255, 255, 0.08);

  --serif: "Instrument Serif", "Times New Roman", Times, serif;
  --sans:  "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
           Helvetica, Arial, sans-serif;

  --gut: clamp(1.25rem, 5vw, 4.5rem);   /* page gutter */
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink-deep);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

::selection { background: rgba(255, 255, 255, 0.9); color: var(--ink); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.875rem;
  text-decoration: none;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 1px solid var(--paper);
  outline-offset: 4px;
}

/* ── Masthead ───────────────────────────────────────────── */

.masthead {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.5rem, 3.2vw, 2.5rem) var(--gut);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark__mark {
  display: block;
  width: auto;
  height: clamp(1.5rem, 2.4vw, 2rem);
  align-self: center;
}

.wordmark__one {
  font-family: var(--sans);
  font-size: clamp(0.625rem, 0.95vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.42em 0.6em 0.38em;
  border: 1px solid var(--rule);
  border-radius: 1px;
}

.nav {
  display: flex;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
}

.nav a {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.92;
}
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 8rem var(--gut) 5rem;
  overflow: hidden;
  background: var(--ink);
}

/* Hero photograph. */
.hero__sky {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #1b2f38;
  background-image: url("assets/hero-radar-web.jpg");
  background-size: cover;
  background-position: 62% 52%;
  background-repeat: no-repeat;
}

/* Edge vignette — keeps the type off the brightest part of the sky. */
.hero__sky::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(108% 84% at 50% 44%,
    rgba(8, 18, 14, 0) 34%,
    rgba(8, 18, 14, 0.30) 74%,
    rgba(8, 18, 14, 0.58) 100%);
}

/* 0.3 dark-green wash, as on the reference hero. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  opacity: 0.3;
}

/* 35mm film grain. Inline SVG turbulence — still zero JS. */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;  /* light — the photograph carries its own 35mm grain */
  mix-blend-mode: soft-light;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: clamp(20rem, 70vw, 56rem);
  margin: 0 auto;
  text-align: center;
  /* the type sits over the lit part of the dish — keep it readable */
  text-shadow: 0 1px 28px rgba(6, 16, 12, 0.55), 0 1px 4px rgba(6, 16, 12, 0.32);
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 6.6vw, 6.25rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.005em;
  hyphens: none;
}

/* ── Bands ──────────────────────────────────────────────── */

.band {
  display: grid;
  grid-template-columns: minmax(9rem, 15%) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--gut);
  border-top: 1px solid var(--rule-soft);
}

.band:first-child { border-top: 0; }

.band__label span {
  display: block;
  padding-top: 0.45em;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.band__body { max-width: min(100%, 45rem); }

.lede {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.4;
  letter-spacing: -0.008em;
  text-wrap: pretty;
}

/* ── Portfolio ──────────────────────────────────────────── */

.holdings {
  margin: 0;
  padding: 0;
  list-style: none;
}

.holding {
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--rule-soft);
}
.holding:first-child { padding-top: 0; border-top: 0; }

.holding__name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.875rem, 3.6vw, 2.875rem);
  font-weight: 400;
  line-height: 1.05;
}

.holding__line {
  margin: 0.65rem 0 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.4;
}

.holding__desc {
  margin: 0.5rem 0 0;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.holding__link {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.15em;
}
.holding__link:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* ── Contact ────────────────────────────────────────────── */

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, max-content));
  gap: clamp(1.5rem, 4vw, 4.5rem);
  margin: 0;
}

.contact dt {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact dd {
  margin: 0.5rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.2;
}

.contact dd a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.contact dd a:hover { border-bottom-color: var(--paper); }

.band--last { padding-bottom: clamp(4rem, 8vw, 7rem); }

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--rule-soft);
}

.footer p {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.75rem, 3vw, 2.5rem) var(--gut);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: min(var(--max), 100%);
}

.footer__copy { white-space: nowrap; }

/* ── Narrow ─────────────────────────────────────────────── */

@media (max-width: 720px) {
  .band {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .band__label span { padding-top: 0; }
  .nav { gap: 1.1rem; }
  .nav a { font-size: 0.9375rem; }
  .hero__inner { max-width: 100%; }
}

@media (max-width: 520px) {

  /* the logo already reads "Archangel" — give the nav the room back */
  .masthead { gap: 1rem; }
  .wordmark { gap: 0.5rem; }
  .wordmark__mark { height: 1.25rem; }
  .wordmark__one {
    font-size: 0.5625rem;
    letter-spacing: 0.16em;
    padding: 0.36em 0.5em 0.32em;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
