*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  background: #ffffff;
  height: 500vh;
  overflow-x: hidden;
  font-family: 'DM Sans', sans-serif;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  display: block;
}

#intro {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

#line-top-wrap,
#line-bottom-wrap {
  width: 100%;
  display: flex;
}

#line-top,
#line-bottom {
  width: 100%;
  display: block;
  overflow: visible;
}

#text-studio {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 4.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #000;
  white-space: nowrap;
}

#text-daley {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #000;
  white-space: nowrap;
}

/* ── Content Blocks ── */

.content-block {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  width: clamp(220px, 28vw, 400px);
}

.block-left {
  left: clamp(24px, 4vw, 64px);
}

.block-right {
  right: clamp(24px, 4vw, 64px);
  text-align: right;
}

.content-block h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(17px, 2vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #000;
  margin-bottom: 10px;
}

.block-line {
  display: block;
  width: 100%;
  margin-bottom: 16px;
}

.block-right .block-line {
  margin-left: auto;
}

.content-block p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(11px, 0.95vw, 14px);
  line-height: 1.75;
  color: #222;
}

/* ── Form Block ── */

.form-subtitle {
  color: #666;
  margin-bottom: 28px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

#contact-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #000;
  padding: 11px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 300;
  outline: none;
  color: #000;
  letter-spacing: 0.01em;
}

#contact-form input::placeholder {
  color: #aaa;
}

#contact-form button {
  margin-top: 22px;
  align-self: flex-start;
  background: transparent;
  color: #000;
  border: 1px solid #000;
  padding: 9px 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(10px, 0.8vw, 12px);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

#contact-form button:hover {
  background: #000;
  color: #fff;
}

#contact-form button:disabled {
  opacity: 0.5;
  cursor: default;
}

#form-message {
  margin-top: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.form-msg-ok  { color: #000; }
.form-msg-err { color: #c00; }
