@font-face {
  font-family: TC-Toruk;
  src: url("./assets/TorukscRegular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: TC-Arial;
  src: url("./assets/ArialNova.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: TC-Condensed;
  src: url("./assets/ArialNovaCond-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

.tc-tg-dialog,
.tc-tg-dialog * { box-sizing: border-box; }
.tc-tg-dialog {
  --tc-ink: #141414;
  --tc-white: #fff;
  --tc-muted: #646464;
  --tc-line: #dedede;
  position: fixed;
  inset: 0;
  width: min(860px, calc(100% - 48px));
  max-width: none;
  height: fit-content;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--tc-white);
  color: var(--tc-ink);
  font: 400 16px/1.5 TC-Arial, Arial, sans-serif;
  text-align: left;
  box-shadow: 0 28px 100px #0005;
  overflow: auto;
  overscroll-behavior: contain;
  color-scheme: light;
}
.tc-tg-dialog:not([open]) { display: none; }
.tc-tg-dialog::backdrop { background: rgb(10 10 10 / 66%); }
.tc-tg-dialog[open] { animation: tc-tg-enter 220ms ease-out; }
.tc-tg-dialog .tc-tg-layout { display: grid; grid-template-columns: 43% 57%; min-height: 510px; }
.tc-tg-dialog .tc-tg-visual { position: relative; min-width: 0; overflow: hidden; background: #313131; }
.tc-tg-dialog .tc-tg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% 50%;
  transform: scale(1.25);
  filter: grayscale(1) brightness(.8) contrast(1.08);
}
.tc-tg-dialog .tc-tg-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0005, transparent 30%, #0001 55%, #000c);
  pointer-events: none;
}
.tc-tg-dialog .tc-tg-brand {
  position: absolute;
  z-index: 1;
  top: 30px;
  left: 28px;
  margin: 0;
  color: #fff;
  font: 400 32px/1 TC-Toruk, Georgia, serif;
  letter-spacing: 0;
}
.tc-tg-dialog .tc-tg-motto {
  position: absolute;
  z-index: 1;
  left: 28px;
  bottom: 31px;
  margin: 0;
  color: #fff;
  font: 400 32px/1.1 TC-Toruk, Georgia, serif;
  text-transform: uppercase;
}
.tc-tg-dialog .tc-tg-content { position: relative; padding: 48px 46px 30px; }
.tc-tg-dialog .tc-tg-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--tc-ink);
  cursor: pointer;
}
.tc-tg-dialog .tc-tg-close:hover { background: #f0f0f0; }
.tc-tg-dialog .tc-tg-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 23px;
  color: var(--tc-muted);
  font: 400 11px/1.4 TC-Arial, Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tc-tg-dialog .tc-tg-title {
  margin: 0;
  padding: 0;
  color: var(--tc-ink);
  font: 700 56px/.99 TC-Condensed, "Arial Narrow", Arial, sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.tc-tg-dialog .tc-tg-title:focus { outline: none; }
.tc-tg-dialog .tc-tg-description {
  margin: 23px 0 0;
  color: #515151;
  font: 400 16px/1.55 TC-Arial, Arial, sans-serif;
}
.tc-tg-dialog .tc-tg-handle { margin: 17px 0 26px; color: var(--tc-ink); font: 400 13px/1.5 TC-Arial, Arial, sans-serif; }
.tc-tg-dialog .tc-tg-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 15px 20px;
  border: 1px solid var(--tc-ink);
  border-radius: 6px;
  background: var(--tc-ink);
  color: #fff;
  font: 400 15px/1.4 TC-Arial, Arial, sans-serif;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.tc-tg-dialog .tc-tg-cta:visited { color: #fff; }
.tc-tg-dialog .tc-tg-cta:hover { background: #373737; }
.tc-tg-dialog .tc-tg-dismiss {
  display: block;
  min-height: 44px;
  margin: 8px auto 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--tc-muted);
  font: 400 12px/1.5 TC-Arial, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.tc-tg-dialog .tc-tg-dismiss:hover { color: var(--tc-ink); }
.tc-tg-dialog :is(button, a):focus-visible { outline: 3px solid #767676; outline-offset: 4px; }
.tc-tg-dialog svg { display: block; flex-shrink: 0; }
@keyframes tc-tg-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 650px) {
  .tc-tg-dialog { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border-radius: 10px; }
  .tc-tg-dialog .tc-tg-layout { grid-template-columns: 1fr; min-height: 0; }
  .tc-tg-dialog .tc-tg-visual { height: 174px; }
  .tc-tg-dialog .tc-tg-photo { object-position: 50% 46%; transform: scale(1.05); }
  .tc-tg-dialog .tc-tg-visual::after { background: linear-gradient(90deg, #0009, #0001); }
  .tc-tg-dialog .tc-tg-brand { top: 23px; left: 24px; font-size: 26px; }
  .tc-tg-dialog .tc-tg-motto { left: 24px; bottom: 22px; font-size: 24px; }
  .tc-tg-dialog .tc-tg-content { position: static; padding: 27px 26px 19px; }
  .tc-tg-dialog .tc-tg-close { top: 9px; right: 9px; background: #141414; color: #fff; }
  .tc-tg-dialog .tc-tg-close:hover { background: #373737; }
  .tc-tg-dialog .tc-tg-eyebrow { margin-bottom: 18px; font-size: 10px; }
  .tc-tg-dialog .tc-tg-title { font-size: 46px; }
  .tc-tg-dialog .tc-tg-description { margin-top: 17px; font-size: 14px; }
  .tc-tg-dialog .tc-tg-handle { margin: 14px 0 22px; font-size: 12px; }
  .tc-tg-dialog .tc-tg-cta { min-height: 54px; padding-inline: 16px; font-size: 14px; }
}
@media (max-width: 360px) {
  .tc-tg-dialog .tc-tg-content { padding-inline: 22px; }
  .tc-tg-dialog .tc-tg-title { font-size: 41px; }
}
@media (max-width: 650px) and (max-height: 680px) {
  .tc-tg-dialog .tc-tg-visual { height: 112px; }
  .tc-tg-dialog .tc-tg-content { padding: 20px 22px 12px; }
  .tc-tg-dialog .tc-tg-brand { top: 18px; left: 22px; font-size: 22px; }
  .tc-tg-dialog .tc-tg-motto { left: 22px; bottom: 16px; font-size: 19px; }
  .tc-tg-dialog .tc-tg-title { font-size: 40px; }
}
@media (max-height: 620px) and (min-width: 651px) {
  .tc-tg-dialog .tc-tg-layout { min-height: 0; }
  .tc-tg-dialog .tc-tg-content { padding-top: 32px; padding-bottom: 16px; }
  .tc-tg-dialog .tc-tg-title { font-size: 46px; }
  .tc-tg-dialog .tc-tg-description { margin-top: 16px; }
  .tc-tg-dialog .tc-tg-handle { margin: 12px 0 18px; }
}
@media (max-height: 480px) and (min-width: 651px) {
  .tc-tg-dialog .tc-tg-content { padding: 24px 38px 8px; }
  .tc-tg-dialog .tc-tg-eyebrow { margin-bottom: 16px; font-size: 10px; }
  .tc-tg-dialog .tc-tg-title { font-size: 36px; }
  .tc-tg-dialog .tc-tg-description { margin-top: 12px; font-size: 14px; }
  .tc-tg-dialog .tc-tg-handle { margin: 10px 0 14px; }
  .tc-tg-dialog .tc-tg-cta { min-height: 50px; padding: 12px 18px; }
  .tc-tg-dialog .tc-tg-dismiss { min-height: 40px; margin-top: 6px; padding: 8px 12px; }
  .tc-tg-dialog .tc-tg-motto { bottom: 24px; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-tg-dialog[open] { animation: none; }
  .tc-tg-dialog .tc-tg-cta { transition: none; }
}
