/*
Theme Name: Cobblers Cove Capital
Theme URI: https://cobblerscovecapital.com
Author: Cobblers Cove Capital
Description: Single-page static landing theme for Cobblers Cove Capital. Content is hardcoded in front-page.php, header.php and footer.php.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: cobblers-cove
*/

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

:root {
  --ivory: #F8F6F1;
  --navy: #1B3764;
  --serif-light: 'ivymode', Georgia, 'Times New Roman', serif;
  --serif-text: 'ivyepic', Georgia, 'Times New Roman', serif;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  color: var(--ivory);
}

h1,
p,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: underline;
}

img {
  display: block;
}

.page {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--navy);
}

.background {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
  pointer-events: none;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 80rem;
  min-height: 0;
  margin: 0 auto;
  padding-left: max(clamp(1rem, 4vw, 3rem), env(safe-area-inset-left));
  padding-right: max(clamp(1rem, 4vw, 3rem), env(safe-area-inset-right));
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vh, 2rem);
  min-height: 0;
  padding: clamp(1.5rem, 8.9vh, 5rem) 0;
}

.logo {
  flex: none;
    width: 300px;
}

.logo img {
  width: 100%;
  height: auto;
}

.intro {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 51.25rem;
}

.intro h1 {
  font-family: var(--serif-light);
  font-weight: 250;
  font-size: clamp(1.25rem, 2.44vw + 0.3vh, 2.45rem);
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-align: center;
  text-wrap: balance;
}

footer {
  flex: none;
}

.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 1.6vh, 1.25rem);
  width: 100%;
  padding: clamp(0.75rem, 2.2vh, 1.25rem) 0;
  border-top: 0.5px solid rgba(248, 246, 241, 0.5);
  font-family: var(--serif-text);
  font-weight: 300;
}

.info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.25rem, 1vh, 0.5rem) clamp(0.75rem, 1.2vw, 0.95rem);
  font-size: clamp(0.625rem, 0.75vw, 0.75rem);
  line-height: 1.3;
}

.wrap p {
  max-width: 49.5rem;
  font-size: clamp(0.5rem, 0.63vw, 0.625rem);
  line-height: 1.3;
  text-align: center;
  opacity: 0.75;
}


@media (max-width: 640px) {
  .logo {
    width: 150px;
  }
  .background {
    object-position: 20% center;
  }
  .info {
    align-items: center;
  }
  .intro h1 {
    font-size: clamp(1.05rem, 5vw, 1.5rem);
  }
}

@media (max-height: 544px) {
  .logo {
    width: 150px;
  }
  .intro h1 {
    font-size: clamp(1rem, 3.2vh + 1vw, 1.6rem);
  }
}
