/* Utkal Gujarati Samaj - main stylesheet */

@font-face {
  font-family: "Calistoga";
  src: url("../fonts/calistoga-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brown: #5d4208;
  --brown-deep: #5b4307;
  --rust: #834c20;
  --accent: #ca6c38; /* decorative only (icons, shapes) */
  --accent-strong: #ad5622; /* button background, 4.6:1 with cream text */
  --accent-hover: #924619;
  --accent-text: #a8541f; /* orange text on light backgrounds, 4.5:1+ */
  --text: #524b39;
  --ink: #171717;
  --cream: #f7f5f0;
  --peach: #fedbb4;
  --peach-soft: #fde8cf;
  --tan: #c6a66e;
  --sand: #e8d0a9;
  --mission: #f0b483;
  --white: #ffffff;

  --font-display: "Calistoga", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-card: 0 10px 30px rgba(93, 66, 8, 0.08);
  --header-h: 104px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: contents;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.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: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brown);
  color: var(--white);
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Typography ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--brown);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.h-xl {
  font-size: clamp(44px, 6.5vw, 75px);
  line-height: 1.1;
}

.h-lg {
  font-size: clamp(34px, 4.2vw, 48px);
}

.h-md {
  font-size: clamp(26px, 3vw, 32px);
}

.lead {
  font-size: 18px;
  line-height: 1.6;
}

.section-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 48px;
}

.section-head .lead {
  margin-top: 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--cream);
  background: var(--accent-strong);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--dark {
  background: var(--brown);
}

.btn--dark:hover {
  background: #4a3406;
}

.btn--block {
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
}

.btn[aria-disabled="true"],
.btn[aria-disabled="true"]:hover {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, #fff 0%, #fff 62%, rgba(255, 255, 255, 0) 100%);
  padding-bottom: 24px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--header-h);
  padding-top: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  width: 64px;
  height: 75px;
}

.brand span {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.1;
  color: var(--brown);
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 24px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--accent-text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.12);
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}

.nav-toggle span:nth-child(2) {
  top: 25px;
}

.nav-open .nav-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  min-height: 855px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #3a2c3a;
}

.hero__video,
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__video.is-playing {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 24, 48, 0.25), rgba(30, 24, 48, 0.55));
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 160px var(--gutter) 120px;
}

.hero__eyebrow {
  font-size: 18px;
  color: #f0b483;
  text-transform: uppercase;
}

.hero__title {
  max-width: 640px;
  margin: 16px auto 24px;
  color: var(--peach);
}

.hero__tagline {
  font-size: 17px;
  color: var(--cream);
}

.wave-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: 28px;
  background-repeat: repeat-x;
  background-size: 92px 28px;
  background-position: bottom left;
}

.wave-bottom--brown {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='28' viewBox='0 0 92 28'%3E%3Cpath fill='%235b4307' d='M0 28V18C14 18 18 4 31 4s18 14 31 14 16-10 30-10v20Z'/%3E%3C/svg%3E");
}

.wave-top {
  height: 24px;
  background-repeat: repeat-x;
  background-size: 92px 24px;
}

.wave-top--cream {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='24' viewBox='0 0 92 24'%3E%3Cpath fill='%23f7f5f0' d='M0 24V14C10 14 13 2 23 2s13 12 23 12 13-12 23-12 13 12 23 12v10Z'/%3E%3C/svg%3E");
}

.wave-top--sand {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='24' viewBox='0 0 92 24'%3E%3Cpath fill='%23e8d0a9' d='M0 24V14C10 14 13 2 23 2s13 12 23 12 13-12 23-12 13 12 23 12v10Z'/%3E%3C/svg%3E");
}

/* ---------- Intro (Garvi Gujarat) ---------- */

.intro {
  background: var(--brown-deep);
  color: var(--cream);
  padding: 80px 0 110px;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  max-width: 1130px;
  margin: 0 auto;
}

.intro__text {
  position: relative;
  padding-left: 40px;
}

.intro__text h2 {
  color: var(--cream);
  margin-bottom: 32px;
}

.intro__spark {
  position: absolute;
  left: 0;
  top: -18px;
  width: 36px;
  height: 36px;
  color: var(--cream);
}

.intro__photo {
  border: 4px solid var(--white);
  border-radius: 48px;
  overflow: hidden;
  aspect-ratio: 516 / 409;
}

.intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- About split ---------- */

.about-split {
  background: var(--cream);
  padding: 120px 0;
}

.about-split--white {
  background: var(--white);
}

.about-split__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 64px;
  max-width: 1130px;
  margin: 0 auto;
}

.about-split__text h2,
.about-split__text h3 {
  margin-bottom: 32px;
}

.about-split__text .btn {
  margin-top: 32px;
}

.collage {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 440 / 560;
  margin: 0 auto;
}

.collage figure {
  position: absolute;
  margin: 0;
  border: 2px solid #111;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.22);
  transition: transform 0.4s ease;
}

.collage figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage figure:nth-child(1) {
  left: 0;
  top: 0;
  width: 57%;
  height: 48%;
  transform: rotate(-28deg);
}

.collage figure:nth-child(2) {
  left: 42%;
  top: 8%;
  width: 52%;
  height: 44%;
  transform: rotate(8deg);
  z-index: 2;
}

.collage figure:nth-child(3) {
  left: 9%;
  top: 43%;
  width: 56%;
  height: 46%;
  transform: rotate(-12deg);
}

.collage figure:nth-child(4) {
  left: 44%;
  top: 60%;
  width: 51%;
  height: 42%;
  transform: rotate(20deg);
  z-index: 2;
}

.collage:hover figure:nth-child(1) {
  transform: rotate(-24deg) translateY(-4px);
}

.collage:hover figure:nth-child(4) {
  transform: rotate(16deg) translateY(4px);
}

/* ---------- Objectives ---------- */

.objectives {
  padding: 120px 0 90px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.obj-card {
  padding: 40px 25px 40px;
  background: var(--peach-soft);
  border-radius: 32px;
}

.obj-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--brown);
  margin-bottom: 12px;
}

.obj-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

/* ---------- News list (home) ---------- */

.news-home {
  background: var(--cream);
  padding: 120px 0;
}

.news-home .section-head {
  max-width: 640px;
}

.news-list {
  display: grid;
  gap: 46px;
  max-width: 1100px;
  margin: 80px auto 0;
}

.news-row {
  display: grid;
  grid-template-columns: 295px 1fr;
  align-items: center;
  gap: 46px;
}

.news-row__img {
  aspect-ratio: 295 / 200;
  border-radius: 8px;
  overflow: hidden;
}

.news-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-row:hover .news-row__img img {
  transform: scale(1.04);
}

.news-row h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown);
  transition: color 0.2s ease;
}

.news-row:hover h3 {
  color: var(--accent-text);
}

.news-row time {
  display: block;
  margin-top: 16px;
  color: var(--accent-text);
}

/* ---------- Facilities ---------- */

.facilities {
  background: linear-gradient(180deg, #fff 0%, #fff 25%, var(--sand) 100%);
  padding: 90px 0 110px;
  scroll-margin-top: 20px;
}

.facilities .section-head {
  max-width: 500px;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 20px;
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.facility-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.facility-card__body {
  padding: 30px 30px 32px;
}

.facility-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 18px;
}

.facility-card p {
  font-size: 16px;
  color: #666;
}

/* ---------- Page header (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: 186px 0 92px;
  text-align: center;
  background-color: var(--cream);
  background-image: url("../img/grid.svg");
  background-size: 42px 42px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 245, 240, 0) 40%, rgba(247, 245, 240, 0.3) 100%);
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
}

/* ---------- Mission / Vision ---------- */

.mission {
  background: var(--rust);
  padding: 100px 0;
}

.mission__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  gap: 34px;
}

.mission-card {
  min-height: 360px;
  padding: 30px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.mission-card h2 {
  color: var(--mission);
  margin-bottom: 32px;
}

.mission-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--cream);
}

/* ---------- News & Events listing ---------- */

.news-index {
  background: var(--cream);
  padding: 100px 0 100px;
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.news-card img {
  width: 100%;
  aspect-ratio: 384 / 288;
  object-fit: cover;
}

.news-card__body {
  padding: 24px 24px 24px;
}

.news-card h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding-bottom: 24px;
  border-bottom: 1px solid #e6e6e6;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink);
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta svg {
  width: 17px;
  height: 17px;
  color: #a3a3a3;
}

/* ---------- Article ---------- */

.article-hero {
  position: relative;
  padding: 144px 0 64px;
  background-color: var(--white);
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.article-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 64px;
}

.article-hero .meta {
  margin: 0 0 32px;
  font-size: 15px;
  font-weight: 700;
  color: #6e6e6e;
}

.article-hero .meta svg {
  color: #8a8a8a;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: #6e6e6e;
}

.breadcrumb a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  color: var(--accent-text);
}

.back-link {
  margin-top: 40px;
  font-weight: 600;
}

.back-link a {
  color: var(--accent-text);
}

.back-link a:hover {
  text-decoration: underline;
}

.article-hero h1 {
  color: var(--ink);
}

.article-hero__author {
  margin-top: 48px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.article-hero__img {
  position: relative;
}

.article-hero__img img {
  width: 100%;
  aspect-ratio: 629 / 472;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.article-hero__img::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -24px;
  width: 44px;
  height: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%23ca6c38' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M40 2c0 18-13 32-36 38'/%3E%3Cpath d='M30 10c-2 12-10 20-22 24'/%3E%3C/svg%3E") no-repeat center / contain;
}

.article-body {
  background: var(--cream);
  padding: 80px 0 110px;
}

.prose {
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}

.prose p + p {
  margin-top: 20px;
}

.prose figure {
  margin: 32px 0;
  max-width: 602px;
}

.prose figure img {
  width: 100%;
  height: auto;
}

/* ---------- Gallery ---------- */

.gallery-section {
  padding: 50px 0 80px;
}

.gallery-section:nth-of-type(even) {
  background: var(--cream);
}

.gallery-section .section-head {
  margin-bottom: 64px;
}

.gallery-section .section-head p {
  margin-top: 8px;
  font-size: 17px;
}

.g-rows {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.g-row {
  display: grid;
  gap: 20px;
  height: 246px;
}

.g-row--sws {
  grid-template-columns: 246fr 369fr 246fr;
}

.g-row--wss {
  grid-template-columns: 369fr 246fr 246fr;
}

.g-row--ssw {
  grid-template-columns: 246fr 246fr 369fr;
}

.g-row--ws {
  grid-template-columns: 528fr 352fr;
  height: 352px;
}

.g-row a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eee;
  cursor: zoom-in;
}

.g-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.g-row a:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
  background: rgba(20, 14, 4, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1200px, 100%);
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox button:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__close {
  top: 12px;
  right: 12px;
}

.lightbox__prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Office bearers ---------- */

.bearers {
  padding: 140px 0 140px;
}

.bearers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 0 0 24px;
}

.bearer h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
}

.bearer p {
  color: var(--ink);
}

/* ---------- Contact ---------- */

.contact-page {
  background-color: var(--cream);
  background-image: radial-gradient(rgba(93, 66, 8, 0.12) 2px, transparent 2px);
  background-size: 24px 24px;
}

.forms-panel {
  background: var(--white);
  padding: 90px 40px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.forms-panel h2 {
  text-align: center;
  margin-bottom: 96px;
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 58px;
}

.reg-card {
  padding: 40px;
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.07);
}

.reg-card h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown);
}

.reg-card h3 em {
  font-style: normal;
  color: var(--accent-text);
}

.reg-card p {
  margin: 20px 0 24px;
  font-size: 16px;
  color: var(--ink);
}

.contact-form-wrap {
  padding: 96px 0 92px;
}

.contact-intro {
  max-width: 960px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.6;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.field label {
  font-size: 14px;
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f2f2f2;
  font: 400 14px/1.4 var(--font-body);
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field input {
  height: 40px;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.contact-form .btn {
  box-shadow: 0 8px 16px rgba(93, 66, 8, 0.3);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  min-height: 1.4em;
}

.form-status.is-success {
  color: #2f7a3a;
}

.form-status.is-error {
  color: #b3261e;
}

/* ---------- 404 ---------- */

.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px var(--gutter) 80px;
}

.not-found p {
  margin: 20px 0 32px;
  color: var(--accent-text);
}

.not-found .btn {
  font-size: 17px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--sand);
  padding: 64px 0 48px;
}

.footer-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 44px 40px;
  border: 3px dotted var(--tan);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, #f8d8af 0%, #fcdcb3 100%);
}

.footer-card__logo {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.footer-card h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown);
  margin-bottom: 18px;
}

.footer-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 6px;
}

.footer-card li svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  color: var(--tan);
}

.footer-card a:hover {
  color: var(--accent-text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 64px;
}

.footer-links {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--brown);
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: #8f4318;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--white);
  color: var(--accent);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.copyright {
  margin-top: 20px;
  font-size: 14px;
  color: #5f4f31;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .site-header__inner {
    gap: 24px;
  }

  .nav__links {
    gap: 18px;
  }

  .nav__links a {
    font-size: 15px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 88px;
  }

  .site-header {
    background: #fff;
    padding-bottom: 0;
    position: fixed;
  }

  .site-header__inner {
    padding-top: 0;
  }

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

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--gutter) 32px;
    background: #fff;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-open {
    overflow: hidden;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__links a {
    display: block;
    padding: 16px 0;
    font-size: 20px;
    border-bottom: 1px solid #eee;
  }

  .nav__actions {
    margin: 28px 0 0;
    justify-content: space-between;
  }

  .hero {
    min-height: 100svh;
    padding-top: var(--header-h);
  }

  .page-hero {
    padding: 150px 0 72px;
  }

  .intro__grid,
  .about-split__grid,
  .article-hero__grid,
  .footer-card {
    grid-template-columns: 1fr;
  }

  .intro__grid {
    gap: 48px;
  }

  .intro__text {
    padding-left: 0;
  }

  .intro__spark {
    display: none;
  }

  .about-split {
    padding: 80px 0;
  }

  .about-split__grid {
    gap: 48px;
  }

  .about-split__text {
    order: -1;
    text-align: left;
  }

  .card-grid,
  .news-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .reg-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-hero {
    padding-top: 120px;
  }

  .article-hero__grid {
    gap: 40px;
  }

  .article-hero__img::after {
    right: -8px;
  }

  .footer-card {
    text-align: center;
  }

  .footer-card ul {
    display: inline-block;
    text-align: left;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .objectives,
  .news-home,
  .news-index {
    padding: 72px 0;
  }

  .card-grid,
  .news-cards,
  .facility-grid,
  .mission__grid,
  .bearers__grid {
    grid-template-columns: 1fr;
  }

  .obj-card {
    padding: 32px 24px;
  }

  .news-list {
    margin-top: 48px;
    gap: 40px;
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mission {
    padding: 72px 0;
  }

  .mission-card {
    min-height: 0;
  }

  .bearers {
    padding: 72px 0;
  }

  .bearers__grid {
    padding: 0;
    gap: 28px;
  }

  .forms-panel {
    padding: 64px 20px;
  }

  .forms-panel h2 {
    margin-bottom: 48px;
  }

  .reg-card {
    padding: 28px 24px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .g-rows {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
    gap: 12px;
  }

  .g-row {
    display: contents;
  }

  .g-row a {
    aspect-ratio: 1;
  }

  .g-row a.wide {
    grid-column: span 2;
    aspect-ratio: 3 / 2;
  }

  .collage {
    width: 84%;
  }

  .gallery-section .section-head {
    margin-bottom: 36px;
  }

  .footer-card {
    padding: 32px 20px;
  }

  .footer-card__logo {
    max-width: 200px;
  }

  .footer-bottom {
    margin-top: 40px;
  }

  .footer-links {
    gap: 20px;
  }
}
