/*
Theme Name: Akshay Salve — Growth Authority
Theme URI: https://akshaysalve.com
Author: Akshay Salve
Author URI: https://akshaysalve.com
Description: Charcoal & Ember editorial theme for a digital marketing expert. Hero-grid homepage with services, approach, and contact sections. Customizer-driven content, no page builder required.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: akshay-salve
Tags: one-column, custom-menu, custom-logo, editor-style, featured-images, translation-ready, portfolio, blog
*/

:root {
  --background: oklch(0.13 0.012 55);
  --foreground: oklch(0.95 0.012 72);
  --border: oklch(0.95 0.012 72 / 13%);
  --ember: oklch(0.68 0.17 47);
  --ember-soft: oklch(0.68 0.17 47 / 18%);
  --ember-foreground: oklch(0.91 0.09 64);
  --ink-deep: oklch(0.105 0.01 50);
  --surface-2: oklch(0.16 0.012 55);
  --surface-3: oklch(0.205 0.016 55);
  --copy-muted: oklch(0.73 0.018 66);
  --line-soft: oklch(0.95 0.012 72 / 10%);
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-sans: "Hind", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 99; top: 0.75rem; left: 0.75rem; padding: 0.6rem 1rem; background: var(--ember); color: var(--ink-deep); }

.site-shell { background: var(--background); min-height: 100vh; overflow: hidden; }
.site-container { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line-soft); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; }
.brand-mark { display: inline-flex; align-items: center; gap: 0.65rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--foreground); }
.brand-mark__dot { width: 0.65rem; height: 0.65rem; background: var(--ember); border-radius: 999px; box-shadow: 0 0 0 5px var(--ember-soft); }
.primary-nav ul { display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: var(--copy-muted); font-size: 0.88rem; transition: color 180ms ease; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .footer-back:hover { color: var(--ember-foreground); }
.header-cta { display: inline-flex; align-items: center; gap: 0.4rem; border-bottom: 1px solid var(--ember); padding-bottom: 0.2rem; color: var(--ember-foreground); font-size: 0.88rem; }
.icon-button { display: none; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--border); color: var(--foreground); background: transparent; cursor: pointer; }
.mobile-nav { display: none; padding: 0 1.5rem 1.25rem; background: var(--background); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.mobile-nav a { display: block; border-top: 1px solid var(--line-soft); padding: 0.9rem 0; color: var(--copy-muted); }
@media (max-width: 767px) {
  .primary-nav, .site-header__row .header-cta { display: none; }
  .icon-button { display: inline-flex; }
}

.hero-section { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); min-height: 700px; padding-block: clamp(4.5rem, 9vw, 8rem); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 1.5rem; color: var(--ember-foreground); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.status-dot { width: 0.5rem; height: 0.5rem; background: var(--ember); border-radius: 999px; box-shadow: 0 0 0 5px var(--ember-soft); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
h1 { max-width: 700px; margin-bottom: 1.75rem; color: var(--foreground); font-size: clamp(4.5rem, 10vw, 8.6rem); line-height: 0.84; }
h1 span, h2 em { color: var(--ember); font-style: normal; }
.hero-lede { max-width: 560px; margin-bottom: 2.25rem; color: var(--copy-muted); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.38; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 3.25rem; padding: 0.8rem 1.25rem; border: 1px solid transparent; font-size: 0.94rem; font-weight: 600; cursor: pointer; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--ember); color: var(--ember-foreground); }
.button--primary:hover { background: var(--ember-foreground); color: var(--ink-deep); }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--copy-muted); font-size: 0.95rem; transition: color 180ms ease; }
.text-link:hover { color: var(--foreground); }
.hero-note { display: flex; align-items: center; gap: 0.9rem; margin-top: 5rem; color: var(--copy-muted); font-size: 0.88rem; }
.hero-note p { max-width: 250px; margin: 0; }
.hero-note__line { width: 3rem; height: 1px; background: var(--ember); }
.hero-visual-wrap { position: relative; max-width: 470px; margin-inline: auto; width: 100%; }
.hero-visual { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); box-shadow: 18px 22px 0 var(--surface-2); }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, var(--ember-soft), transparent 38%, var(--ink-deep) 100%); mix-blend-mode: screen; pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.86) contrast(1.04); }
.portrait-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, var(--ink-deep) 0%, transparent 37%, transparent 72%, var(--ink-deep) 100%); opacity: 0.82; }
.portrait-caption { position: absolute; z-index: 3; top: 1.1rem; left: 1.1rem; right: 1.1rem; display: flex; justify-content: space-between; color: var(--foreground); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.caption-mark { color: var(--ember-foreground); }
.signal-card { position: absolute; z-index: 4; right: 1.15rem; bottom: 1.15rem; left: 1.15rem; padding: 0.95rem; border: 1px solid oklch(0.95 0.012 72 / 20%); background: oklch(0.13 0.012 55 / 82%); backdrop-filter: blur(10px); }
.signal-card__topline, .signal-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; color: var(--copy-muted); font-size: 0.72rem; }
.signal-card__status { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--ember-foreground); }
.signal-card__status span { width: 0.38rem; height: 0.38rem; background: var(--ember); border-radius: 999px; }
.signal-card__chart { display: flex; align-items: end; gap: 0.4rem; height: 4.2rem; margin-block: 0.8rem; border-bottom: 1px solid var(--line-soft); }
.signal-card__chart span { flex: 1; min-height: 0.4rem; background: var(--ember); opacity: 0.48; transition: opacity 180ms ease, transform 180ms ease; }
.signal-card__chart span:last-child { opacity: 1; }
.signal-card__chart:hover span { opacity: 0.75; transform: scaleY(1.04); transform-origin: bottom; }
.signal-card__footer strong { color: var(--foreground); font-weight: 500; }
.hero-badge { position: absolute; z-index: 5; top: 12%; right: -4rem; display: flex; align-items: center; gap: 0.7rem; max-width: 205px; padding: 0.85rem 1rem; border: 1px solid var(--border); background: var(--surface-3); box-shadow: 10px 12px 0 var(--ink-deep); transform: rotate(3deg); }
.hero-badge__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; background: var(--ember-soft); color: var(--ember); }
.hero-badge strong, .hero-badge small { display: block; }
.hero-badge strong { color: var(--foreground); font-size: 0.8rem; font-weight: 600; }
.hero-badge small { margin-top: 0.1rem; color: var(--copy-muted); font-size: 0.7rem; }

.proof-strip { border-block: 1px solid var(--line-soft); background: var(--surface-2); }
.proof-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.3rem; }
.proof-strip p { margin: 0; color: var(--foreground); font-size: 0.92rem; }
.proof-strip__items { display: flex; align-items: center; gap: 1.25rem; color: var(--copy-muted); font-size: 0.82rem; }
.proof-strip__items i { width: 0.25rem; height: 0.25rem; background: var(--ember); border-radius: 999px; }

.content-section { padding-block: clamp(6rem, 11vw, 10rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.65fr); column-gap: 4rem; align-items: end; margin-bottom: 4rem; }
.section-kicker { margin-bottom: 1.2rem; }
.section-heading .section-kicker { grid-column: 1 / -1; }
h2 { margin-bottom: 0; color: var(--foreground); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.92; }
.section-intro { max-width: 380px; margin: 0; color: var(--copy-muted); font-size: 1.08rem; line-height: 1.5; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line-soft); background: var(--line-soft); }
.service-card { position: relative; display: flex; min-height: 310px; flex-direction: column; justify-content: space-between; padding: 1.5rem; background: var(--background); transition: background-color 180ms ease, transform 180ms ease; }
.service-card:hover { background: var(--surface-2); transform: translateY(-4px); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; color: var(--ember); }
.service-card__top span { color: var(--copy-muted); font-size: 0.75rem; }
.service-card h3 { max-width: 250px; margin-bottom: 0.8rem; font-size: 1.75rem; line-height: 1; }
.service-card p { max-width: 260px; margin-bottom: 0; color: var(--copy-muted); font-size: 0.95rem; }
.service-card__link { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border: 1px solid var(--border); color: var(--ember-foreground); transition: background-color 180ms ease, color 180ms ease; }
.service-card__link:hover { background: var(--ember); color: var(--ink-deep); }

.approach-section { border-block: 1px solid var(--line-soft); background: var(--surface-2); }
.approach-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 7rem; padding-block: clamp(5rem, 10vw, 8.5rem); }
.approach-copy { max-width: 500px; }
.approach-lede { margin-bottom: 3rem; color: var(--foreground); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.25; }
.process-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
.process-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding-block: 1.2rem; border-bottom: 1px solid var(--line-soft); }
.process-list li > span { color: var(--ember); font-size: 0.78rem; }
.process-list p { margin: 0; color: var(--copy-muted); font-size: 1rem; }

.contact-section { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr); gap: clamp(3rem, 9vw, 9rem); padding-block: clamp(6rem, 12vw, 11rem); }
.contact-intro > p:not(.section-kicker) { max-width: 360px; margin-top: 1.6rem; color: var(--copy-muted); font-size: 1.05rem; }
.contact-email { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1rem; color: var(--ember-foreground); font-size: 0.95rem; }
.contact-form { display: grid; gap: 1.2rem; align-content: start; }
.contact-form label { display: grid; gap: 0.45rem; }
.contact-form label span { color: var(--copy-muted); font-size: 0.8rem; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; outline: 0; padding: 0.65rem 0; background: transparent; color: var(--foreground); font-size: 1rem; resize: vertical; transition: border-color 180ms ease; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: oklch(0.68 0.018 65 / 66%); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ember); }
.form-submit { justify-self: start; margin-top: 0.8rem; }
.form-success { margin: 0; color: var(--ember-foreground); font-size: 0.88rem; }
.form-error { margin: 0; color: oklch(0.72 0.19 25); font-size: 0.88rem; }

.site-footer { border-top: 1px solid var(--line-soft); color: var(--copy-muted); font-size: 0.8rem; }
.site-footer__row { display: flex; flex-direction: column; gap: 1rem; padding-block: 1.75rem; }
.site-footer p { margin: 0; }
.footer-back { display: inline-flex; align-items: center; gap: 0.35rem; transition: color 180ms ease; }
@media (min-width: 640px) {
  .site-footer__row { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Blog / page templates reusing the same editorial language */
.page-hero { padding-block: clamp(4rem, 8vw, 7rem) 0; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.entry-list { display: grid; gap: 1px; margin-block: 3.5rem clamp(5rem, 9vw, 8rem); border: 1px solid var(--line-soft); background: var(--line-soft); }
.entry-card { display: grid; gap: 0.6rem; padding: 1.75rem 1.5rem; background: var(--background); transition: background-color 180ms ease; }
.entry-card:hover { background: var(--surface-2); }
.entry-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.05; }
.entry-meta { color: var(--ember-foreground); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.entry-card p { margin: 0; color: var(--copy-muted); font-size: 0.98rem; }
.entry-content { max-width: 720px; padding-block: 2.5rem clamp(5rem, 9vw, 8rem); color: var(--copy-muted); }
.entry-content h2, .entry-content h3 { color: var(--foreground); margin-top: 2.5rem; }
.entry-content h2 { font-size: 2.1rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content a { color: var(--ember-foreground); border-bottom: 1px solid var(--ember); }
.entry-content blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 2px solid var(--ember); color: var(--foreground); }
.pagination { display: flex; gap: 1rem; padding-bottom: 5rem; color: var(--copy-muted); font-size: 0.85rem; }
.pagination .current { color: var(--ember-foreground); }
.entry-thumb { margin-top: 2.5rem; border: 1px solid var(--line-soft); }
.entry-thumb img { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual-wrap { max-width: min(100%, 510px); margin-right: 2rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-intro { max-width: 500px; }
  .approach-grid { gap: 3rem; }
}
@media (max-width: 700px) {
  .site-container { width: min(100% - 2rem, 1160px); }
  .hero-section { padding-block: 4rem 5.5rem; }
  h1 { font-size: clamp(4.1rem, 20vw, 7rem); }
  .hero-note { margin-top: 3.5rem; }
  .hero-badge { right: -0.5rem; top: 8%; }
  .proof-strip__inner, .proof-strip__items { align-items: flex-start; flex-direction: column; gap: 0.65rem; }
  .proof-strip__items { display: grid; gap: 0.45rem; }
  .proof-strip__items i { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .approach-grid, .contact-section { grid-template-columns: 1fr; gap: 3.5rem; }
  .contact-section { padding-bottom: 6rem; }
  .form-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}