@font-face {
  font-family: Cinzel;
  src: url("../fonts/Cinzel-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
body {
  margin: 0;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: #fff;
  background: #000;
}
.tnmc-door {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #000;
  color: #fff;
  padding: 2.5rem 1.25rem 2rem;
}
.tnmc-landing .tnmc-door { padding-bottom: 4.5rem; }
.tnmc-roundel {
  width: 9rem;
  height: auto;
  background: transparent;
  display: block;
}
.tnmc-word,
.tnmc-door h1 {
  margin: 1rem 0 0;
  max-width: 16ch;
  color: #fff;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.tnmc-actions {
  display: flex;
  gap: 1.75rem;
  width: min(100%, 68rem);
  margin-top: 2.25rem;
}
.tnmc-actions a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 1rem;
  color: #fff;
  background: #000;
  border: 5px solid #1E411E;
  border-radius: 22px;
  box-shadow: 0 0 0 6px #000, 0 0 0 11px #1E411E;
  font-size: 22px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.tnmc-marae {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 1110 / 470;
  overflow: hidden;
  background: #000;
}
.tnmc-marae img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.tnmc-marae::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 46%;
  background: linear-gradient(#000 0%, #000 4%, transparent 32%);
  pointer-events: none;
}
.tnmc-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.25rem 2.5rem;
  background: #000;
  color: #fff;
  text-align: center;
}
.tnmc-quiet,
.tnmc-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}
.tnmc-foot a { color: #fff; text-decoration: none; }
.tnmc-incorporated {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  color: #fff;
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: none;
}
.tnmc-landing .tnmc-door h1 {
  max-width: none;
  font-size: 44px;
  letter-spacing: 0.16em;
}
.tnmc-landing .tnmc-actions { gap: 16px; width: 100%; }
.tnmc-landing .tnmc-actions a {
  height: 88px;
  min-height: 88px;
  padding: 0 1.5rem;
  color: #fff;
  background: linear-gradient(#3d7a3d, #1E411E, #122612);
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 18px rgba(0, 0, 0, 0.45);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 18px;
  letter-spacing: 0.14em;
}
body:has(.tnmc-guest) .tnmc-door,
body:has(.tnmc-guest) .tnmc-foot {
  position: relative;
  z-index: 1;
  background: transparent;
}
.tnmc-guest {
  position: relative;
  z-index: 1;
  max-width: none;
  min-height: 36rem;
  margin: 0;
  padding: 2.5rem 1.25rem 3.5rem;
  background: transparent;
}
.tnmc-guest::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("/wp-content/uploads/2025/02/287501401_1636697960043127_7572378098292304808_n-1.jpg") center / cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
}
.tnmc-guest h1,
.tnmc-guest nav {
  position: relative;
  z-index: 1;
}
.tnmc-guest h1 {
  margin: 0;
  text-align: center;
}
.tnmc-guest nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 40rem);
  margin: 1.75rem auto 0;
}
.tnmc-guest nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  min-height: 88px;
  padding: 0 1.5rem;
  color: #fff;
  background: linear-gradient(#3d7a3d, #1E411E, #122612);
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 18px rgba(0, 0, 0, 0.45);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}
.tnmc-page,
.tnmc-gallery,
.tnmc-account { max-width: 40rem; margin: 0 auto; }
.tnmc-account h1,
.tnmc-account h2 {
  font-size: 1.5rem;
}
.tnmc-account h2 {
  margin: 1.5rem 0 0.5rem;
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tnmc-identity {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
}
.tnmc-identity p { margin: 0; font-size: 1.75rem; }
@media (max-width: 700px) {
  .tnmc-identity { flex-wrap: wrap; row-gap: 1.25rem; margin-bottom: 0.75rem; }
  .tnmc-identity p { flex: 1 0 100%; }
}
.tnmc-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 1.75rem; flex: none; }
.tnmc-badge-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border: 4px solid #3d7a3d;
  background: transparent;
  transform: rotate(45deg);
}
.tnmc-badge-life,
.tnmc-badge-seat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 0.9rem;
  border: 4px solid #D4AF37;
  background: transparent;
  color: #fff;
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.tnmc-badge-seat { border-color: #3d7a3d; }
.tnmc-badge-year span {
  transform: rotate(-45deg);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
}
a.tnmc-small,
.tnmc-account .tnmc-fold > summary {
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 44px;
  min-height: 44px;
  margin: 0.75rem 0 0;
  padding: 0 1.1rem;
  color: #fff;
  background: linear-gradient(#3d7a3d, #1E411E, #122612);
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 12px rgba(0, 0, 0, 0.45);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 44px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
a.tnmc-small { display: inline-flex; }
.tnmc-account .tnmc-fold { display: block; }
.tnmc-account .tnmc-fold > summary { display: list-item; list-style: none; }
.tnmc-account .tnmc-fold > summary::-webkit-details-marker { display: none; }
.tnmc-fold .tnmc-contact { margin-top: 0.75rem; }
.tnmc-fold .tnmc-contact h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.tnmc-page p,
.tnmc-page li { line-height: 1.6; }
.tnmc-page img { max-width: 100%; height: auto; }
.tnmc-gallery img { max-width: 100%; height: auto; }
@media (max-width: 700px) {
  .tnmc-actions { flex-direction: column; width: 100%; }
  .tnmc-actions a {
    min-height: 108px;
    border-radius: 20px;
    font-size: 20px;
  }
  .tnmc-landing .tnmc-actions a {
    height: 88px;
    min-height: 88px;
    border-radius: 999px;
    font-size: 18px;
  }
}
main { padding: 1rem 1.25rem 2rem; }
.tnmc-landing { max-width: calc(50vw + 20rem); margin: 0 auto; padding: 0; }
main h1 {
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tnmc-contact,
.tnmc-koha {
  max-width: 28rem;
  margin: 2rem auto;
  color: #fff;
  background: #000;
  padding: 2rem 1.25rem 3rem;
}
.tnmc-contact h1,
.tnmc-koha h1 {
  text-align: center;
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0.14em;
  font-size: 2.4rem;
}
.tnmc-contact p,
.tnmc-koha p { text-align: center; line-height: 1.5; }
.tnmc-contact label,
.tnmc-koha label,
.tnmc-fields label { display: block; margin: 0 0 1rem; }
.tnmc-ride-fields { margin: 1.25rem 0 0.25rem; }
.tnmc-ride-fields div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  column-gap: 1.25rem;
  align-items: baseline;
  margin: 0;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(61, 122, 61, 0.4);
}
.tnmc-ride-fields dt {
  margin: 0;
  color: #8faf8f;
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.tnmc-ride-fields dd {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.35;
}
@media (max-width: 700px) {
  .tnmc-ride-fields div {
    grid-template-columns: 1fr;
    row-gap: 0.15rem;
  }
}
.tnmc-contact input,
.tnmc-contact select,
.tnmc-contact textarea,
.tnmc-koha input,
.tnmc-koha select,
.tnmc-koha textarea,
.tnmc-fields input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  padding: 0.8rem 0.7rem;
  color: #fff;
  background: #000;
  border: 3px solid #1E411E;
  border-radius: 12px;
  font: inherit;
}
.tnmc-contact textarea { min-height: 8rem; }
.tnmc-contact input[type="checkbox"],
.tnmc-koha input[type="checkbox"] {
  width: auto;
  display: inline-block;
  margin: 0 0.4rem 0 0;
}
.tnmc-turnstile { margin: 0 0 1rem; padding: 0.8rem; border: 1px dashed #333; border-radius: 12px; text-align: center; color: #aaa; }
.tnmc-turnstile--live { padding: 0; border: 0; text-align: left; }
.tnmc-contact button,
.tnmc-koha button,
.tnmc-officer button,
.tnmc-officer-actions a,
.tnmc-account-actions a,
.tnmc-page button,
article button,
form button {
  display: flex;
  width: 100%;
  height: 88px;
  min-height: 88px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  margin: 16px 0 0;
  padding: 0 1.5rem;
  color: #fff;
  background: linear-gradient(#3d7a3d, #1E411E, #122612);
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 18px rgba(0, 0, 0, 0.45);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 18px;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
a { color: inherit; }
.tnmc-officer { max-width: 40rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.tnmc-officer h1 {
  text-align: center;
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tnmc-officer h2 { font-size: 1.35rem; margin: 0 0 0.25rem; }
.tnmc-officer section {
  margin: 0 0 1.5rem;
  padding: 1rem;
  border: 1px solid #1E411E;
  border-radius: 16px;
}
.tnmc-officer p { line-height: 1.5; }
.tnmc-officer form label { display: block; margin: 0 0 1rem; }
.tnmc-officer form input,
.tnmc-officer form select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  padding: 0.8rem 0.7rem;
  color: #fff;
  background: #000;
  border: 3px solid #1E411E;
  border-radius: 12px;
  font: inherit;
}
.tnmc-officer-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 1.5rem;
}
.tnmc-officer-actions a,
.tnmc-account-actions a { margin: 0; }
.tnmc-account-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 1.5rem;
}
.tnmc-officer-pair { display: flex; gap: 16px; }
.tnmc-officer-pair a {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0.85rem 1rem;
}
.tnmc-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tnmc-notice {
  margin: 0 0 1rem;
  line-height: 1.5;
  text-align: center;
}
.tnmc-notice--ok { color: #b8e0b8; }
.tnmc-notice--err { color: #f0b4b4; }
button, a, input[type="submit"] { cursor: pointer; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
