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

:root {
  --ivory:     #F5F2EC;
  --charcoal:  #1A1A18;
  --gold:      #C8A951;
  --warm-mid:  #A59678;
  --off-white: #FAF8F4;
  --umber:     #8B6B4A;
  --terra:     #A0522D;
  --sage:      #5C6B4A;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Jost', sans-serif;
  --bg-gradient: linear-gradient(135deg, rgba(26,26,24,0.05) 0%, rgba(200,169,81,0.05) 100%);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 242, 236, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(44,43,40,0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-wordmark {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--charcoal);
  text-decoration: none;
  position: relative;
  z-index: 201;
}
.nav-wordmark span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  margin-top: 6px;
  transform-origin: left;
  transition: transform 0.4s ease;
}
.nav-wordmark:hover span {
  transform: scaleX(0.6);
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  position: relative;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 0.5px;
  background: var(--charcoal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 201;
  position: relative;
  padding: 4px;
}
.nav-hamburger .bar {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
/* Open state */
.nav-hamburger.open .bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE DRAWER ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(245, 242, 236, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu ul li {
  overflow: hidden;
}
.mobile-menu ul li a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  text-decoration: none;
  padding: 16px 0;
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.mobile-menu ul li a:hover {
  opacity: 1;
  color: var(--gold);
}
.mobile-menu-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 32px auto;
}
.mobile-menu-tagline {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--warm-mid);
  letter-spacing: 0.08em;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background-color: var(--charcoal);
  background-image: linear-gradient(rgba(26, 26, 24, 0.1), rgba(26, 26, 24, 0.4)), url('images/landing%20page.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(32px);
  animation: fadeUp 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}
.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 40px;
}
.hero-wordmark {
  font-family: var(--serif);
  font-size: clamp(32px, 10vw, 100px);
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero-rule-bottom {
  width: 280px;
  max-width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 30px auto 40px;
}
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  letter-spacing: 0.08em;
  margin-bottom: 64px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  opacity: 0.9;
}
.hero-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid rgba(245,242,236,0.4);
  padding: 18px 42px;
  text-decoration: none;
  transition: all 0.5s ease;
  backdrop-filter: blur(4px);
}
.hero-cta:hover {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: var(--ivory);
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1.2s ease 1.8s forwards;
}
.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--ivory);
  text-transform: uppercase;
  opacity: 0.7;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* ── INTRO ── */
.intro {
  padding: 160px 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.section-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.6em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: block;
}
.intro-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}
.intro-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 40px;
}
.intro-body {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 2.2;
  color: #4A4640;
  max-width: 720px;
  margin: 0 auto;
}

/* ── PILLARS ── */
.pillars {
  padding: 120px 40px 160px;
  background: var(--charcoal);
  color: var(--ivory);
}
.pillars-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.pillars-header {
  text-align: center;
  margin-bottom: 80px;
}
.pillars-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-top: 16px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pillar-cell {
  position: relative;
  height: 600px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 32px;
  background-color: #222;
  background-size: cover;
  background-position: center;
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pillar-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,24,0) 0%, rgba(26,26,24,0.4) 50%, rgba(26,26,24,0.9) 100%);
  transition: opacity 0.6s ease;
  z-index: 1;
}

.pillar-style { background-image: url('images/style.jpeg'); }
.pillar-home  { background-image: url('images/pillar_home.png'); }
.pillar-table { background-image: url('images/table.jpeg'); }
.pillar-art   { background-image: url('images/pillar_art.png'); }
.pillar-edit  { 
  background-image: url('images/edit.jpeg');
  background-size: cover;
  background-position: center;
}

.pillar-cell:hover {
  transform: scale(1.04) translateY(-12px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.6);
  z-index: 10;
}

.pillar-cell:hover::before {
  opacity: 0;
}

.pillar-content {
  position: relative;
  z-index: 2;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.5s ease;
}

.pillar-cell:hover .pillar-content {
  opacity: 0;
  transform: translateY(10px);
}

.pillar-letter {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 300;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
  color: var(--gold);
  opacity: 1;
}

.pillar-name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ivory);
  display: block;
  margin-bottom: 16px;
}

.pillar-desc {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(245,242,236,0.85);
  line-height: 1.6;
}

/* ── BRAND STATEMENT ── */
.statement {
  padding: 160px 40px;
  background: var(--off-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 80px;
  background: var(--gold);
}
.statement-quote {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
  max-width: 900px;
  margin: 80px auto 40px;
  letter-spacing: 0.02em;
}
.statement-attr {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ── STAY CONNECTED ── */
.connect {
  padding: 120px 40px 80px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.connect-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.connect-sub {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: #4A4640;
  margin-bottom: 64px;
  line-height: 1.8;
}
.email-form {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 0 auto 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}
.email-input {
  flex: 1;
  padding: 20px 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid rgba(44,43,40,0.1);
  border-right: none;
  outline: none;
  transition: border-color 0.4s;
}
.email-input::placeholder { color: var(--warm-mid); opacity: 0.6; }
.email-input:focus { border-color: var(--gold); }
.email-btn {
  padding: 20px 36px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: all 0.4s ease;
}
.email-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.connect-note {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--warm-mid);
  letter-spacing: 0.2em;
  margin-bottom: 64px;
  text-transform: uppercase;
}
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.social-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.social-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.social-link:hover { color: var(--gold); }
.social-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.social-divider {
  width: 1px;
  height: 24px;
  background: rgba(44,43,40,0.1);
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  padding: 80px 48px 40px;
  text-align: center;
}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--ivory);
  margin-bottom: 12px;
}
.footer-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 30px;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: rgba(245,242,236,0.6);
  margin-bottom: 56px;
  letter-spacing: 0.04em;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.6;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-links a:hover { opacity: 1; color: var(--gold); }
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 48px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245,242,236,0.15);
  border-radius: 50%;
  color: rgba(245,242,236,0.5);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.footer-social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--charcoal);
}
.footer-social-link:hover::before {
  transform: scale(1);
}
.footer-social-link svg {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: color 0.3s ease;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(245,242,236,0.3);
  letter-spacing: 0.1em;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1.4); transform-origin: top; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── PAGE LAYOUTS: BLOG, CONTACT, ADMIN ── */

/* Common Subpage Header */
.subpage-header {
  padding: 180px 40px 100px;
  text-align: center;
  background: var(--off-white);
  border-bottom: 0.5px solid rgba(44,43,40,0.05);
  position: relative;
}
.subpage-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-top: 16px;
  line-height: 1.2;
}
.subpage-header p {
  font-family: var(--sans);
  font-size: clamp(14px, 2vw, 18px);
  color: var(--warm-mid);
  letter-spacing: 0.1em;
  margin-top: 16px;
  text-transform: uppercase;
}

/* contact page styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
  gap: 80px;
}
.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.contact-info-panel h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 24px;
}
.contact-info-panel p {
  font-size: 16px;
  color: #4A4640;
  margin-bottom: 48px;
  line-height: 1.8;
}
.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-details span.label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 400;
}
.contact-details a, .contact-details span.val {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-details a:hover {
  color: var(--gold);
}

.contact-form-panel {
  background: var(--off-white);
  padding: 56px;
  border: 1px solid rgba(44,43,40,0.05);
  box-shadow: 0 24px 64px rgba(44,43,40,0.02);
}
.form-group {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--charcoal);
  font-weight: 400;
}
.form-control {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 14px;
  background: #fff;
  border: 1px solid rgba(44,43,40,0.1);
  outline: none;
  transition: all 0.4s ease;
  color: var(--charcoal);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.08);
}
textarea.form-control {
  resize: vertical;
  min-height: 150px;
}
.form-submit-btn {
  width: 100%;
  padding: 20px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: all 0.4s ease;
}
.form-submit-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* blog styles */
.blog-filters {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 24px;
  border-bottom: 1px solid rgba(44,43,40,0.05);
  background: var(--ivory);
}
.filter-btn {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.6;
  cursor: pointer;
  padding: 8px 16px;
  position: relative;
  transition: opacity 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  opacity: 1;
}
.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.filter-btn.active::after {
  transform: scaleX(1);
}

.blog-grid-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
}
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.blog-post-card {
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  border: 1px solid rgba(44,43,40,0.04);
  text-decoration: none;
  color: var(--charcoal);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  height: 100%;
}
.blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(44,43,40,0.05);
  border-color: rgba(200, 169, 81, 0.2);
}
.card-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--charcoal);
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.blog-post-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}
.card-category {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(26,26,24,0.85);
  backdrop-filter: blur(8px);
  color: var(--ivory);
  font-size: 9px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 6px 12px;
}
.card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-meta {
  font-size: 10px;
  color: var(--warm-mid);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 16px;
  transition: color 0.3s;
}
.blog-post-card:hover .card-title {
  color: var(--gold);
}
.card-excerpt {
  font-size: 14px;
  color: #5A5650;
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-readmore {
  margin-top: auto;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 400;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* single post view styling */
.post-detail-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.post-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--warm-mid);
  text-decoration: none;
  margin-bottom: 48px;
  transition: color 0.3s;
}
.post-back-btn:hover {
  color: var(--gold);
}
.post-main-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  margin-bottom: 48px;
  border: 1px solid rgba(44,43,40,0.05);
}
.post-header {
  margin-bottom: 48px;
  text-align: center;
}
.post-category-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 16px;
  display: inline-block;
}
.post-detail-title {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.post-detail-subtitle {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  color: var(--warm-mid);
  line-height: 1.5;
  margin-bottom: 32px;
}
.post-meta-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--warm-mid);
  border-top: 1px solid rgba(44,43,40,0.05);
  border-bottom: 1px solid rgba(44,43,40,0.05);
  padding: 16px 0;
}
.post-content {
  font-size: 18px;
  line-height: 2;
  color: #3A3630;
  margin-bottom: 64px;
}
.post-content p {
  margin-bottom: 32px;
}
.post-content blockquote {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: var(--gold);
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  margin: 40px 0;
  line-height: 1.6;
}
.post-content ul, .post-content ol {
  margin-left: 24px;
  margin-bottom: 32px;
}
.post-content li {
  margin-bottom: 8px;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(44,43,40,0.05);
}
.post-tag {
  font-size: 11px;
  color: var(--warm-mid);
  background: var(--off-white);
  padding: 6px 12px;
  text-decoration: none;
  transition: all 0.3s;
}
.post-tag:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* public comments display */
.comments-container {
  margin-top: 64px;
}
.comments-count-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(44,43,40,0.05);
  padding-bottom: 12px;
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 64px;
}
.comment-card {
  background: var(--off-white);
  padding: 32px;
  border: 1px solid rgba(44,43,40,0.04);
}
.comment-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.comment-author {
  font-weight: 400;
  color: var(--charcoal);
}
.comment-date {
  color: var(--warm-mid);
}
.comment-text {
  font-size: 15px;
  line-height: 1.6;
  color: #4A4640;
}
.comment-form-wrapper {
  background: var(--off-white);
  padding: 48px;
  border: 1px solid rgba(44,43,40,0.05);
}
.comment-form-wrapper h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 24px;
}

/* Admin Dashboard styling */
.admin-body {
  background: #111;
  color: #eee;
}
.admin-navbar {
  background: #1A1A18;
  border-bottom: 1px solid #2A2A28;
}
.admin-navbar .nav-wordmark, .admin-navbar .nav-links a {
  color: #fff;
}
.admin-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 140px 48px 80px;
}
.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.admin-page-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
}
.admin-btn {
  padding: 12px 24px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.4s ease;
}
.admin-btn:hover {
  background: var(--gold);
  color: var(--charcoal);
}
.admin-btn-primary {
  background: var(--gold);
  color: var(--charcoal);
}
.admin-btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--charcoal);
}
.admin-btn-danger {
  border-color: #d9534f;
  color: #d9534f;
}
.admin-btn-danger:hover {
  background: #d9534f;
  color: #fff;
}
.admin-btn-success {
  border-color: #5cb85c;
  color: #5cb85c;
}
.admin-btn-success:hover {
  background: #5cb85c;
  color: #fff;
}
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.stat-card {
  background: #1e1e1c;
  padding: 24px;
  border: 1px solid #2a2a28;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--warm-mid);
}
.stat-value {
  font-family: var(--serif);
  font-size: 32px;
  color: #fff;
  font-weight: 300;
}

.admin-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid #2A2A28;
  margin-bottom: 32px;
}
.admin-tab {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #888;
  padding: 16px 24px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.admin-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.admin-panel {
  display: none;
}
.admin-panel.active {
  display: block;
}

.table-wrapper {
  overflow-x: auto;
  background: #1e1e1c;
  border: 1px solid #2a2a28;
  margin-bottom: 48px;
}
table.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
table.admin-table th, table.admin-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #2a2a28;
}
table.admin-table th {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--warm-mid);
  background: #171715;
}
table.admin-table tr:hover td {
  background: rgba(200, 169, 81, 0.02);
}
.admin-actions {
  display: flex;
  gap: 12px;
}
.action-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
}
.action-link.danger {
  color: #d9534f;
}

/* Modal Form Styles */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open {
  display: flex;
}
.modal-content {
  background: #1e1e1c;
  border: 1px solid #2a2a28;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
}
.modal-title {
  font-family: var(--serif);
  font-size: 28px;
  color: #fff;
  margin-bottom: 32px;
  border-bottom: 1px solid #2a2a28;
  padding-bottom: 16px;
}
.modal-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
}
.modal-close:hover {
  color: #fff;
}
.modal-content .form-group label {
  color: #ccc;
}
.modal-content .form-control {
  background: #111;
  border-color: #333;
  color: #fff;
}
.modal-content .form-control:focus {
  border-color: var(--gold);
}

.export-card {
  background: #1e1e1c;
  border: 1px solid #2a2a28;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.export-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}
.export-card p {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ── RESPONSIVE OVERRIDES ── */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pillar-cell { height: 480px; }
  .blog-list-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; padding: 60px 24px; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-cell { height: 380px; }
  .email-form { flex-direction: column; gap: 12px; box-shadow: none; }
  .email-input { border: 1px solid rgba(44,43,40,0.1); width: 100%; border-right: 1px solid rgba(44,43,40,0.1); }
  .email-btn { width: 100%; }
  .social-links { flex-direction: column; gap: 24px; }
  .social-divider { display: none; }
  .intro { padding: 100px 28px 80px; }
  .connect { padding: 80px 28px 60px; }
  .statement { padding: 100px 28px; }
  .pillars { padding: 80px 20px 100px; }
  footer { padding: 60px 28px 32px; }
  .footer-links { gap: 24px; }
  .blog-list-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-grid-section { padding: 60px 24px; }
  .contact-form-panel { padding: 32px; }
  .subpage-header { padding: 140px 24px 60px; }
  .admin-stats-grid { grid-template-columns: 1fr; }
  .admin-wrapper { padding: 120px 24px 60px; }
  .admin-header-row { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@media (max-width: 480px) {
  nav { padding: 16px 20px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-cell { height: 320px; }
  .intro { padding: 80px 20px 60px; }
  .connect { padding: 60px 20px 48px; }
  .statement { padding: 80px 20px; }
  .hero { padding: 100px 20px 60px; }
  .intro-body { font-size: 16px; }
  .footer-links { flex-direction: column; gap: 16px; align-items: center; }
  .hero-wordmark {
    letter-spacing: 0.15em;
    font-size: clamp(24px, 8vw, 40px);
  }
}
