/* ==========================================================================
   Liminale Designs — Main Stylesheet
   Design tokens, layout, typography, components
   ========================================================================== */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* BRAND FONT */
@font-face {
  font-family: 'Brighta Norwich';
  src: url('../fonts/Brighta_Norwich.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* DESIGN TOKENS */
:root {
  --cream:      #F7F3EE;
  --warm-white: #FBF9F6;
  --stone:      #C8BEB2;
  --bark:       #8B7D6B;
  --deep:       #3D342C;
  --brand:      'Brighta Norwich', Georgia, serif;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Raleway', sans-serif;
}

/* BASE */
body {
  background: var(--warm-white);
  color: var(--deep);
  font-family: var(--serif);
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; }

/* ==========================================================================
   NAV
   ========================================================================== */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  border-bottom: 0.5px solid var(--stone);
  position: sticky;
  top: 0;
  background: var(--warm-white);
  z-index: 100;
}

.nav-logo {
  font-family: var(--brand);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--deep);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bark);
  transition: color 0.2s;
}

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

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--deep);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 5rem;
  border-right: 0.5px solid var(--stone);
}

.hero-h1 {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--deep);
  margin-bottom: 2rem;
}

.hero-h1 em {
  font-style: italic;
  color: var(--bark);
}

.hero-sub {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--bark);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero-image {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--deep);
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--bark); }

.btn-ghost {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bark);
  background: none;
  border: 0.5px solid var(--stone);
  padding: 14px 32px;
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s;
}

.btn-ghost:hover { border-color: var(--bark); color: var(--deep); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
  padding: 6rem 5rem;
  border-top: 0.5px solid var(--stone);
}

.section-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 3rem;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 0.5px solid var(--stone);
}

.card {
  padding: 3rem;
  border-right: 0.5px solid var(--stone);
}

.card:last-child { border-right: none; }

.card-number {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--stone);
  margin-bottom: 1.5rem;
}

.card-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bark);
  border: 0.5px solid var(--stone);
  padding: 4px 10px;
  margin-bottom: 1.5rem;
}

.card-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--deep);
  margin-bottom: 1rem;
}

.card-title em { font-style: italic; color: var(--bark); }

.card-title-lg {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--deep);
  margin-bottom: 1rem;
}

.card-title-lg em { font-style: italic; color: var(--bark); }

.card-desc {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: var(--bark);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ==========================================================================
   TEXT LINKS
   ========================================================================== */
.text-link {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep);
  border-bottom: 0.5px solid var(--stone);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  display: inline-block;
}

.text-link:hover { border-color: var(--deep); }

/* ==========================================================================
   GRANDMOTHER DIVIDER
   ========================================================================== */
.divider-quote {
  padding: 6rem 5rem;
  border-top: 0.5px solid var(--stone);
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.grandmother-accent {
  border-right: 0.5px solid var(--stone);
  padding-right: 5rem;
}

.grandmother-line {
  display: block;
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  font-style: italic;
  color: var(--deep);
  line-height: 1.15;
}

.grandmother-attr {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 1.5rem;
}

.divider-body {
  padding-left: 5rem;
}

.divider-body-text {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
  color: var(--deep);
  line-height: 1.75;
}

.divider-body-text em { font-style: italic; color: var(--bark); }

/* ==========================================================================
   PAINT PARTNERS
   ========================================================================== */
.paint-partners {
  padding: 2rem 0 0;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.partners-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.partners-names {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--bark);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-section {
  padding: 6rem 5rem;
  border-top: 0.5px solid var(--stone);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

.about-image {
  padding-right: 5rem;
  border-right: 0.5px solid var(--stone);
}

.about-image img {
  width: 100%;
  display: block;
  filter: grayscale(20%);
}

.about-text {
  padding-left: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-body {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  color: var(--deep);
  line-height: 1.75;
}

/* ==========================================================================
   LIMINAILS
   ========================================================================== */
.liminails-section {
  padding: 5rem;
  border-top: 0.5px solid var(--stone);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.liminails-text { padding-right: 4rem; }

.liminails-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 1.5rem;
}

.liminails-h2 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--deep);
  margin-bottom: 1.5rem;
}

.liminails-desc {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--bark);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.liminails-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-left: 0.5px solid var(--stone);
  padding-left: 4rem;
}

.nail-placeholder {
  background: var(--cream);
  aspect-ratio: 3/4;
  border: 0.5px solid var(--stone);
}

.nail-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   EMAIL SIGNUP
   ========================================================================== */
.email-section {
  padding: 5rem;
  border-top: 0.5px solid var(--stone);
  text-align: center;
}

.email-section .section-label {
  margin-bottom: 1.5rem;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 2rem auto 0;
}

.email-input {
  flex: 1;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  color: var(--deep);
  background: transparent;
  border: 0.5px solid var(--stone);
  border-right: none;
  padding: 14px 20px;
  outline: none;
}

.email-input::placeholder { color: var(--stone); }

.email-submit {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--deep);
  border: 0.5px solid var(--deep);
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.email-submit:hover { background: var(--bark); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 2rem 5rem;
  border-top: 0.5px solid var(--stone);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--bark); }

/* ==========================================================================
   WORDPRESS CONTENT — Blog, pages, default templates
   ========================================================================== */
.site-content {
  padding: 5rem;
  max-width: 720px;
  margin: 0 auto;
}

.site-content h1 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--deep);
  margin-bottom: 2rem;
}

.site-content h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--deep);
  margin: 2.5rem 0 1rem;
}

.site-content h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--deep);
  margin: 2rem 0 0.75rem;
}

.site-content p {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  color: var(--deep);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.site-content a {
  color: var(--bark);
  border-bottom: 0.5px solid var(--stone);
  transition: border-color 0.2s;
}

.site-content a:hover { border-color: var(--deep); }

.site-content blockquote {
  border-left: 0.5px solid var(--stone);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--bark);
}

.site-content ul, .site-content ol {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  margin: 0 0 1.5rem 1.5rem;
}

.site-content img {
  margin: 2rem 0;
}

/* Post meta */
.post-meta {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 2rem;
}

/* Post listing */
.post-list article {
  padding: 3rem 0;
  border-bottom: 0.5px solid var(--stone);
}

.post-list article:first-child { padding-top: 0; }

.post-list .post-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--deep);
  margin-bottom: 0.5rem;
}

.post-list .post-title a { border-bottom: none; }
.post-list .post-title a:hover { color: var(--bark); }

.post-list .post-excerpt {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: var(--bark);
  line-height: 1.7;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 3rem 0;
}

.pagination a, .pagination span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--bark);
  padding: 8px 14px;
  border: 0.5px solid var(--stone);
  transition: all 0.2s;
}

.pagination a:hover { border-color: var(--bark); color: var(--deep); }
.pagination .current { background: var(--deep); color: var(--warm-white); border-color: var(--deep); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .site-nav { padding: 1.5rem; }
  .nav-links { display: none; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }

  .hero { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-text { padding: 3rem 2rem; border-right: none; }
  .hero-h1 { font-size: 42px; }

  .section { padding: 4rem 2rem; }
  .card-grid { grid-template-columns: 1fr; }
  .card { border-right: none; border-bottom: 0.5px solid var(--stone); }

  .divider-quote { grid-template-columns: 1fr; padding: 4rem 2rem; }
  .grandmother-accent { border-right: none; padding-right: 0; border-bottom: 0.5px solid var(--stone); padding-bottom: 3rem; margin-bottom: 3rem; }
  .grandmother-line { font-size: 36px; }
  .divider-body { padding-left: 0; }

  .about-section { grid-template-columns: 1fr; padding: 4rem 2rem; }
  .about-image { padding-right: 0; border-right: none; border-bottom: 0.5px solid var(--stone); padding-bottom: 3rem; margin-bottom: 3rem; }
  .about-text { padding-left: 0; }

  .liminails-section { grid-template-columns: 1fr; padding: 4rem 2rem; }
  .liminails-text { padding-right: 0; margin-bottom: 3rem; }
  .liminails-images { border-left: none; padding-left: 0; border-top: 0.5px solid var(--stone); padding-top: 3rem; }

  .site-footer { padding: 2rem 1.5rem; flex-direction: column; gap: 1rem; }

  .site-content { padding: 3rem 2rem; }
  .site-content h1 { font-size: 32px; }

  .email-section { padding: 4rem 2rem; }
  .email-form { flex-direction: column; }
  .email-input { border-right: 0.5px solid var(--stone); }
}
