/*
Theme Name: Assas Future of Law
Theme URI: https://assas-fol.fr
Author: Assas Future of Law
Description: Theme WordPress sur mesure pour l'association Assas Future of Law.
Version: 0.1.0
Text Domain: assas-fol
*/

:root {
  --ink: #f8fafc;
  --muted: #a6adbb;
  --night: #05060a;
  --navy: #0b101b;
  --panel: rgba(13, 17, 27, 0.74);
  --panel-strong: rgba(16, 21, 34, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --red: #e43d4b;
  --red-dark: #7f121d;
  --gold: #e7c678;
  --cream: #f5efe7;
  --max: 1220px;
  --serif: "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(228, 61, 75, 0.18), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(231, 198, 120, 0.12), transparent 24%),
    linear-gradient(180deg, #05060a 0%, #090d15 46%, #05060a 100%);
  font-family: var(--sans);
  line-height: 1.55;
}

main {
  overflow: hidden;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--night);
  background: var(--gold);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  inset: 18px 0 auto 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) auto;
  gap: 20px;
  align-items: center;
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 8, 13, 0.76);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
}

.admin-bar .site-header {
  top: 50px;
}

.menu-button,
.close-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-content: center;
  padding: 6px;
  border-radius: 50%;
}

.menu-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding-left: 4px;
}

.brand-logo {
  display: block;
  width: clamp(150px, 16vw, 218px);
  height: 46px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 18px rgba(228, 61, 75, 0.18));
}

.brand-text {
  display: grid;
  min-width: 0;
}

.brand-text small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.75rem;
  font-weight: 760;
  text-transform: uppercase;
}

.top-nav li,
.side-menu nav li {
  display: contents;
  list-style: none;
}

.top-nav a,
.site-footer a {
  color: var(--muted);
}

.top-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}

.top-nav a:hover,
.top-nav .current-menu-item > a,
.site-footer a:hover {
  color: var(--ink);
}

.top-nav a:hover,
.top-nav .current-menu-item > a {
  background: rgba(255, 255, 255, 0.09);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button-primary {
  color: #13080a;
  background: linear-gradient(135deg, var(--gold), #f5dca1);
  box-shadow: 0 14px 36px rgba(231, 198, 120, 0.22);
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.side-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: rgba(5, 6, 10, 0);
  opacity: 0;
  backdrop-filter: blur(0);
  transition: background 0.36s ease, opacity 0.36s ease, backdrop-filter 0.36s ease;
}

.side-menu.is-open {
  pointer-events: auto;
  opacity: 1;
  background: rgba(5, 6, 10, 0.68);
  backdrop-filter: blur(14px);
}

.side-menu-panel {
  position: relative;
  display: flex;
  width: min(480px, 92vw);
  min-height: 100%;
  flex-direction: column;
  padding: clamp(22px, 5vw, 34px);
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 12% 12%, rgba(228, 61, 75, 0.24), transparent 30%),
    radial-gradient(circle at 90% 92%, rgba(231, 198, 120, 0.16), transparent 28%),
    rgba(8, 11, 18, 0.94);
  box-shadow: 42px 0 120px rgba(0, 0, 0, 0.54);
  clip-path: inset(0 100% 0 0 round 0 30px 30px 0);
  transform: translateX(-20px);
  transition:
    clip-path 0.62s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path, transform;
}

.side-menu-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%);
  opacity: 0.68;
}

.side-menu.is-open .side-menu-panel {
  clip-path: inset(0 0 0 0 round 0 30px 30px 0);
  transform: translateX(0);
}

.side-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
}

.side-menu-icon {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
  transform: scale(1.08);
  transform-origin: center;
  filter: drop-shadow(0 0 16px rgba(228, 61, 75, 0.22));
}

.close-button {
  min-height: 38px;
  padding: 8px 13px;
}

.side-menu nav {
  display: grid;
  gap: 2px;
  position: relative;
  z-index: 1;
  margin-top: clamp(24px, 8vh, 72px);
}

.side-menu nav a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 17px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.38rem, 5vw, 1.92rem);
  line-height: 1.05;
  opacity: 0;
  transform: translateY(18px) rotateX(8deg);
  transform-origin: left center;
  transition:
    opacity 0.34s ease,
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.18s ease,
    padding 0.18s ease,
    border-color 0.18s ease;
}

.side-menu nav li a {
  width: 100%;
}

.side-menu nav a span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.side-menu.is-open nav a {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.side-menu.is-open nav a:nth-child(1) {
  transition-delay: 0.08s;
}

.side-menu.is-open nav li:nth-child(1) a {
  transition-delay: 0.08s;
}

.side-menu.is-open nav a:nth-child(2) {
  transition-delay: 0.11s;
}

.side-menu.is-open nav li:nth-child(2) a {
  transition-delay: 0.11s;
}

.side-menu.is-open nav a:nth-child(3) {
  transition-delay: 0.14s;
}

.side-menu.is-open nav li:nth-child(3) a {
  transition-delay: 0.14s;
}

.side-menu.is-open nav a:nth-child(4) {
  transition-delay: 0.17s;
}

.side-menu.is-open nav li:nth-child(4) a {
  transition-delay: 0.17s;
}

.side-menu.is-open nav a:nth-child(5) {
  transition-delay: 0.2s;
}

.side-menu.is-open nav li:nth-child(5) a {
  transition-delay: 0.2s;
}

.side-menu.is-open nav a:nth-child(6) {
  transition-delay: 0.23s;
}

.side-menu.is-open nav li:nth-child(6) a {
  transition-delay: 0.23s;
}

.side-menu.is-open nav a:nth-child(7) {
  transition-delay: 0.26s;
}

.side-menu.is-open nav li:nth-child(7) a {
  transition-delay: 0.26s;
}

.side-menu nav a:hover {
  color: var(--gold);
  padding-left: 20px;
  border-color: rgba(231, 198, 120, 0.34);
}

.side-menu-contact {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 32px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.46s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-menu.is-open .side-menu-contact {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.33s;
}

.side-menu-contact p {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-menu-contact a {
  color: var(--ink);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 7vw, 92px) 90px;
  overflow: hidden;
}

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  background-image:
    linear-gradient(90deg, rgba(5, 6, 10, 0.98) 0%, rgba(5, 6, 10, 0.78) 44%, rgba(5, 6, 10, 0.22) 100%),
    url("pantheon-haut.jpg");
  background-position: center center;
  background-size: cover;
  filter: saturate(0.78) contrast(1.1) brightness(0.86);
  transform: none;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.1), #05060a 96%),
    linear-gradient(135deg, rgba(228, 61, 75, 0.28), transparent 36%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.hero-content {
  position: relative;
  width: min(980px, 100%);
}

.eyebrow,
.section-kicker,
.date {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 1050px;
  margin-bottom: 22px;
  font-size: clamp(3.05rem, 7.2vw, 6.7rem);
  line-height: 0.92;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 760px;
  color: #dce2ea;
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

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

.intro-grid,
.section,
.contact-section,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr;
  gap: 16px;
  margin-top: -44px;
  position: relative;
  z-index: 2;
}

.intro-grid article {
  position: relative;
  min-height: 228px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(9, 13, 21, 0.78);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.intro-grid article::after {
  content: "";
  position: absolute;
  inset: auto 24px 0 24px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(228, 61, 75, 0.95), rgba(231, 198, 120, 0.82));
  opacity: 0.82;
}

.intro-index {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.intro-grid h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.intro-grid p {
  color: var(--muted);
}

.contact-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(231, 198, 120, 0.22), transparent 40%),
    linear-gradient(145deg, rgba(127, 18, 29, 0.86), rgba(9, 13, 21, 0.9)) !important;
}

.contact-card::before {
  display: none;
}

.section {
  position: relative;
  padding: 118px 0;
  border-bottom: 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--max), calc(100vw - 40px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 198, 120, 0.48), rgba(228, 61, 75, 0.38), transparent);
  transform: translateX(-50%);
}

.section::after {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
}

.section:nth-of-type(odd)::after {
  background:
    radial-gradient(circle at 8% 20%, rgba(228, 61, 75, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.004));
}

.section:nth-of-type(even)::after {
  background:
    radial-gradient(circle at 88% 16%, rgba(231, 198, 120, 0.07), transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.012));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p,
.section p {
  color: var(--muted);
}

.section-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.feature-list,
.cards,
.people-grid,
.metric-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-list article,
.event-card,
.person-card,
.metric-grid article,
.partner-grid article {
  min-height: 204px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.038)),
    rgba(9, 13, 21, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.feature-list article:hover,
.event-card:hover,
.person-card:hover,
.metric-grid article:hover,
.partner-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(231, 198, 120, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.du-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(245, 239, 231, 0.96), rgba(232, 222, 211, 0.92)),
    radial-gradient(circle at 85% 10%, rgba(228, 61, 75, 0.16), transparent 30%);
  color: #151821;
}

.du-section::before {
  display: none;
}

.du-section .section-heading p {
  color: #4a505b;
}

.du-section .section-kicker {
  color: var(--red);
}

.metric-grid article {
  min-height: 168px;
  border-color: rgba(21, 24, 33, 0.12);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 24px 70px rgba(21, 24, 33, 0.08);
}

.metric-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--red-dark);
  font-size: 1.16rem;
}

.metric-grid span {
  color: #4a505b;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.split > div:first-child {
  position: sticky;
  top: 118px;
}

.avatar {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(216, 181, 109, 0.7);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.alumni-band {
  position: relative;
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(127, 18, 29, 0.42), rgba(9, 13, 21, 0.86)),
    radial-gradient(circle at 75% 45%, rgba(231, 198, 120, 0.16), transparent 34%);
}

.alumni-row,
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.alumni-row span,
.partner-strip span {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(228, 61, 75, 0.12);
}

.event-card a,
.resource-list a {
  color: var(--gold);
  font-weight: 800;
}

.resource-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.resource-list a {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.18s ease, color 0.18s ease;
}

.resource-list a span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-list a:hover {
  padding-left: 12px;
}

.partners {
  padding-bottom: 74px;
}

.partner-strip {
  margin-bottom: 28px;
}

.partner-grid article {
  min-height: 160px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.wp-content-section {
  padding-top: 160px;
}

.wp-content-section h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.wp-entry-content {
  max-width: 820px;
  color: #dce2ea;
  font-size: 1.05rem;
}

.wp-entry-content a {
  color: var(--gold);
  font-weight: 800;
}

.wp-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.wp-entry-media {
  margin: 0 0 34px;
}

.wp-entry-media img {
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.pagination,
.nav-links {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.page-numbers {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}

.page-numbers.current {
  color: #13080a;
  background: var(--gold);
}

.contact-section {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 48px;
  margin-bottom: 48px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(231, 198, 120, 0.34);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 20%, rgba(231, 198, 120, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(127, 18, 29, 0.86), rgba(16, 21, 34, 0.96));
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.34);
}

.contact-section h2 {
  max-width: 660px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.footer-socials a:hover {
  color: var(--gold);
  border-color: rgba(231, 198, 120, 0.42);
  background: rgba(231, 198, 120, 0.08);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

@media (max-width: 920px) {
  .site-header {
    inset: 12px 0 auto 0;
    grid-template-columns: auto 1fr auto;
    border-radius: 24px;
  }

  .menu-button {
    display: grid;
  }

  .top-nav {
    display: none;
  }

  .intro-grid,
  .feature-list,
  .cards,
  .people-grid,
  .metric-grid,
  .partner-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand-text small {
    display: none;
  }

  .site-header {
    gap: 12px;
    width: min(100% - 24px, 1280px);
    padding: 10px;
  }

  .brand-logo {
    width: 138px;
    height: 40px;
  }

  .hero {
    min-height: 86vh;
    padding: 122px 20px 58px;
  }

  .button {
    width: 100%;
  }

  .intro-grid,
  .section,
  .contact-section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .intro-grid {
    margin-top: 0;
  }
}
