/* Additions: Currently / Worked With / Behind the Work / Experience / Journal.
   Uses only the existing theme tokens from main.css. */

/* ---------- Status dot ---------- */
.status-dot {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme);
  flex-shrink: 0;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--theme);
  animation: status-pulse 2s ease-out infinite;
}
@keyframes status-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- Small text link (View Experience →) ---------- */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--theme);
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out, background-color 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.arrow-link i {
  transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out, background-color 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.arrow-link:hover {
  color: var(--white);
}
.arrow-link:hover i {
  transform: translateX(4px);
}

/* ---------- Currently ---------- */
.currently-section {
  padding: 40px 0;
}
.currently-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 30px;
  border: var(--border);
  border-radius: 24px;
  background-color: var(--bg);
  transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out, background-color 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.currently-wrapper:hover {
  border-color: var(--theme);
}
.currently-wrapper .currently-info {
  display: flex;
  align-items: center;
  gap: 30px;
}
.currently-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--header);
  padding-right: 30px;
  border-right: var(--border);
  white-space: nowrap;
}
.currently-wrapper h4 {
  margin-bottom: 4px;
}
.currently-wrapper h4 span {
  color: var(--theme);
}
.currently-wrapper p {
  margin-bottom: 0;
  font-size: 15px;
}
.currently-right {
  display: flex;
  align-items: center;
  gap: 40px;
}
.currently-stats {
  display: flex;
  align-items: center;
}
.currently-stat {
  text-align: center;
  padding: 0 28px;
}
.currently-stat:not(:last-child) {
  border-right: var(--border);
}
.currently-stat h3 {
  color: var(--theme);
  font-size: 36px;
  line-height: 1;
  margin-bottom: 6px;
}
.currently-stat span {
  display: block;
  color: #bbbbbc;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
@media (max-width: 1199px) {
  .currently-right {
    gap: 24px;
  }
  .currently-stat {
    padding: 0 18px;
  }
}
@media (max-width: 991px) {
  .currently-wrapper,
  .currently-wrapper .currently-info,
  .currently-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .currently-stat {
    text-align: left;
  }
  .currently-stat:first-child {
    padding-left: 0;
  }
  .currently-label {
    padding-right: 0;
    border-right: none;
  }
}
@media (max-width: 575px) {
  .currently-wrapper {
    padding: 20px;
  }
  .currently-wrapper h4 {
    font-size: 20px;
  }
}

/* ---------- Worked With ---------- */
.worked-with-section .client-wrapper {
  margin-top: 0;
}
.worked-with-section .client-wrapper .client-items {
  align-items: stretch;
}
.worked-with-section .client-wrapper .client-items .client-item {
  flex: 1;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 16px;
}
.worked-with-section .client-wrapper .client-items .client-item:not(:last-child)::before {
  top: 0;
  height: 100%;
}
.worked-with-section .client-wrapper .client-items .client-item .number {
  margin-bottom: 0;
  line-height: 1.4;
}
.worked-with-section .client-wrapper .client-items .client-item .brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-bottom: 10px;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out, background-color 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.worked-with-section .client-wrapper .client-items .client-item .brand-mark img {
  max-height: 56px;
  max-width: 160px;
  object-fit: contain;
}
.worked-with-section .client-wrapper .client-items .client-item:hover .brand-mark {
  color: var(--theme);
}
.worked-with-section .client-wrapper .client-items .client-item .text {
  white-space: normal;
  font-size: 14px;
}
.worked-with-footer {
  margin-top: 24px;
  text-align: center;
}
@media (max-width: 991px) {
  .worked-with-section .client-wrapper .client-items {
    justify-content: center;
  }
  .worked-with-section .client-wrapper .client-items .client-item {
    flex: 0 0 44%;
  }
}
@media (max-width: 575px) {
  .worked-with-section .client-wrapper .client-items .client-item {
    padding: 0;
  }
  .worked-with-section .client-wrapper .client-items .client-item .brand-mark {
    font-size: 24px;
  }
}

/* ---------- Creative Journey (year / role / company) ---------- */
.experience-wrapper .experience-items span {
  min-width: 140px;
}
.experience-wrapper .experience-items h4 {
  flex: 1;
  margin-bottom: 0;
}
.experience-wrapper .experience-items h6 {
  text-align: right;
  color: #bbbbbc;
  font-weight: 600;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .experience-wrapper .experience-items {
    gap: 8px;
  }
  .experience-wrapper .experience-items h6 {
    text-align: left;
  }
}
.journey-footer {
  margin-top: 30px;
  text-align: center;
}

/* ---------- Photo grid + placeholders ---------- */
.photo-grid .photo-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: var(--border);
  background: var(--bg);
  aspect-ratio: 4 / 5;
  transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out, background-color 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.photo-grid .photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-in-out;
}
.photo-grid .photo-item:hover {
  border-color: var(--theme);
}
.photo-grid .photo-item:hover img {
  transform: scale(1.05);
}
.photo-grid .photo-item .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(0deg, rgba(6, 6, 6, 0.85) 0%, rgba(6, 6, 6, 0) 100%);
}
.photo-grid .photo-item.is-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #868283;
  text-align: center;
  padding: 20px;
}
.photo-grid .photo-item.is-placeholder i {
  font-size: 28px;
  color: var(--theme);
  opacity: 0.6;
}
.photo-grid .photo-item.is-placeholder span {
  font-size: 14px;
  font-weight: 600;
}
.photo-grid.is-wide .photo-item {
  aspect-ratio: 4 / 3;
}

/* ---------- Experience page ---------- */
.xp-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.xp-jump a {
  display: inline-block;
  padding: 8px 24px;
  border: var(--border);
  border-radius: 100px;
  color: var(--header);
  font-weight: 600;
  transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out, background-color 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.xp-jump a:hover {
  color: var(--theme);
  border-color: var(--theme);
}
.xp-company {
  padding: 40px;
  border: var(--border);
  border-radius: 24px;
  background: var(--bg-2);
  scroll-margin-top: 120px;
}
.xp-company:not(:last-child) {
  margin-bottom: 30px;
}
@media (max-width: 767px) {
  .xp-company {
    padding: 20px;
  }
}
.xp-company-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: var(--border);
}
@media (max-width: 767px) {
  .xp-company-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
.xp-company-head h3 {
  margin-bottom: 6px;
}
.xp-company-head .xp-full-name {
  color: #bbbbbc;
  font-weight: 600;
  margin-bottom: 0;
}
.xp-company-head .xp-role {
  color: var(--theme);
  margin-bottom: 8px;
}
.xp-company-head .xp-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #bbbbbc;
  font-weight: 600;
}
.xp-company-head .xp-right {
  text-align: right;
}
@media (max-width: 767px) {
  .xp-company-head .xp-right {
    text-align: left;
  }
}
.xp-block {
  height: 100%;
  padding: 30px;
  border: var(--border);
  border-radius: 16px;
  background: var(--bg);
  transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out, background-color 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.xp-block:hover {
  border-color: var(--theme);
}
@media (max-width: 575px) {
  .xp-block {
    padding: 20px;
  }
}
.xp-block h5 {
  margin-bottom: 16px;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.xp-block p:last-child,
.xp-block ul:last-child {
  margin-bottom: 0;
}
.xp-block ul li {
  display: flex;
  gap: 10px;
  color: var(--text);
}
.xp-block ul li:not(:last-child) {
  margin-bottom: 10px;
}
.xp-block ul li i {
  color: var(--theme);
  margin-top: 6px;
}
.xp-empty {
  color: #868283;
  font-style: italic;
}
.xp-project {
  display: block;
  padding: 20px;
  border: var(--border);
  border-radius: 16px;
  height: 100%;
  transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out, background-color 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.xp-project:hover {
  border-color: var(--theme);
}
.xp-project h6 {
  margin-bottom: 6px;
}
.xp-project p {
  margin-bottom: 0;
  font-size: 14px;
}

/* ---------- Journal page ---------- */
.journal-block {
  scroll-margin-top: 120px;
}
.journal-block:not(:last-child) {
  margin-bottom: 80px;
}
.journal-note {
  height: 100%;
  padding: 30px;
  border: var(--border);
  border-radius: 16px;
  background: var(--bg);
  transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out, background-color 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.journal-note:hover {
  border-color: var(--theme);
}
.journal-note span {
  display: block;
  margin-bottom: 10px;
  color: #bbbbbc;
  font-size: 14px;
  font-weight: 600;
}
.journal-note p {
  margin-bottom: 0;
}

/* Nav: keep "Hire Me" visible with the two extra menu items on small desktops */
@media (min-width: 1200px) and (max-width: 1399px) {
  .header-main .main-menu ul li {
    margin-inline-end: 24px;
  }
}

/* Small screens: taller placeholder tiles so labels fit */
@media (max-width: 575px) {
  .photo-grid.is-wide .photo-item {
    aspect-ratio: 1 / 1;
  }
  .photo-grid .photo-item.is-placeholder {
    padding: 10px;
    gap: 8px;
  }
  .photo-grid .photo-item.is-placeholder span {
    font-size: 12px;
    line-height: 1.4;
  }
}


/* ---------- Experience tabs ---------- */
.xp-jump a.active {
  color: var(--theme);
  border-color: var(--theme);
}
.xp-panels {
  position: relative;
}
.xp-panels .xp-company {
  margin-bottom: 0;
  transform-origin: 50% 0;
  will-change: transform, opacity;
}
.xp-panels .xp-panel[hidden] {
  display: none;
}

/* Worked With: keep a gap under the title on small screens (theme sets it to 0) */
@media (max-width: 767px) {
  .worked-with-section .section-title {
    margin-bottom: 20px;
  }
}

.currently-wrapper h4 .currently-role {
  color: inherit;
}
