:root {
  --sand: #f6eddc;        /* warm paper */
  --tuff: #eeddc9;        /* rose tuff stone */
  --tuff-deep: #e3cdb2;
  --apricot: #e07b26;     /* Armenian apricot */
  --apricot-deep: #c4641a;
  --pom: #83203a;         /* pomegranate */
  --pom-deep: #631428;
  --blue: #27436e;        /* flag blue */
  --ink: #2b1c12;         /* warm dark brown */
  --ink-soft: #71604f;
  --radius: 16px;
  --arch: 999px 999px 20px 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Bricolage Grotesque", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
#about, #sessions, #formats, #why, #rules, #faq, #join, #contact, #top {
  scroll-margin-top: 92px;
}

body {
  font-family: "Instrument Sans", sans-serif;
  background: var(--sand);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--apricot); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--sand) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo {
  width: 44px; height: 44px; object-fit: cover; display: block; flex-shrink: 0;
  border-radius: 10px; border: 1.5px solid var(--ink);
}
.brand-mark {
  width: 34px; height: 40px; background: var(--pom);
  border-radius: 999px 999px 6px 6px;   /* arch */
  display: grid; place-items: center;
  color: var(--sand); font-family: var(--display); font-weight: 800; font-size: 14px;
}
.brand-name { font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--pom); }
.nav-links a.btn { color: #000; }
.nav-links a.btn:hover { color: var(--sand); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--apricot); color: #000;
  font-family: var(--display); font-weight: 800; font-size: 15px;
  padding: 13px 24px; border-radius: 12px; border: none;
  text-decoration: none; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { background: var(--pom); color: var(--sand); transform: translateY(-2px); box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--pom) 60%, transparent); }
.btn:active { transform: translateY(0); }
.btn.big { font-size: 17px; padding: 16px 30px; }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 30%, transparent); }
.btn.line:hover { box-shadow: inset 0 0 0 2px var(--pom); color: var(--pom); background: transparent; }
.btn.on-dark { background: var(--apricot); color: var(--ink); }
.btn.on-dark:hover { background: var(--sand); color: var(--pom); }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 96px; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pom); margin-bottom: 26px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); }
.hero h1 { font-size: clamp(46px, 6.6vw, 92px); font-weight: 800; margin-bottom: 10px; }
.hero h1 em { font-style: normal; color: var(--apricot-deep); }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 32em; margin: 22px 0 38px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { position: relative; display: flex; justify-content: center; padding: 28px 8px 36px; }
.sun {
  position: absolute; top: -6%; right: 6%;
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--apricot); opacity: 0.9; z-index: 0;
}
.arch-frame {
  position: relative; z-index: 1;
  width: min(340px, 88%);
  background: var(--tuff);
  border: 2px solid var(--ink);
  border-radius: var(--arch);
  padding: 58px 30px 34px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  box-shadow: 12px 12px 0 var(--pom);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.arch-frame:hover { transform: translate(-4px, -4px); box-shadow: 16px 16px 0 var(--pom); }
.arch-frame img { width: 72%; border-radius: 14px; display: block; border: 2px solid var(--ink); }
.arch-caption { font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--ink-soft); text-align: center; }
.arch-caption strong { color: var(--ink); }
.chip {
  position: absolute; z-index: 2; background: var(--sand); color: var(--ink);
  border: 1.5px solid var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 12.5px;
  padding: 7px 13px; border-radius: 999px;
  white-space: nowrap;
  animation: float 5.5s ease-in-out infinite;
}
.chip.c1 { top: 14%; left: 6%; animation-delay: 0s; }
.chip.c2 { top: 8%; right: 8%; animation-delay: 0.7s; }
.chip.c3 { top: 44%; right: 2%; animation-delay: 1.4s; background: var(--apricot); }
.chip.c4 { bottom: 8%; left: 10%; animation-delay: 2.1s; }
.chip.c5 { top: 40%; left: 2%; animation-delay: 2.8s; }
.chip.c6 { bottom: 2%; right: 4%; animation-delay: 3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--pom); color: var(--sand);
  overflow: hidden; white-space: nowrap; padding: 15px 0;
  border-block: 2px solid var(--ink);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  flex-shrink: 0;
}
.ticker span {
  font-family: var(--display); font-weight: 600; font-size: 16px;
  text-transform: uppercase; letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 44px;
}
.ticker span::after { content: "❖"; color: var(--apricot); font-size: 11px; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .chip { animation: none; } }

/* ---------- Sections ---------- */
section { padding: 104px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 58px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; }
.sec-head h2 .tag-line {
  display: block; font-family: "Instrument Sans", sans-serif; font-size: 13px; font-weight: 700;
  color: var(--apricot-deep); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px;
}
.sec-head p { color: var(--ink-soft); font-size: 17.5px; max-width: 26em; }

/* What we do — editorial numbered list */
.do-list { border-top: 2px solid var(--ink); }
.do-row {
  display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 28px; align-items: baseline;
  padding: 30px 8px; border-bottom: 2px solid var(--ink);
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.do-row:hover { background: var(--tuff); padding-left: 20px; }
.do-row .no { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--apricot-deep); }
.do-row h3 { font-size: clamp(20px, 2.2vw, 27px); font-weight: 800; }
.do-row p { color: var(--ink-soft); font-size: 16.5px; }

/* Formats — pomegranate band with horizontal scroll */
.formats { background: var(--pom); color: var(--sand); padding: 0; }
.formats-inner { padding: 104px 0 96px; }
.formats { border-block: 2px solid var(--ink); }
.formats .sec-head h2 { color: var(--sand); }
.formats .sec-head h2 .tag-line { color: var(--apricot); }
.formats .sec-head p { color: color-mix(in srgb, var(--sand) 70%, var(--pom)); }
.fmt-scroll {
  display: flex; gap: 16px; overflow-x: auto; padding: 4px 24px 24px;
  scroll-snap-type: x mandatory; max-width: 1160px; margin: 0 auto;
  scrollbar-color: var(--apricot) transparent;
}
.fmt-card {
  flex: 0 0 285px; scroll-snap-align: start;
  background: var(--sand); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 26px 24px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fmt-card:hover { transform: translateY(-6px); box-shadow: 0 8px 0 var(--apricot); }
.fmt-card .no {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--apricot); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 15px; margin-bottom: 18px;
}
.fmt-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.fmt-card h3 small { display: block; font-family: "Instrument Sans", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pom); margin-top: 4px; }
.fmt-card p { font-size: 15px; color: var(--ink-soft); }
.fmt-hint { text-align: center; font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--sand) 60%, var(--pom)); margin-top: 6px; font-weight: 600; }

/* Tools */
.tools-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool {
  background: var(--tuff); border-radius: var(--arch);
  padding: 56px 30px 38px; text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tool:hover { border-color: var(--ink); transform: translateY(-4px); }
.tool .tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pom); margin-bottom: 16px; }
.tool h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.tool p { color: var(--ink-soft); font-size: 15.5px; }

/* Why + Who */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: start; }
.check-list { list-style: none; }
.check-list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 19px 0; border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent);
  font-weight: 600; font-size: 17.5px;
}
.check-list li:last-child { border-bottom: none; }
.tick {
  flex: none; width: 26px; height: 26px; margin-top: 3px;
  background: var(--apricot); color: var(--ink);
  display: grid; place-items: center; font-size: 13px; font-weight: 900;
  border-radius: 8px;
}
.who-card {
  background: var(--blue); color: var(--sand);
  border-radius: 120px 120px 24px 24px;   /* gentle arch so content stays inside */
  padding: 84px 40px 48px;
  position: sticky; top: 100px;
}
.who-card h3 { font-size: 25px; font-weight: 800; margin-bottom: 26px; }
.who-card ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.who-card li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: color-mix(in srgb, var(--sand) 82%, var(--blue)); }
.who-card li strong { color: var(--sand); }
.who-card li::before { content: "❖"; color: var(--apricot); flex: none; font-size: 12px; margin-top: 5px; }

/* Rules — Armenian numerals */
.rules { background: var(--tuff); }
.rule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.rule {
  background: var(--sand); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.rule:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--apricot); }
.rule .no {
  font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1;
  color: var(--pom); margin-bottom: 18px; display: block;
}
.rule h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.rule p { color: var(--ink-soft); font-size: 15.5px; }
.rule code {
  font-family: ui-monospace, "SF Mono", monospace; font-size: 14px;
  background: color-mix(in srgb, var(--apricot) 25%, transparent);
  color: var(--pom); padding: 2px 7px; border-radius: 6px; font-weight: 700;
}
.intro-note {
  margin-top: 36px; background: var(--sand); border: 2px dashed var(--pom);
  border-radius: var(--radius); padding: 30px 32px;
}
.intro-note h4 { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.intro-note ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px 28px; }
.intro-note li { color: var(--ink-soft); font-size: 15.5px; display: flex; gap: 10px; }
.intro-note li::before { content: "—"; color: var(--pom); font-weight: 800; flex: none; }

/* Session facts */
.sessions { background: var(--sand); }
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 2px solid var(--ink);
  padding-top: 28px;
  align-items: stretch;
}
.fact {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  background: color-mix(in srgb, var(--sand) 70%, #fff);
  min-height: 148px;
}
.fact dt {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--apricot-deep); margin-bottom: 10px;
}
.fact dd { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.25; }
.fact a { color: var(--pom); }

/* FAQ */
.faq { background: var(--tuff); }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item {
  background: var(--sand); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 6px 22px 6px;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 800; font-size: 18px;
  padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--pom); font-size: 28px; line-height: 1; font-weight: 800; flex: none;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); padding: 0 0 18px; max-width: 46em; }

/* Mini Ararat */
.ararat-mini { display: block; width: 170px; height: 70px; margin: 0 auto 30px; overflow: visible; }

/* CTA */
.cta { padding: 120px 0 130px; text-align: center; }
.cta h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; margin-bottom: 22px; }
.cta h2 em { font-style: normal; color: var(--apricot-deep); }
.cta p { color: var(--ink-soft); font-size: 18.5px; max-width: 30em; margin: 0 auto 40px; }
.cta-mail {
  display: block; margin-top: 22px;
  color: var(--ink); font-weight: 700; font-size: 16px;
  text-decoration: none; letter-spacing: 0.01em;
}
.cta-mail:hover { color: var(--pom); }
.cta-mail span { display: block; font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }

/* Footer */
footer { background: var(--ink); color: color-mix(in srgb, var(--sand) 60%, var(--ink)); padding: 38px 0; font-size: 14.5px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--sand); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 14px; }
.foot-brand .brand-mark { width: 26px; height: 31px; font-size: 11px; background: var(--apricot); color: var(--ink); }
footer a { color: var(--sand); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--apricot); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-art { order: -1; }
  .chip { font-size: 11.5px; padding: 6px 11px; }
  .sun { width: 130px; height: 130px; }
  .do-row { grid-template-columns: 56px 1fr; }
  .do-row p { grid-column: 2; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .who-card { position: static; }
  .tools-inner { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 78px 0; }
}
@media (max-width: 600px) {
  .fact-grid { grid-template-columns: 1fr; }
}


/* ---------- Join form ---------- */
.join-page { padding: 56px 0 110px; }
.join-head { max-width: 38em; margin-bottom: 42px; }
.join-head h1 { font-size: clamp(40px, 5vw, 68px); font-weight: 800; margin-bottom: 14px; }
.join-head h1 em { font-style: normal; color: var(--apricot-deep); }
.join-head p { color: var(--ink-soft); font-size: 17.5px; }
.join-form { max-width: 740px; }
.field {
  background: color-mix(in srgb, var(--sand) 70%, #fff);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  margin-bottom: 16px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.field:focus-within { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--apricot); }
.field .q {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}
.req { color: var(--pom); }
.opt { font-family: "Instrument Sans", sans-serif; font-weight: 600; font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em; }
.hints { color: var(--ink-soft); font-size: 15.5px; margin: -4px 0 16px; padding-left: 1.15em; }
.hints li { margin: 4px 0; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 2px solid color-mix(in srgb, var(--ink) 22%, transparent);
  padding: 8px 0 10px;
  border-radius: 0;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: color-mix(in srgb, var(--ink-soft) 70%, var(--sand)); }
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--pom); }
.choices { display: flex; flex-direction: column; gap: 2px; }
.choice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 8px 4px; cursor: pointer; font-size: 16px;
  border-radius: 8px;
}
.choice:hover { background: var(--tuff); }
.choice input { margin-top: 5px; flex: none; accent-color: var(--pom); width: 17px; height: 17px; }
.form-actions {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; margin-top: 28px;
}
.btn-clear {
  background: none; border: none; padding: 8px 0;
  color: var(--pom); font-family: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.btn-clear:hover { color: var(--pom-deep); }
.hp { position: absolute; left: -9999px; }
.sent {
  display: none;
  max-width: 740px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 36px 32px;
  background: var(--tuff);
}
.sent h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.sent p { color: var(--ink-soft); margin-bottom: 22px; }
body.form-sent .join-form { display: none; }
body.form-sent .sent { display: block; }
.field-error { color: var(--pom); font-size: 14px; font-weight: 700; margin-top: 10px; display: none; }
.field.has-error { border-color: var(--pom); }
.field.has-error .field-error { display: block; }
