@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/Anton-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
--background: #b8d5ee;
--pink: #dd82af;
--mint: #8edbc2;
--orange: #ef956d;
--purple: #9f9bd1;
--text: #18334a;
}

:root{
  --dark-green: #11553a;
  --light-green: #ddf8ed;
  --dark-pink: #710a38;
  --light-pink: #fdecf4;
  --dark-blue: #19334d;
  --light-blue: #e0ebf5;
}

:root {
  --color-background: #ffffff;
  /* --color-text: #20364a; */
  --color-text: #11553a; 

  --color-primary: #ddf8ed;   /* light green */
  --color-secondary: #fdecf4; /* light pink */
  --color-accent: #ff8f70;    /* stronger contrasting accent */

  --color-border: #cbd8d4;
  --color-muted-text: #536675;
  --green-100: #ddf8ed;
  --green-300: #a9e8d0;
  --green-600: #31886b;
  --green-800: #185442;

  --button-bg: #e8e8e6;
  --button-text: #263238;
  --button-bg-active: #ff8f70;
  --button-text-active: #263238;
  
}

:root {
  /* Inter */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md: 1.125rem;     /* 18px */
  --text-lg: 1.375rem;     /* 22px */
  --text-xl: 1.75rem;      /* 28px */

  /* Anton */
  --heading-sm: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);
  --heading-md: clamp(2rem, 1.5rem + 1.7vw, 3rem);
  --heading-lg: clamp(2.75rem, 1.8rem + 3vw, 4.5rem);
  --heading-xl: clamp(3.5rem, 1.8rem + 5.5vw, 7rem);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--color-text);
  font-family: "Inter", sans-serif;
  font-size: var(--text-md); /* 18px */
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}


.error{
  padding: 10rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.column, .blocks{
  display: grid;
}

 
html {
  min-height: 100%;
}

.footer, .header, .main {
  width: min(100% - 2rem, 1400px);
  margin-inline: auto;
  /* background: rgba(241, 245, 247, 0.36); */
}

.main {
  flex: 1;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 2rem 5rem;
}

.logo {
    display: inline-block;
    text-decoration: none;
    line-height: 1;
    text-align: center;
}

.logo-top {
    display: block;
    font: 700 1rem "Inter", sans-serif;
}

.logo-main {
    display: block;
    font-family: "Anton", sans-serif;
    font-size: clamp(2rem, 8vw, 3.5rem);
    text-transform: uppercase;
}

.header a {
  text-decoration: none;
}

.menu ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav {
  font-size: var(--text-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.075em;
}


.container{
  padding: 2rem 5rem;
  margin: 2rem 0;
}

@media (max-width: 700px) {
  .container {
  padding: 0;
  }
}

footer{
  background: var(--color-primary);
  border-radius: 1rem 1rem 0 0;
  margin-top: 2rem;
}

footer a{
  color: var(--textorange);
}
footer a:hover{
  color: var(--textorange);
}
.footer menu {
  display: flex;
  list-style: none;
  gap: .5rem;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 5rem 2rem 5rem;
    text-align: center;
}
.footer-content a{
  display: inline;
  background: #fff;
  padding: 0.4em 0.8em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: 600;
  border-radius: 4rem;
  text-decoration: none;
}

.bottom{
    display: flex;
    justify-content: space-around;
    padding: 0 5rem;
    flex-wrap: wrap-reverse;
    gap: .5rem;
}
.bottom menu{
    display: flex;
    list-style: none;
    gap: .5rem;
    margin: 0;
}
@media (max-width: 700px) {
  .footer-content {
  padding: 2rem;
  gap: 1rem;
  }
  .bottom{
    flex-direction: column-reverse;

}
 .footer-menu{
  margin: auto;
  gap: 1rem;
 }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0;
}

h1 {
  font-size: var(--heading-xl);
  margin-bottom: 2rem;
}

h2 {
  font-size: var(--heading-lg);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: var(--heading-md);
  margin-bottom: 1.25rem;
}

h4 {
  font-size: var(--heading-sm);
  margin-bottom: 1rem;
}

h5 {
  font-family: "Inter", sans-serif;
  font-size: var(--text-lg);
  line-height: 1.25;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

h6 {
  font-family: "Inter", sans-serif;
  font-size: var(--text-md);
  line-height: 1.3;
  font-weight: 700;
  text-transform: none;
  margin-bottom: 0.5rem;
}

 
.lead {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.5;
}
 
p,
li {
  font-size: 1rem;
  line-height: 1.65;
}

 
.text-large {
  font-size: var(--text-md);
  line-height: 1.6;
}

nav {
  font-size: 0.9375rem; /* 15px */
  font-weight: 600;
  line-height: 1.2;
}
nav a:hover, .bottom a:hover{
  color: var(--dark-pink);
}


button,
.button {
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.2;
}

 label,
.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
}

.meta,
.eyebrow,
.caption {
  font-size: var(--text-sm);
  line-height: 1.4;
}

small,
.text-small {
  font-size: var(--text-sm);
  line-height: 1.5;
}
.intro,
.lead {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 45rem;
}


.card-text {
  font-size: 1rem;
  line-height: 1.55;
}

.card-meta {
  font-size: 0.8125rem; /* 13px */
  line-height: 1.4;
}

h1,
h2,
h3,
.card-title {
  text-wrap: balance;
}

.richtext,
.text-block, p, li {
  max-width: 68ch;
}


a {
  font-weight: 600;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a {
  color: var(--color-link);
}

a:hover,
a:focus-visible {
  color: var(--color-link-hover);
}

.page-title {
  text-align: center;
  margin-bottom: 1rem;
}

.title{
  font-family: "Anton", sans-serif;
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2.25rem);
  text-transform: uppercase;
  line-height: 1.1;
}


.quote {
  padding: 2.75rem 3rem;
  border-radius: 1rem;
  background: #d7f3e7;
}

.quote blockquote {
  margin: 0;
  padding-left: 1.5rem;

  border-left: 2px solid rgba(17, 85, 58, 0.35);

  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 500;
  font-style: italic;

  color: var(--dark-green);
}

.intro,
.lead {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.015em;

  max-width: 68ch;

  margin-top: 1.5rem;
  margin-bottom: 3rem;

  color: var(--color-text);
}



.footer-a4f-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-a4f-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 20rem;
  object-fit: contain;
}


.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
}
.partner-logos small {
  font-size: var(--text-xs);
  text-align: left;
}

.partner-logos img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-logos img:first-child {
  min-height: 135px;
}
.partner-logos img:nth-child(2) {
  max-width: 8rem;
}
.partner-logos img:nth-child(3) {
  max-width: 8rem;
}
.partner-logos img:nth-child(4) {
  max-width: 22rem;
}

@media (max-width: 700px) {
  .partner-logos {
    gap: 1.5rem;
    flex-direction: column;
  }
.partner-logos img:first-child {
  max-width: 100%;
}
  .partner-logos img:nth-child(2) {
    max-width: 60%;
  }
  .partner-logos img:nth-child(3) {
    max-width: 60%;
  }
  .partner-logos img:nth-child(4) {
    max-width: 80%;
  }
}

.logos {
  display: block;
  grid-template-columns: 0.5fr 1.75fr;
  gap: 2rem;
  justify-items: center;
  align-items: baseline;
}

.footer-a4f-logo {
  display: flex;
  flex-direction: column;
}
 .partners {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.links{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-content h6 {
  font-size: var(--text-base);
}

.footer-a4f-logo a{
  background: none;
}

