/* ==== Tuệ Tâm TST: site styles (scoped to tst- classes) ==== */
:root{
  --tst-ink:#0E0E0C; --tst-ink-2:#1B1A17; --tst-ink-line:#34322C;
  --tst-paper:#FFFFFF; --tst-stone:#FFFFFF; --tst-line:#DCDCD8;
  --tst-text:#1A1915; --tst-mute:#55554F; --tst-mute-dark:#B9B5AA;
  --tst-gold:#FFCC00; --tst-gold-deep:#7A5C00; --tst-gold-ink:#3D2E00;
  --tst-serif:"Source Serif 4", Georgia, "Times New Roman", serif;
  --tst-sans:"Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --tst-wrap:1240px; --tst-gutter:clamp(20px,5vw,64px);
  --tst-sec:clamp(72px,9vw,128px);
  --tst-ease:cubic-bezier(.16,1,.3,1);
}

/* Page frame: only where our template is used */
body:has(.tst-main){ background:var(--tst-paper); color:var(--tst-text); font-family:var(--tst-sans);
  font-size:1.0625rem; line-height:1.7; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  scrollbar-color:#8F8B80 var(--tst-stone); caret-color:var(--tst-gold-deep); }
html:has(.tst-main){ scroll-behavior:smooth; scroll-padding-top:96px; }
body:has(.tst-main) .wp-site-blocks{ padding:0; }
body:has(.tst-main) .wp-site-blocks > *{ margin-block:0; }
body:has(.tst-main) ::selection{ background:var(--tst-gold); color:var(--tst-ink); }
.tst-main .wp-block-post-content > *,
.tst-main .wp-block-post-content{ margin-block:0; }
.tst-header-part :where(*), .tst-footer-part :where(*), .tst-main :where(*){ margin-block-start:0; }
.tst-header-part, .tst-main, .tst-footer-part{ font-family:var(--tst-sans); }
.tst-main a, .tst-footer a, .tst-header a{ text-underline-offset:.2em; text-decoration-thickness:1px; }
.tst-main :focus-visible, .tst-header :focus-visible, .tst-footer :focus-visible{
  outline:2px solid var(--tst-gold); outline-offset:3px; border-radius:1px; }
.tst-sec--stone :focus-visible, .tst-about :focus-visible, .tst-trade :focus-visible,
.tst-process :focus-visible, .tst-sec--gold :focus-visible{ outline-color:var(--tst-ink); }

.tst-wrap{ max-width:var(--tst-wrap); margin-inline:auto; padding-inline:var(--tst-gutter); box-sizing:content-box; }
.tst-sec{ padding-block:var(--tst-sec); }
.tst-sec--stone{ background:var(--tst-stone); }
.tst-sec--ink{ background:var(--tst-ink); color:#F3F1EA; }
.tst-sec--gold{ background:var(--tst-gold); color:var(--tst-ink); }

/* ---------- type ---------- */
.tst-main h1, .tst-main h2, .tst-main h3{ font-family:var(--tst-serif); color:inherit; text-wrap:balance; }
.tst-hero__title{ font-size:clamp(2.6rem,5.4vw,4.9rem); line-height:1.08; font-weight:600; letter-spacing:-.02em;
  font-variation-settings:"opsz" 60; margin:0; }
.tst-h2{ font-size:clamp(2rem,3.5vw,3.1rem); line-height:1.12; font-weight:600; letter-spacing:-.015em;
  font-variation-settings:"opsz" 48; }
.tst-h2--sm{ font-size:clamp(1.7rem,2.6vw,2.3rem); }
.tst-main h3{ font-size:1.375rem; line-height:1.3; font-weight:600; letter-spacing:-.005em; font-variation-settings:"opsz" 24; }
.tst-main p{ max-width:68ch; }
.tst-lead{ font-size:clamp(1.125rem,1.4vw,1.3rem); line-height:1.6; color:#D9D5CB; margin-top:28px !important; max-width:44ch !important; }
.tst-head{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:24px clamp(32px,6vw,96px); align-items:end; margin-bottom:clamp(40px,5vw,72px); }
.tst-head__intro{ color:var(--tst-mute); font-size:1.125rem; }
.tst-sec--ink .tst-head__intro{ color:var(--tst-mute-dark); }
.tst-note{ font-size:.9375rem; line-height:1.6; color:var(--tst-mute); }
.tst-sec--ink .tst-note{ color:var(--tst-mute-dark); }
.tst-note--strong{ color:var(--tst-text); font-weight:500; }

/* ---------- buttons ---------- */
.tst-main .wp-block-buttons, .tst-header .wp-block-buttons{ display:flex; flex-wrap:wrap; gap:12px 14px; align-items:center; }
.tst-btn .wp-block-button__link{ font-family:var(--tst-sans); font-size:1rem; font-weight:600; line-height:1.2;
  padding:15px 24px; border-radius:2px; border:1.5px solid transparent; text-decoration:none;
  transition:background-color .25s var(--tst-ease), color .25s var(--tst-ease), border-color .25s var(--tst-ease); }
.tst-btn--gold .wp-block-button__link{ background:var(--tst-gold); color:var(--tst-ink); }
.tst-btn--gold .wp-block-button__link:hover{ background:#FFE066; }
.tst-btn--line .wp-block-button__link{ background:transparent; color:#fff; border-color:#6E6A60; }
.tst-btn--line .wp-block-button__link:hover{ border-color:var(--tst-gold); color:var(--tst-gold); }
.tst-btn--text .wp-block-button__link{ background:transparent; color:#fff; padding-inline:6px; text-decoration:underline; text-decoration-color:#6E6A60; }
.tst-btn--text .wp-block-button__link:hover{ text-decoration-color:var(--tst-gold); }
.tst-btn--ink .wp-block-button__link{ background:var(--tst-ink); color:#fff; }
.tst-btn--ink .wp-block-button__link:hover{ background:#2A2924; }
.tst-btn--inkline .wp-block-button__link{ background:transparent; color:var(--tst-ink); border-color:var(--tst-ink); }
.tst-btn--inkline .wp-block-button__link:hover{ background:rgba(14,14,12,.08); }
.tst-btn--sm .wp-block-button__link{ padding:10px 16px; font-size:.9375rem; }

/* ---------- header ---------- */
.tst-header-part{ position:sticky; top:0; z-index:50; }
.admin-bar .tst-header-part{ top:32px; }
.tst-header{ background:var(--tst-ink); color:#fff; border-bottom:1px solid var(--tst-ink-line); }
.tst-header__bar{ display:flex; align-items:center; gap:clamp(14px,2vw,32px); min-height:76px; }
.tst-logo{ margin:0; flex:none; }
.tst-logo img{ height:52px; width:auto; display:block; }
.tst-brand{ margin:0 auto 0 0; line-height:1.2; }
.tst-brand a{ white-space:nowrap; display:flex; flex-direction:column; color:#fff; text-decoration:none; }
.tst-brand__name{ font-family:var(--tst-serif); font-size:1.25rem; font-weight:600; letter-spacing:.01em; }
.tst-brand__line{ font-size:.75rem; color:var(--tst-mute-dark); letter-spacing:.02em; margin-top:2px; }
.tst-nav{ font-size:.9375rem; font-weight:500; }
.tst-nav .wp-block-navigation__container{ gap:clamp(14px,1.8vw,28px); }
.tst-nav .wp-block-navigation-item__content{ color:#E9E6DD; text-decoration:none; padding-block:6px;
  background:linear-gradient(var(--tst-gold),var(--tst-gold)) left bottom/0 1.5px no-repeat; transition:background-size .3s var(--tst-ease), color .2s; }
.tst-nav .wp-block-navigation-item__content:hover{ color:#fff; background-size:100% 1.5px; }
.tst-nav .wp-block-navigation__responsive-container-open, .tst-nav .wp-block-navigation__responsive-container-close{ color:#fff; }
.tst-nav .wp-block-navigation__responsive-container.is-menu-open{ background:var(--tst-ink); color:#fff; padding:28px var(--tst-gutter); }
.tst-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{ gap:22px; font-family:var(--tst-serif); font-size:1.75rem; }
.tst-lang{ display:flex; gap:2px; font-size:.8125rem; font-weight:600; letter-spacing:.06em; margin:0; }
.tst-lang a{ color:var(--tst-mute-dark); text-decoration:none; padding:6px 7px; border:1px solid transparent; }
.tst-lang a:hover{ color:#fff; }
.tst-lang a[aria-current]{ color:#fff; border-color:var(--tst-ink-line); }
.tst-header__cta{ flex:none; }

/* ---------- hero ---------- */
.tst-hero{ background:var(--tst-ink); color:#fff; padding-block:clamp(56px,8vw,112px) 0; overflow:hidden; }
.tst-hero__grid{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:clamp(36px,5vw,80px); align-items:center; }
.tst-hero__actions{ margin-top:40px !important; }
.tst-hero__img{ margin:0; position:relative; isolation:isolate; }
.tst-hero__img img{ display:block; width:100%; aspect-ratio:4/4.4; object-fit:cover; object-position:42% 50%;
  filter:saturate(.85) contrast(1.04); }
.tst-hero__img::after{ content:""; position:absolute; inset:14px -14px -14px 14px; border:1px solid var(--tst-gold); z-index:-1; }
.tst-hero__strip{ grid-column:1/-1; display:flex; justify-content:space-between; align-items:center; gap:16px 40px; flex-wrap:wrap;
  border-top:1px solid var(--tst-ink-line); margin-top:clamp(48px,6vw,88px) !important; padding-block:26px 30px; }
.tst-strip__links{ display:flex; flex-wrap:wrap; gap:8px 0; margin:0; max-width:none !important; }
.tst-strip__links a{ color:#fff; text-decoration:none; font-weight:500; font-size:1rem; padding-right:28px; margin-right:28px; border-right:1px solid var(--tst-ink-line); }
.tst-strip__links a:last-child{ border-right:0; margin-right:0; padding-right:0; }
.tst-strip__links a:hover{ color:var(--tst-gold); }
.tst-strip__region{ margin:0; font-family:var(--tst-serif); font-size:1.125rem; color:var(--tst-gold); letter-spacing:.02em; }

@media (prefers-reduced-motion:no-preference){
  .tst-hero__img img{ animation:tst-reveal 1.3s var(--tst-ease) .15s both; }
  .tst-hero__img::after{ animation:tst-frame 1.1s var(--tst-ease) .55s both; }
  @keyframes tst-reveal{ from{ clip-path:inset(0 0 100% 0); } to{ clip-path:inset(0 0 0 0); } }
  @keyframes tst-frame{ from{ opacity:0; transform:translate(-14px,-14px); } to{ opacity:1; transform:none; } }
}

/* ---------- about ---------- */
.tst-split{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:32px clamp(40px,7vw,112px); align-items:start; }
.tst-split__body > p + p{ margin-top:18px; }
.tst-about .tst-split__body > p{ font-size:1.1875rem; line-height:1.7; }
.tst-motto{ margin-top:48px !important; padding-top:28px; border-top:1px solid var(--tst-line); position:relative; }
.tst-motto::before{ content:""; position:absolute; top:-1px; left:0; width:64px; height:3px; background:var(--tst-gold); }
.tst-motto__text{ font-family:var(--tst-serif); font-size:clamp(1.5rem,2.3vw,2rem); line-height:1.3; font-weight:500; font-style:italic; margin:0; }
.tst-motto__note{ margin-top:10px !important; font-size:.875rem; color:var(--tst-mute); }

/* ---------- services overview ---------- */
.tst-svc-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 clamp(32px,5vw,80px); }
.tst-svc{ border-top:1px solid #CFCABD; padding:32px 0 44px; display:flex; flex-direction:column; }
.tst-svc__title{ font-size:clamp(1.4rem,2vw,1.75rem) !important; }
.tst-svc__text{ margin-top:12px !important; color:var(--tst-mute); flex:1; }
.tst-more-wrap{ margin-top:18px !important; }
.tst-more{ font-weight:600; color:var(--tst-ink); text-decoration:none; display:inline-flex; align-items:center; gap:10px;
  border-bottom:1.5px solid var(--tst-gold); padding-bottom:3px; }
.tst-more::after{ content:""; width:16px; height:10px; background:currentColor; transition:transform .3s var(--tst-ease);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat; }
.tst-more:hover::after{ transform:translateX(4px); }

/* ---------- generic items ---------- */
.tst-cols3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px clamp(28px,4vw,56px); }
.tst-item{ border-top:1px solid var(--tst-line); padding-top:24px; }
.tst-sec--stone .tst-item{ border-top-color:#CFCABD; }
.tst-item__text{ margin-top:10px !important; color:var(--tst-mute); }
.tst-notes{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px clamp(32px,5vw,80px);
  margin-top:clamp(40px,5vw,64px) !important; padding-top:24px; border-top:1px solid var(--tst-line); }
.tst-trade .tst-item:first-child{ border-top:3px solid var(--tst-gold); padding-top:22px; }

/* ---------- investment + vn-laos ---------- */
.tst-invest__grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px clamp(40px,7vw,112px); }
.tst-invest__col .tst-head__intro{ margin-top:18px !important; margin-bottom:36px !important; }
.tst-stack > * + *{ margin-top:26px !important; }
.tst-output{ margin-top:36px !important; background:var(--tst-ink); color:#fff; padding:26px 28px; }
.tst-output__label{ font-family:var(--tst-serif); font-size:1.125rem; color:var(--tst-gold); margin:0; font-weight:600; }
.tst-output__text{ margin-top:6px !important; color:#E2DFD6; }
.tst-phases-col{ border-left:1px solid #CFCABD; padding-left:clamp(28px,4vw,64px); }
.tst-phases{ counter-reset:tst-phase; margin-bottom:28px !important; }
.tst-phase{ position:relative; padding:0 0 28px 64px; counter-increment:tst-phase; }
.tst-phase::before{ content:counter(tst-phase,decimal-leading-zero); position:absolute; left:0; top:-2px;
  font-family:var(--tst-serif); font-size:1.5rem; font-weight:600; color:var(--tst-gold-deep); font-variant-numeric:lining-nums tabular-nums; }
.tst-phase::after{ content:""; position:absolute; left:15px; top:40px; bottom:8px; width:1px; background:#CFCABD; }
.tst-phase:last-child::after{ display:none; }
.tst-phase .tst-item__title{ font-size:1.25rem !important; }

/* ---------- mining ---------- */
.tst-mining .tst-h2{ max-width:22ch; }
.tst-stage{ display:flex; flex-direction:column; }
.tst-stage__img{ margin:0 0 24px; overflow:hidden; background:var(--tst-ink-2); }
.tst-stage__img img{ display:block; width:100%; aspect-ratio:3/2; object-fit:cover; transition:transform 1.2s var(--tst-ease); }
.tst-stage:hover .tst-stage__img img{ transform:scale(1.035); }
.tst-stage__title{ padding-top:20px; border-top:3px solid var(--tst-gold); }
.tst-ticks{ list-style:none; padding:0; margin-top:16px !important; }
.tst-ticks li{ position:relative; padding-left:22px; color:#D6D2C8; font-size:1rem; line-height:1.6; }
.tst-ticks li + li{ margin-top:10px; }
.tst-ticks li::before{ content:""; position:absolute; left:0; top:.72em; width:10px; height:1.5px; background:var(--tst-gold); }
.tst-mining > .tst-wrap > .tst-note{ margin-top:clamp(40px,5vw,64px) !important; padding-top:22px; border-top:1px solid var(--tst-ink-line); max-width:none; }

/* ---------- process ---------- */
.tst-steps{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 clamp(28px,4vw,56px); counter-reset:tst-step; }
.tst-step{ counter-increment:tst-step; position:relative; padding:68px 0 40px; border-top:1px solid var(--tst-line); }
.tst-step::before{ content:counter(tst-step,decimal-leading-zero); position:absolute; top:20px; left:0;
  font-family:var(--tst-serif); font-size:1.5rem; font-weight:600; color:var(--tst-gold-deep); font-variant-numeric:lining-nums tabular-nums; }
.tst-step::after{ content:""; position:absolute; top:-5px; left:0; width:9px; height:9px; border-radius:50%; background:var(--tst-gold); box-shadow:0 0 0 4px var(--tst-paper); }
.tst-step .tst-item__title{ font-size:1.3rem !important; }

/* ---------- principles ---------- */
.tst-pr-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px clamp(28px,4vw,56px); }
.tst-principles .tst-split__body > .tst-note{ margin-top:40px !important; padding-top:22px; border-top:1px solid #CFCABD; max-width:none; }
.tst-principles .tst-h2{ position:sticky; top:120px; }

/* ---------- contact ---------- */
.tst-contact__grid{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:48px clamp(40px,7vw,112px); align-items:start; }
.tst-contact .tst-h2{ font-size:clamp(2.3rem,4.4vw,3.9rem); max-width:18ch; }
.tst-contact__lead{ margin-top:32px !important; font-weight:600; }
.tst-asklist{ counter-reset:tst-ask; list-style:none; padding:0; margin-top:14px !important; }
.tst-asklist li{ counter-increment:tst-ask; display:flex; gap:18px; padding:14px 0; border-top:1px solid rgba(14,14,12,.22); font-size:1.125rem; }
.tst-asklist li:last-child{ border-bottom:1px solid rgba(14,14,12,.22); }
.tst-asklist li::before{ content:counter(tst-ask,decimal-leading-zero); font-family:var(--tst-serif); font-weight:600; min-width:28px; font-variant-numeric:tabular-nums; }
.tst-contact__close{ margin-top:28px !important; font-family:var(--tst-serif); font-style:italic; font-size:1.25rem; }
.tst-contact__card{ background:var(--tst-paper); padding:clamp(28px,3vw,40px); box-shadow:0 18px 40px -18px rgba(61,46,0,.45); }
.tst-kv{ display:flex; flex-direction:column; padding:14px 0; border-bottom:1px solid var(--tst-line); margin:0; font-size:1.0625rem; overflow-wrap:anywhere; }
.tst-kv:first-child{ padding-top:0; }
.tst-k{ font-size:.8125rem; color:var(--tst-mute); font-weight:500; margin-bottom:2px; }
.tst-kv a{ color:var(--tst-ink); font-weight:600; text-decoration:none; }
.tst-kv a:hover{ text-decoration:underline; text-decoration-color:var(--tst-gold-deep); }
.tst-contact__actions{ margin-top:26px !important; }
.tst-contact__actions .wp-block-button{ flex:1 1 100%; }
.tst-contact__actions .wp-block-button__link{ width:100%; text-align:center; box-sizing:border-box; }

/* ---------- footer ---------- */
.tst-footer{ background:var(--tst-ink); color:#D6D2C8; padding-block:clamp(56px,6vw,88px) 32px; font-size:.9375rem; }
.tst-footer__grid{ display:grid; grid-template-columns:minmax(0,6fr) minmax(0,3fr) minmax(0,4fr); gap:40px clamp(32px,5vw,72px); }
.tst-logo--foot img{ height:72px; }
.tst-footer__legal{ margin-top:20px !important; color:#fff; font-family:var(--tst-serif); font-size:1.125rem; font-weight:600; }
.tst-footer__legal-alt{ margin-top:4px !important; color:var(--tst-mute-dark); font-size:.8125rem; letter-spacing:.04em; }
.tst-footer__motto{ margin-top:16px !important; color:var(--tst-gold); font-family:var(--tst-serif); font-style:italic; }
.tst-footer__h{ color:#fff; font-weight:600; margin:0 0 12px; }
.tst-footer__links{ display:flex; flex-direction:column; gap:8px; margin:0; overflow-wrap:anywhere; }
.tst-footer__links a{ color:#D6D2C8; text-decoration:none; width:fit-content; }
.tst-footer__links a:hover{ color:var(--tst-gold); }
.tst-footer__copy{ grid-column:1/-1; border-top:1px solid var(--tst-ink-line); padding-top:24px; margin-top:24px !important; color:#9C988E; font-size:.8125rem; max-width:none !important; }

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .tst-brand__line{ display:none; }
}
@media (max-width:960px){
  .tst-hero__grid, .tst-head, .tst-split, .tst-invest__grid, .tst-contact__grid{ grid-template-columns:minmax(0,1fr); }
  .tst-hero__img{ max-width:560px; }
  .tst-hero__img img{ aspect-ratio:3/2; }
  .tst-cols3, .tst-steps{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tst-phases-col{ border-left:0; padding-left:0; border-top:1px solid #CFCABD; padding-top:48px; }
  .tst-principles .tst-h2{ position:static; }
  .tst-footer__grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .tst-footer__brand{ grid-column:1/-1; }
  .tst-header .tst-header__cta{ display:none; }
}
@media (max-width:640px){
  body:has(.tst-main){ font-size:1rem; }
  .tst-header__bar{ min-height:64px; gap:12px; }
  .tst-logo img{ height:42px; }
  .tst-brand__name{ font-size:1.0625rem; }
  .tst-cols3, .tst-steps, .tst-svc-grid, .tst-pr-grid, .tst-notes{ grid-template-columns:minmax(0,1fr); }
  .tst-kv{ font-size:.9375rem; }
  .tst-contact__card{ padding:24px 22px; }
  .tst-hero__actions .wp-block-button{ flex:1 1 100%; }
  .tst-hero__actions .wp-block-button__link{ width:100%; text-align:center; box-sizing:border-box; }
  .tst-strip__links{ flex-direction:column; }
  .tst-strip__links a{ border-right:0; padding:0; margin:0; }
  .tst-hero__img::after{ inset:10px -10px -10px 10px; }
  .tst-footer__grid{ grid-template-columns:minmax(0,1fr); }
  .tst-step{ padding-bottom:28px; }
}
@media (prefers-reduced-motion:reduce){
  html:has(.tst-main){ scroll-behavior:auto; }
  .tst-main *, .tst-header *{ transition:none !important; }
}

/* ---------- refinements (deployed in global styles, after base tokens) ---------- */
.tst-about .tst-h2{ font-size:clamp(2rem,3vw,2.6rem); }
.tst-principles .tst-split{ grid-template-columns:minmax(0,4fr) minmax(0,7fr); }
.tst-header .tst-nav .wp-block-navigation__responsive-container.is-menu-open{ background:var(--tst-ink) !important; color:#fff !important; }
.tst-header .tst-nav .is-menu-open .wp-block-navigation-item__content{ color:#fff !important; }
.tst-header .tst-nav .wp-block-navigation__responsive-container-close{ color:#fff !important; }
@media (max-width:960px){ .tst-principles .tst-split{ grid-template-columns:minmax(0,1fr); } }
@media (max-width:640px){ .tst-hero__title{ font-size:2.25rem; } }

/* ---------- finish-review fixes (deployed in global styles) ---------- */
.tst-main .tst-sec--stone .tst-item,.tst-main .tst-svc,.tst-main .tst-principles .tst-split__body>.tst-note{ border-top-color:var(--tst-line) !important; }
.tst-main .tst-phases-col{ border-color:var(--tst-line) !important; }
.tst-main .tst-phase::after{ background:var(--tst-line) !important; }
.tst-sec--stone+.tst-sec:not(.tst-sec--ink):not(.tst-sec--gold),.tst-sec:not(.tst-hero):not(.tst-sec--ink)+.tst-sec--stone{ border-top:1px solid var(--tst-line); }
.tst-main .tst-trade .tst-cols3>.tst-item:first-child{ border-top:1px solid var(--tst-line) !important; padding-top:24px !important; }
.tst-main .tst-contact .tst-contact__card{ box-shadow:none !important; }
.tst-main .tst-sec.tst-hero{ padding-top:clamp(40px,5vw,72px); }
.tst-main .tst-hero .tst-hero__strip{ margin-top:clamp(32px,3.5vw,48px) !important; }
.tst-main .tst-hero .tst-hero__img img{ aspect-ratio:auto !important; height:min(56vh,520px); min-height:320px; }
.page-id-31 .tst-main .tst-hero__title{ font-size:clamp(2.4rem,3.6vw,3.3rem); width:calc(100% + clamp(36px,5vw,80px)); }
@media (max-width:960px){ .page-id-31 .tst-main .tst-hero__title{ width:auto; } .tst-main .tst-hero .tst-hero__img img{ height:auto; min-height:0; aspect-ratio:3/2 !important; } }
@media (max-width:640px){ .page-id-31 .tst-main .tst-hero__title{ font-size:2.25rem; } }

/* ---------- homepage imagery ---------- */
.tst-svc--img .tst-svc__img{ margin:0 0 22px; overflow:hidden; }
.tst-svc--img .tst-svc__img img{ display:block; width:100%; aspect-ratio:16/9; object-fit:cover; transition:transform 1.2s var(--tst-ease); }
.tst-svc--img:hover .tst-svc__img img{ transform:scale(1.03); }
.tst-band{ position:relative; min-height:clamp(380px,48vw,600px); display:grid; overflow:hidden; background:var(--tst-ink); }
.tst-band__img{ grid-area:1/1; margin:0; }
.tst-band__img img{ display:block; width:100%; height:100%; object-fit:cover; filter:saturate(.8) brightness(.62); }
.tst-band__overlay{ grid-area:1/1; position:relative; z-index:1; display:flex; align-items:flex-end; padding-block:clamp(48px,6vw,88px);
  background:linear-gradient(to top, rgba(14,14,12,.78), rgba(14,14,12,0) 70%); }
.tst-band__overlay .tst-wrap{ width:100%; }
.tst-band__quote{ font-family:var(--tst-serif); font-style:italic; font-weight:500; font-size:clamp(2rem,4.4vw,3.8rem); line-height:1.12; color:#fff; max-width:20ch !important; text-wrap:balance; }
.tst-band__note{ margin-top:18px !important; padding-top:16px; border-top:1px solid rgba(255,204,0,.6); color:#E2DFD6; font-size:.9375rem; max-width:none !important; width:fit-content; }
.tst-media{ display:grid; grid-template-columns:minmax(0,6fr) minmax(0,6fr); gap:32px clamp(40px,6vw,96px); align-items:center; margin-bottom:clamp(48px,5vw,80px); }
.tst-media--rev .tst-media__img{ order:-1; }
.tst-media__copy .tst-head__intro{ margin-top:18px !important; }
.tst-media__copy .tst-more-wrap{ margin-top:24px !important; }
.tst-media__img{ margin:0; position:relative; isolation:isolate; }
.tst-media__img img{ display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
.tst-media__img::after{ content:""; position:absolute; inset:14px -14px -14px 14px; border:1px solid var(--tst-gold); z-index:-1; }
.tst-media--rev .tst-media__img::after{ inset:14px 14px -14px -14px; }
.tst-duo{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:clamp(16px,2vw,28px); margin-bottom:clamp(48px,6vw,88px) !important; }
.tst-duo__img{ margin:0; } .tst-duo__img img{ display:block; width:100%; height:clamp(220px,28vw,400px); object-fit:cover; }
.tst-about .tst-more-wrap{ margin-top:28px !important; }

/* ---------- inner pages ---------- */
.tst-pagehero{ background:var(--tst-ink); color:#fff; padding-block:clamp(48px,6vw,96px) clamp(56px,6vw,88px); }
.tst-pagehero__grid{ display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(32px,5vw,80px); align-items:center; }
.tst-pagehero__grid.has-img{ grid-template-columns:minmax(0,7fr) minmax(0,5fr); }
.tst-main .tst-pagehero__title{ font-size:clamp(2.4rem,4.6vw,4.1rem); line-height:1.08; letter-spacing:-.02em; font-weight:600; margin-top:20px !important; max-width:18ch; }
.tst-pagehero .tst-lead{ max-width:52ch !important; }
.tst-pagehero__img{ margin:0; position:relative; isolation:isolate; }
.tst-pagehero__img img{ display:block; width:100%; aspect-ratio:3/2; object-fit:cover; filter:saturate(.85); }
.tst-pagehero__img::after{ content:""; position:absolute; inset:14px -14px -14px 14px; border:1px solid var(--tst-gold); z-index:-1; }
.tst-crumbs{ font-size:.875rem; color:var(--tst-mute-dark); margin:0; max-width:none !important; }
.tst-crumbs a{ color:#D9D5CB; text-decoration:none; } .tst-crumbs a:hover{ color:var(--tst-gold); }
.tst-crumbs__sep{ color:#6E6A60; margin-inline:4px; }
.tst-crumbs [aria-current]{ color:#fff; }
.tst-svcrow{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:clamp(28px,5vw,72px); align-items:center; padding-block:clamp(32px,4vw,56px); border-top:1px solid var(--tst-line); }
.tst-svcrow:first-child{ border-top:0; padding-top:0; }
.tst-svcrow__img{ margin:0; } .tst-svcrow__img img{ display:block; width:100%; aspect-ratio:3/2; object-fit:cover; }
.tst-main .tst-svcrow__title{ font-size:clamp(1.7rem,2.6vw,2.3rem); line-height:1.15; }
.tst-svcrow__text{ margin-top:14px !important; color:var(--tst-mute); font-size:1.125rem; }
.tst-note--rule{ margin-top:clamp(36px,4vw,56px) !important; padding-top:22px; border-top:1px solid var(--tst-line); max-width:none !important; }
.tst-sec--ink .tst-note--rule{ border-top-color:var(--tst-ink-line); }
.tst-sec--ink .tst-item{ border-top-color:var(--tst-ink-line); } .tst-sec--ink .tst-item__text{ color:#D6D2C8; }
.tst-output{ max-width:720px; }
.tst-phases--row{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px clamp(28px,4vw,56px); }
.tst-phases--row .tst-phase{ padding:64px 0 0; border-top:1px solid var(--tst-line); }
.tst-phases--row .tst-phase::before{ top:18px; } .tst-phases--row .tst-phase::after{ display:none; }
.tst-checks{ list-style:none; padding:0; margin:0; }
.tst-checks li{ position:relative; padding:18px 0 18px 40px; border-top:1px solid var(--tst-line); font-size:1.125rem; }
.tst-checks li:last-child{ border-bottom:1px solid var(--tst-line); }
.tst-checks li::before{ content:""; position:absolute; left:4px; top:27px; width:16px; height:8px; border-left:2px solid var(--tst-gold-deep); border-bottom:2px solid var(--tst-gold-deep); transform:rotate(-45deg); }
.tst-cta{ padding-block:clamp(64px,7vw,104px); }
.tst-cta__grid{ display:grid; grid-template-columns:minmax(0,6fr) minmax(0,6fr); gap:32px clamp(40px,6vw,96px); align-items:end; }
.tst-main .tst-cta .tst-h2{ font-size:clamp(2.1rem,3.8vw,3.3rem); }
.tst-cta__text{ font-size:1.125rem; }
.tst-cta__actions{ margin-top:24px !important; }
.tst-region__text{ font-size:1.1875rem; color:#E2DFD6; }
.tst-legal{ margin-top:40px !important; border-top:3px solid var(--tst-gold); padding-top:20px; }
.tst-main .tst-legal__title{ font-size:1.25rem; margin-bottom:8px !important; }
.tst-legal__row{ display:grid; grid-template-columns:minmax(0,4fr) minmax(0,7fr); gap:16px; padding:12px 0; border-bottom:1px solid var(--tst-ink-line); margin:0; max-width:none !important; overflow-wrap:anywhere; }
.tst-legal__row .tst-k{ color:var(--tst-mute-dark); font-size:.9375rem; }
.tst-legal__row a{ color:#fff; }
.tst-map{ border:1px solid var(--tst-line); }
.tst-map iframe{ display:block; width:100%; height:440px; border:0; filter:grayscale(.85) contrast(1.05); }
.tst-header .tst-nav .wp-block-navigation__submenu-container{ background:var(--tst-ink) !important; color:#fff !important; border:1px solid var(--tst-ink-line) !important; padding:10px 0 !important; min-width:300px !important; }
.tst-header .tst-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content{ padding:10px 20px !important; background-image:none !important; }
.tst-header .tst-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{ color:var(--tst-gold) !important; }
.tst-header .tst-nav .wp-block-navigation__submenu-icon{ color:#E9E6DD; }
.tst-header .tst-nav .is-menu-open .wp-block-navigation__submenu-container{ border:0 !important; padding:8px 0 0 16px !important; font-size:1.25rem; }

/* ---------- blog ---------- */
.tst-posts .wp-block-post-template{ list-style:none; padding:0; margin:0; }
.tst-posts .wp-block-post{ display:grid; grid-template-columns:minmax(0,3fr) minmax(0,9fr); gap:12px clamp(24px,4vw,64px); padding-block:32px; border-top:1px solid var(--tst-line); margin:0 !important; }
.tst-posts .wp-block-post:last-child{ border-bottom:1px solid var(--tst-line); }
.tst-posts .wp-block-post-date{ font-size:.9375rem; color:var(--tst-mute); font-variant-numeric:tabular-nums; }
.tst-main .tst-posts .wp-block-post-title{ font-family:var(--tst-serif); font-size:clamp(1.4rem,2vw,1.75rem); line-height:1.25; font-weight:600; margin:0; }
.tst-posts .wp-block-post-title a{ color:var(--tst-ink); text-decoration:none; }
.tst-posts .wp-block-post-title a:hover{ text-decoration:underline; text-decoration-color:var(--tst-gold); }
.tst-posts .wp-block-post-excerpt{ margin-top:10px !important; color:var(--tst-mute); }
.tst-posts .wp-block-post-excerpt__more-text{ margin-top:12px !important; }
.tst-posts .wp-block-post-excerpt__more-link{ font-weight:600; color:var(--tst-ink); border-bottom:1.5px solid var(--tst-gold); text-decoration:none; }
.tst-posts .wp-block-query-pagination{ margin-top:40px !important; gap:16px; }
.tst-posts .wp-block-query-pagination a{ color:var(--tst-ink); font-weight:600; }
.tst-posts .wp-block-query-no-results p{ color:var(--tst-mute); font-size:1.125rem; padding-block:24px; }
.tst-article{ max-width:760px; margin-inline:auto; }
.tst-article__meta{ color:var(--tst-mute-dark); font-size:.9375rem; margin-top:18px !important; }
.tst-prose{ font-size:1.125rem; line-height:1.75; }
.tst-main .tst-prose > * + *{ margin-top:1.15em !important; }
.tst-main .tst-prose > h2, .tst-main .tst-prose > h3{ margin-top:1.8em !important; }
.tst-main .tst-prose h2{ font-size:clamp(1.6rem,2.4vw,2rem); line-height:1.2; font-weight:600; }
.tst-main .tst-prose h3{ font-size:1.375rem; }
.tst-prose a{ color:var(--tst-ink); text-decoration:underline; text-decoration-color:var(--tst-gold-deep); }
.tst-prose ul, .tst-prose ol{ padding-left:1.3em; } .tst-prose li + li{ margin-top:.4em; }
.tst-prose blockquote{ margin-inline:0; padding:20px 0 0; border-top:3px solid var(--tst-gold); font-family:var(--tst-serif); font-size:1.375rem; line-height:1.45; }
.tst-prose img{ max-width:100%; height:auto; }
.tst-article .wp-block-post-featured-image{ margin:0 0 40px !important; } .tst-article .wp-block-post-featured-image img{ width:100%; aspect-ratio:16/9; object-fit:cover; }

@media (max-width:960px){
  .tst-pagehero__grid.has-img, .tst-svcrow, .tst-cta__grid, .tst-phases--row, .tst-media{ grid-template-columns:minmax(0,1fr); }
  .tst-media--rev .tst-media__img{ order:0; }
  .tst-pagehero__img{ max-width:560px; }
  .tst-posts .wp-block-post{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:640px){
  .tst-duo{ grid-template-columns:minmax(0,1fr); }
  .tst-legal__row{ grid-template-columns:minmax(0,1fr); gap:2px; }
  .tst-map iframe{ height:320px; }
  .tst-pagehero__img::after, .tst-media__img::after{ inset:10px -10px -10px 10px; }
}