/* The opening is readable without JavaScript. Pinning is progressive enhancement. */
.agency-hero:has(.tourism-sanctuary) {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 720px;
  height: calc(100svh - 140px);
  padding: 90px 8%;
  overflow: clip;
  display: flex;
  align-items: center;
}
.agency-hero:has(.tourism-sanctuary) .agency-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 590px;
  width: 48%;
}
.tourism-sanctuary {
  position: absolute;
  inset: 0;
  margin: 0;
}
.sanctuary-image,
.sanctuary-veil {
  position: absolute;
  inset: 0;
}
.sanctuary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.sanctuary-veil {
  background:
    linear-gradient(
      90deg,
      #f7fbf8fc 0%,
      #f7fbf8ed 26%,
      #f7fbf882 48%,
      transparent 70%
    ),
    linear-gradient(0deg, #f7fbf8, transparent 22%);
}
.sanctuary-outline {
  position: absolute;
  inset: 8% 5% 12% 57%;
  border: 1px solid #fff9;
  pointer-events: none;
}
.tourism-sanctuary figcaption {
  position: absolute;
  right: 8%;
  bottom: 16%;
  width: 28%;
  color: white;
  text-shadow: 0 2px 18px #16342c70;
  display: grid;
  gap: 15px;
}
.tourism-sanctuary figcaption span {
  font: 600 9px/1.6 var(--sans);
  letter-spacing: 0.14em;
}
.tourism-sanctuary figcaption strong {
  font: 400 38px/1.12 var(--serif);
}
.opening-official.motion-ready .agency-hero:has(.tourism-sanctuary) {
  min-height: 0;
  height: 100svh;
}
.story-media.story-media-film {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16/9;
  border-radius: 14px;
  top: 170px;
  background: #183d37;
}
.story-media-film .story-poster {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.story-media-film video.story-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}
.story-media-film video.has-frame {
  opacity: 1;
}
.story-media-film .story-coordinate {
  bottom: 16px;
  font-size: 7px;
}
.stories-film.stories-film-player {
  min-height: 0;
  align-self: start;
  background: #143e3b;
  overflow: hidden;
}
.stories-film.stories-film-player::after {
  display: none;
}
.stories-film-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #143e3b;
}
.stories-player-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font: 400 24px/1.3 var(--serif);
}
.stories-player-caption a {
  font: 500 10px/1.5 var(--sans);
}
@media (max-width: 999px) {
  .agency-hero:has(.tourism-sanctuary) {
    height: auto;
    min-height: 850px;
    padding: 45px 24px 390px;
    align-items: start;
  }
  .agency-hero:has(.tourism-sanctuary) .agency-hero-copy {
    width: 100%;
    max-width: 600px;
  }
  .sanctuary-image {
    top: 35%;
  }
  .sanctuary-veil {
    background:
      linear-gradient(#f7fbf8 25%, #f7fbf8e8 40%, transparent 68%),
      linear-gradient(0deg, #f7fbf8, transparent 20%);
  }
  .sanctuary-outline {
    inset: 57% 5% 9%;
  }
  .tourism-sanctuary figcaption {
    bottom: 15%;
    right: 10%;
    width: 65%;
  }
  .tourism-sanctuary figcaption strong {
    font-size: 32px;
  }
  .story-media.story-media-film {
    top: 100px;
    margin-bottom: -20px;
  }
  .story-layout:has(.story-media-film) .story-steps {
    padding-top: 0;
  }
  .story-layout:has(.story-media-film) .story-step {
    min-height: 64svh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-media.story-media-film {
    position: relative;
    top: auto;
    margin-bottom: 0;
  }
  .story-layout:has(.story-media-film) .story-step {
    min-height: 0;
  }
}
body {
  isolation: isolate;
}
.medical-atmosphere {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  pointer-events: none;
  z-index: -1;
}
.opening-health .opening-stage,
.opening-official .opening-stage {
  background: transparent;
}
.story-chapter {
  position: relative;
  width: min(1320px, 86%);
  margin: 110px auto;
}
.story-heading {
  margin-bottom: 55px;
  max-width: 660px;
}
.story-heading h2 {
  font: 400 clamp(42px, 5vw, 76px)/1.04 var(--serif);
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 18px 0;
}
.story-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 8%;
  align-items: start;
  position: relative;
}
.story-media {
  position: sticky;
  top: 140px;
  height: min(66svh, 720px);
  border-radius: 220px 220px 12px 12px;
  overflow: clip;
  background: #cbded8;
  box-shadow: 0 25px 80px #224e4212;
}
.story-picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-official .story-picture {
  object-fit: contain;
}
.story-media-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(transparent 65%, #0a28275c);
}
.story-coordinate {
  position: absolute;
  bottom: 30px;
  left: 25px;
  right: 25px;
  color: #fff;
  font: 500 8px/1.6 var(--sans);
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 15px;
}
.story-coordinate i {
  height: 1px;
  flex: 1;
  background: #ffffff60;
}
.story-meter {
  position: absolute;
  height: 3px;
  bottom: 0;
  inset-inline: 0;
  background: #ffffff30;
}
.story-meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: #8ed7bd;
  transform: scaleX(0);
  transform-origin: left;
}
.story-step {
  min-height: 70svh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  box-sizing: border-box;
}
.story-step-copy {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.story-index {
  font: 400 40px/1 var(--serif);
  color: var(--accent);
}
.story-index i {
  font: 400 12px/1 var(--sans);
  opacity: 0.7;
  margin-left: 8px;
  font-style: normal;
}
.story-step h3 {
  margin: 25px 0;
  font: 400 clamp(34px, 3.4vw, 56px)/1.1 var(--serif);
  letter-spacing: -0.025em;
  color: var(--ink);
}
.story-step p {
  font: 400 14px/1.95 var(--sans);
  max-width: 410px;
  color: var(--muted);
}
.story-film {
  border-block: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 50px;
}
.story-film summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  color: var(--ink);
  font: 500 13px/1.5 var(--sans);
  list-style: none;
}
.story-film summary::-webkit-details-marker {
  display: none;
}
.story-film video {
  width: 100%;
  max-height: 75svh;
  margin-top: 25px;
  background: #102321;
}
.brand-corporate .story-media {
  border-radius: 3px;
  background: #12171f;
}
.brand-corporate .story-meter span {
  background: #c6a15b;
}
.brand-corporate .story-chapter {
  background: transparent;
}
.brand-corporate .corporate-expertise {
  background: #090c11dd;
}
.service-stack {
  display: block;
  padding-bottom: 40px;
}
.service-stack .visual-service-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 18px 7%;
  position: sticky;
  top: calc(105px + var(--card-order) * 10px);
  min-height: 570px;
  height: 72svh;
  max-height: 780px;
  padding: 35px;
  margin-bottom: 60px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 -12px 50px #183f3010;
  opacity: 1 !important;
  transition: none !important;
}
.service-stack .visual-service-card:focus-visible {
  z-index: 20;
  outline: 2px solid var(--accent);
}
.service-stack .visual-service-image {
  grid-row: 1/4;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  overflow: hidden;
}
.service-stack .visual-service-image img {
  height: 100%;
  object-fit: cover;
}
.service-stack .visual-service-card h3 {
  font: 400 clamp(30px, 3vw, 48px)/1.1 var(--serif);
  margin: 30px 0 0;
  align-self: end;
}
.service-stack .visual-service-card p {
  max-width: 420px;
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}
.service-stack .visual-service-card > span {
  align-self: end;
  padding-bottom: 25px;
}
@media (max-width: 999px) {
  .story-chapter {
    width: calc(100% - 40px);
    margin-block: 70px;
  }
  .story-heading {
    margin-bottom: 30px;
  }
  .story-layout {
    display: block;
  }
  .story-media {
    top: 95px;
    height: 58svh;
    min-height: 340px;
    max-height: 650px;
    margin-bottom: -80px;
    border-radius: 140px 140px 10px 10px;
  }
  .story-steps {
    position: relative;
    padding-top: 15svh;
    pointer-events: none;
  }
  .story-step {
    min-height: 72svh;
    padding: 30px 0;
    align-items: end;
  }
  .story-step-copy {
    margin-left: 7%;
    padding: 26px;
    background: color-mix(in srgb, var(--paper) 96%, transparent);
    border: 1px solid var(--line);
    box-shadow: 0 20px 45px #102f2112;
    border-radius: 12px;
  }
  .story-step h3 {
    font-size: 34px;
    margin: 15px 0;
  }
  .story-step p {
    font-size: 13px;
    line-height: 1.85;
  }
  .story-index {
    font-size: 29px;
  }
  .story-coordinate {
    bottom: 18px;
    left: 18px;
    right: 18px;
    font-size: 7px;
  }
  .story-film {
    margin-top: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-media {
    position: relative;
    top: auto;
    margin: 0;
  }
  .story-steps {
    padding-top: 0;
  }
  .story-step {
    min-height: 0;
    padding-block: 25px;
  }
  .story-step-copy {
    margin: 0;
    box-shadow: none;
  }
}
.cinematic-opening {
  position: relative;
  isolation: isolate;
}
.opening-stage {
  position: relative;
  background: var(--paper);
}
.opening-next {
  width: min(1160px, 84%);
  margin: 0 auto;
  padding: 65px 0 85px;
}
.opening-next h2 {
  max-width: 600px;
  font: 400 clamp(40px, 4.5vw, 72px)/1.04 var(--serif);
  letter-spacing: -0.04em;
  margin: 20px 0 25px;
}
.opening-next h2 em {
  display: block;
  color: var(--accent);
  font-weight: 400;
}
.opening-next > p:not(.opening-eyebrow) {
  max-width: 440px;
  color: var(--muted);
  font: 400 14px/1.9 var(--sans);
}
.opening-eyebrow {
  color: var(--accent);
  font: 600 10px/1.6 var(--sans);
  letter-spacing: 0.17em;
}
.cinema-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  padding: 14px 0;
  margin-top: 24px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--accent);
  color: var(--ink);
  text-decoration: none;
  font: 600 12px/1.6 var(--sans);
  cursor: pointer;
}
.cinema-link span {
  transition: transform 240ms ease;
}
.cinema-link:hover span {
  transform: translate(3px, -3px);
}
.opening-direction {
  display: none;
}
.opening-progress {
  display: none;
}
.motion-ready .opening-stage {
  height: 100svh;
  overflow: clip;
}
.motion-ready .opening-next {
  position: absolute;
  inset: 30% auto auto 8%;
  width: 42%;
  max-width: 600px;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 4;
}
.motion-ready .opening-direction {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 35px;
  z-index: 4;
  color: var(--muted);
  font: 500 9px/1.5 var(--sans);
  letter-spacing: 0.17em;
  pointer-events: none;
}
.motion-ready .opening-progress {
  display: block;
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--line);
  z-index: 5;
}
.opening-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.motion-ready .hero,
.motion-ready .agency-hero {
  height: 100svh;
  min-height: 0;
}
.motion-ready .agency-hero {
  padding-block: 55px 90px;
}
.motion-ready .hero-baseline {
  display: none;
}
.motion-ready .hero-copy,
.motion-ready .agency-hero-copy {
  position: relative;
  z-index: 4;
}
.motion-ready .hero .enter {
  animation: none;
  opacity: 1;
}
.motion-sheet {
  position: relative;
  z-index: 2;
  background: var(--paper);
  box-shadow: 0 -22px 65px #1736320a;
}

/* Şah Grup uses its source charcoal and champagne palette on every route. */
body.brand-corporate {
  --paper: #090c11;
  --ink: #f2f0ec;
  --muted: #afb3bc;
  --accent: #c6a15b;
  --surface: #12171f;
  --line: #ffffff20;
  background: var(--paper);
  color: var(--ink);
}
.brand-corporate .contact-ribbon {
  background: #05070b;
  color: #bbb5a6;
  border-bottom: 1px solid #c6a15b25;
}
.brand-corporate .business-header {
  border-color: #ffffff14;
}
.brand-corporate .business-logo {
  width: 128px;
}
.brand-corporate .business-logo img {
  object-fit: contain;
}
.brand-corporate .action:not(.action-quiet) {
  color: #1a1305;
  background: #c6a15b;
  border-color: #c6a15b;
}
.brand-corporate .action:hover {
  background: #e4ce9a;
  color: #1a1305;
}
.brand-corporate .action-quiet {
  color: #f2f0ec;
  border-color: #c6a15b55;
}
.brand-corporate .device-card,
.brand-corporate .group-bridge,
.brand-corporate .business-footer,
.brand-corporate .inquiry-section {
  background: #10151c;
  color: var(--ink);
}
.brand-corporate .device-card {
  box-shadow: none;
  border-radius: 3px;
}
.brand-corporate .device-card img {
  mix-blend-mode: normal;
  border-radius: 2px;
}
.brand-corporate .business-footer {
  --muted: #afb3bc;
  --line: #ffffff20;
}
.brand-corporate .mobile-navigation {
  background: #11161e;
  color: #f2f0ec;
}
.brand-corporate .inquiry-buttons button {
  color: #1a1305;
}
.brand-corporate .inquiry-buttons button + button {
  color: #f2f0ec;
}
.brand-corporate .visual-service-image,
.brand-corporate .corporate-story figure img {
  border-radius: 3px;
}
.brand-corporate .visual-service-card {
  border-top: 1px solid #c6a15b40;
  padding-top: 20px;
}
.brand-corporate .visual-service-card img {
  filter: saturate(0.55);
}
.brand-corporate .visual-service-card:hover img {
  filter: saturate(1);
}
.brand-corporate .corporate-expertise {
  background: var(--paper);
  padding-top: 90px;
}
.corporate-cinema {
  position: relative;
  min-height: 730px;
  height: calc(100svh - 140px);
  overflow: clip;
  background: #090c11;
}
.cinema-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cinema-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: saturate(0.65) brightness(0.65);
}
.corporate-cinema::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #090c11f5 0%,
      #090c11d9 24%,
      #090c1155 62%,
      #090c1130
    ),
    linear-gradient(0deg, #090c11, transparent 30%);
}
.cinema-lead {
  position: relative;
  z-index: 3;
  width: min(1320px, 84%);
  margin: 0 auto;
  padding: clamp(100px, 15vh, 170px) 0 100px;
}
.cinema-lead h1 {
  max-width: 800px;
  font: 400 clamp(60px, 6.5vw, 104px)/0.99 var(--serif);
  letter-spacing: -0.045em;
  margin: 28px 0;
}
.cinema-lead h1 em {
  display: block;
  font-weight: 400;
  color: #e4ce9a;
}
.cinema-lead > p:not(.opening-eyebrow) {
  max-width: 400px;
  font: 400 14px/1.9 var(--sans);
  color: #c0c3c9;
}
.cinema-lead .cinema-link {
  color: #f2f0ec;
}
.cinema-watermark {
  position: absolute;
  z-index: 2;
  right: -1%;
  bottom: -3%;
  font: 400 clamp(110px, 17vw, 280px)/1 var(--serif);
  letter-spacing: -0.06em;
  color: #ffffff08;
  pointer-events: none;
}
.opening-corporate .opening-next {
  background: #090c11;
}
.opening-corporate.motion-ready .opening-next {
  background: none;
}
.opening-corporate.motion-ready .corporate-cinema {
  height: 100svh;
  min-height: 0;
}
.opening-corporate .opening-direction {
  color: #d0c8b8;
}

/* Complete documents remain desaturated until hover or keyboard focus. */
.brand-evidence.dark {
  background: #edf5f1;
  color: var(--ink);
  border-top: 1px solid #ceded7;
}
.brand-evidence.dark h2 {
  color: #294d49;
}
.brand-evidence.dark p,
.brand-evidence.dark .eyebrow,
.brand-evidence.dark .evidence-links a {
  color: #466c62;
}
.brand-evidence .brand-facts {
  background: none;
  border: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.brand-evidence .certificate-fact {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 18px;
  padding: 0;
  border: 0;
  position: relative;
}
.brand-evidence .document-preview {
  width: 100%;
  height: 290px;
  padding: 14px;
  background: #f9fcfa;
  border: 1px solid #cbdcd3;
  border-radius: 3px;
  object-fit: contain;
  box-sizing: border-box;
  filter: grayscale(1) contrast(0.93);
  opacity: 1;
  transform: none;
  box-shadow: 0 10px 25px #173d2e0a;
}
.brand-evidence .certificate-fact:nth-child(2) .document-preview {
  transform: none;
}
.brand-evidence .certificate-fact:is(:hover, :focus-visible) .document-preview {
  filter: none;
  transform: translateY(-4px);
}
.brand-evidence .brand-fact strong {
  color: #294d49;
  font-size: 25px;
}
.brand-evidence .brand-fact span,
.brand-evidence .brand-fact p {
  color: #466c62;
}
.brand-evidence .language-fact {
  grid-column: 1/-1;
  display: flex;
  gap: 20px;
  border-top: 1px solid #cbdcd3;
  padding-top: 22px;
}
.brand-evidence .language-globe {
  color: #537e70;
}
.brand-evidence .language-chips span {
  border-color: #a8c4b8;
}
.document-paper img,
.certificate-grid img {
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 250ms ease;
}
.document-paper {
  height: 320px;
}
.certificate-grid img {
  height: 380px;
  padding: 12px;
  background: #f9fcfa;
}
.document:is(:hover, :focus-visible) img,
.certificate-grid a:is(:hover, :focus-visible) img {
  filter: grayscale(0);
}
.contact-ribbon:has(.health-registration) .ribbon-details {
  align-items: center;
}
.contact-ribbon:has(.health-registration) .ribbon-details > span {
  display: inline;
}

@media (max-width: 999px) {
  .opening-next {
    padding: 35px 0 55px;
    width: calc(100% - 40px);
  }
  .opening-next h2 {
    font-size: clamp(35px, 6vw, 55px);
  }
  .opening-next > p:not(.opening-eyebrow) {
    font-size: 13px;
  }
  .corporate-cinema {
    min-height: 610px;
    height: auto;
  }
  .cinema-lead {
    width: calc(100% - 40px);
    padding: 100px 0 85px;
  }
  .cinema-lead h1 {
    font-size: clamp(50px, 8vw, 80px);
    max-width: 680px;
  }
  .corporate-cinema::after {
    background:
      linear-gradient(90deg, #090c11e8, #090c1195 60%, #090c1145),
      linear-gradient(0deg, #090c11, transparent 50%);
  }
  .contact-ribbon:has(.health-registration) .ribbon-details {
    max-width: none;
    flex: 1;
    overflow-x: auto;
  }
  .contact-ribbon:has(.health-registration) .ribbon-details > span {
    display: inline;
  }
  .brand-evidence .document-preview {
    height: 280px;
  }
}
@media (max-width: 640px) {
  .corporate-cinema {
    min-height: 600px;
  }
  .cinema-lead {
    padding-top: 85px;
  }
  .cinema-lead h1 {
    font-size: 53px;
  }
  .cinema-lead > p:not(.opening-eyebrow) {
    max-width: 280px;
    font-size: 12px;
  }
  .cinema-art img {
    object-position: 67% center;
  }
  .cinema-watermark {
    bottom: 12px;
    font-size: 100px;
  }
  .opening-next h2 {
    font-size: 37px;
  }
  .opening-eyebrow {
    font-size: 9px;
  }
  .contact-ribbon:has(.health-registration) {
    padding-inline: 14px;
    gap: 10px;
  }
  .contact-ribbon:has(.health-registration) .ribbon-details {
    font-size: 9px;
    gap: 18px;
  }
  .contact-ribbon:has(.health-registration) .ribbon-actions {
    gap: 10px;
  }
  .contact-ribbon:has(.health-registration) .ribbon-actions a:first-child {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-evidence .brand-facts {
    gap: 18px;
  }
  .brand-evidence .document-preview {
    height: 235px;
    padding: 8px;
  }
  .brand-evidence .brand-fact strong {
    font-size: 22px;
  }
  .brand-evidence .brand-fact span {
    font-size: 10px;
  }
  .brand-evidence .brand-fact p {
    font-size: 10px;
  }
  .certificate-grid img {
    height: 360px;
  }
  .document-paper {
    height: 360px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cinematic-opening *,
  .document-preview,
  .certificate-grid img {
    animation: none !important;
    transition: none !important;
  }
}
