/*
Theme Name: Carver Kings
Template: twentyseventeen
Description: Carver Kings child theme. Keeps the parent's header and adds the new homepage. Built on the local copy 2026-11-16.
Version: 0.7.4
Text Domain: carverkings
*/

:root {
	--ck-char: #141311;
	--ck-ink: #1f1d1a;
	--ck-bone: #f4efe6;
	--ck-paper: #fbf8f3;
	--ck-grey: #8a857c;
	--ck-line: #2c2a26;
	--ck-accent: #e46f17; /* the trailer lettering orange (measured #cf6813 in shade on IMG_2206, brightened for daylight) */
	--ck-forest: #14644d; /* the trailer's forest green, for small touches */
	--ck-head: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
	--ck-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- global type over the parent ---------- */
body, button, input, select, textarea { font-family: var(--ck-body); }
.site-title, .site-title a { font-family: var(--ck-head); font-weight: 900; letter-spacing: .02em; }
.navigation-top { background: var(--ck-char); border: 0; }
.navigation-top a { color: var(--ck-bone); font-family: var(--ck-head); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.navigation-top a:hover, .navigation-top .current-menu-item > a { color: var(--ck-accent); }
.menu-toggle { color: var(--ck-bone); }
.navigation-top .menu-scroll-down { display: none; }

/* ---------- homepage ---------- */
.ck-home { background: var(--ck-paper); color: var(--ck-ink); }
.ck-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.ck-section { padding: 72px 0; }
.ck-dark { background: var(--ck-char); color: var(--ck-bone); }
.ck-eyebrow { font-family: var(--ck-head); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; color: var(--ck-accent); margin: 0 0 12px; }
.ck-h2 { font-family: var(--ck-head); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1; margin: 0 0 20px; letter-spacing: .01em; text-shadow: 3px 3px 0 rgba(0,0,0,.12); }
.ck-home .ck-h2 { color: var(--ck-ink); }
.ck-home .ck-dark .ck-h2 { color: var(--ck-bone); text-shadow: 3px 3px 0 rgba(0,0,0,.6); }
.ck-home h3 { color: inherit; }
.ck-lead { font-size: 1.125rem; line-height: 1.7; max-width: 62ch; }
.ck-btn { display: inline-block; background: var(--ck-accent); color: #fff !important; font-family: var(--ck-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 14px 26px; border-radius: 2px; text-decoration: none; box-shadow: none !important; }
.ck-btn:hover { background: #c94f10; }
.ck-btn--ghost { background: transparent; border: 2px solid currentColor; color: inherit !important; }
.ck-cut { height: 18px; background: var(--ck-char); clip-path: polygon(0 0, 4% 70%, 9% 20%, 15% 85%, 22% 30%, 30% 75%, 38% 15%, 46% 80%, 55% 25%, 63% 90%, 71% 35%, 79% 70%, 87% 20%, 94% 75%, 100% 30%, 100% 0); }

/* about */
.ck-about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ck-about img { width: 100%; height: 520px; object-fit: cover; display: block; }
.ck-stats { display: flex; gap: 28px; margin: 28px 0; flex-wrap: wrap; }
.ck-stat b { display: block; font-family: var(--ck-head); font-weight: 900; font-size: 2.6rem; line-height: 1; }
.ck-stat span { font-size: .85rem; color: var(--ck-grey); text-transform: uppercase; letter-spacing: .1em; }

/* seen on */
.ck-seen { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; text-align: center; padding: 34px 0; border-top: 1px solid var(--ck-line); border-bottom: 1px solid var(--ck-line); }
.ck-seen p { margin: 0; font-family: var(--ck-head); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; }
.ck-seen small { display: block; color: var(--ck-grey); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; font-weight: 600; }

/* featured */
.ck-feature { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; gap: 10px; margin-top: 28px; }
.ck-tile { position: relative; overflow: hidden; background: #000; grid-column: span 2; }
.ck-tile--big { grid-column: span 3; grid-row: span 2; }
.ck-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ck-tile:hover img { transform: scale(1.04); }
.ck-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; font-family: var(--ck-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; }
.ck-tile figcaption small { display: block; font-family: var(--ck-body); text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .8; }

/* services */
.ck-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--ck-line); margin-top: 28px; }
.ck-service { background: var(--ck-char); padding: 32px 26px; }
.ck-service h3 { font-family: var(--ck-head); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; margin: 0 0 10px; color: var(--ck-bone); }
.ck-service p { color: #bdb7ad; margin: 0 0 16px; line-height: 1.6; }
.ck-service a { color: var(--ck-accent); text-decoration: none; box-shadow: none; font-weight: 600; }
.ck-service .ck-num { font-family: var(--ck-head); font-weight: 900; font-size: 2.2rem; color: var(--ck-accent); display: block; margin-bottom: 10px; }

/* playground + videos */
.ck-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ck-card { background: #fff; border: 1px solid #e6dfd3; padding: 30px; }
.ck-card h3 { font-family: var(--ck-head); font-weight: 800; text-transform: uppercase; margin: 0 0 10px; }

/* reviews */
.ck-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.ck-review { background: #fff; border-left: 4px solid var(--ck-accent); padding: 22px; margin: 0; font-size: 1rem; line-height: 1.6; }
.ck-review cite { display: block; margin-top: 12px; font-style: normal; font-size: .8rem; color: var(--ck-grey); text-transform: uppercase; letter-spacing: .08em; }

/* quote */
.ck-quote { text-align: center; }
.ck-quote .ck-lead { margin: 0 auto 26px; }
.ck-phone { display: block; margin-top: 18px; color: var(--ck-bone) !important; font-family: var(--ck-head); font-weight: 700; font-size: 1.2rem; text-decoration: none; box-shadow: none !important; }

/* ---------- 0.2: Jacob's review ---------- */
/* title stands out more */
.twentyseventeen-front-page .site-branding .site-title { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; text-shadow: 4px 4px 0 rgba(0,0,0,.55), 0 0 30px rgba(0,0,0,.35); }
.twentyseventeen-front-page .site-description { font-family: var(--ck-head); font-weight: 600; font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: .06em; text-shadow: 2px 2px 0 rgba(0,0,0,.6); opacity: 1; }
.twentyseventeen-front-page .custom-logo-link img { max-height: 140px; }
/* the menu does not stick */
.navigation-top.site-navigation-fixed { position: relative !important; top: auto !important; }
.admin-bar .site-navigation-fixed.navigation-top { top: auto !important; }
.site-navigation-fixed + .site-content, .site-navigation-fixed ~ * { margin-top: 0 !important; }

/* tighter rhythm (parent margins) */
.ck-home p.ck-eyebrow { margin: 0 0 10px; padding: 0; }
.ck-home .ck-h2 { margin: 0 0 22px; padding: 0; }
.ck-home .ck-wrap { width: 100%; box-sizing: border-box; }

/* about + facebook */
.ck-about { grid-template-columns: 1fr 420px; align-items: start; }
.ck-fb iframe { width: 100%; max-width: 420px; height: 560px; background: #fff; display: block; }
.ck-people { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.ck-person { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start; }
.ck-person img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--ck-accent); }
.ck-person h3 { font-family: var(--ck-head); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; margin: 0 0 10px; padding: 0; }
.ck-person p { line-height: 1.7; }

/* as seen on */
.ck-seen-wrap { background: #fff; border-top: 1px solid #e6dfd3; border-bottom: 1px solid #e6dfd3; padding: 34px 0 26px; text-align: center; }
.ck-home .ck-seen-title { font-family: var(--ck-head); font-weight: 800; text-transform: uppercase; letter-spacing: .2em; font-size: .9rem; color: var(--ck-grey); margin: 0 0 16px; padding: 0; }
.ck-logos { display: flex; justify-content: center; align-items: center; gap: 30px 44px; flex-wrap: wrap; }
.ck-logos img { height: 64px; width: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.2); }
.ck-imdb { margin: 18px 0 0; font-size: .95rem; }
.ck-imdb a { color: var(--ck-ink); font-weight: 600; }

/* featured: uncropped masonry + click to enlarge */
.ck-masonry { columns: 3 300px; column-gap: 14px; margin-top: 10px; }
.ck-piece { break-inside: avoid; margin: 0 0 14px; background: #000; position: relative; }
.ck-piece a { display: block; box-shadow: none !important; cursor: zoom-in; }
.ck-piece img { width: 100%; height: auto; display: block; }
.ck-piece figcaption { padding: 10px 12px; background: var(--ck-char); color: var(--ck-bone); font-family: var(--ck-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.ck-piece figcaption small { display: inline; margin-left: 8px; font-family: var(--ck-body); text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .75; }
.ck-piece__more { float: right; color: var(--ck-accent) !important; font-size: .8rem; box-shadow: none !important; }
.ck-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.ck-lightbox::backdrop { background: rgba(10,9,8,.92); }
.ck-lightbox img { max-width: 96vw; max-height: 88vh; display: block; margin: 0 auto; }
.ck-lightbox__cap { color: #eee; text-align: center; margin: 10px 0 0; font-family: var(--ck-head); text-transform: uppercase; letter-spacing: .06em; }
.ck-lightbox__close { position: fixed; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 4px 10px; }

/* GALLERY (/gallery/, 2026-11-18): drawn by the theme (functions.php carverkings_gallery_html), plain CSS columns,
   whole photos (no crop), real width/height on every <img> so nothing jumps. 2 columns on phones, 3-4 wider. */
.page.page-one-column.ck-gallery-page:not(.twentyseventeen-front-page) #primary { max-width: 1140px; }
.ck-gallery-page .entry-content .ck-gallery-intro { max-width: 740px; }
.ck-gallery { columns: 4 230px; column-gap: 12px; margin: 26px 0 0; }
.ck-gallery__item { margin: 0 0 12px; padding: 0; background: #e9e4da; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; }
.entry-content .ck-gallery__item a { display: block; box-shadow: none; cursor: zoom-in; }
.entry-content .ck-gallery__item a:hover, .entry-content .ck-gallery__item a:focus { box-shadow: none; }
.entry-content .ck-gallery__item img { display: block; width: 100%; height: auto; max-width: 100%; box-shadow: none; }
.entry-content .ck-gallery__item a:focus-visible { outline: 3px solid var(--ck-forest); outline-offset: 2px; }
@media (max-width: 47.99em) {
	.ck-gallery { columns: 2; column-gap: 8px; margin-top: 18px; }
	.ck-gallery__item { margin-bottom: 8px; }
}

/* INNER PAGES' HEADER PHOTO, FACES RULE (Jacob 2026-11-18, on a wide monitor: the band cut both faces, the title
   sat on one). Twenty Seventeen shows the MIDDLE of the photo in a short band, which is exactly where the faces are
   (photo 2000x1199, faces y 545-845). Inner pages show the TOP of the photo instead: the carved wizard and the trees.
   The photo's box is never narrower than 4:1 (as wide as the band, or 4x its height, centred), so "cover" from the top
   can only ever show the top 500 rows, whatever height the band grows to (the title wraps on a 360px phone). */
.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
	object-position: 50% 0; height: 100%; width: auto; min-width: 100%; max-width: none; aspect-ratio: 4 / 1; left: 50%; transform: translateX(-50%);
}
/* The parent's script puts the menu's height (~69px) under the header photo as an inline margin, to make room for a
   menu that sits ON the photo. Ours sits below it (position: relative), so that margin showed as an empty strip. */
@media (min-width: 48em) {
	body:not(.twentyseventeen-front-page) .site-header .custom-header { margin-bottom: 0 !important; }
}

/* what we do: plain and readable, not a sales block */
.ck-what { background: var(--ck-bone); }
.ck-what__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.ck-what__grid h3 { font-family: var(--ck-head); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; margin: 0 0 8px; padding: 0 0 8px; border-bottom: 3px solid var(--ck-accent); display: inline-block; }
.ck-what__grid p { font-size: 1.05rem; line-height: 1.65; color: var(--ck-ink); margin: 0; }

/* quote band stands out */
.ck-quote-band { background: var(--ck-accent); color: #fff; text-align: center; padding: 64px 0; }
.ck-home .ck-quote-band .ck-h2 { color: #fff; text-shadow: 3px 3px 0 rgba(0,0,0,.25); }
.ck-quote-band .ck-lead { margin: 0 auto 26px; color: #fff; }
.ck-btn--dark { background: var(--ck-char); }
.ck-btn--dark:hover { background: #000; }
.ck-quote-band .ck-phone { color: #fff !important; }

/* ---------- inner pages ---------- */
body:not(.twentyseventeen-front-page) .site-content { background: var(--ck-paper); }
body.page:not(.twentyseventeen-front-page) .entry-header .entry-title,
body.single .entry-title, .page-header .page-title { font-family: var(--ck-head); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: .01em; color: var(--ck-ink); line-height: 1.05; }
body.page:not(.twentyseventeen-front-page) .entry-header .entry-title::after { content: ""; display: block; width: 64px; height: 4px; background: var(--ck-accent); margin-top: 14px; }
.entry-content a { color: var(--ck-ink); box-shadow: inset 0 -2px 0 var(--ck-accent); }
.entry-content a:hover { color: var(--ck-accent); }
/* one wide column on pages: no squeezed side title */
@media (min-width: 48em) {
	body.page-one-column:not(.twentyseventeen-front-page) #primary .entry-header,
	body.page:not(.twentyseventeen-front-page) #primary .entry-header { width: 100%; float: none; }
	body.page:not(.twentyseventeen-front-page) #primary .entry-content { width: 100%; float: none; }
	body.page:not(.twentyseventeen-front-page) .wrap { max-width: 1180px; }
}

/* ---------- project lists (List Category Posts, e.g. Playground Projects) ---------- */
.entry-content ul.lcp_catlist { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.entry-content ul.lcp_catlist li { background: #fff; margin: 0; padding: 0 0 18px; display: flex; flex-direction: column; border-bottom: 4px solid var(--ck-accent); box-shadow: 0 8px 26px rgba(0,0,0,.06); font-size: .95rem; line-height: 1.6; overflow: hidden; }
.entry-content ul.lcp_catlist li > a:has(img), .entry-content ul.lcp_catlist li .lcp_thumbnail { order: -1; }
.entry-content ul.lcp_catlist li a { box-shadow: none; }
.entry-content ul.lcp_catlist img, .entry-content ul.lcp_catlist .lcp_thumbnail { width: 100% !important; height: 230px !important; object-fit: cover; display: block; margin: 0 0 14px !important; max-width: none; float: none !important; }
.entry-content ul.lcp_catlist .lcp_title, .entry-content ul.lcp_catlist li > a:first-child { font-family: var(--ck-head); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; color: var(--ck-ink); padding: 0 18px; margin-bottom: 6px; display: block; }
.entry-content ul.lcp_catlist .lcp_excerpt, .entry-content ul.lcp_catlist li { color: #4a463f; }
.entry-content ul.lcp_catlist .lcp_excerpt { padding: 0 18px; display: block; }

/* card-grid pages (Projects, Playground) use the full width; text pages keep the parent's readable 740px */
.page.page-one-column:not(.twentyseventeen-front-page) #primary:has(.lcp_catlist) { max-width: 1140px; }
#primary:has(.lcp_catlist) .entry-content > p:not(.ck-project-cta) { max-width: 70ch; }
/* video-only project posts have no photo: a dark tile says so instead of an empty gap */
.entry-content ul.lcp_catlist li:not(:has(img))::before { content: "\25B6\00a0 Watch the video"; order: -2; display: flex; align-items: center; justify-content: center; height: 230px; margin: 0 0 14px; background: var(--ck-char); color: var(--ck-bone); font-family: var(--ck-head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }

/* ---------- single posts (project + blog pages) ---------- */
.single-post .wrap { max-width: 980px; }
.single-featured-image-header { background: var(--ck-char); border: 0; }
.single-featured-image-header img { width: 100%; max-height: 62vh; object-fit: cover; display: block; }
.single-post .entry-meta { font-family: var(--ck-head); letter-spacing: .1em; }
.single-post #primary { width: 100%; float: none; }
.single-post .entry-content { font-size: 1.08rem; line-height: 1.75; }
.single-post .entry-content img { height: auto; max-width: 100%; }
.single-post .entry-content .wp-block-image, .single-post .entry-content figure { margin: 26px 0; }
.single-post #secondary { display: none; }
.has-sidebar.single-post #primary { width: 100%; }

.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--ck-head); font-weight: 800; text-transform: uppercase; color: var(--ck-ink); letter-spacing: .02em; }

/* ---------- project pages ---------- */
.ck-project-lead { font-size: 1.3rem; line-height: 1.6; font-weight: 600; color: var(--ck-ink); }
.ck-facts { background: #fff; border-left: 5px solid var(--ck-accent); padding: 18px 24px; margin: 24px 0; box-shadow: 0 8px 26px rgba(0,0,0,.05); }
.ck-facts h2 { font-size: 1rem; letter-spacing: .14em; color: var(--ck-accent); margin-top: 0; }
.ck-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 20px; }
.ck-facts li { margin: 0; }
.ck-project-cta { background: var(--ck-char); color: var(--ck-bone); padding: 20px 24px; font-family: var(--ck-head); font-weight: 600; font-size: 1.1rem; }
.ck-project-cta a { color: var(--ck-accent) !important; box-shadow: none !important; }

/* ---------- footer ---------- */
.site-footer { background: var(--ck-char); color: #bdb7ad; border: 0; margin-top: 0; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; }
.ck-footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; font-size: .95rem; }
.ck-footer h2 { font-family: var(--ck-head); font-weight: 900; text-transform: uppercase; color: var(--ck-bone); font-size: 1.4rem; margin: 0 0 8px; padding: 0; letter-spacing: .02em; }
.ck-footer h3 { font-family: var(--ck-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--ck-accent); margin: 0 0 10px; padding: 0; }
.ck-footer ul { list-style: none; margin: 0; padding: 0; }
.ck-footer li { margin: 0 0 6px; }
.ck-footer a { color: var(--ck-bone); box-shadow: none !important; text-decoration: none; }
.ck-footer a:hover { color: var(--ck-accent); }
.ck-footer__signup { grid-column: 1 / -1; background: var(--ck-ink); padding: 22px; border-left: 4px solid var(--ck-accent); }
.ck-footer__signup p { margin: 0 0 12px; }
.ck-signup { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.ck-signup .wpcf7-form-control-wrap { flex: 1 1 200px; }
.ck-signup input[type=text], .ck-signup input[type=email] { width: 100%; padding: 12px; border: 2px solid var(--ck-line); background: var(--ck-char); color: var(--ck-bone); font-family: var(--ck-body); }
.ck-signup input[type=submit].ck-btn { border: 0; cursor: pointer; padding: 13px 22px; background: var(--ck-accent) !important; color: #fff !important; }
.ck-signup > p:not(.ck-signup__consent) { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin: 0; width: 100%; }
.ck-signup br { display: none; }
.ck-signup__consent, .ck-signup__consent * { flex: 1 1 100%; font-size: .88rem; margin: 6px 0 0; color: #e4ded3 !important; }
.ck-signup__consent input { margin-right: 6px; }
.site-footer .wpcf7-response-output { color: var(--ck-bone); }
.ck-footer__legal { grid-column: 1 / -1; border-top: 1px solid var(--ck-line); padding-top: 16px; font-size: .8rem; color: var(--ck-grey); }
.site-footer .widget-area { display: none; }
@media (max-width: 760px) { .ck-footer { grid-template-columns: 1fr; } }

/* ---------- quote form ---------- */
.ck-form-intro { font-size: 1.15rem; line-height: 1.6; max-width: 62ch; }
.ck-form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; max-width: 820px; background: #fff; border-top: 6px solid var(--ck-accent); padding: 28px; box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.ck-form__row { grid-column: 1 / -1; margin: 0 0 12px; }
.ck-form__half { grid-column: span 1; }
.ck-form label { font-family: var(--ck-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--ck-ink); display: block; }
.ck-form input[type=text], .ck-form input[type=email], .ck-form input[type=tel], .ck-form select, .ck-form textarea { width: 100%; margin-top: 6px; border: 2px solid #ddd5c8; border-radius: 2px; padding: 12px; font-family: var(--ck-body); font-size: 1rem; background: var(--ck-paper); text-transform: none; letter-spacing: 0; }
.ck-form input:focus, .ck-form select:focus, .ck-form textarea:focus { border-color: var(--ck-accent); outline: none; background: #fff; }
.ck-form textarea { min-height: 150px; }
.ck-form__files { background: var(--ck-bone); padding: 14px; border: 2px dashed #cfc5b5; }
.ck-form__files small { display: block; margin-top: 6px; color: var(--ck-grey); }
.ck-form input[type=submit].ck-btn { border: 0; cursor: pointer; font-size: 1rem; padding: 16px 30px; background: var(--ck-accent) !important; color: #fff !important; }
.ck-form input[type=submit].ck-btn:hover { background: #c94f10 !important; }
.wpcf7-not-valid-tip { color: #b3261e; font-size: .85rem; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-width: 2px; }

/* ---------- 0.3: design review 2026-11-16 (items 1, 2, 5 + small ones) ---------- */
/* readable orange + grey. Measured: #e46f17 on paper = 3.0:1 (fails small text); #a84f0e = 5.2 paper / 4.8 bone / 5.5 white.
   White on #e46f17 = 3.2:1 (fails); white on #b8560f = 4.8:1. Brand orange stays for big words, rules and borders. */
:root { --ck-accent-text: #a84f0e; --ck-btn: #b8560f; --ck-btn-hover: #9a470c; --ck-grey-text: #6b665e; }
.ck-eyebrow, .ck-facts h2 { color: var(--ck-accent-text); }
.entry-content a:hover { color: var(--ck-accent-text); }
.ck-btn, .ck-form input[type=submit].ck-btn, .ck-signup input[type=submit].ck-btn { background: var(--ck-btn) !important; }
.ck-btn:hover, .ck-form input[type=submit].ck-btn:hover { background: var(--ck-btn-hover) !important; }
.ck-btn--ghost { background: transparent !important; }
.ck-btn--dark { background: var(--ck-char) !important; }
.ck-btn--dark:hover { background: #000 !important; }
.ck-stat span, .ck-review cite, .ck-form__files small, .ck-home .ck-seen-title { color: var(--ck-grey-text); }
.ck-review { color: var(--ck-ink); }
.ck-quote-band .ck-lead, .ck-quote-band .ck-phone { color: var(--ck-char) !important; }

/* hero: what we are, where, and what to do next */
.twentyseventeen-front-page .site-branding .site-title .ck-h1-sub { display: block; margin-top: 10px; font-size: clamp(1rem, 2.4vw, 1.6rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-shadow: 2px 2px 0 rgba(0,0,0,.65); }
/* hire strip directly under the photo (above the menu): buttons never cover the faces */
.ck-hero-bar { background: var(--ck-char); border-bottom: 1px solid var(--ck-line); }
.ck-hero-bar__inner { max-width: 1000px; margin: 0 auto; padding: 16px 2em; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.ck-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ck-hero-cta .ck-btn { font-size: .95rem; padding: 13px 24px; }
.ck-btn--light { color: #fff !important; border-color: rgba(255,255,255,.85); }
.ck-btn--light:hover { background: rgba(255,255,255,.12) !important; }
.ck-hero-proof { margin: 0; color: var(--ck-bone); font-size: 1rem; font-weight: 600; }
.ck-hero-proof em { color: #fff; }
/* The parent pins the header photo to the screen (position: fixed, parallax), so the faces sit at a fixed screen height
   whatever the box does. The title stays exactly where the parent put it (just above the menu), the menu sits under
   the photo instead of on it, and the hire strip comes right after the menu, above the fixed photo (z-index). */
.ck-hero-bar { position: relative; z-index: 4; }
@media screen and (min-width: 48em) {
	.twentyseventeen-front-page .site-header { display: flex; flex-direction: column; }
	.twentyseventeen-front-page .site-header .custom-header { order: 1; }
	.twentyseventeen-front-page .site-header .navigation-top { order: 2; position: relative; bottom: auto; }
	.twentyseventeen-front-page .site-header .ck-hero-bar { order: 3; }
	.has-header-image.twentyseventeen-front-page .custom-header-media { height: calc(100vh - 68px); }
	.has-header-image.twentyseventeen-front-page .site-branding { margin-bottom: 0; }
}
/* ---------- NEVER ON THE FACES (Jacob 2026-11-16: "we shouldn't block our faces") ----------
   Header photo 2000x1199: faces (caps to beards) x 740-1320, y 545-845. Dark fence right of Paul x 1340-1880,
   y 440-1000. Measured: the bottom-left title covered the faces 16-86% on 11 of 12 screen sizes.
   Wide screens: the photo is pinned (fixed, "cover", centred), 1 photo px = --s screen px, so the title is placed on the
   fence with the same maths. Phones / tablets / squarer screens: photo uncovered, title in a dark band under it. */
@media screen and (min-width: 48em) and (min-aspect-ratio: 3/2) {
	.twentyseventeen-front-page.has-header-image .site-branding {
		--s: max(calc(100vw / 2000), calc(100vh / 1199));
		position: absolute; bottom: auto; right: auto;
		left: calc(50vw + 365 * var(--s)); top: calc(50vh - 145 * var(--s)); width: calc(500 * var(--s));
		padding: 0; margin: 0; text-align: center;
	}
	.twentyseventeen-front-page.has-header-image .site-branding .wrap { max-width: none; padding: 0; margin: 0; }
	.twentyseventeen-front-page.has-header-image .custom-logo-link { display: block; padding: 0; margin: 0 auto calc(14 * var(--s)); }
	.twentyseventeen-front-page.has-header-image .custom-logo-link img { max-height: calc(120 * var(--s)); width: auto; margin: 0 auto; }
	.twentyseventeen-front-page.has-header-image .site-branding-text { display: block; }
	.twentyseventeen-front-page .site-branding .site-title { font-size: calc(98 * var(--s)); line-height: .95; margin: 0; }
	.twentyseventeen-front-page .site-branding .site-title .ck-h1-sub { font-size: calc(27 * var(--s)); margin-top: calc(16 * var(--s)); letter-spacing: .1em; }
	.twentyseventeen-front-page .site-description { font-size: calc(27 * var(--s)); margin-top: calc(10 * var(--s)); }
	/* the fence is already dark: no gradient needed over the faces */
	.twentyseventeen-front-page.has-header-image .custom-header-media:before { display: none; }
}
/* short wide screens: the fence ends below the menu line, so the round logo steps out to keep the title above it */
@media screen and (min-width: 48em) and (min-aspect-ratio: 3/2) and (max-height: 640px) {
	.twentyseventeen-front-page.has-header-image .custom-logo-link { display: none; }
	.twentyseventeen-front-page.has-header-image .site-branding { top: calc(50vh - 120 * var(--s)); }
}
@media screen and (max-width: 47.99em), screen and (max-aspect-ratio: 3/2) {
	.has-header-image.twentyseventeen-front-page .custom-header { display: block; height: auto; }
	.has-header-image.twentyseventeen-front-page .custom-header-media { position: relative; height: 62vh; min-height: 300px; max-height: 760px; }
	.has-header-image.twentyseventeen-front-page .custom-header-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: none; transform: none; object-fit: cover; object-position: 51% 60%; }
	.twentyseventeen-front-page.has-header-image .custom-header-media:before { display: none; }
	.has-header-image.twentyseventeen-front-page .site-branding { display: block; position: relative; height: auto; bottom: auto; background: var(--ck-char); padding: 22px 0 6px; margin: 0; z-index: 4; }
	.twentyseventeen-front-page .site-branding .site-title { font-size: clamp(2.2rem, 9vw, 4rem); }
	.has-header-image.twentyseventeen-front-page .site-branding .wrap { display: flex; align-items: center; gap: 14px; }
	.twentyseventeen-front-page .custom-logo-link { flex: 0 0 auto; padding: 0; }
	.twentyseventeen-front-page .custom-logo-link img { max-height: 64px; width: auto; }
	.ck-hero-bar { border-bottom: 0; }
}

@media (max-width: 600px) {
	.ck-hero-bar__inner { padding: 14px 16px; justify-content: center; text-align: center; }
	.ck-hero-cta { width: 100%; }
	.ck-hero-cta .ck-btn { flex: 1 1 0; text-align: center; padding: 13px 10px; font-size: .85rem; }
}
/* darker band behind the hero words so they read over the bright sky on phones */
.twentyseventeen-front-page.has-header-image .custom-header-media:before { height: 50%; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 75%, rgba(0,0,0,.6) 100%); }

/* menu: "Request Quote" is a button */
.navigation-top .menu > .menu-item > a[href$="/contact/"] { background: var(--ck-btn); color: #fff !important; padding: .55em 1.1em; margin-left: .5em; border-radius: 2px; }
.navigation-top .menu > .menu-item > a[href$="/contact/"]:hover { background: var(--ck-btn-hover); }
@media (max-width: 47.99em) { .navigation-top .menu > .menu-item > a[href$="/contact/"] { margin: 8px 0; display: inline-block; } .main-navigation li a { min-height: 44px; display: flex; align-items: center; } }

/* tap-to-call beside the about button */
.ck-tel { display: inline-block; margin-left: 18px; color: var(--ck-ink) !important; font-weight: 600; box-shadow: none !important; padding: 10px 0; }

/* featured: the story link on its own line, never on top of the caption */
.ck-piece__more { float: none; display: block; margin-top: 6px; font-size: .78rem; letter-spacing: .08em; }

/* keyboard users can always see where they are */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--ck-accent); outline-offset: 2px; }

/* footer links: bigger tap area */
.ck-footer li a { display: inline-block; padding: 6px 0; }
.ck-footer__name { font-family: var(--ck-head); font-weight: 900; text-transform: uppercase; color: var(--ck-bone); font-size: 1.4rem; margin: 0 0 8px; letter-spacing: .02em; }

/* project posts: the whole photo shows (not cropped to the legs), no blog date line */
.ck-project .single-featured-image-header { text-align: center; }
.ck-project .single-featured-image-header img { width: auto; max-width: 100%; max-height: 75vh; object-fit: contain; margin: 0 auto; }
.ck-project .entry-header .entry-meta { display: none; }

/* phones: show there is more below. A peek of the next section + a bobbing arrow (3 bobs, then still; fades on scroll).
   No auto-scroll: it fights the thumb and makes some people motion-sick. Tapping the arrow glides to the next section. */
html { scroll-behavior: smooth; }
.ck-scroll-cue { display: none; }
@media screen and (max-width: 47.99em), screen and (max-aspect-ratio: 3/2) {
	.has-header-image.twentyseventeen-front-page .custom-header-media { height: 52vh; }
}
/* the arrow: PHONES ONLY (Jacob: "only for phone because on desktop you see it anyways") */
@media screen and (max-width: 47.99em) {
	.ck-scroll-cue { display: flex; align-items: center; justify-content: center; position: absolute; left: 50%; bottom: 14px; z-index: 5; width: 48px; height: 48px; margin-left: -24px; border-radius: 50%; background: rgba(23,56,47,.72); color: #fff !important; box-shadow: none !important; transition: opacity .4s ease; animation: ck-bob 1.6s ease-in-out .8s 3; }
	.ck-scrolled .ck-scroll-cue { opacity: 0; pointer-events: none; }
}
@keyframes ck-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ck-scroll-cue { animation: none !important; } }

/* tap-to-play video (thumbnail until pressed) */
.ck-video { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--ck-char); overflow: hidden; box-shadow: none !important; margin: 24px 0; }
.ck-video img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; }
.ck-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(23,56,47,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23fff'/%3E%3C/svg%3E") center / 40px no-repeat; transition: transform .2s ease; }
.ck-video:hover::after { transform: scale(1.08); }
.ck-video__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; margin: 24px 0; }
/* FAQ (Yoast FAQ block) */
.schema-faq { margin: 34px 0 0; }
.schema-faq-section { background: #fff; border-left: 4px solid var(--ck-forest); padding: 16px 20px; margin: 0 0 12px; }
.schema-faq-question { display: block; font-family: var(--ck-head); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 1.05rem; color: var(--ck-ink); margin-bottom: 6px; }
.schema-faq-answer { margin: 0; line-height: 1.65; }
/* example cards on service pages */
.entry-content ul.ck-cards2 { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.ck-cards2 li { margin: 0; background: #fff; border-bottom: 4px solid var(--ck-forest); box-shadow: 0 8px 26px rgba(0,0,0,.06); }
.ck-cards2 a { box-shadow: none !important; }
/* Whole carving, never cropped (tester 2026-11-18: "Some pictures on the services pages crop weird, hard to see";
   a 220px "cover" box showed 52-65% of each photo). A square box, the photo fitted inside it on a light ground,
   so the cards still line up; same idea as the project pages' "contain". */
.ck-cards2 img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #ece6db; display: block; margin: 0; }
.ck-cards2 h3 { margin: 14px 16px 6px; font-size: 1.05rem; }
.ck-cards2 h3 a { color: var(--ck-ink); }
.ck-cards2 p { margin: 0 16px 16px; font-size: .95rem; line-height: 1.55; color: #4a463f; }
.ck-what__grid h3 a { color: inherit; box-shadow: none !important; text-decoration: none; }
.ck-what__grid h3 a:hover { color: var(--ck-forest); }
.page.page-one-column:not(.twentyseventeen-front-page) #primary:has(.ck-cards2) { max-width: 1140px; }
#primary:has(.ck-cards2) .entry-content > p:not(.ck-project-cta), #primary:has(.ck-cards2) .entry-content > ol, #primary:has(.ck-cards2) .entry-content > ul:not(.ck-cards2) { max-width: 70ch; }

/* events list */
.ck-events { list-style: none; margin: 18px 0 0; padding: 0; }
.ck-events li { padding: 12px 0; border-bottom: 1px solid #e6dfd3; }
.ck-events strong { font-family: var(--ck-head); text-transform: uppercase; letter-spacing: .03em; }

/* email line in About (replaces the second quote button; no phone number in public) */
.ck-tel-line { margin: 22px 0 0; font-size: 1.05rem; }
.ck-tel-line .ck-tel { margin: 0; padding: 0; color: var(--ck-forest) !important; font-weight: 700; box-shadow: inset 0 -2px 0 var(--ck-forest) !important; }

/* phones: the menu is the FIRST thing, a clear full-width bar (Jacob, iPhone 2026-11-16: "menu is not visible clearly") */
@media screen and (max-width: 47.99em) {
	.site-header { display: flex; flex-direction: column; }
	.site-header .navigation-top { order: -1; }
	.navigation-top { border-bottom: 3px solid var(--ck-forest); }
	.navigation-top .wrap { padding: 0 16px; }
	.navigation-top .menu-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 0; padding: 14px 0; min-height: 56px; color: var(--ck-bone); font-family: var(--ck-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; }
	.navigation-top .menu-toggle .icon { width: 22px; height: 22px; margin: 0; top: 0; }
	.navigation-top .main-navigation ul { background: transparent; }
	.navigation-top .main-navigation li { border-bottom: 1px solid rgba(244,239,230,.12); }
	.navigation-top .main-navigation li:last-child { border-bottom: 0; }
	.navigation-top .main-navigation a { font-size: 1rem; padding: 12px 4px; }
	.navigation-top .menu > .menu-item > a[href$="/contact/"] { justify-content: center; margin: 12px 0 16px; }
}

/* ---------- phone first: stack everything ---------- */
@media (max-width: 860px) {
	.ck-section { padding: 52px 0; }
	.ck-about, .ck-split { grid-template-columns: 1fr; gap: 28px; }
	.ck-about img { height: 360px; }
	.ck-feature { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
	.ck-tile, .ck-tile--big { grid-column: span 1; grid-row: span 1; }
	.ck-tile--big { grid-column: span 2; grid-row: span 2; }
	.ck-services { grid-template-columns: 1fr 1fr; }
	.ck-reviews { grid-template-columns: 1fr; }
	.ck-seen { gap: 28px; }
	.ck-masonry { columns: 2; column-gap: 8px; }
	.ck-piece { margin-bottom: 8px; }
	.ck-piece figcaption { font-size: .75rem; padding: 7px 8px; }
	.ck-piece figcaption small { display: block; margin: 2px 0 0; }
	.ck-people { grid-template-columns: 1fr; }
	.ck-person { grid-template-columns: 96px 1fr; }
	.ck-person img { width: 96px; height: 96px; }
	.ck-what__grid { grid-template-columns: 1fr 1fr; }
	.ck-logos img { height: 44px; }
	.ck-fb iframe { max-width: 100%; height: 480px; }
}
@media (max-width: 520px) {
	.ck-form { grid-template-columns: 1fr; padding: 18px; }
	.ck-form__half { grid-column: 1 / -1; }
	.ck-what__grid { grid-template-columns: 1fr; }
	.ck-person { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.ck-services { grid-template-columns: 1fr; }
}

/* ---------- 0.4 palette: the TRAILER, not October (Jacob 2026-11-16: "dont want too much raw orange and black that
   feels like october") ----------
   Dark = deep forest (#17382f, from the trailer's green), not near-black. ORANGE MEANS "DO THIS": only buttons.
   Labels, link underlines, borders, rings = trailer green #14644d (6.7:1 on paper). Small warm text on the dark
   green = soft orange #f0a060 (6.0:1); fine print = sage #a9c4b8 (6.9:1). */
:root { --ck-char: #17382f; --ck-line: #2b4c41; --ck-forest: #14644d; --ck-warm: #f0a060; --ck-sage: #a9c4b8; }
.ck-eyebrow, .ck-facts h2 { color: var(--ck-forest); }
.entry-content a { box-shadow: inset 0 -2px 0 var(--ck-forest); }
.entry-content a:hover { color: var(--ck-forest); }
.ck-review { border-left-color: var(--ck-forest); }
.ck-person img { box-shadow: 0 0 0 4px var(--ck-forest); }
.ck-what__grid h3 { border-bottom-color: var(--ck-forest); }
.entry-content ul.lcp_catlist li { border-bottom-color: var(--ck-forest); }
.ck-facts { border-left-color: var(--ck-forest); }
.ck-form { border-top-color: var(--ck-forest); }
.ck-form input:focus, .ck-form select:focus, .ck-form textarea:focus { border-color: var(--ck-forest); }
.ck-tel-line .ck-tel { color: var(--ck-forest) !important; }
/* small warm text on the dark green */
.navigation-top a:hover, .navigation-top .current-menu-item > a { color: var(--ck-warm); }
.ck-piece__more, .ck-project-cta a { color: var(--ck-warm) !important; }
.ck-footer h3 { color: var(--ck-warm); }
.ck-footer a:hover { color: var(--ck-warm); }
.ck-footer__legal { color: var(--ck-sage); }
.ck-footer__signup { background: #1f4a3d; border-left-color: var(--ck-warm); }
.ck-signup input[type=text], .ck-signup input[type=email] { background: #10291f; border-color: var(--ck-line); }
/* the closing band: trailer green with ONE orange button, not a block of raw orange */
.ck-quote-band { background: var(--ck-forest); }
.ck-quote-band .ck-lead, .ck-quote-band .ck-phone { color: var(--ck-bone) !important; }
.ck-quote-band .ck-btn--dark { background: var(--ck-btn) !important; }
.ck-quote-band .ck-btn--dark:hover { background: var(--ck-btn-hover) !important; }

/* Dropdown menus (tester 2026-11-18: "impossible to read"): the parent theme gives sub-menus a WHITE box, our menu
   text is cream, so it vanished. Desktop: dark forest box, cream text, warm hover; the little pointer matches.
   Phones: sub-menu items sit inside the dark menu, indented. */
@media (min-width: 48em) {
	.navigation-top { position: relative; z-index: 60; } /* the dropdown opens OVER the proof strip below, not under it */
	.navigation-top .main-navigation ul ul { z-index: 100; background: var(--ck-char); border: 1px solid var(--ck-line); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
	.navigation-top .main-navigation ul ul:before { border-bottom-color: var(--ck-line); }
	.navigation-top .main-navigation ul ul:after { border-bottom-color: var(--ck-char); }
	.navigation-top .main-navigation ul ul li { border-bottom: 1px solid var(--ck-line); }
	.navigation-top .main-navigation ul ul li:last-child { border-bottom: 0; }
	.navigation-top .main-navigation ul ul a { color: var(--ck-bone); padding: 12px 18px; font-size: .85rem; }
	.navigation-top .main-navigation ul ul a:hover,
	.navigation-top .main-navigation ul ul a:focus,
	.navigation-top .main-navigation ul ul .current-menu-item > a { color: var(--ck-warm); background: rgba(255,255,255,.06); }
}
@media (max-width: 47.99em) {
	.navigation-top .main-navigation ul ul { background: transparent; }
	.navigation-top .main-navigation ul ul a { color: var(--ck-bone); padding-left: 22px; text-transform: none; letter-spacing: .02em; }
	.navigation-top .main-navigation .dropdown-toggle { color: var(--ck-bone); }
}
