:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #17243a;
  background: #f5f7f6;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
a {
  color: inherit;
}

.notice {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: #d8f4bb;
  color: #193223;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.notice a {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.header-toggle-row {
  display: none;
}
.header-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border: 1px solid #dce4e0;
  border-radius: 8px;
  background: white;
  color: #17243a;
  cursor: pointer;
}
.header-toggle [data-caret] {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
body.mobile-header-open .header-toggle [data-caret] {
  transform: translateY(2px) rotate(225deg);
}
.header-toggle:focus-visible {
  outline: 3px solid #4a9c64;
  outline-offset: 3px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 3rem, 1392px);
  height: 86px;
  margin: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: #162a3c;
  color: #d8f4bb;
  font-size: 1.25rem;
}
.header-label {
  color: #647388;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery {
  width: min(100% - 3rem, 1392px);
  margin: auto;
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  padding: 72px 0 53px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #42795a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77bd7b;
}
h1 {
  max-width: 860px;
  margin: 19px 0 17px;
  font-size: clamp(2.8rem, 5.1vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.072em;
}
h1 em {
  color: #58a974;
  font-style: normal;
}
.intro p {
  margin: 0;
  color: #647388;
  font-size: 1.05rem;
  line-height: 1.6;
}
.count {
  padding-bottom: 0.3rem;
  white-space: nowrap;
  color: #647388;
  font-size: 0.9rem;
}
.count strong {
  color: #17243a;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.card {
  overflow: hidden;
  display: block;
  border: 1px solid #e3e9e6;
  border-radius: 19px;
  background: white;
  box-shadow: 0 13px 38px rgba(22, 42, 60, 0.045);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.card:hover,
.card:focus-visible {
  transform: translateY(-5px);
  border-color: #91c9a0;
  box-shadow: 0 24px 44px rgba(22, 42, 60, 0.12);
}
.card.featured {
  border-color: #8ab99a;
  border-width: 4px;
  box-shadow: 0 15px 42px rgba(51, 113, 73, 0.12);
}
.card:focus-visible,
.back:focus-visible,
.brand:focus-visible {
  outline: 3px solid #4a9c64;
  outline-offset: 4px;
}
.preview {
  position: relative;
  padding: 8px 8px 0;
  background: #eef2f1;
}
.featured-badge {
  position: absolute;
  top: 54px;
  right: 27px;
  padding: 0.5rem 0.7rem;
  border-radius: 7px;
  background: #d8f4bb;
  color: #193223;
  box-shadow: 0 4px 15px rgba(22, 42, 60, 0.13);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 27px;
  padding: 0 10px;
  border-radius: 9px 9px 0 0;
  background: #fff;
}
.browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d7dfdf;
}
.browser-bar span {
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  max-width: 72%;
  color: #a4aeb3;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preview img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top left;
  background: #e6effa;
}
.card-body {
  padding: 24px 25px 25px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 11px;
  color: #6b9d73;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-number {
  color: #a1adb6;
}
.card h2 {
  margin: 0 0 9px;
  font-size: 1.46rem;
  letter-spacing: -0.045em;
}
.card p {
  min-height: 48px;
  margin: 0;
  color: #647388;
  font-size: 0.9rem;
  line-height: 1.55;
}
.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid #edf0ee;
  font-size: 0.84rem;
  font-weight: 750;
}
.arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f6e5;
  color: #366749;
  font-size: 1.15rem;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 34px 0 40px;
  color: #83909b;
  font-size: 0.76rem;
}

body.viewer-open {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
body.viewer-open .site-header {
  flex: 0 0 74px;
  width: min(100% - 2rem, 1600px);
}
.viewer {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  width: min(100% - 2rem, 1600px);
  margin: 0 auto 1rem;
}
.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 11px 0 16px;
}
.viewer-title {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: -0.035em;
}
.viewer-caption {
  margin: 4px 0 0;
  color: #718091;
  font-size: 0.78rem;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid #dce4e0;
  border-radius: 9px;
  background: white;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}
.viewer-frame-shell {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 540px;
}
.viewer-frame {
  display: block;
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 1px solid #dce4e0;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 35px rgba(22, 42, 60, 0.08);
}
.viewer-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid #dce4e0;
  border-radius: 14px;
  background: white;
  color: #647388;
  font-size: 0.9rem;
  font-weight: 650;
}
.viewer-loading[hidden] {
  display: none;
}
.viewer-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #e8f2e9;
  border-top-color: #58a974;
  border-radius: 50%;
  animation: viewer-spin 0.8s linear infinite;
}
@keyframes viewer-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intro {
    padding-top: 45px;
  }
}
@media (max-width: 620px) {
  .notice {
    padding: 0.7rem 1rem;
  }
  .notice [data-notice-intro],
  .notice [data-notice-lead],
  .notice [data-notice-punctuation] {
    display: none;
  }
  .header-toggle-row {
    display: flex;
    justify-content: flex-end;
    width: min(100% - 2rem, 1392px);
    margin: 0 auto;
    padding-top: 0.5rem;
  }
  .site-header {
    display: none;
    width: min(100% - 2rem, 1392px);
    height: 70px;
  }
  body.mobile-header-open .site-header {
    display: flex;
  }
  .header-label {
    display: none;
  }
  .gallery {
    width: min(100% - 2rem, 1392px);
  }
  .intro {
    display: block;
    padding: 39px 0 30px;
  }
  .intro p {
    font-size: 0.95rem;
  }
  .count {
    margin-top: 20px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .preview img {
    height: 240px;
  }
  .card p {
    min-height: 0;
  }
  .footer {
    display: block;
    line-height: 1.8;
  }
  .viewer {
    width: 100%;
    margin: 0;
  }
  .viewer-toolbar {
    padding: 12px 1rem;
  }
  .viewer-caption {
    display: none;
  }
  .viewer-frame-shell {
    min-height: 0;
  }
  .viewer-frame,
  .viewer-loading {
    border-radius: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
  .viewer-spinner {
    animation: none;
  }
}
