/* Colours taken from the business card: charcoal card, gold house, light grey text */
:root {
  --bg: #26272b;
  --bg-alt: #2f3035;
  --gold: #e9b52a;
  --grey: #9a9ca3;
  --text: #ecebe7;
  --font: "Oswald", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid #3a3b40;
  position: sticky;
  top: 0;
  background: rgba(38, 39, 43, 0.95);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  letter-spacing: 0.12em;
  font-weight: 600;
}

nav a {
  color: var(--text);
  margin-left: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
nav a:hover { color: var(--gold); text-decoration: none; }

.hero {
  min-height: min(80vh, 640px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

.hero-logo { width: min(220px, 50vw); height: auto; }

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  letter-spacing: 0.18em;
  font-weight: 500;
  margin: 0.8rem 0;
}

/* The thin lines with end ticks above and below the name on the card */
.rule {
  width: min(520px, 80vw);
  height: 1px;
  background: var(--text);
  position: relative;
}
.rule::before,
.rule::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: var(--text);
}
.rule::before { left: 0; }
.rule::after { right: 0; }

.tagline {
  color: var(--grey);
  letter-spacing: 0.06em;
  margin: 1.2rem 0 2rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border: 2px solid var(--gold);
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.button:hover { background: var(--gold); color: var(--bg); text-decoration: none; }

.section { padding: 4rem 1.5rem; max-width: 1000px; margin: 0 auto; }
.section.alt { max-width: none; background: var(--bg-alt); }
.section.alt > * { max-width: 1000px; margin-left: auto; margin-right: auto; }

h2 {
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  margin-top: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-alt);
  border-top: 3px solid var(--gold);
  padding: 1.5rem;
}
.card h3 { margin-top: 0; letter-spacing: 0.08em; }
.card p { color: var(--grey); margin-bottom: 0; }

.lead { text-align: center; color: var(--text); font-size: 1.1rem; }

.contact { text-align: center; font-size: 1.15rem; }
.contact p { margin: 0.3rem 0; }
.contact .name { font-size: 1.4rem; letter-spacing: 0.08em; }

.site-footer {
  text-align: center;
  color: var(--grey);
  font-size: 0.85rem;
  padding: 2rem 1rem;
  border-top: 1px solid #3a3b40;
}

@media (max-width: 600px) {
  nav a { margin-left: 0.8rem; font-size: 0.8rem; }
  .brand span { font-size: 0.85rem; }
}
