@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/login/fonts/eb-garamond-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('/login/fonts/source-sans-3-latin-wght-normal.woff2') format('woff2');
}
:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --green: #233c35;
  --ink: #26372f;
  --muted: #647168;
  --line: #d8dad0;
  --brass: #bda984;
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Source Sans 3 Variable', sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
}
button,
a,
input,
summary {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid #874b39;
}
button {
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
[hidden] {
  display: none !important;
}
.masthead {
  max-width: 1360px;
  margin: auto;
  padding: 35px 64px;
}
.masthead a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font: 30px/1 var(--serif);
}
.masthead small {
  display: block;
  margin-top: 7px;
  font: 10px/1.3 var(--sans);
  letter-spacing: 2.3px;
  text-transform: uppercase;
}
.monogram {
  width: 47px;
  height: 51px;
  border: 1px solid #9faba0;
  border-radius: 50% 50% 3px 3px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.monogram svg {
  width: 28px;
  height: 28px;
}
main {
  max-width: 1232px;
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line);
}
.invitation {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: #f7f4e9;
  padding: 67px 60px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.branch {
  width: 76px;
  height: 92px;
  color: var(--brass);
  margin-bottom: 38px;
}
.branch svg {
  width: 100%;
  height: 100%;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 2.1px;
  margin: 0 0 23px;
}
.invitation .eyebrow {
  color: #d0d6c6;
}
.invitation h1 {
  font: normal clamp(42px, 4.5vw, 63px)/1.06 var(--serif);
  letter-spacing: -1.6px;
  margin: 0 0 26px;
  white-space: nowrap;
}
.invitation h1 em {
  font-weight: normal;
  color: #dfcfab;
}
.intro {
  font: 18px/1.65 var(--serif);
  color: #e0e3d8;
  margin: 0;
}
.collection {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #d0d6c6;
  margin: 47px 0 0;
  display: flex;
  gap: 18px;
}
.collection span {
  color: var(--brass);
}
.signin {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 65px 60px;
  background: #fbfaf5;
}
.form-wrap {
  width: 100%;
  max-width: 350px;
}
.signin .eyebrow {
  color: #737962;
  margin-bottom: 17px;
}
.signin h2:not(.visually-hidden) {
  font: normal 44px/1.12 var(--serif);
  letter-spacing: -1px;
  margin: 0 0 20px;
}
#status {
  font-size: 13px;
  line-height: 1.6;
  margin: 17px 0;
  min-height: 0;
}
#status:empty {
  display: none;
}
#status.error {
  color: #8b3f2c;
}
details {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
}
details p {
  line-height: 1.8;
  margin: 14px 0 0;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px 64px 32px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
@media (min-width: 1500px) {
  .masthead {
    padding-top: 50px;
    padding-bottom: 44px;
  }
  main {
    min-height: 690px;
  }
}
@media (max-width: 1000px) {
  main {
    margin: 0 28px;
    grid-template-columns: 1fr 1fr;
    min-height: 615px;
  }
  .masthead {
    padding: 28px;
  }
  .invitation {
    padding: 44px 30px;
  }
  .invitation h1 {
    font-size: 43px;
    letter-spacing: -1px;
  }
  .signin {
    padding: 45px 32px;
  }
  .collection {
    gap: 10px;
    font-size: 9px;
  }
  footer {
    padding: 26px 28px;
  }
}
@media (max-width: 700px) {
  .masthead {
    padding: 23px 25px;
  }
  .masthead a {
    font-size: 27px;
    gap: 12px;
  }
  .masthead small {
    font-size: 8px;
    letter-spacing: 1.8px;
  }
  .monogram {
    width: 35px;
    height: 44px;
  }
  .monogram svg {
    width: 24px;
    height: 24px;
  }
  main {
    display: flex;
    flex-direction: column;
    margin: 0;
    border: 0;
    min-height: 0;
  }
  .invitation {
    order: 2;
    padding: 35px 26px 34px;
  }
  .branch {
    position: absolute;
    right: 26px;
    top: 27px;
    width: 50px;
    height: 61px;
    margin: 0;
    opacity: 0.6;
  }
  .invitation .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
    margin-bottom: 19px;
    max-width: 230px;
  }
  .invitation h1 {
    font-size: 42px;
    line-height: 1.06;
    letter-spacing: -1.4px;
    margin-bottom: 19px;
  }
  .intro {
    font-size: 17px;
    line-height: 1.65;
  }
  .intro br {
    display: none;
  }
  .collection {
    display: none;
  }
  .signin {
    order: 1;
    padding: 28px 26px 32px;
  }
  .form-wrap {
    max-width: 410px;
  }
  .signin .eyebrow {
    font-size: 9px;
    margin-bottom: 12px;
  }
  .signin h2:not(.visually-hidden) {
    font-size: 35px;
    margin-bottom: 14px;
  }
  details {
    margin-top: 25px;
    padding-top: 17px;
  }
  footer {
    border-top: 1px solid var(--line);
    padding: 23px 26px;
    font-size: 12px;
    gap: 20px;
    line-height: 1.6;
  }
}
@media (max-width: 360px) {
  .invitation h1 {
    font-size: 36px;
  }
  .invitation .eyebrow {
    max-width: 180px;
  }
  .branch {
    right: 18px;
    width: 43px;
  }
  .signin,
  .invitation {
    padding-left: 21px;
    padding-right: 21px;
  }
  footer {
    padding-left: 21px;
    padding-right: 21px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition: background-color 0.15s;
  }
}

.signin .family-clerk-root,
.signin .family-clerk-cardbox {
  overflow: visible;
  width: 100%;
  max-width: 100%;
}
.signin .family-clerk-cardbox {
  box-shadow: none;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.signin .family-clerk-card {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.signin .family-clerk-title {
  font: normal 36px/1.16 var(--serif);
  letter-spacing: -0.5px;
}
.signin .family-clerk-subtitle {
  font-size: 14px;
  line-height: 1.7;
}
.signin .family-clerk-input {
  min-height: 48px;
  font-size: 16px;
}
.signin .family-clerk-submit {
  min-height: 48px;
  font-size: 15px;
  background: var(--green);
  border: 1px solid var(--green);
  /* Clerk sets this decoration inline; keep the site's flat button treatment. */
  box-shadow: none !important;
  color: #fffdf6;
}
.signin .family-clerk-submit::after {
  background-image: none !important;
}
.signin .family-clerk-submit:hover:not(:disabled) {
  background: #315047;
  border-color: #315047;
}
.signin .family-clerk-submit:active:not(:disabled) {
  background: #1a2f28;
  border-color: #1a2f28;
}
.signin .family-clerk-resend {
  min-height: 44px;
  font-size: 13px;
}
.signin .family-clerk-identity {
  max-width: 100%;
}
.signin .family-clerk-identity-text {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.signin .family-clerk-identity-edit {
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
}
.signin .family-clerk-code-digits {
  width: 100%;
  gap: 6px;
}
.signin .family-clerk-code-digit {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  height: 48px;
  min-height: 48px;
  max-height: none;
  font-size: 24px;
  border-radius: 3px;
}
.signin .family-clerk-feedback {
  font-size: 14px;
  line-height: 1.6;
}
.signin .family-clerk-footer {
  background: transparent;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding: 16px 0 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.login-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.login-actions:has(button[hidden]):not(:has(button:not([hidden]))) {
  display: none;
}
.login-actions button {
  min-height: 44px;
  padding: 10px 15px;
  background: transparent;
  border: 1px solid var(--green);
  border-radius: 3px;
  color: var(--green);
}
@media (max-width: 360px) {
  .signin {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signin *,
  .signin *::before,
  .signin *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
