/* Raju and Fiona: port of the Astra theme setup used on WordPress. */
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/assets/fonts/playfair-display-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #051145;
  --green: #278575;
  --green-dark: #1d6b5e;
  --grey: #ecf0f2;
  --muted: #414141;
  --container: 1240px;
  --sans: "Poppins", sans-serif;
  --serif: "Playfair Display", serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h4 { font-family: var(--serif); font-weight: 700; color: var(--navy); margin: 0; }
h1 { font-size: clamp(44px, 6vw, 75px); line-height: 1.4; margin-bottom: 20px; }
h4 { font-size: 20px; line-height: 1.2; }
p { margin: 0 0 1.2em; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; background: #fff; padding: .5em 1em; }

.container { width: 100%; max-width: calc(var(--container) + 80px); margin: 0 auto; padding: 0 40px; }

.button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .5px;
  line-height: 1;
  padding: 16px 30px;
  text-decoration: none;
  transition: background-color .2s;
}
.button:hover, .button:focus-visible { background: var(--green-dark); }

/* Header */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100px;
}
.site-logo img { width: 164px; }

/* Content */
main { flex: 1; }

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 635px) minmax(0, 500px);
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 120px;
}
.hero-copy { padding-left: 60px; }
.kicker { font-size: 14px; text-transform: uppercase; margin-bottom: 1.5em; }
.hero-copy p:not(.kicker) { font-size: 17px; }
.hero-photo { width: 100%; max-width: 500px; justify-self: end; }

.not-found .container { padding-top: 45px; padding-bottom: 90px; }

/* Footer */
.site-footer { background: var(--grey); }
.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  padding-top: 52px;
  padding-bottom: 52px;
}
.site-footer p { margin: 0; }
.site-footer .copyright { color: var(--muted); }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 921px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
  .hero-copy { padding-left: 0; }
  .hero-photo { justify-self: center; }
}
@media (max-width: 544px) {
  .container { padding: 0 20px; }
  .site-logo img { width: 120px; }
  .site-footer .container { flex-direction: column; text-align: center; }
}
