/*
Theme Name: SiteCraft360 New
Theme URI: https://sitecraft360.com/
Author: SiteCraft360
Author URI: https://sitecraft360.com/
Description: A clean, editorial, mobile-first WordPress theme for SiteCraft360, built from scratch. Services, packages, projects, testimonials and team members are edited in WordPress itself — nothing about prices or packages is hard-coded in a template.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
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: sitecraft360-new
Tags: custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ------------------------------------------------------------------
   SiteCraft360 New — written from scratch.
   Palette: dark ink, warm paper, gold accent.
   Type: system sans stack (Inter-style) with Georgia serif italics.
   Layout: mobile-first, single-column shell that widens on desktop.
   ------------------------------------------------------------------ */

:root {
  --ink: #16130f;
  --ink-soft: #2a261f;
  --paper: #faf7f1;
  --paper-2: #f1ece2;
  --line: #ddd5c6;
  --gold: #b98a2e;
  --gold-soft: #f3e7c8;
  --text: #24201a;
  --muted: #6d6557;
  --white: #ffffff;
  --radius: 14px;
  --shell: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
em, .serif-accent { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }

.shell { width: min(var(--shell), 92vw); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink);
  color: var(--white); padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.section { padding: 3.5rem 0; }
.section-dark { background: var(--ink); color: #f3efe6; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #d8d0bf; }
.kicker {
  display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: .75rem;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section-dark .lede { color: #d8d0bf; }
.empty-state {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 2rem; color: var(--muted); background: var(--white);
}

/* Header / navigation */
.site-header {
  background: var(--paper); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 0;
}
.site-brand { font-weight: 800; letter-spacing: -.01em; text-decoration: none; font-size: 1.25rem; }
.site-brand span { color: var(--gold); }
.nav-toggle {
  background: var(--ink); color: var(--white); border: 0; border-radius: 8px;
  padding: .55rem .9rem; font: inherit; cursor: pointer;
}
.primary-nav { display: none; }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0 0 1rem; display: grid; gap: .25rem; }
.primary-nav a { text-decoration: none; display: block; padding: .45rem 0; font-weight: 600; }
@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav ul { display: flex; gap: 1.5rem; padding: 0; }
}

/* Hero */
.hero { padding: 4rem 0 3rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button {
  display: inline-block; background: var(--gold); color: var(--white); border: 0;
  border-radius: 999px; padding: .75rem 1.4rem; font-weight: 700; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--ink); color: var(--white); }
.button--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.button--ghost:hover { background: var(--ink); color: var(--white); }
.section-dark .button--ghost { color: var(--white); border-color: var(--white); }
.text-link { font-weight: 700; }

/* Cards / grids */
.card-grid {
  display: grid; gap: 1.25rem; margin-top: 1.75rem;
}
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem;
}
.card--dark { background: var(--ink-soft); border-color: #3d372c; color: #efe9db; }
.card--dark h3 { color: var(--white); }
.card__eyebrow { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.card__price { font-size: 1.5rem; font-weight: 800; color: var(--ink); margin: .25rem 0; }
.card--dark .card__price { color: var(--white); }
.card__billing { font-size: .9rem; font-weight: 400; color: var(--muted); margin-left: .25rem; }
.card--dark .card__billing { color: #c9c0ab; }
.card__features { margin: .5rem 0 1rem; padding-left: 1.1rem; }
.card__features li { margin-bottom: .3rem; }
.card__cta { margin-top: auto; font-weight: 700; }
.badge {
  display: inline-block; background: var(--gold-soft); color: #6b4f0f;
  font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 999px; align-self: flex-start;
}

/* Jump navigation (generated from content actually present) */
.jump-nav { background: var(--paper-2); border-block: 1px solid var(--line); padding: .9rem 0; }
.jump-nav__inner { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.jump-nav__label { font-weight: 700; }
.jump-nav a { font-weight: 600; text-decoration: none; }
.package-group { margin-top: 2.5rem; }
.package-group__title { margin-bottom: 1rem; }

/* Projects / testimonials / blog */
.project-card img, .post-card img { border-radius: var(--radius); }
.post-meta, .project-meta { color: var(--muted); font-size: .9rem; }
blockquote { margin: 0; font-family: Georgia, serif; font-size: 1.2rem; font-style: italic; }
.stars { color: var(--gold); letter-spacing: .15em; }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 680px; }
.form label { font-weight: 600; display: grid; gap: .35rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white); color: var(--text);
}
.form textarea { min-height: 140px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-notice { border-radius: var(--radius); padding: 1rem 1.25rem; font-weight: 600; }
.form-notice--ok { background: #e6f2e6; border: 1px solid #9cc79c; }
.form-notice--bad { background: #fbe9e9; border: 1px solid #e0a3a3; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; margin-top: 2rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: flex-start; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-nav a { text-decoration: none; font-weight: 600; }
.pagination { display: flex; gap: 1rem; margin-top: 2rem; }
