/* ================================================================
   LOADSPEAR MEDIA HOLDING PAGE

   The easiest things to edit are collected below as variables.
   Change a colour once here and it will update everywhere.
   ================================================================ */

:root {
  /* Brand colours */
  --warm-off-white: #f2eee4;
  --deep-petrol: #142f35;
  --petrol-blue: #176575;
  --soft-teal: #4f938c;
  --sage: #9daf91;
  --brass: #b28a48;

  /* Typefaces: these are standard fonts, so nothing needs installing. */
  --heading-font: Georgia, "Times New Roman", serif;
  --body-font: Arial, Helvetica, sans-serif;

  /* Page sizing */
  --page-width: 760px;
  --side-space: clamp(24px, 6vw, 72px);
  --strip-height: 8px;
}

/* A small reset keeps spacing predictable in every browser. */
* {
  box-sizing: border-box;
}

html {
  background: var(--warm-off-white);
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: var(--strip-height) 1fr auto var(--strip-height);
  color: var(--deep-petrol);
  background: var(--warm-off-white);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Segmented brand-colour strips ---------- */

.colour-strip {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr 0.65fr 1.15fr;
  gap: 4px;
  padding-inline: 4px;
}

.colour-strip span:nth-child(1) { background: var(--deep-petrol); }
.colour-strip span:nth-child(2) { background: var(--petrol-blue); }
.colour-strip span:nth-child(3) { background: var(--soft-teal); }
.colour-strip span:nth-child(4) { background: var(--sage); }
.colour-strip span:nth-child(5) { background: var(--brass); }

/* The bottom strip reverses the colour order for a subtle mirror effect. */
.colour-strip-bottom {
  transform: rotate(180deg);
}

/* ---------- Main page ---------- */

.holding-page {
  display: grid;
  place-items: center;
  padding: clamp(56px, 9vh, 110px) var(--side-space) 42px;
}

.content {
  width: min(100%, var(--page-width));
  text-align: center;
}

/* ---------- Logo and wordmark ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 32px);
  margin-bottom: clamp(42px, 7vh, 72px);
  text-align: left;
}

/* Temporary square logo tile. Replace it using the note in index.html. */
.logo-placeholder {
  position: relative;
  flex: 0 0 auto;
  width: 94px;
  height: 94px;
  overflow: hidden;
  background: var(--deep-petrol);
}

/* These two shapes create the simple abstract placeholder mark. */
.logo-shape {
  position: absolute;
  width: 53px;
  height: 18px;
  border-radius: 1px;
  transform: rotate(-32deg);
}

.logo-shape-one {
  top: 27px;
  left: 12px;
  background: var(--soft-teal);
}

.logo-shape-two {
  right: 10px;
  bottom: 26px;
  background: var(--petrol-blue);
}

/* Styling for Sarah's real logo image when it is added later. */
.real-logo {
  display: block;
  width: 94px;
  height: auto;
}

.wordmark p {
  margin: 0;
}

.company-name {
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.company-type {
  margin-top: 9px !important;
  color: var(--petrol-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ---------- Main wording ---------- */

h1 {
  max-width: 670px;
  margin: 0 auto;
  font-family: "Source Sans Variable", "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: clamp(2.35rem, 7vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.03;
  text-wrap: balance;
}

.services {
  margin: 30px auto 0;
  color: var(--petrol-blue);
  font-size: clamp(0.7rem, 1.8vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 2;
  text-transform: uppercase;
}

.services span {
  margin-inline: 0.45em;
  color: var(--brass);
}

.coming-soon {
  margin: clamp(42px, 7vh, 68px) 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.supporting-copy {
  max-width: 540px;
  margin: 18px auto 0;
  color: #455a5b;
  font-family: var(--heading-font);
  font-size: clamp(1rem, 2.5vw, 1.16rem);
  line-height: 1.65;
}

/* ---------- Contact button ---------- */

.contact-button {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 25px;
  border: 1px solid var(--deep-petrol);
  color: var(--warm-off-white);
  background: var(--deep-petrol);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  color: var(--deep-petrol);
  background: transparent;
}

.contact-button:focus-visible,
footer a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

/* ---------- Minimal footer ---------- */

footer {
  padding: 0 var(--side-space) 24px;
  text-align: center;
}

footer p {
  margin: 0;
  color: #607172;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

footer a {
  color: inherit;
  text-underline-offset: 3px;
}

/* ---------- Small-screen adjustments ---------- */

@media (max-width: 540px) {
  .holding-page {
    align-items: start;
    padding-top: 54px;
  }

  .brand {
    flex-direction: column;
    text-align: center;
  }

  .logo-placeholder,
  .real-logo {
    width: 82px;
  }

  .logo-placeholder {
    height: 82px;
  }

  .logo-shape {
    width: 47px;
    height: 16px;
  }

  .logo-shape-one { top: 23px; left: 10px; }
  .logo-shape-two { right: 8px; bottom: 23px; }

  .company-name {
    letter-spacing: 0.12em;
  }

  .services span {
    margin-inline: 0.2em;
  }
}

/* Respect visitors who prefer less animation. */
@media (prefers-reduced-motion: reduce) {
  .contact-button {
    transition: none;
  }
}
