:root {
  --navy: #10314f;
  --navy-deep: #0b2740;
  --rust: #d9622b;
  --rust-dark: #c1521f;
  --cream: #faf6f1;
  --cream-2: #f6f1ea;
  --body: #46525f;
  --line: #e2d9cf;

  --display: "Source Serif 4", "Noto Serif Armenian", Georgia, serif;
  --sans: "Source Sans 3", "Noto Sans Armenian", system-ui, sans-serif;
}

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

body.landing {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.landing h1, .landing h2 {
  font-family: var(--display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.14;
  margin: 0;
}

.landing a { color: inherit; }
.landing :focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.rule { display: block; width: 68px; height: 3px; background: var(--rust); margin: 1.4rem 0; }
.rule-inline { display: inline-block; width: 46px; height: 2px; margin: 0 0 4px .7rem; vertical-align: middle; }

.eyebrow {
  font-size: .82rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rust); margin: 0 0 1rem;
}

/* header ------------------------------------------------------------ */
.lp-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.5rem clamp(1.25rem, 5vw, 4.5rem);
}
.lp-logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.lp-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.lp-logo-text strong {
  font-size: 1.15rem; letter-spacing: .1em; color: var(--navy); font-weight: 700;
}
.lp-logo-text em {
  font-style: normal; font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--body);
}
.lp-nav { display: flex; align-items: center; gap: 1.5rem; font-size: .85rem; }
.lp-nav-link {
  text-decoration: none; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--navy); padding-bottom: .3rem;
  border-bottom: 2px solid transparent;
}
.lp-nav-link:hover, .lp-nav-link:first-of-type { border-bottom-color: var(--rust); }
.lp-langs { display: flex; gap: .5rem; padding-left: 1rem; border-left: 1px solid var(--line); }
.lp-langs a { text-decoration: none; color: var(--body); font-weight: 600; }
.lp-langs a.on { color: var(--rust); }

/* hero -------------------------------------------------------------- */
.lp-hero { position: relative; overflow: hidden; background: var(--cream); }
.lp-hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: url("../img/hero-ararat.jpg");
  background-size: cover; background-position: 62% 50%;
}
.lp-hero-photo::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(100deg,
    var(--cream) 0%, var(--cream) 28%,
    rgba(250, 246, 241, .82) 42%,
    rgba(250, 246, 241, .25) 58%,
    rgba(250, 246, 241, 0) 72%);
}
.lp-hero-inner {
  position: relative; z-index: 2;
  max-width: 78rem; margin: 0 auto;
  padding: clamp(9rem, 17vh, 12rem) clamp(1.25rem, 5vw, 4.5rem) clamp(5rem, 12vh, 8rem);
}
.lp-hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); max-width: 12ch; }
.lp-hero h1 .accent { color: var(--rust); }
.lp-hero p { max-width: 34ch; margin: 0; font-size: 1rem; }
.lp-hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 62px; z-index: 1;
  background: url("../img/ornament.svg") repeat-y center top / 60px 60px;
  opacity: .35;
}

/* about ------------------------------------------------------------- */
.lp-about {
  background: var(--cream-2);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 78rem; margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4.5rem);
}
.lp-about { position: relative; }
.lp-about-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.35rem); max-width: 16ch; margin-bottom: 1.2rem; }
.lp-about .lead { max-width: 46ch; }

.lp-traits { list-style: none; display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin: 2.5rem 0 0; padding: 0; }
.lp-traits li { display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center; max-width: 8rem; }
.lp-traits svg { width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-traits span { font-weight: 700; color: var(--navy); font-size: .95rem; line-height: 1.3; }

.lp-about-photo { position: relative; margin: 0; }
.lp-about-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.lp-about-photo .fold {
  position: absolute; top: 0; right: 0; width: 62px; height: 62px;
  background: var(--rust);
  border-top-right-radius: 10px;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

/* join -------------------------------------------------------------- */
.lp-join {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  max-width: 78rem; margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4.5rem);
}
.lp-join-text { position: relative; z-index: 2; }
.lp-join-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.35rem); max-width: 14ch; }
.lp-join-text p { max-width: 40ch; }
.lp-fields { font-size: .9rem; color: var(--body); }
.lp-fields a { text-decoration-color: var(--line); }
.lp-ribbon {
  position: absolute; left: -9rem; bottom: -4rem; width: 21rem; z-index: -1;
  pointer-events: none; opacity: .95;
}

.lp-form-card {
  position: relative; z-index: 2;
  background: #fff; border: 1px solid #efe8df; border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 18px 40px -28px rgba(16, 49, 79, .45);
}
.lp-form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; margin: 0 0 1rem; }
.field svg {
  position: absolute; left: 14px; top: 17px; width: 19px; height: 19px;
  fill: none; stroke: #9aa4ae; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.field-area svg { top: 15px; }
.field input, .field textarea {
  font: inherit; width: 100%; color: var(--navy);
  padding: .82rem .9rem .82rem 2.9rem;
  border: 1px solid #e3ddd5; border-radius: 9px; background: #fff;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #98a2ad; }
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--rust); }
.hp { position: absolute; left: -9999px; }

.lp-form-card button {
  font: inherit; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  width: 100%; margin-top: .4rem; padding: 1rem;
  background: var(--navy); color: #fff; border: 0; border-radius: 9px; cursor: pointer;
}
.lp-form-card button:hover { background: var(--rust); }
.lp-sent { margin: 0 0 1.2rem; padding: .8rem 1rem; border-left: 3px solid var(--rust); background: var(--cream-2); color: var(--navy); }
.lp-error { margin: 0 0 .8rem; color: var(--rust-dark); font-size: .9rem; }

/* footer ------------------------------------------------------------ */
.lp-foot { position: relative; background: var(--navy-deep); color: #b9c8d8; text-align: center; padding: 4.5rem 1.25rem 2rem; overflow: hidden; }
.lp-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; opacity: .5; }
.lp-foot p { position: relative; z-index: 2; margin: 0; font-size: .85rem; }

/* responsive -------------------------------------------------------- */
@media (max-width: 60rem) {
  .lp-about, .lp-join { grid-template-columns: 1fr; }
  .lp-about-photo { order: -1; }
  .lp-hero::before { display: none; }
  .lp-hero-photo { background-position: 68% 50%; }
  .lp-hero-photo::after {
    background: linear-gradient(180deg, rgba(250,246,241,.94) 0%, rgba(250,246,241,.88) 55%, rgba(250,246,241,.7) 100%);
  }
  .lp-ribbon { display: none; }
  .lp-nav-link:not(:first-of-type) { display: none; }
}
@media (max-width: 34rem) {
  .lp-form-card .row { grid-template-columns: 1fr; }
  .lp-traits { flex-wrap: wrap; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }



body.landing { overflow-x: hidden; }
.lp-join { overflow: visible; }
.lp-join::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 21rem;
  height: 27.5rem;
  background: url("../img/ribbon.svg") left bottom / 100% 100% no-repeat;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 60rem) { .lp-join::before { display: none; } }
