:root {
    --coast-ink: #183c43;
    --coast-muted: #697b7e;
    --coast-paper: #f8f7f3;
    --coast-line: #d6dcd8;
}

.coast-body, .coast-login, .coast-home {
    margin: 0;
    color: var(--coast-ink);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    line-height: 1.5;
    color-scheme: light;
}

.coast-home *, .coast-login * { box-sizing: border-box; }
.coast-home a, .coast-login a { color: inherit; text-decoration: none; }
.coast-home p, .coast-login p { margin: 0; }
.coast-home a:focus-visible, .coast-login a:focus-visible, .coast-login button:focus-visible {
    outline: 3px solid #b8804b;
    outline-offset: 5px;
}
.coast-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coast-brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.coast-brand svg { width: 38px; height: 38px; }
.coast-brand > span { font-size: 23px; font-weight: 500; letter-spacing: .17em; line-height: 1.1; }
.coast-brand-caption { display: block; font-size: 8px; letter-spacing: .19em; margin-top: 7px; }
.coast-eyebrow { font-size: 10px; font-weight: 500; letter-spacing: .21em; line-height: 1.6; }
.coast-home { position: relative; min-height: 760px; height: 100svh; isolation: isolate; background: #9baeb7; }
.coast-home > .coast-photo { z-index: -2; }
.coast-home-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #f1eee520 0%, #eaece61a 40%, transparent 58%, #071b2380 100%); }
.coast-header { display: flex; justify-content: space-between; align-items: center; padding: 38px 5vw; }
.coast-entry { display: inline-flex; gap: 28px; align-items: center; font-size: 12px; padding: 9px 0; border-bottom: 1px solid #183c4350; }
.coast-entry span { font-size: 20px; }
.coast-intro { position: absolute; left: 8vw; top: 23%; }
.coast-intro h1, .coast-scene h1, .coast-form-wrap h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -.045em;
    margin: 0;
}
.coast-intro h1 { font-size: clamp(64px, 6.5vw, 112px); line-height: .99; margin-top: 22px; }
.coast-intro .coast-description { margin-top: 24px; font-size: 13px; letter-spacing: .02em; }
.coast-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    min-height: 50px;
    padding: 14px 19px;
    border: 1px solid var(--coast-ink);
    border-radius: 3px;
    background: var(--coast-ink);
    color: #fff !important;
    font: 500 13px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
    cursor: pointer;
    transition: background .18s ease, box-shadow .18s ease;
}
.coast-button:hover, .coast-admin-form .fi-btn:hover { background: #28545b; box-shadow: 0 4px 16px #102a301a; }
.coast-button span { font-size: 21px; line-height: 1; }
.coast-intro .coast-home-button { width: 207px; margin-top: 28px; }
.coast-home-footer { position: absolute; left: 5vw; right: 5vw; bottom: 31px; color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.coast-footer-label, .coast-location { display: block; }
.coast-footer-label { font-size: 10px; letter-spacing: .2em; }
.coast-location { font-family: Georgia, "Times New Roman", serif; font-size: 20px; margin-top: 7px; }
.coast-footer-access { display: flex; align-items: center; gap: 28px; font-size: 11px; }
.coast-footer-access > span { color: #e0e6e5; }
.coast-footer-access a { padding-block: 8px; border-bottom: 1px solid #ffffff60; }
.coast-footer-access a span { padding-left: 10px; }

.coast-login { display: grid; grid-template-columns: 54% 46%; min-height: 100svh; background: var(--coast-paper); }
.coast-scene { position: relative; min-height: 780px; isolation: isolate; overflow: hidden; }
.coast-scene > .coast-photo { z-index: -2; object-position: 46% center; }
.coast-scene-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 25%, #102b3420 47%, #071d28b3 100%); }
.coast-scene-brand { position: absolute; top: 42px; left: 8.5%; }
.coast-scene-copy { position: absolute; bottom: 18%; left: 10%; color: #fff; }
.coast-scene h1 { font-size: clamp(66px, 6.5vw, 106px); line-height: 1; margin: 23px 0; }
.coast-scene-copy > p:last-child { font-size: 13px; letter-spacing: .02em; color: #edf0ec; }
.coast-scene-footer { position: absolute; left: 10%; right: 10%; bottom: 36px; display: flex; justify-content: space-between; gap: 16px; color: #eef2ee; font-size: 9px; letter-spacing: .16em; }
.coast-access { display: flex; flex-direction: column; padding: 44px clamp(32px, 5vw, 88px) 32px; }
.coast-back { display: flex; gap: 12px; align-items: center; width: fit-content; font-size: 12px; color: var(--coast-muted) !important; }
.coast-back:hover { color: var(--coast-ink) !important; }
.coast-back span { font-size: 18px; }
.coast-form-wrap { width: 100%; max-width: 360px; margin: auto; padding: 72px 0; }
.coast-access-label { display: flex; align-items: center; gap: 9px; color: var(--coast-muted); }
.coast-access-label span { width: 6px; height: 6px; background: #b37d50; border-radius: 50%; }
.coast-form-wrap h2 { font-size: clamp(36px, 3.2vw, 48px); line-height: 1.15; margin: 18px 0 13px; }
.coast-form-wrap .coast-form-description { color: var(--coast-muted); font-size: 13px; margin-bottom: 35px; }
.coast-form { display: grid; gap: 22px; }
.coast-field { display: grid; gap: 9px; }
.coast-field label { font-size: 12px; font-weight: 500; }
.coast-field input {
    width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--coast-line);
    border-radius: 3px; background: #ffffff90; color: var(--coast-ink); font: inherit; font-size: 13px;
}
.coast-field input::placeholder { color: #8b9594; }
.coast-field input:focus { border-color: var(--coast-ink); outline: 2px solid #183c4320; outline-offset: 2px; }
.coast-field input[aria-invalid="true"] { border-color: #a53e34; }
.coast-form .coast-error { font-size: 12px; color: #a53e34; }
.coast-remember { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--coast-muted); cursor: pointer; }
.coast-remember input { width: 15px; height: 15px; accent-color: var(--coast-ink); margin: 0; }
.coast-remember input:focus-visible { outline: 2px solid var(--coast-ink); outline-offset: 3px; }
.coast-notice { display: flex; gap: 12px; margin-top: 31px; padding-top: 24px; border-top: 1px solid var(--coast-line); color: var(--coast-muted); }
.coast-notice svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }
.coast-notice strong { display: block; font-size: 11px; font-weight: 500; color: var(--coast-ink); }
.coast-notice p { font-size: 11px; line-height: 1.8; margin-top: 6px; }
.coast-access-footer { display: flex; justify-content: space-between; gap: 16px; font-size: 8px; letter-spacing: .12em; color: var(--coast-muted); }

/* Keep the framework authentication flow; scope its presentation to this page. */
.coast-admin-form { --text-sm: .8125rem; --color-gray-950: #183c43; --color-gray-900: #183c43; }
.coast-admin-form .fi-fo-field-label-content { color: var(--coast-ink); font-size: 12px; font-weight: 500; }
.coast-admin-form .fi-input-wrp { border: 1px solid var(--coast-line); border-radius: 3px; background: #ffffff90; box-shadow: none; }
.coast-admin-form .fi-input-wrp:focus-within { border-color: var(--coast-ink); outline: 2px solid #183c4320; outline-offset: 2px; }
.coast-admin-form .fi-input { min-height: 46px; color: var(--coast-ink); font-size: 13px; }
.coast-admin-form .fi-checkbox-input { color: var(--coast-ink); border-color: #aab7b6; border-radius: 3px; }
.coast-admin-form .fi-btn { min-height: 50px; background: var(--coast-ink); border-radius: 3px; color: #fff; font-size: 13px; font-weight: 500; box-shadow: none; }
.coast-admin-form .fi-btn:disabled { cursor: wait; opacity: .65; }
.coast-admin-form .fi-icon-btn { color: var(--coast-muted); }

@media (min-width: 1700px) {
    .coast-home { max-height: 1400px; }
    .coast-form-wrap { max-width: 400px; }
}
@media (max-width: 1000px) {
    .coast-login { grid-template-columns: 46% 54%; }
    .coast-scene-brand { left: 10%; }
    .coast-scene-copy { left: 10%; }
    .coast-scene h1 { font-size: 68px; }
    .coast-access { padding-inline: 32px; }
    .coast-access-footer { letter-spacing: .05em; }
}
@media (max-width: 680px) {
    .coast-home { min-height: 740px; }
    .coast-home > .coast-photo { object-position: 57% center; }
    .coast-header { padding: 26px 24px; }
    .coast-brand { gap: 8px; }
    .coast-brand svg { width: 30px; height: 30px; }
    .coast-brand > span { font-size: 19px; }
    .coast-brand-caption { font-size: 6px; }
    .coast-entry { gap: 16px; font-size: 11px; }
    .coast-intro { top: 22%; left: 28px; right: 20px; }
    .coast-intro h1 { font-size: clamp(56px, 12vw, 78px); }
    .coast-intro .coast-description { font-size: 12px; margin-top: 20px; }
    .coast-home-footer { left: 28px; right: 28px; bottom: 25px; flex-direction: column; align-items: flex-start; gap: 24px; }
    .coast-footer-access { width: 100%; justify-content: space-between; gap: 12px; font-size: 10px; }
    .coast-location { font-size: 18px; }
    .coast-login { grid-template-columns: 1fr; }
    .coast-scene { min-height: 310px; }
    .coast-scene > .coast-photo { object-position: center 56%; }
    .coast-scene-brand { top: 25px; left: 28px; }
    .coast-scene-copy { left: 28px; bottom: 28px; }
    .coast-scene-copy .coast-eyebrow, .coast-scene-copy > p:last-child, .coast-scene-footer { display: none; }
    .coast-scene h1 { font-size: 48px; margin: 0; }
    .coast-access { padding: 27px 28px 24px; }
    .coast-form-wrap { max-width: 400px; padding: 42px 0 46px; }
    .coast-form-wrap h2 { font-size: 39px; }
    .coast-access-footer { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .coast-button { transition: none; }
}
