/*
Theme Name: Theta K9
Theme URI: http://thetak9s.com
Author: Call Out Digital
Author URI: https://calloutdigital.com
Description: Custom WordPress theme for Theta K9 Services. Balanced dog training in Edmonton and surrounding area. Dark, military-influenced design built around the brand's gold and olive palette.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: Proprietary
License URI: http://thetak9s.com
Text Domain: thetak9
Tags: custom, dark, business, one-column, responsive-layout, custom-colors, custom-menu
*/

/* =================================================================
   01 — CSS RESET & ROOT TOKENS
   ================================================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand palette — extracted from the Theta K9 logo */
  --tk-gold-bright: #F8E343;
  --tk-gold:        #EBC020;
  --tk-gold-deep:   #B7AD3F;
  --tk-olive:       #8A901B;
  --tk-olive-deep:  #57610B;
  --tk-olive-shadow:#3A3F07;
  --tk-base:        #0B0901;
  --tk-base-2:      #14110A;
  --tk-base-3:      #1F1B0E;
  --tk-bone:        #F7F197;
  --tk-bone-dim:    #C9C292;
  --tk-text:        #E8E2C0;
  --tk-text-dim:    #8A8467;
  --tk-line:        rgba(248, 227, 67, 0.15);
  --tk-line-strong: rgba(248, 227, 67, 0.35);

  /* Type */
  --tk-font-display: 'Oswald', 'Impact', sans-serif;
  --tk-font-condensed: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --tk-font-body: 'Barlow', system-ui, -apple-system, sans-serif;

  /* Layout */
  --tk-container: 1200px;
  --tk-container-wide: 1400px;
  --tk-gutter: 6vw;
  --tk-radius: 2px;
  --tk-nav-h: 80px;
  --tk-nav-h-scrolled: 64px;
}

/* =================================================================
   02 — BASE TYPOGRAPHY & DOCUMENT
   ================================================================= */

html { scroll-behavior: smooth; scroll-padding-top: var(--tk-nav-h); }

body {
  font-family: var(--tk-font-body);
  background: var(--tk-base);
  color: var(--tk-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

::selection { background: var(--tk-gold); color: var(--tk-base); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--tk-gold-bright); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--tk-gold); }
strong, b { color: var(--tk-bone); font-weight: 500; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tk-font-display);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--tk-bone);
  line-height: 1;
  letter-spacing: -0.005em;
  margin-bottom: 0.6em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); font-weight: 700; line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight: 500; letter-spacing: 0.02em; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

h1 .tk-accent, h2 .tk-accent, h3 .tk-accent { color: var(--tk-gold-bright); }

p { margin-bottom: 1.2em; color: var(--tk-text-dim); line-height: 1.75; }
p:last-child { margin-bottom: 0; }

/* Editorial blockquote */
blockquote {
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--tk-olive-shadow), var(--tk-base-2));
  border-left: 3px solid var(--tk-gold-bright);
  margin: 32px 0;
  font-family: var(--tk-font-body);
  font-style: italic;
  color: var(--tk-bone);
  font-size: 1.1rem;
}
blockquote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: var(--tk-font-condensed);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tk-gold);
}

ul, ol { padding-left: 1.4em; margin-bottom: 1.2em; color: var(--tk-text-dim); }
li { margin-bottom: 0.4em; line-height: 1.7; }

hr {
  border: none;
  border-top: 1px solid var(--tk-line);
  margin: 40px 0;
}

code {
  font-family: 'Courier New', monospace;
  background: var(--tk-base-2);
  padding: 2px 6px;
  border-radius: var(--tk-radius);
  color: var(--tk-gold-bright);
  font-size: 0.92em;
}

/* WP core accessibility */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important;
  width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--tk-base-2);
  clip: auto !important; clip-path: none;
  color: var(--tk-gold-bright);
  display: block; font-size: 0.875rem; font-weight: 600;
  height: auto; left: 5px; padding: 15px 23px 14px;
  text-decoration: none; top: 5px; width: auto; z-index: 100000;
}

/* WP alignment & captions */
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide { max-width: var(--tk-container-wide); margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-family: var(--tk-font-condensed);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tk-text-dim);
  margin-top: 8px;
  text-align: center;
}

/* =================================================================
   03 — LAYOUT PRIMITIVES
   ================================================================= */

.tk-container {
  max-width: var(--tk-container);
  margin: 0 auto;
  padding: 0 var(--tk-gutter);
}
.tk-container-wide {
  max-width: var(--tk-container-wide);
  margin: 0 auto;
  padding: 0 var(--tk-gutter);
}
.tk-section {
  padding: 120px 0;
  position: relative;
}
.tk-section--tight { padding: 80px 0; }
.tk-section--bordered {
  border-top: 1px solid var(--tk-line);
  border-bottom: 1px solid var(--tk-line);
}
.tk-section--alt {
  background: linear-gradient(180deg, var(--tk-base) 0%, var(--tk-base-2) 100%);
}

/* Eyebrow label — used above every section heading */
.tk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--tk-font-condensed);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--tk-gold);
  margin-bottom: 20px;
}
.tk-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--tk-gold);
}

.tk-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--tk-text-dim);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* =================================================================
   04 — BUTTONS
   ================================================================= */

.tk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--tk-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: var(--tk-radius);
  line-height: 1;
}
.tk-btn--primary {
  background: var(--tk-gold-bright);
  color: var(--tk-base);
}
.tk-btn--primary:hover {
  background: var(--tk-gold);
  color: var(--tk-base);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(248, 227, 67, 0.25);
}
.tk-btn--ghost {
  background: transparent;
  color: var(--tk-bone);
  border: 1px solid var(--tk-line-strong);
}
.tk-btn--ghost:hover {
  border-color: var(--tk-gold-bright);
  color: var(--tk-gold-bright);
}
.tk-btn--block { width: 100%; justify-content: center; }
.tk-btn svg { width: 14px; height: 14px; }

/* =================================================================
   05 — HEADER & NAVIGATION
   ================================================================= */

.tk-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--tk-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(11, 9, 1, 0.85), rgba(11, 9, 1, 0));
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
.tk-nav.is-scrolled {
  background: rgba(11, 9, 1, 0.96);
  border-bottom: 1px solid var(--tk-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px var(--tk-gutter);
}

.tk-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.tk-nav__brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}
.tk-nav__brand-text {
  font-family: var(--tk-font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--tk-gold-bright);
  font-size: 1.05rem;
  text-transform: uppercase;
  line-height: 1;
}
.tk-nav__brand-text span {
  color: var(--tk-bone-dim);
  font-weight: 400;
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  margin-top: 4px;
}

.tk-nav__links {
  display: flex;
  gap: 2px;
  align-items: center;
}
.tk-nav__links a {
  color: var(--tk-text);
  text-decoration: none;
  font-family: var(--tk-font-condensed);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 14px;
  position: relative;
  transition: color 0.25s ease;
}
.tk-nav__links a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 1px;
  background: var(--tk-gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.tk-nav__links a:hover,
.tk-nav__links a.current-page {
  color: var(--tk-gold-bright);
}
.tk-nav__links a:hover::after,
.tk-nav__links a.current-page::after {
  transform: scaleX(1);
}

.tk-nav__cta {
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--tk-gold);
  color: var(--tk-base) !important;
  font-family: var(--tk-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--tk-radius);
  transition: background 0.25s, transform 0.25s;
}
.tk-nav__cta:hover {
  background: var(--tk-gold-bright);
  color: var(--tk-base) !important;
  transform: translateY(-1px);
}
.tk-nav__cta svg { width: 14px; height: 14px; }

.tk-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.tk-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--tk-gold-bright);
  transition: 0.3s;
  display: block;
}
.tk-hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.tk-hamburger.is-open span:nth-child(2) { opacity: 0; }
.tk-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Push content below fixed nav */
.tk-site-main {
  min-height: 70vh;
}
.tk-site-main--padded {
  padding-top: var(--tk-nav-h);
}

/* =================================================================
   06 — HERO (full-bleed image with gradient overlay)
   Use markup: .tk-hero with optional inline background-image
   ================================================================= */

.tk-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px var(--tk-gutter) 100px;
}
.tk-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.tk-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11,9,1,0.96) 0%, rgba(11,9,1,0.78) 45%, rgba(11,9,1,0.35) 75%, rgba(11,9,1,0.15) 100%),
    linear-gradient(180deg, rgba(11,9,1,0.4) 0%, transparent 30%, rgba(11,9,1,0.6) 100%);
}
.tk-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(11, 9, 1, 0.6) 100%);
}
.tk-hero__inner {
  position: relative;
  z-index: 5;
  max-width: var(--tk-container-wide);
  margin: 0 auto;
  width: 100%;
}
.tk-hero__content {
  max-width: 680px;
}
.tk-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--tk-font-condensed);
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--tk-gold);
  margin-bottom: 24px;
}
.tk-hero__eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--tk-gold);
}
.tk-hero h1 {
  margin-bottom: 28px;
}
.tk-hero h1 .tk-block {
  display: inline-block;
  background: var(--tk-gold-bright);
  color: var(--tk-base);
  padding: 0 14px;
  transform: skew(-6deg);
}
.tk-hero h1 .tk-block span { display: inline-block; transform: skew(6deg); }
.tk-hero__sub {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--tk-text-dim);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.tk-hero__cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =================================================================
   07 — PAGE HEADER (used on inner pages — about, services, etc)
   ================================================================= */

.tk-page-header {
  position: relative;
  padding: calc(var(--tk-nav-h) + 80px) var(--tk-gutter) 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--tk-line);
}
.tk-page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.tk-page-header__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,9,1,0.85), rgba(11,9,1,0.92)),
    radial-gradient(ellipse at 30% 50%, rgba(138, 144, 27, 0.15), transparent 60%);
}
.tk-page-header__inner {
  position: relative;
  z-index: 2;
  max-width: var(--tk-container);
  margin: 0 auto;
}
.tk-page-header h1 {
  margin-bottom: 16px;
}

/* =================================================================
   08 — PHOTO CARDS (half-bleed image cards for services, methods)
   ================================================================= */

.tk-photo-card {
  position: relative;
  overflow: hidden;
  background: var(--tk-base-2);
  border: 1px solid var(--tk-line);
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.tk-photo-card:hover {
  border-color: var(--tk-line-strong);
  transform: translateY(-4px);
}
.tk-photo-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.tk-photo-card__media img,
.tk-photo-card__media-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.tk-photo-card:hover .tk-photo-card__media img,
.tk-photo-card:hover .tk-photo-card__media-bg {
  transform: scale(1.04);
}
.tk-photo-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 9, 1, 0.85) 100%);
  z-index: 1;
}
.tk-photo-card__body {
  padding: 28px 28px 32px;
}
.tk-photo-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--tk-font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tk-gold);
  background: rgba(11, 9, 1, 0.75);
  padding: 6px 12px;
  border: 1px solid var(--tk-line-strong);
}
.tk-photo-card__tag--featured {
  color: var(--tk-base);
  background: var(--tk-gold-bright);
  border-color: var(--tk-gold-bright);
}

/* =================================================================
   09 — FEATURE CALLOUT (diagonal gradient — for specialty / aggression)
   ================================================================= */

.tk-callout {
  position: relative;
  padding: 100px var(--tk-gutter);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.tk-callout__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.tk-callout__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(11,9,1,0.97) 0%, rgba(11,9,1,0.92) 30%, rgba(11,9,1,0.65) 60%, rgba(11,9,1,0.25) 100%),
    linear-gradient(180deg, rgba(87, 97, 11, 0.2) 0%, transparent 50%);
}
.tk-callout__inner {
  position: relative;
  z-index: 2;
  max-width: var(--tk-container);
  margin: 0 auto;
  width: 100%;
}
.tk-callout__content { max-width: 600px; }

/* =================================================================
   10 — GRIDS
   ================================================================= */

.tk-grid {
  display: grid;
  gap: 24px;
}
.tk-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tk-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tk-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tk-grid--asymmetric {
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Service cards — bordered grid style */
.tk-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--tk-line);
  border-left: 1px solid var(--tk-line);
}
.tk-service-grid > .tk-service {
  padding: 40px 32px;
  border-right: 1px solid var(--tk-line);
  border-bottom: 1px solid var(--tk-line);
  position: relative;
  transition: background 0.3s ease;
}
.tk-service:hover { background: var(--tk-base-3); }
.tk-service__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--tk-gold-bright);
}
.tk-service__icon svg { width: 100%; height: 100%; }
.tk-service__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--tk-font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tk-olive);
  border: 1px solid var(--tk-line);
  padding: 4px 8px;
}
.tk-service__tag--featured {
  color: var(--tk-gold-bright);
  border-color: var(--tk-line-strong);
}

/* =================================================================
   11 — FORMS (works with CF7, Gravity, or vanilla)
   ================================================================= */

.tk-form,
.wpcf7-form {
  background: var(--tk-base-2);
  border: 1px solid var(--tk-line);
  padding: 40px;
}
.tk-form label,
.wpcf7-form label {
  display: block;
  font-family: var(--tk-font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tk-gold);
  margin-bottom: 8px;
}
.tk-form input[type="text"],
.tk-form input[type="email"],
.tk-form input[type="tel"],
.tk-form input[type="url"],
.tk-form input[type="number"],
.tk-form select,
.tk-form textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  background: var(--tk-base);
  border: 1px solid var(--tk-line);
  color: var(--tk-text);
  padding: 14px 16px;
  font-family: var(--tk-font-body);
  font-size: 1rem;
  margin-bottom: 20px;
  border-radius: var(--tk-radius);
  transition: border-color 0.25s;
}
.tk-form input:focus,
.tk-form select:focus,
.tk-form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--tk-gold-bright);
  box-shadow: 0 0 0 3px rgba(248, 227, 67, 0.1);
}
.tk-form textarea,
.wpcf7-form textarea { resize: vertical; min-height: 120px; }
.tk-form input[type="submit"],
.tk-form button[type="submit"],
.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 16px 28px;
  background: var(--tk-gold-bright);
  color: var(--tk-base);
  font-family: var(--tk-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--tk-radius);
  transition: all 0.25s ease;
  margin-top: 8px;
}
.tk-form input[type="submit"]:hover,
.tk-form button[type="submit"]:hover,
.wpcf7-form input[type="submit"]:hover {
  background: var(--tk-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(248, 227, 67, 0.25);
}

/* CF7 validation messages */
.wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: -16px;
  margin-bottom: 16px;
  font-family: var(--tk-font-body);
  letter-spacing: normal;
  text-transform: none;
}
.wpcf7-response-output {
  border: 1px solid var(--tk-line-strong) !important;
  padding: 14px 18px !important;
  color: var(--tk-text);
  font-family: var(--tk-font-condensed);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 24px 0 0 !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--tk-gold) !important;
  background: rgba(235, 192, 32, 0.08);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #ff6b6b !important;
  background: rgba(255, 107, 107, 0.08);
}

/* =================================================================
   12 — FOOTER
   ================================================================= */

.tk-footer {
  background: var(--tk-base);
  border-top: 1px solid var(--tk-line);
  padding: 60px var(--tk-gutter) 30px;
  position: relative;
}
.tk-footer__grid {
  max-width: var(--tk-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.tk-footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.tk-footer__brand img { height: 56px; }
.tk-footer__brand-text {
  font-family: var(--tk-font-display);
  color: var(--tk-gold-bright);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
}
.tk-footer__brand-text span {
  display: block;
  color: var(--tk-text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  font-weight: 400;
  margin-top: 4px;
}
.tk-footer__tagline {
  color: var(--tk-text-dim);
  font-size: 0.95rem;
  max-width: 360px;
  line-height: 1.7;
}
.tk-footer__col h4 {
  font-family: var(--tk-font-display);
  font-size: 0.85rem;
  color: var(--tk-gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 20px;
  font-weight: 600;
}
.tk-footer__col ul { list-style: none; padding: 0; margin: 0; }
.tk-footer__col li {
  font-family: var(--tk-font-body);
  color: var(--tk-text-dim);
  font-size: 0.95rem;
  padding: 6px 0;
  margin: 0;
}
.tk-footer__col a {
  display: block;
  font-family: var(--tk-font-body);
  color: var(--tk-text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 0;
  transition: color 0.25s;
}
.tk-footer__col a:hover { color: var(--tk-gold-bright); }

.tk-footer__bottom {
  max-width: var(--tk-container);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--tk-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--tk-font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tk-text-dim);
}
.tk-footer__socials { display: flex; gap: 14px; }
.tk-footer__socials a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--tk-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tk-text-dim);
  transition: color 0.25s, border-color 0.25s;
  padding: 0;
}
.tk-footer__socials a svg { width: 16px; height: 16px; }
.tk-footer__socials a:hover {
  color: var(--tk-gold-bright);
  border-color: var(--tk-gold-bright);
}

/* =================================================================
   13 — UTILITY CLASSES
   ================================================================= */

.tk-text-center { text-align: center; }
.tk-text-gold { color: var(--tk-gold-bright); }
.tk-text-dim { color: var(--tk-text-dim); }
.tk-text-bone { color: var(--tk-bone); }
.tk-bg-base { background: var(--tk-base); }
.tk-bg-base-2 { background: var(--tk-base-2); }
.tk-border-line { border: 1px solid var(--tk-line); }
.tk-mt-1 { margin-top: 16px; }
.tk-mt-2 { margin-top: 32px; }
.tk-mt-3 { margin-top: 48px; }
.tk-mt-4 { margin-top: 64px; }
.tk-mb-1 { margin-bottom: 16px; }
.tk-mb-2 { margin-bottom: 32px; }
.tk-mb-3 { margin-bottom: 48px; }
.tk-mb-4 { margin-bottom: 64px; }
.tk-hidden { display: none !important; }

/* Reveal-on-scroll (used by main.js) */
.tk-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.tk-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================================================================
   14 — RESPONSIVE
   ================================================================= */

@media (max-width: 1024px) {
  .tk-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tk-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tk-grid--asymmetric {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .tk-service-grid { grid-template-columns: repeat(2, 1fr); }
  .tk-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --tk-gutter: 5vw; }

  .tk-section { padding: 80px 0; }
  .tk-section--tight { padding: 60px 0; }

  /* Mobile nav */
  .tk-nav { padding: 14px var(--tk-gutter); }
  .tk-nav.is-scrolled { padding: 10px var(--tk-gutter); }
  .tk-nav__links {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 9, 1, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px var(--tk-gutter);
    border-bottom: 1px solid var(--tk-line);
    transform: translateY(-150%);
    transition: transform 0.35s ease;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .tk-nav__links.is-open { transform: translateY(0); }
  .tk-nav__links a {
    padding: 16px 0;
    border-bottom: 1px solid var(--tk-line);
    width: 100%;
    font-size: 1rem;
  }
  .tk-nav__links a:last-of-type { border-bottom: none; }
  .tk-nav__cta {
    margin: 16px 0 0;
    justify-content: center;
    width: 100%;
    padding: 14px;
  }
  .tk-hamburger { display: flex; }

  /* Hero */
  .tk-hero {
    padding: 110px var(--tk-gutter) 80px;
    min-height: 75vh;
  }
  .tk-hero__overlay {
    background:
      linear-gradient(180deg, rgba(11,9,1,0.88) 0%, rgba(11,9,1,0.78) 60%, rgba(11,9,1,0.92) 100%),
      linear-gradient(90deg, rgba(11,9,1,0.6) 0%, rgba(11,9,1,0.3) 100%);
  }
  .tk-hero h1 .tk-block { padding: 0 8px; }

  /* Page header */
  .tk-page-header {
    padding: calc(var(--tk-nav-h) + 50px) var(--tk-gutter) 50px;
  }

  /* Grids collapse */
  .tk-grid--2 { grid-template-columns: 1fr; }
  .tk-grid--3 { grid-template-columns: 1fr; }
  .tk-grid--4 { grid-template-columns: 1fr; }
  .tk-service-grid { grid-template-columns: 1fr; }

  /* Callout */
  .tk-callout {
    padding: 70px var(--tk-gutter);
    min-height: auto;
  }
  .tk-callout__overlay {
    background:
      linear-gradient(180deg, rgba(11,9,1,0.92) 0%, rgba(11,9,1,0.88) 100%);
  }

  /* Forms */
  .tk-form,
  .wpcf7-form { padding: 28px; }

  /* Footer */
  .tk-footer { padding: 50px var(--tk-gutter) 24px; }
  .tk-footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .tk-footer__bottom { flex-direction: column; text-align: center; }

  /* Blockquote */
  blockquote {
    padding: 20px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .tk-btn {
    padding: 14px 22px;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
  }
  .tk-hero__content { max-width: 100%; }
}

/* iOS safe-area inset (notch / home indicator) */
@supports (padding: max(0px)) {
  .tk-nav {
    padding-left: max(var(--tk-gutter), env(safe-area-inset-left));
    padding-right: max(var(--tk-gutter), env(safe-area-inset-right));
  }
  .tk-footer {
    padding-left: max(var(--tk-gutter), env(safe-area-inset-left));
    padding-right: max(var(--tk-gutter), env(safe-area-inset-right));
    padding-bottom: max(30px, env(safe-area-inset-bottom));
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .tk-reveal { opacity: 1; transform: none; }
}
