/* Guy Darby — personal site styles */

:root {
  --color-bg: #FBFAF8;
  --color-text: #22192F;
  --color-text-muted: #6B6580;
  --color-text-faint: #9089A0;
  --color-separator: #C9C3D2;
  --color-border: #E3DFE6;
  --color-card-bg: #F3F1EE;
  --color-link: #4A6572;
  --color-link-hover: #3B2C54;
  --gradient-accent: linear-gradient(100deg, #3B2C54 0%, #585278 55%, #4A6572 100%);

  --font-display: 'Big Shoulders', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
}

a {
  color: var(--color-link);
  text-decoration: none;
}

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

.page {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 56px;
}

.container {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 0 24px;
}

/* Header */

.header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 64px;
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Once the header row wraps to its own lines on narrow screens,
   center each item instead of leaving it flush left. */
@media (max-width: 600px) {
  .header-row {
    justify-content: center;
    text-align: center;
  }
}

.logo {
  width: 320px;
  max-width: 100%;
  height: auto;
}

.cv-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 2px;
  background: var(--gradient-accent);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -8px rgba(59, 44, 84, 0.55);
  white-space: nowrap;
}

.cv-button:hover,
.cta-button:hover {
  color: #FFFFFF;
  text-decoration: none;
  opacity: 0.92;
}

.tagline {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.3px;
  color: #585278;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.contact-row .dot {
  color: var(--color-separator);
}

/* Sections */

.section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 0;
  color: var(--color-text);
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
}

/* Testimonials */

.testimonial {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quote-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0;
  flex: 1;
}

.attribution {
  border-top: 1px solid var(--color-separator);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
}

.attribution-name {
  font-style: normal;
  font-weight: 600;
  font-size: 14.5px;
}

.attribution-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 3px;
}

/* Call to action */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.cta-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.25;
  margin: 0;
  color: var(--color-text);
}

/* Footer */

.page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-faint);
}

.footer-cv-link {
  color: var(--color-link);
}
