/* REVIEW DRAFT: archived TSC custom CSS scoped to the front page.
   CSS capture: 2025-10-27. Static appearance only; animations omitted.
   NOT validated in a running WordPress installation. */
body.home.page-id-392 img.related-img {
  width: calc(100% - 10px) !important;
  border: 5px solid white;
}

@media (max-width: 980px) {
body.home.page-id-392 h1.top {
  font-size: 1em !important;
  font-weight: 400 !important;
}

body.home.page-id-392 .logo {
  padding: 0 !important;
}

body.home.page-id-392 .site-description {
  padding: 0 !important;
}

body.home.page-id-392 .tg-container {
  padding: 0 !important;
  width: 100% !important;
}

body.home.page-id-392 #site-navigation .menu-toggle {
  padding-right: 20px;
}

body.home.page-id-392 .entry-content h2 {
  font-size: 2.5rem !important;
  text-align: center !important;
  padding: 10% 10% 0;
}
}

@media (max-width: 767px) {
body.home.page-id-392 .wp-block-columns {
  margin-bottom: 0px !important;
}

body.home.page-id-392 span.smaller {
  font-size: 18px !important;
}
}

body.home.page-id-392 .passing .passing-box {
  display: block;
  text-align: left;
}

body.home.page-id-392 .passing .passing-bar {
  position: relative;
  display: inline-block;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

body.home.page-id-392 .passing .passing-bar:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background: #fff;
}

body.home.page-id-392 .passing .passing-txt {
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  font-size: 8.0rem;
  font-weight: 500;
  line-height: 1.05;
}

body.home.page-id-392 .passing.move .passing-txt {
  color: white;
}

body.home.page-id-392 div.main-wrap {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

body.home.page-id-392 div.main-wrap img.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

body.home.page-id-392 div.text-wrap {
  position: absolute;
  top: 20vh;
  left: 20vw;
  z-index: 5;
}

body.home.page-id-392 div.text-wrap2 {
  position: absolute;
  top: 75vh;
  left: 20vw;
  z-index: 5;
}

body.home.page-id-392 div.text-wrap2 .passing .passing-txt {
  font-size: 3.5rem;
  font-weight: 400;
}

body.home.page-id-392 img.tsc {
  position: absolute;
  top: 10vh;
  left: 5vw;
  z-index: 3;
  width: 30vw;
  opacity: 0.1;
}

body.home.page-id-392 .vertical {
  writing-mode: vertical-rl;
}

body.home.page-id-392 .pos-v {
  position: absolute;
  top: 5vh;
  right: 5vw;
  color: white;
  font-size: 3.5rem;
  z-index: 5;
}

@media (max-width: 767px) {
body.home.page-id-392 div.main-wrap {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
}

body.home.page-id-392 div.main-wrap img.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  object-fit: cover;
  z-index: 1;
}

body.home.page-id-392 .passing .passing-txt {
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.05;
}

body.home.page-id-392 div.text-wrap {
  position: absolute;
  top: 15vh;
  left: 15vw;
  z-index: 5;
}

body.home.page-id-392 div.text-wrap2 {
  position: absolute;
  top: 55vh;
  left: 15vw;
  z-index: 5;
}

body.home.page-id-392 div.text-wrap2 .passing .passing-txt {
  font-size: 2rem;
  font-weight: 400;
}

body.home.page-id-392 img.tsc {
  position: absolute;
  top: 10vh;
  left: 5vw;
  z-index: 3;
  width: 30vw;
  opacity: 0.1;
}

body.home.page-id-392 .pos-v {
  display: none;
}
}

body.home.page-id-392 {
  font-family: serif !important;
}

body.home.page-id-392 .pos-relative {
  position: relative;
}

@media (max-width: 980px) {
body.home.page-id-392 h2 {
  font-size: 3.5rem !important;
}

body.home.page-id-392 p {
  font-size: 1.5rem !important;
}

body.home.page-id-392 article p {
  padding: 0 2rem !important;
}

body.home.page-id-392 main p {
  padding: 0 2rem !important;
}
}

body.home.page-id-392 div.entry-content {
  margin-top: 0 !important;
}

body.home.page-id-392 .top-about-inner {
  width: 1000px;
  margin: 0 auto;
}

body.home.page-id-392 div.widthMax-top-about {
  position: relative;
  margin: 0 calc(50% - 50vw);
  background-color: #666 !important;
  color: white;
}

body.home.page-id-392 div.top-about-inner {
  width: 1000px;
  margin: 0 auto;
}

body.home.page-id-392 div.top-about-text {
  font-size: 8rem;
  color: rgba(255,255,255,0.1);
  font-weight: 700;
  position: absolute;
  top: -50px;
  right: 0;
}

@media (max-width: 980px) {
body.home.page-id-392 div.widthMax-top-about {
  position: relative;
  margin: 0 0%;
  background-color: #666 !important;
  color: white;
}

body.home.page-id-392 div.top-about-inner {
  width: 100%;
  margin: 0 0;
}

body.home.page-id-392 div.top-about-inner h2 {
  text-align: center;
}

body.home.page-id-392 div.top-about-text {
  font-size: 6rem;
  color: rgba(255,255,255,0.1);
  font-weight: 700;
  position: absolute;
  top: -20px;
  right: 5px;
}
}

body.home.page-id-392 a.link-anim img {
  transition: all 0.3s;
}

body.home.page-id-392 a.link-anim:hover img {
  opacity: 0.5;
  transform: scale(1.03);
  transition: all 0.3s;
}

body.home.page-id-392 .wp-block-latest-posts.wp-block-latest-posts__list li a {
  font-weight: 700;
  color: #30afb8;
}

body.home.page-id-392 .wp-block-latest-posts.wp-block-latest-posts__list li>a {
  font-size: 2rem;
}

body.home.page-id-392 .widthMax {
  margin: 0 calc(50% - 50vw);
  background-color: #eee !important;
  position: relative;
}

@media (max-width: 767px) {
body.home.page-id-392 .widthMax {
  margin: 0 0;
}

body.home.page-id-392 .widthMax img {
  object-fit: cover;
}
}

body.home.page-id-392 .pc-only {
  display: block;
}

@media (max-width: 980px) {
body.home.page-id-392 .pc-only {
  display: none;
}
}

body.home.page-id-392 div.business-wrap {
  position: relative;
}

body.home.page-id-392 div.business-text {
  position: absolute;
  bottom: 20px;
  left: 10%;
  width: 80%;
  height: 40%;
  background-color: rgba(255,255,255,0.9);
  color: black;
  font-weight: 700;
  font-size: 3rem;
  text-align: center;
  padding-top: 4%;
}

body.home.page-id-392 div.business-text p {
  font-size: 1.5rem;
  line-height: 2em;
}

@media (max-width: 767px) {
body.home.page-id-392 div.business-text {
  position: absolute;
  bottom: 20px;
  left: 10%;
  width: 80%;
  height: 100px;
  background-color: rgba(255,255,255,0.9);
  color: black;
  font-weight: 600;
  font-size: 2rem !important;
  text-align: center;
  padding-top: 6%;
}

body.home.page-id-392 div.business-text p {
  font-size: 1.2rem !important;
  line-height: 1.5em;
}
}

body.home.page-id-392 div.widthMax-action {
  margin: 0 calc(50% - 50vw);
  background-color: navy;
  color: white;
}

@media (max-width: 980px) {
body.home.page-id-392 div.widthMax-action {
  margin: 0 0;
  padding-bottom: 20px;
  background-color: navy;
  color: white;
}

body.home.page-id-392 p.action-inner-desc {
  font-size: 1.2rem !important;
}
}

body.home.page-id-392 div.related-inner {
  width: 1200px;
  margin: 0 auto;
  color: #666;
}

body.home.page-id-392 div.related-text {
  position: absolute;
  top: 120px;
  left: 15%;
  width: 70%;
  height: 40%;
  display: grid;
  place-items: center;
  background-color: rgba(255,255,255,0.9);
  color: #333;
  font-weight: 700;
  font-size: 1.5rem;
}

@media (max-width: 767px) {
body.home.page-id-392 div.related-inner {
  width: 100%;
  margin: 0 0;
  color: #666;
}

body.home.page-id-392 div.related-inner h3 {
  text-align: center;
  --primary-color: #21858c;
}

body.home.page-id-392 div.related-inner img {
  padding: 10%;
  border: none;
}

body.home.page-id-392 div.related-text {
  position: absolute;
  top: 100px;
  left: 15%;
  width: 70%;
  height: 35%;
  background-color: rgba(255,255,255,0.9);
  color: #333;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  padding: 6%;
}
}

body.home.page-id-392 div.info-wrap {
  width: 60%;
  margin: 0 auto;
  border: 2px solid rgb(0,0,150);
  background-color: white;
  color: rgb(0,0,150);
  font-size: 1.5rem;
  padding: 2em;
  font-weight: 700;
  text-align: center;
}

body.home.page-id-392 div.info-wrap span {
  font-weight: 800;
  font-size: 4.5rem;
}

@media (max-width: 980px) {
body.home.page-id-392 div.info-wrap {
  width: 91%;
  margin: 0 auto;
  border: 2px solid rgb(0,0,150);
  background-color: white;
  color: rgb(0,0,150);
  font-size: 1.5rem;
  padding: 4%;
  font-weight: 700;
  text-align: center;
}

body.home.page-id-392 div.info-wrap span {
  --brightness: 80%;
  font-weight: 800;
  font-size: 3.5rem;
}
}

body.home.page-id-392 .custom-latest-posts {
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
  margin-bottom: 30px;
}

body.home.page-id-392 .custom-latest-posts li {
  list-style: none;
  overflow: hidden;
}

body.home.page-id-392 .custom-latest-posts a {
  display: grid;
  grid-template-rows: repeat(2, auto);
}

body.home.page-id-392 .custom-latest-posts img {
  grid-area: 1 / 1 / 3 / 2;
}

body.home.page-id-392 .custom-latest-posts .caption {
  padding: 10px;
  grid-area: 2 / 1 / 3 / 2;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

body.home.page-id-392 .custom-latest-posts .caption * {
  color: #fff;
}

body.home.page-id-392 .custom-latest-posts .caption h5 {
  margin-bottom: 10px;
}

body.home.page-id-392 .custom-latest-posts .caption .date,
body.home.page-id-392 .custom-latest-posts .caption .tags {
  font-size: 12px;
}

body.home.page-id-392 .custom-latest-posts .caption .tags {
  margin-top: 6px;
}

body.home.page-id-392 .custom-latest-posts .caption i {
  margin-right: 4px;
}

body.home.page-id-392 .custom-latest-posts a img {
  padding: 0;
  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
body.home.page-id-392 .custom-latest-posts a img {
  transition: all 300ms;
}

body.home.page-id-392 .custom-latest-posts a:hover img {
  opacity: 0.5;
  transform: scale(1.03);
}
}

/* The formerly JS-triggered fade-in must never hide content if JS is absent. */
body.home.page-id-392 .passing .passing-txt { opacity: 1; color: white; }
body.home.page-id-392 .passing .passing-bar::before { display: none; }
body.home.page-id-392 .animation { opacity: 1; visibility: visible; transform: none; }
body.home.page-id-392 .main-wrap img.bg { max-width: none; }

/* Mobile safety / responsive adjustments for Flash 1.5.x (visual inspection required). */
body.home.page-id-392 .main-wrap { width: 100%; }
body.home.page-id-392 .main-wrap img.bg { object-fit: cover; }
body.home.page-id-392 .main-wrap .text-wrap,
body.home.page-id-392 .main-wrap .text-wrap2 { max-width: 78vw; }
body.home.page-id-392 .main-wrap .passing-txt { overflow-wrap: normal; }
body.home.page-id-392 .top-about-inner,
body.home.page-id-392 .works-inner,
body.home.page-id-392 .related-inner,
body.home.page-id-392 .action-inner { max-width: 100%; }
@media (max-width: 767px) {
 body.home.page-id-392 .main-wrap .passing-txt { font-size: clamp(2.5rem, 11vw, 4.5rem); }
 body.home.page-id-392 .main-wrap .text-wrap2 .passing-txt { font-size: clamp(1.6rem, 5vw, 2rem); }
 body.home.page-id-392 .main-wrap .text-wrap2 { top: 57vh; }
 body.home.page-id-392 .main-wrap .tsc-hero-tagline { padding: 0; font-size: 1.2rem; color: #fff; }
}
body.home.page-id-392 .main-wrap .tsc-hero-tagline {
 margin-top: 0.3em; padding: 0; color: white;
 text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

/* 0.1.1 visual refinements, test environment review only. */
@media (min-width: 768px) {
  body.home.page-id-392 .main-wrap .text-wrap .passing-txt {
    font-size: 7.6rem;
  }
  body.home.page-id-392 .main-wrap .tsc-hero-tagline {
    font-size: 1.8rem;
    line-height: 1.4;
  }
}


/* 0.1.2-review: restore verified Flash 1.4.12 hero animation values.
   Front page only. See old style.css lines 120-317. */
@keyframes tsc-hero-bg-enter {
  0%   { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes tsc-hero-logo-settle {
  0%, 50% { opacity: 1; }
  100%    { opacity: 0.1; }
}
@keyframes tsc-hero-passing-bar {
  0%   { left: 0; width: 0; }
  50%  { left: 0; width: 100%; }
  51%  { left: 0; width: 100%; }
  100% { left: 100%; width: 0; }
}
@keyframes tsc-hero-passing-text {
  0%, 50% { opacity: 0; }
  100%    { opacity: 1; }
}
@keyframes tsc-hero-caption-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes tsc-scroll-fade-in-down {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.home.page-id-392 .main-wrap img.bg {
  animation: tsc-hero-bg-enter 2.8s ease 0s 1 both;
}
body.home.page-id-392 .main-wrap img.tsc {
  animation: tsc-hero-logo-settle 3s ease 0s 1 both;
}
body.home.page-id-392 .main-wrap .passing.move .passing-bar::before {
  display: inline-block;
  animation: tsc-hero-passing-bar 1s ease 2s 1 normal forwards;
}
body.home.page-id-392 .main-wrap .passing.move .passing-txt {
  opacity: 0;
  color: #fff;
  animation: tsc-hero-passing-text 0s ease 2.5s 1 normal forwards;
}
body.home.page-id-392 .main-wrap .tsc-hero-tagline {
  opacity: 0;
  animation: tsc-hero-caption-enter .2s ease 2.5s 1 both;
}
@media (min-width: 768px) {
  body.home.page-id-392 .main-wrap .text-wrap .passing-txt {
    font-size: 8rem; /* old Flash 1.4.12 value, not 7.6rem */
  }
}
/* Scroll reveal only activates if our JS has registered each element.
   Without JS all sections remain visible, unlike the legacy inline script. */
body.home.page-id-392 .animation.tsc-scroll-pending {
  opacity: 0;
  visibility: hidden;
}
body.home.page-id-392 .animation.tsc-scroll-pending.tsc-in-view {
  visibility: visible;
  animation: tsc-scroll-fade-in-down 1s ease both;
}
/* 0.1.3: Guard the reduced-motion fallback against an inconsistent
   CSS media-query state. A short head script adds html.tsc-motion-ok only
   when matchMedia reports that the visitor does NOT request reduced motion.
   Accessibility preference is preserved when reduced motion is requested. */
@media (prefers-reduced-motion: reduce) {
  html:not(.tsc-motion-ok) body.home.page-id-392 .main-wrap img.bg,
  html:not(.tsc-motion-ok) body.home.page-id-392 .main-wrap img.tsc,
  html:not(.tsc-motion-ok) body.home.page-id-392 .main-wrap .passing.move .passing-bar::before,
  html:not(.tsc-motion-ok) body.home.page-id-392 .main-wrap .passing.move .passing-txt,
  html:not(.tsc-motion-ok) body.home.page-id-392 .main-wrap .tsc-hero-tagline,
  html:not(.tsc-motion-ok) body.home.page-id-392 .animation.tsc-scroll-pending.tsc-in-view {
    animation: none !important;
  }
  html:not(.tsc-motion-ok) body.home.page-id-392 .main-wrap .passing.move .passing-txt,
  html:not(.tsc-motion-ok) body.home.page-id-392 .main-wrap .tsc-hero-tagline,
  html:not(.tsc-motion-ok) body.home.page-id-392 .animation.tsc-scroll-pending {
    opacity: 1 !important;
    visibility: visible !important;
  }
  html:not(.tsc-motion-ok) body.home.page-id-392 .main-wrap img.tsc { opacity: .1 !important; }
  html:not(.tsc-motion-ok) body.home.page-id-392 .main-wrap .passing.move .passing-bar::before {
    display: none !important;
  }
}

/* Restore the verified historical 90% translucent header on the home page. */
body.home.page-id-392 #masthead .header-bottom { background-color: rgba(255,255,255,.9); }

/* TSC production fix 0.1.5: the legacy main visual is output by the Flash
   header globally. It should NOT appear above the products archive. */
body.post-type-archive-products .main-wrap {
  display: none !important;
}

/* 0.1.6-production-fix: actual live production markup is
   <div id="wp-custom-header"><img src=".../2026/11/bg2.jpg"></div>
   (confirmed 2026-11-09 via read-only DOM inspection).
   Do not inject the archived img.bg: render only text/ornament overlay. */
body.home.page-id-392 #wp-custom-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
body.home.page-id-392 #wp-custom-header > img {
  display: block;
  width: 100%;
  height: auto;
  animation: tsc-hero-bg-enter 2.8s ease 0s 1 both;
  transform-origin: center center;
}
body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only.main-wrap,
body.home.page-id-392 #wp-custom-header div.tsc-hero-overlay-only.main-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
  z-index: 3;
  pointer-events: none;
}
body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .text-wrap {
  top: 20%;
  left: 20%;
}
body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .text-wrap2 {
  top: 75%;
  left: 20%;
}
body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .pos-v {
  top: 5%;
  right: 5%;
}
body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only img.tsc {
  top: 10%;
  left: 5%;
}
/* On products archive and single product pages, only the global custom-header
   photo is hidden. The menu, breadcrumbs and product recovery layout remain. */
body.post-type-archive-products #wp-custom-header,
body.single-products #wp-custom-header {
  display: none !important;
}
@media (max-width: 767px) {
  body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .text-wrap {
    top: 15%; left: 12%; max-width: 85%;
  }
  body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .text-wrap2 {
    top: 67%; left: 12%; max-width: 85%;
  }
  body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .passing-txt {
    font-size: clamp(1.5rem, 7vw, 3.8rem);
  }
  body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .text-wrap2 .passing-txt {
    font-size: clamp(1rem, 4vw, 2rem);
  }
  body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .tsc-hero-tagline {
    font-size: clamp(.8rem, 3vw, 1.2rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home.page-id-392 #wp-custom-header > img { animation: none !important; }
  body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .passing-txt,
  body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .tsc-hero-tagline {
    animation: none !important; opacity: 1 !important; visibility: visible !important;
  }
  body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .passing-bar::before {
    animation: none !important; display: none !important;
  }
  body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only img.tsc {
    animation: none !important; opacity: .1 !important;
  }
}


/* 0.1.7: fix uneven first-character alignment of the two vertical lines.
   Lay them out as independent columns; first DOM column is on the right. */
body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .pos-v {
  writing-mode: horizontal-tb;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: .35em;
  white-space: nowrap;
  line-height: 1.15;
}
body.home.page-id-392 #wp-custom-header .tsc-hero-overlay-only .pos-v .tsc-hero-vline {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin: 0;
  padding: 0;
}
