/* willclareweb — holding page
   Brand tokens match the willclareweb Brand Guidelines v1.1 */

@font-face {
  font-family: "Georama";
  src: url("fonts/georama-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Victor Mono Oblique";
  src: url("fonts/victor-mono-oblique.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --wcw-blue: #0978A6;
  --wcw-ember: #FB9447;
  --wcw-dusk: #988480;
  /* Neutrals */
  --wcw-paper: #EFEEEB;
  --wcw-graphite: #313131;
  --wcw-white: #FFFFFF;
  /* Text-safe shades */
  --wcw-deep-blue: #076C96;
  --wcw-deep-dusk: #6E5E5A;
  --wcw-light-dusk: #B5A6A2;
  /* Decorative gradient (the logo itself uses 118deg, 0–72%) */
  --wcw-gradient: linear-gradient(118deg, var(--wcw-blue) 0%, var(--wcw-ember) 72%);
  --wcw-gradient-bar: linear-gradient(90deg, var(--wcw-blue), var(--wcw-ember));

  /* Type */
  --font-display: "Georama", system-ui, sans-serif;
  --font-body: "Georama", system-ui, sans-serif;
  --font-mono: "Victor Mono Oblique", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Theme (light) */
  --bg: var(--wcw-paper);
  --text: var(--wcw-graphite);
  --text-muted: var(--wcw-deep-dusk);
  --link: var(--wcw-deep-blue);
  --rule: rgba(49, 49, 49, 0.14);
  --btn-bg: var(--wcw-ember);
  --btn-text: var(--wcw-graphite);
  --focus: var(--wcw-deep-blue);

  /* Lockup: mark width drives everything */
  --mark: clamp(6.5rem, 26vw, 9rem);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--wcw-graphite);
    --text: var(--wcw-paper);
    --text-muted: var(--wcw-light-dusk);
    --link: var(--wcw-ember);
    --rule: rgba(239, 238, 235, 0.16);
    --focus: var(--wcw-ember);
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* Decorative gradient bar */
body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--wcw-gradient-bar);
}

a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

main {
  flex: 1;
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Stacked lockup */
.lockup {
  margin: 0 0 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--mark) * 0.06);
  line-height: 1;
}
.lockup .mark {
  width: var(--mark);
  height: auto;
  display: block;
}
/* Outlined wordmark artwork: width = 1.4 × mark width */
.wordmark,
.wordmark img {
  display: block;
  width: calc(var(--mark) * 1.4);
  height: auto;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.lede {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.intro {
  margin: 0 0 2rem;
  max-width: 32rem;
  text-wrap: pretty;
}

.services {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}
.services li {
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--text-muted);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
}
.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 0.6rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -8px rgba(251, 148, 71, 0.8);
}
.contact .linkedin { font-weight: 500; }

footer {
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}
