/* ===== GISA — theme ===== */
/* Display / header font — ArchyEDT (shared with the Erickson site): a Georgian
   Mkhedruli display face. Falls back to Noto Serif Georgian. */
@font-face {
  font-family: "ArchyEDT";
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/ArchyEDT-Bold.woff2") format("woff2");
}

:root {
  --cream: #fbf5e2;
  --cream-2: #f4ead0;
  --paper: #fffdf6;
  --ink: #3a2c1e;
  --ink-soft: #6b5844;
  --terracotta: #a8443a;
  --terracotta-dark: #82322b;
  --gold: #c9a24a;
  --line: rgba(58, 44, 30, 0.14);
  --shadow: 0 18px 50px -20px rgba(58, 44, 30, 0.45);
  --radius: 16px;
  --maxw: 1120px;
  --font-display: "ArchyEDT", "Noto Serif Georgian", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans Georgian", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .nav__name { font-family: var(--font-display); }

img { max-width: 100%; display: block; }

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

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(251, 245, 226, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; }
.nav__logo { width: 48px; height: 48px; object-fit: contain; }
.nav__name { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.14em; color: var(--terracotta); }
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a { font-weight: 600; font-size: 1.05rem; color: var(--ink-soft); transition: color 0.2s; }
.nav__links a:hover { color: var(--terracotta); }
.nav__cta {
  background: var(--terracotta); color: var(--cream) !important;
  padding: 0.5rem 1.1rem; border-radius: 999px;
}
.nav__cta:hover { background: var(--terracotta-dark); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 26px; height: 2.5px; background: var(--terracotta); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--cream-2), transparent 60%),
    var(--cream);
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 6vw, 5rem);
}
.hero__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.9rem;
  font-weight: 700; color: var(--gold); margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.12; font-weight: 800;
  color: var(--ink);
}
.hero__title span { color: var(--terracotta); }
.hero__lead { margin-top: 1.4rem; font-size: 1.22rem; line-height: 1.75; max-width: 37rem; color: var(--ink-soft); }
.hero__actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__art img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 6px solid var(--paper);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; font-weight: 700; font-size: 1.05rem;
  padding: 0.85rem 1.7rem; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terracotta); color: var(--cream); box-shadow: 0 10px 24px -10px var(--terracotta); }
.btn--primary:hover { background: var(--terracotta-dark); }
.btn--ghost { border-color: var(--terracotta); color: var(--terracotta); }
.btn--ghost:hover { background: var(--terracotta); color: var(--cream); }
.btn--wide { width: 100%; }
.btn--lg { font-size: 1.18rem; padding: 1.05rem 2.6rem; }

/* ===== SECTIONS ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem); }
.section--alt { max-width: none; background: var(--cream-2); }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 2.8rem; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 0.86rem; font-weight: 700; color: var(--gold); margin-bottom: 0.8rem;
}
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--ink); }
.section__sub { margin: 1rem auto 0; max-width: 44rem; font-size: 1.15rem; line-height: 1.7; color: var(--ink-soft); }

.about { max-width: 50rem; margin: 0 auto; display: grid; gap: 1.35rem; font-size: 1.28rem; line-height: 1.75; text-align: center; color: var(--ink-soft); }
.about strong { color: var(--terracotta); }

/* ===== CARDS ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.6rem 2.1rem 2.4rem; box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px -22px rgba(58, 44, 30, 0.5); }
.card__icon { font-size: 3rem; margin-bottom: 1rem; }
.card h3 { color: var(--terracotta); font-size: 1.6rem; margin-bottom: 0.7rem; letter-spacing: -0.01em; }
.card p { color: var(--ink-soft); font-size: 1.13rem; line-height: 1.65; }

/* ===== COMMITTEES ===== */
.committees { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.3rem; }
.committee {
  flex: 1 1 300px; max-width: 380px;
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--terracotta);
  border-radius: 14px; padding: 1.5rem 1.6rem;
}
.committee span { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--gold); line-height: 1; }
.committee p { font-weight: 600; color: var(--ink); font-size: 1.18rem; }

/* ===== FORM ===== */
.form {
  max-width: 780px; margin: 0 auto; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow);
  display: grid; gap: 1.2rem;
}
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: 0.4rem; }
.field > span { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field small { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.7rem 0.9rem; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(168, 68, 58, 0.15);
}
.field textarea { resize: vertical; }
.req { color: var(--terracotta); }
.form__status { text-align: center; font-weight: 600; min-height: 1.2rem; margin: 0; }
.form__status.ok { color: #2e7d43; }
.form__status.err { color: var(--terracotta-dark); }
#submitBtn[disabled] { opacity: 0.6; cursor: wait; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink); color: var(--cream);
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 0.9rem; }
.footer__brand img { width: 52px; height: 52px; object-fit: contain; }
.footer__brand strong { display: block; letter-spacing: 0.14em; color: var(--gold); }
.footer__brand span { font-size: 0.85rem; opacity: 0.75; }
.footer__copy { font-size: 0.85rem; opacity: 0.75; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 420px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .nav__links {
    position: fixed; inset: 62px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1.2rem; transform: translateY(-140%); transition: transform 0.28s;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 0.8rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__cta { text-align: center; margin-top: 0.6rem; }
  .nav__burger { display: flex; }
  .grid { grid-template-columns: 1fr; }
}
