/* ==========================================================================
   brandtkrueger.com  —  rebuilt static site
   Palette + metrics sampled directly from the reference screenshots.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600&family=Lato:wght@300;400;700&display=swap');

:root {
  /* --- Colour (sampled from reference screenshots, not guessed) --- */
  --bar:        #2a2121;   /* header + footer bar, warm near-black brown */
  --bg-dark:    #1a1923;   /* page background, darkest corner            */
  --bg-light:   #262835;   /* page background, lighter diagonal streak   */
  --gold:       #e1bf7e;   /* headings, nav, accents, button fill        */
  --ink:        #ffffff;   /* body copy, wordmark, captions              */
  --ink-soft:   #cfcbd6;   /* de-emphasised copy, form hints             */
  --field:      #fafafa;   /* form input fill                            */
  --field-ink:  #1a1923;   /* text typed into a form field               */

  /* --- Type ---
     The live site uses Proxima Nova for headings. It is a commercial face
     licensed to Squarespace, so it is listed first and will be picked up
     automatically if a licence is ever added (Adobe web project, or a
     self-hosted @font-face). Metropolis is the closest free stand-in if
     self-hosted. Figtree loads from Google Fonts today so the site renders
     correctly with zero extra files. Swap by editing this one line. */
  --font-head: 'Proxima Nova', 'Metropolis', 'Figtree', 'Montserrat',
               -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont,
               'Helvetica Neue', Arial, sans-serif;

  /* --- Metrics --- */
  --gutter: 4vw;
  --measure: 46rem;        /* comfortable reading column */
  --bar-pad: 1.6rem;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 300;
  color: var(--gold);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

/* Keyboard focus stays visible — the gold-on-dark default is too faint. */
a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--gold); color: var(--bar);
  padding: 0.75rem 1.25rem; z-index: 100; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: var(--bar-pad) var(--gutter);
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.7rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
/* On the homepage the hero carries the name, so the bar wordmark is hidden
   but kept in the DOM for screen readers and for layout balance. */
body.is-home .wordmark { visibility: hidden; }

.main-nav { display: flex; align-items: center; gap: 1.9rem; flex-wrap: wrap; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--gold);
  text-decoration: none;
  padding-bottom: 2px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { border-bottom: 1px solid currentColor; }

.social { display: flex; align-items: center; gap: 1rem; }
.social a { display: flex; color: var(--gold); }
.social a:hover { color: var(--ink); }
.social svg { width: 19px; height: 19px; fill: currentColor; display: block; }

/* ==========================================================================
   Page shell
   ========================================================================== */

main {
  flex: 1 0 auto;
  background:
    linear-gradient(118deg, var(--bg-light) 0%, var(--bg-dark) 42%, var(--bg-dark) 100%);
}

.page-head { text-align: center; padding: 5rem var(--gutter) 0; }
.page-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: 0.35em; }
.page-head .deck {
  font-family: var(--font-head);
  font-weight: 300;
  color: var(--gold);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  margin: 0;
}

.wrap  { max-width: 60rem; margin: 0 auto; padding: 3rem var(--gutter) 5rem; }
.wrap--narrow { max-width: var(--measure); }
.wrap p { margin: 0 0 1.25em; }

/* ==========================================================================
   Home hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 30%;
  padding: 4rem var(--gutter);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20, 16, 16, 0.58);
}
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: 68rem; margin: 0 auto; }

.hero__name {
  font-size: clamp(2.7rem, 7.4vw, 6.4rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  /* Right-aligned at every width so the final R shares an edge with the
     detail block below. Measured off the reference: the two right edges
     match to within 3px at 1.54 aspect ratio. */
  text-align: right;
  margin: 0 0 1.6rem;
  color: var(--gold);
}
/* Everything below the name is right-aligned on the live site. */
.hero__detail { text-align: right; }
.hero__tagline {
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  color: var(--gold);
  font-size: clamp(0.95rem, 1.5vw, 1.22rem);
  letter-spacing: 0.03em;
  line-height: 1.75;
  margin: 0 0 2rem;
}
.hero__meta {
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.hero__meta--gold  { color: var(--gold); }
.hero__meta--plain { color: var(--ink); margin-bottom: 1.8rem; }
.hero__role {
  font-family: var(--font-head);
  font-weight: 300;
  color: var(--ink);
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}
.hero__role a { color: var(--gold); text-decoration: none; }
.hero__role a:hover { text-decoration: underline; }

/* ==========================================================================
   What's New — tile grid
   ========================================================================== */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.6rem 1.7rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 6rem;
}
.tile { text-decoration: none; color: inherit; display: block; }
.tile img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-light);
}
.tile__cap {
  text-align: center;
  color: var(--ink);
  margin: 0.9rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
}
.tile:hover .tile__cap { color: var(--gold); }

/* ==========================================================================
   About
   ========================================================================== */

.about-lede {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4vw;
  max-width: 68rem;
  margin: 0 auto;
  padding: 5rem var(--gutter) 2rem;
}
.about-lede h2,
.about-lede + .wrap h2 { color: var(--ink); font-size: 1.75rem; font-weight: 300; }
.about-lede p  { margin: 0; }
/* The live site crops the portrait into a leaf/arch shape. */
.about-lede__photo img {
  width: 100%;
  filter: grayscale(1) contrast(1.05);
  border-top-left-radius: 62% 78%;
  border-bottom-right-radius: 62% 78%;
}

/* ==========================================================================
   Speaking
   ========================================================================== */

.speaking-figure { max-width: 44rem; margin: 0 auto; padding: 0 var(--gutter); }
.speaking-body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  margin-top: 2.5rem;
}
.speaking-body ul { padding-left: 1.15em; margin: 0 0 1.5em; }
.speaking-body li { margin-bottom: 0.5em; }
.pull-quote {
  font-style: italic;
  color: var(--ink-soft);
  border-left: 2px solid var(--gold);
  padding-left: 1.1rem;
  margin: 1.4em 0;
}
.pull-quote cite { display: block; font-style: normal; font-size: 0.9rem; margin-top: 0.4rem; }

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact-form { max-width: var(--measure); margin: 0 auto; padding: 2.5rem var(--gutter) 6rem; }
.field-label {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  margin: 0 0 0.5rem;
}
.field-label .req { color: var(--ink-soft); font-size: 0.85rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  background: var(--field);
  color: var(--field-ink);
  border: none;
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  margin: 0 0 1.6rem;
  font-family: inherit;
  font-size: 1rem;
}
.contact-form textarea { min-height: 9rem; resize: vertical; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.form-actions { text-align: center; }
.btn {
  background: var(--gold);
  color: #2b2313;
  border: none;
  border-radius: 3px;
  padding: 0.85rem 2.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.07); }

/* ==========================================================================
   Articles
   ========================================================================== */

.article-head { max-width: var(--measure); margin: 0 auto; padding: 4.5rem var(--gutter) 0; }
.article-date {
  font-family: var(--font-head);
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.article-head h1 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.article-body { max-width: var(--measure); margin: 0 auto; padding: 1.5rem var(--gutter) 5rem; }
.article-body p { margin: 0 0 1.25em; }
.article-body img { margin: 1.75em auto; }
.article-body h2, .article-body h3 { margin-top: 2em; }
.article-body blockquote {
  margin: 1.5em 0; padding-left: 1.1rem;
  border-left: 2px solid var(--gold); color: var(--ink-soft); font-style: italic;
}
.article-body iframe { max-width: 100%; }
.article-body img.alignright { float: right; margin: 0 0 1.2em 1.6em; max-width: 45%; }
.article-body img.alignleft  { float: left;  margin: 0 1.6em 1.2em 0; max-width: 45%; }
.article-nav {
  max-width: var(--measure); margin: 0 auto;
  padding: 0 var(--gutter) 5rem; display: flex; justify-content: space-between; gap: 1rem;
}

/* Article index */
.archive { max-width: 58rem; margin: 0 auto; padding: 2.5rem var(--gutter) 6rem; }
.archive h2 {
  font-size: 1.25rem; color: var(--ink-soft); font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 0.4rem; margin: 2.75rem 0 1rem;
}
.archive ul { list-style: none; margin: 0; padding: 0; }
.archive li { margin: 0 0 0.7rem; display: flex; gap: 1rem; align-items: baseline; }
.archive time { color: var(--ink-soft); font-size: 0.82rem; white-space: nowrap; min-width: 6.5rem; }
.archive a { text-decoration: none; }
.archive a:hover { text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bar);
  text-align: center;
  padding: 2.5rem var(--gutter) 2.75rem;
  font-size: 0.95rem;
}
.site-footer nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 2.4rem; margin-bottom: 1.5rem;
}
.site-footer nav a {
  font-family: var(--font-head); font-weight: 300;
  color: var(--gold); text-decoration: none; font-size: 1.05rem;
}
.site-footer nav a:hover { color: var(--ink); }
.site-footer .social { justify-content: center; margin-bottom: 1.25rem; }
.credit { color: var(--ink-soft); font-size: 0.85rem; margin: 0.4rem 0 0; }
.credit a { color: var(--ink-soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
  :root { --gutter: 6vw; }
  .site-header { justify-content: center; text-align: center; }
  .main-nav { gap: 1.2rem; justify-content: center; }
  .tiles { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-lede { grid-template-columns: 1fr; }
  .about-lede__photo { max-width: 24rem; margin: 0 auto; }
  .hero__detail { text-align: center; }
  .hero__name { letter-spacing: 0.03em; text-align: center; }
  .name-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer nav { gap: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Hero contact line: link styling without the underline the live site omits. */
.hero__meta--plain a { color: var(--ink); text-decoration: none; }
.hero__meta--plain a:hover { color: var(--gold); }
