/* ================================================
   TOMASO ABOUT PAGE
   Deep navy vibe - warm & alive
   ================================================ */

.tomaso-about-page {
  background: linear-gradient(180deg, #0a0a2e 0%, #060620 50%, #050518 100%);
  min-height: 100vh;
  padding-top: 100px;
  color: #fff;
}

/* ================================================
   HERO
   ================================================ */
.tomaso-about-hero {
  position: relative;
  padding: 80px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.tomaso-about-hero-glow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56,196,218,0.12), transparent 60%);
  pointer-events: none;
  animation: about-glow-pulse 6s ease-in-out infinite alternate;
}

@keyframes about-glow-pulse {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.2); }
}

.tomaso-about-hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.tomaso-about-hero-title {
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 700;
  color: #fff;
  line-height: 0.85;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.tomaso-about-hero-title span {
  background: linear-gradient(135deg, var(--color-primary, #38C4DA), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tomaso-about-hero-subtitle {
  font-size: 1.25rem;
  color: #a0aec0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

.tomaso-about-hero-subtitle strong {
  color: var(--color-primary, #38C4DA);
  font-weight: 700;
}

/* ================================================
   STATS
   ================================================ */
.tomaso-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}

.tomaso-about-stat-item {
  padding: 64px 32px;
  text-align: center;
  position: relative;
  transition: background 0.5s;
  cursor: default;
}

.tomaso-about-stat-item:not(:last-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.tomaso-about-stat-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.tomaso-about-stat-number {
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  background: linear-gradient(180deg, #fff, #6b7280);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  transition: all 0.5s;
}

.tomaso-about-stat-item:hover .tomaso-about-stat-number {
  background: linear-gradient(180deg, var(--color-primary, #38C4DA), #fff);
  -webkit-background-clip: text;
  background-clip: text;
}

.tomaso-about-stat-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.tomaso-about-stat-desc {
  color: #6b7280;
  font-size: 0.95rem;
}

/* ================================================
   THE STORY / DNA
   ================================================ */
.tomaso-about-story {
  padding: 100px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tomaso-about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
}

.tomaso-about-story-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.tomaso-about-eyebrow-line {
  width: 48px;
  height: 1px;
  background: var(--color-accent, #E7437A);
}

.tomaso-about-eyebrow-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent, #E7437A);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.tomaso-about-story-title {
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 0.9;
  margin-bottom: 40px;
}

.tomaso-about-story-title span {
  color: var(--color-primary, #38C4DA);
}

.tomaso-about-story-paragraphs {
  font-size: 1.3rem;
  color: #9ca3af;
  line-height: 1.8;
  font-weight: 300;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 32px;
}

.tomaso-about-story-paragraphs p {
  margin-bottom: 24px;
}

.tomaso-about-story-quote {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border-right: 4px solid var(--color-primary, #38C4DA);
  margin-top: 8px;
}

.tomaso-about-story-quote p {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* Story Image */
.tomaso-about-story-image {
  position: relative;
}

.tomaso-about-story-image-glow {
  position: absolute;
  inset: -20%;
  background: linear-gradient(135deg, var(--color-primary, #38C4DA), #a855f7);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

.tomaso-about-story-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.tomaso-about-story-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(40%);
  transition: filter 0.7s;
}

.tomaso-about-story-image:hover .tomaso-about-story-image-wrapper img {
  filter: grayscale(0%);
}

.tomaso-about-story-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  z-index: 5;
  pointer-events: none;
}

.tomaso-about-story-image-label {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

/* ================================================
   A-TEAM SECTION
   ================================================ */
.tomaso-about-team-section {
  padding: 100px 24px;
  overflow: hidden;
}

.tomaso-about-team-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.tomaso-about-team-header h2 {
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.tomaso-about-team-header h2 span {
  background: linear-gradient(135deg, var(--color-primary, #38C4DA), var(--color-accent, #E7437A));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tomaso-about-team-header p {
  color: #6b7280;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 300;
}

/* Team Member Cards */
.tomaso-about-team-list {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.tomaso-about-team-member {
  display: flex;
  align-items: center;
  gap: 64px;
}

.tomaso-member-rtl {
  flex-direction: row;
}

.tomaso-member-ltr {
  flex-direction: row-reverse;
}

/* Member Image */
.tomaso-about-member-image-wrap {
  width: 42%;
  position: relative;
  flex-shrink: 0;
}

.tomaso-about-member-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  transition: opacity 0.7s;
}

.tomaso-about-team-member:hover .tomaso-about-member-glow {
  opacity: 0.3;
}

.tomaso-about-member-image-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.5s;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.tomaso-about-team-member:hover .tomaso-about-member-image-box {
  border-color: rgba(255, 255, 255, 0.2);
}

.tomaso-about-member-image-box img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(60%);
  transition: all 0.7s;
}

.tomaso-about-team-member:hover .tomaso-about-member-image-box img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.tomaso-about-member-image-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  pointer-events: none;
}

.tomaso-about-member-name-mobile {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  display: none;
}

.tomaso-about-member-sparkle {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.05);
  animation: about-float 3s ease-in-out infinite;
}

@keyframes about-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Member Text */
.tomaso-about-member-text {
  width: 58%;
  text-align: right;
}

.tomaso-about-member-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.5s;
}

.tomaso-about-team-member:hover .tomaso-about-member-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.tomaso-about-member-eyebrow-line {
  height: 2px;
  width: 48px;
}

.tomaso-about-member-name {
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.tomaso-about-member-role {
  font-size: 1.75rem;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 24px;
}

.tomaso-about-member-personal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: #a0aec0;
}

.tomaso-about-member-website {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1px solid;
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.tomaso-about-member-website:hover {
  transform: scale(1.05);
}

.tomaso-about-member-bio {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 32px;
}

.tomaso-about-member-bio p {
  font-size: 1.25rem;
  color: #9ca3af;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.tomaso-about-member-bio p:hover {
  color: #d1d5db;
}

/* ================================================
   SECONDARY TEAM
   ================================================ */
.tomaso-about-secondary-team {
  max-width: 1400px;
  margin: 80px auto 0;
  padding: 0 24px;
}

.tomaso-about-secondary-header {
  text-align: center;
  margin-bottom: 48px;
}

.tomaso-about-secondary-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tomaso-about-secondary-lines span:first-child,
.tomaso-about-secondary-lines span:last-child {
  width: 48px;
  height: 1px;
  background: var(--color-primary, #38C4DA);
}

.tomaso-about-secondary-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary, #38C4DA);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.tomaso-about-secondary-header h3 {
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.tomaso-about-secondary-header p {
  color: #6b7280;
  font-size: 0.95rem;
}

.tomaso-about-secondary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.tomaso-about-secondary-card {
  text-align: center;
  cursor: pointer;
}

.tomaso-about-secondary-card-inner {
  padding: 24px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s;
}

.tomaso-about-secondary-card:hover .tomaso-about-secondary-card-inner {
  border-color: rgba(56, 196, 218, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(56, 196, 218, 0.1);
}

.tomaso-about-secondary-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}

.tomaso-about-secondary-avatar-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-primary, #38C4DA);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s;
}

.tomaso-about-secondary-card:hover .tomaso-about-secondary-avatar-glow {
  opacity: 0.3;
}

.tomaso-about-secondary-avatar-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s;
}

.tomaso-about-secondary-card:hover .tomaso-about-secondary-avatar-ring {
  border-color: rgba(56, 196, 218, 0.4);
}

.tomaso-about-secondary-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
  transition: all 0.3s;
}

.tomaso-about-secondary-card:hover .tomaso-about-secondary-avatar-ring img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.tomaso-about-secondary-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  transition: color 0.3s;
}

.tomaso-about-secondary-card:hover h4 {
  color: var(--color-primary, #38C4DA);
}

.tomaso-about-secondary-card p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ================================================
   CTA CONTACT FORM SECTION
   ================================================ */
.tomaso-about-cta-section {
  position: relative;
  padding: 100px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  background: #050518;
}

.tomaso-about-cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(56,196,218,0.08), transparent 70%);
  pointer-events: none;
}

.tomaso-about-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.tomaso-about-cta-form-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
}

.tomaso-about-cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tomaso-about-cta-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-primary, 'Assistant', sans-serif);
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.tomaso-about-cta-input::placeholder {
  color: #6b7280;
}

.tomaso-about-cta-input:focus {
  border-color: var(--color-primary, #38C4DA);
  background: rgba(56, 196, 218, 0.05);
  box-shadow: 0 0 0 3px rgba(56, 196, 218, 0.1);
}

.tomaso-about-cta-btn {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--color-primary, #38C4DA), #2a9bb0);
  border: none;
  border-radius: 12px;
  padding: 18px 32px;
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-primary, 'Assistant', sans-serif);
}

.tomaso-about-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(56, 196, 218, 0.3);
}

.tomaso-about-cta-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ================================================
   WORDPRESS OVERRIDES
   ================================================ */
.page-template-template-about .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.page-template-template-about .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.page-template-template-about .site-main > article {
  margin: 0 !important;
  padding: 0 !important;
}

.page-template-template-about .entry-content {
  margin: 0 !important;
}

.page-template-template-about .entry-header,
.page-template-template-about .entry-title {
  display: none !important;
}

.page-template-template-about .entry-content > .elementor,
.page-template-template-about .entry-content > [data-elementor-type="wp-page"] {
  display: none !important;
}

.page-template-template-about .elementor-element-2347a2b0 {
  display: none !important;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .tomaso-about-team-member {
    flex-direction: column !important;
    gap: 32px;
  }

  .tomaso-about-member-image-wrap {
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
  }

  .tomaso-about-member-text {
    width: 100%;
    text-align: center;
  }

  .tomaso-about-member-bio {
    border-right: none;
    padding-right: 0;
    text-align: right;
  }

  .tomaso-about-member-name-mobile {
    display: block;
  }

  .tomaso-about-story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tomaso-about-secondary-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tomaso-about-member-sparkle {
    display: none;
  }

  .tomaso-about-cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .tomaso-about-cta-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tomaso-about-page {
    padding-top: 80px;
  }

  .tomaso-about-hero {
    padding: 48px 20px 40px;
  }

  .tomaso-about-hero-title {
    font-size: 4.5rem;
  }

  .tomaso-about-stats {
    grid-template-columns: 1fr;
  }

  .tomaso-about-stat-item {
    padding: 40px 24px;
  }

  .tomaso-about-stat-item:not(:last-child) {
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .tomaso-about-story {
    padding: 60px 20px;
  }

  .tomaso-about-story-paragraphs {
    border-right: none;
    padding-right: 0;
  }

  .tomaso-about-team-section {
    padding: 60px 16px;
  }

  .tomaso-about-team-header h2 {
    font-size: 4rem;
  }

  .tomaso-about-team-list {
    gap: 60px;
  }

  .tomaso-about-member-image-wrap {
    width: 100%;
  }

  .tomaso-about-member-name {
    font-size: 3rem;
  }

  .tomaso-about-member-role {
    font-size: 1.2rem;
  }

  .tomaso-about-member-eyebrow {
    opacity: 1;
    transform: none;
    justify-content: center;
  }

  .tomaso-about-secondary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .tomaso-about-secondary-avatar {
    width: 90px;
    height: 90px;
  }

  .tomaso-about-cta-section {
    padding: 60px 16px;
  }

  .tomaso-about-cta-form-wrap {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .tomaso-about-hero-title {
    font-size: 3.5rem;
  }

  .tomaso-about-secondary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
