/* V16 / company-profile — semantic, paired service and project flipbook.
   Interactive pages are DOM text, searchable, accessible and linkable.
   Original 116 JPG pages and original PDF remain untouched. */
.tyz-profile-root .profile-flipbook .flip-leaf.tyz-story-editorial {
  background:#f9f3e9;
}
.tyz-profile-root .profile-flipbook .flip-leaf.tyz-story-editorial .tyz-story-leaf-inner{
  background:#f5eddf!important;
  display:block;
  overflow:hidden;
  isolation:isolate;
}
.tyz-profile-root .profile-flipbook .flip-leaf-inner .tyz-story-paper{
  position:absolute;
  inset:0;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:space-between;
  padding:clamp(20px,2.6vw,34px);
  text-align:start;
  overflow:hidden;
  gap:10px;
  background:
    radial-gradient(ellipse 70% 70% at 90% 9%,rgba(224,173,108,.14),transparent 80%),
    linear-gradient(125deg,#fefaf2,#f0e5d5);
  color:#18364f;
  font-family:Cairo,Tahoma,Arial,sans-serif;
}
.tyz-profile-root .profile-flipbook .flip-leaf-inner .tyz-story-paper::before{
  content:"";
  display:block;
  position:absolute;
  top:0;bottom:0;right:0;
  width:6px;
  background:linear-gradient(180deg,#eac48b,#bd8751);
}
.tyz-profile-root .profile-flipbook .flip-leaf-inner .tyz-story-paper--service{
  color:#f2f7fb;
  background:
    radial-gradient(ellipse 50% 80% at 90% 8%,rgba(224,177,104,.14),transparent 80%),
    linear-gradient(145deg,#1c3d58,#0c253d 78%);
}
.tyz-profile-root .tyz-story-kicker{
  display:block;
  color:#99703f;
  font-size:clamp(9px,.85vw,12px);
  font-weight:900;
  letter-spacing:.15px;
}
.tyz-profile-root .tyz-story-paper--service .tyz-story-kicker{color:#f0c991}
.tyz-profile-root .tyz-story-page-title{
  display:block;
  font-size:clamp(19px,2vw,29px);
  line-height:1.55;
  font-weight:900;
  overflow-wrap:anywhere;
  margin:4px 0 0;
  text-wrap:balance;
  color:#16314a;
}
.tyz-profile-root .tyz-story-paper--service .tyz-story-page-title{color:#ffe1b1}
.tyz-profile-root .tyz-story-line{
  display:block;
  width:77px;
  height:3px;
  border-radius:6px;
  background:linear-gradient(90deg,#c08d56,#f0d4a3);
}
.tyz-profile-root .tyz-story-desc{
  color:#39586a;
  font-size:clamp(11px,1.05vw,14px);
  font-weight:600;
  line-height:1.9;
  margin:2px 0;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
}
.tyz-profile-root .tyz-story-paper--service .tyz-story-desc{color:#dae8f2}
.tyz-profile-root .tyz-story-bullets{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:4px;
}
.tyz-profile-root .tyz-story-bullets li{
  position:relative;
  color:#dfebf4;
  font-size:clamp(10px,.85vw,12px);
  line-height:1.7;
  padding-inline-start:15px;
}
.tyz-profile-root .tyz-story-bullets li::before{
  content:"";
  position:absolute;inset-inline-start:0;top:9px;
  width:6px;height:6px;border-radius:50%;background:#edc388;
}
.tyz-profile-root .tyz-story-page-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:9px;
  margin-top:auto;
}
.tyz-profile-root .tyz-story-page-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:37px;
  padding:8px 15px;
  background:linear-gradient(120deg,#f8d69e,#d9a464);
  color:#112c42!important;
  font-size:clamp(10px,.9vw,12px);
  font-weight:900;
  border-radius:10px;
  text-decoration:none;
  border:1px solid rgba(232,187,118,.75);
  box-shadow:0 7px 16px rgba(7,20,34,.11);
  transition:transform .2s,filter .2s;
}
.tyz-profile-root .tyz-story-page-cta:hover{transform:translateY(-2px);filter:brightness(1.07)}
.tyz-profile-root .tyz-story-page-cta:focus-visible{outline:3px solid #f4c383;outline-offset:3px}
.tyz-profile-root .tyz-story-work-note{
  color:#62798c;
  font-size:clamp(9px,.8vw,11px);
  line-height:1.6;
  font-weight:700;
}
.tyz-profile-root .tyz-story-paper--service .tyz-story-work-note{color:#bed0e0}
.tyz-profile-root .tyz-story-number{
  position:absolute;
  left:18px;
  bottom:9px;
  color:#7e91a0;
  opacity:.8;
  font:800 10px/1.2 Arial,sans-serif;
}
.tyz-profile-root .tyz-story-photo-caption{
  position:absolute;
  bottom:5%;
  right:5%;
  z-index:6;
  border:1px solid rgba(234,201,158,.5);
  background:rgba(6,25,42,.81);
  padding:5px 10px;
  border-radius:8px;
  color:#f9e0b8;
  font:800 clamp(9px,.8vw,12px)/1.7 Cairo,Tahoma,Arial,sans-serif;
  max-width:67%;
  text-align:right;
  pointer-events:none;
}
/* Compact context remains readable on portrait mobile where physical pages shrink. */
.tyz-profile-root .tyz-story-context{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  margin:13px 0 0;
  padding:14px 19px;
  background:linear-gradient(120deg,#193b57,#0f2a45);
  border:1px solid rgba(236,190,125,.38);
  border-radius:15px;
}
.tyz-profile-root .tyz-story-context[hidden]{display:none}
.tyz-profile-root .tyz-story-context-title{
  color:#f8d7a8;
  font-size:15px;
  font-weight:900;
  margin:0 0 5px;
}
.tyz-profile-root .tyz-story-context-desc{
  color:#dae6ef;
  font-size:12px;
  line-height:1.85;
  margin:0;
  max-width:760px;
}
.tyz-profile-root .tyz-story-context-cta{
  flex:0 0 auto;
  display:inline-flex;
  padding:10px 16px;
  border:1px solid #e8c28a;
  border-radius:10px;
  text-decoration:none;
  color:#163149!important;
  background:linear-gradient(120deg,#ffe1b0,#d9ab76);
  font-size:12px;
  font-weight:900;
}
.tyz-profile-root .tyz-story-mode-action{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:10px 0 15px;
}
.tyz-profile-root .tyz-story-mode-action a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  gap:8px;
  padding:8px 16px;
  border:1px solid rgba(240,203,150,.45);
  border-radius:11px;
  text-decoration:none;
  color:#f9d7a3;
  font-size:12px;
  font-weight:850;
  background:rgba(233,183,111,.1);
}
.tyz-profile-root .tyz-story-mode-action a:hover{
  background:rgba(233,183,111,.2);
  border-color:rgba(255,226,177,.75);
}
/* SEO-readable, directly navigable service descriptions. */
.tyz-profile-root .tyz-story-guide{
  padding:48px 0 55px;
  background:radial-gradient(ellipse 60% 50% at 5% 12%,rgba(223,174,115,.09),transparent 77%),#0c2741;
  border-top:1px solid rgba(236,189,126,.23);
}
.tyz-profile-root .tyz-story-guide-header{
  text-align:center;
  margin:0 auto 29px;
  max-width:850px;
}
.tyz-profile-root .tyz-story-guide-kicker{
  color:#edc28b;
  font-size:12px;
  font-weight:850;
}
.tyz-profile-root .tyz-story-guide-header h2{
  color:#f9e0b5;
  font-size:clamp(25px,2.8vw,36px);
  line-height:1.7;
  margin:9px 0 7px;
  font-weight:900;
}
.tyz-profile-root .tyz-story-guide-header p{
  color:#d9e7f2;
  line-height:2;
  font-size:13px;
  margin:0 auto;
}
.tyz-profile-root .tyz-story-guide-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}
.tyz-profile-root .tyz-story-guide-item{
  min-width:0;
  align-self:start;
  background:linear-gradient(140deg,#193a56,#122f49);
  border:1px solid rgba(237,198,145,.34);
  border-radius:17px;
  overflow:hidden;
}
.tyz-profile-root .tyz-story-guide-item[open]{
  border-color:rgba(248,211,161,.68);
  box-shadow:0 15px 30px rgba(0,12,28,.14);
}
.tyz-profile-root .tyz-story-guide-item summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:17px 19px;
  cursor:pointer;
  list-style:none;
  color:#f9daae;
  font-size:15px;
  font-weight:900;
  line-height:1.6;
}
.tyz-profile-root .tyz-story-guide-item summary::-webkit-details-marker{display:none}
.tyz-profile-root .tyz-story-guide-plus{
  flex:0 0 30px;
  display:grid;
  place-items:center;
  width:30px;height:30px;
  border-radius:9px;
  border:1px solid rgba(246,211,159,.45);
  background:rgba(240,196,134,.14);
}
.tyz-profile-root .tyz-story-guide-plus::before{content:"+";font-size:22px;color:#f6d9ab;line-height:1}
.tyz-profile-root .tyz-story-guide-item[open] .tyz-story-guide-plus::before{content:"−"}
.tyz-profile-root .tyz-story-guide-content{
  padding:2px 20px 20px;
  border-top:1px solid rgba(236,191,130,.16);
}
.tyz-profile-root .tyz-story-guide-content>p{
  font-size:12.6px;
  color:#dae8f2;
  line-height:2;
}
.tyz-profile-root .tyz-story-point-list{
  padding-inline-start:21px;
  color:#edc78f;
  font-size:12px;
  line-height:2;
  margin:10px 0 16px;
}
.tyz-profile-root .tyz-story-guide-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:13px 0 20px;
}
.tyz-profile-root .tyz-story-guide-actions a{
  display:inline-flex;
  min-height:37px;
  padding:9px 13px;
  border-radius:10px;
  text-decoration:none;
  font-size:11px;
  font-weight:850;
  border:1px solid rgba(239,199,142,.45);
  color:#f6d4a4;
  align-items:center;
}
.tyz-profile-root .tyz-story-guide-actions .tyz-story-guide-contact{
  background:linear-gradient(120deg,#f8daa9,#dca96e);
  border-color:#f6d4a3;
  color:#17314a;
}
.tyz-profile-root .tyz-story-guide-content h3{
  color:#f9dcaa;
  font-size:15px;
  margin:16px 0 9px;
}
.tyz-profile-root .tyz-story-project-list{
  list-style:none;
  padding:0;
  margin:0;
  max-height:380px;
  overflow-y:auto;
  display:grid;
  gap:7px;
}
.tyz-profile-root .tyz-story-project-list a{
  display:grid;
  grid-template-columns:1fr auto;
  gap:4px 10px;
  align-items:start;
  border:1px solid rgba(230,190,134,.17);
  background:rgba(4,21,35,.22);
  border-radius:9px;
  padding:9px 11px;
  color:#f4d8ad;
  text-decoration:none;
}
.tyz-profile-root .tyz-story-project-list a span{font-size:12px;font-weight:850}
.tyz-profile-root .tyz-story-project-list a small{
  display:block;
  color:#d4e2ed;
  font-size:11px;
  line-height:1.7;
  grid-column:1;
}
.tyz-profile-root .tyz-story-project-list a i{
  grid-column:2;
  grid-row:1/3;
  color:#f1cb91;
  font-style:normal;
}
.tyz-profile-root .tyz-story-project-list a:hover,.tyz-profile-root .tyz-story-project-list a:focus-visible{
  background:rgba(239,196,133,.1);
  border-color:#ecc38c;
}
@media(max-width:850px){
  .tyz-profile-root .tyz-story-guide-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .tyz-profile-root .tyz-story-guide{padding:36px 0 45px}
  .tyz-profile-root .tyz-story-guide-header{margin-bottom:19px}
  .tyz-profile-root .tyz-story-guide-header h2{font-size:23px}
  .tyz-profile-root .tyz-story-guide-header p{font-size:12px}
  .tyz-profile-root .tyz-story-context{gap:10px;padding:12px 14px}
  .tyz-profile-root .tyz-story-context-desc{font-size:12px}
  .tyz-profile-root .profile-flipbook .flip-leaf-inner .tyz-story-paper{
    padding:13px 12px 11px;gap:3px;
  }
  .tyz-profile-root .tyz-story-kicker{font-size:7.5px;line-height:1.2}
  .tyz-profile-root .tyz-story-page-title{
    font-size:clamp(12px,3.6vw,16px);
    line-height:1.4;margin:2px 0;
  }
  .tyz-profile-root .tyz-story-line{height:2px;width:37px}
  .tyz-profile-root .tyz-story-desc{
    font-size:clamp(7.5px,2vw,9.5px);
    line-height:1.5;-webkit-line-clamp:3;
  }
  .tyz-profile-root .tyz-story-bullets{display:none}
  .tyz-profile-root .tyz-story-page-actions{gap:4px}
  .tyz-profile-root .tyz-story-page-cta{
    min-height:26px;padding:5px 8px;
    font-size:8px;border-radius:7px;
  }
  .tyz-profile-root .tyz-story-work-note{display:none}
  .tyz-profile-root .tyz-story-number{font-size:7px;bottom:5px}
  .tyz-profile-root .tyz-story-photo-caption{padding:4px 6px;font-size:8px}
  .tyz-profile-root .tyz-story-guide-content{padding:0 14px 16px}
  .tyz-profile-root .tyz-story-guide-item summary{padding:14px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){
  .tyz-profile-root .tyz-story-page-cta,
  .tyz-profile-root .tyz-story-guide-item,
  .tyz-profile-root .tyz-story-guide-actions a{transition:none!important;animation:none!important}
}

/* V17 — use the exact original booklet project title cover (JPG untouched).
   The CTA is the only overlay; facing original work images remain unobstructed. */
.tyz-profile-root .profile-flipbook .flip-leaf.tyz-story-original-cover .flip-leaf-inner{
  position:relative;
}
.tyz-profile-root .profile-flipbook .tyz-story-cover-actions{
  position:absolute;
  top:4.5%;
  left:3.5%;
  z-index:8;
  pointer-events:none;
  display:flex;
  max-width:92%;
}
.tyz-profile-root .profile-flipbook .tyz-story-cover-cta{
  pointer-events:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:35px;
  padding:7px 12px;
  border:1px solid rgba(249,216,159,.88);
  border-radius:11px;
  color:#ffe4b8!important;
  background:linear-gradient(112deg,rgba(14,42,64,.94),rgba(25,57,78,.94));
  box-shadow:0 7px 19px rgba(6,22,40,.20),inset 0 1px 0 rgba(255,238,206,.14);
  font:900 11px/1.5 Cairo,Tahoma,Arial,sans-serif;
  text-decoration:none!important;
  white-space:normal;
  text-align:center;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  transition:transform .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.tyz-profile-root .profile-flipbook .tyz-story-cover-cta:hover{
  transform:translateY(-2px);
  background:linear-gradient(112deg,#183d58,#2b5875);
  border-color:#ffe9c3;
  box-shadow:0 10px 23px rgba(4,19,38,.28),0 0 15px rgba(235,189,122,.14);
}
.tyz-profile-root .profile-flipbook .tyz-story-cover-cta:focus-visible{
  outline:3px solid #d2a765;
  outline-offset:4px;
}
/* For projects without a separate cover in the original 116-page profile,
   replace the flat text-only editorial card with an original-photo preview.
   Opposite page remains the original full-size design. */
.tyz-profile-root .profile-flipbook .tyz-story-paper--feature{
  padding:17px 21px 16px;
  gap:6px;
  justify-content:space-between;
  background:
    radial-gradient(ellipse 70% 60% at 90% 8%,rgba(245,209,153,.21),transparent 84%),
    linear-gradient(135deg,#fdf7eb,#f0e5d3);
}
.tyz-profile-root .profile-flipbook .tyz-story-paper--feature .tyz-story-kicker{
  font-size:10px;
  color:#876344;
}
.tyz-profile-root .profile-flipbook .tyz-story-paper--feature .tyz-story-page-title{
  font-size:clamp(16px,1.52vw,23px);
  line-height:1.45;
  min-height:0;
  margin:0;
  flex:0 0 auto;
}
.tyz-profile-root .profile-flipbook .tyz-story-paper--feature .tyz-story-line{
  width:54px;
  height:2px;
}
.tyz-profile-root .profile-flipbook .tyz-story-project-art{
  position:relative;
  flex:1 1 43%;
  min-height:72px;
  max-height:176px;
  margin:0;
  border:1px solid rgba(193,151,98,.44);
  border-radius:10px;
  overflow:hidden;
  background:linear-gradient(130deg,#cbd4d4,#eee3d6);
  box-shadow:0 6px 19px rgba(20,45,60,.15);
}
.tyz-profile-root .profile-flipbook .tyz-story-project-art::after{
  content:"";
  pointer-events:none;
  position:absolute;
  inset:0;
  border:1px solid rgba(255,250,236,.36);
  border-radius:inherit;
  z-index:2;
}
.tyz-profile-root .profile-flipbook .tyz-story-project-art img{
  position:absolute!important;
  inset:0!important;
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center;
  pointer-events:none;
  border:0;
}
.tyz-profile-root .profile-flipbook .tyz-story-paper--feature .tyz-story-desc{
  font-size:clamp(10px,.85vw,12px);
  line-height:1.6;
  -webkit-line-clamp:2;
  margin:0;
  flex:0 0 auto;
}
.tyz-profile-root .profile-flipbook .tyz-story-paper--feature .tyz-story-page-actions{
  margin:0;
  flex:0 0 auto;
  align-items:center;
}
.tyz-profile-root .profile-flipbook .tyz-story-paper--feature .tyz-story-work-note{
  display:none;
}
.tyz-profile-root .tyz-story-context-cta{
  min-height:44px;
  align-items:center;
  justify-content:center;
}
@media(max-width:650px){
  .tyz-profile-root .profile-flipbook .tyz-story-cover-actions{
    top:4%;left:3%;
  }
  .tyz-profile-root .profile-flipbook .tyz-story-cover-cta{
    min-height:30px;
    padding:5px 8px;
    font-size:8.5px;
    border-radius:8px;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  .tyz-profile-root .profile-flipbook .tyz-story-paper--feature{
    padding:11px 12px 9px;
    gap:3px;
  }
  .tyz-profile-root .profile-flipbook .tyz-story-paper--feature .tyz-story-page-title{
    font-size:clamp(11px,3vw,14px);
    line-height:1.32;
  }
  .tyz-profile-root .profile-flipbook .tyz-story-paper--feature .tyz-story-kicker{
    font-size:7px;
  }
  .tyz-profile-root .profile-flipbook .tyz-story-project-art{
    min-height:36px;
    max-height:86px;
    border-radius:6px;
  }
  .tyz-profile-root .profile-flipbook .tyz-story-paper--feature .tyz-story-desc{
    display:none; /* full descriptive text remains accessible below book */
  }
  .tyz-profile-root .profile-flipbook .tyz-story-paper--feature .tyz-story-page-cta{
    min-height:26px;
    padding:5px 8px;
    font-size:8px;
  }
}
@media(prefers-reduced-motion:reduce){
  .tyz-profile-root .profile-flipbook .tyz-story-cover-cta{
    animation:none!important;
    transition:none!important;
    transform:none!important;
  }
}
