:root{
  /* Canvas */
  --bg:            #F2F0EA;
  --surface:       #FAF8F3;
  --surface-2:     #F5F2EC;
  --line:          #E6E2D8;
  --line-2:        #D5CFC1;

  /* Text */
  --ink:           #1F1B14;
  --ink-2:         #45403A;
  --ink-3:         #7A736A;

  /* Accent */
  --accent:        #2E6E44;
  --accent-hover:  #245C38;
  --accent-soft:   #E3ECE4;
  --accent-ink:    #FFFFFF;

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  /* Type */
  --display: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Layout */
  --max:    920px;
  --gutter: 22px;

  /* Shadows */
  --card-shadow: 0 1px 2px rgba(31,27,20,.03), 0 12px 32px -20px rgba(31,27,20,.10);
  --btn-shadow:  0 1px 2px rgba(31,27,20,.05), 0 6px 14px -6px rgba(46,110,68,.26);

  /* Dot pattern — soft, accent-driven */
  --dot-color:   rgba(46,110,68,.09);
  --dot-color-2: rgba(46,110,68,.045);
  --dots:
    radial-gradient(circle,
      var(--dot-color) 0.5px,
      var(--dot-color-2) 1.3px,
      transparent 2.2px);
  --dots-size: 28px 28px;
}

*,*::before,*::after{
  box-sizing:border-box;
  margin:0;
  padding:0;
  -webkit-tap-highlight-color:transparent;
}

[hidden]{ display:none !important; }

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

body{
  background-color:var(--bg);
  background-image:none;
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  font-weight:400;
  line-height:1.5;
  letter-spacing:-.011em;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  min-height:100vh;
  position:relative;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.30) 0%,
      rgba(255,255,255,0) 40%,
      rgba(31,27,20,.02) 100%);
}

img{max-width:100%;display:block;height:auto;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit;}

/* ============================================================
   BASE
   ============================================================ */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 26px;
  border-radius:999px;
  font-family:var(--sans);
  font-size:15px;
  font-weight:600;
  letter-spacing:-.01em;
  transition:background .2s ease, transform .15s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-lg{ padding:16px 34px; font-size:16px; }

.btn-primary{
  background:var(--accent);
  color:var(--accent-ink);
  box-shadow:var(--btn-shadow);
}
.btn-primary:hover{
  background:var(--accent-hover);
  box-shadow:0 2px 4px rgba(31,27,20,.06), 0 10px 20px -8px rgba(46,110,68,.34);
}
.btn-primary:active{
  transform:scale(.99);
  box-shadow:0 1px 2px rgba(31,27,20,.05), 0 3px 8px -3px rgba(46,110,68,.24);
}

.btn-quiet{
  background:var(--surface);
  color:var(--ink);
  border:1px solid var(--line);
  box-shadow:0 1px 2px rgba(31,27,20,.03);
}
.btn-quiet:hover{
  background:var(--surface-2);
  border-color:var(--line-2);
}
.btn-quiet:active{ transform:scale(.99); }

/* Ripple */
.ripple{ position:relative; overflow:hidden; }
.ripple span.rp{
  position:absolute;
  border-radius:50%;
  background:rgba(31,27,20,.08);
  transform:scale(0);
  animation:rpanim .45s cubic-bezier(.2,.8,.2,1);
  pointer-events:none;
}
@keyframes rpanim{ to{ transform:scale(2.4); opacity:0; } }

/* Reveal */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:
    opacity .7s cubic-bezier(.2,.8,.2,1),
    transform .7s cubic-bezier(.2,.8,.2,1);
  will-change:opacity, transform;
}
.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}

/* ============================================================
   LANDING
   ============================================================ */

.landing{ display:block; }

body.landing{
  background-image:var(--dots);
  background-size: var(--dots-size);
  background-position: 0 0;
  background-attachment: scroll;
}

.landing-wrap{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--gutter) 140px;
}

.hero{
  padding:110px 0 90px;
  text-align:center;
}

.hero-brand{
  font-family:var(--display);
  font-size:clamp(3.5rem, 17vw, 6rem);
  font-weight:900;
  letter-spacing:-.065em;
  line-height:.95;
  color:var(--ink);
  margin-bottom:6px;
}

.hero-credit{
  font-size:13px;
  font-weight:500;
  letter-spacing:.02em;
  color:var(--ink-3);
  margin-bottom:34px;
}

.hero-line{
  font-family:var(--display);
  font-size:clamp(1.5rem, 5.5vw, 2rem);
  font-weight:700;
  letter-spacing:-.035em;
  line-height:1.15;
  color:var(--ink);
  margin-bottom:18px;
}

.hero-sub{
  font-size:16px;
  font-weight:400;
  line-height:1.55;
  color:var(--ink-2);
  max-width:480px;
  margin:0 auto 36px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
}

.hero-alt{
  margin-top:26px;
  font-size:14px;
  color:var(--ink-3);
  text-align:center;
}
.hero-alt a{ color:var(--accent); font-weight:600; }
.hero-alt a:hover{ color:var(--accent-hover); }

.section{
  padding:52px 38px;
  margin-bottom:18px;
  background:var(--surface);
  border-radius:var(--r-xl);
  box-shadow:var(--card-shadow);
  text-align:center;
}

.section-head{
  font-family:var(--display);
  font-size:clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight:700;
  letter-spacing:-.04em;
  line-height:1.2;
  color:var(--ink);
  max-width:520px;
  margin:0 auto 26px;
}

.section-line{
  font-size:15px;
  color:var(--ink-2);
  max-width:440px;
  margin:26px auto 0;
  line-height:1.55;
}

.welcome{
  padding:58px 38px;
  margin-bottom:18px;
  background:var(--surface);
  border-radius:var(--r-xl);
  box-shadow:var(--card-shadow);
  text-align:center;
}

.welcome-head{
  font-family:var(--display);
  font-size:clamp(1.5rem, 5vw, 2rem);
  font-weight:700;
  letter-spacing:-.04em;
  line-height:1.15;
  color:var(--ink);
  max-width:560px;
  margin:0 auto 16px;
}

.welcome-copy{
  font-size:16px;
  color:var(--ink-2);
  max-width:440px;
  margin:0 auto 48px;
  line-height:1.55;
}

.welcome-strip{
  display:flex;
  justify-content:center;
  gap:44px;
  flex-wrap:wrap;
}

.welcome-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}

.welcome-num{
  font-family:var(--display);
  font-size:20px;
  font-weight:700;
  letter-spacing:-.025em;
  color:var(--ink);
}

.welcome-lbl{
  font-size:13px;
  font-weight:400;
  color:var(--ink-3);
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
}
.chip{
  padding:10px 18px;
  border-radius:999px;
  background:var(--surface-2);
  font-size:14px;
  font-weight:500;
  color:var(--ink-2);
  letter-spacing:-.005em;
}

.cols-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  text-align:left;
}
.col{
  padding:22px 22px;
  background:var(--surface-2);
  border-radius:var(--r-lg);
}
.col-head{
  font-family:var(--display);
  font-size:16px;
  font-weight:700;
  letter-spacing:-.025em;
  color:var(--ink);
  margin-bottom:12px;
}
.col-list{
  font-size:15px;
  line-height:1.9;
  color:var(--ink-2);
}

.wide-card{
  background:var(--surface-2);
  border-radius:var(--r-lg);
  padding:38px 30px;
}

.url-card{
  background:var(--surface-2);
  border-radius:var(--r-lg);
  padding:28px 24px;
  max-width:520px;
  margin:0 auto;
}
.url-tag{
  font-size:11px;
  font-weight:600;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--ink-3);
  margin-bottom:12px;
}
.url-text{
  font-size:16px;
  font-weight:600;
  color:var(--accent);
  word-break:break-all;
  line-height:1.4;
  margin-bottom:22px;
  letter-spacing:-.01em;
}

.why{
  max-width:520px;
  margin:0 auto;
  font-size:16px;
  line-height:1.65;
  color:var(--ink-2);
}

.final{
  padding:60px 38px;
  margin-top:18px;
  background:var(--surface);
  border-radius:var(--r-xl);
  box-shadow:var(--card-shadow);
  text-align:center;
}
.final-head{
  font-family:var(--display);
  font-size:clamp(1.85rem, 6vw, 2.5rem);
  font-weight:800;
  letter-spacing:-.05em;
  line-height:1.1;
  color:var(--ink);
  margin-bottom:30px;
}

.foot{
  padding:36px 0 20px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:var(--ink-3);
}
.foot-brand{
  font-family:var(--display);
  font-weight:700;
  letter-spacing:-.025em;
  color:var(--ink-2);
}
.foot-credit{ font-size:12px; }

/* ============================================================
   DOCK
   ============================================================ */

.dock-wrap{
  position:fixed;
  bottom:16px;
  left:50%;
  transform:translate(-50%, 160%);
  z-index:80;
  padding:16px 26px;
  border-radius:999px;
  background:rgba(250,248,243,.38);
  backdrop-filter:blur(30px) saturate(1.8);
  -webkit-backdrop-filter:blur(30px) saturate(1.8);
  opacity:0;
  pointer-events:none;
  transition:
    transform .45s cubic-bezier(.2,.9,.2,1),
    opacity .3s ease;
}
.dock-wrap.visible{
  transform:translate(-50%, 0);
  opacity:1;
  pointer-events:auto;
}

.dock{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  padding:6px;
  border-radius:999px;
  background:rgba(250,248,243,.85);
  backdrop-filter:blur(16px) saturate(1.6);
  -webkit-backdrop-filter:blur(16px) saturate(1.6);
  border:1px solid rgba(31,27,20,.05);
  box-shadow:0 6px 18px -10px rgba(31,27,20,.16);
}

.dock-brand{
  font-family:var(--display);
  font-size:14px;
  font-weight:800;
  letter-spacing:-.035em;
  color:var(--ink);
  padding:0 16px;
  white-space:nowrap;
}

.dock-icon{
  width:40px; height:40px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:var(--ink);
  transition:background .15s ease, transform .12s ease;
}
.dock-icon:hover{ background:rgba(31,27,20,.05); }
.dock-icon:active{ transform:scale(.94); }
.dock-icon svg{ width:18px; height:18px; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .dock-wrap{ background:rgba(250,248,243,.85); }
  .dock{ background:rgba(250,248,243,.95); }
}

/* ============================================================
   FORM PAGES
   ============================================================ */

.page-form{
  background-color:var(--bg);
  background-image:var(--dots);
  background-size: var(--dots-size);
  background-position: 0 0;
  background-attachment: scroll;
  display:block;
  padding:0;
}

.form-shell{
  width:100%;
  max-width:560px;
  margin:0 auto;
  padding:28px var(--gutter) 100px;
}

.back-pill{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(31,27,20,.05);
  color:var(--ink);
  transition:background .18s ease, transform .12s ease;
}
.back-pill:hover{ background:rgba(31,27,20,.08); }
.back-pill:active{ transform:scale(.94); }
.back-pill svg{ width:16px; height:16px; }

.form-head{
  text-align:center;
  margin:40px 0 32px;
}
.form-head-title{
  font-family:var(--display);
  font-size:clamp(1.85rem, 6.5vw, 2.4rem);
  font-weight:800;
  letter-spacing:-.05em;
  line-height:1.05;
  color:var(--ink);
  margin-bottom:10px;
}
.form-head-sub{
  font-size:15px;
  font-weight:400;
  color:var(--ink-3);
  line-height:1.5;
  max-width:400px;
  margin:0 auto;
}

.form{ display:flex; flex-direction:column; }

.type-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.type-card{
  display:flex;
  align-items:center;
  gap:16px;
  padding:20px 22px;
  background:var(--surface);
  border-radius:var(--r-lg);
  text-align:left;
  transition:background .18s ease, transform .12s ease, border-color .18s ease;
  border:2px solid transparent;
  box-shadow:var(--card-shadow);
}
.type-card:hover{ background:var(--surface-2); }
.type-card:active{ transform:scale(.995); }
.type-card.active{
  border-color:var(--accent);
  background:var(--accent-soft);
}
.type-badge{
  width:44px; height:44px;
  flex-shrink:0;
  display:grid; place-items:center;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent);
  font-family:var(--display);
  font-size:17px; font-weight:800;
  letter-spacing:-.03em;
  transition:background .18s ease, color .18s ease;
}
.type-card.active .type-badge{
  background:var(--accent);
  color:var(--accent-ink);
}
.type-info{ display:flex; flex-direction:column; gap:2px; }
.type-title{
  font-family:var(--display);
  font-size:16px; font-weight:700;
  letter-spacing:-.025em;
  color:var(--ink);
}
.type-sub{
  font-size:13.5px; font-weight:400;
  color:var(--ink-3);
  line-height:1.4;
}

.form-fields{
  display:flex;
  flex-direction:column;
  gap:22px;
  margin-top:32px;
  padding:32px 26px;
  background:var(--surface);
  border-radius:var(--r-xl);
  box-shadow:var(--card-shadow);
}
.form-group{ display:flex; flex-direction:column; gap:8px; }
.form-label{
  font-size:14px; font-weight:600;
  letter-spacing:-.01em;
  color:var(--ink);
}
.form-input{
  width:100%;
  padding:14px 16px;
  border-radius:var(--r-md);
  border:1px solid var(--line);
  background:var(--surface-2);
  font-family:var(--sans);
  font-size:16px;
  font-weight:400;
  color:var(--ink);
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
  -webkit-appearance:none;
}
.form-input:focus{
  background:var(--surface);
  border-color:var(--accent);
  box-shadow:0 0 0 4px var(--accent-soft);
}
.form-input::placeholder{ color:#A29B8E; }

.form-help{
  font-size:13px;
  font-weight:400;
  color:var(--ink-3);
  line-height:1.45;
}

.link-preview{
  display:flex;
  align-items:center;
  padding:14px 16px;
  background:var(--surface-2);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  font-size:15px;
  overflow:hidden;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.link-preview:focus-within{
  background:var(--surface);
  border-color:var(--accent);
  box-shadow:0 0 0 4px var(--accent-soft);
}
.link-prefix{
  color:var(--ink-3);
  font-weight:500;
  flex-shrink:0;
}
.link-input{
  flex:1;
  min-width:0;
  border:0;
  outline:none;
  background:transparent;
  font-family:var(--sans);
  font-size:15px;
  font-weight:700;
  color:var(--accent);
  letter-spacing:-.01em;
  padding:0;
}
.link-input:focus{ box-shadow:none; }

.role-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.role-chip{
  padding:8px 14px;
  border-radius:999px;
  background:var(--surface-2);
  font-size:13.5px;
  font-weight:500;
  color:var(--ink-2);
  letter-spacing:-.005em;
  transition:background .15s ease, color .15s ease, transform .12s ease;
}
.role-chip:hover{
  background:var(--accent-soft);
  color:var(--accent);
}
.role-chip:active{ transform:scale(.97); }

.color-grid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:12px;
  margin-top:4px;
}
.color-dot{
  width:100%;
  aspect-ratio:1 / 1;
  border-radius:50%;
  border:3px solid transparent;
  padding:0;
  transition:transform .15s ease, border-color .15s ease;
  box-shadow:inset 0 0 0 1px rgba(31,27,20,.08);
}
.color-dot:hover{ transform:scale(1.08); }
.color-dot.active{
  border-color:var(--ink);
  transform:scale(1.1);
}

.form-message{
  padding:14px 16px;
  border-radius:var(--r-md);
  font-size:14px;
  font-weight:500;
  line-height:1.45;
  margin-top:6px;
}
.form-message.error{
  background:#F5E2D9;
  color:#8B3217;
}
.form-message.success{
  background:var(--accent-soft);
  color:var(--accent);
}

.form-submit{
  margin-top:10px;
  padding:16px 24px;
  border-radius:999px;
  background:var(--accent);
  color:var(--accent-ink);
  font-family:var(--sans);
  font-size:16px;
  font-weight:600;
  letter-spacing:-.01em;
  transition:background .2s ease, transform .12s ease, box-shadow .2s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:var(--btn-shadow);
}
.form-submit:hover{
  background:var(--accent-hover);
  box-shadow:0 2px 4px rgba(31,27,20,.06), 0 10px 20px -8px rgba(46,110,68,.34);
}
.form-submit:active{ transform:scale(.99); }
.form-submit:disabled{ opacity:.85; cursor:wait; }

.spinner{
  width:16px; height:16px;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  border-radius:50%;
  animation:spin .8s linear infinite;
  display:inline-block;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

.form-alt{
  text-align:center;
  font-size:14px;
  color:var(--ink-3);
  margin-top:18px;
}
.form-alt a{ color:var(--accent); font-weight:600; }

/* ============================================================
   OCCUPATION SUGGESTION
   ============================================================ */

.occ-slot{ margin-top:12px; }

.occ-block{
  background:var(--surface-2);
  border-radius:var(--r-lg);
  padding:20px 22px;
}
.occ-title{
  font-family:var(--display);
  font-size:17px;
  font-weight:700;
  letter-spacing:-.03em;
  color:var(--ink);
  margin-bottom:6px;
  line-height:1.25;
}
.occ-tagline{
  font-size:14.5px;
  font-weight:500;
  color:var(--ink-2);
  margin-bottom:6px;
  line-height:1.5;
}
.occ-about{
  font-size:13.5px;
  font-weight:400;
  color:var(--ink-3);
  margin-bottom:14px;
  line-height:1.55;
}
.occ-label{
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--ink-3);
  margin-bottom:8px;
}
.occ-services{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:16px;
}
.occ-services li{
  font-size:13.5px;
  color:var(--ink-2);
  line-height:1.5;
  padding-left:14px;
  position:relative;
}
.occ-services li::before{
  content:"";
  position:absolute;
  left:0; top:8px;
  width:5px; height:5px;
  border-radius:50%;
  background:var(--accent);
}
.occ-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.occ-use{
  padding:10px 18px;
  border-radius:999px;
  background:var(--accent);
  color:var(--accent-ink);
  font-size:13.5px;
  font-weight:600;
  letter-spacing:-.01em;
  transition:background .18s ease, transform .12s ease;
}
.occ-use:hover{ background:var(--accent-hover); }
.occ-use:active{ transform:scale(.98); }
.occ-skip{
  padding:10px 18px;
  border-radius:999px;
  background:transparent;
  border:1px solid var(--line-2);
  color:var(--ink-2);
  font-size:13.5px;
  font-weight:500;
  transition:border-color .18s ease, color .18s ease;
}
.occ-skip:hover{ border-color:var(--ink); color:var(--ink); }
.occ-none{
  font-size:13.5px;
  color:var(--ink-3);
  padding:12px 4px 0;
}

/* ============================================================
   APP HEADER
   ============================================================ */

.app-header{
  position:sticky;
  top:0;
  z-index:70;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px var(--gutter);
  background:rgba(242,240,234,.85);
  backdrop-filter:blur(18px) saturate(1.6);
  -webkit-backdrop-filter:blur(18px) saturate(1.6);
  border-bottom:1px solid var(--line);
}
.app-brand{
  font-family:var(--display);
  font-size:18px;
  font-weight:800;
  letter-spacing:-.04em;
  color:var(--ink);
}
.app-menu-btn{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(31,27,20,.05);
  color:var(--ink);
  transition:background .18s ease, transform .12s ease;
}
.app-menu-btn:hover{ background:rgba(31,27,20,.08); }
.app-menu-btn:active{ transform:scale(.94); }
.app-menu-btn svg{ width:18px; height:18px; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .app-header{ background:rgba(242,240,234,.96); }
}

/* ============================================================
   MENU SHEET
   ============================================================ */

.menu-sheet{
  position:fixed;
  inset:0;
  z-index:90;
}
.menu-backdrop{
  position:absolute;
  inset:0;
  background:rgba(31,27,20,.18);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  opacity:0;
  transition:opacity .25s ease;
}
.menu-sheet.open .menu-backdrop{ opacity:1; }

.menu-panel{
  position:absolute;
  top:64px;
  left:14px;
  right:14px;
  background:var(--surface);
  border-radius:var(--r-lg);
  padding:8px;
  box-shadow:0 24px 60px -20px rgba(31,27,20,.28);
  transform:translateY(-8px);
  opacity:0;
  transition:transform .25s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
  display:flex;
  flex-direction:column;
}
.menu-sheet.open .menu-panel{ transform:translateY(0); opacity:1; }

@media (min-width:520px){
  .menu-panel{
    left:auto;
    right:24px;
    width:300px;
  }
}

.menu-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border-radius:var(--r-md);
  font-family:var(--sans);
  font-size:15px;
  font-weight:500;
  color:var(--ink);
  text-decoration:none;
  transition:background .15s ease;
}
.menu-item:hover{ background:rgba(31,27,20,.05); }
.menu-item svg{ width:20px; height:20px; color:var(--ink-3); flex-shrink:0; }
.menu-item-quiet{
  margin-top:6px;
  border-top:1px solid var(--line);
  border-radius:0 0 var(--r-md) var(--r-md);
  color:var(--ink-2);
}
.menu-item-quiet:hover{ background:#F5E2D9; color:#8B3217; }
.menu-item-quiet:hover svg{ color:#8B3217; }

/* ============================================================
   DASHBOARD
   ============================================================ */

.form-section{
  font-family:var(--display);
  font-size:12px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--ink-3);
  margin-top:32px;
  margin-bottom:6px;
}
.form-section:first-of-type{ margin-top:0; }

.link-box{
  background:var(--surface);
  border-radius:var(--r-lg);
  padding:22px 24px;
  margin:36px 0 8px;
  box-shadow:var(--card-shadow);
}
.link-box-tag{
  font-size:11px;
  font-weight:600;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--ink-3);
  margin-bottom:10px;
}
.link-box-url{
  font-size:14px;
  font-weight:600;
  color:var(--accent);
  word-break:break-all;
  margin-bottom:18px;
  line-height:1.45;
  letter-spacing:-.01em;
}
.link-box-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.link-action{
  padding:10px 18px;
  border-radius:999px;
  background:transparent;
  font-family:var(--sans);
  font-size:13.5px;
  font-weight:600;
  color:var(--ink);
  border:1px solid var(--line-2);
  text-decoration:none;
  transition:background .15s ease, border-color .15s ease;
}
.link-action:hover{ border-color:var(--ink); }
.link-action-primary{
  background:var(--accent);
  color:var(--accent-ink);
  border-color:var(--accent);
  box-shadow:var(--btn-shadow);
}
.link-action-primary:hover{
  background:var(--accent-hover);
  border-color:var(--accent-hover);
}

.option-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.option-btn{
  padding:10px 18px;
  border-radius:999px;
  background:var(--surface-2);
  border:1.5px solid var(--line);
  font-family:var(--sans);
  font-size:13.5px;
  font-weight:600;
  color:var(--ink-2);
  letter-spacing:-.005em;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.option-btn:hover{ border-color:var(--line-2); }
.option-btn.active{
  background:var(--accent);
  color:var(--accent-ink);
  border-color:var(--accent);
}

/* ============================================================
   PHOTOS SECTION
   ============================================================ */

.photo-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:8px;
  margin-bottom:10px;
}

.photo-cell{
  position:relative;
  aspect-ratio:1 / 1;
  border-radius:14px;
  overflow:hidden;
  background:var(--surface-2);
}

.photo-cell img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.photo-btn{
  position:absolute;
  width:26px;
  height:26px;
  border-radius:50%;
  background:rgba(31,27,20,.62);
  color:#fff;
  font-size:12px;
  font-weight:700;
  display:grid;
  place-items:center;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  transition:background .15s ease, transform .12s ease;
}
.photo-btn:active{ transform:scale(.92); }
.photo-btn:disabled{ opacity:.35; }

.photo-up{ top:6px; left:6px; }
.photo-down{ top:6px; left:38px; }
.photo-remove{
  top:6px; right:6px;
  background:rgba(139,50,23,.75);
}

.photo-add-tile{
  display:grid;
  place-items:center;
  background:var(--surface-2);
  border:1.5px dashed var(--line-2);
  color:var(--ink-3);
  font-size:22px;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.photo-add-tile:hover{
  background:var(--surface);
  border-color:var(--accent);
  color:var(--accent);
}

.photo-add-empty{
  grid-column:1 / -1;
  aspect-ratio:auto;
  min-height:120px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
}

.photo-add-plus{
  font-size:28px;
  line-height:1;
  font-weight:300;
  color:var(--accent);
}

.photo-add-label{
  font-size:13px;
  font-weight:500;
  color:var(--ink-2);
}

/* ============================================================
   PATTERN PICKER
   ============================================================ */

.pattern-row{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:8px;
  margin-top:4px;
}

.pattern-btn{
  position:relative;
  padding:32px 6px 10px;
  border-radius:var(--r-md);
  border:1.5px solid var(--line);
  background:var(--bg);
  color:var(--ink-3);
  font-family:var(--sans);
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.02em;
  text-align:center;
  transition:border-color .15s ease, color .15s ease, background .15s ease;
  overflow:hidden;
}
.pattern-btn.active{
  border-color:var(--accent);
  color:var(--accent);
  background:var(--accent-soft);
}
.pattern-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background-size: 8px 8px;
  background-position: 0 0;
  opacity:.9;
  pointer-events:none;
}
.pattern-preview-none::before{ background-image:none; }
.pattern-preview-dots::before{
  background-image:
    radial-gradient(circle, rgba(46,110,68,.5) .8px, transparent 1.1px),
    radial-gradient(circle, rgba(140,110,70,.55) .7px, transparent 1px);
  background-size: 8px 8px, 8px 8px;
  background-position: 0 0, 4px 4px;
}
.pattern-preview-grid::before{
  background-image:
    linear-gradient(rgba(46,110,68,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,110,68,.28) 1px, transparent 1px);
  background-size: 8px 8px, 8px 8px;
}
.pattern-preview-diagonal::before{
  background-image:
    repeating-linear-gradient(45deg,
      rgba(46,110,68,0) 0px,
      rgba(46,110,68,0) 5px,
      rgba(46,110,68,.35) 5px,
      rgba(46,110,68,.35) 6px);
}
.pattern-preview-waves::before{
  background-image:
    repeating-linear-gradient(90deg,
      rgba(46,110,68,0) 0px,
      rgba(46,110,68,0) 8px,
      rgba(46,110,68,.3) 8px,
      rgba(46,110,68,.3) 9px);
}
.pattern-preview-plus::before{
  background-image:
    radial-gradient(circle, rgba(46,110,68,.35) .6px, transparent .8px),
    linear-gradient(rgba(46,110,68,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,110,68,.25) 1px, transparent 1px);
  background-size: 8px 8px, 8px 8px, 8px 8px;
  background-position: 0 0, 0 3px, 3px 0;
}
.pattern-preview-rings::before{
  background-image:
    radial-gradient(circle, transparent 2px, rgba(46,110,68,.3) 2px, rgba(46,110,68,.3) 3px, transparent 3.5px);
  background-size: 10px 10px;
}

/* ============================================================
   PUBLIC DESK — pattern lives on the content band only
   ============================================================ */

.page-desk{
  background-color:var(--bg);
  background-image:none;
  min-height:100vh;
  padding:0;
}

/* Topbar — no pattern */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 22px;
  border-bottom:1px solid var(--line);
  background:var(--bg);
}
.topbar-initials{
  font-family:var(--display);
  font-size:13px;
  font-weight:800;
  letter-spacing:-.02em;
  color:var(--ink);
}
.topbar-credit{
  font-size:12px;
  font-weight:500;
  color:var(--ink-3);
}

/* Brand band — no pattern, sits above content band */
.brand-band{
  background:var(--band-tint, rgba(46,110,68,.06));
  border-bottom:1px solid var(--band-edge, rgba(46,110,68,.12));
  padding:80px 22px 72px;
  position:relative;
  z-index:2;
}
.brand-band-inner{
  max-width:640px;
  margin:0 auto;
  text-align:center;
}
.desk-mark{
  width:60px;
  height:60px;
  margin:0 auto 18px;
  border-radius:50%;
  background:transparent;
  color:var(--accent, #2E6E44);
  border:2px solid var(--accent, #2E6E44);
  display:grid;
  place-items:center;
  font-family:var(--display);
  font-size:22px;
  font-weight:800;
  letter-spacing:-.04em;
}
.desk-name{
  font-family:var(--display);
  font-size:clamp(1.9rem, 7.5vw, 2.6rem);
  font-weight:800;
  letter-spacing:-.055em;
  line-height:1.05;
  color:var(--ink);
  margin-bottom:6px;
}
.desk-role{
  font-family:var(--display);
  font-size:clamp(.95rem, 3.2vw, 1.15rem);
  font-weight:600;
  letter-spacing:-.02em;
  line-height:1.25;
  color:var(--accent, #2E6E44);
  margin-bottom:14px;
}
.desk-tagline{
  font-size:15px;
  font-weight:400;
  letter-spacing:-.005em;
  line-height:1.55;
  color:var(--ink-2);
  max-width:520px;
  margin:0 auto;
}

/* Content band — carries the pattern as a background layer.
   The cards sit on top, hiding the pattern behind them. */
.content-band{
  max-width:640px;
  margin:0 auto;
  padding:8px 22px 24px;
  background-image:var(--dots);
  background-size: var(--dots-size);
  background-position: 0 0;
  background-attachment: scroll;
}

/* Blocks are soft cards on top of the pattern */
.desk-block{
  padding:36px 28px;
  margin:24px 0;
  background:var(--surface);
  border-radius:var(--r-xl);
  box-shadow:var(--card-shadow);
  border-top:0;
}
.desk-block:first-child{ margin-top:16px; }
.desk-block:last-child{ margin-bottom:0; }

.desk-block-title{
  font-family:var(--display);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink-3);
  margin-bottom:20px;
}

/* Contact stays plain, no card */
.desk-block#contactBlock{
  background:transparent;
  box-shadow:none;
  padding:24px 0;
  margin:24px 0 0;
}

.desk-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.desk-list li{
  font-size:16px;
  font-weight:500;
  color:var(--ink-2);
  line-height:1.55;
  padding-left:20px;
  position:relative;
  letter-spacing:-.005em;
}
.desk-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent, #2E6E44);
}

.desk-copy{
  font-size:16px;
  font-weight:400;
  color:var(--ink-2);
  line-height:1.7;
  white-space:pre-line;
  letter-spacing:-.005em;
}

.desk-details{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.desk-detail{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.desk-detail-label{
  font-family:var(--display);
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ink-3);
}
.desk-detail-value{
  font-size:15.5px;
  font-weight:500;
  color:var(--ink-2);
  line-height:1.55;
  letter-spacing:-.005em;
}

.desk-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:420px;
}
.desk-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px 24px;
  border-radius:999px;
  font-size:15px;
  font-weight:600;
  letter-spacing:-.01em;
  text-decoration:none;
  transition:background .2s ease, transform .12s ease, color .2s ease, box-shadow .2s ease;
}
.desk-btn-primary{
  background:var(--accent, #2E6E44);
  color:var(--accent-ink, #FFFFFF);
  box-shadow:var(--btn-shadow);
}
.desk-btn-primary:hover{ background:var(--accent-hover, #245C38); }
.desk-btn-primary:active{ transform:scale(.99); }

.desk-btn-secondary{
  background:var(--surface);
  color:var(--ink);
  border:1px solid var(--line);
}
.desk-btn-secondary:hover{
  background:var(--surface-2);
  border-color:var(--line-2);
}

.desk-footer{
  max-width:640px;
  margin:0 auto;
  padding:52px 22px 40px;
  text-align:center;
  font-size:12.5px;
  font-weight:500;
  color:var(--ink-3);
  letter-spacing:-.005em;
}

.desk-missing{
  max-width:440px;
  margin:100px auto;
  text-align:center;
  padding:0 20px;
}
.desk-missing h1{
  font-family:var(--display);
  font-size:1.85rem;
  font-weight:800;
  letter-spacing:-.045em;
  color:var(--ink);
  margin-bottom:10px;
}
.desk-missing p{
  font-size:15px;
  color:var(--ink-3);
  margin-bottom:26px;
}

body.sharp .desk-mark{ border-radius:8px; }
body.sharp .desk-btn{ border-radius:8px; }
body.sharp .work-cell{ border-radius:8px; }
body.sharp .desk-block{ border-radius:8px; }
body.sharp .desk-list li::before{ border-radius:2px; }

body.compact .brand-band{ padding:60px 22px 52px; }
body.compact .desk-block{ padding:28px 22px; margin:18px 0; }

/* ============================================================
   WORK — four photo layouts
   ============================================================ */

.desk-work{
  display:grid;
  gap:10px;
}
.work-cell{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  background:var(--surface-2);
  border:0;
  padding:0;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease;
}
.work-cell:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px -12px rgba(31,27,20,.22);
}
.work-cell img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.work-grid{
  grid-template-columns:repeat(2, 1fr);
}
.work-grid .work-cell{ aspect-ratio:1 / 1; }

.work-bigfirst{
  grid-template-columns:repeat(3, 1fr);
}
.work-bigfirst .work-cell:nth-child(1){
  grid-column:1 / -1;
  aspect-ratio:4 / 3;
}
.work-bigfirst .work-cell:not(:nth-child(1)){
  aspect-ratio:1 / 1;
}

.work-slide{
  display:flex;
  gap:12px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding-bottom:8px;
  margin:0 -28px;
  padding-left:28px;
  padding-right:28px;
}
.work-slide::-webkit-scrollbar{ display:none; }
.work-slide .work-cell{
  flex:0 0 auto;
  width:min(220px, 66vw);
  aspect-ratio:3 / 4;
  scroll-snap-align:start;
}

.work-mosaic{
  grid-template-columns:repeat(3, 1fr);
  grid-auto-rows:100px;
}
.work-mosaic .work-cell:nth-child(6n + 1){
  grid-column:span 2;
  grid-row:span 2;
}
.work-mosaic .work-cell:nth-child(6n + 2){
  grid-column:span 1;
  grid-row:span 2;
}
.work-mosaic .work-cell:nth-child(6n + 3),
.work-mosaic .work-cell:nth-child(6n + 4){
  grid-column:span 1;
  grid-row:span 1;
}
.work-mosaic .work-cell:nth-child(6n + 5),
.work-mosaic .work-cell:nth-child(6n + 6){
  grid-column:span 1;
  grid-row:span 2;
}

/* ============================================================
   FULLSCREEN VIEWER
   ============================================================ */

.photo-full{
  position:fixed;
  inset:0;
  z-index:120;
  background:rgba(15,12,8,.94);
  display:grid;
  place-items:center;
  padding:20px;
  animation:fadeIn .2s ease;
}
@keyframes fadeIn{ from{opacity:0;} to{opacity:1;} }

.photo-full img{
  max-width:100%;
  max-height:100%;
  border-radius:12px;
  object-fit:contain;
}

.photo-full-close{
  position:absolute;
  top:20px;
  right:20px;
  width:44px;
  height:44px;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:16px;
  display:grid;
  place-items:center;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  transition:background .2s ease;
}
.photo-full-close:hover{ background:rgba(255,255,255,.22); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:8px;
}
.how-item{
  display:grid;
  grid-template-columns:36px 1fr;
  gap:18px;
  align-items:flex-start;
  padding:22px 24px;
  background:var(--surface);
  border-radius:var(--r-lg);
  box-shadow:var(--card-shadow);
}
.how-num{
  width:36px; height:36px;
  display:grid; place-items:center;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:14px;
  font-weight:700;
}
.how-title{
  font-family:var(--display);
  font-size:16px;
  font-weight:700;
  letter-spacing:-.025em;
  color:var(--ink);
  margin-bottom:6px;
}
.how-text{
  font-size:14.5px;
  font-weight:400;
  color:var(--ink-2);
  line-height:1.6;
}

/* ============================================================
   DESK PATTERNS — applied only when the user picks one.
   They sit behind the content cards, on the content band.
   ============================================================ */

body.pattern-dots .content-band{
  background-image:
    radial-gradient(circle,
      rgba(46,110,68,.11) 0.5px,
      rgba(46,110,68,.05) 1.3px,
      transparent 2.2px) !important;
  background-size: 28px 28px !important;
  background-position: 0 0 !important;
}
body.pattern-grid .content-band{
  background-image:
    linear-gradient(rgba(46,110,68,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,110,68,.10) 1px, transparent 1px) !important;
  background-size: 26px 26px, 26px 26px !important;
  background-position: 0 0, 0 0 !important;
}
body.pattern-diagonal .content-band{
  background-image:
    repeating-linear-gradient(45deg,
      rgba(46,110,68,0) 0px,
      rgba(46,110,68,0) 16px,
      rgba(46,110,68,.11) 16px,
      rgba(46,110,68,.11) 17px) !important;
  background-size:auto !important;
}
body.pattern-waves .content-band{
  background-image:
    repeating-linear-gradient(90deg,
      rgba(46,110,68,0) 0px,
      rgba(46,110,68,0) 22px,
      rgba(46,110,68,.12) 22px,
      rgba(46,110,68,.12) 23px) !important;
  background-size:auto !important;
}
body.pattern-plus .content-band{
  background-image:
    linear-gradient(rgba(46,110,68,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,110,68,.08) 1px, transparent 1px) !important;
  background-size: 26px 26px, 26px 26px !important;
  background-position: 0 0, 0 0 !important;
}
body.pattern-rings .content-band{
  background-image:
    radial-gradient(circle,
      transparent 3px,
      rgba(46,110,68,.10) 3px,
      rgba(46,110,68,.10) 4px,
      transparent 4.5px) !important;
  background-size: 32px 32px !important;
  background-position: 0 0 !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width:760px){
  .work-grid{ grid-template-columns:repeat(3, 1fr); }
}

@media (max-width:760px){
  :root{ --gutter:16px; }

  .hero{ padding:80px 0 64px; text-align:center; }
  .hero-credit{ margin-bottom:40px; }

  .section{ padding:38px 26px; }
  .welcome{ padding:42px 26px; }
  .final{ padding:50px 26px; }

  .cols-3{ grid-template-columns:1fr; gap:10px; }

  .welcome-strip{ gap:32px; }
  .wide-card{ padding:32px 22px; }
  .url-card{ padding:24px 20px; }
  .form-fields{ padding:26px 22px; }

  .pattern-row{ grid-template-columns:repeat(3, 1fr); }
}

@media (max-width:520px){
  .dock-wrap{
    bottom:12px;
    padding:12px 18px;
  }
  .dock-brand{ padding:0 12px; font-size:13px; }
  .dock-icon{ width:38px; height:38px; }

  .topbar{ padding:12px 18px; }
  .brand-band{ padding:64px 18px 56px; }
  .desk-mark{ width:54px; height:54px; font-size:20px; margin-bottom:16px; }
  .content-band{ padding:8px 18px 20px; }
  .desk-block{ padding:28px 22px; margin:18px 0; }
  .desk-copy{ font-size:15.5px; }
  .desk-list li{ font-size:15px; }
  .desk-detail-value{ font-size:15px; }
  .work-mosaic{ grid-auto-rows:88px; }
  .work-slide{ margin:0 -22px; padding-left:22px; padding-right:22px; }
  .desk-footer{ padding:44px 18px 32px; }

  .pattern-row{ grid-template-columns:repeat(3, 1fr); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity:1;
    transform:none;
    transition:none;
  }
}
/* ============================================================
   DASHBOARD (view page)
   ============================================================ */

/* Dashboard is a form page but carries no dots */
.page-form.signed-in{
  background-image:none;
}

.form-shell{
  padding-top:36px;
}

/* Welcome strip */
.dash-welcome{
  margin-bottom:24px;
}
.dash-greet{
  font-size:14px;
  font-weight:500;
  color:var(--ink-3);
  margin-bottom:6px;
  letter-spacing:-.005em;
}
.dash-headline{
  font-family:var(--display);
  font-size:clamp(1.9rem, 7vw, 2.4rem);
  font-weight:800;
  letter-spacing:-.05em;
  line-height:1.05;
  color:var(--ink);
}

/* Link box — slight restyle */
.link-box{
  margin:0 0 16px;
}

/* Edit button */
.dash-edit{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 22px;
  border-radius:999px;
  background:var(--accent);
  color:var(--accent-ink);
  font-family:var(--sans);
  font-size:15px;
  font-weight:600;
  letter-spacing:-.01em;
  text-decoration:none;
  box-shadow:var(--btn-shadow);
  transition:background .2s ease, transform .12s ease, box-shadow .2s ease;
  margin-bottom:28px;
}
.dash-edit:hover{ background:var(--accent-hover); }
.dash-edit:active{ transform:scale(.99); }
.dash-edit svg{
  width:18px;
  height:18px;
  flex-shrink:0;
}

/* Sections */
.dash-section{
  padding:28px 24px;
  margin-bottom:14px;
  background:var(--surface);
  border-radius:var(--r-xl);
  box-shadow:var(--card-shadow);
}
.dash-section-title{
  font-family:var(--display);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink-3);
  margin-bottom:18px;
}

/* Rows — label + value */
.dash-row{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:14px 0;
  border-top:1px solid var(--line);
}
.dash-row:first-of-type{
  border-top:0;
  padding-top:0;
}
.dash-row:last-of-type{
  padding-bottom:0;
}
.dash-label{
  font-family:var(--display);
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ink-3);
}
.dash-value{
  font-size:16px;
  font-weight:500;
  color:var(--ink-2);
  line-height:1.55;
  letter-spacing:-.005em;
}

/* Lists inside sections */
.dash-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.dash-list li{
  font-size:15.5px;
  font-weight:500;
  color:var(--ink-2);
  line-height:1.55;
  padding-left:16px;
  position:relative;
}
.dash-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
}

/* Copy inside about */
.dash-copy{
  font-size:15.5px;
  font-weight:400;
  color:var(--ink-2);
  line-height:1.7;
  white-space:pre-line;
}

/* Photos preview */
.dash-photos{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:8px;
}
.dash-photo{
  position:relative;
  aspect-ratio:1 / 1;
  border-radius:14px;
  overflow:hidden;
  background:var(--surface-2);
}
.dash-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Skeleton loader */
.dash-loading{
  padding:36px 22px 60px;
  max-width:560px;
  margin:0 auto;
}
.skeleton{
  background:linear-gradient(90deg,
    rgba(31,27,20,.05) 0%,
    rgba(31,27,20,.09) 50%,
    rgba(31,27,20,.05) 100%);
  background-size: 200% 100%;
  animation: skelAnim 1.4s linear infinite;
  border-radius:12px;
  margin-bottom:14px;
}
@keyframes skelAnim{
  0%   { background-position:200% 0; }
  100% { background-position:-200% 0; }
}
.skeleton-title{
  height:32px;
  width:60%;
  border-radius:8px;
}
.skeleton-line{
  height:14px;
  width:100%;
}
.skeleton-line.short{
  width:70%;
}
.skeleton-block{
  height:80px;
  border-radius:18px;
  margin-top:8px;
}

/* Show the sections with the reveal animation */
.reveal{
  opacity:0;
  transform:translateY(14px);
  transition:
    opacity .6s cubic-bezier(.2,.8,.2,1),
    transform .6s cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}
/* ============================================================
   SETTINGS PAGE
   ============================================================ */

.settings-head{
  display:grid;
  grid-template-columns:40px 1fr auto;
  gap:12px;
  align-items:center;
  margin:24px 0 32px;
}

.settings-title{
  font-family:var(--display);
  font-size:clamp(1.5rem, 5.5vw, 1.9rem);
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1.05;
  color:var(--ink);
  text-align:center;
}

.preview-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:9px 16px;
  border-radius:999px;
  background:var(--surface);
  border:1px solid var(--line-2);
  font-family:var(--sans);
  font-size:13px;
  font-weight:600;
  color:var(--ink);
  transition:background .15s ease, border-color .15s ease;
}
.preview-btn:hover{ border-color:var(--ink); }
.preview-btn svg{ width:16px; height:16px; }
.preview-btn span{ display:none; }
@media (min-width:520px){
  .preview-btn span{ display:inline; }
}

/* ============================================================
   PREVIEW MODAL
   ============================================================ */

.preview-modal{
  position:fixed;
  inset:0;
  z-index:130;
}
.preview-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,12,8,.72);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  animation:fadeIn .2s ease;
}
.preview-sheet{
  position:absolute;
  inset:20px;
  max-width:420px;
  margin:auto;
  background:var(--surface);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 30px 60px -20px rgba(15,12,8,.4);
  display:flex;
  flex-direction:column;
  animation:slideUp .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes slideUp{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}

.preview-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  border-bottom:1px solid var(--line);
}
.preview-topbar-label{
  font-family:var(--display);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink-3);
}
.preview-close{
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--surface-2);
  display:grid;
  place-items:center;
  font-size:14px;
  color:var(--ink);
  transition:background .15s ease;
}
.preview-close:hover{ background:var(--line); }

.preview-body{
  flex:1;
  overflow-y:auto;
  background:var(--bg);
  font-family:var(--pv-body, 'Inter', system-ui, sans-serif);
}

.preview-band{
  padding:40px 22px 32px;
  text-align:center;
  border-bottom:1px solid var(--line);
}
.preview-mark{
  width:52px;
  height:52px;
  margin:0 auto 14px;
  border-radius:50%;
  border:2px solid currentColor;
  display:grid;
  place-items:center;
  font-family:var(--pv-display, 'Inter', system-ui, sans-serif);
  font-size:18px;
  font-weight:800;
  letter-spacing:-.04em;
}
.preview-name{
  font-family:var(--pv-display, 'Inter', system-ui, sans-serif);
  font-size:clamp(1.5rem, 6vw, 2rem);
  font-weight:800;
  letter-spacing:-.05em;
  line-height:1.05;
  color:var(--ink);
  margin-bottom:6px;
}
.preview-role{
  font-family:var(--pv-display, 'Inter', system-ui, sans-serif);
  font-size:15px;
  font-weight:600;
  letter-spacing:-.02em;
  margin-bottom:12px;
}
.preview-tagline{
  font-size:14px;
  font-weight:400;
  letter-spacing:-.005em;
  line-height:1.55;
  color:var(--ink-2);
  max-width:320px;
  margin:0 auto;
}

.preview-content{
  padding:20px 22px 24px;
}
.preview-block{
  background:var(--surface);
  border-radius:18px;
  padding:20px 22px;
  margin-bottom:12px;
  box-shadow:0 1px 2px rgba(31,27,20,.03), 0 12px 32px -20px rgba(31,27,20,.10);
}
.preview-block:last-child{ margin-bottom:0; }
.preview-block-title{
  font-family:var(--pv-display, 'Inter', system-ui, sans-serif);
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink-3);
  margin-bottom:14px;
}
.preview-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.preview-list li{
  font-size:14px;
  font-weight:500;
  color:var(--ink-2);
  line-height:1.5;
  padding-left:16px;
  position:relative;
}
.preview-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:7px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
  color:var(--accent);
}
.preview-copy{
  font-size:14px;
  color:var(--ink-2);
  line-height:1.65;
  white-space:pre-line;
}
.preview-btn-primary{
  padding:12px 18px;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-size:13px;
  font-weight:600;
  text-align:center;
  margin-bottom:8px;
}
.preview-btn-secondary{
  padding:12px 18px;
  border-radius:999px;
  background:transparent;
  border:1px solid var(--line-2);
  color:var(--ink);
  font-size:13px;
  font-weight:600;
  text-align:center;
}