
:root {
  --paper: #f4efe6;
  --ink: #1a1714;
  --ink-soft: #3d3630;
  --rule: #1a1714;
  --accent: #b8441f;
  --muted: #7a6f63;
  --cream: #ebe4d5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.display { font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.02em; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 2.5rem; }

/* Header */
header {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 100;
}
.nav { display: flex; justify-content: space-between; align-items: baseline; }
.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}
.logo svg {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}
.logo span.accent { color: var(--accent); }
.nav ul { list-style: none; display: flex; gap: 2.5rem; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
}
.nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 7rem 0 6rem; border-bottom: 1px solid var(--rule); position: relative; }
.hero-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4rem;
  color: var(--muted);
}
.hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin-bottom: 3rem;
  text-transform: none;
}
.hero h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}
.hero-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-top: 2rem;
}
.hero-lede {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 42ch;
  color: var(--ink-soft);
}
.hero-cta { text-align: right; }
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 1.1rem 2.2rem;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid var(--ink);
  transition: all 0.3s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Manifesto */
.manifesto { padding: 6rem 0; border-bottom: 1px solid var(--rule); }
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: block;
}
.manifesto-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; }
.manifesto h2 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.manifesto-body p {
  font-size: 1.3rem;
  line-height: 1.55;
  font-family: 'Fraunces', serif;
  font-weight: 300;
  margin-bottom: 1.5rem;
  max-width: 58ch;
}
.manifesto-body p:last-child { margin-bottom: 0; }
.manifesto-body em { font-style: italic; color: var(--accent); }

/* Services */
.services { padding: 6rem 0; border-bottom: 1px solid var(--rule); }
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}
.services h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.services-head p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 45ch;
}
.service-list { border-top: 1px solid var(--rule); }
.service {
  border-bottom: 1px solid var(--rule);
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 80px 1fr 2fr 180px;
  gap: 2rem;
  align-items: baseline;
  transition: background 0.3s ease;
  cursor: pointer;
}
.service:hover { background: var(--cream); padding-left: 1rem; padding-right: 1rem; }
.service-num {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
}
.service-name {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.service-desc { font-size: 1rem; color: var(--ink-soft); line-height: 1.5; }
.service-price {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  text-align: right;
  color: var(--ink);
}
.service-price span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: 'Inter Tight', sans-serif;
  margin-bottom: 0.3rem;
}

/* Suite */
.suite { padding: 6rem 0; border-bottom: 1px solid var(--rule); background: var(--ink); color: var(--paper); }
.suite .section-label { color: #d67355; }
.suite-head { margin-bottom: 4rem; max-width: 60ch; }
.suite h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.suite h2 em { font-style: italic; color: #d67355; }
.suite-head p { font-size: 1.15rem; line-height: 1.6; opacity: 0.85; }
.suite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244, 239, 230, 0.2);
}
.suite-item {
  padding: 2.5rem 2rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.2);
  border-right: 1px solid rgba(244, 239, 230, 0.2);
}
.suite-item:nth-child(3n) { border-right: none; padding-right: 0; }
.suite-item:nth-child(3n+1) { padding-left: 0; }
.suite-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}
.suite-item h3 span { color: #d67355; font-style: italic; font-weight: 300; }
.suite-item p { font-size: 0.95rem; opacity: 0.75; line-height: 1.55; }

/* Pull quote */
.pull { padding: 8rem 0; border-bottom: 1px solid var(--rule); text-align: center; }
.pull blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 auto;
}
.pull blockquote::before { content: '"'; color: var(--accent); }
.pull blockquote::after { content: '"'; color: var(--accent); }

/* CTA */
.cta { padding: 7rem 0; border-bottom: 1px solid var(--rule); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.cta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.cta h2 em { font-style: italic; color: var(--accent); }
.cta-body p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 42ch;
}
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Footer */
footer { padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.9rem; color: var(--muted); max-width: 30ch; }
.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  color: var(--accent);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .wrap { padding: 0 1.5rem; }
  .nav ul { display: none; }
  .hero-foot, .manifesto-grid, .services-head, .cta-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-cta { text-align: left; }
  .suite-grid { grid-template-columns: 1fr; }
  .suite-item { border-right: none; padding-left: 0 !important; }
  .service { grid-template-columns: 1fr; gap: 0.8rem; padding: 2rem 0; }
  .service-price { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}
/* ========================================
   PAGE TEMPLATE STYLES
   ======================================== */

.template-page .content-section {
    padding: 4rem 0;
}

.template-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.template-page .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.template-page .page-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.template-page .page-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
}

.template-page .page-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.template-page .page-content p {
    margin-bottom: 1.25rem;
}

.template-page .page-content a {
    color: var(--color-primary, var(--blue, #0088FF));
    text-decoration: none;
}

.template-page .page-content a:hover {
    text-decoration: underline;
}

.template-error .content-section {
    padding: 6rem 0;
    text-align: center;
}

/* Contact form on pages */
.ep-contact-form-wrapper {
    max-width: 600px;
    margin: 2rem auto;
}

.ep-contact-form input[type="text"],
.ep-contact-form input[type="email"],
.ep-contact-form textarea {
    background: var(--color-card, var(--card-bg, #16213E));
    color: var(--color-text, var(--grey-text, #B0B0C0));
    border: 1px solid var(--color-border, #2A2A4A);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.ep-contact-form input:focus,
.ep-contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary, var(--blue, #0088FF));
}

.ep-contact-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.ep-contact-form .form-field {
    margin-bottom: 1.5rem;
}

.ep-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.ep-contact-form button,
.ep-contact-form input[type="submit"] {
    background: var(--color-primary, var(--blue, #0088FF));
    color: #fff;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ep-contact-form button:hover {
    background: var(--color-primary-hover, #0077E6);
}

/* Container padding (prevents content running to browser edge) */
.container, .section-inner, [class*="-inner"] {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}
section, [class*="section"] {
    overflow-x: hidden;
}

.site-footer {
    position: relative;
    z-index: 1;
}

/* Base button styles (AI-generated HTML uses .button with variant classes) */
.button, a.button,
a.btn-primary, a.btn-secondary, a.btn-dark, a.btn-outline, a.btn-light {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1.4;
}

.button:not([class*="outline"]):not([class*="secondary"]):not([class*="light"]),
.btn-primary {
    background: var(--color-primary, var(--color-accent, #2196f3));
    color: #fff !important;
    border: 2px solid var(--color-primary, var(--color-accent, #2196f3));
}
.button:not([class*="outline"]):not([class*="secondary"]):not([class*="light"]):hover,
.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: transparent;
    color: inherit;
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
    border-color: rgba(255,255,255,0.7);
}

.btn-dark {
    background: var(--color-dark, var(--color-navy, #1a1a2e));
    color: #fff !important;
    border: 2px solid var(--color-dark, var(--color-navy, #1a1a2e));
}
.btn-dark:hover { opacity: 0.9; }

.button.btn-outline, .button[class*="outline"],
.btn-outline {
    background: transparent;
    border: 2px solid currentColor;
}
.button[class*="outline"]:hover, .btn-outline:hover {
    opacity: 0.8;
}

.btn-light {
    background: var(--color-cream, var(--color-white, #fff));
    color: var(--color-text, #1a1a2e) !important;
    border: 2px solid var(--color-cream, var(--color-white, #fff));
}
.btn-light:hover { opacity: 0.9; }

a.read-more, .read-more {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-primary, var(--color-accent, #2196f3));
    padding: 0.5rem 0;
    border-bottom: 2px solid currentColor;
    transition: opacity 0.2s;
}
.read-more:hover { opacity: 0.7; }

a[class*="hero-btn"] {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.hero-cta, .hero-actions, .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}