/* DGM Global holding page. Built to Jemma's approved design (Halo 109418, 2 Nov 2026), measured at 1920 x 1079. */
:root {
  --bg: #00051f;
  --panel: #030822;
  --panel-line: #4a4e60;
  --field-line: #3a4064;
  --button: #0d122b;
  --button-line: #6f7383;
  --text: #ffffff;
  --placeholder: #eef0f5;
  --footer: #9ba9c0;
  --error: #ff8a8a;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: Montserrat, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 23px;
}
.logo { display: block; width: 278px; max-width: 64vw; height: auto; }
.global {
  margin: 34px 0 0;
  font-weight: 800;
  font-size: 33px;
  line-height: 1;
  letter-spacing: 0.43em;
  margin-right: -0.43em; /* keep the spaced word optically centred */
}
.soon {
  margin: 52px 0 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
  text-transform: uppercase;
}
.enquiry {
  margin-top: 106px;
  width: 803px;
  max-width: 100%;
  padding: 36px 19px 26px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
}
.enquiry h2 {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.fields {
  margin-top: 29px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas: "first email message" "surname phone message";
  column-gap: 56px;
  row-gap: 35px;
}
.f-first { grid-area: first; }
.f-surname { grid-area: surname; }
.f-email { grid-area: email; }
.f-phone { grid-area: phone; }
.f-message { grid-area: message; }
.field { display: block; position: relative; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
input, textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 1px 7px;
  height: 34px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--field-line);
  border-radius: 0;
  color: var(--text);
  font: 300 14px/20px Montserrat, "Segoe UI", Helvetica, Arial, sans-serif;
  outline: none;
}
input { padding-top: 6px; }
textarea {
  height: 103px;           /* spans both rows, ruled at the first row's line like the design */
  padding-top: 5px;
  resize: none;
  background: linear-gradient(to bottom, transparent 33px, var(--field-line) 33px, var(--field-line) 34px, transparent 34px);
}
textarea:not(:placeholder-shown) { background: none; }
::placeholder { color: var(--placeholder); opacity: 1; }
input:focus, textarea:focus { border-bottom-color: #8a90b8; }
.field.invalid input, .field.invalid textarea { border-bottom-color: var(--error); }
button {
  display: block;
  margin: 33px auto 0;
  width: 178px;
  height: 45px;
  background: var(--button);
  color: var(--text);
  border: 1px solid var(--button-line);
  border-radius: 0;
  font: 500 14px/1 Montserrat, "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: 0.2em;
  padding: 0 0 0 6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
}
button:hover, button:focus-visible { background: #ffffff; color: var(--bg); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ts { display: flex; justify-content: center; }
button:disabled { opacity: .6; cursor: progress; }
.status a { color: #ffffff; }
.status { margin: 14px 0 0; min-height: 1em; text-align: center; font-size: 13px; color: var(--placeholder); }
.status:empty { display: none; }
footer {
  padding: 0 59px 43px;
  font: 400 12px/1 Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
  color: var(--footer);
}

@media (max-width: 860px) {
  main { padding: 64px 16px 56px; justify-content: flex-start; }
  .logo { width: 200px; margin-top: 24px; }
  .global { font-size: 24px; margin-top: 24px; }
  .soon { font-size: 15px; margin-top: 40px; }
  .enquiry { margin-top: 56px; padding: 28px 18px 24px; }
  .fields {
    grid-template-columns: 1fr;
    grid-template-areas: "first" "surname" "email" "phone" "message";
    row-gap: 18px;
  }
  footer { padding: 0 16px 28px; text-align: center; }
}
