@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #000000;
  color: #fcfefc;
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 20px 10px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar for premium feel */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #1c1c1e;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0d7ede;
}

/* Page Wrapper */
.page-container {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}

/* Watermarks */
.watermark {
  position: absolute;
  font-family: 'American Typewriter', 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 4.8rem;
  color: #faf5f5;
  opacity: 0.015;
  /* Barely visible, matching the image */
  pointer-events: none;
  z-index: -1;
  user-select: none;
  white-space: nowrap;
}

.watermark-1 {
  top: 235px;
  left: 20px;
}

.watermark-2 {
  bottom: 110px;
  left: 20px;
}

/* Top iOS Segmented Toggle Container */
.toggle-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 30px;
  z-index: 10;
}

.toggle-switch {
  position: relative;
  display: flex;
  background: #111112;
  border: 1px solid #1c1c1e;
  border-radius: 20px;
  padding: 2px;
  width: 220px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.toggle-pill {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(100% / 3 - 2px);
  background: #0d7ede;
  border-radius: 18px;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 2px 6px rgba(13, 126, 222, 0.4);
}

.toggle-option {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
  color: #77777a;
  z-index: 2;
  transition: color 0.35s;
}

.toggle-option.active {
  color: #ffffff;
}

/* Header Box Layout */
.header-container {
  display: flex;
  margin-bottom: 35px;
  width: 100%;
}

.header-title-wrapper {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  align-items: stretch;
}

.header-stripe {
  background-color: #1e1c1c;
  font-family: 'American Typewriter', 'Roboto Slab', serif;
  font-size: 2.3rem;
  line-height: 1.15;
  font-weight: 500;
  color: #faf5f5;
  letter-spacing: -0.5px;
  padding: 13px 22px 5px 0;
  /* Padding-right 24px, 0 on left so Maminov aligns with text margin */
  position: relative;
  white-space: nowrap;
}

.header-stripe::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 9999px;
  background-color: #1e1c1c;
}

.header-sub {
  font-family: 'American Typewriter', 'Roboto Slab', serif;
  font-size: 2.3rem;
  line-height: 1.15;
  font-weight: 500;
  color: #faf5f5;
  letter-spacing: -0.5px;
  margin-top: 2px;
  text-align: right;
  padding-right: 24px;
  /* Matches padding-right of stripe, aligning "studio" under "Sons" */
}

/* Color Highlights */
.text-blue {
  color: #0d7ede;
}

/* Sections General */
.section {
  margin-bottom: 28px;
  width: 100%;
}

/* Hero Section */
.hero-paragraph {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.hero-paragraph:last-child {
  margin-bottom: 0;
}

/* Promises Section */
.promises-section {
  margin-top: 10px;
  margin-bottom: 24px;
}

.promise-line {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.promise-line:last-child {
  margin-bottom: 0;
}

/* Services Sections */
.services-heading {
  font-size: 1.08rem;
  font-weight: normal;
  /* Regular weight to match template */
  margin-bottom: 0px;
  color: #fcfefc;
}

.services-subheading {
  font-size: 1.08rem;
  font-weight: normal;
  /* Regular weight to match template */
  margin-bottom: 14px;
  color: #fcfefc;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.list-item {
  font-size: 1rem;
  color: #fcfefc;
  line-height: 1.4;
}

.indent-special {
  padding-left: 0px;
  /* No indent to match template alignment */
  margin-top: -3px;
  margin-bottom: 2px;
}

/* Roles Section */
.roles-section {
  margin: 32px 0;
}

.roles-text {
  font-size: 1.08rem;
  font-weight: normal;
  /* Regular weight to match template */
  letter-spacing: 0.2px;
}

/* Credentials / Experience Section */
.credentials-section {
  margin-top: 20px;
  margin-bottom: 35px;
}

.credentials-heading {
  font-size: 1rem;
  margin-bottom: 4px;
}

.credentials-list {
  font-size: 1rem;
  margin-bottom: 18px;
}

.experience-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.experience-item {
  font-size: 0.95rem;
  padding-left: 36px;
  /* Indented experience text to match template */
  opacity: 0.95;
}

/* Footer Container Styling */
.footer-box {
  background-color: #1e1c1c;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 24px 22px 24px;
  margin-top: auto;
  border-radius: 2px;
  gap: 16px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-label {
  font-size: 0.82rem;
  color: #0d7ede;
  font-weight: normal;
  /* Regular weight to match template */
}

.footer-value {
  font-size: 0.92rem;
  color: #fcfefc;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-value:hover {
  color: #0d7ede;
  opacity: 0.9;
}

/* Interactive Wink Emoticon */
.wink-icon {
  display: inline-block;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transform: rotate(-180deg) scale(0);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, width 0.4s ease, margin-left 0.4s ease;
  margin-left: 0;
  white-space: nowrap;
  color: #0d7ede;
  font-weight: bold;
}

@media (min-width: 581px) {

  /* PC hover animation only */
  .promise-line-wink:hover .wink-icon {
    width: 30px;
    /* Safe width for ;) emoticon to prevent clipping */
    opacity: 1;
    transform: rotate(360deg) scale(1.15);
    margin-left: 8px;
  }
}

/* Instagram CTA Section */
.instagram-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 40px;
  width: 100%;
}

.instagram-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  cursor: pointer;
}

.instagram-icon-wrapper {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.instagram-link:hover .instagram-icon-wrapper {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.instagram-text {
  font-family: 'PT Sans', sans-serif;
  font-size: 0.95rem;
  color: #fcfefc;
  font-weight: bold;
  height: 1.3em;
  min-height: 1.3em;
  opacity: 0;
  /* Hidden by default on PC, revealed & typed on hover */
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 580px) {
  body {
    padding: 15px 15px;
  }

  .page-container {
    padding-bottom: 40px;
  }

  .header-stripe {
    font-size: 1.9rem;
    padding-right: 16px;
  }

  .header-sub {
    font-size: 1.9rem;
    padding-right: 16px;
  }

  .watermark {
    font-size: 3.5rem;
  }

  .experience-item {
    padding-left: 20px;
  }

  .instagram-text {
    opacity: 1;
    /* Always visible on mobile */
  }

  .footer-box {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    width: 100%;
    align-items: center;
  }
}

/* JavaScript typing typewriter effects helper */
.translatable {
  /*display: inline-block;*/
  min-height: 1.25em;
  /* Pre-allocates vertical space to avoid layout shifts */
  vertical-align: top;
}