@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --paper: #F2E9DD;
  --cream: #E9DCCB;
  --card: #F8F2E8;
  --sand: #BE9F84;
  --sand-deep: #6E5140;
  --mocha: #4A3527;
  --ink: #1F1A16;
  --ink-soft: #6B5A4A;
  --hand: #F7E7CC;
  --butter: #E9CB3F;
  --line: rgba(31,26,22,.14);
  --radius: 18px;
  --maxw: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.22rem; line-height: 1.25; }
h4 { font-size: 1.05rem; }

p {
  margin: 0 0 1em;
}

.hand {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--sand-deep);
}

.hand.light {
  color: var(--hand);
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  display: block;
}

.mark {
  background: linear-gradient(transparent 52%, rgba(233,203,63,0.78) 52%, rgba(233,203,63,0.78) 94%, transparent 94%);
  padding: 0 0.08em;
  white-space: nowrap;
}

/* ---------- Navigation ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(242, 233, 221, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
  position: relative;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo span {
  color: var(--sand-deep);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: 36px;
}

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

.nav-links > li {
  position: relative;
}

.nav-links > li.nav-item-dropdown {
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.nav-links a,
.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 8px 6px;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 0.93rem;
  color: var(--ink-soft);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
  line-height: 1;
}

.nav-links a:hover,
.nav-dropdown-toggle:hover,
.nav-item-dropdown.is-open > .nav-dropdown-toggle {
  color: var(--ink);
}

.nav-chevron {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
  display: inline-block;
  opacity: 0.7;
}

.nav-item-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu Panel */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(31, 26, 22, 0.12);
  padding: 8px;
  min-width: 320px;
  max-width: 380px;
  z-index: 1010;
}

/* Invisible hover bridge: covers any mouse gap between button and menu */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
  background: transparent;
}

.dropdown-menu-wide {
  min-width: 360px;
}

.nav-item-dropdown.is-open .dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: navFadeIn 0.18s ease forwards;
}

@keyframes navFadeIn {
  from { opacity: 0; transform: translate(-50%, -4px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (min-width: 861px) {
  .nav-item-dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .nav-item-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
  }
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.dropdown-item:hover {
  background: var(--cream);
}

.dropdown-title {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}

.dropdown-price {
  display: none !important;
}

.tm-nav-status-badge {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 50px;
  margin-left: 8px;
  vertical-align: 2px;
  line-height: 1.3;
}
.tm-nav-status-badge.tm-status-upcoming {
  background: var(--cream);
  color: var(--sand-deep);
  border: 1px solid var(--line);
}
.tm-nav-status-badge.tm-status-open {
  background: rgba(34, 197, 94, 0.15);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.tm-nav-status-badge.tm-status-closed {
  background: rgba(31, 26, 22, 0.07);
  color: var(--ink-soft);
  border: 1px solid transparent;
}

.dropdown-desc {
  display: block;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 0.83rem;
  color: var(--ink-soft);
  line-height: 1.42;
  margin: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav .login {
  text-decoration: none;
  font-size: 0.91rem;
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav .login:hover {
  background: var(--cream);
}

.nav a.back {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a.back:hover {
  color: var(--ink);
}

/* Mobile Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  z-index: 1020;
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-hamburger.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav {
    height: 60px;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 16px;
    box-shadow: 0 12px 30px rgba(31, 26, 22, 0.1);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    margin-left: 0;
  }
  .nav-menu.is-mobile-open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 0;
  }
  .nav-actions {
    margin-left: 0;
  }
  .nav-links > li {
    width: 100%;
  }
  .nav-links a,
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 10px 8px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(31, 26, 22, 0.06);
  }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--card);
    margin-top: 4px;
    padding: 8px;
    max-width: 100%;
    width: 100%;
  }
  .nav-item-dropdown.is-open .dropdown-menu {
    display: flex;
  }
  .nav-actions {
    padding-top: 8px;
    justify-content: center;
  }
  .nav .login {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,23,20,0.12);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: #2c2721;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--cream);
}

.btn-light {
  background: var(--hand);
  color: var(--ink);
}

.btn-accent {
  background: var(--butter);
  color: var(--ink);
  font-weight: 600;
}

.btn-accent:hover {
  background: #deb826;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(26,23,20,0.08);
}

.card .num {
  font-family: 'Caveat', cursive;
  font-size: 1.7rem;
  color: var(--sand-deep);
  line-height: 1;
}

.card h3 {
  margin: 10px 0 12px;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  flex: 1;
}

.card .price {
  font-size: 0.95rem;
  font-weight: 500;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 8px;
}

/* ---------- Sections ---------- */
section {
  padding: 88px 0;
}

.sec-head {
  max-width: 38em;
  margin-bottom: 44px;
}

.sec-head p {
  color: var(--ink-soft);
  margin-top: 14px;
}

.bg-cream { background: var(--cream); }
.bg-mocha { background: var(--mocha); color: var(--hand); }
.bg-mocha h2, .bg-mocha h3 { color: #FDF6EA; }
.bg-mocha .sec-head p { color: rgba(247,231,204,0.8); }
.bg-mocha .eyebrow { color: var(--sand); }

/* ---------- Forms & Inputs ---------- */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}

input, textarea, select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--sand-deep);
  box-shadow: 0 0 0 3px rgba(110, 81, 64, 0.12);
}

input::placeholder, textarea::placeholder {
  color: rgba(31,26,22,0.38);
}

.status-msg, .msg {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  display: none;
}

.status-msg.success, .msg.ok {
  background: #e6f4ea;
  border: 1px solid #ceead6;
  color: #137333;
  display: block;
}

.status-msg.error, .msg.err {
  background: #fce8e6;
  border: 1px solid #fad2cf;
  color: #c5221f;
  display: block;
}

/* ---------- Tables ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  color: var(--ink);
}

td {
  color: var(--ink-soft);
}

/* ---------- Button reset helper ---------- */
button.lnk, .lnk {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  outline: none;
  text-decoration: none;
}

/* ---------- User Account Panel Widget ---------- */
.user-menu-wrap {
  position: relative;
  display: inline-block;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.user-menu-btn:hover,
.user-menu-wrap.is-open .user-menu-btn {
  border-color: var(--sand-deep);
  background: var(--cream);
  box-shadow: 0 2px 10px rgba(31,26,22,0.06);
}

.user-avatar-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sand-deep);
  color: #FAF6EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
  overflow: hidden;
}

.user-avatar-badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.ivy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 26, 22, 0.45);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ivy-modal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  margin: auto;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(31, 26, 22, 0.2);
  position: relative;
  animation: modalFadeIn 0.2s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ivy-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
}
.ivy-modal-close:hover {
  color: var(--ink);
  background: var(--cream);
}

.user-email-label {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
  color: var(--ink);
  font-weight: 500;
}

.user-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-top: -3px;
}

.user-menu-wrap.is-open .user-chevron {
  transform: rotate(-135deg);
  margin-top: 1px;
}

.user-menu-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(31, 26, 22, 0.14);
  padding: 10px;
  min-width: 270px;
  z-index: 1050;
  animation: navFadeIn 0.16s ease forwards;
}

.user-menu-wrap.is-open .user-menu-dropdown {
  display: block;
}

.user-menu-header {
  padding: 8px 10px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.user-menu-header .user-subhead {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 3px;
}

.user-menu-header .user-email {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
  margin-bottom: 6px;
}

.user-plan-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--sand-deep);
  border: 1px solid var(--line);
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
  box-sizing: border-box;
}

.user-menu-item:hover {
  background: var(--cream);
  color: var(--ink);
}

.user-menu-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--sand-deep);
  flex-shrink: 0;
}

.user-menu-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 0;
}

.user-menu-item.logout {
  color: #b91c1c;
}

.user-menu-item.logout svg {
  stroke: #b91c1c;
}

.user-menu-item.logout:hover {
  background: rgba(185, 28, 28, 0.08);
}

/* ---------- Google Sign-In Button ---------- */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #1f1a16;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 1px 3px rgba(31, 26, 22, 0.06);
}

.btn-google:hover {
  background: #fafafa;
  border-color: var(--sand-deep);
  box-shadow: 0 4px 12px rgba(31, 26, 22, 0.08);
}

.btn-google svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
footer {
  background: var(--cream);
  padding: 56px 0 36px;
  font-size: 0.93rem;
}

.f-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.f-grid a {
  color: var(--ink-soft);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.f-grid a:hover {
  color: var(--ink);
}

footer a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}

footer a:hover {
  color: var(--ink);
}

.f-bottom {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 20px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.f-bottom a {
  display: inline-block;
  margin: 0 6px;
}

.f-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.f-inline a {
  display: inline-block;
  margin: 0;
}


/* ==========================================================================
   ORIGINAL GEMINI AI CHAT WITH IVY WIDGET STYLES (STRICT CANONICAL)
   ========================================================================== */
#ivy-chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1F1A16;
  color: #F8F2E8;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 12px 22px;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(26, 23, 20, 0.28);
  transition: all .2s cubic-bezier(.2,.8,.4,1);
}
#ivy-chat-launcher:hover {
  transform: translateY(-2px);
  background: #2C241F;
  box-shadow: 0 14px 40px rgba(26, 23, 20, 0.35);
}
#ivy-chat-launcher .ivy-leaf {
  font-size: 1.15rem;
  display: inline-block;
  transition: transform .2s ease;
}
#ivy-chat-launcher:hover .ivy-leaf {
  transform: rotate(-10deg) scale(1.1);
}
#ivy-chat-launcher .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52B788;
  box-shadow: 0 0 0 0 rgba(82, 183, 136, 0.7);
  animation: ivyPulse 2s infinite;
}
@keyframes ivyPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(82, 183, 136, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(82, 183, 136, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(82, 183, 136, 0); }
}

#ivy-chat-modal {
  position: fixed;
  bottom: 86px;
  right: 24px;
  z-index: 10000;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 110px);
  background: #FAF7F2;
  border: 1px solid rgba(31, 26, 22, 0.14);
  border-radius: 20px;
  box-shadow: 0 20px 54px rgba(26, 23, 20, 0.24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.97);
  transition: all .25s cubic-bezier(.2,.8,.4,1);
}
#ivy-chat-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.ivy-modal-header {
  padding: 14px 18px;
  background: #1F1A16;
  color: #F8F2E8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ivy-modal-header .ivy-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ivy-modal-header .ivy-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(82, 183, 136, 0.18);
  border: 1px solid rgba(82, 183, 136, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.ivy-modal-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
  color: #FAF7F2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ivy-modal-header .mentor-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(82, 183, 136, 0.2);
  color: #74C69D;
  border: 1px solid rgba(82, 183, 136, 0.3);
  font-family: 'Jost', sans-serif;
  font-weight: 600;
}
.ivy-modal-header p {
  font-size: 0.78rem;
  margin: 2px 0 0;
  color: rgba(248, 242, 232, 0.65);
}
.ivy-modal-header .ivy-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ivy-modal-header button {
  background: transparent;
  border: none;
  color: rgba(248, 242, 232, 0.65);
  font-size: 1.1rem;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}
.ivy-modal-header button:hover {
  background: rgba(255,255,255,0.1);
  color: #FFF;
}
.ivy-chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #FAF7F2;
}
.ivy-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 90%;
}
.ivy-msg-row.ivy-msg-user {
  margin-left: auto;
  flex-direction: row-reverse;
}
.ivy-msg-bubble {
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  word-break: break-word;
}
.ivy-msg-ivy .ivy-msg-bubble {
  background: #FFFFFF;
  color: #1F1A16;
  border: 1px solid rgba(31, 26, 22, 0.08);
  box-shadow: 0 2px 8px rgba(26, 23, 20, 0.04);
  border-top-left-radius: 4px;
}
.ivy-msg-user .ivy-msg-bubble {
  background: #1F1A16;
  color: #FAF7F2;
  border-top-right-radius: 4px;
}
.ivy-msg-bubble p {
  margin: 0 0 8px;
}
.ivy-msg-bubble p:last-child {
  margin-bottom: 0;
}
.ivy-msg-bubble strong {
  color: #1F1A16;
  font-weight: 600;
}
.ivy-msg-user .ivy-msg-bubble strong {
  color: #F8F2E8;
}
.ivy-msg-bubble ul, .ivy-msg-bubble ol {
  margin: 6px 0;
  padding-left: 20px;
}
.ivy-msg-bubble li {
  margin-bottom: 4px;
}
.ivy-msg-bubble a {
  color: #2D6A4F;
  text-decoration: underline;
  font-weight: 500;
}
.ivy-quick-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.ivy-chip-btn {
  background: #FFFFFF;
  border: 1px solid rgba(110, 81, 64, 0.22);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.8rem;
  text-align: left;
  color: #4A3527;
  cursor: pointer;
  transition: all .15s ease;
  font-family: 'Jost', sans-serif;
  line-height: 1.35;
}
.ivy-chip-btn:hover {
  background: #F2E9DD;
  border-color: #6E5140;
  color: #1F1A16;
}
.ivy-typing-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(31, 26, 22, 0.08);
  border-radius: 14px;
  font-size: 0.8rem;
  color: #6B5A4A;
  width: fit-content;
}
.ivy-chat-footer {
  padding: 12px 14px;
  background: #FFFFFF;
  border-top: 1px solid rgba(31, 26, 22, 0.08);
  display: flex;
  gap: 8px;
  align-items: center;
}
.ivy-chat-footer input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(31, 26, 22, 0.16);
  background: #FAF7F2;
  font-family: 'Jost', sans-serif;
  font-size: 0.86rem;
  color: #1F1A16;
  outline: none;
  transition: border-color .15s ease;
}
.ivy-chat-footer input:focus {
  border-color: #2D6A4F;
  background: #FFFFFF;
}
.ivy-chat-footer button {
  background: #1F1A16;
  color: #F8F2E8;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s ease;
}
.ivy-chat-footer button:hover {
  background: #2C241F;
}
.ivy-chat-footer button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 480px) {
  #ivy-chat-modal {
    right: 16px;
    bottom: 80px;
    width: calc(100vw - 32px);
    height: calc(100vh - 120px);
  }
  #ivy-chat-launcher {
    right: 16px;
    bottom: 18px;
    padding: 10px 18px;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   NEW LANDING & CATALOG EXTENSIONS (SEPTEMBER 2026)
   ========================================================================== */
/* IVY SYSTEM — MASTER BRAND STYLESHEET (SEPTEMBER 2026) */
:root {
  --paper: #F2E9DD;
  --cream: #E9DCCB;
  --card: #F8F2E8;
  --card-alt: #F3EBDD;
  --sand: #BE9F84;
  --sand-deep: #6E5140;
  --mocha: #4A3527;
  --ink: #1F1A16;
  --ink-soft: #6B5A4A;
  --ink-muted: #8F7C6D;
  --hand: #F7E7CC;
  --butter: #E9CB3F;
  --pink: #E82D89;
  --terracotta: #A35638;
  --olive: #5B6B4E;
  --line: rgba(31, 26, 22, 0.12);
  --line-strong: rgba(31, 26, 22, 0.22);
  --shadow-sm: 0 2px 8px rgba(31, 26, 22, 0.05);
  --shadow-md: 0 8px 24px rgba(31, 26, 22, 0.08);
  --shadow-lg: 0 16px 40px rgba(31, 26, 22, 0.12);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1120px;
  --maxw-narrow: 760px;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Jost', system-ui, -apple-system, sans-serif;
  --font-hand: 'Caveat', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Container */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin-bottom: 12px; }
h4 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }

p { margin-bottom: 16px; color: var(--ink-soft); }
p.lead { font-size: 1.22rem; line-height: 1.6; color: var(--ink); font-weight: 400; }
p:last-child { margin-bottom: 0; }

.hand-note {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--sand-deep);
  transform: rotate(-1.5deg);
  display: inline-block;
  line-height: 1.2;
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
}
.badge-butter { background: var(--butter); color: var(--ink); font-weight: 600; }
.badge-sand { background: var(--sand); color: #fff; }
.badge-outline { background: transparent; border-color: var(--ink); }

/* Header & Nav */
.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 233, 221, 0.94);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-logo span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--sand-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 4px;
}
.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--sand-deep); }

/* Universal Dropdown Navigation */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-item-dropdown {
  position: relative;
}
.nav-dropdown-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn.active {
  background: var(--cream);
  color: var(--sand-deep);
}
.nav-dropdown-btn .chevron {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}
.nav-item-dropdown:hover .nav-dropdown-btn .chevron {
  transform: rotate(180deg);
}
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(45,39,34,0.12);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
}
.nav-item-dropdown:hover .dropdown-panel,
.nav-item-dropdown:focus-within .dropdown-panel {
  display: flex;
}
.dropdown-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease;
}
.dropdown-link:hover {
  background: var(--card);
}
.dropdown-link strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.dropdown-link span {
  font-size: 0.76rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.dropdown-link.active strong {
  color: var(--sand-deep);
}
.nav-link-login {
  padding: 7px 18px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  margin-left: 8px;
  transition: all 0.15s ease;
}
.nav-link-login:hover {
  background: var(--ink);
  color: #FFF;
}
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.mobile-nav-panel {
  display: none;
  background: #FFF;
  border-top: 1px solid var(--line);
  padding: 20px 24px 28px;
}
.mobile-nav-panel.open {
  display: block;
}
.mobile-nav-section {
  margin-bottom: 16px;
}
.mobile-nav-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sand-deep);
  font-weight: 600;
  margin-bottom: 6px;
}
.mobile-nav-section a {
  display: block;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav-section a.active {
  font-weight: 600;
  color: var(--sand-deep);
}
@media (max-width: 960px) {
  .nav-links-desktop { display: none !important; }
  .mobile-toggle { display: flex !important; }
}

/* Chat with Ivy — Floating Button & Modal */
.ivy-chat-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 18px 8px 10px;
  box-shadow: 0 8px 24px rgba(31, 26, 22, 0.12);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans);
  text-decoration: none;
}
.ivy-chat-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(31, 26, 22, 0.18);
  border-color: var(--ink);
}
.ivy-chat-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.ivy-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ivy-chat-status {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  background: #2E7D32;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}
.ivy-chat-label {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.ivy-chat-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.ivy-chat-sub {
  font-size: 0.72rem;
  color: var(--ink-soft);
  line-height: 1.2;
}

/* Chat Drawer / Modal */
.ivy-chat-modal {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(31, 26, 22, 0.2);
  z-index: 10000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: ivyChatIn 0.22s ease-out forwards;
}
.ivy-chat-modal.open {
  display: flex;
}
@keyframes ivyChatIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ivy-chat-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ivy-chat-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ivy-chat-profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.ivy-chat-close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 4px;
  line-height: 1;
}
.ivy-chat-close-btn:hover { color: var(--ink); }
.ivy-chat-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 440px;
  overflow-y: auto;
}
.ivy-chat-bubble-ivy {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 2px;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.45;
}
.ivy-chat-quick-opts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ivy-chat-chip {
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 12px;
  font-size: 0.78rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ivy-chat-chip:hover {
  background: var(--card);
  border-color: var(--ink);
}
.ivy-chat-form {
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  background: #FAFAFA;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ivy-chat-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  font-size: 0.85rem;
  font-family: inherit;
  resize: none;
  box-sizing: border-box;
}
.ivy-chat-input-row {
  display: flex;
  gap: 6px;
}
.ivy-chat-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-family: inherit;
}
.ivy-chat-send-btn {
  background: var(--ink);
  color: #FFF;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.ivy-chat-send-btn:hover {
  background: #000;
}
.ivy-chat-success-msg {
  display: none;
  padding: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: #2E7D32;
  background: #edf3ec;
  border-radius: 12px;
}


/* Buttons & CTA */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  background: #dfd1be;
}
.btn-butter {
  background: var(--butter);
  color: var(--ink);
  font-weight: 600;
}
.btn-butter:hover {
  background: #f0d557;
  transform: translateY(-1px);
}
.btn-large {
  padding: 18px 36px;
  font-size: 1.12rem;
}
.btn-full { width: 100%; }

/* Input Fields */
.input-group {
  display: flex;
  gap: 10px;
  max-width: 480px;
}
.input-text {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #FFF;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.input-text:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(31, 26, 22, 0.1);
}

/* Sections */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.section-cream { background: var(--cream); }
.section-card { background: var(--card); }

/* Hero Grids */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 60px 0 40px;
}
.hero-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 0 40px;
}

/* Cards & Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-flat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

/* Modules Accordion / List */
.module-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FFF;
  margin-bottom: 16px;
  overflow: hidden;
}
.module-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #FFF;
  transition: background 0.15s;
}
.module-header:hover { background: var(--card); }
.module-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--sand-deep);
  font-weight: 500;
}
.module-body {
  padding: 24px;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.lesson-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lesson-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #FFF;
  font-size: 0.92rem;
  border: 1px solid rgba(31, 26, 22, 0.06);
}
.lesson-duration {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* Studio Receipt Signature Component */
.receipt-card {
  background: #FFF;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  padding: 24px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.88rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.receipt-header {
  text-align: center;
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.receipt-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.receipt-total {
  border-top: 1px dashed var(--line-strong);
  padding-top: 10px;
  margin-top: 12px;
  font-weight: bold;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
}
.receipt-barcode {
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 4px;
  margin-top: 16px;
  opacity: 0.7;
}

/* Image Frames & Shadow */
.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.img-cover {
  width: 100%;
  height: auto;
  display: block;
}

/* Testimonial / Founder Quote */
.quote-box {
  background: var(--card);
  border-left: 3px solid var(--sand-deep);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}
.quote-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 12px;
}
.quote-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sand-deep);
}

/* Pricing Offer Box */
.pricing-box {
  background: #FFF;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--butter);
  color: var(--ink);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
}
.price-tag {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1;
  margin: 16px 0 8px;
  color: var(--ink);
}
.price-regular {
  text-decoration: line-through;
  color: var(--ink-muted);
  font-size: 1.4rem;
  margin-right: 8px;
}

/* FAQ Accordion */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-question::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: var(--sand-deep);
  transition: transform 0.2s;
}
.faq-item.active .faq-question::after {
  content: '−';
}
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  display: block;
}

/* Comparison Before/After Grid */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
}
.comparison-col {
  padding: 28px;
  border-radius: var(--radius);
}
.col-bad {
  background: #F8EBEB;
  border: 1px solid rgba(180, 50, 50, 0.2);
}
.col-good {
  background: #EBF4EB;
  border: 1px solid rgba(50, 150, 50, 0.2);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .input-group { flex-direction: column; }
  .btn-large { width: 100%; }
}


/* === PRESERVED LEGACY & AUTH STYLES === */
/* ---------- Google Sign-In Button ---------- */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #1f1a16;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 1px 3px rgba(31, 26, 22, 0.06);
}

.btn-google:hover {
  background: #fafafa;
  border-color: var(--sand-deep);
  box-shadow: 0 4px 12px rgba(31, 26, 22, 0.08);
}

.btn-google svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
footer {
  background: var(--cream);
  padding: 56px 0 36px;
  font-size: 0.93rem;
}

.f-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.f-grid a {
  color: var(--ink-soft);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.f-grid a:hover {
  color: var(--ink);
}

footer a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}

footer a:hover {
  color: var(--ink);
}

.f-bottom {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 20px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.f-bottom a {
  display: inline-block;
  margin: 0 6px;
}

.f-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.f-inline a {
  display: inline-block;
  margin: 0;
}

/* ---------- 1007 Art Departments 4x3 Gallery Grid ---------- */
.dept-grid-4x3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .dept-grid-4x3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .dept-grid-4x3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.dept-art-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(26, 23, 20, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dept-art-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(26, 23, 20, 0.08);
  border-color: rgba(26, 23, 20, 0.25);
}

.dept-art-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #F4F1EA;
}

.dept-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.dept-art-card:hover .dept-art-img {
  transform: scale(1.04);
}

.dept-art-meta {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #FFFFFF;
  border-top: 1px solid rgba(26, 23, 20, 0.06);
}

.dept-art-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sand-deep, #78716C);
}

.dept-art-title {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink, #1C1917);
  margin: 0;
}

