/* =====================================================
   EDGEHILL MANAGEMENT
   ===================================================== */


/* ---------- RESET ---------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f3f0e8;
  color: #172329;
  font-family: Arial, Helvetica, sans-serif;
}

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


/* ---------- COLORS ---------- */

:root {
  --navy: #172329;
  --navy-light: #24343a;
  --cream: #f3f0e8;
  --cream-dark: #e5e0d5;
  --gold: #b39a67;
  --grey: #737873;
  --line: #c9c5bb;
}


/* ---------- HEADER ---------- */

.site-header {
  height: 88px;

  padding: 0 5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: var(--cream);

  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 2px;
}

.brand small {
  margin-top: 4px;

  font-size: 8px;
  font-weight: 400;

  letter-spacing: 3px;

  color: var(--grey);
}

.main-nav {
  display: flex;
  gap: 38px;

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.main-nav a {
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.header-contact {
  padding-bottom: 5px;

  border-bottom: 1px solid var(--navy);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.menu-toggle {
  display: none;

  background: none;
  border: none;

  cursor: pointer;
}


/* ---------- HERO ---------- */

.hero {
  min-height: calc(100vh - 88px);

  padding: 32px 5vw 55px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: var(--cream);
}

.hero-top {
  display: flex;
  justify-content: space-between;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 2px;

  color: var(--grey);
}

.hero-main {
  width: 100%;
  max-width: 1250px;

  margin: auto;

  padding: 100px 0 80px;
}

.hero-kicker {
  margin-bottom: 35px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 3px;

  color: var(--gold);
}

.hero h1 {
  max-width: 1100px;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(70px, 10vw, 145px);

  font-weight: 400;

  line-height: 0.86;

  letter-spacing: -7px;
}

.hero h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
}

.hero-description {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  max-width: 850px;

  margin-top: 75px;
}

.hero-description p {
  max-width: 470px;

  font-size: 15px;

  line-height: 1.8;

  color: #59605e;
}

.circle-link {
  width: 105px;
  height: 105px;

  border: 1px solid var(--gold);
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 7px;

  color: var(--navy);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.circle-link strong {
  font-size: 18px;
  font-weight: 400;
}

.circle-link:hover {
  background: var(--gold);
  color: white;
}

.hero-line {
  width: 100%;
  height: 1px;

  background: var(--line);
}


/* ---------- SHARED SECTIONS ---------- */

.section {
  padding: 130px 8vw;
}

.section-number {
  margin-bottom: 80px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 2px;

  color: var(--gold);
}

.section-heading > span {
  display: block;

  margin-bottom: 25px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 2.5px;

  color: var(--grey);
}

.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(55px, 7vw, 100px);

  font-weight: 400;

  line-height: 0.92;

  letter-spacing: -4px;
}


/* ---------- FIRM ---------- */

.firm {
  background: var(--cream);
}

.firm-content {
  display: grid;

  grid-template-columns: 55% 45%;

  gap: 60px;
}

.firm-text {
  padding-top: 70px;

  max-width: 480px;
}

.firm-text .lead {
  font-family: Georgia, "Times New Roman", serif;

  font-size: 25px;

  line-height: 1.35;

  color: var(--navy);
}

.firm-text p:not(.lead) {
  margin-top: 30px;

  font-size: 14px;

  line-height: 1.9;

  color: var(--grey);
}

.underlined-link {
  display: inline-block;

  margin-top: 45px;

  padding-bottom: 8px;

  border-bottom: 1px solid var(--navy);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.underlined-link span {
  margin-left: 12px;

  color: var(--gold);
}


/* ---------- DARK APPROACH ---------- */

.section-dark {
  background: var(--navy);
  color: var(--cream);
}

.section-number.light {
  color: var(--gold);
}

.light-text > span {
  color: #8f9895;
}

.approach-content {
  max-width: 1200px;

  margin-left: auto;
}

.approach .section-heading h2 {
  max-width: 950px;
}

.principles {
  margin-top: 120px;

  border-top: 1px solid #465258;
}

.principle {
  display: grid;

  grid-template-columns: 80px 1fr;

  padding: 40px 0;

  border-bottom: 1px solid #465258;
}

.principle-number {
  font-size: 10px;

  letter-spacing: 2px;

  color: var(--gold);
}

.principle h3 {
  font-family: Georgia, "Times New Roman", serif;

  font-size: 29px;

  font-weight: 400;
}

.principle p {
  max-width: 540px;

  margin-top: 18px;

  font-size: 14px;

  line-height: 1.8;

  color: #aeb5b2;
}


/* ---------- FOCUS ---------- */

.focus {
  background: var(--cream-dark);
}

.focus-content {
  max-width: 1200px;

  margin-left: auto;
}

.focus-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  margin-top: 110px;

  border-top: 1px solid #bdb8ad;
  border-bottom: 1px solid #bdb8ad;
}

.focus-card {
  min-height: 330px;

  padding: 30px;

  border-right: 1px solid #bdb8ad;
}

.focus-card:last-child {
  border-right: none;
}

.focus-card > span {
  font-size: 10px;

  letter-spacing: 2px;

  color: var(--gold);
}

.focus-card h3 {
  margin-top: 65px;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 30px;

  font-weight: 400;

  line-height: 1.1;
}

.focus-card p {
  margin-top: 30px;

  max-width: 280px;

  font-size: 13px;

  line-height: 1.8;

  color: var(--grey);
}


/* ---------- STATEMENT ---------- */

.statement {
  padding: 170px 8vw;

  background: var(--cream);

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement-inner {
  max-width: 1100px;

  margin: auto;

  text-align: center;
}

.statement-inner > span {
  font-size: 10px;
  font-weight: 700;

  letter-spacing: 2.5px;

  color: var(--gold);
}

.statement h2 {
  margin-top: 35px;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(50px, 7vw, 100px);

  font-weight: 400;

  line-height: 0.95;

  letter-spacing: -4px;
}


/* ---------- NEWSLETTER ---------- */

.newsletter {
  padding: 110px 8vw;

  background: var(--navy);

  color: var(--cream);
}

.newsletter-inner {
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 100px;

  align-items: center;
}

.newsletter-label {
  font-size: 10px;
  font-weight: 700;

  letter-spacing: 2px;

  color: var(--gold);
}

.newsletter h2 {
  margin-top: 20px;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(55px, 7vw, 90px);

  font-weight: 400;

  line-height: 0.95;
}

.newsletter-right p {
  max-width: 450px;

  font-size: 14px;

  line-height: 1.8;

  color: #aeb5b2;
}

.newsletter-form {
  display: flex;

  width: 100%;
  max-width: 500px;

  margin-top: 40px;

  border-bottom: 1px solid #5a6568;
}

.newsletter-form input {
  flex: 1;

  min-width: 0;

  padding: 15px 0;

  background: transparent;

  border: none;
  outline: none;

  color: white;

  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: #7d8786;
}

.newsletter-form button {
  flex-shrink: 0;

  padding: 15px 0 15px 20px;

  background: none;

  border: none;

  color: var(--cream);

  cursor: pointer;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.newsletter-form button:hover {
  color: var(--gold);
}


/* ---------- NEWSLETTER SUCCESS ---------- */

.success-message {
  display: none;

  margin-top: 25px;

  font-size: 13px;

  line-height: 1.6;

  color: var(--gold);
}

.success-message.show {
  display: block;
}


/* ---------- CONTACT ---------- */

.contact {
  padding: 55px 5vw 130px;

  background: var(--gold);

  color: var(--navy);
}

.contact-top {
  display: flex;
  justify-content: space-between;

  padding-bottom: 30px;

  border-bottom: 1px solid rgba(23, 35, 41, 0.3);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2px;
}

.contact-main {
  display: grid;

  grid-template-columns: 65% 35%;

  gap: 60px;

  padding-top: 100px;
}

.contact h2 {
  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(65px, 9vw, 125px);

  font-weight: 400;

  line-height: 0.87;

  letter-spacing: -6px;
}

.contact-details {
  padding-top: 20px;
}

.contact-details p {
  max-width: 300px;

  font-size: 13px;

  line-height: 1.8;
}

.contact-details a {
  display: inline-block;

  margin-top: 30px;

  padding-bottom: 8px;

  border-bottom: 1px solid var(--navy);

  font-size: 13px;
  font-weight: 700;
}


/* ---------- FOOTER ---------- */

.footer {
  min-height: 80px;

  padding: 0 5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #111a1e;

  color: #858d8c;

  font-size: 9px;

  letter-spacing: 1.3px;

  text-transform: uppercase;
}

.footer-links {
  display: flex;

  gap: 30px;
}

.footer-links a:hover {
  color: white;
}


/* ---------- MOBILE ---------- */

@media (max-width: 800px) {

  .site-header {
    height: 75px;
  }

  .main-nav,
  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: block;

    cursor: pointer;
  }

  .menu-toggle span {
    display: block;

    width: 25px;
    height: 1px;

    margin: 6px;

    background: var(--navy);
  }

  .main-nav.active {
    display: flex;

    position: absolute;

    top: 75px;
    left: 0;
    right: 0;

    padding: 30px 5vw;

    flex-direction: column;

    gap: 22px;

    background: var(--cream);

    border-bottom: 1px solid var(--line);
  }


  /* HERO */

  .hero {
    min-height: calc(100vh - 75px);

    padding: 25px 7vw 40px;
  }

  .hero-main {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: clamp(60px, 16vw, 100px);

    letter-spacing: -4px;
  }

  .hero-description {
    display: block;

    margin-top: 55px;
  }

  .circle-link {
    margin-top: 35px;
  }


  /* SECTIONS */

  .section {
    padding: 100px 7vw;
  }

  .section-number {
    margin-bottom: 55px;
  }


  /* FIRM */

  .firm-content {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .firm-text {
    padding-top: 20px;
  }


  /* APPROACH */

  .approach-content,
  .focus-content {
    margin-left: 0;
  }

  .principles {
    margin-top: 75px;
  }

  .principle {
    grid-template-columns: 50px 1fr;
  }


  /* FOCUS */

  .focus-grid {
    grid-template-columns: 1fr;

    margin-top: 75px;
  }

  .focus-card {
    min-height: auto;

    padding: 35px 25px;

    border-right: none;
    border-bottom: 1px solid #bdb8ad;
  }

  .focus-card:last-child {
    border-bottom: none;
  }

  .focus-card h3 {
    margin-top: 40px;
  }


  /* STATEMENT */

  .statement {
    padding: 110px 7vw;
  }


  /* NEWSLETTER */

  .newsletter {
    padding: 90px 7vw;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .newsletter-form button {
    padding-left: 15px;
  }


  /* CONTACT */

  .contact {
    padding: 40px 7vw 100px;
  }

  .contact-main {
    grid-template-columns: 1fr;

    gap: 60px;

    padding-top: 75px;
  }

  .contact h2 {
    letter-spacing: -4px;
  }


  /* FOOTER */

  .footer {
    min-height: auto;

    padding: 30px 7vw;

    flex-direction: column;

    align-items: flex-start;

    gap: 20px;
  }

}
