/*
Theme Name: TKT Bridge
Theme URI: https://tktconsulting.be
Author: TKT Consulting
Author URI: https://tktconsulting.be
Description: The Bridge Between SAP and Your Business. A precise, blueprint-style WordPress theme for TKT — an SAP consulting firm. Includes an editable Customizer, custom logo, main navigation, footer widget areas, and a home layout with hero, positioning, services, about, blog, and CTA sections. All copy on the front page is editable from Appearance → Customize.
Version: 1.2.1
Requires at least: 5.9
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tkt-theme
Tags: business, blog, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ================================================================
   VARIABLES
   ================================================================ */
:root{
  --navy:#0E2A47; --navy-deep:#081A2E; --white:#FFFFFF;
  --paper:#EEF2F6; --red:#C41E3A; --ink:#16232F; --ink-soft:#4A5A68;
  --line:#D7E0E8; --line-navy:rgba(14,42,71,0.18);
}

/* ================================================================
   RESET / BASE
   ================================================================ */
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
@media(prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} }
body{font-family:'Inter',sans-serif; color:var(--ink); background:var(--white); line-height:1.65;}

/* Prevent any element (off-screen helpers, decorative SVGs, injected markup)
   from creating a horizontal scrollbar / white gutter on the right. */
html,body{max-width:100%; overflow-x:hidden;}
h1,h2,h3,h4{font-family:'Space Grotesk',sans-serif; color:var(--navy); font-weight:600; letter-spacing:-0.01em;}
a{text-decoration:none; color:inherit;}
img{max-width:100%; display:block; height:auto;}
.mono{font-family:'IBM Plex Mono',monospace;}
/* Default: symmetric padding. The extra left gutter below is reserved only
   for pages that actually render the fixed .rail nav (see .has-rail) — on
   every other page there is nothing there to reserve space for. */
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
.wrap-narrow{max-width:760px; margin:0 auto; padding:0 32px;}
.has-rail .wrap{padding-left:100px;}
.has-rail .wrap-narrow{padding-left:100px;}
@media(max-width:980px){ .wrap,.wrap-narrow,.has-rail .wrap,.has-rail .wrap-narrow{padding:0 24px;} }
section{padding:110px 0; position:relative;}
@media(max-width:700px){ section{padding:64px 0;} }
.bridge-word{border-bottom:2px dashed var(--red); padding-bottom:1px;}
.screen-reader-text{
  border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%);
  height:1px; width:1px; margin:-1px; overflow:hidden; padding:0; position:absolute; word-wrap:normal!important;
}
/* Accessible off-screen skip link — clipped to 1px (no negative left offset,
   which is a common cause of phantom horizontal scrolling). */
.skip-link{position:absolute; top:-40px; left:0; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); z-index:100;}
.skip-link:focus{left:6px; top:7px; width:auto; height:auto; clip:auto; clip-path:none; background:var(--white); color:var(--navy); padding:8px 12px; font-family:'IBM Plex Mono',monospace; font-size:12px;}

/* ================================================================
   RAIL (fixed bridge spine / scroll nav)
   ================================================================ */
.rail{
  position:fixed; left:36px; top:0; bottom:0; width:40px; z-index:40;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  pointer-events:none;
}
.rail-line{display:block; position:absolute; top:60px; bottom:60px; width:1px; background:var(--line-navy);}
.rail-cap{font-size:10px; letter-spacing:0.1em; color:var(--ink-soft); position:absolute;}
.rail-cap.top{top:38px;}
.rail-cap.bottom{bottom:38px;}
.rail-nodes{position:relative; display:flex; flex-direction:column; gap:52px; pointer-events:auto;}
.rail-node{
  display:block; /* it is an <a> now, so it needs block sizing */
  width:9px; height:9px; border-radius:50%; background:var(--white);
  border:1.5px solid var(--line-navy); cursor:pointer; position:relative;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.rail-node .rail-label{
  position:absolute; left:20px; top:50%; transform:translateY(-50%);
  font-size:10px; letter-spacing:0.08em; color:var(--ink-soft); white-space:nowrap;
  opacity:0; transition:opacity .2s ease;
}
.rail-node:hover .rail-label,.rail-node:focus-visible .rail-label{opacity:1;}
.rail-node.active{background:var(--red); border-color:var(--red); transform:scale(1.3);}
.rail-node.active .rail-label{opacity:1; color:var(--navy); font-weight:600;}
@media(max-width:980px){ .rail{display:none;} }

/* ================================================================
   HEADER
   ================================================================ */
.utility-bar{background:var(--navy-deep); color:#9FB3C4; font-size:11.5px;}
.utility-inner{max-width:1180px; margin:0 auto; padding:8px 32px; display:flex; justify-content:space-between;}
.has-rail .utility-inner{padding-left:100px;}
.utility-inner a{color:#9FB3C4;} .utility-inner a:hover{color:var(--white);}
@media(max-width:980px){ .utility-inner,.has-rail .utility-inner{padding:8px 24px;} }

.site-header{background:var(--white); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50;}
.header-inner{max-width:1180px; margin:0 auto; padding:16px 32px; display:flex; align-items:center; justify-content:space-between;}
.has-rail .header-inner{padding-left:100px;}
@media(max-width:980px){ .header-inner,.has-rail .header-inner{padding:16px 24px;} }
.logo img,.custom-logo{height:38px; width:auto; max-height:38px;}
.custom-logo-link{display:inline-block;}
.site-title-fallback{font-family:'Space Grotesk',sans-serif; font-weight:700; color:var(--navy); font-size:20px;}

.main-navigation ul{list-style:none; display:flex; gap:30px; margin:0; padding:0;}
.main-navigation a{font-size:13.5px; font-weight:500; color:var(--navy);}
.main-navigation a:hover{color:var(--red);}
.main-navigation li{position:relative;}
.main-navigation .sub-menu{
  display:none; position:absolute; top:100%; left:0; background:var(--white);
  border:1px solid var(--line); min-width:200px; padding:10px 0; flex-direction:column; gap:0;
}
.main-navigation li:hover > .sub-menu{display:flex;}
.main-navigation .sub-menu li{padding:6px 18px;}

.nav-cta{background:var(--navy); color:var(--white)!important; padding:10px 20px; font-weight:600; font-size:13px; display:inline-block;}
.nav-cta:hover{background:var(--red);}
@media(max-width:900px){ .main-navigation ul{display:none;} }

/* ================================================================
   CORNER REGISTER MARKS
   ================================================================ */
.crop{position:absolute; width:16px; height:16px; opacity:0.35;}
.crop::before,.crop::after{content:''; position:absolute; background:currentColor;}
.crop::before{width:16px; height:1px; top:8px; left:0;}
.crop::after{width:1px; height:16px; left:8px; top:0;}
.crop.tl{top:24px; left:24px; color:#9FC1E0;}
.crop.tr{top:24px; right:24px; color:#9FC1E0;}
.crop.bl{bottom:24px; left:24px; color:#9FC1E0;}
.crop.br{bottom:24px; right:24px; color:#9FC1E0;}
.crop.dark{color:var(--line-navy);}

/* ================================================================
   HERO
   ================================================================ */
.hero{
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:var(--white); overflow:hidden;
}
.hero::before{
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:40px 40px; pointer-events:none;
}
.hero-inner{position:relative; z-index:2;}
.hero-tag{
  display:inline-flex; align-items:center; gap:10px; font-size:11.5px; letter-spacing:0.14em;
  color:#9FC1E0; margin-bottom:26px; border:1px solid rgba(255,255,255,0.2); padding:7px 14px;
}
.hero-tag::before{content:''; width:6px; height:6px; background:var(--red); border-radius:50%;}
.hero h1{color:var(--white); font-size:52px; line-height:1.14; max-width:660px; font-weight:600;}
.hero h1 .bridge-word{border-color:var(--red); color:var(--white);}
.hero p.lede{color:#C7D6E5; font-size:17px; max-width:480px; margin-top:24px;}
.hero-ctas{display:flex; gap:14px; margin-top:34px; flex-wrap:wrap;}
.btn-primary{background:var(--red); color:var(--white); padding:14px 28px; font-weight:600; font-size:14px; display:inline-block;}
.btn-primary:hover{background:#a01730;}
.btn-secondary{border:1px solid rgba(255,255,255,0.35); color:var(--white); padding:14px 28px; font-weight:600; font-size:14px; display:inline-block;}
.btn-secondary:hover{border-color:var(--white);}

.schematic{margin-top:64px; position:relative;}
.schematic svg{width:100%; height:auto; display:block; overflow:visible;}
.sch-label{font-family:'IBM Plex Mono'; font-size:10.5px; fill:#9FC1E0; letter-spacing:0.05em;}
/* pathLength="1" on the path makes these unit values cover the whole curve,
   whatever its real length, so the span always completes to the SAP pier. */
.sch-arch{stroke-dasharray:1; stroke-dashoffset:1; animation:draw 2s ease forwards .3s;}
@media(prefers-reduced-motion:reduce){ .sch-arch{animation:none; stroke-dashoffset:0;} }
@keyframes draw{ to{stroke-dashoffset:0;} }

/* ================================================================
   PAGE HERO (inner pages — same blueprint band as the homepage hero,
   scaled down, driven by the page title instead of Customizer copy)
   ================================================================ */
.page-hero{
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:var(--white); overflow:hidden; padding:72px 0 60px;
}
.page-hero::before{
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:40px 40px; pointer-events:none;
}
.page-hero-inner{position:relative; z-index:2;}
.page-hero-crumbs{
  display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:11px;
  letter-spacing:0.08em; color:#9FC1E0; margin-bottom:20px; text-transform:uppercase;
}
.page-hero-crumbs a{color:#9FC1E0;} .page-hero-crumbs a:hover{color:var(--white);}
.page-hero-crumbs span[aria-hidden]{color:rgba(255,255,255,0.3);}
.page-hero-title{color:var(--white); font-size:42px; line-height:1.18; max-width:760px;}
.page-hero-lede{color:#C7D6E5; font-size:16.5px; max-width:620px; margin-top:16px;}
@media(max-width:700px){ .page-hero{padding:52px 0 44px;} .page-hero-title{font-size:32px;} }

/* ================================================================
   POSITIONING
   ================================================================ */
.positioning{background:var(--paper); text-align:left; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.positioning .mono.tag{color:var(--red); font-size:11.5px; letter-spacing:0.14em; margin-bottom:22px; display:block;}
.positioning blockquote{
  font-family:'Space Grotesk'; font-size:34px; color:var(--navy); max-width:820px; line-height:1.32; font-weight:600;
}
.positioning .sub{max-width:620px; margin-top:24px; color:var(--ink-soft); font-size:16px; border-left:2px solid var(--red); padding-left:18px;}

/* ================================================================
   SECTION HEAD
   ================================================================ */
.section-head{max-width:640px; margin-bottom:56px;}
.section-head .mono.tag{color:var(--red); font-size:11.5px; letter-spacing:0.14em; display:block; margin-bottom:14px;}
.section-head h2{font-size:32px; color:var(--navy);}
.section-head p{color:var(--ink-soft); margin-top:14px; font-size:15.5px;}

/* ================================================================
   SERVICES / BRIDGE SPANS
   ================================================================ */
.services{background:var(--white);}
.deck-wrap{position:relative;}
.deck-line{display:block; width:100%; height:26px; margin-bottom:-1px;}
.span-row{display:grid; grid-template-columns:repeat(3,1fr); gap:0;}
@media(max-width:900px){ .span-row{grid-template-columns:1fr;} .deck-line{display:none;} }
.span-card{
  border:1px solid var(--line); border-top:3px solid var(--navy); padding:34px 28px;
  position:relative; background:var(--white);
}
.span-card + .span-card{border-left:none;}
@media(max-width:900px){ .span-card + .span-card{border-left:1px solid var(--line); margin-top:-1px;} }
.span-card.lead{border-top-color:var(--red);}
.span-num{font-family:'IBM Plex Mono'; font-size:12px; color:var(--red); letter-spacing:0.08em; margin-bottom:18px; display:block;}
.span-card h3{font-size:19px; margin-bottom:10px;}
.span-card p{color:var(--ink-soft); font-size:14.5px;}
.span-tag{display:inline-block; margin-top:16px; font-family:'IBM Plex Mono'; font-size:10.5px; letter-spacing:0.05em; color:var(--navy); border-bottom:1px solid var(--red); padding-bottom:2px;}

/* ================================================================
   IMAGE SLOT (placeholder)
   ================================================================ */
.img-slot{
  position:relative; width:100%; overflow:hidden;
  background:
    linear-gradient(rgba(14,42,71,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,42,71,0.05) 1px, transparent 1px), var(--paper);
  background-size:22px 22px;
  border:1px dashed #B9C7D4; display:flex; align-items:center; justify-content:center; flex-direction:column;
  color:var(--ink-soft); text-align:center; gap:6px;
}
.img-slot .tag{font-family:'IBM Plex Mono'; background:var(--navy); color:var(--white); font-size:10px; letter-spacing:0.05em; padding:5px 11px;}
.img-slot .dims{font-size:11px; color:var(--ink-soft); font-family:'IBM Plex Mono';}
.img-slot img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}

/* ================================================================
   ABOUT
   ================================================================ */
.about{background:var(--paper); position:relative;}
.about-inner{display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center;}
@media(max-width:900px){ .about-inner{grid-template-columns:1fr;} }
.about-img{height:380px;}
.about p{color:var(--ink-soft); font-size:16px; margin-bottom:16px;}
.about-tagline{
  font-family:'Space Grotesk'; font-size:19px; color:var(--navy); margin-top:22px; padding-top:22px;
  border-top:1px solid var(--line-navy);
}

/* ================================================================
   BLOG / INSIGHTS
   ================================================================ */
.blog{background:var(--white);}
.blog-head{display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:52px; flex-wrap:wrap; gap:20px;}
.blog-head .section-head{margin-bottom:0;}
.link-arrow{font-weight:600; font-size:13.5px; color:var(--navy); font-family:'IBM Plex Mono';}
.link-arrow:hover{color:var(--red);}
.blog-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line);}
@media(max-width:900px){ .blog-grid{grid-template-columns:1fr;} }
.post-card{background:var(--white); transition:background .18s ease;}
.post-card:hover{background:var(--paper);}
.post-card > a{display:block; color:inherit;}
.post-img{height:190px;}
.post-body{padding:24px;}
.post-tag{display:block; font-family:'IBM Plex Mono'; font-size:10.5px; letter-spacing:0.08em; color:var(--red); margin-bottom:12px;}
.post-body h3{font-size:16.5px; line-height:1.4; margin-bottom:10px;}
.post-body p{color:var(--ink-soft); font-size:13.5px; margin-bottom:16px;}
.post-meta{display:flex; justify-content:space-between; font-size:11.5px; color:var(--ink-soft); font-family:'IBM Plex Mono'; border-top:1px solid var(--line); padding-top:12px;}
.post-meta .read{color:var(--navy); font-weight:600;}
.post-card:hover .read{color:var(--red);}

/* ================================================================
   PROOF RESERVED
   ================================================================ */
.proof-reserved{border:1px dashed var(--line-navy); padding:40px; text-align:center; color:var(--ink-soft); font-size:13.5px; font-family:'IBM Plex Mono';}
.proof-reserved strong{color:var(--navy); font-family:'Inter';}

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band{
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color:var(--white); text-align:left;
  overflow:hidden;
}
.cta-inner{position:relative; z-index:2;}
.cta-band .mono.tag{color:#9FC1E0; font-size:11.5px; letter-spacing:0.14em; margin-bottom:20px; display:block;}
.cta-band h2{color:var(--white); font-size:36px; max-width:640px;}
.cta-band p{color:#C7D6E5; margin-top:16px; max-width:520px; font-size:16px;}
.cta-band .hero-ctas{margin-top:32px;}
.cta-arch{position:absolute; right:-60px; top:50%; transform:translateY(-50%); width:520px; opacity:0.14; z-index:1;}
@media(max-width:900px){ .cta-arch{display:none;} }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer{background:var(--navy-deep); color:#9FB3C4; padding:60px 0 26px;}
.footer-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.1);}
@media(max-width:700px){ .footer-grid{grid-template-columns:1fr 1fr;} }
.site-footer h5,.site-footer .widget-title,.site-footer .widgettitle{color:var(--white); font-family:'IBM Plex Mono'; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:16px; font-weight:600;}
.site-footer ul{list-style:none; margin:0; padding:0;}
.site-footer li{margin-bottom:9px; font-size:13.5px;}
.site-footer a{color:#9FB3C4;}
.site-footer a:hover{color:var(--white);}
.site-footer p{margin-bottom:9px; font-size:13.5px;}
.footer-logo img{max-height:32px; margin-bottom:14px; width:auto;}
.footer-brand{color:var(--white); font-family:'Space Grotesk'; font-weight:700; font-size:22px; margin-bottom:14px; display:inline-block;}
.footer-bottom{display:flex; justify-content:space-between; padding-top:22px; font-size:11.5px; font-family:'IBM Plex Mono'; flex-wrap:wrap; gap:10px;}

/* ================================================================
   INTERNAL PAGES / SINGLE POST / BLOG
   ================================================================ */
.page-wrap{max-width:820px; margin:0 auto; padding:80px 32px;}
.has-rail .page-wrap{padding-left:100px;}
@media(max-width:980px){ .page-wrap,.has-rail .page-wrap{padding:60px 24px;} }
.page-wrap h1.entry-title{font-size:42px; margin-bottom:16px; line-height:1.2;}
.page-wrap .entry-meta{font-family:'IBM Plex Mono'; font-size:11.5px; color:var(--ink-soft); letter-spacing:0.05em; margin-bottom:32px; text-transform:uppercase;}
.page-wrap .entry-content > *{margin-bottom:20px;}
.page-wrap .entry-content h2{font-size:26px; margin-top:36px; margin-bottom:14px;}
.page-wrap .entry-content h3{font-size:20px; margin-top:28px; margin-bottom:10px;}
.page-wrap .entry-content a{color:var(--red); border-bottom:1px solid transparent;}
.page-wrap .entry-content a:hover{border-color:var(--red);}
.page-wrap .entry-content blockquote{border-left:3px solid var(--red); padding-left:20px; margin:24px 0; font-family:'Space Grotesk'; font-size:22px; color:var(--navy);}
.page-wrap .entry-content ul,.page-wrap .entry-content ol{padding-left:24px;}
.page-wrap .entry-content img{margin:24px 0;}
.page-wrap .featured-img{margin-bottom:32px; border:1px solid var(--line);}
.page-wrap .featured-img img{width:100%; height:auto; display:block;}

/* ================================================================
   BLOCK EDITOR CONTENT
   On-brand defaults for whatever a page author drags into the block
   editor (Group, Columns, Buttons, Table, Embed…), so a hand-built page
   never renders as plain unstyled boxes. Two opt-in styles (TKT Card / TKT
   Panel, picked from the block's Style panel) match the homepage's card and
   paper-section treatment exactly.
   ================================================================ */
/* Base block layout is normally provided by WordPress' own core block-library
   stylesheet (enqueued automatically on any page with blocks) — these are a
   defensive fallback only, in case that stylesheet is ever dequeued by a
   caching/performance plugin, so buttons and columns never collapse to an
   unstyled stack. */
.page-wrap .entry-content .wp-block-buttons{display:flex; flex-wrap:wrap;}
.page-wrap .entry-content .wp-block-columns{display:flex; flex-wrap:wrap;}
.page-wrap .entry-content .wp-block-column{flex:1; min-width:0;}
@media(max-width:700px){ .page-wrap .entry-content .wp-block-columns{flex-direction:column;} }

.page-wrap .entry-content .wp-block-buttons{gap:14px; margin-bottom:20px;}
.page-wrap .entry-content .wp-block-button__link{
  background:var(--navy); color:var(--white); padding:14px 28px; font-weight:600;
  font-size:14px; border-radius:0;
}
.page-wrap .entry-content .wp-block-button__link:hover{background:var(--red); color:var(--white);}
.page-wrap .entry-content .wp-block-button.is-style-tkt-secondary .wp-block-button__link,
.page-wrap .entry-content .wp-block-button.is-style-outline .wp-block-button__link{
  background:transparent; color:var(--navy); border:1px solid var(--line-navy);
}
.page-wrap .entry-content .wp-block-button.is-style-tkt-secondary .wp-block-button__link:hover,
.page-wrap .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover{
  border-color:var(--red); color:var(--red);
}

.page-wrap .entry-content .wp-block-group{border-radius:0;}
.page-wrap .entry-content .wp-block-group.is-style-tkt-card{
  border:1px solid var(--line); border-top:3px solid var(--navy);
  background:var(--white); padding:32px 30px;
}
.page-wrap .entry-content .wp-block-group.is-style-tkt-panel{
  background:var(--paper); border:1px solid var(--line); padding:36px 32px;
}
.page-wrap .entry-content .wp-block-group.is-style-tkt-card > *:last-child,
.page-wrap .entry-content .wp-block-group.is-style-tkt-panel > *:last-child{margin-bottom:0;}

.page-wrap .entry-content .wp-block-columns{gap:32px;}
.page-wrap .entry-content .wp-block-column > *:first-child{margin-top:0;}

.page-wrap .entry-content .wp-block-table{font-size:14.5px; border-collapse:collapse; width:100%;}
.page-wrap .entry-content .wp-block-table th,
.page-wrap .entry-content .wp-block-table td{border:1px solid var(--line); padding:10px 14px;}
.page-wrap .entry-content .wp-block-table th{
  background:var(--paper); color:var(--navy); font-family:'Space Grotesk',sans-serif; text-align:left;
}

.page-wrap .entry-content .wp-block-separator{
  border:none; border-top:1px solid var(--line); opacity:1; max-width:100%; margin:40px 0;
}
.page-wrap .entry-content .wp-block-separator.is-style-dots{border-top:none;}

.page-wrap .entry-content .wp-block-embed,
.page-wrap .entry-content .wp-block-image{margin-bottom:28px;}
.page-wrap .entry-content .wp-block-embed iframe{width:100%; border:1px solid var(--line);}
.page-wrap .entry-content .wp-block-image img,
.page-wrap .entry-content .wp-block-gallery img{border:1px solid var(--line);}

.page-wrap .entry-content .wp-block-quote{
  border-left:3px solid var(--red); padding-left:20px; margin:24px 0;
}
.page-wrap .entry-content .wp-block-quote p{font-family:'Space Grotesk',sans-serif; font-size:22px; color:var(--navy);}
.page-wrap .entry-content .wp-block-quote cite{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--ink-soft); font-style:normal;}

/* Wide / full-width breakout — .page-wrap caps normal content at 820px, but
   a wide or full-aligned block still needs to escape it, the way sections
   do on the homepage. Centers the block on its own (independent of the
   parent's max-width) via the margin:50% + translateX(-50%) technique. */
.page-wrap .entry-content .alignwide{
  max-width:1180px; width:100%; margin-left:50%; transform:translateX(-50%);
}
.page-wrap .entry-content .alignfull{
  max-width:100vw; width:100vw; margin-left:50%; transform:translateX(-50%);
}
.page-wrap .entry-content .alignfull.has-background,
.page-wrap .entry-content .alignfull .wp-block-cover{padding-top:64px; padding-bottom:64px;}
@media(max-width:1244px){ .page-wrap .entry-content .alignwide{max-width:100%; margin-left:0; transform:none;} }

/* ---- Google Maps (satellite) — the [tkt_map] shortcode ---- */
.tkt-map-frame{
  position:relative; border:1px solid var(--line); background:var(--paper); overflow:hidden; margin-bottom:28px;
}
.tkt-map-frame iframe{width:100%; height:420px; border:0; display:block;}
.tkt-map-tag{
  position:absolute; top:16px; left:16px; z-index:2; font-family:'IBM Plex Mono',monospace;
  background:var(--navy); color:var(--white); font-size:10px; letter-spacing:0.05em; padding:5px 11px;
}

/* ---- Contact form + "Find us" map — the [tkt_contact_form] shortcode ---- */
.tkt-contact{max-width:820px;}
.tkt-form-notice{
  padding:16px 20px; margin-bottom:28px; font-size:14.5px; border:1px solid var(--line);
  border-left:3px solid var(--navy);
}
.tkt-form-notice.success{border-left-color:var(--navy); background:var(--paper); color:var(--ink);}
.tkt-form-notice.error{border-left-color:var(--red); background:#FBEAEC; color:var(--ink);}
.tkt-contact-form{
  background:var(--paper); border:1px solid var(--line); border-top:3px solid var(--navy);
  padding:36px 32px; margin-bottom:64px;
}
.tkt-form-hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
.tkt-form-grid{display:grid; grid-template-columns:1fr 1fr; gap:22px 24px; margin-bottom:28px;}
.tkt-form-row.full{grid-column:1 / -1;}
@media(max-width:640px){ .tkt-form-grid{grid-template-columns:1fr;} }
.tkt-form-row label{
  display:block; font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.06em;
  color:var(--navy); margin-bottom:8px; text-transform:uppercase;
}
.tkt-form-row .req{color:var(--red);}
.tkt-form-row input,.tkt-form-row textarea{
  width:100%; border:1px solid var(--line); background:var(--white); color:var(--ink);
  padding:12px 14px; font-family:'Inter',sans-serif; font-size:14.5px; resize:vertical;
}
.tkt-form-row input:focus,.tkt-form-row textarea:focus{outline:none; border-color:var(--navy);}
.tkt-contact-form button.btn-primary{border:0; cursor:pointer; font-family:inherit;}
.tkt-contact-map .section-head{margin-bottom:28px;}

/* ---- Contact Page template (template-contact.php) ---- */
.contact-intro{max-width:820px; margin-bottom:36px;}
.contact-intro > *{margin-bottom:20px;}
.contact-intro > *:last-child{margin-bottom:0;}

.archive-wrap{max-width:1180px; margin:0 auto; padding:80px 32px;}
.has-rail .archive-wrap{padding-left:100px;}
@media(max-width:980px){ .archive-wrap,.has-rail .archive-wrap{padding:60px 24px;} }
.archive-title{font-size:38px; margin-bottom:8px;}
.archive-desc{color:var(--ink-soft); margin-bottom:48px; font-size:15.5px;}

.pagination{margin-top:48px; display:flex; gap:8px; flex-wrap:wrap;}
.pagination .page-numbers{padding:8px 14px; border:1px solid var(--line); color:var(--navy); font-family:'IBM Plex Mono'; font-size:12px;}
.pagination .page-numbers.current{background:var(--navy); color:var(--white); border-color:var(--navy);}
.pagination .page-numbers:hover{background:var(--red); color:var(--white); border-color:var(--red);}

.comment-list{list-style:none; padding:0; margin:40px 0 0;}
.comment-list li{border-top:1px solid var(--line); padding:20px 0;}
.comment-author{font-weight:600; color:var(--navy);}
.comment-metadata{font-family:'IBM Plex Mono'; font-size:11px; color:var(--ink-soft); margin-bottom:8px;}

.no-results{padding:60px 0; text-align:center; color:var(--ink-soft);}

/* ================================================================
   SOCIAL MEDIA ICONS
   ================================================================ */
/* Selectors are scoped to the footer so they outrank
   `footer.site-footer li{margin-bottom:9px}` and friends — without that the
   items fall back to block layout and the icons stack in a vertical line. */
.social-icons,
.site-footer .social-icons{
	display:flex; flex-direction:row; flex-wrap:wrap; align-items:center;
	gap:9px; list-style:none; margin:14px 0 18px; padding:0;
}
.social-icons li,
.site-footer .social-icons li{
	display:block; margin:0; padding:0; float:none; font-size:0; line-height:0;
}

/* Simple outlined circles with a monochrome glyph — deliberately plain, so
   the row sits quietly under the logo instead of competing with it.
   Sized well below the 32px footer logo. */
.social-icon{
	width:var(--tkt-social-size,22px); height:var(--tkt-social-size,22px);
	border-radius:50%; flex:none;
	display:flex; align-items:center; justify-content:center;
	background:transparent; color:#B9C7D4;
	border:1px solid rgba(255,255,255,0.22);
	transition:background .18s ease, color .18s ease, border-color .18s ease;
}
.social-icon svg{width:var(--tkt-social-glyph,11px); height:var(--tkt-social-glyph,11px); display:block;}
.social-icon:hover,.social-icon:focus-visible{
	background:var(--red); border-color:var(--red); color:#fff;
}

/* On a light background, e.g. the [tkt_social_icons] shortcode inside page content. */
.entry-content .social-icon{border-color:var(--line); color:var(--navy);}
.entry-content .social-icon:hover{background:var(--red); border-color:var(--red); color:#fff;}

.footer-blurb{font-size:13px; max-width:260px;}

/* ================================================================
   WORDPRESS CORE CLASSES
   Required for uploaded media, captions and sticky posts to render
   correctly in post and page content.
   ================================================================ */
.alignleft{float:left; margin:6px 24px 18px 0;}
.alignright{float:right; margin:6px 0 18px 24px;}
.aligncenter{display:block; margin-left:auto; margin-right:auto;}
.alignwide,.alignfull{width:100%;}
.wp-caption{max-width:100%;}
.wp-caption img{margin:0 auto;}
.wp-caption-text,.gallery-caption,.wp-block-image figcaption{
	font-size:12.5px; color:var(--ink-soft); text-align:center; margin-top:8px;
	font-family:'IBM Plex Mono',monospace;
}
.sticky .entry-title::after{content:' \2605'; color:var(--red);}
.bypostauthor > .comment-body .comment-author{font-weight:700;}
