
/* =========================================================
   TOKTOK visual theme
   Adapted from the supplied TOKTOK reference page.
   Loaded after the original style.css so the existing layout
   and JavaScript behaviour remain intact.
   ========================================================= */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/inter/inter-v12-latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter/inter-v12-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter/inter-v12-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter/inter-v12-latin-700.woff2") format("woff2");
}

:root {
  --tok-black: #111111;
  --tok-dark: #202020;
  --tok-grey: #8a8a8e;
  --tok-light: #f8f9fa;
  --tok-blue: #1717e5;
  --tok-border: #dee2e6;
  --tok-radius: 2rem;
  --tok-gutter: 4vw;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--tok-black);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--tok-blue);
  transition: color .2s ease, opacity .2s ease;
}
a:hover {
  color: #1212b7;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
.logo {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--tok-black);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.6rem, 4.2vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.1vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
h4 { font-size: 1.5rem; }

p { max-width: 62rem; }

.text-primary,
a.text-primary {
  color: var(--tok-blue) !important;
}

.bg-primary {
  background-color: var(--tok-blue) !important;
}

/* Global containers: wider, cleaner editorial rhythm. */
.container {
  width: 100%;
  max-width: 1440px;
  padding-left: var(--tok-gutter);
  padding-right: var(--tok-gutter);
}

.site-section,
.section,
.section-1,
.section-2,
.section-4 {
  padding-top: clamp(80px, 9vw, 150px);
  padding-bottom: clamp(80px, 9vw, 150px);
}

/* Navigation */
.site-nav {
  position: relative;
  z-index: 1000;
  padding: 18px 0;
  background: var(--tok-black);
}

.site-nav .container {
  max-width: none;
}

.site-nav .site-navigation {
  min-height: 42px;
}

.site-nav .site-navigation .site-menu > li > a {
  color: rgba(255,255,255,.72);
  font-family: "Inter", sans-serif;
  font-size: .9rem;
  font-weight: 400;
  padding: 9px 13px;
  letter-spacing: -.01em;
}

.site-nav .site-navigation .site-menu > li > a:hover,
.site-nav .site-navigation .site-menu > li.active > a,
.site-nav .site-navigation .site-menu .has-children:hover > a {
  color: #fff;
}

.site-nav .site-navigation .site-menu > li.cta-button a {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 99rem;
  padding: 7px 18px;
}

.site-nav .site-navigation .site-menu > li.cta-button a:hover {
  background: #fff;
  color: var(--tok-black);
  border-color: #fff;
}

.site-nav .site-navigation .site-menu .has-children .dropdown {
  margin-top: 12px;
  padding: 14px 0;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(17,17,17,.16);
}

.site-nav .site-navigation .site-menu .has-children .dropdown a {
  color: var(--tok-black);
  font-size: .85rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  display: block;
  max-width: 110px;
  width: auto !important;
  height: auto !important;
}

/* Mobile menu */
.site-mobile-menu {
  background: #fff;
}
.site-mobile-menu .site-nav-wrap a {
  color: var(--tok-black);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
}

/* Filters */
.filters {
  text-align: left;
  margin-bottom: clamp(30px, 4vw, 60px);
}
.filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.filters ul li {
  list-style: none;
  cursor: pointer;
  padding: 9px 16px;
  margin: 0;
  border: 1px solid var(--tok-border);
  border-radius: 99rem;
  color: var(--tok-grey);
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: .78rem;
  font-weight: 400;
  text-transform: none;
  transition: .2s ease;
}
.filters ul li:hover,
.filters ul li.active {
  color: #fff;
  background: var(--tok-blue);
  border-color: var(--tok-blue);
}

/* Portfolio cards */
.isotope-card {
  border-radius: var(--tok-radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.isotope-card > a {
  border-radius: var(--tok-radius);
  overflow: hidden;
  background: var(--tok-dark);
}

.isotope-card > a:before {
  background: rgba(17,17,17,.52);
}

.isotope-card > a img {
  width: 100%;
  display: block;
  transition: transform .45s cubic-bezier(.23,1,.32,1);
}

.isotope-card .contents {
  padding: 30px;
  text-align: left;
}

.isotope-card .contents h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 500;
}

.isotope-card .contents p {
  color: rgba(255,255,255,.82) !important;
  font-size: .95rem;
  line-height: 1.4;
}

.isotope-card .contents .cat {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  font-size: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.65);
  padding-bottom: 3px;
}

/* Buttons */
.btn {
  border-radius: 99rem;
  font-family: "Inter", sans-serif;
  font-size: .9rem;
  font-weight: 500;
  padding: 11px 22px;
  transition: .2s ease;
}

.btn.btn-primary {
  background: var(--tok-blue);
  border-color: var(--tok-blue);
}
.btn.btn-primary:hover {
  background: #1212b7;
  border-color: #1212b7;
}

/* Images and media */
img,
video,
iframe {
  max-width: 100%;
}

.img-fluid {
  border-radius: var(--tok-radius);
}

/* Footer / secondary dark areas */
.site-footer,
.footer {
  background: var(--tok-dark);
  color: rgba(255,255,255,.75);
}
.site-footer h3,
.site-footer h4,
.footer h3,
.footer h4 {
  color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  :root { --tok-gutter: 24px; }

  body {
    font-size: 1.05rem;
  }

  .site-nav {
    padding: 14px 0;
  }

  .site-nav .site-navigation .site-menu {
    display: none !important;
  }

  .site-nav .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .filters {
    margin-bottom: 30px;
  }

  .isotope-card {
    border-radius: 1.25rem;
  }

  .isotope-card > a {
    border-radius: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .filters ul {
    gap: 6px;
  }

  .filters ul li {
    font-size: .72rem;
    padding: 7px 12px;
  }

  .isotope-card .contents {
    padding: 22px;
  }
}


/* =========================================================
   Global image corner treatment
   Images are square across the entire site.
   ========================================================= */
img,
picture img,
figure img,
video,
iframe,
.img-fluid,
.isotope-card,
.isotope-card > a {
  border-radius: 0 !important;
}

/* Keep circular UI elements (avatars/icons) unaffected only where
   explicitly using the circular utility class. */
.rounded-circle {
  border-radius: 50% !important;
}

/* =========================================================
   Portfolio overview — centered filters
   ========================================================= */
#portfolio-section .filters {
  text-align: center;
}

#portfolio-section .filters ul {
  justify-content: center;
}
