/* Consilient Therapy static closure site
   Colour scheme: understated pale and deep violet.
*/

:root {
  --page-bg: #eee6f5;
  --page-bg-deeper: #ded0ec;
  --panel-bg: #fbf8fd;
  --deep-purple: #2f183f;
  --deep-purple-soft: #3d2350;
  --mid-purple: #6f4c8f;
  --soft-purple: #d8c7e8;
  --soft-purple-2: #f3ecf8;
  --text-main: #24162e;
  --text-muted: #5f5068;
  --cream: #fffaf2;
  --link: #563075;
  --link-hover: #2f183f;
  --shadow: rgba(47, 24, 63, 0.14);
  --radius-large: 24px;
  --radius-medium: 16px;
  --max-width: 1060px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.62;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(111, 76, 143, 0.18), transparent 34rem),
    linear-gradient(145deg, var(--page-bg), var(--page-bg-deeper));
}

a {
  color: var(--link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus {
  color: var(--link-hover);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  color: var(--deep-purple);
  background: var(--cream);
  border-radius: 0.5rem;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  color: var(--deep-purple);
  background:
    linear-gradient(135deg, rgba(251, 248, 253, 0.98), rgba(231, 219, 242, 0.96)),
    var(--panel-bg);
  border-bottom: 1px solid rgba(111, 76, 143, 0.28);
  box-shadow: 0 10px 24px rgba(47, 24, 63, 0.08);
}

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

.compact-header .header-inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-link {
  display: block;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(11.5rem, 26vw, 18rem);
  height: auto;
  filter: drop-shadow(0 7px 12px rgba(47, 24, 63, 0.12));
}

.identity-text {
  min-width: 0;
}

.mark {
  width: 4.2rem;
  height: 4.2rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(248, 242, 251, 0.52);
  border-radius: 50%;
  color: var(--deep-purple);
  background: linear-gradient(145deg, #fbf8fd, #d8c7e8);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  font-size: 1.28rem;
  letter-spacing: 0.08em;
}

.site-kicker {
  margin: 0;
  color: var(--mid-purple);
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.75rem, 4vw, 3.15rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.site-nav {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.82rem;
  border: 1px solid rgba(111, 76, 143, 0.26);
  border-radius: 999px;
  color: var(--deep-purple);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.42);
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: #f8f2fb;
  background: var(--deep-purple);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.6rem 1.25rem 3.5rem;
}

.hero-panel,
.info-card,
.closing-note {
  background: var(--panel-bg);
  border: 1px solid var(--soft-purple);
  border-radius: var(--radius-large);
  box-shadow: 0 18px 42px var(--shadow);
}

.hero-panel {
  padding: clamp(1.65rem, 4vw, 3rem);
}

.narrow-panel {
  max-width: 860px;
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--mid-purple);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel h2 {
  max-width: 820px;
  margin: 0 0 1.25rem;
  color: var(--deep-purple);
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.06;
  font-weight: 400;
}

.lead {
  max-width: 860px;
  margin-top: 0;
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  color: var(--deep-purple-soft);
}

.notice-box {
  margin: 2rem 0;
  padding: 1.2rem 1.35rem;
  background: var(--soft-purple-2);
  border-left: 6px solid var(--mid-purple);
  border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
}

.notice-box p {
  margin: 0;
}

.content-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.info-card {
  padding: 1.55rem;
  border-radius: var(--radius-medium);
}

.info-card h3,
.urgent-strip h3 {
  margin: 0 0 0.55rem;
  color: var(--deep-purple);
  font-size: 1.32rem;
  font-weight: 400;
}

.info-card p {
  margin: 0.6rem 0 0;
}

.link-line {
  font-weight: 700;
}

.urgent-card {
  color: #f8f2fb;
  background:
    linear-gradient(145deg, rgba(47, 24, 63, 0.98), rgba(61, 35, 80, 0.98)),
    var(--deep-purple);
  border-color: rgba(248, 242, 251, 0.22);
}

.urgent-card h3,
.urgent-card strong {
  color: #fffaf2;
}

.urgent-card p {
  color: #eadff2;
}

.urgent-strip {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  color: #f8f2fb;
  background:
    linear-gradient(145deg, rgba(47, 24, 63, 0.98), rgba(61, 35, 80, 0.98)),
    var(--deep-purple);
  border-radius: var(--radius-medium);
}

.urgent-strip h3 {
  color: #fffaf2;
}

.urgent-strip p {
  margin: 0.4rem 0 0;
  color: #eadff2;
}

.back-link {
  margin-top: 1.6rem;
  font-weight: 700;
}

.closing-note {
  margin-top: 1.4rem;
  padding: 1.1rem 1.35rem;
  color: var(--text-muted);
  border-radius: var(--radius-medium);
}

.closing-note p {
  margin: 0;
}

.site-footer {
  padding: 1.8rem 1.25rem;
  color: #e9dff1;
  text-align: center;
  background: var(--deep-purple);
}

.site-footer p {
  margin: 0.15rem 0;
}

.small-print {
  font-size: 0.92rem;
  color: #cdbbdc;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

@media (max-width: 540px) {
  .identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: min(17rem, 82vw);
  }

  .mark {
    width: 3.35rem;
    height: 3.35rem;
    font-size: 1rem;
  }

  main {
    padding-top: 1.5rem;
  }

  .hero-panel {
    border-radius: 18px;
  }
}
