:root {
  --black: #050505;
  --ink: #161616;
  --muted: #4f4f4f;
  --white: #fff;
  --cream: #faf7ec;
  --paper: #fffdf6;
  --stone: #f1ede2;
  --lime: #c9d437;
  --lime-dark: #9aa200;
  --raspberry: #c63154;
  --gold: #d99526;
  --border: rgba(5, 5, 5, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--black);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--black);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

a {
  color: var(--ink);
  font-weight: 800;
}

.preopen-shell {
  min-height: 100svh;
  width: 100vw;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--black);
}

.scan-screen {
  min-height: 100svh;
  width: 100%;
  display: grid;
  grid-template-rows: auto repeat(3, 1fr);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  gap: 10px;
  min-height: 25svh;
  padding: 18px 16px 16px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background: var(--black);
  border-bottom: 3px solid var(--lime);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: -8px;
  z-index: 0;
  background: url("assets/ange-facade-exterieure.jpg") center / cover;
  filter: blur(2.5px);
  transform: scale(1.02);
}

.hero::after {
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.84));
}

.hero > * {
  position: relative;
  z-index: 2;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand-logo {
  width: 76px;
  height: auto;
  flex: 0 0 auto;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 0;
  color: var(--white);
  font-family: "Avenir Next Condensed", "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.2;
  text-wrap: balance;
}

.opening-chip {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 0;
  padding: 10px 12px;
  color: var(--black);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  background: var(--lime);
  border: 2px solid var(--white);
  border-radius: 8px;
}

.opening-date,
.opening-dash,
.opening-chip strong {
  font-size: 0.82rem;
  font-weight: 900;
}

.opening-chip strong {
  font-family: inherit;
  line-height: 1;
}

.door-grid {
  display: contents;
}

.door {
  position: relative;
  display: grid;
  grid-template-columns: minmax(68px, 24%) 1fr;
  grid-template-areas:
    "image title"
    "image copy"
    "image action";
  align-content: center;
  gap: 3px 14px;
  min-height: 0;
  width: 100%;
  padding: 13px 16px;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  background: var(--paper);
  transition:
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.door:focus-visible,
.primary-action:focus-visible,
.album-card:focus-visible,
.icon-close:focus-visible,
.site-footer a:focus-visible {
  outline: 4px solid var(--lime);
  outline-offset: 3px;
}

.door-loyalty {
  background: var(--paper);
}

.door-hiring {
  background: var(--stone);
}

.door-site {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(22, 17, 13, 0.96)),
    var(--black);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.door-image,
.door-photo {
  grid-area: image;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 108px;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform 220ms var(--ease-out);
}

.door-photo {
  border-radius: 8px;
  object-fit: cover;
}

.door-title {
  grid-area: title;
  min-width: 0;
  font-family: "Avenir Next Condensed", "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.24;
  text-wrap: balance;
}

.door-copy {
  grid-area: copy;
  min-width: 0;
  max-width: min(100%, 28ch);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.door-action {
  grid-area: action;
  justify-self: start;
  min-width: 0;
  margin-top: 3px;
  padding: 6px 9px;
  color: var(--black);
  background: var(--lime);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
  transition:
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out);
}

.door-hiring .door-action {
  color: var(--white);
  background: var(--gold);
}

.door-site .door-action {
  color: var(--white);
  background: var(--raspberry);
}

.door-action.is-soon,
.door-hiring .door-action.is-soon {
  color: var(--white);
  background: var(--black);
}

.site-footer {
  color: var(--white);
  background: var(--black);
  border-top: 3px solid var(--lime);
}

.site-footer-inner {
  display: grid;
  gap: 14px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 22px 18px max(22px, env(safe-area-inset-bottom));
}

.site-footer p {
  max-width: 58ch;
  margin: 0;
  color: #f3f3f3;
  font-size: 0.93rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 13px;
  color: var(--black);
  text-decoration: none;
  background: var(--lime);
  border-radius: 8px;
  line-height: 1.2;
}

.site-footer-privacy {
  min-height: 44px;
  padding: 11px 0;
  color: var(--white);
  font-size: 0.86rem;
  text-underline-offset: 4px;
}

.door-dialog {
  width: min(720px, calc(100% - 20px));
  max-height: min(86svh, 860px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.door-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-frame {
  position: relative;
  max-height: min(86svh, 860px);
  overflow: auto;
  padding: 24px 18px 22px;
}

.icon-close {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: auto;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-radius: 50%;
  font-size: 1.55rem;
  line-height: 1;
}

.icon-close.is-back {
  font-size: 1.75rem;
  padding-bottom: 2px;
}

.panel-kicker {
  margin-bottom: 6px;
  color: var(--lime-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 10px;
  font-family: "Avenir Next Condensed", "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
}

.panel-lead {
  max-width: 56ch;
  margin-bottom: 18px;
  color: #333;
  font-size: 1rem;
  line-height: 1.45;
}

.coming-soon-panel {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
}

.coming-soon-panel strong {
  font-family: "Avenir Next Condensed", "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1;
}

.coming-soon-panel p {
  max-width: 42ch;
  margin: 0;
  color: #333;
  line-height: 1.4;
}

.capture-form {
  display: grid;
  gap: 13px;
}

.field-pair {
  display: grid;
  gap: 13px;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
}

label span,
legend {
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  transition:
    border-color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--lime-dark);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(201, 212, 55, 0.34);
}

fieldset {
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
}

.check-row {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 9px;
  line-height: 1.35;
}

.check-row input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--lime-dark);
}

.legal-note {
  margin: -2px 0 0;
  color: #575757;
  font-size: 0.82rem;
  line-height: 1.4;
}

.field-hint {
  margin: -2px 0 0;
  color: #5d5d5d;
  font-size: 0.78rem;
  line-height: 1.3;
}

.is-invalid input,
.is-invalid select,
.is-invalid textarea,
fieldset.is-invalid {
  border-color: #a7132f;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  color: var(--black);
  text-align: center;
  text-decoration: none;
  background: var(--lime);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  transition:
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    transform 180ms var(--ease-out),
    opacity 180ms var(--ease-out);
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.64;
}

.form-status {
  min-height: 20px;
  margin: 0;
  font-weight: 800;
  line-height: 1.35;
}

.form-status.is-error {
  color: #a7132f;
}

.form-status.is-success {
  color: #536000;
}

.album-grid {
  display: grid;
  gap: 14px;
}

.album-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  text-align: center;
  background: var(--black);
  border: 0;
  border-radius: 8px;
}

.album-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--cream);
  transform: scale(1.01);
  transition: transform 220ms var(--ease-out);
}

.album-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.6));
}

.album-card time {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 6px 9px;
  color: var(--black);
  background: var(--lime);
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
}

.album-title {
  position: relative;
  z-index: 2;
  max-width: 82%;
  color: var(--white);
  font-family: "Avenir Next Condensed", "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(1.55rem, 7vw, 2.5rem);
  font-weight: 900;
  line-height: 1.04;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.78);
  text-wrap: balance;
}

.album-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 6px 9px;
  color: var(--white);
  background: rgba(5, 5, 5, 0.76);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.album-card.is-empty {
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.96), rgba(54, 42, 34, 0.98)),
    var(--black);
}

.album-empty-state {
  margin: 0;
  padding: 18px;
  color: var(--ink);
  text-align: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.4;
}

.album-detail {
  display: grid;
  gap: 12px;
}

.album-detail-head {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.album-detail-head time {
  padding: 6px 9px;
  color: var(--black);
  background: var(--lime);
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
}

.album-detail-head h3 {
  margin: 0;
  font-family: "Avenir Next Condensed", "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  font-weight: 900;
  line-height: 1.04;
  text-wrap: balance;
}

.album-detail-head h3:focus {
  outline: 0;
}

.album-photos {
  display: grid;
  gap: 12px;
}

.album-photos img {
  display: block;
  width: 100%;
  max-height: 68svh;
  height: auto;
  object-fit: contain;
  background: var(--black);
  border-radius: 8px;
}

@media (hover: hover) {
  .door:hover {
    transform: translateY(-1px);
  }

  .door:hover .door-image,
  .door:hover .door-photo {
    transform: scale(1.035);
  }

  .door-loyalty:hover {
    background: #fffff8;
  }

  .door-hiring:hover {
    background: #fbf5e8;
  }

  .door-site:hover {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.98), rgba(35, 26, 19, 0.98)),
      var(--black);
  }

  .primary-action:hover {
    transform: translateY(-1px);
  }

  .album-card:hover img {
    transform: scale(1.045);
  }

}

@media (max-width: 759px) {
  .door-dialog {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    max-height: 94svh;
  }

  .dialog-frame {
    max-height: 94svh;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }

}

@media (min-width: 760px) {
  .scan-screen {
    grid-template-rows: minmax(220px, 34svh) 1fr;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    grid-column: 1 / -1;
    flex-direction: column;
    justify-content: center;
    padding: 28px 34px;
  }

  .brand-logo {
    width: 108px;
  }

  h1 {
    max-width: none;
    font-size: 2.8rem;
  }

  .opening-chip {
    padding: 14px 18px;
  }

  .opening-date,
  .opening-dash,
  .opening-chip strong {
    font-size: 0.96rem;
  }

  .door-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    min-height: 0;
  }

  .door {
    grid-template-columns: 1fr;
  grid-template-areas:
      "image"
      "title"
      "copy"
      "action";
    align-content: end;
    gap: 8px;
    min-height: 66svh;
    padding: 28px;
    border-right: 1px solid rgba(0, 0, 0, 0.14);
    border-bottom: 0;
  }

  .door-image,
  .door-photo {
    justify-self: start;
    max-width: 190px;
  }

  .door-title {
    font-size: 2.25rem;
  }

  .door-copy {
    max-width: 32ch;
  }

  .field-pair {
    grid-template-columns: 1fr 1fr;
  }

  .dialog-frame {
    padding: 30px;
  }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 20px 28px;
  }

  .site-footer-links {
    flex-direction: row;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-height: 690px) and (max-width: 759px) {
  .hero {
    min-height: 21svh;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand-logo {
    width: 58px;
  }

  h1 {
    font-size: 1.35rem;
  }

  .opening-chip {
    padding: 8px 10px;
  }

  .door {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .door-title {
    font-size: 1.22rem;
  }

  .door-copy {
    font-size: 0.86rem;
  }
}

@media (max-width: 360px) {
  .door-dialog {
    width: calc(100% - 8px);
    max-width: calc(100% - 8px);
  }

  .dialog-frame {
    padding-right: 8px;
    padding-left: 8px;
  }

  .hero {
    gap: 8px;
    padding-top: 8px;
    padding-right: 10px;
    padding-bottom: 8px;
    padding-left: 10px;
  }

  .brand-lockup {
    gap: 8px;
  }

  .brand-logo {
    width: 46px;
  }

  .eyebrow {
    display: none;
  }

  h1 {
    max-width: 15ch;
    font-size: 1.04rem;
    line-height: 1.12;
  }

  .opening-chip {
    gap: 4px;
    padding: 6px 8px;
  }

  .opening-date,
  .opening-dash,
  .opening-chip strong {
    font-size: 0.68rem;
  }

  .door {
    grid-template-columns: minmax(64px, 25%) 1fr;
    gap: 3px 12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .door-image,
  .door-photo {
    max-width: 88px;
  }

  .door-copy {
    max-width: min(100%, 25ch);
  }
}
