/* tiy site header + older-page fixes (Dennis, Nov 12 2026). Header copied from the home page (assets/landing/landing.css),
   scoped to .tiy-top; the .tiy-site rules only apply on the agency's own pages (never inside a client shop preview). */
.tiy-top {
  --t-ink: #1d1714; --t-ink-hover: #3a302c; --t-paper: #fdfaf8; --t-dot: #D87656; --t-accent: #b44821;
  --t-ring: rgba(29, 23, 20, 0.4); --t-hair: rgba(29, 23, 20, 0.14); --t-gutter: clamp(20px, 5.5vw, 72px);
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(12px + env(safe-area-inset-top)) var(--t-gutter) 12px;
  color: var(--t-ink); background: var(--t-paper);
  font-family: "Switzer", "Helvetica Neue", Arial, system-ui, sans-serif;
  transition: box-shadow 180ms linear;
}
.tiy-top.is-scrolled { box-shadow: 0 1px 0 var(--t-hair); }
.tiy-top__logo { font: 700 1.25rem/1 "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -0.022em; color: var(--t-ink); text-decoration: none; padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.tiy-top__logo::after { content: none; }
.tiy-top__logo:hover { text-decoration: none; }
.tiy-top__logo span { color: var(--t-dot); }
.tiy-top__right { display: flex; align-items: center; gap: 8px; }
.tiy-top__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--t-ring); background: transparent; color: var(--t-ink); font: 600 0.95rem/1 "Switzer", "Helvetica Neue", Arial, system-ui, sans-serif; letter-spacing: 0.005em; text-decoration: none; white-space: nowrap; }
.tiy-top__btn:hover { background: rgba(29, 23, 20, 0.06); text-decoration: none; }
.tiy-top__menu-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--t-ring); background: transparent; color: inherit; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.tiy-top__menu-btn:hover { background: rgba(29, 23, 20, 0.06); }
.tiy-top__bars, .tiy-top__bars::before { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: currentColor; transform: translate(-50%, -3.5px); transition: transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.tiy-top__bars::before { content: ""; transform: translate(-50%, 7px); }
.tiy-top__menu-btn[aria-expanded="true"] .tiy-top__bars { transform: translate(-50%, 0) rotate(45deg); }
.tiy-top__menu-btn[aria-expanded="true"] .tiy-top__bars::before { transform: translate(-50%, 0) rotate(-90deg); top: 0; }
.tiy-top__menu { max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; position: absolute; top: 100%; right: var(--t-gutter); left: var(--t-gutter); margin-top: 8px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--t-hair); box-shadow: 0 24px 60px -28px rgba(29, 23, 20, 0.35); color: var(--t-ink); }
.tiy-top__menu[hidden] { display: none; }
.tiy-top__menu ul { list-style: none; margin: 0; padding: 0; }
.tiy-top__menu a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 12px; text-decoration: none; font-size: 1.06rem; color: var(--t-ink); }
.tiy-top__menu a:hover { background: rgba(29, 23, 20, 0.05); }
.tiy-top__menu .tiy-top__menu-cta { color: var(--t-accent); font-weight: 600; }
@media (max-width: 379px) { .tiy-top__btn { display: none; } }
@media (min-width: 56em) { .tiy-top__menu { left: auto; width: 22rem; } }

/* ---- older-page fixes: thumb-sized links (site-qa, Nov 12) ---- */
.tiy-site .site-foot a, .tiy-site .site-foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.tiy-site .site-foot .logo { min-height: 44px; display: inline-flex; align-items: center; }
.tiy-site .legal__switch a { display: inline-flex; align-items: center; min-height: 44px; }
.tiy-site .link-cta { min-height: 44px; }
/* footer links at least 44px wide too; the preview switch buttons on /work thumb-sized */
.tiy-site .site-foot a { min-width: 44px; justify-content: center; }
.tiy-site .seg__btn { min-height: 44px; }
/* a jump to #main or any section lands below the sticky header (68px tall) */
.tiy-site [id] { scroll-margin-top: 76px; }
/* the skip link stays reachable by keyboard; it is clipped until focused instead of sitting off screen */
.tiy-site .skip:not(:focus) { top: 0; left: 0; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* a link that is a paragraph of its own (e.g. "Back to the seminar") gets a full tap area */
.tiy-site article.legal > p > a:only-child { display: inline-flex; align-items: center; min-height: 44px; }
