/* ══════════════════════════════════════════
   Denis Notes — style.css
   ══════════════════════════════════════════ */

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

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #f0e8db;
  min-height: 100vh;
  color: #1a1108;
  -webkit-font-smoothing: antialiased;
}

/* ══ FLOATING NAV ══ */
.nav-wrapper {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 1000;
  display: flex;
  gap: 10px;
}

.nav-logo {
  background: #1a1108;
  border-radius: 14px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.82; }

.logo-text {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
}

.nav-links-pill {
  background: #1a1108;
  border-radius: 14px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  flex: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  padding: 7px 0;
}

.nav-links li a {
  color: #888;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
  display: block;
  white-space: nowrap;
}
.nav-links li.active a,
.nav-links li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ══ PAGE SYSTEM ══ */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* Show the correct page immediately based on URL before JS runs */
/* JS adds .active class synchronously on first paint */

/* ══ HOME PAGE ══ */
.home-hero {
  background: #fbc1d4;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.home-hero-inner {
  padding-top: 110px;
  padding-right: 40px;
  padding-bottom: 80px;
  padding-left: max(24px, calc((100vw - 1100px) / 2 + 24px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.home-name {
  font-size: 52px;
  font-weight: 800;
  color: #1a1108;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 22px;
}

.home-divider {
  width: 48px;
  height: 2px;
  background: rgba(26,17,8,0.22);
  margin-bottom: 22px;
}

.home-bio {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(26,17,8,0.72);
  max-width: 420px;
  margin-bottom: 32px;
}
.home-bio a { color: #1a1108; font-weight: 700; text-decoration: none; }
.home-bio a:hover { text-decoration: underline; }

.home-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 48px;
}
.home-links a {
  font-size: 22px;
  font-weight: 700;
  color: #1a1108;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}
.home-links a:hover { opacity: 0.45; }

/* Newsletter widget */
.newsletter-widget {
  background: #c3abff;
  border-radius: 14px;
  padding: 22px 24px;
  max-width: 420px;
}
.newsletter-widget > p {
  color: #4a3080;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.newsletter-row { display: flex; gap: 8px; }

.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 10px;
  color: #1a1108;
  font-size: 13px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}
.newsletter-input::placeholder { color: rgba(74,48,128,0.5); }
.newsletter-input:focus {
  background: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.9);
}

.newsletter-btn {
  background: #1a1108;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-btn:hover { background: #333; }

.home-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.photo-wrap {
  position: absolute;
  bottom: 0; right: 0;
  width: 88%; height: 90%;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px 14px 0 0;
  display: block;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(26,17,8,0.05);
  border: 2px dashed rgba(26,17,8,0.12);
  border-radius: 14px 14px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.placeholder-icon { width: 52px; height: 52px; opacity: 0.18; }
.placeholder-text {
  font-size: 11px;
  color: rgba(26,17,8,0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── BUBBLES ── */
.bubbles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: 10px 14px;
  max-width: 200px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  pointer-events: all;
  animation: bubblePop 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes bubblePop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.bubble-text {
  font-size: 12.5px;
  font-weight: 600;
  color: #1a1108;
  line-height: 1.45;
}

.bubble-link {
  display: inline-block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #8060c0;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.bubble-link:hover { text-decoration: underline; }

/* Bubble tail */
.bubble::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  background: #fff;
}
.bubble.top-left    { top: 12%; left: -8%; }
.bubble.top-left::after    { bottom: -5px; left: 16px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.bubble.top-right   { top: 12%; right: 4%; }
.bubble.top-right::after   { bottom: -5px; right: 16px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.bubble.mid-left    { top: 38%; left: -8%; }
.bubble.mid-left::after    { bottom: -5px; left: 16px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.bubble.mid-right   { top: 38%; right: 4%; }
.bubble.mid-right::after   { bottom: -5px; right: 16px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.bubble.bottom-left { top: 62%; left: -8%; }
.bubble.bottom-left::after { bottom: -5px; left: 16px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.bubble.bottom-right{ top: 62%; right: 4%; }
.bubble.bottom-right::after{ bottom: -5px; right: 16px; clip-path: polygon(0 0, 100% 0, 100% 100%); }

/* ── AWARDS SECTION (About page) ── */
.awards-section {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid rgba(26,17,8,0.1);
}
.awards-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1108;
  margin-bottom: 28px;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.award-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.award-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.award-card-body {
  padding: 18px 20px;
}
.award-card-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8060c0;
  margin-bottom: 5px;
}
.award-card-name {
  font-size: 16px;
  font-weight: 800;
  color: #1a1108;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 6px;
}
.award-card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.55;
}
.award-card-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1108;
  text-decoration: none;
  transition: opacity 0.2s;
}
.award-card-link:hover { opacity: 0.5; }

/* ── SUBSCRIBERS TABLE ── */
.subscriber-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.subscriber-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bbb;
  padding: 0 12px 12px 0;
  border-bottom: 1px solid rgba(26,17,8,0.08);
}
.subscriber-table td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid rgba(26,17,8,0.05);
  color: #1a1108;
  vertical-align: top;
}
.subscriber-table tr:last-child td { border-bottom: none; }
.subscriber-date { font-size: 12px; color: #bbb; }

/* ══ SHARED INNER PAGE ══ */
.inner-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.page-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
}

.page-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 32px;
  color: #1a1108;
}

.page-divider {
  width: 48px;
  height: 2px;
  background: rgba(26,17,8,0.15);
  margin-bottom: 40px;
}

.page-body {
  font-size: 17px;
  line-height: 1.75;
  color: #444;
  max-width: 680px;
}

/* ══ WORK PAGE ══ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.work-loading { color: #bbb; font-size: 15px; padding: 40px 0; }

.work-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.work-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.work-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: #f0e8db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26,17,8,0.2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.work-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.work-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8060c0;
}
.work-card-title {
  font-size: 19px;
  font-weight: 800;
  color: #1a1108;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.work-card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  flex: 1;
}
.work-card-link {
  font-size: 13px;
  font-weight: 700;
  color: #1a1108;
  text-decoration: none;
  margin-top: 6px;
  transition: opacity 0.2s;
  display: inline-block;
}
.work-card-link:hover { opacity: 0.5; }

/* ══ ADMIN TABS ══ */
.admin-tabs {
  display: flex;
  gap: 4px;
  margin: 32px 0 0;
  border-bottom: 1px solid rgba(26,17,8,0.1);
  padding-bottom: 0;
}
.admin-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #aaa;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.admin-tab.active { color: #1a1108; border-bottom-color: #1a1108; }
.admin-tab:hover:not(.active) { color: #555; }

.admin-tab-content { display: none; padding-top: 28px; }
.admin-tab-content.active { display: block; }

/* Settings tab */
.settings-note {
  font-size: 13px;
  color: #999;
  margin-top: 6px;
  line-height: 1.5;
}
.settings-saved {
  font-size: 13px;
  color: #22c55e;
  font-weight: 600;
  margin-top: 10px;
  min-height: 18px;
}

/* ══ BLOG PAGE ══ */
.blog-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.blog-header { margin-bottom: 48px; }
.blog-title { font-size: 38px; margin-bottom: 0; }

.blog-posts { display: flex; flex-direction: column; }

.post-card {
  border-top: 1px solid rgba(26,17,8,0.1);
  padding: 28px 0;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.post-card:hover { opacity: 0.6; }
.post-card:last-child { border-bottom: 1px solid rgba(26,17,8,0.1); }

.post-card-inner { display: flex; gap: 24px; align-items: flex-start; }
.post-card-thumb {
  width: 100px; height: 70px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.post-card-text { flex: 1; }

.post-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}
.post-title-card {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1108;
  margin-bottom: 10px;
  line-height: 1.2;
}
.post-excerpt {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  max-width: 580px;
}

.pagination {
  display: flex;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
  align-items: center;
}
.page-btn {
  background: #1a1108;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}
.page-btn:hover { opacity: 0.75; }
.page-btn.current { background: #c3abff; color: #1a1108; }

/* ══ SINGLE POST ══ */
.post-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 100px;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  margin-bottom: 40px;
  transition: color 0.2s;
  text-decoration: none;
}
.back-btn:hover { color: #1a1108; }

.post-full-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #1a1108;
}
.post-cover-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 36px;
}
.post-full-body {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  margin-top: 32px;
}
.post-full-body a { color: #6b3fc0; text-decoration: underline; }
.post-full-body img {
  max-width: 100%;
  border-radius: 10px;
  margin: 20px 0;
  display: block;
}

/* ══ CALL PAGE ══ */
#page-call .call-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  background: #1a1108;
}
.call-inner { text-align: center; max-width: 480px; }
.call-inner .page-eyebrow { color: rgba(255,255,255,0.4); }
.call-page-title { color: #fff; font-size: 48px; }
.call-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-top: 20px;
}
.call-btn {
  display: inline-block;
  margin-top: 40px;
  background: #c3abff;
  color: #1a1108;
  border: none;
  border-radius: 12px;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.2s;
}
.call-btn:hover { background: #b090ff; }

/* ══ ADMIN LOGIN ══ */
#page-login { background: #f0e8db; }
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-box {
  background: #fff;
  border-radius: 20px;
  padding: 44px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.09);
}
.login-logo-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #999;
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  transition: color 0.2s;
}
.login-logo-link:hover { color: #1a1108; }
.login-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1a1108;
  margin-bottom: 6px;
}
.login-sub {
  font-size: 14px;
  color: #999;
  margin-bottom: 32px;
}
.login-error {
  font-size: 13px;
  color: #c0406a;
  margin-bottom: 12px;
  min-height: 18px;
  font-weight: 600;
}

/* ══ SHARED FORM ══ */
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #bbb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-field input[type="text"],
.form-field input[type="password"],
.form-field textarea {
  width: 100%;
  background: #f7f4f0;
  border: 1px solid rgba(26,17,8,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #1a1108;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus { border-color: #c3abff; }
.form-field textarea { min-height: 160px; }

.file-input {
  width: 100%;
  background: #f7f4f0;
  border: 1px solid rgba(26,17,8,0.08);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13px;
  color: #666;
  font-family: inherit;
  cursor: pointer;
}
.cover-preview { margin-top: 10px; }
.cover-preview img {
  max-width: 100%;
  max-height: 160px;
  border-radius: 8px;
  object-fit: cover;
}

/* ══ ADMIN PANEL ══ */
.admin-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.admin-page-title { font-size: 36px; margin-bottom: 0; }
.logout-btn {
  background: rgba(26,17,8,0.07);
  color: #666;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.logout-btn:hover { background: rgba(26,17,8,0.13); color: #1a1108; }

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.admin-panel {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.admin-panel h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 20px;
}

.editor-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.tb-btn {
  background: #f7f4f0;
  border: none;
  border-radius: 7px;
  padding: 6px 11px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  color: #555;
}
.tb-btn:hover { background: #ede8e0; color: #1a1108; }

.publish-btn {
  background: #1a1108;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  flex: 1;
  width: 100%;
  transition: background 0.2s;
}
.publish-btn:hover { background: #333; }

.cancel-edit-btn {
  background: #f7f4f0;
  color: #666;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.cancel-edit-btn:hover { background: #ede8e0; }

.admin-posts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
}
.admin-post-item {
  background: #f7f4f0;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.apt-title { font-size: 14px; font-weight: 700; color: #1a1108; margin-bottom: 3px; }
.apt-date  { font-size: 11px; color: #bbb; font-weight: 600; }
.admin-post-actions { display: flex; gap: 6px; flex-shrink: 0; }
.edit-btn {
  background: none; border: none; color: #ccc; font-size: 14px;
  cursor: pointer; padding: 3px 7px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.edit-btn:hover { color: #1a1108; background: rgba(26,17,8,0.06); }
.delete-btn {
  background: none; border: none; color: #ddd; font-size: 14px;
  cursor: pointer; padding: 3px 7px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.delete-btn:hover { color: #e8462a; background: rgba(232,70,42,0.07); }

.empty-note { color: #bbb; font-size: 13px; }

/* ══ MODAL ══ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  animation: popIn 0.22s ease;
}
@keyframes popIn {
  from { transform: scale(0.93); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.modal h3 { font-size: 22px; font-weight: 800; color: #1a1108; margin-bottom: 8px; letter-spacing: -0.02em; }
.modal > div > p { font-size: 14px; color: #888; margin-bottom: 22px; line-height: 1.55; }
.modal input {
  width: 100%;
  background: #f7f4f0;
  border: 1px solid rgba(26,17,8,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #1a1108;
  outline: none;
  font-family: inherit;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.modal input:focus { border-color: #c3abff; }
.modal-actions { display: flex; gap: 10px; }
.modal-confirm {
  flex: 1;
  background: #1a1108;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.modal-confirm:hover { background: #333; }
.modal-cancel {
  background: #f7f4f0;
  color: #666;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.modal-cancel:hover { background: #ede8e0; }
.success-msg { display: none; text-align: center; padding: 8px 0 4px; }
.success-msg .check { font-size: 40px; margin-bottom: 10px; }
.success-msg h4 { font-size: 18px; font-weight: 800; color: #1a1108; margin-bottom: 6px; }
.success-msg p { font-size: 14px; color: #888; }

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-photo { display: none; }
  .home-hero-inner { padding: 100px 24px 60px; }
  .home-name { font-size: 38px; }
  .admin-layout { grid-template-columns: 1fr; }
  .nav-links li a { padding: 8px 10px; font-size: 12.5px; }
  .page-title { font-size: 34px; }
  .post-full-title { font-size: 28px; }
  .work-grid { grid-template-columns: 1fr; }
}
