/* Faces: shared styles. The page stays the drafts colour (#f5f7fa, teal accent, Lato); the richness is in the elements:
   layered soft shadows, light inner edges, glassy controls, smooth motion. */
:root {
  --ink: #172033; --ink-2: #33415a; --muted: #55657c; --line: #e3e9f0; --bg: #f5f7fa; --card: #ffffff;
  --accent: #0a7c88; --accent-dark: #08646e; --accent-soft: #eef8f9;
  --shadow-1: 0 1px 2px rgba(23, 32, 51, .06), 0 4px 12px -2px rgba(23, 32, 51, .08);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 6px rgba(23, 32, 51, .06), 0 24px 48px -18px rgba(23, 32, 51, .28);
  --shadow-3: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 40px 80px -30px rgba(10, 60, 70, .38), 0 12px 28px -12px rgba(23, 32, 51, .25);
  --ease: cubic-bezier(.22, .8, .24, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Lato, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-dark); }
button, input, textarea, select { font: inherit; color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 40px 20px 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .2px; color: var(--ink); text-decoration: none; }
.brand i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: 13px; color: #fff;
  background: linear-gradient(145deg, #12909c, #08646e); box-shadow: 0 6px 14px -6px rgba(8, 100, 110, .7), 0 1px 0 rgba(255, 255, 255, .35) inset; }
.top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.crumb { font-size: 14px; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.crumb:hover { color: var(--accent-dark); }
h1 { font-size: 30px; line-height: 1.2; font-weight: 900; margin: 0 0 8px; letter-spacing: -.2px; }
.lead { color: var(--muted); margin: 0 0 28px; max-width: 640px; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { position: relative; display: block; text-decoration: none; color: inherit; background: var(--card); border-radius: 20px; box-shadow: var(--shadow-2);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.card .art { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, #eef3f7 60%, #e3eaf1 100%); }
.card .art img, .card .art video, .card .art canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .body { padding: 16px 58px 18px 18px; }
.card .name { font-weight: 900; font-size: 17px; }
.card .sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.card .go { position: absolute; right: 14px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-dark);
  background: var(--accent-soft); transition: transform .3s var(--ease), background .3s; }
.card:hover .go { transform: translateX(3px); background: #dff2f4; }

/* Layout thumbnails (pure CSS drawings of each layout) */
.thumb { position: absolute; inset: 14% 10%; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -14px rgba(23, 32, 51, .45), 0 0 0 1px rgba(23, 32, 51, .05); }
.thumb b { position: absolute; border-radius: 7px; background: linear-gradient(160deg, #cfe9ec, #9fd0d6); }
.thumb b.me { background: linear-gradient(160deg, #e8edf3, #cfd8e3); }

/* Forms */
.panel { background: var(--card); border-radius: 22px; box-shadow: var(--shadow-2); padding: 26px; }
.row2 { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .row2 { grid-template-columns: 1fr; } }
label.l { display: block; font-weight: 700; margin-bottom: 8px; }
.field { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fbfcfd; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.field:focus { border-color: #9fd0d6; background: #fff; box-shadow: 0 0 0 4px rgba(10, 124, 136, .12); }
textarea.field { min-height: 220px; resize: vertical; line-height: 1.5; }
.file { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--accent-dark); cursor: pointer; font-weight: 700; }
.file input { display: none; }
.btn { appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: 14px 28px; font-weight: 900; letter-spacing: .2px; display: inline-flex; align-items: center; gap: 10px;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), opacity .2s; }
.btn-primary { color: #fff; background: linear-gradient(160deg, #13919d 0%, #0a7c88 45%, #08646e 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 28px -12px rgba(8, 100, 110, .75), 0 4px 10px -4px rgba(8, 100, 110, .5); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 18px 34px -12px rgba(8, 100, 110, .8), 0 6px 12px -4px rgba(8, 100, 110, .5); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.err { color: #b42318; font-size: 14px; margin: 10px 0 0; }
.muted { color: var(--muted); }
.fade-in { animation: fadeIn .6s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
