/* ISS-A holding site. One stylesheet, no external resources. */

/* ---------- Fonts (self-hosted, subset: Latin, Latin-1, Latin Ext-A, General Punctuation) ---------- */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4/source-serif-4-400.v1.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4/source-serif-4-600.v1.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3/source-sans-3-400.v1.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3/source-sans-3-400-italic.v1.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3/source-sans-3-600.v1.woff2") format("woff2");
}

/* ---------- Brand tokens (03_Website/CLAUDE.md) ---------- */

:root {
  --navy: #14284a;
  --lapis: #1f4e9c;
  --sand: #c9a86a;      /* decorative only, never as text on paper */
  --sand-deep: #8a6a2f; /* small accent text on paper */
  --paper: #f8f6f1;

  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;

  --measure: 40rem;
  --gutter: 1.25rem;

  color-scheme: light;
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

p {
  margin: 0 0 1rem;
}

strong {
  font-weight: 600;
}

[lang="de"] {
  hyphens: auto;
}

/* ---------- Links and focus ---------- */

a {
  color: var(--lapis);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus {
  outline: 3px solid var(--lapis);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible {
  outline: 3px solid var(--lapis);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

main {
  flex: 1 0 auto;
}

/* ---------- Holding page ---------- */

.holding main {
  display: flex;
  align-items: center;
  text-align: center;
  padding: 3.5rem 0 2.5rem;
}

.holding h1 {
  margin: 0 auto 2rem;
  width: 16rem;
  max-width: 100%;
}

.descriptor {
  margin: 0 0 1.5rem;
  font-size: 1.1875rem;
}

.descriptor > span,
.slogan > span,
.status > span {
  display: block;
}

.descriptor [lang="en"] {
  font-weight: 600;
}

.descriptor [lang="de"] {
  font-style: italic;
}

.slogan {
  margin: 0 0 1.75rem;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.35;
  color: var(--navy);
}

.slogan [lang="en"] {
  font-weight: 600;
}

.slogan [lang="de"] {
  font-weight: 400;
}

.rule {
  width: 4rem;
  height: 0;
  margin: 0 auto 1.75rem;
  border-top: 2px solid var(--sand);
}

.status {
  margin: 0 0 2rem;
  color: var(--sand-deep);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro {
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.contact {
  margin: 0;
}

/* ---------- Text pages ---------- */

.site-header {
  /* the header logo file is cropped tight (no built-in padding), so the
     spacing lives here; its left edge lines up with the paragraphs */
  padding: 2.5rem 0 0.9rem;
}

.site-header a {
  display: inline-block;
}

.site-header img {
  width: 7.35rem;
}

@media (min-width: 25em) {
  .site-header img {
    width: 10.25rem;
  }
}

.text main {
  padding: 2.5rem 0 3rem;
}

.text h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.text h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.375rem;
}

/* Justified body text on text pages (founder's request, 2 Oct 2026).
   Hyphenation keeps word gaps even; below 30em (narrow phones) text stays
   left-aligned, because justified lines there leave large gaps. */
@media (min-width: 30em) {
  .text main p {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}

.text section + section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--sand);
}

.text section > h2:first-child {
  margin-top: 0;
}

.meta {
  margin-bottom: 2rem;
  color: var(--sand-deep);
  font-size: 0.9375rem;
}

.numbered {
  padding-left: 1.5rem;
}

.numbered li {
  padding-left: 0.25rem;
}

.subtitle {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
}

.address {
  margin: 0 0 1rem;
  font-style: normal;
}

.placeholder {
  outline: 1px dashed var(--sand-deep);
  outline-offset: 2px;
  padding: 0 0.25em;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 1.5rem 0 2rem;
  font-size: 0.9375rem;
}

.holding .site-footer {
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer .sep {
  padding: 0 0.35em;
}

/* ---------- Larger screens ---------- */

@media (min-width: 48em) {
  body {
    font-size: 1.125rem;
  }

  .holding h1 {
    width: 20rem;
  }

  .slogan {
    font-size: 1.5rem;
  }

  .text h1 {
    font-size: 2.375rem;
  }

  .site-header {
    padding-top: 3rem;
  }
}

/* ---------- Motion (none is used; keep it that way for users who ask) ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
