html, body {
  overflow-x: hidden;
}

:root {
  --gold1: #b9935a;
  --gold2: #e6c07b;
  --black: #000;
  --white: #fff;
  --serif: 'Playfair Display', serif;
  --sans: 'Inter', Arial, sans-serif;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--black);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 60px;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--gold2);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--serif);
  transition: color 0.3s;
}

nav a.active, nav a:hover {
  color: var(--gold1);
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--gold2);
  cursor: pointer;
}

.hero {
  min-height: 420px;
  background: linear-gradient(135deg, var(--gold1) 0%, var(--gold2) 100%);
  color: var(--black);
  text-align: center;
  padding: 6rem 2rem 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  min-height: 180px;
  max-height: 320px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: var(--serif);
  font-size: 2.8rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.btn-gold {
  background: linear-gradient(90deg, var(--gold1), var(--gold2));
  color: var(--black);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(185,147,90,0.2);
  transition: background 0.3s, transform 0.2s;
}

.btn-gold:hover {
  background: linear-gradient(90deg, var(--gold2), var(--gold1));
  transform: translateY(-3px) scale(1.05);
}

.about, .services, .contact {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.about-logo-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
.about-logo-banner img {
  max-width: 420px;
  width: 90vw;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(230,192,123,0.18), 0 0 0 4px rgba(185,147,90,0.08);
  background: var(--black);
  padding: 0.5rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-logo-banner img:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 16px 64px 0 var(--gold2), 0 0 0 6px var(--gold1);
}
.about h2 {
  font-family: var(--serif);
  color: var(--gold2);
  font-size: 2.3rem;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 16px rgba(230,192,123,0.18);
}
.about p {
  font-size: 1.18rem;
  color: var(--white);
  background: rgba(0,0,0,0.18);
  border-left: 4px solid var(--gold1);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  line-height: 1.7;
  box-shadow: 0 2px 16px rgba(185,147,90,0.08);
  margin: 0 auto 0 auto;
  max-width: 700px;
}
@media (max-width: 700px) {
  .about-logo-banner img {
    max-width: 98vw;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
  }
  .about p {
    font-size: 1.01rem;
    padding: 0.7rem 0.5rem;
  }
}

.highlight {
  display: inline-block;
  position: relative;
  color: var(--gold2);
  font-family: var(--serif);
}
.highlight::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold1), var(--gold2));
  border-radius: 2px;
  animation: underline-gold 2s infinite alternate;
}
@keyframes underline-gold {
  0% { width: 60%; left: 20%; opacity: 0.7; }
  100% { width: 100%; left: 0; opacity: 1; }
}

.service-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  overflow-x: auto;
}

.card {
  background: rgba(0,0,0,0.92);
  border: 2px solid var(--gold1);
  border-radius: 18px;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  width: 300px;
  box-shadow: 0 2px 16px rgba(185,147,90,0.15);
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  animation: cardFadeIn 1s forwards;
}
.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.5s; }
.card:nth-child(3) { animation-delay: 0.8s; }

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 8px 32px rgba(230,192,123,0.25), 0 0 16px 2px var(--gold2);
  border: 2px solid var(--gold2);
}

.card .icon {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card .icon svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 8px #e6c07b88);
  transition: filter 0.3s;
}
.card:hover .icon svg {
  filter: drop-shadow(0 0 16px #e6c07b);
}

.card h3 {
  color: var(--gold2);
  font-family: var(--serif);
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.card p {
  font-size: 1.05rem;
  color: #f5e9d6;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input, .contact textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--gold1);
  background: #181818;
  color: var(--white);
  font-size: 1rem;
  resize: none;
}

.contact button {
  align-self: flex-start;
}

footer {
  background: var(--black);
  color: var(--gold2);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
  .service-cards {
    flex-wrap: nowrap;
    gap: 1.2rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  .card {
    min-width: 260px;
    max-width: 80vw;
    flex: 0 0 auto;
  }
}

@media (max-width: 700px) {
  body {
    overflow-x: hidden;
  }
  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
  }
  nav ul {
    flex-direction: column;
    gap: 1rem;
    display: none;
    background: var(--black);
    position: absolute;
    top: 70px;
    right: 1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  }
  nav ul.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 0;
    align-self: flex-end;
  }
  .logo img {
    height: 48px;
  }
  .team {
    padding: 2rem 0 1.2rem 0;
    overflow-x: hidden;
  }
  .team-cards {
    gap: 1.2rem;
    padding: 0;
    align-items: center;
  }
  .team-card {
    width: 100%;
    max-width: 95vw;
    margin: 0 auto 1.2rem auto;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 14px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
  }
  .team-photo {
    max-width: 100%;
    width: 120px;
    height: 140px;
    border-radius: 12px;
    margin-bottom: 0.7rem;
    object-fit: cover;
    display: block;
  }
  .team-info {
    width: 100%;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .team-info h3 {
    font-size: 1.1rem;
    margin-top: 0.2rem;
  }
  .team-info p, .team-desc {
    font-size: 0.97rem;
    margin-bottom: 0.3rem;
    word-break: break-word;
  }
  .hero-logo {
    max-width: 320px;
    width: 90vw;
    margin-bottom: 0.7rem;
  }
}

#connections-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}

section {
  position: relative;
}
section + section::before {
  content: '';
  display: block;
  width: 120px;
  height: 4px;
  margin: 0 auto 2.5rem auto;
  background: linear-gradient(90deg, var(--gold1), var(--gold2));
  border-radius: 2px;
  opacity: 0.85;
}

.team {
  padding: 4rem 2rem 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto 2rem auto;
  text-align: center;
  position: relative;
}
.team h2 {
  font-family: var(--serif);
  color: var(--gold2);
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 16px rgba(230,192,123,0.18);
}
.team-cards {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}
.team-card {
  background: linear-gradient(135deg, rgba(0,0,0,0.95) 80%, var(--gold1) 100%);
  border: 2.5px solid var(--gold1);
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(230,192,123,0.13), 0 0 24px 2px var(--gold1);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  width: 340px;
  max-width: 95vw;
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: teamCardFadeIn 1.1s forwards;
}
.team-card:nth-child(1) { animation-delay: 0.2s; }
.team-card:nth-child(2) { animation-delay: 0.5s; }
@keyframes teamCardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.team-card:hover {
  transform: translateY(-12px) scale(1.04) rotate(-1deg);
  box-shadow: 0 12px 48px 0 var(--gold2), 0 0 32px 2px var(--gold2);
  border: 2.5px solid var(--gold2);
}
.team-photo {
  width: 100%;
  max-width: 220px;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid var(--gold2);
  box-shadow: 0 4px 24px rgba(230,192,123,0.18);
  margin-bottom: 1.2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: var(--black);
}
.team-info h3 {
  font-family: var(--serif);
  color: var(--gold2);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
  margin-top: 0.5rem;
}
.team-info p {
  margin: 0.2rem 0 0.7rem 0;
  font-size: 1.08rem;
  color: var(--gold1);
  font-family: var(--sans);
}
.team-desc {
  color: var(--white);
  font-size: 1.01rem;
  margin-top: 0.7rem;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(185,147,90,0.08);
}
@media (max-width: 900px) {
  .team-cards {
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
  }
  .team-card {
    width: 98vw;
    max-width: 400px;
  }
}

.patent-feature {
  padding: 4rem 2rem 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto 2rem auto;
  text-align: center;
  position: relative;
}
.patent-feature h2 {
  font-family: var(--serif);
  color: var(--gold2);
  font-size: 2.2rem;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 16px rgba(230,192,123,0.18);
}
.patent-content {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.patent-image {
  flex: 1 1 340px;
  max-width: 400px;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.patent-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 18px;
  border: 3px solid var(--gold2);
  box-shadow: 0 4px 32px rgba(230,192,123,0.18);
  background: var(--black);
}
.patent-info {
  flex: 2 1 340px;
  text-align: left;
  min-width: 220px;
}
.patent-desc {
  color: var(--white);
  font-size: 1.13rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(185,147,90,0.08);
  border-left: 4px solid var(--gold1);
  padding-left: 1.2rem;
  background: rgba(0,0,0,0.18);
  border-radius: 8px;
}
@media (max-width: 900px) {
  .patent-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  .patent-info {
    text-align: center;
  }
  .patent-desc {
    border-left: none;
    border-top: 4px solid var(--gold1);
    padding-left: 0;
    padding-top: 0.7rem;
    border-radius: 8px;
  }
}
@media (max-width: 700px) {
  .patent-feature {
    padding: 2rem 0.5rem 1.2rem 0.5rem;
  }
  .patent-image img {
    max-width: 98vw;
    border-radius: 10px;
  }
  .patent-info {
    min-width: 0;
    width: 100%;
    padding: 0 0.2rem;
  }
  .patent-desc {
    font-size: 1.01rem;
    margin-bottom: 0.7rem;
    padding: 0.5rem 0.2rem;
  }
}

.hero-logo {
  max-width: 600px;
  width: 100%;
  display: block;
  margin: 0 auto 2rem auto;
  height: auto;
}
@media (max-width: 700px) {
  .hero-logo {
    max-width: 320px;
    width: 90vw;
    margin-bottom: 0.7rem;
  }
}

.rhythms-social {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.rhythms-social h2 {
  font-family: var(--serif);
  color: var(--gold2);
  font-size: 2.3rem;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 16px rgba(230,192,123,0.18);
  text-align: center;
}
.rhythms-social-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.rhythms-social-image img {
  max-width: 320px;
  width: 90vw;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(230,192,123,0.18), 0 0 0 4px rgba(185,147,90,0.08);
  background: var(--black);
  padding: 0.5rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.rhythms-social-image img:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 16px 64px 0 var(--gold2), 0 0 0 6px var(--gold1);
}
.rhythms-social-info {
  max-width: 420px;
  color: var(--white);
  background: rgba(0,0,0,0.18);
  border-left: 4px solid var(--gold1);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  line-height: 1.7;
  box-shadow: 0 2px 16px rgba(185,147,90,0.08);
}
.rhythms-social-info h3 {
  color: var(--gold1);
  font-family: var(--serif);
  margin-top: 0;
}
@media (max-width: 700px) {
  .rhythms-social-content {
    flex-direction: column;
    gap: 1.2rem;
  }
  .rhythms-social-image img {
    max-width: 98vw;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
  }
  .rhythms-social-info {
    font-size: 1.01rem;
    padding: 0.7rem 0.5rem;
  }
}

@media (min-width: 901px) {
  .services {
    max-height: 100vh;
    overflow-y: auto;
  }
} 