:root {
  --white: #fcfbf7;
  --bone: #f5f1e4;
  --stone: #3c3a33;
  --muted: #7c7462;
  --gold: #c7a048;
  --gold-soft: #e7cf94;
  font-family: 'Prompt', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--white), var(--bone));
  color: var(--stone);
  font-family: inherit;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 4rem;
}

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(252, 251, 247, 0.9);
  padding: 1rem 0;
  backdrop-filter: saturate(150%) blur(18px);
  z-index: 5;
  box-shadow: 0 15px 35px rgba(60, 58, 51, 0.08);
}

.logo {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--stone);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-family: inherit;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 0 2rem;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 1rem 0;
}

.hero p {
  line-height: 1.8;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 1rem;
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--stone);
  background: transparent;
  color: var(--stone);
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--stone);
  color: var(--white);
  border-color: var(--stone);
}

.btn.secondary {
  border-color: var(--gold);
  color: var(--stone);
}

.btn.ghost {
  border-color: transparent;
  color: var(--stone);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(60, 58, 51, 0.12);
}

.btn:focus-visible {
  outline: 3px solid rgba(199, 160, 72, 0.4);
  outline-offset: 3px;
}

.meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card {
  position: relative;
  border-radius: 28px;
  background: radial-gradient(circle at 30% 30%, rgba(199, 160, 72, 0.25), #fff);
  border: 1px solid rgba(199, 160, 72, 0.4);
  padding: 2rem;
  min-height: 360px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile span {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gold);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.mock-block {
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--white);
}

.short-lines {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0 1.2rem;
}

.short-lines span {
  height: 6px;
  border-radius: 999px;
  background: rgba(60, 58, 51, 0.15);
}

.link-pill {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 160, 72, 0.3);
  margin-right: 0.5rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--stone);
}

.curve {
  position: absolute;
  inset: auto 1.4rem 1.4rem auto;
  width: 120px;
  height: 120px;
  border-radius: 50% 50% 0 50%;
  border: 1px solid rgba(199, 160, 72, 0.4);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 0;
}

.feature-grid article {
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #fff;
}

.section-heading {
  max-width: 520px;
}

.templates,
.pricing {
  padding: 3rem 0;
}

.template-rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.template-card {
  border-radius: 22px;
  border: 1px solid rgba(199, 160, 72, 0.25);
  padding: 1.6rem;
  background: linear-gradient(180deg, #fff, var(--bone));
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.template-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(60, 58, 51, 0.12);
}

body.surface {
  background: radial-gradient(circle at top, rgba(231, 207, 148, 0.35), transparent 55%), var(--bone);
  min-height: 100vh;
  position: relative;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.auth-shell {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 3rem);
  border-radius: 40px;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 35px 80px rgba(60, 58, 51, 0.15);
}

.auth-visual {
  border-radius: 32px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background:
    radial-gradient(circle at 25% 20%, rgba(231, 207, 148, 0.75), rgba(231, 207, 148, 0.4)),
    linear-gradient(135deg, #4c4331, #27241c);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.auth-visual::after {
  content: '';
  position: absolute;
  inset: 1rem;
  border-radius: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.auth-visual > * {
  position: relative;
  z-index: 1;
}

.auth-visual h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.auth-visual p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
}

.auth-chip {
  align-self: flex-start;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.auth-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.auth-points li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 500;
}

.auth-points li::before {
  content: '•';
  color: var(--gold);
}

.auth-panel {
  display: grid;
  gap: 0.45rem;
  background: rgba(252, 251, 247, 0.08);
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
}

.auth-card {
  background: #fff;
  border-radius: 32px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 30px 60px rgba(60, 58, 51, 0.12);
}

.auth-card h1 {
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
}

.auth-card p {
  margin-top: 0;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-form input {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 160, 72, 0.18);
}

.auth-hint {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.social-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff6e5;
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--stone);
  font-size: 0.95rem;
}

.social-btn span[aria-hidden='true'] {
  font-size: 1.3rem;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 1.25rem 0;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.login-message {
  min-height: 1.2rem;
  font-weight: 500;
}

.login-success {
  color: #1a7d4d;
}

.login-error {
  color: #b6463b;
}

.muted-text {
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
}

.auth-links {
  margin-top: 1.2rem;
  font-size: 0.95rem;
}

.auth-links a {
  color: var(--stone);
  text-decoration: none;
  font-weight: 500;
}

.dashboard-page {
  margin: 0;
  padding: clamp(2rem, 5vw, 4rem);
  width: 100%;
}

.dashboard-shell {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.dash-sidebar {
  background: #fff;
  border-radius: 28px;
  padding: 2rem 1.5rem;
  color: var(--stone);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid rgba(199, 160, 72, 0.25);
  box-shadow: none;
  position: sticky;
  top: clamp(1.5rem, 4vw, 3rem);
  align-self: flex-start;
  height: calc(100vh - clamp(1.5rem, 4vw, 3rem));
  min-height: 480px;
}

.sidebar-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.sidebar-chip {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(199, 160, 72, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--gold);
}

.sidebar-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sidebar-profile {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(199, 160, 72, 0.08);
}

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(199, 160, 72, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
}

.sidebar-name {
  font-weight: 600;
  margin: 0;
}

.sidebar-email {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar-home {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

.nav-pill {
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  background: rgba(199, 160, 72, 0.12);
  color: var(--stone);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-pill.active {
  background: var(--gold);
  color: #fff;
}

.sidebar-logout {
  margin-top: auto;
  width: 100%;
  border-color: rgba(199, 160, 72, 0.35);
  color: var(--stone);
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dashboard-main > * {
  width: 100%;
}

.dashboard-main .dashboard-header,
.dashboard-main .analytics-panel,
.dashboard-main .dashboard-grid,
.dashboard-main .links-card,
.dashboard-main .theme-card,
.dashboard-main .settings-card {
  max-width: none;
  margin: 0;
}

.tab-panels {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tab-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tab-panel[hidden] {
  display: none !important;
}

.dashboard-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(199, 160, 72, 0.18);
  box-shadow: 0 10px 24px rgba(60, 58, 51, 0.06);
}

.header-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.header-pill {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 160, 72, 0.4);
  color: var(--gold);
}

.header-hint {
  font-size: 0.85rem;
}

.header-main h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  background: linear-gradient(120deg, var(--stone), rgba(199, 160, 72, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-sub {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.analytics-panel {
  background: #fff;
  border-radius: 32px;
  padding: 2rem;
  border: 1px solid rgba(199, 160, 72, 0.2);
  box-shadow: 0 15px 30px rgba(60, 58, 51, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.analytics-heading {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.analytics-symbol {
  width: 72px;
  height: 72px;
  border-radius: 2rem;
  background: #fff;
  border: 1px solid rgba(199, 160, 72, 0.4);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
}

.info-btn {
  margin-left: auto;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(199, 160, 72, 0.15);
  color: var(--stone);
  cursor: pointer;
  position: relative;
}

.info-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--stone);
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.info-btn:hover::after,
.info-btn:focus-visible::after {
  opacity: 1;
}

.analytics-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

.analytics-card {
  padding: 1.25rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(199, 160, 72, 0.18);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.analytics-card strong {
  font-size: 2.2rem;
  font-weight: 600;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.dash-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid rgba(199, 160, 72, 0.15);
  box-shadow: 0 10px 22px rgba(60, 58, 51, 0.06);
}

.placeholder-stat {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 1rem;
}

.links-card {
  gap: 1.5rem;
}

.links-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.links-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.links-meta div {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(199, 160, 72, 0.2);
  background: #fffdf6;
}

.links-meta small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.links-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.inline-builder {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.bio-embed-shell {
  border: 1px solid rgba(199, 160, 72, 0.2);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bone);
}

.bio-embed {
  width: 100%;
  min-height: 900px;
  border: none;
  background: #fff;
}

.theme-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.theme-chip {
  border: 1px solid rgba(199, 160, 72, 0.25);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--stone);
}

.theme-chip.active {
  background: rgba(199, 160, 72, 0.15);
  border-color: var(--gold);
}

.theme-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--swatch, var(--gold));
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portfolio-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}

.portfolio-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.portfolio-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portfolio-column label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.portfolio-column input,
.portfolio-column textarea {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.portfolio-column textarea {
  min-height: 90px;
  resize: vertical;
}

.template-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 360px;
  overflow-y: auto;
}

.template-option {
  text-align: left;
  border: 1px solid rgba(199, 160, 72, 0.3);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease;
}

.template-option strong {
  font-size: 1rem;
}

.template-option span {
  font-size: 0.85rem;
  color: var(--muted);
}

.template-option.active {
  border-color: var(--gold);
  background: rgba(199, 160, 72, 0.12);
}

.hero-editor,
.sections-editor {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(199, 160, 72, 0.2);
  border-radius: 24px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
}

.hero-editor legend,
.sections-editor legend {
  font-weight: 600;
}

.hero-editor textarea {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
}

.hero-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.hero-image-row {
  align-items: center;
  gap: 1rem;
}

.hero-image-preview {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  border: 1px dashed rgba(199, 160, 72, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.5rem;
  background-size: cover;
  background-position: center;
  background-color: #faf7ef;
}

.portfolio-sections {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portfolio-section-row {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 1rem;
  background: #fffdf6;
  display: grid;
  gap: 0.8rem;
}

.portfolio-section-actions {
  display: flex;
  justify-content: flex-end;
}

.preview-template-label {
  margin: 0;
  color: var(--muted);
}

.portfolio-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.portfolio-empty {
  margin: 0;
  padding: 1rem;
  border-radius: 16px;
  border: 1px dashed rgba(199, 160, 72, 0.4);
  text-align: center;
  color: var(--muted);
}

.theme-color-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.color-wheel {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.settings-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.settings-list div {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fffdf6;
}

.settings-list dt {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.settings-list dd {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.dash-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.dash-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.dash-card li + li {
  margin-top: 0.35rem;
}

.status-chip {
  display: inline-flex;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(199, 160, 72, 0.12);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.logout-btn {
  align-self: flex-start;
  border: 1px solid rgba(199, 160, 72, 0.35);
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  color: var(--stone);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    position: static;
    height: auto;
    min-height: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-nav {
    width: 100%;
  }

  .sidebar-logout {
    width: auto;
  }
}

.pricing .plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.plan-grid article {
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-grid .featured {
  border-color: var(--gold);
  box-shadow: 0 15px 45px rgba(51, 38, 14, 0.08);
}

.plan-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(60, 58, 51, 0.12);
  border-color: rgba(199, 160, 72, 0.5);
}

.price {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

.plan-grid ul {
  padding: 0;
  margin: 0 0 1.5rem;
  list-style: none;
  color: var(--muted);
}

.plan-grid li + li {
  margin-top: 0.5rem;
}

.cta-band {
  margin: 3rem 0;
  padding: 2rem 2.5rem;
  border-radius: 28px;
  border: 1px solid rgba(199, 160, 72, 0.4);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer a {
  text-decoration: none;
  color: var(--stone);
}

.tiny {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    top: 64px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .bio-embed {
    min-height: 640px;
  }
}

/*. bio system styles now live in bio.css */

.folio-portfolio {
  background: radial-gradient(circle at 20% 20%, rgba(199, 160, 72, 0.22), rgba(252, 251, 247, 0.95)), #0f0e0a;
  color: #fdf9ef;
}

.folio-portfolio .portfolio-page {
  min-height: 100vh;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 5rem) 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.portfolio-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.portfolio-hero .eyebrow {
  color: rgba(253, 249, 239, 0.8);
}

.portfolio-hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin: 0.3rem 0 1rem;
}

.portfolio-hero .lead {
  font-size: 1.1rem;
  max-width: 520px;
  color: rgba(253, 249, 239, 0.85);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: rgba(253, 249, 239, 0.75);
}

.hero-stats dt {
  margin: 0 0 0.3rem;
  font-size: 2.3rem;
  letter-spacing: normal;
  color: #fef4d2;
}

.hero-stats div {
  border: 1px solid rgba(253, 249, 239, 0.15);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  background: rgba(15, 14, 10, 0.45);
}

.hero-visual {
  position: relative;
  border-radius: 40px;
  padding: 2.5rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 420px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.hero-share {
  margin-top: 1.5rem;
  color: rgba(253, 249, 239, 0.85);
}

.hero-share a {
  color: #fef4d2;
  text-decoration: none;
  font-weight: 500;
}

.floating-tag {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.signature-card {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

.signature-card span {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5d28f, #bb8a2d);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.3rem;
}

.hero-panels {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.hero-panels .panel {
  border-radius: 24px;
  height: 140px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.hero-panels .panel::after {
  content: attr(data-label);
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-frame {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portfolio-frame-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.portfolio-frame-actions {
  display: flex;
  gap: 0.75rem;
}

.portfolio-frame-view {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.portfolio-frame-view iframe {
  width: 100%;
  height: clamp(420px, 60vh, 760px);
  border: none;
  background: #0c0c0c;
}

.portfolio-empty-preview {
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 28px;
  padding: 2rem;
  text-align: center;
  color: rgba(253, 249, 239, 0.8);
  background: rgba(0, 0, 0, 0.25);
}

.credos,
.project-grid,
.split-panels,
.contact-panel {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.credos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.credos article h3 {
  margin-top: 0;
  color: #fef4d2;
}

.project-grid .project-cards {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.portfolio-section-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.section-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.4rem;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.section-card h3 {
  margin: 0;
  color: #fef4d2;
}

.section-card p {
  margin: 0;
  color: rgba(253, 249, 239, 0.8);
}

.section-card .section-link {
  align-self: flex-start;
  margin-top: 0.5rem;
  color: #fef4d2;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.project-card {
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.02);
}

.project-card h3 {
  margin: 0.4rem 0 0.7rem;
}

.project-card p {
  color: rgba(253, 249, 239, 0.85);
}

.project-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-card li {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.split-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.split-panels .muted {
  color: rgba(253, 249, 239, 0.75);
}

.bullet-grid {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.bullet-grid li {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.press-card {
  border-radius: 28px;
  padding: 1.8rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 1rem;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-link {
  text-decoration: none;
  color: #fef4d2;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.folio-watermark {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 600px) {
  .folio-portfolio .portfolio-page {
    padding: 2rem 1.25rem 3rem;
  }

  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
