* { box-sizing: border-box; }
:root { --teal: #009da2; --teal-dark: #04536e; --ink: #082f48; --muted: #527183; --line: #d4e5e9; --danger: #a32e39; }
html { min-height: 100%; }
body.login-page { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: "Segoe UI", Arial, sans-serif; color: var(--ink); background: #eef7f8; }
.landing-top { flex-shrink: 0; min-height: 80px; display: flex; align-items: center; justify-content: center; background: linear-gradient(100deg, #087b80, #06717b); box-shadow: 0 3px 12px #073d4a18; }
.landing-nav { display: flex; align-items: center; justify-content: center; gap: 64px; }
.landing-nav button { display: inline-flex; align-items: center; gap: 12px; padding: 22px 8px; border: 0; background: transparent; color: #fff; font: 750 23px/1.4 "Segoe UI", Arial, sans-serif; cursor: pointer; }
.landing-nav button:hover, .landing-nav button[aria-expanded="true"], .landing-nav button[aria-pressed="true"] { color: #b7f2ee; }
.landing-nav button:focus-visible { outline: 3px solid #a6edf0; outline-offset: -4px; border-radius: 8px; }
.landing-main { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; padding: 40px clamp(20px, 4vw, 76px) 24px; }
.login-shell { position: relative; isolation: isolate; width: min(1720px, 100%); min-height: 650px; border: 10px solid #fff; border-radius: 48px; background: #fff; box-shadow: 0 16px 40px #17657820, 0 3px 7px #17657812; overflow: hidden; }
.storefront-photo { position: absolute; z-index: -2; top: 0; bottom: 0; left: 34%; right: 0; overflow: hidden; background: #eef6f6; transition: right .4s ease; }
.storefront-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 54% 60%; }
.storefront-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff, #ffffff00 22%, #ffffff00 78%, #ffffffd9); }
.login-shell.is-login-open .storefront-photo { right: 23%; }
.welcome { position: relative; min-width: 0; width: 100%; perspective: 1800px; }
.welcome-inner { position: relative; display: grid; width: 100%; transform-style: preserve-3d; transition: transform .7s ease; }
.welcome-inner.is-flipped { transform: rotateY(180deg); }
.welcome-panel { grid-area: 1 / 1; min-height: 650px; padding: 38px clamp(28px, 4vw, 72px) 90px; backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: none; }
.welcome-panel.is-active { pointer-events: auto; }
.welcome-panel:not(.is-active) { position: absolute; inset: 0; }
.welcome-copy { width: 40%; max-width: 490px; }
.logo-box { position: relative; width: min(370px, 100%); height: 192px; overflow: hidden; margin-bottom: 28px; }
.logo-box img { position: absolute; width: 145%; max-width: none; height: auto; left: -22.5%; top: 50%; transform: translateY(-50%); }
.welcome-copy h1 { margin: 0; color: var(--ink); font-size: clamp(32px, 3vw, 48px); font-weight: 850; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; }
.welcome-copy h1 span { display: block; }
.welcome-rule { width: 100px; height: 8px; margin: 24px 0 18px; border-radius: 8px; background: linear-gradient(90deg, #00aaa8, #13969e); }
.welcome-copy p { margin: 0; max-width: 365px; color: #17485e; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.4; }
.welcome-waves { position: absolute; z-index: -1; width: 100%; height: 125px; left: 0; bottom: 0; pointer-events: none; }
#aboutPanel { transform: rotateY(180deg); background: #fff; padding: 26px; }
.login-modal { position: absolute; top: 28px; bottom: 28px; right: 24px; z-index: 5; width: clamp(350px, 29%, 460px); display: flex; align-items: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s ease, visibility .28s ease; }
.login-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.login-card { position: relative; width: 100%; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; min-width: 0; padding: 38px 34px 28px; border: 1px solid #fff; border-radius: 30px; background: #fffffffa; box-shadow: 0 20px 48px #11394a24; transform: translateX(35px); transition: transform .32s ease; scrollbar-width: thin; }
.login-modal.is-open .login-card { transform: translateX(0); }
.close-login { position: absolute; top: 14px; right: 16px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #addde1; border-radius: 8px; background: #f0fbfc; color: #16475c; font-size: 15px; cursor: pointer; }
.login-card h2 { margin: 0 0 8px; text-align: center; color: var(--ink); font-size: 40px; line-height: 1.2; font-weight: 850; }
.sub { color: #32596c; text-align: center; font-size: 13px; line-height: 1.6; margin: 0 0 20px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; margin-bottom: 20px; background: #f0f8f9; border-radius: 13px; }
.tab { min-height: 46px; padding: 10px; border: 0; border-radius: 10px; background: transparent; color: #385e6d; font: 750 14px/1.4 "Segoe UI", Arial, sans-serif; cursor: pointer; }
.tab.active { color: #fff; background: linear-gradient(100deg, #04b2b0, #05728b); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; line-height: 1.4; font-weight: 750; }
.control { position: relative; }
.control > i { position: absolute; top: 50%; left: 17px; transform: translateY(-50%); color: #527b85; font-size: 17px; pointer-events: none; }
.control input { display: block; width: 100%; min-width: 0; height: 54px; padding: 0 45px; border: 1px solid #a9c5cd; border-radius: 14px; background: #fff; color: var(--ink); font: 14px/1.4 "Segoe UI", Arial, sans-serif; outline: none; }
.control input:focus { border-color: #008f98; box-shadow: 0 0 0 3px #009da21c; }
.password-field .control input { padding-right: 52px; }
.eye { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: #527b85; font-size: 17px; cursor: pointer; }
.forgot { margin: -3px 0 19px; text-align: right; }
.forgot a { color: #008e98; font-size: 14px; font-weight: 750; text-decoration: none; }
.submit { width: 100%; min-height: 54px; padding: 14px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(105deg, #04b6b0, #034e72); font: 750 19px/1.4 "Segoe UI", Arial, sans-serif; cursor: pointer; }
.submit i { margin-left: 6px; }
.protect { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: #3a6072; text-align: center; font-size: 12px; line-height: 1.6; }
.notice { padding: 12px; margin-bottom: 16px; border: 1px solid #efc8c4; border-radius: 10px; background: #fff1ef; color: var(--danger); font-size: 14px; line-height: 1.5; text-align: center; transition: opacity .25s, transform .25s; }
.notice.is-dismissing { opacity: 0; transform: translateY(-4px); }
.login-otp-notice { padding: 12px; margin-bottom: 16px; border: 1px solid #bce1e3; border-radius: 10px; background: #eefafa; color: #07566a; font-size: 14px; line-height: 1.5; text-align: center; }
.otp-secondary { width: 100%; padding: 12px; margin-top: 12px; border: 1px solid #c9dde3; border-radius: 10px; background: #edf7f8; color: #07566a; font-weight: 700; cursor: pointer; }
.otp-secondary:disabled, .submit:disabled { opacity: .6; cursor: not-allowed; }
.otp-code input { letter-spacing: .25em; text-align: center; font-size: 24px; }
[data-otp-expiry] { font-size: 13px; line-height: 1.5; }
.login-card button, .login-card a, .control input { transition: background-color .18s, border-color .18s, box-shadow .18s; }
.login-card button:focus-visible, .login-card a:focus-visible { outline: 3px solid #008f98; outline-offset: 3px; }
.tab:not(.active):hover, .eye:hover { background: #dff1f2; }
.submit:not(:disabled):hover { background: linear-gradient(105deg, #039b99, #03435f); }
.close-login:hover { background: #e0f4f5; }
.forgot a:hover { text-decoration: underline; }
.landing-footer { padding: 0 16px 18px; text-align: center; color: #527183; font-size: 12px; line-height: 1.5; }
@media (min-width: 1500px) { .login-shell, .welcome-panel { min-height: 670px; } .login-modal { width: 29%; } .login-card { padding: 40px; } }
@media (max-width: 1100px) {
  .landing-main { padding: 24px 20px; }
  .login-shell { border-width: 7px; border-radius: 32px; }
  .welcome-panel { min-height: 580px; padding: 30px 24px 75px; }
  .welcome-copy { width: 39%; }
  .welcome-copy h1 { font-size: 32px; }
  .logo-box { height: 160px; margin-bottom: 20px; }
  .login-modal { width: 335px; right: 14px; top: 20px; bottom: 20px; }
  .login-card { padding: 38px 22px 24px; }
}
@media (max-width: 850px) {
  .landing-top { min-height: 68px; }
  .landing-nav { gap: 40px; }
  .landing-nav button { padding: 18px 8px; font-size: 19px; }
  .login-shell { min-height: 0; }
  .welcome-panel { min-height: 520px; }
  .welcome-copy { width: 55%; }
  .storefront-photo, .login-shell.is-login-open .storefront-photo { left: 35%; right: 0; bottom: auto; height: 520px; }
  .storefront-photo::after { background: linear-gradient(90deg, #fff, #ffffff44 50%, #ffffff00); }
  .login-modal { position: relative; display: none; top: auto; bottom: auto; right: auto; width: calc(100% - 32px); max-width: 480px; margin: 0 auto 24px; }
  .login-modal.is-open { display: block; }
  .login-card { max-height: none; padding: 38px 28px 26px; transform: translateY(15px); }
  .login-modal.is-open .login-card { transform: translateY(0); }
  .welcome-waves { height: 75px; }
}
@media (max-width: 540px) {
  .landing-main { padding: 20px 12px; }
  .login-shell { border-width: 6px; border-radius: 26px; }
  .welcome-panel { min-height: 470px; padding: 22px 20px 76px; }
  .welcome-copy { width: 100%; }
  .logo-box { width: 240px; height: 132px; margin-bottom: 18px; }
  .welcome-copy h1 { max-width: 330px; font-size: 34px; }
  .welcome-copy p { max-width: 275px; font-size: 17px; }
  .welcome-rule { margin: 20px 0 16px; width: 78px; height: 6px; }
  .storefront-photo, .login-shell.is-login-open .storefront-photo { left: 0; height: 470px; opacity: .16; }
  .storefront-photo::after { background: linear-gradient(90deg, #fff, #ffffff00); }
  .login-modal { width: calc(100% - 20px); margin-bottom: 12px; }
  .login-card { padding: 40px 20px 24px; border-radius: 22px; }
  .login-card h2 { font-size: 34px; }
  .control input { font-size: 16px; }
  #aboutPanel { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Existing About content styling. */
    .homepage-contact{width:min(1200px,calc(100% - 48px));margin:0 auto 64px;padding:36px;background:#fff;border:1px solid #d8e8ec;border-radius:24px;box-shadow:0 18px 40px rgba(10,68,82,.08);scroll-margin-top:24px}
    .homepage-contact__intro{max-width:780px;margin-bottom:28px}
    .homepage-contact .homepage-contact__eyebrow{margin:0 0 10px;color:#078b86;font-size:14px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
    .homepage-contact h2{margin:0 0 14px;font-size:clamp(26px,3vw,36px);line-height:1.2}
    .homepage-contact p{color:#557188;font-size:16px;line-height:1.65}
    .homepage-contact__intro p{margin:8px 0}
    .homepage-contact__grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px}
    .homepage-contact__card{padding:26px;border:1px solid #d8e8ec;border-radius:18px;min-width:0}
    .homepage-contact h3{margin:0 0 20px;font-size:22px;line-height:1.3}
    .homepage-contact dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px 20px;margin:0;font-size:15px;line-height:1.6}
    .homepage-contact dt{font-weight:700;color:#173f50}
    .homepage-contact dd{margin:0;color:#557188;overflow-wrap:anywhere}
    .homepage-contact a{color:#056b70;font-weight:700;text-decoration:none}
    .homepage-contact a:hover{text-decoration:underline;text-underline-offset:3px}
    .homepage-contact__location{background:#f0faf9;display:flex;flex-direction:column;align-items:flex-start}
    .homepage-contact__location > i{display:grid;place-items:center;width:52px;height:52px;margin-bottom:20px;border-radius:14px;background:#dff5f2;color:#078b86;font-size:26px}
    .homepage-contact__location p{margin:0 0 16px}
    .homepage-contact .homepage-contact__directions{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-top:auto;padding:14px 22px;border:1px solid #078b86;border-radius:10px;background:#078b86;color:#fff;transition:background-color .18s,border-color .18s}
    .homepage-contact .homepage-contact__directions:hover{background:#056b70;border-color:#056b70;text-decoration:none}
    .homepage-contact a:focus-visible{outline:3px solid #1599a2;outline-offset:4px}
    #aboutPanel .homepage-contact{width:100%;margin:0;padding:clamp(18px,2.8vw,32px);text-align:left}
    @media(max-width:760px){.homepage-contact{width:calc(100% - 32px);padding:24px 18px;margin-bottom:32px}.homepage-contact__grid{grid-template-columns:1fr}.homepage-contact__card{padding:20px}.homepage-contact dl{grid-template-columns:1fr;gap:5px}.homepage-contact dd{margin-bottom:12px}.homepage-contact__directions{width:100%}}
