/*
Theme Name: WoodWerks
Author: Forcefield Web Development
Author URI: https://forcefieldnc.com
Version: 1.0
Description: Custom theme for The WoodWerks — custom built-in furniture
*/
/* ── SELF-HOSTED FONTS ─────────────────────────────── */
/* files live in /wp-content/themes/Woodwerks/fonts/ */

/* Playfair Display — headings */
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Source Sans 3 — body + UI */
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/SourceSans3-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/SourceSans3-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/SourceSans3-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/SourceSans3-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f7f6f4;
  --dark:  #1d2333;
  --oak:   #272d3f;
  --gold:  #f1c951;
  --lt-border: #272d3f;
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Source Sans 3', system-ui, sans-serif;
}

 
body,html {
	padding:0;
	margin:0;
	font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: rgba(255,255,255,.7);
}

/* ── HEADER ─────────────────────────────────────── */

.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid var(--lt-border);
  padding: 0 36px;
  display: flex;
  align-items: center;
  height: 125px;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s ease;
  will-change: height;
}

 

.site-header.is-scrolled {
  height: 85px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

body {
  padding-top: 125px;
}

/* ── LOGO SWAP ───────────────────────────────────── */

.logo-wrap {
  position: relative;
  display: block;
 
  flex-shrink: 0;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-primary,
.logo-scrolled {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: auto;
  display: block;
}

.logo-primary {
   opacity: 1;
  transition: opacity 0.35s ease;
}

.logo-scrolled {
   opacity: 0;
  transition: opacity 0.35s ease;
}

.site-header.is-scrolled .logo-primary {
  opacity: 0;
  pointer-events: none;
}

.site-header.is-scrolled .logo-scrolled {
  opacity: 1;
  pointer-events: auto;
}

.site-header.is-scrolled .logo-wrap {
  width: 50px;
}

.site-header.is-scrolled .logo-scrolled {
  height: 50px;
  width: auto;
}

/* ── NAV ─────────────────────────────────────────── */

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
  width: 100%;
  padding: 0 20px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  display: block;
}

.main-nav > li > a:hover {
  border-color: var(--gold);
  color: var(--oak);
}

.main-nav > li.current-menu-item > a,
.main-nav > li.current-menu-ancestor > a {
  border-color: var(--oak);
  color: var(--oak);
}

/* ── DROPDOWN ────────────────────────────────────── */

.main-nav > li.menu-item-has-children {
  padding-bottom: 18px;
  margin-bottom: -18px;
}

.main-nav > li.menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 14px;
  opacity: .5;
}

.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--cream);
  border: 1px solid var(--lt-border);
  border-top: 2px solid var(--oak);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.main-nav > li.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  pointer-events: all;
}

.main-nav .sub-menu li {
  border-bottom: 1px solid var(--lt-border);
}

.main-nav .sub-menu li:last-child {
  border-bottom: none;
}

.main-nav .sub-menu a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  padding: 11px 18px;
  display: block;
  white-space: nowrap;
  border-bottom: none;
}

.main-nav .sub-menu a:hover {
  background: #EDE7DE;
  color: var(--oak);
}

/* ── CONTACT BUTTON ──────────────────────────────── */

.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--lt-border);
  flex-shrink: 0;
}

.header-cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 9px 18px;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--oak);
  color: var(--cream);
}

/* ── HERO TYPOGRAPHY ─────────────────────────────── */

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 9.5px!important;
  font-weight: 600!important;
  letter-spacing: .22em!important;
  text-transform: uppercase;
  color: var(--gold)!important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px !important;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero-h1 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.16;
  margin-bottom: 16px;
  margin-top: 0 !important;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400!important;
  font-style: normal!important;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 480px;
}

/* ── HERO BUTTONS ────────────────────────────────── */

p.btn-ghost {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  flex-wrap: wrap;

}

p.btn-ghost br {
  display: none;
}

p.btn-ghost a:first-child {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dark)!important;
  background: var(--gold);
  padding: 13px 26px;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
	  transition: opacity 0.2s ease-in-out;

}

p.btn-ghost a:first-child:hover {
 opacity:.8
}

p.btn-ghost a:last-child {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 12px 26px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.35);
  text-decoration: none;
  white-space: nowrap;
}

.what-we-build h2 {
	  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.16;
  margin-bottom: 18px!important;
  margin-top: 0 !important;
}

.type-card {
  padding-right: 24px!important;
}

/* ── MISC ────────────────────────────────────────── */

.custom-logo-link img,
.custom-logo {
  width: 300px !important;
  height: auto;
  display: block;
}

.entry-content-wrap {
  padding: 0 !important;
}

h2 {
  margin-bottom: 0 !important;
}

.logo-placeholder {
  width: 250px;
  height: auto;
  background: var(--lt-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  color: #999;
  text-align: center;
}
 

/* ── STATS ───────────────────────────────────────── */

.stats .wp-block-kadence-column:not(:last-child) {
  position: relative;
}

.stats .wp-block-kadence-column:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--lt-border);
}

/* ── FEATURED ────────────────────────────────────── */

.featured h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
}

.featured h4 {
  color: var(--cream);
}

.featured p {
  color: var(--cream);
}

.featured a {
  color: var(--gold);
}


/* ── ADMIN BAR OFFSET ────────────────────────────── */

.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}



/* ── HOMEPAGE SLIDER ─────────────────────────────── */
.homepage-splide .splide__track {
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

.homepage-splide .splide__slide img {
    width: 100%;
    height: 450px;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.homepage-splide .splide__arrow {
    background: transparent;
}

.homepage-splide .splide__arrow svg {
    fill: #fff;
}

.homepage-splide .splide__pagination {
    display: none;
}

.featured h4{
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1.16;
    margin-bottom: 16px;
    margin-top: 0 !important;
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000; /* match your header text color */
    transition: transform 0.3s, opacity 0.3s;
}

/* Hamburger active (X) state */
.hamburger.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    padding: 80px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
}
.mobile-drawer.is-open {
    right: 0;
}

.drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #000;
}

/* Drawer nav links */
.drawer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.drawer-nav li { border-bottom: 1px solid #eee; }
.drawer-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    color: #000;
    text-decoration: none;
}
.drawer-nav a:hover { opacity: 0.6; }

.drawer-cta {
    display: inline-block;
    margin-top: 24px;
    /* mirror your .header-cta styles */
}

/* Overlay */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
}
.drawer-overlay.is-open { display: block; }

.mobile-drawer {
    right: -100%;
}

/* Responsive breakpoint */
@media (max-width: 980px) {
    .hamburger { display: flex; }
    #site-navigation,
    .nav-divider,
    .header-cta { display: none; }
	
	.logo-primary {
  width: 175px;
}
	.site-header  {
  height: 85px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}
	    body 
	{ padding-top: 85px!important; }
	
	    .content-area {
        margin-top: 0;
        margin-bottom: 2rem;
    }

 
}

 html {
  overflow-x: clip;
}

.stats {
	color:var(--oak)
}

/* ============================================================
   SERVICE PAGE TEMPLATE  (page-service.php)
   Reusable section builder — WoodWerks, Kellin, etc.
   Append to style.css.
   Relies on existing vars: --dark --oak --gold --cream --serif --sans
   ============================================================ */

/* ── CONTAINER (matches .header-container: 1300 / auto / 20px) ── */
.svc-container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding-inline: 20px;
}
.svc-container.svc-width-narrow { max-width: 760px; }
.svc-container.svc-width-wide   { max-width: 1300px; }

/* ── SECTION RHYTHM ─────────────────────────────────── */
.svc-section { padding-block: 64px; }
.svc-hero    { padding-block: 96px; }
.svc-cta     { padding-block: 80px; }
.svc-legal   { padding-block: 40px; }

/* ── BACKGROUND + TEXT-COLOR PAIRINGS ───────────────────
   Dark bg -> light text.  Light/gold bg -> dark text.
   This is the contrast safety the template promised. */
.svc-bg-navy  { background: var(--dark); color: rgba(255,255,255,.7); }
.svc-bg-oak   { background: var(--oak);  color: rgba(255,255,255,.7); }
.svc-bg-light { background: #e8e8e8;      color: #1d2333; }
.svc-bg-gold  { background: var(--gold);  color: #1d2333; }

/* headings: light on dark bg, dark on light/gold bg */
.svc-bg-navy  .svc-heading,
.svc-bg-oak   .svc-heading { color: #fff; }
.svc-bg-light .svc-heading,
.svc-bg-gold  .svc-heading { color: #1d2333; }

/* eyebrow stays gold on dark, flips to navy on gold so it stays legible */
.svc-bg-gold .hero-eyebrow { color: var(--dark) !important; }
.svc-bg-gold .hero-eyebrow::before { background: var(--dark); }

/* links inherit sensibly per bg */
.svc-bg-light a, .svc-bg-gold a { color: #1d2333; }

/* ── HEADINGS ───────────────────────────────────────────
   Beats the global  h2 { margin-bottom:0 !important }  */
.svc-heading {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 24px !important;
}

/* body copy inside sections */
.svc-section p { line-height: 1.65; }
.svc-section :where(p):not(:last-child) { margin-bottom: 1em; }

/* ── HERO ───────────────────────────────────────────── */
.svc-hero__text { max-width: 720px; }
.svc-hero .hero-sub { max-width: 560px; }

.svc-hero--split {
  display: flex;
  align-items: center;
  gap: 48px;
}
.svc-hero--split .svc-hero__text { flex: 1 1 auto; }
.svc-hero__icon {
  flex: 0 0 auto;
  color: var(--gold);
}
.svc-hero__icon svg { width: 120px; height: 120px; display: block; }

/* ── SPLIT LAYOUT (intro + checklist share this) ────── */
.svc-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.svc-aside {
  background: var(--oak);
  border-radius: 8px;
  padding: 40px 36px;
}
/* on a dark-bg section the aside needs separation from bg */
.svc-bg-oak .svc-aside { background: var(--dark); }
.svc-aside__heading {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.svc-aside__body {
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}

/* ── BLUE PILL ──────────────────────────────────────── */
.blue-pill {
  display: inline-block;
  background: var(--dark);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
}

/* ── FEATURE CARDS ──────────────────────────────────── */
.svc-cards-section .svc-heading { margin-bottom: 48px !important; }
.svc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.svc-card {
  background: var(--oak);
  border-radius: 8px;
  padding: 24px 40px 36px;
}
.svc-bg-oak .svc-card { background: var(--dark); }
.svc-card__num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin: 0 0 4px !important;
}
.svc-card__title {
  font-size: 22px;
  color: #fff;
  margin: 0 0 10px !important;
}
.svc-card__desc { margin: 0; }

/* ── CHECKLIST ──────────────────────────────────────── */
.svc-checklist { list-style: none; margin: 0; padding: 0; }
.svc-checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  line-height: 1.4;
}
.svc-checklist li::before {       /* gold rounded square */
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  background: var(--gold);
  border-radius: 5px;
}
.svc-checklist li::after {        /* the check (rotated border) */
  content: "";
  position: absolute;
  left: 7px; top: 5px;
  width: 5px; height: 10px;
  border: solid var(--dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ── CTA ────────────────────────────────────────────── */
.svc-cta { text-align: center; }
.svc-cta__eyebrow { justify-content: center; }
.svc-cta__eyebrow::before { display: none; }   /* drop the lead dash when centered */
.svc-cta__body { margin: 0 auto 28px; }
.svc-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  border-radius: 2px;
  padding: 14px 30px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.svc-btn:hover { filter: brightness(1.06); }

/* ── LEGAL ──────────────────────────────────────────── */
.svc-legal { font-size: 12px; line-height: 1.7; }
.svc-legal p { color: rgba(255,255,255,.4); }
.svc-bg-light .svc-legal p,
.svc-bg-gold  .svc-legal p { color: rgba(29,35,51,.65); }

/* ── MOBILE ─────────────────────────────────────────── */
@media (max-width: 782px) {
  .svc-section { padding-block: 48px; }
  .svc-hero    { padding-block: 64px; }
  .svc-cta     { padding-block: 56px; }
  .svc-legal   { padding-block: 32px; }

  .svc-split { grid-template-columns: 1fr; gap: 28px; }

  /* hero icon stacks ABOVE the text on mobile */
  .svc-hero--split { flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .svc-hero__icon svg { width: 72px; height: 72px; }

  .svc-heading { font-size: 28px; }
  .svc-card { padding: 24px 28px 30px; }
}


/* ── FOOTER ─────────────────────────────────────── */
#footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 20px 0;
}

.footer-inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img {
    max-width: 80px;
    height: auto;
}

.footer-top {
    grid-template-columns: 1fr auto;
    align-items: center;
}

/* ── FOOTER SOCIAL ───────────────────────────────── */
.footer-social {
    display: flex;
    gap: 16px;
    justify-self: end;
    align-items: center;
}

.social-link {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.social-link:hover {
    color: #fff;
}

/* ── FOOTER BOTTOM ───────────────────────────────── */
.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    margin: 0;
}

/* ── FOOTER MOBILE ───────────────────────────────── */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-nav {
        justify-self: start;
    }

    .footer-social {
        justify-self: start;
    }
}
.footer-nav-list,
.footer-nav-list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list .sub-menu {
    padding-left: 12px;
    margin-top: 6px;
}

.footer-nav-list a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-nav-list .sub-menu a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}


/* ─── Case Study Single ─── */
.case-study-content {
	color: var(--dark);
}

.hero-wrap {
	background-color:#272d3f;
	min-height:500px;
	display:flex;
	align-items:center;
}

.hero-inner {
	max-width:1300px;
	margin:auto;
	display:flex;
	gap:2rem;
	width:95%
 }

.hero-inner div:first-child {
align-self: flex-end;
}

.hero-inner div {
	width:50%;
 }

.hero-inner div img {
	width: 100%;
    height: 450px;
    max-height: 450px;
    object-fit: cover;
    display: block;
	border-radius:10px;
}

@media ( max-width: 980px ) {
    .hero-inner {
        display: block;
        padding: 50px 0;
    }
    .hero-inner div {
        width: 95%;
    }
}


.social-link svg {
	fill: #fff;
}
 
/* make padding count inside width, not added on top */
.svc-container,
.svc-card,
.svc-aside { box-sizing: border-box; }

/* long words / pasted URLs in wysiwyg fields wrap instead of bleeding */
.svc-section p,
.svc-aside__body,
.svc-card__desc,
.svc-legal p { overflow-wrap: break-word; }

/* the pill won't shove past the edge if its text is long */
.blue-pill { max-width: 100%; white-space: normal; }

/* belt-and-suspenders: nothing in a section escapes it */
.svc-section img,
.svc-section svg { max-width: 100%; height: auto; }


/* desktop: icon flush right */
.svc-hero__icon {
  flex: 0 0 auto;
  color: var(--gold);
  text-align: right;
  margin-left: auto;   /* eats any slack, pins it to the right edge */
}
.svc-hero__icon svg {
  width: 120px;
  height: 120px;
  display: inline-block;   /* so text-align: right can position it */
}

@media (max-width: 782px) {
  .svc-hero__icon {
    text-align: left;
    margin-left: 0;
  }
  .svc-hero__icon svg {
    width: 72px;
    height: 72px;
  }
}


/* ============================================================
   HOMEPAGE  (front-page.php)
   Rebuilds the row/column layouts that Kadence used to provide.
   Append to style.css. Uses existing vars: --dark --oak --gold --cream
   ============================================================ */

/* ── WIDTH WRAPPER (independent of service .svc-container) ── */
.home-container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding-inline: 40px;
  box-sizing: border-box;
}

/* ── HERO ───────────────────────────────────────────── */
.hero--home {
  background: var(--oak);
  
}
.hero__inner {
  display: flex;
  align-items: flex-end;
  gap: 48px;
  min-height: 500px;
  padding-block: 60px;
}
.hero__text  { flex: 1 1 50%; }
.hero__media { flex: 1 1 50%; }
.hero__media img { max-width: 100%; height: auto; display: block; }

/* ── STATS BAR  */

.stats { background: #e8e8e8; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-block: 20px;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--sans);
  font-size: 31px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
}
.stat__label {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--dark);
  margin-top: 4px;
}

/* ── WHAT WE BUILD ──────────────────────────────────── */
.what-we-build { background: #282d3e; }
.what-we-build .home-container { padding-block: 40px; }
.what-we-build h2 {
  font-family: var(--serif);
  font-size: 36px;
  color: #fff;
  margin: 0 0 16px !important;   /* beats global h2 reset */
}
.what-we-build p { max-width: 720px; }

/* ── TYPE GRID (was two 3-col Kadence rows) ─────────── */
.type-grid { background: var(--oak); }
.type-grid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-block: 0 40px;
}
.type-card {
  display: flex;
  gap: 12px;
  background: #e8e8e8;
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
}
.type-card__icon { 
	
	color: var(--dark);
  width:fit-content!important;
 


}
.type-card__icon svg { width: 40px; height: 40px; display: block; }
.type-card__body { color: var(--dark); }
.type-card__body h3 {
  font-family: var(--sans);
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--dark);
}


.type-card__body p { margin: 0; font-size: 14px; line-height: 1.4; }

/* ── FEATURED PROJECT ───────────────────────────────── */
.featured { background: #fff; }
.featured .home-container { padding-block: 24px; }
.featured__card {
  display: flex;
  gap: 0;
  background: var(--oak);
  border-radius: 10px;
  overflow: hidden;
  max-width: 1300px;
  margin-inline: auto;
  box-shadow: 20px 20px 30px rgba(0,0,0,0.2);
	margin:40px auto;
}
.featured__text  { flex: 1 1 50%; padding: 40px; }
.featured__media { flex: 1 1 50%; padding: 20px; display: flex; align-items: flex-start; }
.featured__media img { max-width: 100%; height: auto; border-radius: 10px; display: block; }
.featured__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.featured__title {
  font-family: var(--serif);
  font-size: 22px;
  color: #fff;
  margin: 0 0 14px;
}
.featured__text p { color: rgba(255,255,255,.7); }

/* ── BTN-GHOST (links row) —  
.btn-ghost { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 0; }

/* ── MOBILE ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero__inner { flex-direction: column; align-items: flex-start; min-height: 0; gap: 32px; }
  .hero__text, .hero__media { flex: 1 1 100%; width: 100%; }
  .type-grid__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
  .home-container { padding-inline: 20px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .type-grid__grid { grid-template-columns: 1fr; }
  .featured__card { flex-direction: column; }
  .featured__text, .featured__media { flex: 1 1 100%; }
}

.type-card__icon {
  flex: 0 0 auto;
  min-width: 0;
  align-self: flex-start;
  display: inline-flex;
  width: fit-content;
  background-color: var(--gold);
  padding: 5px;
  border-radius: 8px;
  box-sizing: content-box;
}

.type-card__icon svg {
  width: 40px !important;
  height: 40px !important;
  display: block;
  fill: var(--dark);
  background: none !important;   /* kill any inherited gold from .type-grid svg */
  padding: 0 !important;
}


/*  

/* ── HERO BANNER ────────────────────────────────────── */
.hero--archive {
  background: var(--oak);
  padding-block: 64px;
	min-height:225px
}
.hero--archive .hero-eyebrow { margin-bottom: 16px !important; }
.hero--archive .hero-h1 { margin-bottom: 14px; }
.hero--archive .hero-sub { max-width: 560px; margin-bottom: 0; }

/* ── ARCHIVE WRAP ───────────────────────────────────── */
.cs-archive { background: var(--cream); padding-block: 56px; }

/* ── GRID ───────────────────────────────────────────── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ── CARD ───────────────────────────────────────────── */
.cs-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.cs-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e8e8e8;
}
.cs-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cs-card:hover .cs-card__img { transform: scale(1.04); }
.cs-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8, #d4d4d4);
}

.cs-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  flex: 1;
}
.cs-card__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin: 0 !important;
}
.cs-card__excerpt {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(29,35,51,0.7);
  margin: 0;
}
.cs-card__link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--oak);
  margin-top: auto;
  padding-top: 8px;
}

/* ── EMPTY STATE ────────────────────────────────────── */
.cs-empty {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--dark);
  text-align: center;
  padding-block: 40px;
}

/* ── PAGINATION ─────────────────────────────────────── */
.cs-archive .pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.cs-archive .pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cs-archive .pagination .page-numbers {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  padding: 8px 14px;
  border: 1px solid var(--lt-border);
  border-radius: 4px;
  text-decoration: none;
}
.cs-archive .pagination .page-numbers.current {
  background: var(--oak);
  color: var(--cream);
  border-color: var(--oak);
}
.cs-archive .pagination .page-numbers:hover:not(.current) {
  background: var(--gold);
  border-color: var(--gold);
}

/* ── MOBILE ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cs-grid { grid-template-columns: 1fr; }
  .hero--archive { padding-block: 44px; }
  .cs-archive { padding-block: 40px; }
}
