/*
Theme Name: StoneCreek Foundry
Theme URI: https://stonecreekfoundry.com/
Author: StoneCreek Foundry
Description: A purpose-built WordPress theme for StoneCreek Foundry software products, documentation, WooCommerce, and customer resources.
Version: 0.1.1
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: stonecreek-foundry
*/

:root{--scf-slate:#536b70;--scf-slate-dark:#34484c;--scf-copper:#c9703d;--scf-copper-dark:#a9552a;--scf-pine:#355b4a;--scf-lake:#75aeb2;--scf-cream:#f7f4ee;--scf-stone:#e8e4dc;--scf-ink:#263235;--scf-white:#fff;--scf-shadow:0 18px 45px rgba(38,50,53,.10);--scf-radius:20px;--scf-width:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--scf-ink);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}a{color:var(--scf-slate-dark);text-decoration:none}a:hover{color:var(--scf-copper)}img{max-width:100%;height:auto}.scf-wrap{width:min(calc(100% - 40px),var(--scf-width));margin:auto}.screen-reader-text{position:absolute;left:-9999px}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(83,107,112,.12)}.header-inner{min-height:84px;display:flex;align-items:center;gap:30px}.custom-logo-link img,.scf-brand img{width:auto;max-height:58px}.site-branding{margin-right:auto}.site-title{font-family:Georgia,serif;font-size:1.45rem;font-weight:800}.main-navigation ul{display:flex;list-style:none;margin:0;padding:0;gap:25px;align-items:center}.main-navigation a{font-weight:700;font-size:.95rem}.header-account{padding:10px 16px;border:1px solid var(--scf-slate);border-radius:999px}.menu-toggle{display:none;border:0;background:transparent;font-size:1.6rem}
.scf-hero{position:relative;overflow:hidden;padding:100px 0 90px;background:linear-gradient(125deg,#fff 0%,var(--scf-cream) 70%,#eaf4f3 100%)}.scf-hero:after{content:"";position:absolute;width:480px;height:480px;border-radius:50%;right:-180px;top:-190px;background:rgba(117,174,178,.13)}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center;position:relative;z-index:2}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:900;color:var(--scf-copper)}h1,h2,h3,h4{font-family:Georgia,"Times New Roman",serif;color:var(--scf-slate-dark);line-height:1.12}h1{font-size:clamp(2.7rem,6vw,5.1rem);margin:.15em 0 .25em;letter-spacing:-.045em}.hero-copy{font-size:1.2rem;max-width:680px;color:#526064}.scf-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:30px}.scf-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 21px;border-radius:999px;font-weight:800;background:var(--scf-copper);color:#fff!important;border:2px solid var(--scf-copper);transition:.2s}.scf-button:hover{transform:translateY(-2px);background:var(--scf-copper-dark);border-color:var(--scf-copper-dark)}.scf-button.secondary{background:transparent;color:var(--scf-slate-dark)!important;border-color:var(--scf-slate)}.hero-art{background:#fff;border-radius:30px;padding:35px;box-shadow:var(--scf-shadow);transform:rotate(1.5deg)}.hero-art img{display:block}
.scf-section{padding:86px 0}.scf-section.alt{background:var(--scf-cream)}.section-heading{text-align:center;max-width:760px;margin:0 auto 45px}.section-heading h2{font-size:clamp(2rem,4vw,3.3rem);margin:.25em 0}.section-heading p{font-size:1.08rem;color:#617074}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product-card{background:#fff;border:1px solid #e7e7e3;border-radius:var(--scf-radius);padding:28px;box-shadow:0 8px 24px rgba(38,50,53,.05);display:flex;flex-direction:column;min-height:260px;transition:.2s}.product-card:hover{transform:translateY(-5px);box-shadow:var(--scf-shadow)}.product-card .tag{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:var(--scf-copper)}.product-card h3{font-size:1.6rem;margin:.45em 0}.product-card p{color:#657174;flex:1}.product-card .learn{font-weight:900;color:var(--scf-slate-dark)}.scf-values{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.value{padding:30px;border-left:4px solid var(--scf-copper);background:#fff;border-radius:0 var(--scf-radius) var(--scf-radius) 0}.value h3{margin-top:0}.story-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:60px;align-items:center}.story-mark{border-radius:30px;background:linear-gradient(150deg,#dfeceb,#f7f4ee);padding:45px}.story-copy h2{font-size:clamp(2rem,4vw,3.5rem);margin:.2em 0}.scf-cta{margin:0 auto 80px;width:min(calc(100% - 40px),var(--scf-width));padding:55px;border-radius:30px;background:var(--scf-slate-dark);color:#fff;display:flex;justify-content:space-between;gap:30px;align-items:center}.scf-cta h2{color:#fff;margin:0 0 8px;font-size:2.3rem}.scf-cta p{margin:0;color:#dce5e6}.site-main.default{padding:65px 0}.entry-title{font-size:clamp(2.2rem,5vw,4rem)}
.site-footer{background:#243538;color:#cbd5d6;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:45px}.site-footer h3,.site-footer h4{color:#fff}.site-footer a{color:#dce6e6}.footer-logo{max-width:360px;background:#fff;padding:12px 18px;border-radius:14px}.footer-bottom{margin-top:40px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);font-size:.88rem}.woocommerce .products ul,.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.woocommerce ul.products li.product{width:auto!important;margin:0!important;border:1px solid #e7e7e3;padding:20px;border-radius:18px}.woocommerce div.product{padding:40px 0}
@media(max-width:900px){.hero-grid,.story-grid{grid-template-columns:1fr}.product-grid,.scf-values{grid-template-columns:repeat(2,1fr)}.menu-toggle{display:block}.main-navigation{display:none;position:absolute;left:0;right:0;top:84px;background:#fff;padding:20px;border-bottom:1px solid #ddd}.main-navigation.is-open{display:block}.main-navigation ul{flex-direction:column;align-items:flex-start}.header-account{display:none}.footer-grid{grid-template-columns:1fr}.scf-cta{display:block}.scf-cta .scf-actions{margin-bottom:0}.hero-art{max-width:600px;margin:auto}.woocommerce .products ul,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.scf-wrap{width:min(calc(100% - 28px),var(--scf-width))}.scf-hero{padding:65px 0}.product-grid,.scf-values,.woocommerce .products ul,.woocommerce ul.products{grid-template-columns:1fr}.scf-section{padding:65px 0}.scf-cta{padding:35px 25px}.custom-logo-link img,.scf-brand img{max-height:44px}.header-inner{min-height:72px}.main-navigation{top:72px}}


/* v0.1.1 — Global typography and WooCommerce color system */
body,
button,
input,
select,
textarea,
.wp-site-blocks { color:var(--scf-ink); }

p, li, dd, dt, label, legend, address, figcaption,
.entry-content, .entry-summary, .page-content,
.woocommerce, .woocommerce p, .woocommerce label,
.woocommerce .woocommerce-product-details__short-description {
  color:var(--scf-ink);
}

h1,h2,h3,h4,h5,h6,
.entry-title,.page-title,.woocommerce-products-header__title,
.woocommerce div.product .product_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-cart h2,.woocommerce-checkout h2 {
  color:var(--scf-slate-dark);
}

.entry-content a:not(.button):not(.scf-button),
.woocommerce a:not(.button) { color:var(--scf-slate-dark); }
.entry-content a:not(.button):not(.scf-button):hover,
.woocommerce a:not(.button):hover { color:var(--scf-copper); }

/* WordPress core color utility classes: keep intentional editor colors intact,
   while uncolored content naturally inherits the StoneCreek palette. */
.has-text-color { color:inherit; }
.has-background.has-text-color { color:inherit; }

/* Forms */
input[type="text"],input[type="email"],input[type="url"],input[type="password"],
input[type="search"],input[type="tel"],input[type="number"],textarea,select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  color:var(--scf-ink);background:#fff;border:1px solid #cfd8d8;border-radius:10px;padding:11px 13px;
}
input:focus,textarea:focus,select:focus { outline:2px solid rgba(201,112,61,.25);border-color:var(--scf-copper); }

/* WooCommerce buttons and notices */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  background:var(--scf-copper);color:#fff!important;border:2px solid var(--scf-copper);border-radius:999px;font-weight:800;
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
  background:var(--scf-copper-dark);color:#fff!important;border-color:var(--scf-copper-dark);
}
.woocommerce-message,.woocommerce-info { border-top-color:var(--scf-lake);background:var(--scf-cream);color:var(--scf-ink); }
.woocommerce-message::before,.woocommerce-info::before { color:var(--scf-pine); }
.woocommerce-error { background:#fff7f3;color:var(--scf-ink); }

/* Shop + product */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,.woocommerce div.product span.price { color:var(--scf-pine);font-weight:800; }
.woocommerce span.onsale { background:var(--scf-copper);color:#fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color:var(--scf-slate-dark); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color:var(--scf-copper); }
.woocommerce .star-rating,.woocommerce p.stars a { color:var(--scf-copper); }

/* Cart + checkout */
.woocommerce table.shop_table { border-color:#dfe4e2;border-radius:14px;overflow:hidden; }
.woocommerce table.shop_table th { color:var(--scf-slate-dark); }
.woocommerce table.shop_table td { color:var(--scf-ink); }
.woocommerce-checkout #payment { background:var(--scf-cream);border-radius:16px; }
.woocommerce-checkout #payment div.payment_box { background:#fff;color:var(--scf-ink); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color:#fff; }

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style:none;margin:0;padding:0;border:1px solid #e1e6e4;border-radius:16px;overflow:hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin:0;border-bottom:1px solid #e1e6e4; }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom:0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display:block;padding:12px 16px;color:var(--scf-slate-dark);font-weight:700; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background:var(--scf-cream);color:var(--scf-copper); }

/* Footer always stays intentionally light on dark. */
.site-footer,.site-footer p,.site-footer li,.site-footer address { color:#cbd5d6; }
.site-footer h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5,.site-footer h6 { color:#fff; }
