/*
Theme Name: Timberline at Fall Creek
Theme URI: https://www.thewebguys.com/
Author: The Web Guys
Author URI: https://www.thewebguys.com/
Description: Custom theme for Timberline at Fall Creek — offices, coworking, meeting rooms and event venues in Indianapolis. One PHP file per page (page-templates/), Genesis Custom Blocks for new sections, Settings → Site Settings for business details.
Version: 1.0.21
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: timberline-at-fall-creek
*/

/* ---- Brand fonts shipped with the theme (Adobe Fonts kit provides the body font, see Site Settings) ---- */
/* v1.0.15: Latin subsets load first (about half the bytes); the full files only download for glyphs outside that range. */
@font-face { font-family: "Akzidenz-Grotesk"; src: url("assets/img/fonts/AkzidenzGroteskPro-Md-latin.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+2264-2265, U+2713, U+FEFF, U+FFFD; }
@font-face { font-family: "Akzidenz-Grotesk"; src: url("assets/img/fonts/AkzidenzGroteskPro-Md.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02D9, U+02DB, U+02DD-02FF, U+0302, U+0305-0307, U+030A-0322, U+0324-0328, U+032A-1FFF, U+2070-20AB, U+20AD-2121, U+2123-218F, U+2194-2211, U+2213-2214, U+2216-2263, U+2266-2712, U+2714-FEFE; }
@font-face { font-family: "Job Clarendon"; src: url("assets/img/fonts/JobClarendonText-Regular-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+2264-2265, U+2713, U+FEFF, U+FFFD; }
@font-face { font-family: "Job Clarendon"; src: url("assets/img/fonts/JobClarendonText-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02D9, U+02DB, U+02DD-02FF, U+0302, U+0305-0307, U+030A-0322, U+0324-0328, U+032A-1FFF, U+2070-20AB, U+20AD-2121, U+2123-218F, U+2194-2211, U+2213-2214, U+2216-2263, U+2266-2712, U+2714-FEFE; }
@font-face { font-family: "Job Clarendon"; src: url("assets/img/fonts/JobClarendonText-Italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+2264-2265, U+2713, U+FEFF, U+FFFD; }
@font-face { font-family: "Job Clarendon"; src: url("assets/img/fonts/JobClarendonText-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02D9, U+02DB, U+02DD-02FF, U+0302, U+0305-0307, U+030A-0322, U+0324-0328, U+032A-1FFF, U+2070-20AB, U+20AD-2121, U+2123-218F, U+2194-2211, U+2213-2214, U+2216-2263, U+2266-2712, U+2714-FEFE; }
@font-face { font-family: "Latin Modern Mono"; src: url("assets/img/fonts/lmmono10-regular-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+2264-2265, U+2713, U+FEFF, U+FFFD; }
@font-face { font-family: "Latin Modern Mono"; src: url("assets/img/fonts/lmmono10-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02D9, U+02DB, U+02DD-02FF, U+0302, U+0305-0307, U+030A-0322, U+0324-0328, U+032A-1FFF, U+2070-20AB, U+20AD-2121, U+2123-218F, U+2194-2211, U+2213-2214, U+2216-2263, U+2266-2712, U+2714-FEFE; }

/* ---- Site styles (plain CSS; utilities are compiled in assets/css/main.css — treat that file as read-only) ---- */
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-weight: 400; letter-spacing: 0.005em; line-height: 1.45; -webkit-font-smoothing: antialiased; background: #fff; color: #242423; }
.font-display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.005em; }
h1, h2, h3, h4, .font-sans, nav, summary { font-family: var(--font-sans); font-weight: 400; letter-spacing: 0.01em; }
strong, b, .font-bold { font-family: var(--font-body); font-weight: 700; }
.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; }
.btn { font-family: var(--font-sans); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem 1.6rem; border-radius: 9999px; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
/* Logo lockup (header + footer): fluid width up to --logo-max, shrinks on narrow phones instead of overflowing. One spot: change --logo-max. */
:root { --logo-max: 335px; --logo-max-sm: 300px; }
.site-logo { display: block; flex: 1 1 auto; min-width: 0; width: 100%; max-width: var(--logo-max-sm); }
.site-logo img { display: block; width: 100%; height: auto; }
@media (min-width: 640px) { .site-logo { max-width: var(--logo-max); } }
#site-header .site-logo { flex: 0 1 auto; }
/* Narrow phones (<360px): let button labels wrap instead of pushing cards past the viewport. */
@media (max-width: 359px) { .btn { white-space: normal; text-align: center; } }
.hero-h1 { font-family: var(--font-sans); font-weight: 500; font-size: clamp(2.3rem, 6.2vw, 5.4rem); line-height: 0.95; letter-spacing: -0.03em; }
.link { color: var(--color-forest); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--color-forest) 35%, transparent); text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--color-forest); }
[data-tone="forest"] .link, [data-tone="gravel"] .link, [data-tone="grass"] .link, [data-tone="rose"] .link { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
[data-tone="forest"] .link:hover, [data-tone="gravel"] .link:hover, [data-tone="grass"] .link:hover, [data-tone="rose"] .link:hover { text-decoration-color: currentColor; }
.tw-caret { display: inline-block; margin-left: 0.05em; animation: tw-blink 1s steps(1) infinite; font-weight: 300; }
@keyframes tw-blink { 50% { opacity: 0; } }
details summary::-webkit-details-marker { display: none; }
#site-header-bar.is-scrolled { box-shadow: 0 8px 30px -18px rgba(36,36,35,0.5); }

/* Client-logo marquee: at most var(--visible) logos across the container on desktop */
.logo-marquee { --visible: 5; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; animation: logo-scroll 40s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-cell { flex: 0 0 auto; width: calc(min(1240px, 100vw - 2.5rem) / var(--visible)); display: flex; align-items: center; justify-content: center; padding: 0 1.5rem; }
@media (max-width: 767px) { .logo-cell { width: calc((100vw - 2.5rem) / 2); } }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } .tw-caret { animation: none; } }

/* Rose palette (weddings): rose sections use sand instead of Electric; light sections use rose for links, eyebrows, checks, buttons. */
[data-tone="rose"] .text-electric { color: var(--color-sand); }
[data-palette="rose"] .link { color: var(--color-rose); text-decoration-color: color-mix(in srgb, var(--color-rose) 40%, transparent); }
[data-palette="rose"] .link:hover { text-decoration-color: var(--color-rose); }
[data-palette="rose"] [data-tone="light"] .text-grass, [data-palette="rose"] [data-tone="sand"] .text-grass,
[data-palette="rose"] [data-tone="light"] .text-forest:not(.btn), [data-palette="rose"] [data-tone="sand"] .text-forest:not(.btn) { color: var(--color-rose); }
[data-palette="rose"] [data-tone="light"] .btn.bg-forest, [data-palette="rose"] [data-tone="sand"] .btn.bg-forest { background-color: var(--color-rose); color: #fff; }
[data-palette="rose"] [data-tone="light"] .btn.border-forest, [data-palette="rose"] [data-tone="sand"] .btn.border-forest { border-color: var(--color-rose); color: var(--color-rose); }
[data-palette="rose"] [data-tone="light"] .btn.border-forest:hover, [data-palette="rose"] [data-tone="sand"] .btn.border-forest:hover { background-color: var(--color-rose); color: #fff; }

/* Editor content (anything added in the block editor) and blog post bodies */
.tfc-editor-content, .tfc-post-body { max-width: 860px; margin-inline: auto; }
.tfc-editor-content { padding: 3rem 1.25rem; }
.tfc-post-body h2, .tfc-editor-content h2 { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; color: var(--color-forest); margin-top: 2.5rem; }
.tfc-post-body h3, .tfc-editor-content h3 { font-size: 1.2rem; margin-top: 2rem; }
.tfc-post-body ul, .tfc-editor-content ul { list-style: disc; padding-left: 1.5rem; }
.tfc-post-body ol, .tfc-editor-content ol { list-style: decimal; padding-left: 1.5rem; }
.tfc-post-body a:not(.btn), .tfc-editor-content a:not(.btn) { color: var(--color-forest); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.tfc-post-body img { margin: 1.5rem 0; }
@media (min-width: 640px) { .tfc-post-body h2 { font-size: 2rem; } }

/* Review widget slot: hold space until the widget script sizes its iframe */
.tfc-reviews-widget { min-height: 480px; }
.tfc-reviews-widget iframe { display: block; width: 100%; border: 0; }

/* Gravity Forms inside the theme slots (Orbital theme: override its variables, then pin the pieces it hard-codes) */
.tfc-form .gform_wrapper.gform-theme, .tfc-form .gform_wrapper.gravity-theme {
	--gf-color-primary: var(--color-forest);
	--gf-color-primary-contrast: var(--color-sand);
	--gf-color-primary-darker: var(--color-grass);
	--gf-ctrl-border-color: rgba(40,62,43,.25);
	--gf-ctrl-border-color-focus: var(--color-grass);
	--gf-ctrl-border-color-hover: var(--color-grass);
	--gf-ctrl-radius: 0;
	--gf-ctrl-btn-bg-color-primary: var(--color-forest);
	--gf-ctrl-btn-bg-color-hover-primary: var(--color-grass);
	--gf-ctrl-btn-color-primary: var(--color-sand);
	--gf-ctrl-btn-border-color-primary: var(--color-forest);
	--gf-ctrl-btn-border-color-hover-primary: var(--color-grass);
	--gf-ctrl-btn-radius: 9999px;
	--gf-ctrl-btn-padding-x: 1.6rem;
	--gf-ctrl-btn-padding-y: .95rem;
	--gf-ctrl-btn-font-family: var(--font-sans);
	--gf-ctrl-btn-font-size: .8rem;
	--gf-ctrl-btn-font-weight: 500;
	--gf-ctrl-btn-letter-spacing: .06em;
	--gf-ctrl-btn-text-transform: uppercase;
	--gf-ctrl-label-color-primary: var(--color-grass);
	--gf-ctrl-label-font-family: var(--font-mono);
	--gf-ctrl-label-font-size-primary: .72rem;
	--gf-ctrl-label-font-weight-primary: 400;
	--gf-ctrl-choice-check-color: var(--color-forest);
	--gf-ctrl-choice-check-bg-color: var(--color-forest);
	--gf-ctrl-choice-check-border-color: var(--color-forest);
	--gf-ctrl-check-bg-color: var(--color-forest);
	--gf-ctrl-check-border-color: var(--color-forest);
	--gf-ctrl-radio-check-color: var(--color-forest);
	--gf-ctrl-radio-check-bg-color: var(--color-forest);
	--gf-ctrl-radio-check-border-color: var(--color-forest);
	--gf-ctrl-select-height: auto;
}
.tfc-form .gform_wrapper .gfield_label, .tfc-form .gform_wrapper legend.gfield_label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-grass); font-weight: 400; }
.tfc-form .gform_wrapper .gfield_required { color: var(--color-rose); }
.tfc-form .gform_wrapper input[type="text"], .tfc-form .gform_wrapper input[type="email"], .tfc-form .gform_wrapper input[type="tel"], .tfc-form .gform_wrapper select, .tfc-form .gform_wrapper textarea { width: 100%; border: 1px solid rgba(40,62,43,.25); border-radius: 0; background: #fff; padding: .8rem 1rem; font: inherit; line-height: 1.4; height: auto; min-height: 0; }
.tfc-form .gform_wrapper select { padding-right: 2.5rem; }
.tfc-form .gform_wrapper .gform_footer button, .tfc-form .gform_wrapper .gform_footer input[type="submit"], .tfc-form .gform_wrapper .gform_button { font-family: var(--font-sans); font-weight: 500; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; background: var(--color-forest); color: var(--color-sand); border: 0; border-radius: 9999px; padding: .95rem 1.6rem; cursor: pointer; }
.tfc-form .gform_wrapper .gform_footer button:hover, .tfc-form .gform_wrapper .gform_footer input[type="submit"]:hover, .tfc-form .gform_wrapper .gform_button:hover { background: var(--color-grass); color: var(--color-sand); }
.tfc-form .gform_wrapper .gform_required_legend { font-size: .85rem; color: var(--color-gravel); opacity: .7; }
/* Footer agency mark (QA item 40): inline SVG, currentColor, fixed 14px height so it never renders at its intrinsic 415px. */
.twg-mark { display: inline-flex; align-items: center; flex: none; }
.twg-mark svg { height: 14px; width: auto; display: block; fill: currentColor; }

/* Recent Articles: search + category filter (QA item 26). */
.tfc-blog-filter { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 3rem; }
.tfc-blog-filter input[type="search"], .tfc-blog-filter select { border: 1px solid rgba(40,62,43,.25); background: #fff; padding: .7rem 1rem; font: inherit; font-size: .95rem; line-height: 1.3; color: var(--color-gravel); min-width: 12rem; }
.tfc-blog-filter input[type="search"] { flex: 1 1 16rem; }
.tfc-blog-filter select { padding-right: 2.25rem; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23283E2B' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: .7rem; }
.tfc-blog-filter button { font-family: var(--font-sans); font-weight: 500; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; background: var(--color-forest); color: var(--color-sand); border: 0; border-radius: 9999px; padding: .85rem 1.5rem; cursor: pointer; }
.tfc-blog-filter button:hover { background: var(--color-grass); }
