/* Minimal public site — new projects */

body.site-refresh {
  --paper: #f6f4ef;
  --ink: #14211e;
  --muted: #5c6b66;
  --line: #e5e0d6;
  --teal: #0e4a40;
  --teal-deep: #0a332c;
  background: var(--paper);
  color: #24312e;
}

body.site-refresh .site-header {
  background: rgba(255, 252, 247, .92);
  backdrop-filter: saturate(1.2) blur(16px);
  box-shadow: none;
  border-bottom: 1px solid var(--line);
}
body.site-refresh .site-header.scrolled { box-shadow: 0 10px 30px rgba(20, 33, 30, .08); }
.hha-top {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 32px;
  min-height: 76px;
  padding: 0 36px;
}
.hha-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.hha-mark {
  width: auto;
  height: 52px;
  object-fit: contain;
  display: block;
}
.hha-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.hha-brand-text strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
}
.hha-brand-text small {
  margin-top: 4px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.hha-nav { min-width: 0; }
.hha-nav .nav-links {
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.hha-end { display: flex; align-items: center; gap: 14px; }
.hha-cta {
  display: inline-flex;
  align-items: center;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .84rem;
  font-weight: 650;
  transition: background .2s ease, transform .2s ease;
}
.hha-cta:hover { background: var(--teal-deep); transform: translateY(-1px); }
body.site-refresh .hha-end .lang-switch {
  margin: 0;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 0;
}
body.site-refresh .hha-end .lang-switch-btn,
body.site-refresh .mnav-langs a {
  width: 34px;
  height: 26px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  box-shadow: none;
}
body.site-refresh .hha-end .lang-switch-btn.is-active,
body.site-refresh .mnav-langs a.is-active {
  background: #fff;
  box-shadow: 0 0 0 2px var(--teal);
}
.hha-flag {
  width: 22px;
  height: 15px;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(20, 33, 30, .18);
}
body.site-refresh .mnav-langs { align-items: center; }
body.site-refresh .nav-link {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 550;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
body.site-refresh .nav-link:hover { color: var(--ink); background: rgba(14, 74, 64, .06); }
body.site-refresh .nav-link.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  font-weight: 650;
}

.nx {
  --max: 1120px;
}
.nx-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.nx-kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.nx h1, .nx h2, .nx h3 {
  font-family: var(--body);
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.12;
  font-weight: 650;
}
.nx p { color: #3a4945; }

.nx-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: end;
  padding: 48px 0 28px;
}
.nx-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 11ch;
  margin-bottom: 18px;
}
.nx-lead {
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 38rem;
  margin-bottom: 22px;
}
.nx-slogan {
  font-family: var(--head);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 26px;
}
.nx-slogan span {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: .92rem;
  color: var(--muted);
  margin-top: 4px;
}
.nx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.nx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: .92rem;
  font-weight: 650;
  border: 1px solid transparent;
}
.nx-btn-solid { background: var(--teal); color: #fff; }
.nx-btn-solid:hover { background: var(--teal-deep); }
.nx-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.nx-btn-ghost:hover { background: #fff; }
.nx-hero-photo {
  margin: 0;
  position: relative;
}
.nx-hero-photo img,
.nx-photo img,
.nx-card img,
.nx-tile img,
.nx-program img,
.nx-gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}
.nx-hero-photo img {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
}
.nx-hero-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}

.nx-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 18px 0 8px;
}
.nx-fact { padding: 22px 8px 22px 0; }
.nx-fact strong {
  display: block;
  font-size: 1.55rem;
  letter-spacing: -.03em;
  color: var(--ink);
  font-weight: 650;
}
.nx-fact span { color: var(--muted); font-size: .88rem; }

.nx-section { padding: 64px 0; }
.nx-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.nx-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 16ch; }
.nx-head p { max-width: 34rem; margin: 0; }

.nx-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.nx-card {
  display: grid;
  grid-template-rows: auto auto;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  min-height: 100%;
}
.nx-card:hover { border-color: #cfc8ba; }
.nx-card div { padding: 22px 22px 24px; }
.nx-card h3 { font-size: 1.35rem; margin: 6px 0 8px; }
.nx-card p { margin: 0; }
.nx-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 650;
  font-size: .88rem;
}

.nx-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.nx-split.reverse { grid-template-columns: 1.1fr .9fr; }
.nx-split.reverse .nx-copy { order: 2; }
.nx-photo img { border-radius: 22px; aspect-ratio: 3 / 2; height: auto; }
.nx-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.nx-copy p + p { margin-top: 12px; }
.nx-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.nx-list li {
  padding-left: 16px;
  position: relative;
  color: #3a4945;
}
.nx-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: .55em;
}

.nx-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.nx-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.nx-tile img { aspect-ratio: 3 / 2; }
.nx-tile div { padding: 20px 22px 24px; }
.nx-tile h3 { font-size: 1.25rem; margin-bottom: 8px; }

.nx-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
}
.nx-logos img {
  height: 72px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
}

.nx-note {
  background: var(--teal);
  color: #e7f3f0;
  border-radius: 22px;
  padding: 36px 36px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
}
.nx-note h2, .nx-note p, .nx-note li { color: inherit; }
.nx-note .nx-list li::before { background: #f0c27a; }
.nx-note .nx-btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }

.nx-hope {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}
.nx-hope img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
}
.nx-hope h2 { font-size: 1.25rem; margin: 4px 0; }
.nx-hope p { margin: 0; color: var(--muted); }
.nx-hope time { display: block; font-size: .8rem; color: var(--muted); margin-top: 6px; }

.nx-page-hero { padding: 42px 0 10px; max-width: 46rem; }
.nx-page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 14px; }
.nx-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 8px;
}
.nx-subnav a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .82rem;
  font-weight: 600;
}
.nx-article { padding: 28px 0 10px; }
.nx-article + .nx-article { border-top: 1px solid var(--line); margin-top: 20px; }

.nx-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.nx-value {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 20px;
}
.nx-value h3 { font-size: 1.05rem; margin-bottom: 6px; }
.nx-value p { margin: 0; font-size: .95rem; }

.nx-program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.nx-program {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.nx-program img { aspect-ratio: 3 / 2; height: auto; }
.nx-program div { padding: 16px 16px 18px; }
.nx-program h3 { font-size: 1.08rem; margin-bottom: 6px; }
.nx-program p { margin: 0; font-size: .94rem; }

.nx-gallery {
  columns: 3;
  column-gap: 14px;
}
.nx-gallery figure {
  break-inside: avoid;
  margin: 0 0 14px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.nx-gallery img { height: auto; }
.nx-gallery figcaption {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nx-gallery strong { color: var(--ink); font-size: .9rem; }
.nx-gallery span { color: var(--muted); font-size: .8rem; }

.nx-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 12px;
  max-width: 640px;
}
.nx-form label { font-size: .8rem; font-weight: 700; color: var(--ink); display: grid; gap: 6px; }
.nx-form input, .nx-form textarea {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.nx-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.nx-alert {
  border-radius: 12px;
  padding: 10px 12px;
  background: #e7f3ef;
  color: var(--teal-deep);
}
.nx-alert.is-error { background: #fdecec; color: #8a2a2a; }

body.site-refresh .hha-foot {
  background: transparent;
  color: var(--muted);
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
}
.hha-foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hha-foot-inner p { margin: 0; font-size: .84rem; }
.hha-foot-inner nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.hha-foot-inner a {
  color: var(--ink);
  text-decoration: none;
  font-size: .84rem;
}
.hha-foot-inner a:hover { color: var(--teal); }
body.site-refresh .site-header,
body.site-refresh .nav-bar,
body.site-refresh .nav-inner,
body.site-refresh .nav-links { overflow: visible; }
body.site-refresh .nav-drop { position: relative; display: flex; align-items: center; }
body.site-refresh .nav-drop-btn {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
body.site-refresh .nav-drop > .nav-link::after,
body.site-refresh .nav-drop-btn::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  display: inline-block;
  transform: translateY(1px);
}
body.site-refresh .nav-drop-panel {
  display: grid;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(20, 33, 30, .08);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
body.site-refresh .nav-drop:hover .nav-drop-panel,
body.site-refresh .nav-drop:focus-within .nav-drop-panel,
body.site-refresh .nav-drop.is-open .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
body.site-refresh .nav-drop-panel a {
  text-decoration: none;
  color: var(--ink);
  font-size: .86rem;
  padding: 9px 10px;
  border-radius: 10px;
}
body.site-refresh .nav-drop-panel a:hover,
body.site-refresh .nav-drop-panel a.is-current { background: #f3f0ea; }
.mnav-label {
  margin: 12px 24px 2px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5c6b66;
}
.nx-identity {
  display: grid;
  gap: 12px;
}
.nx-identity article,
.nx-card-text,
.nx-program-text,
.nx-tile-text {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.nx-identity article { padding: 20px 22px; }
.nx-identity h2 { font-size: 1.4rem; margin-bottom: 6px; }
.nx-card-text { grid-template-rows: auto; }
.nx-slots {
  list-style: none;
  margin: 8px 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.nx-slots li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.nx-slots h2 { font-size: 1.05rem; margin: 0 0 4px; }
.nx-slots p { margin: 0; color: var(--muted); font-size: .95rem; }
.nx-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 36px;
}
.nx-related a {
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .84rem;
  font-weight: 650;
}
.nx-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
}
.nx-contact a { color: var(--teal); font-weight: 650; }
.nx-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 28px;
}
.nx-photos figure {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #e7e2d8;
  aspect-ratio: 3 / 2;
}
.nx-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
}
.nx-photos--gallery { grid-template-columns: repeat(3, 1fr); }
.nx-shot-mark { background: #fff; }
.nx-shot-mark img {
  object-fit: contain;
  background: #fff;
  padding: 8%;
}
.nx-photos figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.nx-shot-mark img { object-fit: contain; background: #fff; padding: 12%; }

@media (max-width: 1080px) {
  body.site-refresh .hha-nav { display: none; }
  body.site-refresh .nav-toggle { display: flex; }
  .hha-top { padding: 0 18px; column-gap: 12px; }
}
@media (max-width: 820px) {
  .nx-hero,
  .nx-split,
  .nx-split.reverse,
  .nx-project-grid,
  .nx-pair,
  .nx-note,
  .nx-program-grid,
  .nx-values { grid-template-columns: 1fr; }
  .nx-split.reverse .nx-copy { order: 0; }
  .nx-facts { grid-template-columns: 1fr 1fr; }
  .nx-gallery { columns: 2; }
  .nx-hope { grid-template-columns: 88px 1fr; }
  .nx-hope .nx-btn { display: none; }
  .nx-head { flex-direction: column; align-items: flex-start; }
  .nx-photos, .nx-photos--gallery { grid-template-columns: 1fr 1fr; }
  .hha-brand-text strong { font-size: .92rem; }
}
@media (max-width: 640px) {
  .nx-wrap { width: min(100% - 28px, var(--max)); }
  .nx-gallery { columns: 1; }
  .nx-facts { grid-template-columns: 1fr 1fr; gap: 0; }
  .nx-hero { padding-top: 28px; gap: 22px; }
  .nx-photos, .nx-photos--gallery { grid-template-columns: 1fr; }
}

@keyframes nx-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hha-top { animation: nx-rise .5s ease both; }
.nx-hero > * { animation: nx-rise .7s ease both; }
.nx-hero > :nth-child(2) { animation-delay: .12s; }
.nx-card,
.nx-program,
.nx-tile,
.nx-photos figure,
.nx-slots li {
  animation: nx-rise .6s ease both;
}
.nx-card:nth-child(2),
.nx-program:nth-child(2),
.nx-photos figure:nth-child(2) { animation-delay: .08s; }
.nx-program:nth-child(3),
.nx-photos figure:nth-child(3) { animation-delay: .16s; }
.nx-photos figure:nth-child(4) { animation-delay: .22s; }
.nx-photos figure:nth-child(5) { animation-delay: .28s; }
.nx-photos figure:nth-child(6) { animation-delay: .34s; }
.nx-hero-photo { overflow: hidden; border-radius: 22px; }
.nx-hero-photo img { border-radius: 0; }
.nx-card img,
.nx-program img,
.nx-tile img,
.nx-photos img,
.nx-hero-photo img {
  transition: transform .6s ease;
}
.nx-card:hover img,
.nx-program:hover img,
.nx-tile:hover img,
.nx-photos figure:hover img {
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .hha-top,
  .nx-hero > *,
  .nx-card,
  .nx-program,
  .nx-tile,
  .nx-photos figure,
  .nx-slots li {
    animation: none;
  }
  .nx-card img,
  .nx-program img,
  .nx-tile img,
  .nx-photos img,
  .nx-hero-photo img,
  .hha-cta,
  body.site-refresh .nav-drop-panel {
    transition: none;
  }
}
