/* =========================================================
   FRIDAI PUBLIC SITE — HOMEPAGE PROTOTYPE
   Public library warmth + modern AI credibility
   ========================================================= */

:root {
  --ink: #191414;
  --ink-soft: #2c2929;
  --deep-green: #06120c;
  --deep-green-2: #0a2114;
  --brand: #1db954;
  --brand-bright: #1ed760;
  --brand-deep: #1d4925;
  --paper: #fbfaf6;
  --paper-warm: #f4efe5;
  --paper-deep: #e9e0cf;
  --white: #ffffff;
  --muted: #68635b;
  --line: rgba(25, 20, 20, 0.13);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 8px 24px rgba(20, 18, 14, 0.08);
  --shadow-md: 0 20px 60px rgba(20, 18, 14, 0.13);
  --shadow-green: 0 20px 55px rgba(29, 185, 84, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --site-width: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.035em;
}

h3 {
  letter-spacing: -0.02em;
}

.sr-only {
  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: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 40px), var(--site-width));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 108px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 16px rgba(29, 185, 84, 0.5);
}

.eyebrow.dark {
  color: var(--brand-deep);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.72);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
.desktop-nav a:focus-visible,
.mobile-nav a:focus-visible,
.arrow-link:focus-visible,
.guide-body a:focus-visible {
  outline: 3px solid rgba(29, 185, 84, 0.42);
  outline-offset: 4px;
}

.button-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(29, 185, 84, 0.28);
}

.button-primary:hover {
  background: var(--brand-bright);
  box-shadow: 0 14px 36px rgba(29, 185, 84, 0.35);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
}

.button-small {
  min-height: 40px;
  padding: 0 17px;
  font-size: 0.83rem;
}

.button-light {
  background: var(--white);
  color: var(--deep-green);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.button-light:hover {
  background: var(--paper);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link:hover {
  color: var(--brand-bright);
}

.dark-link {
  color: var(--brand-deep);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(6, 18, 12, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 18, 12, 0.94);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}


/* =========================================================
   HEADER BRAND WORDMARK
   ========================================================= */

.site-header .brand-lockup {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.site-header .brand-wordmark {
  display: block;
  width: clamp(290px, 25vw, 400px);
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.site-header .brand-mobile-icon {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

/* Give the navigation bar more horizontal space than normal page sections */

.site-header .header-inner {
  width: min(calc(100% - 48px), 1500px);
  max-width: none;
  margin-inline: auto;
}

.site-header .brand-lockup {
  flex: 0 0 auto;
  margin: 0;
}

.site-header .brand-wordmark {
  display: block;
  width: clamp(290px, 25vw, 400px);
  max-width: none;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.87rem;
  font-weight: 750;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--white);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.signin-link {
  color: rgba(255, 255, 255, 0.86);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.mobile-menu-button span:not(.sr-only) {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-button.is-open span:nth-of-type(2) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-of-type(3) {
  opacity: 0;
}

.mobile-menu-button.is-open span:nth-of-type(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 76px 0 auto 0;
  padding: 18px 20px 24px;
  background: var(--deep-green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.25);
}

.mobile-nav a {
  display: block;
  width: min(100%, 680px);
  margin: 0 auto 8px;
  padding: 14px 16px;
  color: var(--white);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav a:hover {
  color: var(--brand-bright);
  border-color: rgba(29, 185, 84, 0.32);
  background: rgba(29, 185, 84, 0.08);
}

/* Hero */
.hero {
  position: relative;
  min-height: 830px;
  display: flex;
  align-items: center;
  padding: 146px 0 86px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(29, 185, 84, 0.28), transparent 27%),
    radial-gradient(circle at 12% 80%, rgba(29, 185, 84, 0.13), transparent 30%),
    linear-gradient(135deg, #06120c 0%, #0a2114 56%, #123a20 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 90%);
}

.hero-copy h1 em {
  display: block;
  margin-top: 0.18em;
}

.hero-architecture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
}

.arch {
  position: absolute;
  bottom: -160px;
  width: 320px;
  height: 610px;
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-bottom: 0;
  border-radius: 160px 160px 0 0;
}

.arch-one { left: -100px; }
.arch-two { left: calc(50% - 160px); }
.arch-three { right: -100px; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: 74px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.55rem, 6.4vw, 6.35rem);
  line-height: 0.98;
  font-weight: 500;
}

.hero-copy h1 em {
  display: block;
  color: var(--brand-bright);
  font-style: italic;
  text-shadow: 0 0 42px rgba(29, 185, 84, 0.22);
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 650;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 5px rgba(29, 185, 84, 0.12), 0 0 18px rgba(29, 185, 84, 0.75);
}

.reading-room {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.reading-room::before,
.reading-room::after {
  content: "";
  position: absolute;
  top: 82px;
  bottom: 72px;
  width: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(to right, transparent 0 5px, rgba(255, 255, 255, 0.08) 5px 7px, transparent 7px 15px, rgba(255, 255, 255, 0.08) 15px 17px, transparent 17px);
}

.reading-room::before { left: -32px; }
.reading-room::after { right: -32px; }

.room-topline,
.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.room-topline {
  margin-bottom: 18px;
}

.room-topline p,
.room-topline span,
.room-footer span {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.room-topline p {
  color: rgba(255, 255, 255, 0.95);
}

.room-topline span,
.room-footer span {
  color: rgba(255, 255, 255, 0.72);
}


.room-arch {
  position: relative;
  padding: 70px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 180px 180px 22px 22px;
  background:
    radial-gradient(circle at 50% 8%, rgba(29, 185, 84, 0.22), transparent 30%),
    rgba(6, 18, 12, 0.82);
}

.room-arch::before {
  content: "FRIDAI KNOWLEDGE COLLECTION";
  position: absolute;
  top: 29px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.catalog-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(25, 20, 20, 0.11);
  border-radius: 14px;
  color: var(--ink);
  background: linear-gradient(145deg, #fffefb, #eee6d7);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.card-featured {
  min-height: 160px;
  margin-bottom: 14px;
  align-items: center;
}

.catalog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.catalog-row .catalog-card {
  min-height: 128px;
}

.catalog-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(29, 185, 84, 0.28);
  border-radius: 50%;
  color: var(--brand-deep);
  background: rgba(29, 185, 84, 0.08);
  font-family: var(--serif);
  font-size: 0.8rem;
  font-weight: 700;
}

.catalog-kicker {
  margin-bottom: 6px;
  color: var(--brand-deep);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.catalog-card h2,
.catalog-card h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  line-height: 1.08;
}

.catalog-card h2 {
  font-size: 1.7rem;
}

.catalog-card h3 {
  font-size: 1.1rem;
}

.catalog-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.room-footer {
  margin-top: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.room-footer span + span::before {
  content: "•";
  margin-right: 12px;
  color: var(--brand);
}

/* Trust strip */
.trust-band {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid p {
  display: flex;
  align-items: center;
  min-height: 86px;
  margin: 0;
  padding: 18px 24px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.trust-grid p:last-child {
  border-right: 1px solid var(--line);
}

.trust-grid span {
  margin-right: 12px;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 0.76rem;
}

/* General headings */
.section-heading {
  margin-bottom: 58px;
}

.section-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 4.3vw, 4.2rem);
  line-height: 1.08;
  font-weight: 500;
}

.section-heading > p:not(.eyebrow),
.section-heading > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 80px;
  align-items: end;
}

.split-heading > p,
.split-heading > div:last-child p {
  margin-bottom: 0;
}

.centered {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

/* Barriers */
.section-warm {
  background:
    radial-gradient(circle at 95% 12%, rgba(29, 185, 84, 0.08), transparent 24%),
    var(--paper-warm);
}

.barrier-intro {
  max-width: 1040px;
  margin: 0 auto clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
}

.barrier-intro .eyebrow {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.barrier-intro h2 {
  max-width: 1000px;
  margin: 0 auto;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.barrier-intro-text {
  max-width: 720px;
  margin: 2rem auto 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  color: rgba(25, 20, 20, 0.68);
  text-wrap: balance;
}

@media (max-width: 640px) {
  .barrier-intro {
    margin-bottom: 3rem;
  }

  .barrier-intro h2 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  .barrier-intro-text {
    margin-top: 1.5rem;
    text-wrap: pretty;
  }
}

.barrier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow-sm);
}

.barrier-card {
  position: relative;
  min-height: 340px;
  padding: 40px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  transition: transform 0.25s ease, background 0.25s ease;
}

.barrier-card:last-child {
  border-right: 0;
}

.barrier-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.88);
}

.barrier-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 50px;
  border: 1px solid rgba(29, 185, 84, 0.22);
  border-radius: 50%;
  color: var(--brand-deep);
  background: rgba(29, 185, 84, 0.08);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.shield-icon {
  transform: rotate(45deg);
}

.card-number {
  margin-bottom: 10px;
  color: var(--brand-deep);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.barrier-card h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.barrier-card > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

/* Journey */
.section-dark {
  color: var(--white);
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    var(--deep-green);
  background-size: 44px 44px;
}

.light-heading h2,
.light-heading p {
  color: var(--white);
}

.light-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.journey-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.journey-step {
  min-height: 300px;
  padding: 38px 32px;
  background: rgba(255, 255, 255, 0.045);
  transition: background 0.25s ease;
}

.journey-step:hover {
  background: rgba(29, 185, 84, 0.09);
}

.journey-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 62px;
  border: 1px solid rgba(29, 185, 84, 0.42);
  border-radius: 50%;
  color: var(--brand-bright);
  font-family: var(--serif);
  font-size: 0.8rem;
}

.journey-step h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
}

.journey-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.9rem;
}

/* Learning Center */
.learning-section {
  background: var(--paper);
}

.learning-heading {
  align-items: start;
}

.arrow-link,
.guide-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  font-weight: 900;
}

.arrow-link {
  margin-top: 18px;
}

.arrow-link span,
.guide-body a span {
  transition: transform 0.2s ease;
}

.arrow-link:hover span,
.guide-body a:hover span {
  transform: translateX(4px);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.guide-card-featured {
  border-color: rgba(29, 185, 84, 0.32);
  box-shadow: var(--shadow-green);
}

.guide-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.guide-category,
.guide-read-time {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.guide-category {
  color: var(--brand-deep);
}

.guide-read-time {
  color: #938d82;
}

.guide-illustration {
  position: relative;
  min-height: 190px;
  margin: 20px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--deep-green);
}

.architecture-card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 13px;
  padding: 26px;
  background:
    radial-gradient(circle at 50% 20%, rgba(29,185,84,0.3), transparent 30%),
    var(--deep-green);
}

.architecture-card span {
  width: 58px;
  height: 130px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 0;
  border-radius: 29px 29px 0 0;
  background: rgba(255,255,255,0.025);
}

.architecture-card span:nth-child(2) {
  height: 155px;
  border-color: rgba(29, 185, 84, 0.55);
}

.roadmap-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(29,185,84,0.22), transparent 55%),
    var(--deep-green);
}

.roadmap-card::before {
  content: "";
  position: absolute;
  left: 17%;
  right: 17%;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.roadmap-card span {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 8px solid var(--deep-green);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.28), 0 0 24px rgba(29,185,84,0.32);
}

.barrier-illustration {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  background:
    radial-gradient(circle at 90% 10%, rgba(29,185,84,0.2), transparent 25%),
    var(--deep-green);
}

.barrier-illustration span {
  display: block;
  width: fit-content;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.05);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.barrier-illustration span:nth-child(2) { margin-left: 18%; }
.barrier-illustration span:nth-child(3) { margin-left: 36%; color: var(--brand-bright); }

.guide-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 10px 26px 28px;
}

.guide-body h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.16;
  font-weight: 500;
}

.guide-body p {
  margin-bottom: 28px;
  color: var(--muted);
}

.guide-body a {
  margin-top: auto;
  font-size: 0.88rem;
}

/* Library implementation section */
.library-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 40%, rgba(29, 185, 84, 0.12), transparent 28%),
    var(--paper-warm);
}

.library-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 90px;
  align-items: center;
}

.library-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 4.4vw, 4.4rem);
  line-height: 1.05;
  font-weight: 500;
}

.library-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.02rem;
}

.library-benefits {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}

.library-benefits p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 750;
}

.library-benefits span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand);
  font-size: 0.75rem;
  box-shadow: 0 5px 16px rgba(29,185,84,0.25);
}

.library-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.library-stacks {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  padding: 72px 42px 70px;
  border: 1px solid var(--line);
  border-radius: 28px 28px 150px 150px;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    var(--deep-green);
  background-size: 32px 32px;
  box-shadow: var(--shadow-md);
}

.library-stacks::before {
  content: "THE FRIDAI COLLECTION";
  position: absolute;
  top: 29px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.48);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.shelf {
  position: absolute;
  left: 28px;
  right: 28px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: linear-gradient(to bottom, #6a5435, #362b1d);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.32);
}

.shelf-top { top: 76px; }
.shelf-bottom { bottom: 48px; }

.book {
  position: relative;
  z-index: 1;
  width: 30%;
  min-height: 330px;
  padding: 30px 22px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9px 9px 4px 4px;
  color: var(--white);
  box-shadow: 0 20px 30px rgba(0,0,0,0.28), inset 5px 0 0 rgba(255,255,255,0.07);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}

.book:hover { transform: translateY(-10px); }

.book-one { background: linear-gradient(160deg, #1d4925, #0b2112); }
.book-two { min-height: 380px; background: linear-gradient(160deg, #1db954, #126f35); }
.book-three { min-height: 300px; background: linear-gradient(160deg, #253d2b, #101c14); }

.book span {
  display: block;
  margin-bottom: 90px;
  color: rgba(255,255,255,0.55);
  font-family: var(--serif);
  font-size: 0.8rem;
}

.book h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
}

.book-two h3 {
  width: calc(100% + 44px);
  margin-left: -22px;
  text-align: center;
}

.book p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.67);
  font-size: 0.83rem;
}

/* Audiences */
.audience-section {
  background: var(--paper);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.audience-grid article {
  min-height: 180px;
  padding: 30px 20px;
  border-right: 1px solid var(--line);
  background: var(--white);
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.audience-grid article:last-child {
  border-right: 0;
}

.audience-grid article:hover {
  background: rgba(29,185,84,0.05);
  transform: translateY(-4px);
}

.audience-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border: 1px solid rgba(29,185,84,0.22);
  border-radius: 50%;
  color: var(--brand-deep);
  background: rgba(29,185,84,0.07);
  font-family: var(--serif);
  font-weight: 700;
}

.audience-grid h3 {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* Closing */
.closing-section {
  padding-top: 50px;
  background: var(--paper);
}

.closing-card {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 74px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 50% 20%, rgba(29,185,84,0.32), transparent 30%),
    linear-gradient(145deg, var(--deep-green), #10391f);
  box-shadow: var(--shadow-md);
}

.closing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.closing-architecture {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  opacity: 0.13;
}

.closing-architecture span {
  width: 190px;
  height: 350px;
  border: 2px solid var(--white);
  border-bottom: 0;
  border-radius: 95px 95px 0 0;
}

.closing-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.closing-content .eyebrow {
  justify-content: center;
}

.closing-content h2 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  font-weight: 500;
}

.closing-content p:not(.eyebrow) {
  max-width: 670px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Footer */
.site-footer {
  padding: 78px 0 26px;
  color: var(--white);
  background: #030b06;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 90px;
  padding-bottom: 60px;
}

/* =========================================================
   FOOTER WORDMARK
   ========================================================= */

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.footer-brand .footer-wordmark {
  display: block;
  width: clamp(300px, 28vw, 440px);
  max-width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.footer-brand p {
  max-width: 390px;
  margin: 24px 0 0;
}

.footer-brand p {
  max-width: 390px;
  margin-top: 22px;
}

.footer-brand p {
  max-width: 300px;
  color: rgba(255,255,255,0.54);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-links h2 {
  margin-bottom: 20px;
  color: rgba(255,255,255,0.42);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin-bottom: 11px;
  color: rgba(255,255,255,0.74);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--brand-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 1080px) {
  .desktop-nav {
    gap: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .reading-room {
    max-width: 720px;
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .audience-grid article:nth-child(3) {
    border-right: 0;
  }

  .audience-grid article:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }

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

  .library-copy {
    max-width: 760px;
  }

  .library-stacks {
    max-width: 720px;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .signin-link,
  .header-actions .button-small {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .barrier-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .barrier-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .barrier-card:last-child {
    border-bottom: 0;
  }

  .journey-line {
    grid-template-columns: 1fr 1fr;
  }

  .journey-step {
    min-height: 250px;
  }

  .guide-card {
    min-height: auto;
  }

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

   .site-header .brand-wordmark {
    display: none;
  }

  .site-header .brand-mobile-icon {
    display: block;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--site-width));
  }

  .section {
    padding: 78px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 72px;
    height: 54px;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    padding: 124px 0 68px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .closing-actions,
  .library-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .closing-actions .button,
  .library-actions .button {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;
  }

  .reading-room {
    padding: 14px;
    border-radius: 22px;
  }

  .reading-room::before,
  .reading-room::after {
    display: none;
  }

  .room-arch {
    padding: 62px 12px 12px;
  }

  .catalog-row {
    grid-template-columns: 1fr;
  }

  .room-footer span + span::before {
    display: none;
  }

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

  .trust-grid p {
    min-height: 72px;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid p:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .trust-grid p:nth-child(3),
  .trust-grid p:nth-child(4) {
    border-bottom: 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2 {
    font-size: clamp(2.2rem, 12vw, 3.3rem);
  }

  .barrier-card {
    padding: 30px;
  }

  .barrier-icon {
    margin-bottom: 34px;
  }

  .journey-line {
    grid-template-columns: 1fr;
  }

  .journey-step {
    min-height: auto;
  }

  .journey-number {
    margin-bottom: 34px;
  }

  .guide-top {
    align-items: flex-start;
  }

  .guide-illustration {
    min-height: 165px;
  }

  .library-stacks {
    min-height: 455px;
    gap: 8px;
    padding: 60px 18px 60px;
  }

  .book {
    padding: 22px 12px;
  }

  .book span {
    margin-bottom: 65px;
  }

  .book h3 {
    font-size: 1.35rem;
  }

  .book p {
    font-size: 0.72rem;
  }

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

  .audience-grid article:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .audience-grid article:nth-child(even) {
    border-right: 0;
  }

  .audience-grid article:nth-child(-n+4) {
    border-bottom: 1px solid var(--line);
  }

  .closing-card {
    min-height: 520px;
    padding: 52px 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@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;
  }
}


