/* Asylum Lifeline Support International
   Programme: Operation 911 Rescue for Women and Children in Conflict Zones. */

:root {
  --sea: #0b3d91;
  --sea-mid: #0b3d91;
  --sea-deep: #0b3d91;
  --foam: #ffffff;
  --cream: #ffffff;
  --sand: #ffffff;
  --copper: #0b3d91;
  --copper-deep: #0b3d91;
  --moss: #1565c0;
  --ink: #0b3d91;
  --muted: #1565c0;
  --rule: #0b3d91;
  --notice-bg: #ffffff;
  --notice-ink: #0b3d91;
  --banner-bg: #ffffff;
  --banner-fg: #0b3d91;
  --placeholder-bg: #ffffff;
  --placeholder-ink: #0b3d91;
  --focus: #1565c0;
  --blue: #1565c0;
  --navy: #0b3d91;
  --white: #ffffff;
  --max: 68rem;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--foam);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--sea-deep);
  text-wrap: balance;
}

h1 { margin: 0 0 1.25rem; }
h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--moss);
  text-underline-offset: 0.15em;
}
a:hover { color: var(--copper-deep); }
a:focus-visible,
button:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.ext {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--cream);
  color: var(--sea);
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus {
  top: 0;
}

/* Top emergency notice — always first, high contrast, not siren-red */
.emergency-banner {
  background: #ffffff;
  color: var(--navy);
  padding: 0.7rem var(--space);
  font-size: 0.95rem;
  line-height: 1.45;
  border-bottom: 3px solid var(--navy);
}
.emergency-banner p { margin: 0; max-width: var(--max); margin-inline: auto; }
.emergency-banner strong { font-weight: 700; }

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem var(--space);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--sea);
  min-width: 0;
}
.wordmark:hover { color: var(--sea-mid); }
.mark {
  flex: 0 0 auto;
  color: var(--copper);
}
.wordmark-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.wordmark-org {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.1vw, 1.4rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.15;
}
.wordmark-programme {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--blue);
  line-height: 1.3;
  margin-top: 0.15rem;
}
.wordmark-programme .flag-icon {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.08rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
.site-nav a {
  color: var(--sea);
  text-decoration: none;
  font-weight: 600;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  color: var(--copper-deep);
}

.hero,
.section,
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

.hero {
  padding-top: clamp(1.5rem, 3.5vw, 2.4rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hero-identity {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem 1.35rem;
  margin-bottom: 0.95rem;
  flex-wrap: wrap;
}
.hero-logo {
  flex: 0 0 auto;
  width: clamp(4.25rem, 8vw, 5.75rem);
  height: clamp(4.25rem, 8vw, 5.75rem);
  color: var(--navy);
}
.hero-titles { min-width: 0; flex: 1 1 16rem; }
#site-title {
  display: block;
  font-size: clamp(2.15rem, 6vw, 4.05rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--navy);
  margin: 0 0 0.4rem;
}
.programme-line {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  line-height: 1.25;
  color: var(--navy);
}
.programme-line .flag-icon,
.flag-icon {
  flex: 0 0 auto;
  width: 1.25em;
  height: 1.25em;
  margin-top: 0.12em;
  display: block;
}

.mission-lead {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  max-width: 40rem;
  color: var(--sea);
  margin-bottom: 1.05rem;
}


/* Hero illustrative image: full width of the content column, responsive */
.hero-illustration {
  margin: 0 0 1.25rem;
  width: 100%;
}
.hero-illustration img {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
}
.hero-illustration figcaption {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--muted);
}

.notice {
  background: var(--notice-bg);
  color: var(--notice-ink);
  border-left: 4px solid var(--copper);
  padding: 1rem 1.15rem;
  margin: 0 0 1.05rem;
  max-width: 44rem;
}
.notice-numbers {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.hashtags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
}
.hash {
  font-weight: 700;
  color: var(--sea-mid);
  letter-spacing: -0.01em;
}
.hashtags li .hash,
.footer-hashes li .hash {
  display: inline-block;
  background: #ffffff;
  color: var(--navy);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--blue);
  font-size: 0.95rem;
}
.hashtag-note {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.7rem 1.15rem;
  border-radius: 2px;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}
.btn-ghost {
  background: transparent;
  color: var(--sea);
  border-color: var(--sea);
}
.btn-ghost:hover {
  background: var(--sea);
  color: var(--foam);
}

.status-line {
  font-size: 1rem;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--navy);
  padding: 0.75rem 1rem;
  max-width: 44rem;
}

.section {
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 1px solid var(--rule);
}

.prose { max-width: 42rem; }
.prose p { margin-bottom: 1rem; }

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.55rem 1rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: 52rem;
}
.values li {
  padding: 0.65rem 0.85rem 0.65rem 0.9rem;
  background: var(--cream);
  border-left: 3px solid var(--moss);
  font-weight: 600;
  font-size: 1rem;
}

.programmes {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: prog;
  display: grid;
  gap: 1.5rem;
}
.programmes li {
  counter-increment: prog;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.1rem;
  column-gap: 1.15rem;
  max-width: 46rem;
}
.programmes li::before {
  content: counter(prog, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--copper);
  line-height: 1;
  grid-row: 1 / span 2;
  padding-top: 0.15rem;
}
.programmes h3 { grid-column: 2; }
.programmes p {
  grid-column: 2;
  margin: 0;
  color: var(--ink);
}

ul.plain {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}
ul.plain li { margin-bottom: 0.4rem; }

.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid var(--rule);
  background: var(--cream);
}

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  min-width: 32rem;
}
.ledger caption {
  text-align: left;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.75rem 1rem;
  caption-side: top;
}
.ledger th,
.ledger td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--rule);
  vertical-align: top;
}
.ledger th {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  background: var(--sand);
  border-top: 0;
}
.ledger .empty td {
  font-style: italic;
  color: var(--muted);
  text-align: center;
  padding: 1.4rem 1rem;
}

.donate-intro { max-width: 42rem; margin-bottom: 1.25rem; }

.bank-block {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 1.25rem 1.35rem 1.1rem;
  max-width: 38rem;
}
.bank-block h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}
.placeholder-flag {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--placeholder-ink);
  background: var(--placeholder-bg);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  margin-bottom: 1rem;
}

.bank-details {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.bank-details div {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 0.5rem 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}
.bank-details div:last-child { border-bottom: 0; padding-bottom: 0; }
.bank-details dt {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin: 0;
  padding-top: 0.15rem;
}
.bank-details dd { margin: 0; font-weight: 600; }

.placeholder {
  display: inline-block;
  font-weight: 700;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--placeholder-bg);
  color: var(--placeholder-ink);
  padding: 0.1rem 0.4rem;
  border: 1px dashed var(--copper);
}
.placeholder-hint {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.fine-print {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 42rem;
  margin-top: 1rem;
}

.jp-name {
  font-weight: 600;
  font-family: "Noto Sans CJK JP", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

.bank-note {
  margin: 1.15rem 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--navy);
  max-width: 36rem;
}

.partner-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem 1.75rem;
  margin-top: 1.25rem;
}
.partner-groups h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--sand);
}
.partner-groups ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.partner-groups li { margin: 0 0 0.45rem; }
.partner-groups a { font-weight: 600; }

.site-footer {
  background: #ffffff;
  color: var(--navy);
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  margin-top: 1rem;
  border-top: 3px solid var(--navy);
}
.site-footer a { color: var(--blue); }
.site-footer a:hover { color: var(--navy); }
.footer-name {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 0.55rem;
  color: var(--navy);
}
.footer-programme {
  margin: 0 0 0.85rem;
  max-width: 40rem;
}
.site-footer .status-line {
  background: #ffffff;
  border-color: var(--navy);
  color: var(--navy);
  margin: 1rem 0 1.25rem;
}
.site-footer .hash { color: var(--navy); }
.site-footer .hashtags li .hash,
.site-footer .footer-hashes li .hash {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid var(--blue);
}
.site-footer .hashtag-note,
.share-line,
.copyright {
  color: var(--navy);
}
.share-line {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--navy);
  max-width: 50rem;
}
.copyright {
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

@media (max-width: 40rem) {
  body { font-size: 1.05rem; }
  .bank-details div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .programmes li {
    grid-template-columns: 1fr;
  }
  .programmes li::before {
    grid-row: auto;
    margin-bottom: 0.2rem;
  }
  .programmes h3,
  .programmes p { grid-column: 1; }
  .ledger { min-width: 28rem; }
}

@media (max-width: 30rem) {
  .header-inner { padding-top: 0.65rem; padding-bottom: 0.65rem; }
  .site-nav ul { gap: 0.3rem 0.8rem; font-size: 0.88rem; }
}


/* Founder's story, leadership, contact */
.founder-story {
  margin: 1.25rem 0 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
  max-width: 58rem;
}
.founder-story h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  margin-bottom: 1.1rem;
}
.story-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 16.5rem) 1fr;
  gap: 1.5rem 1.75rem;
  align-items: start;
  max-width: none;
}
.founder-portrait {
  margin: 0;
  text-align: center;
}
.founder-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 3px solid #0b3d91;
  background: #ffffff;
}
.founder-portrait figcaption {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--navy);
  text-wrap: pretty;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.founder-name {
  display: block;
  font-weight: 700;
}
.founder-role {
  display: block;
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.35;
}
@media (max-width: 44rem) {
  .story-layout {
    grid-template-columns: 1fr;
  }
  .founder-portrait {
    max-width: 16rem;
    margin: 0 auto 0.25rem;
  }
}
.story-prose {
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  line-height: 1.55;
}
.story-prose p { margin-bottom: 1rem; }

.founder-view {
  margin: 1.35rem 0;
  padding: 1.1rem 1.2rem 1.15rem 1.25rem;
  border-left: 4px solid var(--copper);
  background: var(--cream);
}
.view-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper-deep);
  margin-bottom: 0.4rem;
}
.founder-view p:last-of-type {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--sea-deep);
  margin: 0;
}

.signature {
  margin: 1.25rem 0 0.25rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--sea);
}
.leadership,
.about-line {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.25rem;
}
.about-line { margin-top: 1.25rem; }

.btn-accent {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}
.btn-accent:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}
.hero-actions .btn {
  font-size: 1.05rem;
  padding: 0.8rem 1.25rem;
}

.contact-card {
  font-style: normal;
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 1.15rem 1.25rem;
  max-width: 38rem;
  display: grid;
  gap: 0.7rem;
}
.contact-card p { margin: 0; }
.contact-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.footer-contact {
  margin: 1rem 0;
  color: var(--navy);
  max-width: 42rem;
  line-height: 1.55;
}
.site-footer .leadership {
  color: var(--navy);
}
