@font-face {
  font-family: "Mukta Malar";
  src: url("assets/fonts/MuktaMalar-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mukta Malar";
  src: url("assets/fonts/MuktaMalar-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Tamil";
  src: url("assets/fonts/NotoSansTamil-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Tamil";
  src: url("assets/fonts/NotoSansTamil-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --navy: #071e4a;
  --navy-deep: #03122f;
  --blue: #173f8f;
  --red: #d51f2b;
  --red-deep: #ad111d;
  --paper: #f7f5ef;
  --white: #ffffff;
  --muted: #b9c8e6;
  --display: "Mukta Malar", "Noto Sans Tamil", "Nirmala UI", sans-serif;
  --body: "Noto Sans Tamil", "Nirmala UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--navy-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  font-family: var(--body);
  background:
    radial-gradient(circle at 12% 14%, rgba(38, 82, 165, 0.42), transparent 34%),
    linear-gradient(128deg, var(--navy) 0%, var(--navy-deep) 70%);
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.party-stripe {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 7px;
}

.party-stripe span:first-child {
  background: #2052aa;
}

.party-stripe span:last-child {
  background: var(--red);
}

.landing-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100% - 48px, 1320px);
  min-height: 100vh;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  padding: 3px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.brand-copy small,
.launch-note small {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d9e4f8;
  font-size: 0.78rem;
  font-weight: 600;
}

.official-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4f81da;
  box-shadow: 0 0 0 5px rgba(79, 129, 218, 0.15);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.78fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding: clamp(44px, 6.5vh, 86px) 0;
}

.hero-copy {
  max-width: 730px;
  animation: enter-left 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #c8d5ed;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.eyebrow span {
  width: 42px;
  height: 3px;
  background: linear-gradient(90deg, #3e75d6 0 50%, var(--red) 50%);
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.75rem, 5.5vw, 5.7rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.035em;
}

h1 em {
  color: #ff535d;
  font-style: normal;
}

.title-separator {
  color: #7295d2;
}

.intro {
  max-width: 590px;
  margin: 24px 0 30px;
  color: #d6e0f2;
  font-size: clamp(0.94rem, 1.5vw, 1.08rem);
  line-height: 1.9;
}

.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: min(100%, 430px);
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.launch-note > span:last-child {
  display: grid;
  gap: 3px;
}

.launch-note strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
}

.pulse {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff3c49;
  box-shadow: 0 0 0 0 rgba(255, 60, 73, 0.55);
  animation: pulse 2s infinite;
}

.portrait-wrap {
  position: relative;
  width: min(100%, 520px);
  justify-self: end;
  padding: 18px;
  animation: enter-right 0.9s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.portrait-card {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border: 7px solid var(--paper);
  border-radius: 2px;
  background: var(--paper);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(1.3deg);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-card:hover {
  transform: rotate(0deg) translateY(-4px);
}

.portrait-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.portrait-card figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 20px 16px;
  color: var(--navy-deep);
  background: var(--paper);
}

.portrait-card figcaption span {
  color: var(--red-deep);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.portrait-card figcaption strong {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.35;
}

.portrait-card figcaption small {
  color: #61708b;
  font-size: 0.7rem;
  font-weight: 600;
}

.movement-line {
  position: absolute;
  z-index: 0;
  top: 32%;
  right: 0;
  left: 0;
  height: 130px;
  background: linear-gradient(165deg, transparent 0 15%, #17468f 15% 49%, var(--red) 49% 82%, transparent 82%);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.22));
  transform: rotate(-7deg) scale(0.88);
}

.symbol-mark {
  position: absolute;
  z-index: 3;
  top: -9px;
  right: -5px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 5px solid var(--navy-deep);
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  transform: rotate(9deg);
}

.symbol-mark img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #91a5c8;
  font-size: 0.67rem;
}

.site-footer p {
  margin: 0;
}

.domain {
  color: var(--white);
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
}

@keyframes enter-left {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes enter-right {
  from { opacity: 0; transform: translateX(28px) scale(0.98); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(255, 60, 73, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 60, 73, 0); }
}

@media (max-width: 900px) {
  .landing-shell { width: min(100% - 32px, 720px); }
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .eyebrow { justify-content: center; }
  .intro { margin-inline: auto; }
  .portrait-wrap { width: min(100%, 510px); justify-self: center; }
}

@media (max-width: 560px) {
  .landing-shell { width: min(100% - 24px, 520px); }
  .site-header { align-items: flex-start; padding-top: 25px; }
  .brand { gap: 10px; }
  .brand img { width: 48px; height: 48px; }
  .brand-copy strong { max-width: 230px; }
  .brand-copy small { font-size: 0.5rem; letter-spacing: 0.08em; }
  .official-badge { display: none; }
  .hero { padding: 42px 0; }
  h1 {
    font-size: clamp(2.05rem, 9.7vw, 3rem);
    letter-spacing: -0.045em;
  }
  .intro { line-height: 1.75; }
  .launch-note { text-align: left; padding: 13px 15px; }
  .launch-note small { font-size: 0.56rem; letter-spacing: 0.08em; }
  .portrait-wrap { padding: 8px; }
  .portrait-card { border-width: 5px; }
  .symbol-mark { width: 58px; height: 58px; }
  .movement-line { height: 90px; }
  .site-footer { flex-direction: column; text-align: center; align-items: center; }
}

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

/* Campaign hero: the 34-year struggle is the headline; the pot is the official symbol. */
.campaign-title {
  display: grid;
  gap: 8px;
  max-width: 690px;
  font-size: inherit;
  line-height: 1;
  letter-spacing: -0.04em;
}

.history-line {
  display: flex;
  align-items: center;
  gap: 18px;
}

.history-line > b {
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: clamp(5.7rem, 9vw, 8.3rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.09em;
}

.history-line > span {
  display: grid;
  color: #a9bee3;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.05;
}

.history-line strong {
  color: var(--white);
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  font-weight: 800;
}

.campaign-title .title-separator {
  width: 74px;
  height: 6px;
  overflow: hidden;
  color: transparent;
  background: linear-gradient(90deg, #2863c5 0 48%, var(--red) 48%);
}

.slogan-line {
  display: grid;
  color: var(--white);
  font-size: clamp(2.35rem, 4.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.12;
}

.slogan-line em {
  color: #ff4b56;
}

.leader-stage {
  position: relative;
  width: min(100%, 500px);
  min-height: 620px;
  justify-self: end;
  isolation: isolate;
  animation: enter-right 0.9s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.leader-stage::before {
  position: absolute;
  z-index: -2;
  inset: 38px 0 30px 46px;
  content: "";
  background: #0a6b86;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.38);
}

.flag-panel {
  position: absolute;
  z-index: -1;
  right: -28px;
  bottom: 73px;
  left: 14px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  height: 170px;
  transform: skewY(-7deg);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.3));
}

.flag-panel span:first-child { background: #154899; }
.flag-panel span:last-child { background: var(--red); }

.leader-photo {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 26px;
  width: calc(100% - 58px);
  height: 525px;
  border: 7px solid var(--white);
  object-fit: cover;
  object-position: center top;
  box-shadow: 18px 18px 0 rgba(213, 31, 43, 0.95);
}

.leader-name {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 106px;
  display: grid;
  gap: 3px;
  padding: 17px 21px;
  color: var(--navy-deep);
  background: var(--paper);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.26);
}

.leader-name span {
  color: var(--red-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.leader-name strong {
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.28;
}

.pot-emblem {
  position: absolute;
  z-index: 4;
  bottom: -3px;
  left: -7px;
  width: 128px;
  height: 128px;
  padding: 6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.34);
}

.pot-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .campaign-title { margin-inline: auto; }
  .history-line { justify-content: center; text-align: left; }
  .campaign-title .title-separator { margin-inline: auto; }
  .leader-stage { justify-self: center; }
}

@media (max-width: 560px) {
  .campaign-title { gap: 10px; }
  .history-line { gap: 12px; }
  .history-line > b { font-size: clamp(4.5rem, 23vw, 5.6rem); }
  .history-line > span { font-size: clamp(1.05rem, 5.2vw, 1.35rem); }
  .history-line strong { font-size: clamp(1.75rem, 8.4vw, 2.15rem); }
  .slogan-line { font-size: clamp(2rem, 10.2vw, 2.55rem); }
  .leader-stage { min-height: 505px; }
  .leader-stage::before { inset: 28px 0 35px 32px; }
  .leader-photo {
    right: 18px;
    width: calc(100% - 40px);
    height: 405px;
    border-width: 5px;
    box-shadow: 12px 12px 0 rgba(213, 31, 43, 0.95);
  }
  .flag-panel { right: -12px; bottom: 64px; height: 120px; }
  .leader-name { left: 84px; padding: 13px 14px; }
  .leader-name strong { font-size: 0.95rem; }
  .pot-emblem { width: 100px; height: 100px; }
}
