/*
Theme Name:  School Chalega
Theme URI:   https://schoolchalega.com
Author:      Shivam Chaturvedi
Author URI:  https://schoolchalega.com
Description: Official coming-soon / campaign-pending page theme for School Chalega. Clean, editorial design with a personal message from Shivam Chaturvedi.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: schoolchalega
Tags:        one-page, minimal, coming-soon, light, custom-colors
*/

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

/* =====================================================
   TOKENS
===================================================== */
:root {
  --ink:    #0E1117;
  --paper:  #F8F4EE;
  --gold:   #B8892A;
  --grey:   #6B7280;
  --border: rgba(184,137,42,.22);
  --white:  #ffffff;
}

/* =====================================================
   BASE
===================================================== */
html, body {
  height: 100%;
  font-family: 'Jost', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* =====================================================
   GRAIN TEXTURE
===================================================== */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .028;
  pointer-events: none;
}

/* Warm glow */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(184,137,42,.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(184,137,42,.05) 0%, transparent 65%);
  pointer-events: none;
}

/* =====================================================
   PAGE WRAPPER
===================================================== */
#sc-wrap {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* =====================================================
   HEADER
===================================================== */
.sc-header {
  padding: 28px 56px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  animation: sc-fade .7s ease both;
}

.sc-brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--ink); letter-spacing: -.01em;
}
.sc-brand span { color: var(--gold); }

.sc-header-tag {
  font-size: 10px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--grey); padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(107,114,128,.2);
}

/* =====================================================
   MAIN / HERO
===================================================== */
.sc-main {
  display: flex; align-items: center; justify-content: center;
  padding: 64px 24px;
}

.sc-content {
  max-width: 680px; width: 100%; text-align: center;
}

/* Ornament rule */
.sc-ornament {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 52px;
  animation: sc-fade .9s ease .1s both;
}
.sc-ornament::before, .sc-ornament::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border));
}
.sc-ornament::after { transform: scaleX(-1); }
.sc-ornament-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); opacity: .7;
}

/* Headline */
.sc-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6.5vw, 72px);
  font-weight: 400; line-height: 1.1;
  color: var(--ink); letter-spacing: -.02em;
  margin-bottom: 12px;
  animation: sc-rise .9s ease .2s both;
}
.sc-headline em { font-style: italic; color: var(--gold); }

.sc-subhead {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 400; font-style: italic;
  color: var(--grey); margin-bottom: 56px;
  animation: sc-rise .9s ease .3s both;
}

/* =====================================================
   MESSAGE CARD
===================================================== */
.sc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 44px 52px;
  text-align: left;
  position: relative;
  margin-bottom: 48px;
  animation: sc-rise .9s ease .4s both;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 8px 40px rgba(184,137,42,.06);
}
/* Gold left accent */
.sc-card::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 3px; border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.sc-card-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.sc-card-label::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.sc-card-body {
  font-size: 16px; line-height: 1.95;
  font-weight: 300; color: #3D3D3D;
  margin-bottom: 36px;
}
.sc-card-body strong { font-weight: 500; color: var(--ink); }

/* Signature */
.sc-sig {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(184,137,42,.12);
  flex-wrap: wrap; gap: 16px;
}
.sc-sig-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 500;
  color: var(--ink); letter-spacing: -.01em;
}
.sc-sig-role { font-size: 12px; color: var(--grey); margin-top: 4px; letter-spacing: .04em; }
.sc-sig-org  { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.sc-sig-year { font-size: 12px; color: rgba(107,114,128,.5); letter-spacing: .06em; }

/* =====================================================
   CONTACT LINE
===================================================== */
.sc-contact {
  font-size: 13px; color: var(--grey); letter-spacing: .02em;
  animation: sc-rise .9s ease .55s both;
}
.sc-contact a {
  color: var(--gold);
  text-decoration: underline; text-underline-offset: 3px;
  transition: opacity .2s;
}
.sc-contact a:hover { opacity: .7; }

/* =====================================================
   FOOTER
===================================================== */
.sc-footer {
  padding: 24px 56px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 10px;
  animation: sc-fade .9s ease .6s both;
}
.sc-footer-copy { font-size: 12px; color: rgba(107,114,128,.5); }
.sc-footer-nav  { display: flex; gap: 22px; }
.sc-footer-nav a { font-size: 11px; color: rgba(107,114,128,.45); letter-spacing: .04em; transition: color .2s; }
.sc-footer-nav a:hover { color: var(--gold); }

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes sc-fade { from{opacity:0}                        to{opacity:1} }
@keyframes sc-rise { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 600px) {
  .sc-header      { padding: 20px 24px; }
  .sc-header-tag  { display: none; }
  .sc-card        { padding: 30px 24px; }
  .sc-footer      { padding: 20px 24px; flex-direction: column; align-items: center; text-align: center; }
}

/* =====================================================
   WP STANDARD CLASSES
===================================================== */
.alignleft   { float: left;  margin-right: 1.5em; margin-bottom: 1em; }
.alignright  { float: right; margin-left:  1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption-text { font-size: 13px; color: var(--grey); margin-top: 6px; }
