/* ============================================================
   Arcling shared foundation
   Used by: counselors.html, promise.html
   index.html and counselor-guidelines.html keep their inline
   <style> blocks for now; consolidating all four is a follow-up.
   ============================================================ */

:root {
    --bg-offwhite: #fff9f5;
    --bg-beige: #f9ece4;
    --navy: #1C3A5E;
    --gold: #E8943A;
    --sage: #5E8B8A;
    --pink-muted: #E6B8B8;
    --lavender: #B5B8D8;
    --peach: #FFDAC1;

    --font-heading: 'Lora', serif;
    --font-body: 'DM Sans', sans-serif;
    --font-button: 'Inter', sans-serif;

    --radius-button: 84px;
    --radius-card: 24px;
    --radius-card-lg: 32px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-offwhite);
    color: var(--navy);
    line-height: 1.6;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.25; margin-bottom: 16px; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; }
p  { font-size: 17px; line-height: 1.7; margin-bottom: 1.25rem; color: #3a4b60; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 32px; }
.text-center { text-align: center; }

/* Brand accents ------------------------------------------------ */
.tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(18px, 2vw, 22px);
    color: var(--gold);
    margin-bottom: 14px;
}
.section-label {
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
}
.highlight-wrap { position: relative; display: inline-block; white-space: nowrap; }
.brushstroke {
    position: absolute;
    left: 0; bottom: -8px;
    width: 100%; height: 14px;
    z-index: -1;
    overflow: visible;
}

/* Navbar ------------------------------------------------------- */
.navbar {
    background: var(--bg-offwhite);
    border-bottom: 1px solid rgba(28,58,94,0.08);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--sage);
    letter-spacing: -0.5px;
}
.nav-logo img { width: 40px; height: auto; display: block; }

/* Buttons ------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-button);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 32px;
    min-height: 48px;              /* touch target */
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}
.btn-primary { background-color: var(--gold); color: white; }
.btn-primary:hover { background-color: #d18230; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-light { background: white; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }

/* Page header -------------------------------------------------- */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, #2a5080 100%);
    padding: 80px 0 72px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.page-header > .container { position: relative; z-index: 2; }
.page-header .label {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    font-family: var(--font-button);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 40px;
    margin-bottom: 20px;
}
.page-header h1 { color: white; margin-bottom: 16px; }
.page-header p { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 580px; margin: 0 auto; }
.page-header .tagline { color: var(--peach); }
/* Optional photo band behind a page header; degrades to the gradient alone */
.header-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    z-index: 1;
}

/* Content ------------------------------------------------------ */
.content { padding: 72px 0 90px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

.card {
    background: white;
    border-radius: var(--radius-card);
    padding: 32px 36px;
    border: 1px solid rgba(28,58,94,0.07);
    box-shadow: 0 2px 12px rgba(28,58,94,0.04);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.intro-box {
    background: var(--bg-beige);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    padding: 28px 32px;
    margin-bottom: 44px;
}
.intro-box p:last-child { margin-bottom: 0; }

.callout {
    background: linear-gradient(135deg, #eef6f6 0%, #f0f4fc 100%);
    border-radius: var(--radius-card);
    padding: 36px 40px;
    margin: 44px 0;
    border: 1px solid rgba(94,139,138,0.2);
}
.callout h3 { margin-top: 0; color: var(--sage); }
.callout p:last-child { margin-bottom: 0; }

.check-list li {
    display: flex;
    gap: 12px;
    font-size: 17px;
    color: #3a4b60;
    line-height: 1.6;
    margin-bottom: 12px;
}
.check-list li::before { content: "→"; color: var(--gold); flex-shrink: 0; }

.strike-list li {
    display: flex;
    gap: 12px;
    font-size: 16px;
    color: #3a4b60;
    line-height: 1.6;
    margin-bottom: 10px;
    padding: 14px 18px;
    background: #fff5f5;
    border-radius: 12px;
    border: 1px solid rgba(220,80,80,0.12);
}
.strike-list li::before { content: "✕"; color: #c0392b; font-weight: 700; flex-shrink: 0; }

/* CTA strip ---------------------------------------------------- */
.contact-strip {
    background: var(--navy);
    border-radius: var(--radius-card);
    padding: 48px;
    text-align: center;
    margin-top: 64px;
}
.contact-strip h2 { color: white; margin-top: 0; }
.contact-strip p { color: rgba(255,255,255,0.72); max-width: 520px; margin: 0 auto 28px; }

/* Footer ------------------------------------------------------- */
.footer { background: var(--navy); color: white; padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 56px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: white;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.footer-logo img { width: 40px; height: auto; display: block; filter: brightness(0) invert(1); }
.footer-tagline { color: #829ab1; max-width: 280px; font-size: 16px; }
.footer h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}
.footer ul li { margin-bottom: 12px; }
.footer ul li a { color: #a0aec0; font-size: 15px; transition: color 0.2s; }
.footer ul li a:hover { color: white; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
    color: #718096;
}
.footer-bottom a { color: #a0aec0; }
.footer-bottom a:hover { color: white; }

/* ============================================================
   Responsive — iPad landscape/portrait, then phone
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .contact-strip { padding: 40px 32px; }
    .callout { padding: 30px 28px; }
}

@media (max-width: 768px) {
    body { font-size: 17px; }
    .container, .container-narrow { padding: 0 20px; }
    .navbar { padding: 16px 0; }
    .nav-logo { font-size: 22px; }
    .nav-logo img { width: 34px; }
    .navbar .btn { font-size: 14px; padding: 10px 18px; }
    .page-header { padding: 56px 0 52px; }
    .content { padding: 48px 0 64px; }
    .section { padding: 48px 0; }
    .card { padding: 26px 22px; }
    .intro-box { padding: 22px 22px; }
    .callout { padding: 26px 22px; }
    .contact-strip { padding: 36px 22px; margin-top: 48px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .btn { width: 100%; }
    .btn-inline { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
