/* =========================================================
   Soul Search Counseling — Studio
   Shared stylesheet for the owner workspace (/studio/)
   ========================================================= */

:root{
  --navy: #0d1b34;
  --navy-2: #10233f;
  --ink: #161a20;
  --ink-soft: #4a5160;
  --cream: #f4f1ea;
  --cream-2: #efe9dd;
  --paper: #eae4d9;
  --gold: #c9a558;
  --gold-2: #e2c27e;
  --coral: #e8442f;
  --coral-dark: #cf3421;
  --pink: #f6d3cb;
  --sand: #e6dfae;
  --sky: #cfe3ee;
  --violet: #5b3b96;
  --violet-2: #7a55c4;
  --star: #f2d27a;
  --line: rgba(13,27,52,.12);
  --shadow: 0 18px 50px -22px rgba(13,27,52,.4);
  --radius: 18px;
  --wrap: 1240px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Mrs Saint Delafield", "Cormorant Garamond", cursive;

  --rail-w: 232px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

body.studio-body{
  margin:0;
  background:var(--cream-2);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:15px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; cursor:pointer; }
ul,ol{ list-style:none; margin:0; padding:0; }
h1,h2,h3,p,dl,dd,dt{ margin:0; }

:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
  border-radius:6px;
}

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

.skip-link{
  position:absolute; left:12px; top:-60px; z-index:200;
  background:var(--navy); color:#fff; padding:10px 16px; border-radius:0 0 10px 10px;
  font-size:13px; font-weight:600; transition:top .2s ease;
}
.skip-link:focus{ top:0; }

/* ================= SHELL ================= */
.studio-shell{
  display:grid;
  grid-template-columns:var(--rail-w) minmax(0,1fr);
  min-height:100vh;
}

/* ================= SIDEBAR RAIL ================= */
.rail{
  background:var(--navy);
  color:rgba(244,241,234,.72);
  display:flex;
  flex-direction:column;
  position:sticky;
  top:0;
  height:100vh;
  padding:22px 14px 18px;
  z-index:60;
}
.rail::after{
  content:"";
  position:absolute; inset:0 0 auto auto; width:1px; height:100%;
  background:linear-gradient(180deg, rgba(201,165,88,.35), rgba(201,165,88,0) 55%);
}

.rail-top{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; padding:0 6px 22px;
}
.brand{ display:flex; align-items:center; gap:11px; }
.brand-mark{
  width:38px; height:38px; flex:0 0 38px;
  display:grid; place-items:center;
  border:1px solid rgba(201,165,88,.55);
  border-radius:12px;
  font-family:var(--font-display);
  font-size:19px; font-weight:600; color:var(--gold-2);
  background:linear-gradient(160deg, rgba(201,165,88,.16), rgba(201,165,88,0));
}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong{
  font-family:var(--font-display);
  font-size:19px; font-weight:600; color:var(--cream); letter-spacing:.01em;
}
.brand-text em{
  font-style:normal; font-size:9.5px; letter-spacing:.34em;
  text-transform:uppercase; color:rgba(244,241,234,.5); margin-top:3px;
}

.rail-toggle{ display:none; }

.rail-nav{ overflow-y:auto; overscroll-behavior:contain; flex:1 1 auto; }
.rail-list{ display:flex; flex-direction:column; gap:3px; }

.rail-link{
  display:flex; align-items:center; gap:12px;
  padding:11px 12px;
  border-radius:12px;
  font-size:13.5px; font-weight:500;
  color:rgba(244,241,234,.74);
  position:relative;
  transition:background .22s ease, color .22s ease, transform .22s ease;
}
.rail-link:hover{ background:rgba(255,255,255,.06); color:var(--cream); }
.rail-link.is-active{
  background:linear-gradient(120deg, var(--coral), var(--coral-dark));
  color:#fff;
  box-shadow:0 12px 24px -16px rgba(232,68,47,.9);
}
.rail-link.is-active .rail-ico{ color:#fff; }
.rail-ico{ width:18px; height:18px; flex:0 0 18px; display:grid; place-items:center; color:var(--gold); }
.rail-ico svg{ width:18px; height:18px; }
.rail-label{ flex:1 1 auto; min-width:0; }
.rail-caret{
  width:7px; height:7px; border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor;
  transform:rotate(45deg) translate(-1px,-1px); opacity:.75;
}
.rail-link.is-active .rail-caret{ border-color:#fff; }
.rail-count{
  font-size:10.5px; font-weight:600; letter-spacing:.02em;
  padding:2px 7px; border-radius:999px;
  background:rgba(244,241,234,.1); color:rgba(244,241,234,.8);
}
.rail-count--live{ background:rgba(201,165,88,.22); color:var(--gold-2); }
.rail-count--alert{ background:rgba(232,68,47,.22); color:#ffb3a6; }

.rail-foot{
  margin-top:14px; padding:14px 12px 0;
  border-top:1px solid rgba(244,241,234,.1);
  display:flex; flex-direction:column; gap:9px;
}
.rail-version{ font-size:11px; color:rgba(244,241,234,.42); }
.rail-site{
  font-size:11.5px; font-weight:600; color:var(--gold-2);
  display:inline-flex; gap:6px; align-items:center;
  transition:color .2s ease;
}
.rail-site:hover{ color:#fff; }

/* ================= CONTENT COLUMN ================= */
.studio-col{
  display:flex; flex-direction:column;
  min-width:0;
  background:
    radial-gradient(1200px 520px at 90% -10%, rgba(201,165,88,.16), transparent 60%),
    var(--cream-2);
}

/* ================= TOPBAR ================= */
.topbar{
  display:flex; align-items:flex-start; justify-content:space-between; gap:24px;
  padding:26px 34px 6px;
}
.eyebrow{
  font-size:10.5px; letter-spacing:.3em; text-transform:uppercase;
  color:var(--gold); font-weight:600; margin-bottom:7px;
}
.page-title{
  font-family:var(--font-display);
  font-weight:600; font-size:clamp(28px,3.4vw,44px);
  line-height:1.02; letter-spacing:-.01em; color:var(--navy);
}
.page-sub{ font-size:13px; color:var(--ink-soft); margin-top:6px; }

.topbar-actions{ display:flex; align-items:center; gap:10px; padding-top:8px; }
.icon-btn{
  width:38px; height:38px; border-radius:50%;
  border:1px solid var(--line); background:rgba(255,255,255,.5);
  display:grid; place-items:center; position:relative;
  color:var(--navy);
  transition:background .2s ease, transform .2s ease, border-color .2s ease;
}
.icon-btn svg{ width:19px; height:19px; }
.icon-btn:hover{ background:#fff; transform:translateY(-1px); border-color:rgba(13,27,52,.22); }
.icon-btn .dot{
  position:absolute; top:7px; right:8px; width:7px; height:7px; border-radius:50%;
  background:var(--coral); box-shadow:0 0 0 2px var(--cream-2);
}
.avatar-btn{
  width:38px; height:38px; border-radius:50%; border:none;
  background:var(--navy); color:var(--cream);
  font-family:var(--font-display); font-size:17px;
  display:grid; place-items:center;
  transition:transform .2s ease, box-shadow .2s ease;
}
.avatar-btn:hover{ transform:translateY(-1px); box-shadow:0 10px 22px -14px var(--navy); }
.nav-toggle{
  display:none; width:42px; height:38px; border-radius:11px;
  border:1px solid var(--line); background:rgba(255,255,255,.6);
  place-items:center; color:var(--navy);
}
.nav-toggle svg{ width:20px; height:20px; }

/* ================= GREET ROW ================= */
.greet-row{
  display:flex; align-items:center; gap:12px;
  padding:18px 34px 4px; flex-wrap:wrap;
}
.greet-pill{
  display:inline-flex; align-items:center; gap:20px;
  background:linear-gradient(120deg, var(--coral), var(--coral-dark));
  color:#fff; border-radius:10px;
  padding:11px 18px; font-size:13.5px; font-weight:600;
  box-shadow:0 14px 28px -20px rgba(232,68,47,.95);
}
.greet-chev{ opacity:.85; font-size:16px; line-height:1; }
.quick-form{
  display:flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.62);
  border:1px solid var(--line); border-radius:10px;
  padding:0 10px 0 16px; min-width:min(300px,60vw);
  transition:border-color .2s ease, background .2s ease;
}
.quick-form:focus-within{ background:#fff; border-color:rgba(13,27,52,.3); }
.quick-form input{
  border:none; background:transparent; outline:none;
  font:inherit; font-size:13px; color:var(--ink);
  padding:11px 0; width:100%;
}
.quick-form input::placeholder{ color:#9aa0ac; }
.quick-form button{
  border:none; background:transparent; color:var(--navy);
  display:grid; place-items:center; padding:6px; border-radius:8px;
  transition:background .2s ease;
}
.quick-form button svg{ width:17px; height:17px; }
.quick-form button:hover{ background:rgba(13,27,52,.07); }

/* ================= MAIN ================= */
.studio-main{
  padding:16px 34px 40px;
  display:flex; flex-direction:column; gap:16px;
}

/* ---- PANEL BASE ---- */
.panel{
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px 20px 20px;
  backdrop-filter:blur(6px);
  box-shadow:0 1px 0 rgba(255,255,255,.7) inset;
}
.panel-head{ display:flex; flex-direction:column; gap:4px; margin-bottom:14px; }
.panel-head--row{ flex-direction:row; align-items:center; justify-content:space-between; gap:16px; }
.panel-title{
  font-family:var(--font-display);
  font-size:21px; font-weight:600; color:var(--navy); letter-spacing:.005em;
}
.panel-note{ font-size:11.5px; color:var(--ink-soft); }
.panel-caption{
  font-family:var(--font-display); font-size:19px; color:var(--navy);
  text-align:center; margin-top:12px;
}
.panel-actions{ display:flex; gap:8px; margin-top:12px; }

.pill{
  font-size:11.5px; font-weight:600; padding:5px 12px; border-radius:999px;
}
.pill--gold{ background:var(--gold-2); color:var(--navy); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius:10px; padding:10px 16px;
  font-size:12.5px; font-weight:600;
  border:1px solid transparent;
  transition:transform .2s ease, background .22s ease, color .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn--ghost{ background:rgba(255,255,255,.6); border-color:var(--line); color:var(--navy); }
.btn--ghost:hover{ background:#fff; border-color:rgba(13,27,52,.26); }
.btn--navy{ background:var(--navy); color:var(--cream); }
.btn--navy:hover{ background:var(--navy-2); }
.btn--coral{ background:linear-gradient(120deg,var(--coral),var(--coral-dark)); color:#fff; box-shadow:0 14px 28px -20px rgba(232,68,47,.9); }
.btn--wide{ width:100%; padding:13px 18px; font-size:13.5px; }

/* ================= STATS ================= */
.panel--stats{ padding-bottom:22px; }
.stats{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; }
.stat{
  padding:6px 18px 4px;
  border-left:1px solid var(--line);
  display:flex; flex-direction:column; gap:4px;
}
.stat:first-child{ border-left:none; padding-left:2px; }
.stat-label{ font-size:11.5px; color:var(--ink-soft); }
.stat-value{
  font-family:var(--font-display); font-size:clamp(26px,2.6vw,34px);
  font-weight:600; color:var(--navy); line-height:1; letter-spacing:-.01em;
}
.stat-unit{ font-size:.6em; }
.stat-caption{ font-size:11.5px; color:var(--ink); opacity:.78; }
.stat-stars{ color:var(--gold); font-size:12px; letter-spacing:2px; }
.stat-bar,.stat-meter{
  height:4px; border-radius:999px; background:rgba(13,27,52,.1);
  overflow:hidden; margin-top:6px;
}
.stat-bar span,.stat-meter span{ display:block; height:100%; border-radius:999px; }
.stat-bar span{ background:var(--navy); }
.stat-meter span{ background:var(--gold); }

/* ================= GRID ================= */
.studio-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.grid-col{ display:flex; flex-direction:column; gap:16px; min-width:0; }

/* ---- SITE PREVIEW ---- */
.site-shot{
  position:relative; display:block; border-radius:14px; overflow:hidden;
  border:1px solid var(--line); background:var(--cream);
}
.site-shot img{
  width:100%; height:auto; aspect-ratio:16/11; object-fit:cover;
  transition:transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.site-shot:hover img{ transform:scale(1.04); }
.site-shot-tag{
  position:absolute; top:10px; left:10px;
  background:var(--navy); color:var(--cream);
  font-size:10px; letter-spacing:.16em; text-transform:uppercase;
  padding:4px 9px; border-radius:999px;
}
.panel--site{ position:relative; }
.panel--site::after{
  content:""; display:block; height:2px; width:64px; margin-top:16px;
  background:var(--gold); border-radius:999px;
}

/* ---- ACTIVITY LISTS ---- */
.activity{ display:flex; flex-direction:column; }
.activity-row{
  display:flex; align-items:center; gap:12px;
  padding:12px 4px;
  border-bottom:1px solid var(--line);
  transition:background .2s ease, padding-left .2s ease;
}
.activity-row:last-child{ border-bottom:none; }
.activity-row:hover{ background:rgba(255,255,255,.6); padding-left:8px; border-radius:10px; }
.activity-ico{
  width:26px; height:26px; flex:0 0 26px; border-radius:9px;
  display:grid; place-items:center; font-size:12px;
}
.activity-ico--sky{ background:var(--sky); color:var(--navy); }
.activity-ico--violet{ background:rgba(122,85,196,.16); color:var(--violet); }
.activity-ico--gold{ background:rgba(201,165,88,.2); color:#8a6d24; }
.activity-ico--coral{ background:rgba(232,68,47,.14); color:var(--coral-dark); }
.activity-ico--star{ background:var(--star); color:#7a6318; }
.activity-ico--pink{ background:var(--pink); color:var(--coral-dark); }
.activity-name{ flex:1 1 auto; font-size:13px; min-width:0; }
.activity-meta{ font-size:11.5px; color:var(--ink-soft); }
.activity--stack .activity-row{
  border-bottom:none; padding:8px 4px; align-items:flex-start;
}
.activity--stack .activity-name{ line-height:1.4; }

.chip{
  font-size:10.5px; font-weight:600; padding:4px 10px; border-radius:999px;
  white-space:nowrap;
}
.chip--cream{ background:var(--cream-2); color:var(--ink-soft); border:1px solid var(--line); }
.chip--pink{ background:var(--pink); color:var(--coral-dark); }
.chip--link{ background:var(--navy); color:var(--cream); transition:background .2s ease; }
.chip--link:hover{ background:var(--coral); }

/* ---- FAQ ---- */
.faq{ display:flex; flex-direction:column; gap:12px; }
.faq-row{ padding:0 0 12px; border-bottom:1px solid var(--line); }
.faq-row:last-child{ border-bottom:none; padding-bottom:0; }
.faq-q{ font-size:13.5px; font-weight:600; color:var(--navy); }
.faq-a{ font-size:12.5px; color:var(--ink-soft); margin-top:4px; }
.faq-jump{
  display:flex; align-items:center; gap:12px;
  margin-top:14px; padding:12px 14px;
  background:var(--cream); border:1px solid var(--line); border-radius:12px;
}
.faq-jump-text{ flex:1 1 auto; font-size:12.5px; color:var(--ink-soft); }
.chev-btn{
  width:30px; height:30px; flex:0 0 30px; border-radius:50%;
  border:1px solid var(--line); background:#fff; color:var(--navy);
  display:grid; place-items:center; font-size:17px; line-height:0;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.chev-btn:hover{ background:var(--navy); color:var(--cream); transform:translateX(2px); }

/* ---- MINI LIST ---- */
.mini-list{ display:flex; flex-direction:column; }
.mini-row{
  display:flex; align-items:center; gap:12px;
  padding:12px 2px; border-bottom:1px solid var(--line);
  transition:background .2s ease, padding-left .2s ease;
}
.mini-row:last-child{ border-bottom:none; }
.mini-row:hover{ background:rgba(255,255,255,.6); padding-left:8px; border-radius:10px; }
.mini-name{ flex:1 1 auto; font-size:13px; font-weight:500; color:var(--ink); }
.mini-note{ font-size:11.5px; color:var(--ink-soft); }
.mini-val{ font-size:12.5px; font-weight:600; color:var(--navy); font-variant-numeric:tabular-nums; }
.mini-val--star{ color:var(--gold); letter-spacing:1.5px; font-size:11.5px; }

/* ---- ACTIVITY 2 + COMING SOON ---- */
.panel--activity2{
  background:linear-gradient(180deg, rgba(246,211,203,.5), rgba(255,255,255,.72));
}
.coming-soon{
  width:100%; margin-top:16px; border:none; border-radius:11px;
  padding:13px 16px;
  background:var(--violet); color:#fff;
  font-size:13px; font-weight:600; letter-spacing:.02em;
  transition:background .22s ease, transform .2s ease;
}
.coming-soon:hover{ background:var(--violet-2); transform:translateY(-1px); }

/* ================= EDITORIAL / MOODBOARD ================= */
.panel--editorial{
  background:linear-gradient(160deg, rgba(255,255,255,.8), rgba(239,233,221,.7));
}
.editorial-cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.ed-card{
  position:relative; overflow:hidden;
  border-radius:14px; border:1px solid var(--line);
  background:var(--cream);
  grid-column:span 2;
  min-height:0;
  transition:transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.ed-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.ed-card img{
  width:100%; height:100%; object-fit:cover; display:block;
  min-height:190px;
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
}
.ed-card:hover img{ transform:scale(1.05); }
.ed-body{ padding:16px 18px; }
.ed-kicker{
  font-size:10px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--ink-soft);
}
.ed-title{
  font-family:var(--font-display); font-size:clamp(26px,3vw,38px);
  font-weight:600; color:var(--navy); line-height:1.02; margin-top:6px;
}
.ed-desc{ font-size:12.5px; color:var(--ink-soft); margin-top:8px; max-width:34ch; }
.ed-script{
  font-family:var(--font-script); font-size:38px; color:var(--navy);
  line-height:1; margin-top:8px;
}
.ed-script--lg{ font-size:52px; color:var(--navy); }

.ed-card--big{ grid-column:span 2; display:flex; flex-direction:column; }
.ed-card--big img{ flex:1 1 auto; }

.ed-card--portrait{ grid-column:span 1; }
.ed-card--portrait img{ min-height:230px; }

.ed-card--menu{
  grid-column:span 1;
  background:linear-gradient(170deg,#fff,var(--cream-2));
  display:flex; align-items:center;
}
.ed-menu-list{ margin-top:10px; display:flex; flex-direction:column; gap:7px; }
.ed-menu-list li{ font-size:12.5px; color:var(--ink); }
.ed-menu-list li[data-hermes-field="title"]{ font-weight:600; color:var(--navy); }

.ed-card--green{ grid-column:span 1; }
.ed-card--green img{ min-height:170px; }
.ed-card--dark{ grid-column:span 1; background:var(--navy-2); }
.ed-card--avatar{ grid-column:span 1; }
.ed-tag{
  position:absolute; left:12px; bottom:12px;
  font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  background:var(--cream); color:var(--navy);
  padding:5px 10px; border-radius:999px;
}
.ed-tag--light{ background:var(--gold-2); }
.ed-card--coffee{ grid-column:span 1; }
.ed-card--blur{ grid-column:span 1; position:relative; }
.ed-card--blur img{ min-height:190px; }
.ed-cursor{
  position:absolute; left:44%; top:52%;
  color:#fff; filter:drop-shadow(0 3px 8px rgba(0,0,0,.4));
  animation:cursorFloat 4.6s ease-in-out infinite;
}
.ed-cursor svg{ width:24px; height:24px; }
@keyframes cursorFloat{
  0%,100%{ transform:translate(0,0); }
  45%{ transform:translate(12px,-10px); }
  70%{ transform:translate(-6px,6px); }
}

/* ================= START / CTA ================= */
.panel--start{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:26px; align-items:center;
  background:linear-gradient(120deg, var(--navy), var(--navy-2));
  border-color:rgba(201,165,88,.28);
  color:var(--cream);
  padding:28px 26px;
}
.panel--start .eyebrow{ color:var(--gold-2); }
.start-title{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(24px,2.8vw,36px); line-height:1.08; color:var(--cream);
}
.start-text{ font-size:13px; color:rgba(244,241,234,.72); margin-top:10px; max-width:44ch; }
.start-cards{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.start-card{
  display:flex; flex-direction:column; gap:8px;
  padding:16px 15px; border-radius:14px;
  background:rgba(244,241,234,.06);
  border:1px solid rgba(244,241,234,.14);
  transition:background .25s ease, transform .25s ease, border-color .25s ease;
}
.start-card:hover{
  background:rgba(201,165,88,.16);
  border-color:rgba(201,165,88,.5);
  transform:translateY(-3px);
}
.start-ico{ color:var(--gold-2); }
.start-ico svg{ width:22px; height:22px; }
.start-name{ font-size:13.5px; font-weight:600; color:var(--cream); }
.start-sub{ font-size:11.5px; color:rgba(244,241,234,.6); }

/* ================= CONTACT ================= */
.panel--contact{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:30px; align-items:start;
  padding:28px 26px;
}
.contact-title{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(26px,3vw,40px); line-height:1.06; color:var(--navy);
}
.contact-text{ font-size:13.5px; color:var(--ink-soft); margin-top:12px; max-width:46ch; }
.contact-facts{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 20px; margin-top:22px;
}
.contact-facts dt{
  font-size:10.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold); font-weight:600;
}
.contact-facts dd{ font-size:13px; color:var(--ink); margin-top:3px; }

.contact-form{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px;
}
.field{ display:flex; flex-direction:column; gap:6px; grid-column:span 2; }
.field--half{ grid-column:span 1; }
.field--full{ grid-column:span 2; }
.field label{
  font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  font-weight:600; color:var(--ink-soft);
}
.field input,.field select,.field textarea{
  font:inherit; font-size:13.5px; color:var(--ink);
  background:#fff; border:1px solid var(--line); border-radius:10px;
  padding:11px 13px; width:100%;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.field textarea{ resize:vertical; min-height:96px; }
.field input::placeholder,.field textarea::placeholder{ color:#9aa0ac; }
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(201,165,88,.22);
}
.form-note{
  grid-column:span 2; font-size:11.5px; color:var(--ink-soft); text-align:center;
}

/* ================= FOOTER ================= */
.studio-foot{
  margin-top:auto;
  padding:20px 34px 26px;
  border-top:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-size:12px; color:var(--ink-soft);
  flex-wrap:wrap;
}
.studio-foot nav{ display:flex; gap:18px; }
.studio-foot a{ transition:color .2s ease; }
.studio-foot a:hover{ color:var(--navy); }

/* ================= REVEAL ANIMATION ================= */
[data-reveal]{
  opacity:0; transform:translateY(18px);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change:opacity, transform;
}
[data-reveal].is-in{ opacity:1; transform:none; }

/* ================= SHARED OWNER CHROME HELPERS ================= */
/* .topbar-lead / .pin / .greet-strong / .rail-link--soon / .rail-soon are used
   by every owner page — they live here so the header + menu never drift. */
.topbar-lead{ min-width:0; }
.topbar-actions .pin{ font-size:11px; color:var(--ink-soft); margin-right:4px; }
.greet-strong{ font-weight:600; }

/* "coming soon" menu items (real, styled, but not yet available) */
.rail-link--soon,
.rail-link.is-soon{
  cursor:default;
  color:rgba(244,241,234,.42);
}
.rail-link--soon:hover,
.rail-link.is-soon:hover{
  background:transparent;
  color:rgba(244,241,234,.42);
}
.rail-soon{
  font-size:9px;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:600;
  padding:2px 6px;
  border-radius:999px;
  background:rgba(244,241,234,.09);
  color:rgba(244,241,234,.5);
  white-space:nowrap;
}

/* ================= BACKDROP (mobile rail) ================= */
.rail-backdrop{
  position:fixed; inset:0; background:rgba(13,27,52,.5);
  backdrop-filter:blur(2px); z-index:55;
  opacity:0; pointer-events:none; transition:opacity .3s ease;
}
.rail-backdrop.is-open{ opacity:1; pointer-events:auto; }

/* ================= RESPONSIVE ================= */
@media (max-width:1180px){
  .editorial-cards{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ed-card--big{ grid-column:span 3; }
}

@media (max-width:1080px){
  .stats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .stat:nth-child(3){ border-left:none; padding-left:2px; }
  .stat{ padding-top:10px; padding-bottom:10px; }
  .stat:nth-child(n+3){ border-top:1px solid var(--line); }
  .stat:nth-child(2){ border-top:none; }
  .panel--start{ grid-template-columns:minmax(0,1fr); }
  .panel--contact{ grid-template-columns:minmax(0,1fr); }
}

@media (max-width:960px){
  :root{ --rail-w:0px; }

  .studio-shell{ grid-template-columns:minmax(0,1fr); }

  /* below 960px the rail becomes an off-canvas drawer — but both the
     drawer toggle in the rail and the menu button in the topbar are
     always visible, so the navigation is never unreachable. */
  .rail{
    position:fixed; inset:0 auto 0 0; width:min(288px,84vw);
    transform:translateX(-102%);
    transition:transform .35s cubic-bezier(.2,.7,.2,1);
    box-shadow:0 30px 70px -30px rgba(0,0,0,.7);
    overflow-y:auto;
    z-index:70;
  }
  .rail.is-open{ transform:none; }
  .rail::after{ display:none; }
  .rail-toggle{
    display:grid; place-items:center;
    width:36px; height:36px; border-radius:10px;
    border:1px solid rgba(244,241,234,.18);
    background:rgba(244,241,234,.06);
  }
  .rail-toggle-bars{ display:grid; gap:4px; }
  .rail-toggle-bars i{
    display:block; width:16px; height:1.6px; border-radius:2px;
    background:var(--cream); transition:transform .25s ease, opacity .2s ease;
  }
  .rail.is-open .rail-toggle-bars i:nth-child(1){ transform:translateY(5.6px) rotate(45deg); }
  .rail.is-open .rail-toggle-bars i:nth-child(2){ opacity:0; }
  .rail.is-open .rail-toggle-bars i:nth-child(3){ transform:translateY(-5.6px) rotate(-45deg); }

  .nav-toggle{ display:grid; }

  .topbar{ padding:20px 20px 4px; align-items:flex-start; }
  .greet-row{ padding:16px 20px 2px; }
  .studio-main{ padding:14px 20px 34px; }
  .studio-grid{ grid-template-columns:minmax(0,1fr); }
  .studio-foot{ padding:18px 20px 24px; }

  .editorial-cards{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ed-card,
  .ed-card--portrait,
  .ed-card--menu,
  .ed-card--green,
  .ed-card--dark,
  .ed-card--avatar,
  .ed-card--coffee,
  .ed-card--blur{ grid-column:span 1; }
  .ed-card--big{ grid-column:span 2; }
}

@media (max-width:640px){
  .page-title{ font-size:clamp(26px,8vw,34px); }
  .topbar{ gap:12px; }
  .topbar-actions{ gap:7px; }
  .studio-foot nav{ flex-wrap:wrap; gap:10px 16px; }
  .rail{ width:min(300px,90vw); }
  .icon-btn,.avatar-btn{ width:34px; height:34px; }
  .quick-form{ min-width:0; flex:1 1 180px; }
  .stats{ grid-template-columns:minmax(0,1fr); }
  .stat,.stat:first-child,.stat:nth-child(3){ border-left:none; padding-left:2px; }
  .stat:nth-child(n+2){ border-top:1px solid var(--line); }
  .stat:nth-child(2){ border-top:1px solid var(--line); }
  .contact-form{ grid-template-columns:minmax(0,1fr); padding:16px; }
  .field,.field--half,.field--full,.form-note{ grid-column:span 1; }
  .start-cards{ grid-template-columns:minmax(0,1fr); }
  .editorial-cards{ grid-template-columns:minmax(0,1fr); }
  .ed-card--big{ grid-column:span 1; }
  .contact-facts{ grid-template-columns:minmax(0,1fr); }
  .panel{ padding:16px 15px 18px; border-radius:16px; }
  .panel-head--row{ flex-direction:column; align-items:flex-start; gap:10px; }
  .studio-foot{ flex-direction:column; align-items:flex-start; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  [data-reveal]{ opacity:1; transform:none; }
}
/* studio-chrome:canonical */
/* ================= DASHBOARD (this page only) =================
   .topbar-lead, .topbar-actions .pin, .greet-strong, .rail-link--soon
   and .rail-soon live in the shared stylesheet — this page is the
   canonical chrome that every other owner page follows. */

/* ---------- owner gate / shells ---------- */
.gate-wrap{
  min-height:100vh; display:grid; place-items:center; padding:40px 20px;
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(201,165,88,.22), transparent 60%),
    var(--cream-2);
}
.gate-card{
  width:min(460px,100%);
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:30px 28px 32px;
}
.gate-mark{
  width:44px; height:44px; border-radius:13px; display:grid; place-items:center;
  border:1px solid rgba(201,165,88,.55); color:var(--navy);
  background:linear-gradient(160deg, rgba(201,165,88,.22), rgba(201,165,88,0));
  font-family:var(--font-display); font-size:21px; font-weight:600;
}
.gate-title{
  font-family:var(--font-display); font-size:30px; font-weight:600;
  color:var(--navy); line-height:1.05; margin-top:16px;
}
.gate-text{ font-size:13px; color:var(--ink-soft); margin-top:10px; }

/* ---------- hero / next step ---------- */
.dash-hero{
  display:grid; grid-template-columns:minmax(0,1.18fr) auto;
  gap:22px; align-items:center;
  background:linear-gradient(120deg, var(--navy), var(--navy-2));
  border:1px solid rgba(201,165,88,.28);
  border-radius:var(--radius);
  color:var(--cream);
  padding:26px 26px 24px;
}
.dash-hero .eyebrow{ color:var(--gold-2); }
.hero-title{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(24px,2.9vw,38px); line-height:1.06; color:var(--cream);
}
.hero-text{ font-size:13px; color:rgba(244,241,234,.75); margin-top:10px; max-width:52ch; }
.hero-foot{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:16px; }
.hero-link{
  font-size:12.5px; font-weight:600; color:var(--gold-2);
  border-bottom:1px solid rgba(201,165,88,.5); padding-bottom:2px;
  transition:color .2s ease, border-color .2s ease;
}
.hero-link:hover{ color:#fff; border-color:#fff; }

.ring{
  --pct:0;
  width:132px; height:132px; flex:0 0 132px; border-radius:50%;
  display:grid; place-items:center; position:relative;
  background:conic-gradient(var(--gold) calc(var(--pct) * 1%), rgba(244,241,234,.16) 0);
  transition:background .8s ease;
}
.ring::after{
  content:""; position:absolute; inset:9px; border-radius:50%;
  background:var(--navy); border:1px solid rgba(244,241,234,.1);
}
.ring-copy{ position:relative; z-index:1; text-align:center; }
.ring-val{
  display:block; font-family:var(--font-display); font-size:34px; font-weight:600;
  color:var(--cream); line-height:1;
}
.ring-cap{
  display:block; font-size:9.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold-2); margin-top:5px;
}

/* ---------- generic runtime placeholder ---------- */
[data-studio]{ min-height:40px; }

/* ---------- site identity ---------- */
.panel--identity{
  display:grid; grid-template-columns:minmax(0,1fr) auto;
  gap:20px; align-items:center;
}
.id-note{ font-size:12px; color:var(--ink-soft); margin-top:6px; }
.id-link{
  font-size:12.5px; font-weight:600; color:var(--navy);
  border-bottom:1px solid var(--gold); padding-bottom:2px;
}
.id-link:hover{ color:var(--coral-dark); border-color:var(--coral); }

/* ---------- needs attention ---------- */
.attn-list{ display:flex; flex-direction:column; }
.attn-row{
  display:flex; align-items:center; gap:12px;
  padding:11px 4px; border-bottom:1px solid var(--line);
}
.attn-row:last-child{ border-bottom:none; }
.attn-ico{
  width:26px; height:26px; flex:0 0 26px; border-radius:9px;
  display:grid; place-items:center; font-size:12px;
  background:rgba(232,68,47,.12); color:var(--coral-dark);
}
.attn-ico--photo{ background:rgba(201,165,88,.22); color:#8a6d24; }
.attn-name{ flex:1 1 auto; font-size:13px; min-width:0; }
.attn-name small{ display:block; font-size:11px; color:var(--ink-soft); margin-top:2px; }
.attn-tag{
  font-size:10.5px; font-weight:600; padding:4px 10px; border-radius:999px;
  background:var(--pink); color:var(--coral-dark); white-space:nowrap;
}
.attn-tag--photo{ background:rgba(201,165,88,.24); color:#7a6318; }
.attn-empty{
  font-size:12.5px; color:var(--ink-soft);
  background:var(--cream); border:1px solid var(--line); border-radius:12px;
  padding:14px 16px;
}

/* ---------- content map ---------- */
.content-cards{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.c-card{
  display:flex; flex-direction:column; gap:6px;
  padding:16px 16px 15px; border-radius:14px;
  background:rgba(255,255,255,.62); border:1px solid var(--line);
  transition:transform .3s cubic-bezier(.2,.7,.2,1), border-color .25s ease, background .25s ease, box-shadow .3s ease;
}
.c-card:hover{
  transform:translateY(-3px); border-color:rgba(201,165,88,.6);
  background:#fff; box-shadow:var(--shadow);
}
.c-head{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.c-name{ font-family:var(--font-display); font-size:18px; font-weight:600; color:var(--navy); }
.c-count{
  font-size:10.5px; font-weight:600; padding:3px 9px; border-radius:999px;
  background:var(--cream-2); color:var(--ink-soft); border:1px solid var(--line);
  white-space:nowrap;
}
.c-peek{
  font-size:12.5px; color:var(--ink); line-height:1.45;
  min-height:36px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.c-bar{ height:4px; border-radius:999px; background:rgba(13,27,52,.1); overflow:hidden; margin-top:4px; }
.c-bar span{ display:block; height:100%; border-radius:999px; background:var(--gold); transition:width .7s ease; }
.c-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; }
.c-status{ font-size:11px; color:var(--coral-dark); font-weight:600; }
.c-status--ok{ color:#2f7d4f; }
.c-go{ font-size:11.5px; font-weight:600; color:var(--navy); white-space:nowrap; }
.c-card:hover .c-go{ color:var(--coral-dark); }

/* ---------- loading ---------- */
.is-loading{ opacity:.55; transition:opacity .3s ease; }

@media (max-width:1080px){
  .dash-hero{ grid-template-columns:minmax(0,1fr); }
  .ring{ justify-self:start; }
}
@media (max-width:760px){
  .content-cards{ grid-template-columns:minmax(0,1fr); }
  .panel--identity{ grid-template-columns:minmax(0,1fr); }
  .topbar-actions .pin{ display:none; }
}
