:root {
  --cream: #f7f1e9;
  --paper: #fffaf4;
  --ink: #171716;
  --rose: #bd8277;
  --blush: #ead4cc;
  --taupe: #b8a08e;
  --line: #d9c9bd;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
}
.nav {
  height: 84px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(247, 241, 233, 0.88);
  backdrop-filter: blur(14px);
  z-index: 20;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.brand-header {
  gap: 8px;
}
.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
.brand-monogram {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  font:
    600 24px/0.8 "Playfair Display",
    serif;
  letter-spacing: -0.18em;
  color: var(--ink);
}
.brand-letter-l,
.brand-letter-s {
  display: block;
}
.brand-letter-s {
  margin-left: -0.16em;
  font-style: italic;
}
.brand-dot {
  position: absolute;
  right: -0.16em;
  top: -0.08em;
  font-size: 0.38em;
  line-height: 1;
  color: var(--rose);
}
.nav nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
}
.nav-cta {
  border: 1px solid var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
}
.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
}
.brand-lockup {
  margin-bottom: 20px;
}
.brand-lockup-logo {
  display: block;
  width: min(18rem, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(23, 23, 22, 0.1));
}
.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding: 7vw 7vw 8vw;
  overflow: hidden;
}
.eyebrow {
  letter-spacing: 0.28em;
  font-size: 11px;
  font-weight: 500;
}
.hero h1,
.section h2 {
  font:
    500 clamp(54px, 6.5vw, 104px)/0.95 "Playfair Display",
    serif;
  margin: 28px 0;
}
.hero h1 em,
.section h2 em {
  font-weight: 500;
  color: var(--rose);
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 560px;
}
.actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
}
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 15px 24px;
  text-decoration: none;
  border: 0;
  font: 500 13px "DM Sans";
  cursor: pointer;
}
.primary {
  background: var(--rose);
  color: white;
}
.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.hero-art {
  height: 600px;
  position: relative;
}
.arch {
  position: absolute;
  width: 75%;
  height: 92%;
  right: 0;
  bottom: 0;
  background: linear-gradient(150deg, #d9c0ae, #a98f7b);
  border-radius: 260px 260px 30px 30px;
}
.browser {
  position: absolute;
  width: 80%;
  height: 56%;
  right: 5%;
  top: 23%;
  background: var(--paper);
  border: 9px solid #202020;
  border-radius: 15px;
  box-shadow: 0 28px 60px #6f5d5055;
}
.dots {
  height: 28px;
  border-bottom: 1px solid #ddd;
  padding: 7px;
}
.dots i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #c6b3a5;
  border-radius: 50%;
  margin-right: 4px;
}
.mini {
  padding: 8%;
}
.mini small {
  letter-spacing: 0.25em;
}
.mini h2 {
  font-size: 36px;
  margin: 25px 0;
}
.mini span {
  font-size: 10px;
  letter-spacing: 0.2em;
}
.phone {
  position: absolute;
  width: 150px;
  height: 290px;
  right: -3%;
  bottom: 2%;
  border: 8px solid #171717;
  border-radius: 30px;
  background: #fff;
  transform: rotate(6deg);
  box-shadow: 0 20px 40px #0003;
}
.phone-screen {
  padding: 35px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.phone-screen small {
  letter-spacing: 0.15em;
}
.phone-screen strong {
  font: 500 25px/1.15 "Playfair Display";
}
.phone-screen span {
  color: var(--rose);
  font-size: 25px;
}
.spark {
  position: absolute;
  left: 6%;
  top: 12%;
  font-size: 55px;
  color: var(--rose);
}
.section {
  padding: 110px 7vw;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}
.section-title h2 {
  font-size: clamp(48px, 5vw, 78px);
}
.section-title > p {
  max-width: 430px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.services {
  background: var(--paper);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
}
.card {
  padding: 42px;
  border: 1px solid var(--line);
  min-height: 330px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.card span {
  color: var(--rose);
  font-family: "Playfair Display";
  font-size: 28px;
}
.card h3 {
  font: 500 34px "Playfair Display";
  margin: 45px 0 15px;
}
.card p {
  line-height: 1.7;
}
.card b {
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-top: auto;
  font-weight: 500;
}
.featured {
  background: var(--blush);
  border-color: var(--blush);
}
.projects {
  background: #e7dbcf;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 50px;
}
.project-visual {
  height: 520px;
  padding: 9%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coffee {
  background: #c5a28d;
}
.studio {
  background: #d8c9b9;
}
.mock {
  background: var(--paper);
  width: 90%;
  height: 75%;
  padding: 12%;
  box-shadow: 0 25px 50px #59473b33;
}
.mock small {
  letter-spacing: 0.2em;
}
.mock h3 {
  font: 500 40px/1.1 "Playfair Display";
  margin: 30px 0;
}
.mock button {
  background: var(--rose);
  border: 0;
  color: white;
  padding: 12px 16px;
  font-size: 10px;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project-meta h3 {
  font: 500 26px "Playfair Display";
  margin-bottom: 4px;
}
.project-meta p {
  font-size: 12px;
}
.project-meta span {
  font-size: 32px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  background: var(--paper);
  align-items: center;
}
.about-art {
  height: 560px;
  background: var(--blush);
  border-radius: 300px 300px 10px 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15%;
}
.quote {
  font: italic 500 34px/1.35 "Playfair Display";
  text-align: center;
}
.big-star {
  position: absolute;
  font-size: 50px;
  color: var(--rose);
  bottom: 8%;
  right: 15%;
}
.about-copy h2 {
  font-size: clamp(48px, 5vw, 75px);
}
.about-copy > p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 560px;
}
.text-link {
  display: inline-block;
  color: var(--ink);
  margin-top: 20px;
  text-underline-offset: 7px;
}
.process {
  text-align: center;
}
.process h2 {
  font-size: clamp(48px, 5vw, 76px);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: left;
  margin-top: 65px;
  border-top: 1px solid var(--line);
}
.steps div {
  padding: 35px 25px;
  border-right: 1px solid var(--line);
}
.steps span {
  color: var(--rose);
  font-family: "Playfair Display";
  font-size: 24px;
}
.steps h3 {
  font: 500 26px "Playfair Display";
  margin: 25px 0 10px;
}
.steps p {
  font-size: 14px;
  line-height: 1.6;
}
.contact {
  background: #272320;
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
}
.contact h2 {
  font-size: clamp(52px, 6vw, 88px);
}
.contact-copy > p {
  line-height: 1.8;
  max-width: 500px;
}
.contact-copy > a {
  color: var(--blush);
  display: inline-block;
  margin-top: 25px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-form label {
  font-size: 11px;
  letter-spacing: 0.15em;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 9px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #766e68;
  padding: 12px 0;
  color: white;
  font: 16px "DM Sans";
  outline: none;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form small {
  color: #aaa;
  line-height: 1.5;
}
footer {
  padding: 38px 7vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 850px) {
  .nav nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 30px 7vw;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav nav.open {
    display: flex;
  }
  .menu {
    display: block;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }
  .hero-art {
    height: 480px;
    margin-top: 50px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .section {
    padding: 80px 7vw;
  }
  .section-title {
    display: block;
  }
  .cards,
  .project-grid,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 12px;
  }
  .project-visual {
    height: 390px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .about-art {
    height: 450px;
  }
  .contact {
    gap: 60px;
  }
  footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
@media (max-width: 520px) {
  .hero h1 {
    font-size: 46px;
  }
  .hero-art {
    height: 390px;
  }
  .browser {
    width: 95%;
    right: 0;
  }
  .phone {
    width: 115px;
    height: 225px;
  }
  .phone-screen strong {
    font-size: 19px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .project-visual {
    height: 320px;
  }
  .mock h3 {
    font-size: 30px;
  }
  .actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.mastersound {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0c0c10, #1d1828);
  isolation: isolate;
}
.sound-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.75;
}
.glow-one {
  width: 340px;
  height: 340px;
  background: #7040a8;
  right: -90px;
  top: -100px;
}
.glow-two {
  width: 260px;
  height: 260px;
  background: #a55b86;
  left: -100px;
  bottom: -100px;
}
.ms-browser {
  position: relative;
  z-index: 2;
  width: 82%;
  height: 72%;
  background: #101014;
  border: 7px solid #2c2c31;
  border-radius: 12px;
  box-shadow: 0 28px 55px #0008;
  color: #fff;
  padding: 5% 6%;
}
.ms-top {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 11px;
  letter-spacing: 0.18em;
  border-bottom: 1px solid #ffffff22;
  padding-bottom: 14px;
}
.ms-top b {
  font-weight: 600;
}
.ms-top small {
  margin-left: auto;
  font-size: 7px;
  color: #aaa;
}
.ms-content {
  padding-top: 14%;
}
.ms-content p {
  font-size: 8px;
  letter-spacing: 0.25em;
  color: #c6a5d9;
}
.ms-content h3 {
  font:
    500 36px/1.05 "Playfair Display",
    serif;
  margin: 16px 0 28px;
}
.ms-content h3 em {
  color: #c29ad7;
  font-weight: 500;
}
.ms-button {
  font-size: 8px;
  letter-spacing: 0.15em;
  border: 1px solid #ffffff66;
  padding: 10px 13px;
}
.ms-phone {
  position: absolute;
  z-index: 3;
  right: 5%;
  bottom: 5%;
  width: 105px;
  height: 205px;
  border: 6px solid #222;
  border-radius: 23px;
  background: linear-gradient(160deg, #18151d, #30243d);
  box-shadow: 0 18px 30px #0008;
  color: white;
  padding: 28px 12px;
  display: flex;
  flex-direction: column;
  gap: 45px;
}
.ms-phone span {
  font-size: 10px;
  letter-spacing: 0.2em;
}
.ms-phone strong {
  font: 500 17px/1.1 "Playfair Display";
}
.real-label,
.concept-label {
  font-size: 9px !important;
  letter-spacing: 0.18em;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 8px;
}
.mastersound-project .project-meta span {
  transition: 0.25s;
}
.mastersound-project:hover .project-meta span {
  transform: translate(5px, -5px);
}

.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.contact-form .form-status {
  min-height: 1.5em;
}
.contact-form .form-status.success {
  color: #b8deb8;
}
.contact-form .form-status.error {
  color: #ffb4b4;
}

/* MasterSound: captura real del proyecto */
.mastersound-real {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #d7c4b7, #a98d7c);
  padding: 7%;
  isolation: isolate;
}
.real-browser {
  position: relative;
  width: 90%;
  margin-right: 7%;
  background: #161616;
  border: 7px solid #242424;
  border-radius: 12px;
  box-shadow: 0 28px 55px #0005;
  overflow: hidden;
  z-index: 2;
}
.browser-bar {
  height: 28px;
  background: #202020;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  color: #aaa;
  font-size: 7px;
}
.browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #777;
}
.browser-bar span {
  margin-left: 8px;
  opacity: 0.75;
}
.real-browser img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1902/800;
  object-fit: cover;
}
.real-phone {
  position: absolute;
  z-index: 4;
  right: 5%;
  bottom: 5%;
  width: 105px;
  height: 205px;
  border: 6px solid #181818;
  border-radius: 24px;
  background: linear-gradient(155deg, #171717, #050505);
  box-shadow: 0 18px 32px #0007;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.phone-notch {
  position: absolute;
  top: 6px;
  width: 42px;
  height: 9px;
  background: #050505;
  border-radius: 0 0 8px 8px;
}
.ms-logo {
  width: 55px;
  height: 55px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
}
.ms-logo span {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.12em;
  margin-left: -3px;
}
.real-phone strong {
  font-size: 13px;
}
.real-phone small {
  font-size: 6px;
  letter-spacing: 0.45em;
  margin: 5px 0 0 3px;
}
@media (max-width: 520px) {
  .real-phone {
    width: 78px;
    height: 155px;
    border-width: 4px;
  }
  .ms-logo {
    width: 42px;
    height: 42px;
  }
  .real-browser {
    width: 94%;
    margin-right: 4%;
  }
}
