/*
Theme Name: Interwoven Astra
Theme URI: https://www.interwovensystems.com
Description: Child theme of Astra for Interwoven Systems. Applies the brand design system from the Welcome Packet — Clay Terracotta + Slate Forest palette, Fraunces + Inter typography, and the section patterns from the homepage mockup.
Author: Interwoven Systems
Author URI: https://www.interwovensystems.com
Template: astra
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: interwoven-astra
*/

:root {
  --is-terracotta: #B85C3C;
  --is-terracotta-dark: #9c4a2e;
  --is-slate: #2F4F4F;
  --is-slate-soft: #cfd9d9;
  --is-wheat: #D4A744;
  --is-off: #FAF8F4;
  --is-ink: #1F2A2C;
  --is-body: #3d4849;
  --is-fog: #E8E4DC;
  --is-rule: #d6cfc1;
}

body,
button,
input,
select,
textarea {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--is-ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--is-off);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--is-ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: var(--is-terracotta); text-decoration: none; }
a:hover { color: var(--is-slate); }

p { color: var(--is-body); }
strong, b { color: var(--is-ink); }

/* ---------- Brand utility classes used by the block patterns ---------- */

.is-eyebrow {
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--is-terracotta);
  margin-bottom: 14px !important;
  line-height: 1.4;
}

.is-italic-accent {
  font-style: italic;
  color: var(--is-terracotta);
  font-weight: 500;
}

.is-roman {
  font-family: 'Fraunces', serif !important;
  font-size: 30px !important;
  font-style: italic;
  color: var(--is-terracotta);
  margin-bottom: 14px !important;
  line-height: 1;
}

/* ---------- Buttons ---------- */

.wp-block-button .wp-block-button__link,
.wp-block-button .wp-block-button__link.wp-element-button,
a.is-cta-btn {
  display: inline-block;
  background: var(--is-terracotta);
  color: #fff;
  padding: 12px 22px;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: none;
  transition: background 0.15s;
}

.wp-block-button .wp-block-button__link:hover,
a.is-cta-btn:hover {
  background: var(--is-terracotta-dark);
  color: #fff;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--is-slate);
  border: 1px solid var(--is-slate);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--is-slate);
  color: #fff;
}

/* "See how we work →" secondary link style */
.is-secondary-link {
  font-weight: 600;
  color: var(--is-slate);
  font-size: 15px;
}

.is-secondary-link::after {
  content: " →";
  color: var(--is-terracotta);
}

/* ---------- Hero ---------- */

.is-hero {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--is-rule);
  background: var(--is-off);
}

.is-hero h1,
.is-hero .wp-block-heading {
  font-size: clamp(2.4rem, 5vw, 60px);
  max-width: 920px;
  margin-bottom: 24px;
  font-weight: 600;
}

.is-hero .is-sub {
  font-size: 21px;
  max-width: 760px;
  color: var(--is-body);
  margin-bottom: 36px;
  line-height: 1.55;
}

.is-thread-mark {
  display: flex;
  gap: 8px;
  margin-top: 60px;
  align-items: center;
}

.is-thread-mark span {
  height: 2px;
  background: var(--is-terracotta);
  display: block;
  border-radius: 1px;
}

.is-thread-mark span:nth-child(1) { width: 32px; }
.is-thread-mark span:nth-child(2) { width: 18px; background: var(--is-slate); }
.is-thread-mark span:nth-child(3) { width: 48px; }
.is-thread-mark span:nth-child(4) { width: 14px; background: var(--is-wheat); }

/* ---------- Section spacing helpers ---------- */

.is-section {
  padding: 96px 0;
}

.is-section--cream {
  background: var(--is-off);
}

.is-section--slate {
  background: var(--is-slate);
  color: #fff;
}

.is-section--slate h2,
.is-section--slate h3,
.is-section--slate p {
  color: #fff;
}

.is-section--slate p {
  color: var(--is-slate-soft);
}

.is-section--slate .is-eyebrow {
  color: var(--is-wheat);
}

.is-section--slate .is-italic-accent {
  color: var(--is-wheat);
}

/* ---------- Cards ---------- */

.is-card {
  background: #fff;
  border: 1px solid var(--is-rule);
  padding: 36px 32px !important;
  border-radius: 3px;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-basis: auto;
}

.is-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(31, 42, 44, 0.08);
}

.is-card .wp-block-heading {
  font-size: 22px;
  margin-bottom: 14px;
}

.is-card p {
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- Chips (Who we work with) ---------- */

.is-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.is-chips .is-chip,
.is-chips li {
  list-style: none;
  background: var(--is-fog);
  color: var(--is-slate);
  padding: 10px 18px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
}

.is-chips.wp-block-list {
  padding-left: 0;
  margin-left: 0;
}

/* ---------- Founders ---------- */

.is-founder-card {
  background: #fff;
  border: 1px solid var(--is-rule);
  padding: 36px !important;
  border-radius: 3px;
}

.is-founder-card .is-founder-name {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  color: var(--is-ink);
  font-weight: 600;
  margin-bottom: 6px;
}

.is-founder-card .is-founder-role {
  color: var(--is-terracotta);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ---------- Closing CTA ---------- */

.is-closing {
  padding: 120px 0;
  text-align: center;
  background: var(--is-off);
  border-top: 1px solid var(--is-rule);
}

.is-closing h2,
.is-closing .wp-block-heading {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 38px;
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.3;
  color: var(--is-ink);
}

/* ---------- Numbered approach list ---------- */

.is-approach-item {
  border-top: 1px solid var(--is-rule);
  padding: 36px 0;
}

.is-approach-item .is-approach-num {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-style: italic;
  color: var(--is-terracotta);
  margin-bottom: 8px;
  line-height: 1;
}

.is-approach-item .wp-block-heading {
  font-size: 26px;
  margin-bottom: 14px;
}

/* ---------- Insights list (blog index) ---------- */

.is-insight-card {
  border-top: 1px solid var(--is-rule);
  padding: 32px 0;
}

.is-insight-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.is-insight-card .is-insight-meta {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--is-terracotta);
  font-weight: 600;
  margin-bottom: 8px;
}

/* ---------- Service detail blocks (Services page) ---------- */

.is-service-detail {
  padding: 60px 0;
  border-top: 1px solid var(--is-rule);
}

.is-service-detail h2 {
  font-size: 32px;
  margin-bottom: 18px;
}

.is-service-detail .is-service-lead {
  font-size: 18px;
  color: var(--is-body);
  margin-bottom: 24px;
  max-width: 720px;
}

.is-service-detail ul {
  list-style: none;
  padding: 0;
}

.is-service-detail ul li {
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid var(--is-rule);
  font-size: 15.5px;
  color: var(--is-body);
}

.is-service-detail ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--is-terracotta);
  font-weight: 600;
}

/* ---------- Contact info block ---------- */

.is-contact-info {
  background: #fff;
  border: 1px solid var(--is-rule);
  padding: 36px;
  border-radius: 3px;
}

.is-contact-info h3 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--is-slate);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

.is-contact-info p {
  margin-bottom: 18px;
}

/* ---------- Footer (Astra's footer area) ---------- */

.site-footer,
.site-footer .ast-builder-html-element,
.site-footer .footer-widget-area {
  background: var(--is-slate);
  color: var(--is-slate-soft);
}

.site-footer a {
  color: var(--is-slate-soft);
}

.site-footer a:hover {
  color: #fff;
}

/* ---------- Headings within standard content ---------- */

.entry-content > h2,
.wp-block-post-content > h2 {
  font-size: 42px;
  margin: 1.2em 0 0.4em;
}

.entry-content > h3,
.wp-block-post-content > h3 {
  font-size: 26px;
  margin: 1em 0 0.4em;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  body { font-size: 16px; }
  .is-hero { padding: 64px 0 56px; }
  .is-hero h1,
  .is-hero .wp-block-heading { font-size: 38px; }
  .is-hero .is-sub { font-size: 17px; }
  .is-section { padding: 64px 0; }
  .is-closing { padding: 80px 0; }
  .is-closing h2,
  .is-closing .wp-block-heading { font-size: 28px; }
  .entry-content > h2,
  .wp-block-post-content > h2 { font-size: 30px; }
}
