/* Cooke Hellas — coming soon. Colours from the Cooke Brand Standards.
   Headline font (Quincy CF) loads from the Adobe Fonts kit linked in index.html. */
:root {
  --ocean: #002E61;
  --aqua: #0BA6AD;
  --white: #FFFFFF;
  --serif: "quincy-cf", Georgia, "Times New Roman", serif;
}

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

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ocean);
  color: var(--white);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: clamp(2.5rem, 8vh, 6rem);
  padding: clamp(2.5rem, 9vh, 7rem) 1rem clamp(3rem, 10vh, 8rem);
  text-align: center;
}

.logo {
  display: block;
  width: clamp(180px, 23.5vw, 470px);
  height: auto;
}

h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2.25rem, 6.5vw, 8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

footer {
  position: relative;
  min-height: clamp(170px, 23.5vh, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem 2.5rem;
  background: var(--aqua);
}

.notch {
  position: absolute;
  top: -1px; /* hide any subpixel seam */
  left: 50%;
  width: clamp(110px, 10vw, 200px);
  height: auto;
  aspect-ratio: 5 / 1;
  transform: translateX(-50%);
  fill: var(--ocean);
}

.social {
  display: flex;
  gap: clamp(1rem, 1.3vw, 1.6rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: clamp(48px, 3.25vw, 64px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  color: var(--aqua);
  fill: currentColor;
  transition: transform .15s ease, opacity .15s ease;
}

.social a:hover { transform: translateY(-2px); opacity: .9; }

.social a:focus-visible {
  outline: 3px solid var(--ocean);
  outline-offset: 3px;
}

.social svg { width: 58%; height: 58%; }

@media (prefers-reduced-motion: reduce) {
  .social a { transition: none; }
  .social a:hover { transform: none; }
}
