/* Shared dark architectural brand system. */
:root {
  --color-background: #101112;
  --color-surface: #202224;
  --color-anthracite: #303234;
  --color-ink: #f2efe8;
  --color-muted: #d4d0c8;
  --color-line: #ffffff26;
  --color-light: #f2efe8;
  --color-accent: #bea37a;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --space-gutter: clamp(28px, 4.4vw, 80px);
  --motion-duration: 750ms;
  --motion-ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { background: var(--color-background); color: var(--color-ink); }
body { margin: 0; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
p, h1, h2 { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* The original logo floats over the photographs, without a header surface. */
.brand { position: absolute; z-index: 3; top: 27px; left: 50%; transform: translateX(-50%); display: block; width: 112px; line-height: 0; filter: drop-shadow(0 2px 9px #0009); }
.brand img { display: block; width: 100%; height: auto; }
.gateway { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--color-anthracite); }
.gateway-panel { height: 100svh; min-height: 540px; position: relative; overflow: hidden; text-decoration: none; isolation: isolate; display: flex; align-items: flex-end; }
.panel-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -3; transition: transform var(--motion-duration) var(--motion-ease), filter var(--motion-duration) var(--motion-ease); }
.gateway-panel--commercial .panel-image { object-position: 52% 50%; }
/* Localized readability scrims leave the center of each photograph untouched. */
.gateway-panel::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to bottom, #07090966, transparent 19%), linear-gradient(to top, #080b0de6, #080b0d70 22%, transparent 48%); }
.gateway-panel::before { content: ""; position: absolute; inset: 0; background: #07090b; opacity: 0; z-index: -1; transition: opacity var(--motion-duration) var(--motion-ease); }
.panel-content { padding: 0 var(--space-gutter) clamp(42px, 7vh, 76px); width: 100%; }
.eyebrow { color: var(--color-muted); font-size: 9px; line-height: 1.5; letter-spacing: .19em; margin-bottom: 13px; }
.panel-content h2 { font-size: clamp(28px, 2.3vw, 36px); line-height: 1.2; letter-spacing: -.015em; font-weight: 400; }
.panel-description { color: var(--color-muted); font-size: 13px; line-height: 1.6; margin-top: 12px; }
.panel-link { display: inline-flex; align-items: center; margin-top: 26px; padding-bottom: 7px; background: linear-gradient(var(--color-light), var(--color-light)) left bottom / 0 1px no-repeat; font-size: 10px; letter-spacing: .08em; transition: background-size 420ms var(--motion-ease), opacity 420ms var(--motion-ease); }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 14px; background: var(--color-background); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 6px; }
.gateway-panel:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -8px; }
.gateway-panel:focus .panel-link { background-size: 100% 1px; }
@media (hover: hover) and (pointer: fine) {
  .gateway-panel:hover .panel-image { filter: brightness(1.035); }
  .gateway:has(.gateway-panel:hover) .gateway-panel:not(:hover)::before { opacity: .12; }
  .gateway-panel:hover .panel-link { background-size: 100% 1px; opacity: .88; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .gateway-panel:hover .panel-image { transform: scale(1.025); }
}
@media (max-width: 700px) {
  .brand { top: 19px; width: 91px; }
  .gateway { grid-template-columns: 1fr; gap: 0; }
  .gateway-panel { height: 58svh; min-height: 420px; }
  .gateway-panel:focus-visible { outline: none; }
  .panel-image { object-position: 60% 50%; }
  .panel-content { padding: 0 26px 30px; }
  .panel-content h2 { font-size: 28px; }
  .eyebrow { font-size: 8px; margin-bottom: 10px; }
  .panel-description { font-size: 12px; margin-top: 9px; }
  .panel-link { margin-top: 19px; }
  .gateway-panel::after { background: linear-gradient(to bottom, #07090966, transparent 24%), linear-gradient(to top, #080b0de6, #080b0d66 30%, transparent 65%); }
  .gateway-panel--commercial::after { background: linear-gradient(to top, #080b0de6, #080b0d66 30%, transparent 65%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
