:root {
  --arvind-base: #b7193f;
  --prussian-blue: #003153;
  --dark-river: #3d4140;
  --page-background: #faf7f0;
  --decorative-line: rgba(0, 49, 83, .16);
  --display: "Red Hat Display", Arial, sans-serif;
  --primary: "Source Sans 3", Arial, sans-serif;
  --secondary: "EB Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--dark-river); background: var(--page-background); font-family: var(--primary); }
img { display: block; max-width: 100%; }
a, button, input { -webkit-tap-highlight-color: transparent; }
::selection { color: white; background: var(--arvind-base); }

.coming-soon-page { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); overflow: hidden; }
.coming-soon-content { position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; padding: clamp(28px, 5vw, 76px) clamp(28px, 7vw, 118px); }
.public-brand { width: clamp(210px, 18vw, 300px); }
.public-brand img, .login-brand img { width: 100%; height: auto; }
.coming-soon-hero { width: min(670px, 100%); margin: auto 0; padding: clamp(54px, 8vh, 96px) 0 clamp(38px, 7vh, 80px); animation: public-enter .9s ease both; }
.public-eyebrow { margin: 0 0 24px; color: var(--prussian-blue); font-size: clamp(12px, .9vw, 15px); font-weight: 700; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.coming-soon-hero h1, .login-content h1 { margin: 0; color: var(--arvind-base); font-family: var(--display); font-size: clamp(62px, 6.6vw, 112px); font-weight: 600; letter-spacing: -.055em; line-height: .95; }
.coming-soon-hero h2 { max-width: 650px; margin: 28px 0 0; color: var(--dark-river); font-family: var(--secondary); font-size: clamp(34px, 3.25vw, 56px); font-weight: 600; letter-spacing: -.025em; line-height: 1.02; }
.brand-divider { position: relative; width: min(480px, 82%); height: 2px; margin: 36px 0 28px; background: var(--prussian-blue); opacity: .82; }
.brand-divider span { position: absolute; left: 47%; top: -1px; width: 54px; height: 4px; background: var(--arvind-base); }
.coming-soon-copy { margin: 0; color: var(--dark-river); font-size: clamp(16px, 1.15vw, 19px); line-height: 1.65; }

.brand-visual { position: absolute; z-index: 1; width: min(62vw, 940px); aspect-ratio: 1; right: -12vw; top: 50%; transform: translateY(-50%); }
.brand-visual img { position: absolute; z-index: 2; width: 34%; left: 33%; top: 33%; opacity: .1; mix-blend-mode: multiply; }
.visual-ring { position: absolute; border: 1px solid var(--decorative-line); border-radius: 50%; }
.visual-ring-one { inset: 2%; }
.visual-ring-two { inset: 16%; }
.visual-ring-three { inset: 31%; }
.visual-ring-two { animation: ring-drift 24s ease-in-out infinite alternate; }

.admin-trigger { position: fixed; z-index: 5; right: 14px; bottom: 14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.admin-trigger span { width: 7px; height: 7px; border-radius: 50%; background: rgba(61,65,64,.22); transition: background .2s, transform .2s; }
.admin-trigger:hover span, .admin-trigger:focus-visible span { background: var(--arvind-base); transform: scale(1.35); }
.admin-trigger:focus-visible { outline: 2px solid var(--prussian-blue); outline-offset: 2px; }

.login-shell { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 130px 28px 60px; }
.login-brand { position: absolute; z-index: 3; top: clamp(28px, 5vw, 64px); left: clamp(28px, 6vw, 90px); width: clamp(210px, 18vw, 280px); }
.login-content { position: relative; z-index: 3; width: min(430px, 100%); }
.login-content h1 { font-size: clamp(48px, 5vw, 72px); }
.login-intro { margin: 22px 0 32px; font-size: 16px; line-height: 1.65; }
.login-error { margin: 0 0 20px; padding: 12px 14px; color: #751029; background: rgba(183,25,63,.08); border-left: 3px solid var(--arvind-base); font-size: 14px; }
.login-form { display: grid; gap: 22px; }
.form-field { display: grid; gap: 8px; }
.form-field label { color: var(--prussian-blue); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.form-field input { width: 100%; height: 52px; padding: 0 14px; color: var(--dark-river); background: transparent; border: 1px solid rgba(61,65,64,.38); border-radius: 0; font: 16px var(--primary); }
.form-field input:focus { outline: 2px solid var(--prussian-blue); outline-offset: 2px; border-color: transparent; }
.login-form button { width: 150px; height: 50px; color: white; background: var(--arvind-base); border: 0; font: 700 14px var(--primary); cursor: pointer; transition: background .2s, transform .2s; }
.login-form button:hover { background: #8f1231; transform: translateY(-2px); }
.login-form button:focus-visible { outline: 2px solid var(--prussian-blue); outline-offset: 3px; }
.login-decoration { position: absolute; width: min(64vw, 900px); aspect-ratio: 1; right: -22vw; top: 50%; transform: translateY(-50%); opacity: .65; }
.login-decoration span { position: absolute; border: 1px solid var(--decorative-line); border-radius: 50%; }
.login-decoration span:nth-child(1) { inset: 2%; }
.login-decoration span:nth-child(2) { inset: 20%; }
.login-decoration span:nth-child(3) { inset: 38%; }
.login-decoration img { position: absolute; width: 36%; left: 32%; top: 34%; opacity: .07; mix-blend-mode: multiply; }

@keyframes public-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ring-drift { to { transform: scale(1.025); opacity: .72; } }

@media (max-width: 980px) {
  .coming-soon-page { grid-template-columns: 1fr; }
  .coming-soon-content { padding-left: clamp(28px, 8vw, 72px); padding-right: clamp(28px, 8vw, 72px); }
  .coming-soon-hero { width: min(610px, 76%); }
  .brand-visual { width: min(82vw, 720px); right: -35vw; opacity: .72; }
  .login-decoration { width: 820px; right: -520px; }
}

@media (max-width: 680px) {
  .coming-soon-content { min-height: 100svh; padding: 26px 24px 70px; }
  .public-brand { width: 215px; }
  .coming-soon-hero { width: 100%; padding: 72px 0 38px; }
  .public-eyebrow { margin-bottom: 18px; font-size: 11px; }
  .coming-soon-hero h1 { font-size: clamp(56px, 18vw, 76px); }
  .coming-soon-hero h2 { margin-top: 24px; font-size: clamp(34px, 10vw, 44px); }
  .brand-divider { width: 86%; margin: 30px 0 24px; }
  .coming-soon-copy { font-size: 16px; }
  .desktop-break { display: none; }
  .brand-visual { width: 640px; right: -420px; top: 68%; opacity: .6; }
  .admin-trigger { right: 8px; bottom: 8px; }
  .login-shell { place-items: start; padding: 145px 24px 52px; }
  .login-brand { top: 26px; left: 24px; width: 215px; }
  .login-content { margin-top: 34px; }
  .login-content h1 { font-size: 52px; }
  .login-decoration { width: 620px; right: -470px; opacity: .5; }
}

@media (max-height: 720px) and (min-width: 681px) {
  .coming-soon-content { padding-top: 28px; padding-bottom: 32px; }
  .public-brand { width: 220px; }
  .coming-soon-hero { padding-top: 32px; padding-bottom: 18px; }
  .public-eyebrow { margin-bottom: 14px; }
  .coming-soon-hero h1 { font-size: clamp(58px, 6vw, 88px); }
  .coming-soon-hero h2 { margin-top: 18px; font-size: clamp(32px, 3vw, 46px); }
  .brand-divider { margin-top: 22px; margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
