/* ==========================================================================
   Goose Pond Asset Management — stylesheet (one-page site)
   --------------------------------------------------------------------------
   Structure of this file:
     1.  Design tokens (:root)      <-- CHANGE BRAND COLORS / FONTS HERE
     2.  Base / reset
     3.  Layout helpers (.container, .section)
     4.  Logo (masthead)
     5.  Headline (intro)
     6.  Team
     7.  Contact
     8.  Footer
     9.  Responsive rules (bottom of file)
   ========================================================================== */


/* 1. DESIGN TOKENS =========================================================
   Everything brand-related lives here. Colors are the logo package's
   (Marketing Materials/Logo/README.txt, v3): Navy, Mid Blue, Light Blue.     */
:root {
  --color-accent:   #4f7fb0;   /* Mid Blue — labels, links                     */
  --color-accent-2: #0f2440;   /* link hover                                   */
  --color-ink:      #0f2440;   /* Navy — headings + footer background          */
  --color-body:     #3d4a60;   /* body text                                    */
  --color-line:     #a9c3dc;   /* Light Blue — rules and borders               */
  --color-bg:       #ffffff;   /* page background                              */
  --color-bg-alt:   #f3f6fa;   /* team section background                      */

  /* One font throughout, as in the decks (Lora, since 19 Oct 2026). */
  --font-body: 'Lora', Georgia, 'Times New Roman', serif;

  --maxw: 1080px;              /* max content width                            */
  --gutter: clamp(20px, 5vw, 56px);
}


/* 2. BASE / RESET ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

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

h1, h2 {
  color: var(--color-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p { margin: 0 0 1.1em; }

/* Accessibility: visible focus outline for keyboard users */
a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}


/* 3. LAYOUT HELPERS ======================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Vertical rhythm for full-width bands of content */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--alt { background: var(--color-bg-alt); }

/* The small accent label above each section */
.eyebrow {
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 2.4rem;
}


/* 4. LOGO (MASTHEAD) ======================================================= */
.masthead { padding-top: clamp(48px, 8vw, 96px); }
.masthead__logo {
  display: block;
  width: min(900px, 92vw);
  height: auto;
  margin-inline: auto;
}


/* 5. HEADLINE (INTRO) ====================================================== */
.intro {
  text-align: center;
  padding-block: clamp(32px, 4vw, 48px) clamp(56px, 8vw, 104px);
}
.intro__headline {
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  max-width: 20em;
  margin: 0 auto 0.8em;
  text-wrap: balance;                   /* even line lengths where supported */
}
/* Short hairline between the headline and the line under it */
.intro__headline::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin: 0.8em auto 0;
  background: var(--color-accent);
}
.intro__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 40em;
  margin: 0 auto;
  text-wrap: balance;
}


/* 6. TEAM ================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.member {
  background: #fff;
  border: 1px solid #d6e0ec;
  padding: clamp(28px, 3vw, 44px);
}
/* Headshot: a square, cropped to the centre of the photo */
.member__photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  margin-bottom: 1.4rem;
}
.member__name { font-size: 1.35rem; margin-bottom: 0.2em; }
.member__role {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 1.1em;
  margin-bottom: 1.2em;
  border-bottom: 1px solid #d6e0ec;
}
.member p:not(.member__role) { font-size: 0.96rem; }
.member p:last-child { margin-bottom: 0; }


/* 7. CONTACT =============================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.contact-item__label {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.contact-item a { font-size: 1.1rem; color: var(--color-ink); }


/* 8. FOOTER ================================================================ */
.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,.82);
  text-align: center;
  padding-block: clamp(40px, 6vw, 64px);
}
.footer-legal {
  max-width: 760px;
  margin: 0 auto 1.4rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #a9c3dc;                       /* Light Blue on navy, per the logo README */
}
.footer-copy { font-size: 0.8rem; color: #a9c3dc; margin: 0; }


/* 9. RESPONSIVE ============================================================ */
@media (max-width: 760px) {
  .team-grid, .contact-grid { grid-template-columns: 1fr; }
  .team-grid { max-width: 560px; margin-inline: auto; }
}
