/* AI Skills SG — Orchid Noir Design System */
:root {
  --ink: #12101A;
  --plum: #2A2033;
  --orchid: #B54C9B;
  --gold: #C9A227;
  --ivory: #F5F0E8;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orchid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }

/* Surfaces */
.surface-ink { background: var(--ink); color: var(--ivory); }
.surface-ivory { background: var(--ivory); color: var(--ink); }
.surface-plum { background: var(--plum); color: var(--ivory); }
.surface-orchid { background: var(--orchid); color: var(--ivory); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.04em;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active { color: var(--gold); }

/* Hero ATELIER EDITORIAL */
.hero-atelier {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-atelier .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 1.5rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero-hairline {
  flex: 1;
  height: 1px;
  background: var(--gold);
  margin: 0 1rem;
}

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.hero-rule {
  border: none;
  height: 1px;
  background: var(--gold);
  margin: 0 0 2rem;
  max-width: 100%;
}

.hero-atelier h1 { margin-bottom: 1.5rem; }
.hero-atelier h1 em {
  font-style: italic;
  color: var(--orchid);
}

.hero-lead {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--orchid);
  color: var(--ivory);
}

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--ink);
}

.hero-image-wrap {
  position: relative;
  margin-top: 3rem;
}

.hero-image-wrap img {
  width: 100%;
  border: 3px solid var(--gold);
  box-shadow: 12px 12px 0 rgba(201, 162, 39, 0.15);
}

.trust-strip {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.3);
}

.trust-item {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.75;
}

.trust-item strong {
  display: block;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

/* Sections */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orchid);
  margin-bottom: 0.75rem;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.card {
  padding: 2rem;
  border: 1px solid rgba(18, 16, 26, 0.1);
  background: var(--ivory);
  transition: border-color var(--transition);
}

.surface-plum .card,
.surface-ink .card {
  background: rgba(245, 240, 232, 0.05);
  border-color: rgba(201, 162, 39, 0.2);
  color: var(--ivory);
}

.card:hover { border-color: var(--orchid); }

.card-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.image-frame {
  border: 2px solid var(--gold);
  overflow: hidden;
}

.image-frame img { width: 100%; }

/* Programs list */
.program-item {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(18, 16, 26, 0.12);
}

.program-item:last-child { border-bottom: none; }

.program-item h3 { color: var(--orchid); }

/* Services pricing */
.price-tag {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: 0.5rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(18, 16, 26, 0.12);
  padding: 1.5rem 0;
}

.faq-item h3 {
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item h3::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--orchid);
  transition: transform var(--transition);
}

.faq-item.open h3::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer { max-height: 600px; padding-top: 1rem; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(18, 16, 26, 0.2);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orchid);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.checkbox-group input { width: auto; margin-top: 0.25rem; }

.form-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

/* Legal content */
.legal-content h2 { margin-top: 2.5rem; }
.legal-content h3 { margin-top: 1.5rem; }
.legal-content ul, .legal-content ol { margin: 1rem 0 1rem 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; }

/* Disclaimer */
.disclaimer {
  font-size: 0.8rem;
  opacity: 0.75;
  padding: 1rem;
  border-left: 2px solid var(--gold);
  margin: 2rem 0;
}

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(201, 162, 39, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.9rem; opacity: 0.85; margin-top: 0.75rem; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--ivory); opacity: 0.8; font-size: 0.9rem; }
.footer-col a:hover { opacity: 1; color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--plum);
  color: var(--ivory);
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

.cookie-text { flex: 1; min-width: 280px; font-size: 0.9rem; }
.cookie-text a { color: var(--gold); }

.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.cookie-actions .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
}

.btn-cookie-accept { background: var(--gold); color: var(--ink); }
.btn-cookie-reject { background: transparent; border: 1px solid var(--ivory); color: var(--ivory); }
.btn-cookie-customise { background: var(--orchid); color: var(--ivory); }

.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(18, 16, 26, 0.7);
  align-items: center;
  justify-content: center;
}

.cookie-modal.visible { display: flex; }

.cookie-modal-content {
  background: var(--ivory);
  color: var(--ink);
  padding: 2rem;
  max-width: 480px;
  width: 90%;
  border: 2px solid var(--gold);
}

.cookie-modal-content h3 { margin-bottom: 1rem; }

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(18,16,26,0.1);
}

.cookie-option label { font-size: 0.9rem; }

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-page h1 { margin-bottom: 1rem; }

/* Thanks page */
.thanks-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 600px; margin: 0 auto; opacity: 0.9; }

/* Responsive */
@media (max-width: 900px) {
  .hero-atelier .container,
  .grid-2,
  .grid-3,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-image-wrap { margin-top: 0; order: -1; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .hero-cta-group { flex-direction: column; }
  .btn { width: 100%; }
}
