:root {
  color-scheme: light;
  --background: #421e18;
  --surface: #f4e7d4;
  --text: #2d1b16;
  --accent: #a74c2e;
  --muted: #705e55;
  --radius: 0px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { min-height: 100svh; margin: 0; color: var(--text); background: var(--background); }
button, input { font: inherit; }
main { width: min(100% - 2rem, 76rem); min-height: calc(100svh - 4.5rem); margin: auto; display: grid; grid-template-columns: minmax(0, .92fr) minmax(22rem, 1.08fr); align-items: center; gap: clamp(1rem, 5vw, 6rem); }
.identity { min-height: min(72svh, 42rem); padding: clamp(1.5rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; color: var(--surface); border: 1px solid color-mix(in srgb, var(--surface), transparent 75%); }
.brand { margin: 0; max-width: 10ch; font: 400 clamp(2rem, 5vw, 4.8rem)/.95 Georgia, serif; letter-spacing: -.04em; }
.motif { display: block; width: 7rem; height: 7rem; border: 1px solid currentColor; transform: rotate(45deg); opacity: .48; }
.access { padding: clamp(1.5rem, 5vw, 4.5rem); background: var(--surface); border-radius: var(--radius); }
.eyebrow { margin: 0 0 1.25rem; color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 10ch; margin: 0; font: 400 clamp(2.7rem, 6vw, 5.8rem)/.98 Georgia, serif; letter-spacing: -.045em; }
.description { max-width: 33rem; margin: 1.5rem 0 2rem; color: var(--muted); line-height: 1.65; }
.sign-in label { display: block; margin-bottom: .55rem; font-size: .88rem; font-weight: 700; }
.sign-in input { width: 100%; min-height: 3.2rem; padding: .75rem .9rem; color: var(--text); background: transparent; border: 1px solid color-mix(in srgb, var(--text), transparent 60%); border-radius: calc(var(--radius) / 2); }
.sign-in input:focus { outline: 3px solid color-mix(in srgb, var(--accent), transparent 65%); border-color: var(--accent); }
.sign-in button { min-height: 3.15rem; margin-top: 1rem; padding: .7rem 1.3rem; color: var(--surface); background: var(--accent); border: 0; border-radius: calc(var(--radius) / 2); font-weight: 750; cursor: pointer; }
.sign-in button:hover { filter: brightness(.92); }
.error { margin: .55rem 0 0; color: #a52d24; font-size: .84rem; }
.confirmation { padding: 1rem 0; }
.confirmation .check { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; color: var(--surface); background: var(--accent); border-radius: 50%; font-weight: 800; }
.confirmation h2 { max-width: 16ch; margin: 1rem 0 0; font: 400 clamp(2rem, 4vw, 3.5rem)/1.05 Georgia, serif; }
footer { min-height: 4.5rem; width: min(100% - 2rem, 76rem); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: color-mix(in srgb, var(--surface), transparent 20%); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.layout-frame main { border: 1px solid color-mix(in srgb, var(--text), transparent 82%); min-height: calc(100svh - 7rem); padding: clamp(1rem, 3vw, 2.5rem); }
.layout-frame .identity { min-height: 55svh; border: 0; border-radius: var(--radius); background: var(--accent); }
.layout-editorial main { grid-template-columns: minmax(16rem, .62fr) minmax(25rem, 1.38fr); }
.layout-editorial .identity { justify-content: center; border-inline: 1px solid color-mix(in srgb, var(--text), transparent 75%); border-block: 0; color: var(--text); }
.layout-editorial .motif { margin-top: 6rem; }
.layout-compact main { width: min(100% - 2rem, 58rem); grid-template-columns: 1fr; gap: 1rem; }
.layout-compact .identity { min-height: auto; flex-direction: row; align-items: center; color: var(--surface); border: 0; padding-block: 2rem; }
.layout-compact .brand { max-width: none; font-size: clamp(1.6rem, 4vw, 2.6rem); }
.layout-compact .motif { width: 3rem; height: 3rem; }
.layout-band main { grid-template-columns: 1fr; width: 100%; gap: 0; }
.layout-band .identity { min-height: 32svh; width: 100%; padding-inline: max(1rem, calc((100vw - 70rem) / 2)); justify-content: center; color: var(--text); background: var(--background); border: 0; }
.layout-band .motif { display: none; }
.layout-band .access { width: min(100% - 2rem, 70rem); margin: -4rem auto 3rem; }
.layout-corner main { grid-template-columns: minmax(0, 1fr) minmax(22rem, .8fr); }
.layout-corner .identity { align-self: stretch; min-height: 76svh; justify-content: flex-end; color: var(--text); background: var(--surface); border: 0; }
.layout-corner .access { color: var(--surface); background: var(--text); }
.layout-corner .description, .layout-corner footer { color: var(--muted); }
.layout-corner .sign-in input { color: var(--surface); border-color: color-mix(in srgb, var(--surface), transparent 55%); }
@media (max-width: 720px) {
  main, .layout-editorial main, .layout-corner main { min-height: auto; grid-template-columns: 1fr; padding-block: 1rem; }
  .identity, .layout-frame .identity, .layout-corner .identity { min-height: 11rem; padding: 1.4rem; }
  .brand { max-width: none; font-size: 2rem; }
  .motif { width: 3.5rem; height: 3.5rem; }
  .access { padding: 1.5rem; }
  .layout-band .identity { min-height: 15rem; padding-inline: 1.5rem; }
  .layout-band .access { margin-top: -2rem; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}
