/**
 * Wordy Page — Published Site Stylesheet (css/page.css)
 *
 * Clean-sheet styles for user-published sites rendered by inc/render.php:
 *   1. Design Tokens & Theme Palette (:root & body.dark)
 *   2. Reset, Document Base & Glass Surfaces
 *   3. Sticky Full-Bleed Header (.tp-bar) & Navigation Menu (.tp-menu)
 *   4. Page Cards, Typography, Title Divider & Blue ALL CAPS Highlights
 *   5. Natural-Aspect Unsplash Photos (.tp-img)
 *   6. Contact Form Section (.tp-cform), Validation & Unified Charcoal Buttons
 *   7. Share Dialog, QR Code Modal & Footer Credit Pill (.tp-built)
 *   8. Desktop Breakpoint (@media min-width: 700px)
 */

/* ==========================================================================
   1. Design Tokens & Theme Palette
   ========================================================================== */
:root {
  /* Wordy Blue — unified bright electric blue for bold ALL CAPS, links, emails, and form field borders */
  --wordy-blue: #0a94e0;
  --bg: #eef2f6;
  --bg2: #e2e9f1;
  --card: #fff;
  --ink: #1c2633;
  --mut: #3a4757;
  --line: #cbd5e0;
  --pri: var(--wordy-blue);
  --acc: var(--wordy-blue);
  --bold: var(--wordy-blue);
  --chip: #f8fafc;
  --bar: rgba(238,242,246,.92);
  --box: #f3f6f9;
  --glass-a: .66;
  --glass: rgba(255,255,255,var(--glass-a));
  --blur: blur(18px) saturate(1.3);
  --fglass: rgba(255,255,255,.58);
  --fglassf: rgba(255,255,255,.8);
  --fblur: blur(8px) saturate(1.2);
  --fshadow: 0 6px 22px rgba(30,50,75,.10),0 1px 3px rgba(30,50,75,.06);
  --ad-ink: rgba(42,54,68,.78);
  --ad-hr: rgba(28,38,51,.28);
}
body.dark {
  --bg: #26282c;
  --bg2: #1f2125;
  --card: #262626;
  --ink: #ececec;
  --mut: #c8c8c8;
  --line: #3a3a3a;
  --ad-ink: rgba(210,216,224,.76);
  --ad-hr: rgba(236,236,236,.26);
  --pri: var(--wordy-blue);
  --acc: var(--wordy-blue);
  --bold: var(--wordy-blue);
  --chip: #2e2e2e;
  --bar: rgba(30,30,30,.92);
  --box: #262626;
  --glass-a: .66;
  --glass: rgba(38,38,38,var(--glass-a));
  --fglass: rgba(46,46,46,.6);
  --fglassf: rgba(52,52,52,.82);
  --fshadow: 0 8px 26px rgba(0,0,0,.45),0 1px 3px rgba(0,0,0,.3);
}

@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  :root, body.dark { --glass-a: .9; }
}

/* ==========================================================================
   2. Reset, Document Base & Glass Surfaces
   ========================================================================== */
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: auto;
  overflow-y: scroll;
  overflow-x: clip;
}

@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font: 17px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color: var(--ink);
  overflow-wrap: anywhere;
  overflow-x: clip;
  --page-fill: linear-gradient(180deg,var(--bg2),var(--bg) 320px);
  background-color: var(--bg);
  background-image: var(--page-texture,none),var(--page-fill);
  background-repeat: repeat,no-repeat;
  background-size: auto,auto;
}
.tp-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 max(16px,env(safe-area-inset-right,0px)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left,0px));
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.tp-wrap>* { min-width: 0; }
.tp-wrap>main { flex: 0 0 auto; }
.ic {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  vertical-align: -.16em;
  flex: none;
}
.tp-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
a, a:link, a:visited, a:hover, a:focus, a:active { text-decoration: none!important; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
a:focus-visible {
  outline: 2px solid var(--pri);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   3. Sticky Full-Bleed Header (.tp-bar) & Navigation Menu (.tp-menu)
   ========================================================================== */
.brand, .tp-bar, .tp-menu {
  color-scheme: dark;
  --glass: rgba(32,32,32,.84);
  --ink: #ececec;
  --mut: #c8c8c8;
  --pri: var(--wordy-blue);
  --acc: var(--wordy-blue);
  --line: #3a3a3a;
  --chip: #2e2e2e;
  --card: #262626;
  --fglass: rgba(52,52,52,.7);
  --fglassf: rgba(60,60,60,.85);
  --bhov: #a9c8e6;
  --btxt: #181818;
  --fshadow: 0 8px 26px rgba(0,0,0,.35);
  color: var(--ink);
}
.tp-bar {
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  margin: 0 0 20px;
  padding: max(12px,env(safe-area-inset-top)) 12px 12px 16px;
  height: calc(56px + max(12px,env(safe-area-inset-top)));
  min-height: 68px;
  background: transparent!important;
  -webkit-backdrop-filter: none!important;
  backdrop-filter: none!important;
  border: 0!important;
  border-radius: 0!important;
  box-shadow: none!important;
}
.tp-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100vw;
  right: -100vw;
  z-index: -1;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur)!important;
  backdrop-filter: var(--blur)!important;
  border-radius: 0!important;
  box-shadow: var(--fshadow);
  border-bottom: 1px solid var(--line);
}
.tp-pname {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.3em;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  cursor: pointer;
}
a.tp-pname:hover, a.tp-pname:visited, a.tp-pname:focus {
  color: var(--ink);
  text-decoration: none;
}
.tp-share-btn {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 6px 12px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--pri);
  border: 1px solid var(--wordy-blue);
  border-radius: 999px;
  text-decoration: none;
  background: var(--fglass)!important;
  -webkit-backdrop-filter: var(--fblur);
  backdrop-filter: var(--fblur);
}
.tp-share-btn:hover, .tp-share-btn:focus-visible { background: var(--chip); }
.tp-edit-btn { display: none!important; }
body.tp-owner .tp-edit-btn { display: inline-flex!important; }
.tp-bar .tp-edit-btn { margin-left: auto; }
.tp-bar .tp-share-btn { margin-left: auto; }
.tp-bar .tp-edit-btn+.tp-share-btn { margin-left: 0; }
.tp-bar .tp-share-btn+.tp-mbtn { margin-left: 0; }
.tp-bar .tp-share-ico {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  justify-content: center;
  border: 1px solid var(--wordy-blue);
  border-radius: 12px;
  color: var(--ink);
}
.tp-bar .tp-share-ico:hover, .tp-bar .tp-share-ico:focus-visible { background: var(--fglass)!important; }
.tp-bar .tp-share-ico svg { display: block; }
.tp-mbtn {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  margin-left: auto;
  background: var(--fglass)!important;
  -webkit-backdrop-filter: var(--fblur);
  backdrop-filter: var(--fblur);
  border: 1px solid var(--wordy-blue);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
}
.tp-mbtn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s,opacity .2s;
}
.tp-mbtn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tp-mbtn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tp-mbtn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.tp-menu {
  position: absolute;
  right: max(calc(16px + env(safe-area-inset-right,0px)),calc(50% - 560px + 16px));
  top: calc(100% + 6px);
  z-index: 30;
  min-width: 200px;
  max-width: min(320px,92vw);
  max-height: 70vh;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  background: var(--card)!important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.tp-menu[hidden] { display: none; }
.tp-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}
.tp-menu a:hover, .tp-menu a:focus-visible { background: var(--line); color: var(--pri); }
.tp-menu a[aria-current] { color: var(--pri); font-weight: 700; }

/* ==========================================================================
   4. Page Cards, Typography, Dividers & Blue ALL CAPS Highlights
   ========================================================================== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 6px 24px rgba(30,50,75,.07);
}
body.dark .card { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
main>article.card {
  --box: var(--card);
  background: none!important;
  border: 0!important;
  box-shadow: none!important;
  padding: 0!important;
  border-radius: 0;
}
main>article.card>.sec, main>article.card>h1:not(.tp-vh), main>article.card>h1:not(.tp-vh)+.desc {
  background: var(--glass)!important;
  -webkit-backdrop-filter: var(--blur)!important;
  backdrop-filter: var(--blur)!important;
}
.card>.sec, .card>.sec+.sec, .card>.desc+.sec, .card>h1:not(.tp-vh)+.sec, .card>.sec.tp-cform, .card>.sec+.sec.tp-cform, .card>.desc+.sec.tp-cform, .card>h1:not(.tp-vh)+.sec.tp-cform {
  margin: 0 0 34px;
  padding: 18px 16px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--box);
  box-shadow: var(--fshadow);
  scroll-margin-top: 5.5rem;
  min-height: 50vh;
  min-height: 50dvh;
}
.card>.sec:last-child, .card>.sec:last-of-type { margin-bottom: 0; }
body.dark .card>.sec, body.dark .card>h1:not(.tp-vh), body.dark .card>h1:not(.tp-vh)+.desc {
  border-color: var(--line);
}
h1 {
  font-size: clamp(1.7rem,6vw,2.3rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 12px;
}
.card h1.tp-ph {
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0 0 8px;
  scroll-margin-top: 5.5rem;
}
h2 {
  font-size: clamp(1.25rem,4.5vw,1.55rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0 0 8px;
  scroll-margin-top: 5.5rem;
}
.card>.sec h2 { margin-top: 0!important; }
.desc {
  color: var(--mut);
  font-size: 1.05rem;
  margin: 0 0 20px;
  tab-size: 4;
  container-type: inline-size;
}
.desc .tp-ind { display: block; padding-left: calc(var(--n) * .28em); text-indent: calc(var(--n) * -.28em); }
.card>.sec .desc { margin-bottom: 0; }
.card>.sec.tp-cform .desc { margin-bottom: 18px; }
.card .desc strong { color: var(--bold); font-weight: 500; }
.card .desc strong a, .card .desc a strong { color: var(--bold); }
.desc a, .desc a:visited, .desc a:focus, .tp-cap a, .tp-cap a:visited, .tp-cap a:focus {
  color: var(--bold)!important;
  word-break: break-word;
}
.desc a:hover, .desc a:active, .tp-cap a:hover, .tp-cap a:active {
  color: color-mix(in srgb,var(--bold) 78%,#000)!important;
}
body.dark .desc a:hover, body.dark .desc a:active, body.dark .tp-cap a:hover, body.dark .tp-cap a:active {
  color: color-mix(in srgb,var(--bold) 75%,#fff)!important;
}
.card hr.tp-hhr {
  display: block;
  clear: both;
  border: 0;
  height: 1px;
  margin: 10px 0 16px;
  background: linear-gradient(90deg,transparent,color-mix(in srgb,var(--ink) 35%,transparent) 50%,transparent);
  opacity: .9;
}

/* ==========================================================================
   5. Natural-Aspect Unsplash Photos (.tp-img)
   ========================================================================== */
.tp-img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 14px 0;
  border-radius: 0;
}
.tp-img:first-child { margin-top: 4px; }
.tp-img:last-child { margin-bottom: 0; }
.tp-img img {
  display: block;
  width: 100%;
  min-width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 56cqw;
  object-fit: cover;
  object-position: center;
  background: var(--bg);
  border-radius: 0;
  border: 1px solid var(--line);
}
.tp-cap {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  color: var(--mut);
}

/* ==========================================================================
   6. Contact Form Section (.tp-cform), Validation & Unified Charcoal Buttons
   ========================================================================== */
#contact { scroll-margin-top: 5.5rem; }
.tp-cform h1.tp-ph { margin: 0 0 8px; }
.tp-cform>hr.tp-hhr { margin: 10px 0 16px; }
.tp-cf-h { display: none!important; }
.tp-cform:has(>.desc) .tp-form::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 0 4px;
  background: linear-gradient(90deg,transparent,color-mix(in srgb,var(--ink) 35%,transparent) 50%,transparent);
  opacity: .9;
}

@supports not (background:color-mix(in srgb,red 50%,transparent)) {
  .card hr.tp-hhr, .tp-cform:has(>.desc) .tp-form::before { background: linear-gradient(90deg,transparent,var(--line),transparent); }
}
.tp-form {
  display: grid;
  gap: 10px;
  margin: 4px 0 8px;
}
.tp-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: .95rem;
}
.tp-form input, .tp-form textarea, .tp-form select {
  display: block;
  width: 100%;
  min-height: 40px;
  font: inherit;
  font-size: 16px;
  line-height: 22px;
  padding: 8px 12px;
  border: 1px solid var(--wordy-blue);
  border-radius: 10px;
  background: var(--fglass)!important;
  -webkit-backdrop-filter: var(--fblur);
  backdrop-filter: var(--fblur);
  background-clip: padding-box;
  -webkit-appearance: none;
  appearance: none;
  color: var(--ink);
}
.tp-form textarea {
  min-height: 84px;
  resize: none;
  overflow-y: hidden;
  tab-size: 4;
}
.tp-form input:focus, .tp-form textarea:focus, .tp-form select:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--wordy-blue) 30%,transparent);
  background: var(--fglassf)!important;
}
.tp-form .ferr {
  border-color: #c62828!important;
  box-shadow: 0 0 0 3px rgba(198,40,40,.22);
  color: #c62828;
}
.tp-form .ferr::placeholder {
  color: #c62828;
  opacity: 1;
  font-weight: 600;
}
.tp-note {
  display: none;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--line);
}
.tp-note:target, .tp-note.show { display: block; }
.tp-note.good, .tp-form-msg.ok {
  color: #1e6b3a;
  background: #e5f4ea;
  border-color: #a9d8b7;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -.01em;
}
body.dark .tp-note.good, body.dark .tp-form-msg.ok {
  color: #9fe0b4;
  background: #13261b;
  border-color: #24533a;
}
.tp-form-msg {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--line);
}
.tp-note.bad, .tp-form-msg.bad { /* non-field send errors stay visible; field errors show inside the field */
  color: #a3262a;
  background: #fbeaea;
  border-color: #efc3c3;
}
body.dark .tp-note.bad, body.dark .tp-form-msg.bad {
  color: #ff9a9a;
  background: #3a1d22;
  border-color: #6a2f37;
}
a.tp-edit-btn, .tp-bar a.tp-edit-btn {
  font: inherit; font-size: .88rem!important; font-weight: 600!important;
  min-height: 36px!important; padding: 0 14px!important; border-radius: 10px!important;
  border: 1px solid var(--wordy-blue)!important; background: #3d4148!important; color: #ececec!important;
  cursor: pointer; text-decoration: none!important; box-shadow: none!important;
  -webkit-backdrop-filter: none!important; backdrop-filter: none!important;
  align-items: center; justify-content: center;
}
a.tp-edit-btn:hover { background: #4a4f57!important; color: #ececec!important; }
a.tp-edit-btn:active { background: #33363c!important; }
a.tp-edit-btn:focus-visible { outline: 2px solid var(--wordy-blue); outline-offset: 2px; }
body.dark a.tp-edit-btn { background: #ececec!important; color: #3d4148!important; }
body.dark a.tp-edit-btn:hover { background: #d9dcdf!important; color: #33363c!important; }

/* ==========================================================================
   7. Share Dialog, QR Code Modal & Footer Credit Pill (.tp-built)
   ========================================================================== */
.tp-qr {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.tp-qr:target, .tp-qr.open { display: flex; }
.tp-qr-bg {
  position: absolute;
  inset: 0;
  background: rgba(10,14,20,.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 0!important;
}
.tp-qr-box {
  position: relative;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 18px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: 0 14px 44px rgba(0,0,0,.38);
}
.tp-qr-box img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 10px auto 8px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
}
.tp-qr-t {
  margin: 0 0 6px!important;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.tp-qr-u {
  margin: 4px 0 12px!important;
  font-size: .88rem;
  color: var(--mut);
  word-break: break-all;
}
.tp-qr-x {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 1.5rem;
  line-height: 1;
  padding: 6px 11px!important;
  color: var(--ink)!important;
  background: var(--chip);
  text-decoration: none;
  border: 1px solid var(--wordy-blue);
  border-radius: 10px;
}
.tp-qr-x:hover, .tp-qr-x:focus-visible { border-color: var(--pri); color: var(--pri)!important; }
.tp-qr-a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0!important;
}
a.tp-qr-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--wordy-blue)!important;
  border-radius: 10px;
  background: #3d4148!important;
  color: #ececec!important;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none!important;
}
a.tp-qr-dl:hover, a.tp-qr-dl:focus-visible { background: #4a4f57!important; color: #ececec!important; }
body.dark a.tp-qr-dl { background: #ececec!important; color: #3d4148!important; }
body.dark a.tp-qr-dl:hover, body.dark a.tp-qr-dl:focus-visible { background: #d9dcdf!important; color: #33363c!important; }
a.tp-qr-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 4px 10px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--wordy-blue)!important;
  text-decoration: none!important;
}
a.tp-qr-sub:hover, a.tp-qr-sub:focus-visible { color: var(--pri)!important; }
.tp-share-box { text-align: left; max-width: 340px; }
.tp-share-url {
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0 4px;
  padding: 10px;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg2);
  border: 1px solid var(--wordy-blue);
  border-radius: 10px;
}
.tp-share-ok {
  min-height: 1.2em;
  margin: 0 0 6px!important;
  font-size: .85rem;
  color: var(--mut);
}
.tp-share-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tp-share-list li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.tp-share-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--chip);
  color: var(--ink)!important;
  text-decoration: none;
  font-weight: 500;
  font-size: .92rem;
}
.tp-share-list a:hover, .tp-share-list a:focus-visible { border-color: var(--pri); color: var(--pri)!important; }

/* Bottom-of-page Ad Slot (.tp-ad) — Unboxed, Subtle Native Text Line Below .tp-edit Pill */
.tp-ad {
  width: 100%;
  max-width: 680px;
  margin: 14px auto 2px;
  padding: 0;
  background: none!important;
  border: 0!important;
  box-shadow: none!important;
  -webkit-backdrop-filter: none!important;
  backdrop-filter: none!important;
  text-align: center;
}
hr.tp-hhr.tp-ad-hr {
  display: block;
  width: 100%;
  max-width: 520px;
  height: 1px;
  border: 0;
  margin: 0 auto 10px;
  background: linear-gradient(90deg,transparent,var(--ad-hr) 50%,transparent);
  opacity: .95;
}
.tp-ad-line {
  margin: 0;
  padding: 0 8px;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--ad-ink);
  font-weight: 400;
}
.tp-ad-tag {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .85;
}
.tp-ad-link, .tp-ad-link:visited {
  color: var(--wordy-blue)!important;
  text-decoration: none!important;
}
.tp-ad-link strong {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.tp-ad-link:hover, .tp-ad-link:focus-visible {
  text-decoration: underline!important;
}
.tp-ad:has(ins.adsbygoogle):not(:has(ins.adsbygoogle[data-ad-status="filled"])) hr.tp-ad-hr {
  display: none!important;
}
.tp-ad ins.adsbygoogle {
  display: block;
  width: 100%;
  background: transparent!important;
}
.tp-ad ins.adsbygoogle[data-ad-status="unfilled"],
.tp-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
  display: none!important;
}

.tp-edit {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  text-align: center;
}
.tp-edit .tp-built {
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  color: var(--mut);
}
.tp-edit .tp-built a {
  display: inline-flex;
  align-items: center;
  gap: .25em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(220,226,234,.90)!important;
  border: 1px solid rgba(28,38,51,.16)!important;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.3;
  color: #1c2633!important;
  text-decoration: none!important;
}
.tp-edit .tp-built a:hover, .tp-edit .tp-built a:focus-visible {
  background: rgba(232,237,243,.96)!important;
  border-color: rgba(11,99,206,.35)!important;
  text-decoration: none!important;
}
.tp-edit .tp-built a .tp-bt { color: #3a4757!important; text-decoration: none!important; }
.tp-edit .tp-built a .tp-bw { color: var(--wordy-blue)!important; font-weight: 600; text-decoration: none!important; }

/* ==========================================================================
   8. Desktop Breakpoint (@media min-width: 700px)
   ========================================================================== */
@media(min-width:700px) {
  .card { padding: 28px; }
  .tp-bar { margin-bottom: 24px; }
  .tp-pname, .card h1.tp-ph { font-size: 1.25rem; max-width: none; }
  .card>.sec, .card>.sec+.sec, .card>.desc+.sec, .card>h1:not(.tp-vh)+.sec, .card>.sec.tp-cform, .card>.sec+.sec.tp-cform, .card>.desc+.sec.tp-cform, .card>h1:not(.tp-vh)+.sec.tp-cform {
    padding: 22px 24px;
    margin-bottom: 48px;
  }
  .card>.sec:last-child, .card>.sec:last-of-type { margin-bottom: 0; }
  .card .desc { display: flow-root; }
  .tp-img {
    width: 100%;
    max-width: 100%;
    margin: 14px 0;
  }
  .tp-img img { max-height: 36cqw; }
  .tp-img:first-child { margin-top: 4px; }
  .tp-img:last-child { margin-bottom: 0; }
  .tp-menu { width: min(50%,560px); max-width: 560px; min-width: 0; box-sizing: border-box; }
  .tp-form { align-items: start; }
  .tp-note.good, .tp-form-msg.ok { font-size: 1.25rem; }
  .tp-form button[type=submit] { justify-self: start; }
}


/* Header photo as background (2026-10-26, rev 2): solid bg color stays on body (canvas); the blurred photo sits IN FRONT of it at 50% opacity.
   Fixed layer (not background-attachment, which iOS ignores) so it never scrolls. body isolation keeps z-index:-1 above body's bg, below all content. */
body.has-bg-img { background: var(--bg)!important; isolation: isolate; }
body.has-bg-img::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--bg-img) center/cover no-repeat; transform: scale(1.12); filter: blur(28px) saturate(1.15); opacity: .5; }

/* Shared action button (2026-10-29): Pay Now links (a.tp-pay) and the contact form Send button use ONE style, identical in light and dark.
   Default: light gray #e6e8eb fill, charcoal #2b2f36 text, thin 1px Wordy Blue border. Hover/focus: charcoal fill, white text. Active: #1f2228. No lift. */
html body a.tp-pay, html body .tp-form button[type=submit] {
  display: flex; width: fit-content!important; max-width: 100%!important; align-items: center; justify-content: center; gap: 6px;
  min-height: 38px!important; padding: 7px 18px!important; margin: 12px 0; box-sizing: border-box;
  border: 1px solid var(--wordy-blue)!important; border-radius: 10px!important;
  font-family: inherit; font-weight: 600!important; font-size: 1rem!important; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none!important; word-break: normal; cursor: pointer;
  -webkit-backdrop-filter: none!important; backdrop-filter: none!important;
  box-shadow: 0 1px 2px rgba(0,0,0,.18)!important;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
html body a.tp-pay, html body a.tp-pay:link, html body a.tp-pay:visited,
html body .desc a.tp-pay, html body .desc a.tp-pay:link, html body .desc a.tp-pay:visited,
html body .tp-cap a.tp-pay, html body .tp-cap a.tp-pay:visited,
html body .tp-form button[type=submit], html body.dark .tp-form button[type=submit] {
  background: #e6e8eb!important; color: #2b2f36!important; -webkit-text-fill-color: #2b2f36;
}
html body a.tp-pay:hover, html body a.tp-pay:focus,
html body .desc a.tp-pay:hover, html body .desc a.tp-pay:focus,
html body .tp-cap a.tp-pay:hover, html body .tp-cap a.tp-pay:focus,
html body .tp-form button[type=submit]:hover, html body .tp-form button[type=submit]:focus,
html body.dark .tp-form button[type=submit]:hover, html body.dark .tp-form button[type=submit]:focus {
  background: #2b2f36!important; color: #fff!important; -webkit-text-fill-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.22)!important;
}
html body a.tp-pay:active, html body .desc a.tp-pay:active, html body .tp-cap a.tp-pay:active,
html body .tp-form button[type=submit]:active, html body.dark .tp-form button[type=submit]:active {
  background: #1f2228!important; color: #fff!important; -webkit-text-fill-color: #fff;
  box-shadow: none!important; transition-duration: .06s;
}
html body a.tp-pay:focus-visible, html body .tp-form button[type=submit]:focus-visible { outline: 3px solid var(--wordy-blue); outline-offset: 3px; }
html body a.tp-pay * { color: inherit!important; -webkit-text-fill-color: inherit; }
html body .tp-form button[type=submit]:disabled { opacity: .6; cursor: default; }
html body .tp-form:has(.tp-form-msg.bad) button[type=submit], html body .tp-cform:has(#tp-err.show) button[type=submit], html body .tp-cform:has(#tp-err:target) button[type=submit] {
  background: #c62828!important; border-color: #c62828!important; color: #fff!important; -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 3px rgba(198,40,40,.22)!important;
}
@media (prefers-reduced-motion: reduce) { html body a.tp-pay, html body .tp-form button[type=submit] { transition: none; } }
