/* ==========================================================================
   Subpage Common Styles
   ========================================================================== */

/* Subpage Hero Layout Override */
.section_hero .eyebrows {
  display: none !important;
}

.section_hero .hero-content_left {
  grid-column: span 8 / span 8;
}

.section_hero .hero-content_right {
  grid-column: span 4 / span 4;
  align-self: end;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */

.subpage_grid-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
  margin-top: 4em;
}

.subpage_card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 2.5em 2em;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.subpage_card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.4);
  transform: translateY(-4px);
}

.subpage_card-year {
  font-size: 2.5em;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5em;
  font-family: inherit;
  letter-spacing: -0.03em;
}

.subpage_card-title {
  font-size: 1.25em;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75em;
}

.subpage_card-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95em;
  line-height: 1.7;
}

.quote-box {
  border-left: 2px solid var(--white);
  padding-left: 2em;
  margin: 3em 0;
}

/* ==========================================================================
   Works Page Styles
   ========================================================================== */

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5em;
  margin-top: 4em;
}

.project-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 3em 2.5em;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-card_num {
  font-size: 0.85em;
  letter-spacing: 0.1em;
  color: rgba(0, 229, 255, 0.8);
  font-weight: 700;
  margin-bottom: 1.5em;
}

.project-card_title {
  font-size: 1.5em;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.8em;
}

.project-card_desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95em;
  line-height: 1.7;
  margin-bottom: 2em;
}

.project-card_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: auto;
}

.project-tag {
  font-size: 0.75em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4em;
}

.spec-table th,
.spec-table td {
  padding: 1.5em 1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.spec-table th {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-table td {
  font-size: 1.05em;
  color: var(--white);
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5em;
  margin-top: 5em;
}

@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3.5em;
  }
}

.contact-info_card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 3em 2.5em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.contact-info_item {
  padding: 2em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info_item:first-child {
  padding-top: 0;
}

.contact-info_item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info_label {
  font-size: 0.8em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 229, 255, 0.85);
  margin-bottom: 0.6em;
  font-weight: 700;
}

.contact-info_val {
  font-size: 1.15em;
  color: var(--white);
  line-height: 1.6;
  word-break: keep-all;
}

.contact-info_val a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info_val a:hover {
  color: #00e5ff;
}

.contact-form_card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 3.5em 3em;
}

@media (max-width: 767px) {
  .contact-form_card {
    padding: 2em 1.5em;
  }
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
  margin-bottom: 1.5em;
}

@media (max-width: 767px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.2em;
    margin-bottom: 1.2em;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5em;
}

.form-label {
  font-size: 0.8em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.8em;
  font-weight: 600;
}

.form-input,
.form-textarea,
.form-select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.35rem;
  padding: 1em 1.2em;
  color: var(--white);
  font-size: 1em;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.7);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.channel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
  margin-top: 4em;
}

.channel-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 2.5em 2em;
  transition: all 0.3s ease;
}

.channel-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 229, 255, 0.4);
  transform: translateY(-4px);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  background: var(--white);
  color: #000;
  padding: 1.2em 2.5em;
  border-radius: 0.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9em;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1em;
  width: 100%;
}

.submit-btn:hover {
  background: #00e5ff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.3);
}
