/* Project portal: Archi's blue palette, local typefaces and architectural imagery. */
#portal { min-height: 100vh; background: #eaf2f7; color: var(--navy); }
#portal button, #portal input, #portal select { font: inherit; }
#portal a, #portal button, #portal input, #portal select { -webkit-tap-highlight-color: transparent; }
#portal :focus-visible { outline: 3px solid #238ccc; outline-offset: 4px; }
#portal [hidden] { display: none !important; }
#portal svg { width: 22px; height: 22px; flex-shrink: 0; }
.portal-header { background: #fff; border-bottom: 1px solid #dce7ee; }
.portal-header-inner { max-width: 1456px; margin: auto; padding: 20px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.portal-brand { display: flex; align-items: center; gap: 22px; color: var(--navy); }
.portal-brand img { width: 53px; height: 58px; object-fit: contain; }
.portal-brand > span:last-child { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.portal-brand-divider { height: 32px; width: 1px; background: #dce7ee; }
.portal-header-actions { display: flex; align-items: center; gap: 42px; }
.portal-nav-link { color: var(--navy); font-size: 14px; padding: 10px 0; border-bottom: 2px solid var(--blue); }
.portal-languages { display: flex; align-items: center; gap: 4px; }
.portal-languages button { background: none; border: 0; border-radius: 8px; color: #657d8b; min-width: 38px; min-height: 38px; padding: 8px; font-size: 12px !important; }
.portal-languages button[aria-pressed="true"] { background: #eaf2f7; color: var(--navy); font-weight: 700; }
.directory-main { max-width: 1456px; margin: auto; padding: 58px 40px 80px; }
.directory-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.portal-eyebrow { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 500; margin: 0 0 16px; color: #587689; }
.directory-intro h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.12; letter-spacing: -.025em; }
.title-dot { color: #238ccc; }
.directory-description { font-size: 15px; line-height: 1.7; color: #567084; margin: 18px 0 0; max-width: 550px; }
.directory-total { text-align: right; display: flex; flex-direction: column; padding-bottom: 4px; flex-shrink: 0; }
.directory-total strong { font-family: var(--font-head); font-size: 60px; font-weight: 400; line-height: 1; color: #9db9cc; }
.directory-total span { font-size: 11px; margin-top: 12px; color: #567084; }
.directory-tools { margin-bottom: 26px; }
.directory-controls { display: flex; gap: 12px; }
.project-search, .project-city { background: #fff; border: 1px solid #d9e5ee; border-radius: 11px; min-height: 56px; display: flex; align-items: center; gap: 14px; padding: 0 18px; }
.project-search { flex: 1; }
.project-city { width: 255px; }
.project-search svg, .project-city svg { color: #238ccc; }
.project-search:focus-within, .project-city:focus-within { border-color: #238ccc; box-shadow: 0 0 0 3px #238ccc1c; }
.project-search input, .project-city select { border: 0; background: transparent; color: var(--navy); width: 100%; min-width: 0; outline: 0 !important; height: 54px; font-size: 14px !important; }
.project-search input::placeholder { color: #718797; }
.project-city select { cursor: pointer; }
.directory-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.project-status-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.project-status-tabs button { display: inline-flex; align-items: center; gap: 12px; background: transparent; color: #577184; border: 1px solid #cddde8; border-radius: 25px; padding: 9px 17px; min-height: 40px; font-size: 12px !important; transition: background .18s, color .18s; }
.project-status-tabs button span { font-size: 10px; opacity: .8; }
.project-status-tabs button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.project-status-tabs button:hover:not([aria-pressed="true"]) { background: #fff; }
.directory-result-summary { display: flex; align-items: center; gap: 20px; color: #617d90; font-size: 12px; text-align: right; }
.portal-text-button { background: none; border: 0; color: #196b9b; padding: 10px 0; font-size: 13px !important; text-decoration: underline; text-underline-offset: 4px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.project-tile { isolation: isolate; position: relative; overflow: hidden; display: block; aspect-ratio: .83; min-height: 410px; border-radius: 15px 64px 15px 15px; background: #b9cedc; color: white; box-shadow: 0 3px 12px #0f2c3e08; transition: box-shadow .25s, transform .25s; }
.project-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #0f2c3e22; }
.project-tile-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-tile:hover .project-tile-image { transform: scale(1.035); }
.project-tile-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,29,45,.77), rgba(7,29,45,.08) 44%, rgba(7,29,45,.07) 55%, rgba(7,29,45,.83)); }
.project-tile-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 29px 26px 24px; }
.project-tile h2 { color: #fff; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -.02em; max-width: 94%; overflow-wrap: anywhere; }
.project-tile-top p { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; margin: 13px 0 0; color: #f1f7fb; }
#portal .project-tile-top svg { width: 17px; height: 19px; color: #55baff; }
.project-tile-bottom { display: flex; flex-direction: column; gap: 22px; }
.project-status { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; line-height: 1.4; align-self: flex-start; border-radius: 5px; color: var(--navy); padding: 6px 10px; background: #fff; }
.project-status.ongoing { background: #ffdd6d; }
.project-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.project-tile-enter { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 500; }
.project-arrow { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ffffff80; border-radius: 50%; transition: background .2s, color .2s; }
.project-tile:hover .project-arrow { background: white; color: var(--navy); }
.project-partner { position: absolute; bottom: 92px; right: 24px; width: 108px; height: 42px; padding: 9px 11px; background: #ffffffed; border-radius: 6px; }
.project-partner img { display: block; width: 100%; height: 100%; object-fit: contain; }
.portal-empty { grid-column: 1 / -1; padding: 70px 20px; text-align: center; background: #ffffff75; border-radius: 18px; }
.portal-empty h2 { margin: 20px 0 8px; font-size: 23px; }
.portal-footer { max-width: 1376px; margin: auto; padding: 30px 0 38px; display: flex; align-items: center; gap: 22px; border-top: 1px solid #ccdde8; font-size: 11px; color: #567084; }
.portal-footer img { display: block; object-fit: contain; }
.portal-footer > a:last-child { margin-left: auto; color: #567084; }
.portal-primary-button { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #238ccc; color: #fff; border: 0; border-radius: 9px; padding: 17px 20px; min-height: 54px; font-size: 14px !important; font-weight: 500 !important; transition: background .2s; }
.portal-primary-button:hover { background: #197cb7; }
.portal-primary-button:disabled { opacity: .65; cursor: wait; }
.project-login { display: grid; grid-template-columns: 55% 45%; min-height: 100svh; background: #fff; }
.project-login-visual { position: relative; min-height: 740px; overflow: hidden; }
.project-login-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-login-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #0b273f60, transparent 35%, #0b273fed); }
.project-login-back { position: absolute; top: 35px; left: 38px; display: flex; align-items: center; gap: 12px; padding: 10px 15px; border: 1px solid #ffffff70; border-radius: 25px; color: white; font-size: 12px; background: #0f2c3e30; backdrop-filter: blur(8px); }
.project-login-back svg { transform: rotate(180deg); }
.project-login-caption { position: absolute; bottom: 62px; left: 8%; right: 8%; }
.project-login-caption h1 { color: #fff; font-size: clamp(34px, 4vw, 60px); letter-spacing: -.03em; line-height: 1.12; margin-top: 22px; overflow-wrap: anywhere; }
.project-login-caption p, .overview-hero-copy p { display: flex; align-items: center; gap: 10px; color: #ecf5fc; font-size: 14px; line-height: 1.6; margin: 19px 0 0; }
.project-login-caption p svg, .overview-hero-copy p svg { color: #55baff; }
.project-login-form { display: flex; flex-direction: column; position: relative; padding: 28px 11% 24px; min-width: 0; }
.project-login-language { display: flex; justify-content: flex-end; }
.project-login-box { max-width: 390px; width: 100%; margin: auto; padding: 42px 0; }
.project-login-logos { display: flex; align-items: center; gap: 24px; margin-bottom: 44px; }
.project-archi-logo { width: 64px; height: 70px; object-fit: contain; }
.project-ramada-logo { width: 125px; height: 45px; object-fit: contain; }
.project-login-logos > span { height: 40px; width: 1px; background: #d8e4ec; }
.project-login-box .portal-eyebrow { margin-bottom: 9px; }
.project-login-box h2 { font-size: 35px; letter-spacing: -.025em; }
.project-login-subtitle { color: #657d8b; font-size: 14px; line-height: 1.65; margin: 10px 0 22px; }
.selected-project-label { padding: 13px 14px; border-radius: 8px; background: #edf5fa; color: #1b5c82; display: flex; align-items: center; gap: 10px; font-size: 12px; margin-bottom: 28px; }
#portal .selected-project-label svg { width: 18px; height: 18px; }
.portal-field { margin-bottom: 18px; }
.portal-field > label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 9px; }
.portal-field input { display: block; width: 100%; min-width: 0; height: 51px; padding: 13px 14px; border: 1px solid #cddce6; border-radius: 8px; color: var(--navy); background: #fff; font-size: 14px !important; }
.portal-field input::placeholder { color: #8a9daa; }
.password-input { position: relative; }
.password-input input { padding-right: 52px; }
.password-input button { position: absolute; right: 5px; top: 5px; width: 41px; height: 41px; padding: 9px; border: 0; background: transparent; color: #698192; border-radius: 7px; }
.password-input button[aria-pressed="true"] { color: #238ccc; background: #eaf2f7; }
.project-login-error { color: #b21948; font-size: 12px; line-height: 1.5; margin: 0 0 16px; }
.project-login-error:empty { margin: 0; }
.google-login-section { margin-bottom: 10px; }
.portal-google-button { width: 100%; display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 42px; border: 1px solid #cddce6; border-radius: 4px; color: #526674; background: white; font-size: 14px !important; cursor: default; }
.google-login-note { margin: 10px 0 0; color: #728693; font-size: 11px; line-height: 1.5; }
.google-login-section .project-login-error:not(:empty) { margin: 12px 0; }
[data-google-button][aria-busy="true"] { opacity: .6; pointer-events: none; }
.login-method-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #718797; font-size: 11px; }
.login-method-divider::before, .login-method-divider::after { content: ''; height: 1px; flex: 1; background: #dce7ee; }
.project-login-box form > button { width: 100%; margin-top: 26px; }
.project-login-help { display: flex; align-items: flex-start; gap: 9px; margin: 20px 0 0; color: #728693; font-size: 11px; line-height: 1.6; }
#portal .project-login-help svg { width: 14px; height: 17px; }
.project-login-credit { font-size: 10px; color: #8096a5; letter-spacing: .07em; text-align: center; margin: 0; }
.project-login-mobile-back { display: none; }
.project-overview { max-width: 1456px; padding: 30px 40px 70px; margin: auto; }
.overview-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; font-size: 12px; color: #6b8394; }
.overview-breadcrumb a { color: #196b9b; }
.overview-hero { min-height: 460px; position: relative; border-radius: 16px 70px 16px 16px; overflow: hidden; }
.overview-hero > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.overview-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0f2c3ecc, #0f2c3e18), linear-gradient(0deg, #0f2c3e99, transparent 80%); }
.overview-hero-copy { position: absolute; bottom: 42px; left: 42px; right: 42px; }
.overview-hero h1 { font-size: clamp(34px, 4.5vw, 62px); color: #fff; max-width: 750px; margin: 18px 0 0; line-height: 1.1; letter-spacing: -.03em; overflow-wrap: anywhere; }
.overview-details { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 40px; margin-top: 24px; background: #fff; border: 1px solid #dfe9ef; border-radius: 15px; padding: 35px 38px; }
.overview-details .portal-eyebrow { margin-bottom: 10px; }
.overview-details h2 { font-size: 25px; }
.overview-welcome { margin: 12px 0 0; color: #698192; font-size: 13px; line-height: 1.5; }
.overview-details dl { margin: 0; display: grid; gap: 20px; }
.overview-details dt { color: #698192; font-size: 11px; margin-bottom: 7px; }
.overview-details dd { color: var(--navy); font-size: 14px; margin: 0; line-height: 1.6; }
.overview-actions { display: grid; justify-items: stretch; gap: 12px; }
.overview-actions > button { justify-self: center; }
.portal-message, .portal-loading { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 40px; text-align: center; }
.portal-message h1 { font-size: 28px; }
.portal-loading { color: #587689; font-size: 14px; }
.portal-spinner { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #c1d8e7; border-top-color: #238ccc; animation: portal-spin .8s linear infinite; }
@keyframes portal-spin { to { transform: rotate(360deg); } }
@media (min-width: 621px) and (max-height: 800px) {
  .project-login-visual { min-height: 690px; }
  .project-login-box { padding: 20px 0; }
  .project-login-logos { margin-bottom: 25px; }
  .project-login-caption { bottom: 40px; }
}
@media (max-width: 1456px) { .portal-footer { margin-right: 40px; margin-left: 40px; } }
@media (max-width: 1100px) {
  .project-grid { gap: 20px; }
  .project-tile-content { padding: 25px 21px 21px; }
  .project-tile { min-height: 380px; }
  .project-login-form { padding-right: 9%; padding-left: 9%; }
  .overview-details { grid-template-columns: 1fr 1fr; gap: 28px; }
  .overview-actions { grid-column: 1 / -1; display: flex; gap: 30px; align-items: center; }
}
@media (max-width: 900px) {
  .portal-header-inner { padding: 16px 26px; }
  .directory-main { padding: 40px 26px 60px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-tile h2 { font-size: 28px; }
  .portal-footer { margin-right: 26px; margin-left: 26px; }
  .portal-header-actions { gap: 24px; }
  .portal-brand > span:last-child, .portal-brand-divider { display: none; }
  .project-login { grid-template-columns: 47% 53%; }
  .project-login-caption { left: 28px; right: 28px; bottom: 40px; }
  .project-login-caption h1 { font-size: 38px; }
  .project-login-back { left: 23px; top: 25px; }
  .project-login-form { padding: 24px 9%; }
  .project-overview { padding: 26px 26px 60px; }
  .overview-hero-copy { left: 30px; right: 30px; bottom: 30px; }
}
@media (max-width: 620px) {
  .portal-header-inner { padding: 14px 20px; gap: 15px; }
  .portal-brand img { width: 42px; height: 46px; }
  .portal-header-actions { gap: 17px; }
  .portal-nav-link { font-size: 12px; }
  .portal-languages { gap: 1px; }
  .portal-languages button { min-width: 32px; padding: 7px; }
  .directory-main { padding: 34px 20px 46px; }
  .directory-intro { margin-bottom: 27px; gap: 18px; align-items: flex-start; }
  .directory-intro h1 { font-size: 38px; }
  .directory-description { font-size: 13px; margin-top: 14px; }
  .directory-intro .portal-eyebrow { font-size: 9px; letter-spacing: .12em; }
  .directory-total { display: none; }
  .directory-controls { flex-direction: column; gap: 10px; }
  .project-city { width: 100%; min-height: 49px; }
  .project-city select { height: 47px; }
  .directory-filter-row { align-items: flex-start; flex-direction: column; gap: 15px; margin-top: 17px; }
  .project-status-tabs { gap: 6px; }
  .project-status-tabs button { padding: 9px 11px; gap: 7px; font-size: 11px !important; }
  .directory-result-summary { width: 100%; flex-direction: row-reverse; justify-content: space-between; font-size: 11px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .project-tile { aspect-ratio: .84; min-height: 410px; }
  .project-tile h2 { font-size: 30px; }
  .project-tile-content { padding: 29px 25px 24px; }
  .portal-footer { margin: 0 20px; flex-wrap: wrap; padding: 26px 0; gap: 17px; }
  .portal-footer > a:last-child { width: 100%; margin-left: 0; }
  .project-login { display: flex; flex-direction: column; }
  .project-login-visual { min-height: 320px; }
  .project-login-photo { object-position: center 48%; }
  .project-login-back { top: 18px; left: 20px; font-size: 11px; padding: 7px 12px; }
  .project-login-caption { bottom: 27px; left: 24px; right: 24px; }
  .project-login-caption h1 { font-size: 33px; margin-top: 13px; }
  .project-login-caption p { font-size: 12px; margin-top: 12px; }
  .project-login-form { padding: 18px 26px 24px; }
  .project-login-box { padding: 8px 0 28px; }
  .project-login-logos { margin-bottom: 28px; gap: 20px; }
  .project-archi-logo { width: 54px; height: 59px; }
  .project-login-box h2 { font-size: 32px; }
  .project-login-subtitle { font-size: 13px; }
  .project-login-mobile-back { display: block; font-size: 12px; margin-top: 28px; text-align: center; }
  .project-overview { padding: 22px 20px 42px; }
  .overview-breadcrumb { font-size: 10px; gap: 9px; line-height: 1.6; }
  .overview-hero { min-height: 430px; border-radius: 14px 54px 14px 14px; }
  .overview-hero-copy { left: 24px; right: 24px; bottom: 28px; }
  .overview-hero h1 { font-size: 38px; }
  .overview-hero-copy p { font-size: 12px; }
  .overview-details { grid-template-columns: minmax(0, 1fr); padding: 26px 23px; gap: 28px; }
  .overview-details h2 { font-size: 26px; }
  .overview-actions { display: grid; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #portal *, #portal *::before, #portal *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
