﻿/* Design tokens shared by the layout and home-page sections. */
:root {
  --paper: #f8f7f2;
  --ink: #253e34;
  --green: #214b3e;
  --muted: #686f66;
  --line: #dddfd3;
  --sage: #edf0e7;
  --gold: #d6bc79;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #a67b27;
  outline-offset: 5px;
}
::selection {
  color: white;
  background: var(--green);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(3.4rem, 5.25vw, 5.5rem);
  margin-bottom: 28px;
}
/* Blazor focuses the heading after navigation; it is not an interactive control. */
h1:focus {
  outline: none;
}
h2 {
  font-size: clamp(2.3rem, 3.35vw, 3.5rem);
  margin-bottom: 28px;
}
h3 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}
em {
  font-weight: 400;
  color: #667c55;
}
p {
  margin-bottom: 22px;
}
.container {
  width: min(1240px, calc(100% - 112px));
  margin-inline: auto;
}
.section-space {
  padding-block: 100px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.69rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.6;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.small-star {
  font-size: 24px;
  line-height: 1;
  color: #839063;
}
.ukrainian-flag {
  display: inline-block;
  width: 20px;
  height: 13px;
  flex-shrink: 0;
  background: linear-gradient(#5083b0 50%, #e6c85c 50%);
  border-radius: 2px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  color: white;
  background: var(--green);
}
.button-primary:hover {
  background: #16392e;
}
.button-outline {
  background: transparent;
  border-color: #a6b09b;
  color: var(--green);
}
.button-outline:hover {
  background: var(--sage);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #b3b9a9;
}
.text-link:hover {
  text-decoration-color: var(--green);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 20;
  padding: 12px 20px;
  color: white;
  background: var(--green);
}
.skip-link:focus {
  top: 12px;
}

/* Site shell. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 242, 0.96);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.05;
}
.brand-icon {
  height: 3rem;
  width: auto;
  flex-shrink: 0;
}
.brand small {
  display: block;
  margin-top: 9px;
  font-family: var(--sans);
  font-size: 0.47rem;
  font-weight: 600;
  letter-spacing: 0.17em;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-header nav a {
  position: relative;
  padding-block: 14px;
  font-size: 0.84rem;
  color: var(--muted);
}
.site-header nav a:hover,
.site-header nav a.active {
  color: var(--green);
}
.site-header nav a.active::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}
.language-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
}
.language-toggle:hover {
  background: var(--sage);
}
.language-toggle .selected {
  color: var(--green);
  font-weight: 750;
}
.language-divider {
  color: #9da392;
}
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding-block: 40px;
}
.footer-top > p {
  max-width: 270px;
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
}
.footer-bottom > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.social-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 0.8rem;
}
.social-link:hover {
  color: #6b7e4a;
}
.external-arrow {
  margin-left: 4px;
}
.social-pending {
  font-size: 0.8rem;
  margin: 12px 0 0;
  max-width: 360px;
}

/* Home: photograph-led introduction and compact military acknowledgment. */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  align-items: center;
  gap: 65px;
  padding-block: 76px 84px;
}
.hero-description {
  color: var(--muted);
  max-width: 440px;
  font-size: 0.99rem;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 35px 0 0;
  font-size: 0.7rem;
  color: var(--muted);
}
.hero-photo {
  position: relative;
  margin-right: 12px;
  padding: 10px 10px 0;
  background: #fffefa;
  border: 1px solid #e0e0d5;
  border-radius: 160px 160px 5px 5px;
  transform: rotate(2deg);
  box-shadow: 0 14px 35px #273e3210;
}
.hero-photo > img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: 49% center;
  border-radius: 152px 152px 2px 2px;
}
.hero-photo figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 57px;
  padding: 12px 8px;
  font-size: 0.7rem;
}
.photo-stamp {
  position: absolute;
  bottom: 22px;
  right: -33px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 107px;
  height: 107px;
  padding: 12px;
  background: #eee8d6;
  border: 1px solid #d8cfb4;
  outline: 5px solid var(--paper);
  border-radius: 50%;
  text-align: center;
  font-size: 0.52rem;
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: 0.12em;
  transform: rotate(10deg);
}
.photo-stamp span {
  font-size: 30px;
  line-height: 1.05;
}
.values-strip {
  border-block: 1px solid var(--line);
}
.values-strip > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 21px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.values-strip span:nth-child(even) {
  color: #9a9e77;
  font-size: 20px;
}
.thanks {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  align-items: center;
  gap: 70px;
  margin-top: 60px;
  padding: 38px 48px;
  background: var(--sage);
  border: 1px solid #e0e4d6;
  border-radius: 8px;
}
.thanks h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.55rem);
  margin-bottom: 18px;
}
.thanks .eyebrow {
  margin-bottom: 17px;
}
.thanks-copy > p:last-child {
  font-size: 0.88rem;
  color: #626c5d;
  line-height: 1.8;
  margin-bottom: 0;
}
.thanks-document {
  min-width: 0;
}
.document-placeholder {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #f8f8f2;
  border: 1px dashed #bdc5ae;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #66725b;
}
.document-placeholder .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}
.document-placeholder small {
  font-size: 0.68rem;
  color: var(--muted);
}
.thanks-document img {
  max-height: 360px;
  width: 100%;
  object-fit: contain;
}

/* Long-form story and the route overview. */
.story {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  align-items: center;
  gap: 100px;
}
.story-photo {
  align-self: start;
  padding-top: 10px;
}
.story-photo img {
  width: 100%;
  max-height: 670px;
  object-fit: cover;
  border-radius: 6px;
}
.story-photo figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  padding-top: 18px;
  color: var(--muted);
}
.story-copy > p:not(.eyebrow) {
  font-size: 0.91rem;
  line-height: 1.95;
  color: var(--muted);
}
.story blockquote {
  border-left: 2px solid #a2ae86;
  padding: 4px 0 4px 22px;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
}
.journey {
  background: var(--green);
  color: var(--paper);
}
.journey-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
}
.journey em {
  color: #c8d2b6;
}
.journey .eyebrow {
  color: #c7d0b8;
}
.journey-layout > div > p:not(.eyebrow) {
  color: #d6dfd2;
  font-size: 0.91rem;
  line-height: 1.95;
}
.journey .text-link {
  margin-top: 8px;
}
.journey-stop {
  display: grid;
  grid-template-columns: 72px 1fr 24px;
  align-items: center;
  gap: 20px;
  padding: 35px 0;
  border-bottom: 1px solid #64816a;
}
.journey-stop:first-child {
  border-top: 1px solid #64816a;
}
.stop-number {
  align-self: start;
  padding-top: 6px;
  font-size: 0.85rem;
  color: #cad4b4;
}
.journey-stop .eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 0.62rem;
}
.journey-stop p {
  color: #ccd8c7;
  font-size: 0.8rem;
  margin: 0;
}
.journey-note {
  margin: 24px 0 0;
  font-size: 0.75rem !important;
}

/* Gallery and invitation. */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 38px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 220px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.83rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 22px;
}
.gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 5px;
  background: var(--sage);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s;
}
.gallery-grid a:hover img {
  transform: scale(1.04);
}
.gallery-grid figcaption {
  padding-top: 12px;
  font-size: 0.73rem;
  color: var(--muted);
}
.photo-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--ink);
  background: #fbfaf0ed;
}
.gallery-action {
  text-align: center;
  margin-top: 40px;
}
.contact-section {
  position: relative;
  text-align: center;
  padding: 64px 40px;
  margin-bottom: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f0f0e6;
  border-radius: 8px;
}
.contact-star {
  display: inline-block;
  font-size: 46px;
  line-height: 1;
  color: #7e8a5d;
  margin-bottom: 22px;
}
.contact-section .eyebrow {
  justify-content: center;
}
.contact-section h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}
.contact-section > p:not(.eyebrow) {
  max-width: 590px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.9rem;
}
.social-links.contact {
  justify-content: center;
  margin: 30px 0;
  gap: 14px;
}
.contact .social-link {
  background: var(--green);
  color: white;
  padding: 12px 22px;
  border-radius: 4px;
  min-height: 50px;
}
.contact .social-link:hover {
  background: #16392e;
}
.contact-section .contact-signoff {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 1.1rem !important;
  font-style: italic;
}
.not-found {
  min-height: 55vh;
  padding-block: 90px;
}

/* Initial load and recoverable application error. */
.app-loading {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.app-loading > span {
  color: var(--green);
  font-size: 72px;
}
.app-loading p {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.app-loading small {
  color: var(--muted);
}
#blazor-error-ui {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff4db;
  color: #47361a;
  padding: 16px 56px 16px 20px;
  border-top: 1px solid #d6bc79;
  font-size: 0.85rem;
}
#blazor-error-ui .reload {
  margin-left: 12px;
  text-decoration: underline;
}
#blazor-error-ui .dismiss {
  position: absolute;
  right: 10px;
  top: 6px;
  border: 0;
  background: transparent;
  font-size: 28px;
  min-width: 44px;
  min-height: 44px;
  color: inherit;
}

@media (min-width: 1600px) {
  .hero {
    padding-block: 100px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 72px);
  }
  .hero {
    gap: 35px;
  }
  .hero-photo > img {
    height: 440px;
  }
  .hero-actions {
    gap: 20px;
  }
  .story,
  .journey-layout {
    gap: 50px;
  }
  .thanks {
    gap: 40px;
    padding: 32px;
  }
  .footer-top {
    grid-template-columns: auto 1fr;
  }
  .footer-top > div {
    grid-column: 1 / -1;
  }
  .footer-top > p {
    max-width: none;
    justify-self: end;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 150px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .section-space {
    padding-block: 64px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 0 16px;
    min-height: 112px;
    padding-top: 16px;
  }
  .brand {
    font-size: 1.9rem;
  }
  .brand-icon {
    height: 2.5rem;
  }
  .brand small {
    font-size: 0.42rem;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 42px;
    padding-top: 5px;
  }
  .site-header nav a {
    padding-block: 10px 14px;
  }
  .language-toggle {
    margin-left: auto;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 45px 55px;
  }
  .hero-copy {
    max-width: 570px;
  }
  h1 {
    font-size: clamp(3.3rem, 9vw, 4.8rem);
  }
  .hero-description {
    max-width: 520px;
  }
  .hero-note {
    margin-top: 25px;
  }
  .hero-photo {
    width: calc(100% - 24px);
    max-width: 530px;
    justify-self: center;
    margin-right: 8px;
    border-radius: 110px 110px 5px 5px;
  }
  .hero-photo > img {
    height: auto;
    aspect-ratio: 1.08;
    border-radius: 102px 102px 2px 2px;
  }
  .photo-stamp {
    right: -22px;
    width: 90px;
    height: 90px;
    font-size: 0.45rem;
    bottom: 38px;
  }
  .values-strip > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    text-align: center;
    font-size: 0.6rem;
  }
  .values-strip span:nth-child(even) {
    display: none;
  }
  .thanks {
    grid-template-columns: 1fr;
    margin-top: 38px;
    padding: 28px;
    gap: 28px;
  }
  .thanks h2 {
    font-size: 2rem;
  }
  .document-placeholder {
    min-height: 190px;
  }
  .story {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .story-copy {
    grid-row: 1;
  }
  .story-photo {
    max-width: 480px;
    margin-inline: auto;
  }
  .story-photo img {
    max-height: 540px;
  }
  .journey-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .journey-stop {
    grid-template-columns: 60px 1fr 24px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    max-width: none;
    margin-top: 18px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .gallery-grid img {
    aspect-ratio: 1;
  }
  .contact-section {
    padding: 45px 22px;
    margin-bottom: 10px;
  }
  .contact-section h2 {
    font-size: clamp(2.15rem, 7vw, 3rem);
  }
  .contact-section .eyebrow {
    font-size: 0.6rem;
  }
  .footer-top {
    gap: 20px;
    padding-block: 30px;
  }
  .footer-top > p {
    font-size: 0.7rem;
    max-width: 190px;
  }
  .footer-bottom {
    font-size: 0.65rem;
    gap: 14px;
  }
}
@media (max-width: 380px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero-actions {
    gap: 14px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .eyebrow {
    letter-spacing: 0.12em;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .brand small {
    font-size: 0.37rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
