/* Sign-in (/auth/*) - same surface as Gavri's app login (app.trygavri.com/login). */
:root {
  --coral-100: #ffd2c6; --coral-400: #ff6f4a; --coral-500: #ff5a2c; --coral-600: #ed4318; --coral-700: #c5310f;
  --ink: #1c1714; --ink-2: #4a4038; --ink-3: #8a7f76; --line: #ece4db; --soft: #f5efe8; --surface: #fbf7f2; --card: #fff;
  --error: #c7362a; --error-soft: #fdecea;
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --body: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --glow: 0 12px 30px -8px rgba(255, 90, 44, .55);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 36px;
  font-family: var(--body); color: var(--ink); -webkit-font-smoothing: antialiased;
  background: var(--soft) radial-gradient(circle, rgba(28, 23, 20, .05) 1px, transparent 1.4px) 0 0 / 24px 24px;
}
.shell {
  display: flex; width: 96vw; max-width: 1240px; min-height: 640px; height: min(772px, 92vh);
  background: var(--card); border-radius: 30px; overflow: hidden; box-shadow: var(--glow);
}

/* brand panel */
.panel { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 44px; background: var(--coral-500); color: #fff; overflow: hidden; }
.panel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .7; background-size: 160px 160px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); pointer-events: none; }
.ring.a { bottom: -280px; left: -200px; width: 560px; height: 560px; }
.ring.b { top: -140px; right: -90px; width: 300px; height: 300px; }
.panel > :not(.ring) { position: relative; }
.word { font-weight: 700; font-size: 18px; letter-spacing: .14em; }
.word small { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-left: 10px; }
.kick { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.panel .kick { margin-top: 28px; color: rgba(255, 255, 255, .8); }
.panel h2 { margin: 12px 0 0; font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1.02; letter-spacing: -.02em; }
.panel p { margin: 14px 0 0; max-width: 42ch; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.props { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.props li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .95); }
.props li span { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .4); }
.gallery { margin-top: 28px; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.gallery .head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.gallery .head .kick { letter-spacing: .18em; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.gallery .head i { flex: 1; height: 1px; background: rgba(255, 255, 255, .2); }
.shots { height: min(270px, 30vh); display: flex; gap: 12px; align-items: center; justify-content: center; }
.shots img {
  flex: none; max-width: 31%; object-fit: cover; border-radius: 18px; border: 5px solid #fff;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.shots img:nth-child(1) { height: 82%; aspect-ratio: 1; transform: translateY(12px) rotate(-3deg); }
.shots img:nth-child(2) { height: 100%; aspect-ratio: 4 / 5; transform: translateY(-4px) rotate(1.5deg); z-index: 1; }
.shots img:nth-child(3) { height: 82%; aspect-ratio: 1; transform: translateY(4px) rotate(3deg); }
.shots img:hover { transform: translateY(-6px) rotate(0); }
.gallery .fine { margin: 24px 0 0; text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }

/* form pane */
.pane { width: 430px; flex: none; overflow-y: auto; }
.pane-in { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 44px; }
.mark { display: none; align-items: center; gap: 10px; margin-bottom: 32px; }
.mark b { width: 36px; height: 36px; border-radius: 12px; background: var(--coral-500); color: #fff; display: grid; place-items: center; box-shadow: var(--glow); font-family: var(--display); font-size: 18px; }
.mark span { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.pane .kick { color: var(--coral-500); }
.pane.bad .kick { color: var(--error); }
.pane h1 { margin: 12px 0 0; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.15; letter-spacing: -.02em; }
.pane .sub { margin: 6px 0 24px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.pane .sub code { font-family: var(--mono); font-size: 13px; color: var(--ink-2); background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.go {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; border-radius: 12px;
  background: var(--coral-500); color: #fff; font: 600 15px var(--body); text-decoration: none; box-shadow: var(--glow);
  transition: background .15s, transform .15s cubic-bezier(.34, 1.56, .64, 1);
}
.go:hover { background: var(--coral-600); transform: translateY(-1px); }
.go:active { transform: scale(.98); }
.go:focus-visible { outline: 2px solid var(--coral-100); outline-offset: 2px; }
.go svg { width: 18px; height: 18px; background: #fff; border-radius: 50%; padding: 2px; }
.msg { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--error); background: var(--error-soft); border-radius: 8px; padding: 8px 12px; }
.note { margin: 18px 0 0; text-align: center; font-size: 12px; line-height: 1.6; color: rgba(138, 127, 118, .8); }

@media (max-width: 1023px) {
  body { padding: 24px; }
  .panel { display: none; }
  .shell { width: 100%; max-width: 440px; height: auto; min-height: 0; }
  .pane { width: 100%; }
  .pane-in { padding: 36px 28px; }
  .mark { display: flex; }
}
