@font-face {
  font-family: "Aleo Logo";
  src: url("assets/fonts/Aleo/Aleo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Signika Logo";
  src: url("assets/fonts/Signika/Signika-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #132925;
  --ink-soft: #536560;
  --green-950: #102f2a;
  --green-900: #163c36;
  --green-800: #205047;
  --green-700: #167d7d;
  --mint: #d9eee8;
  --mint-light: #edf7f4;
  --cream: #f5f2e9;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: rgba(19, 41, 37, .13);
  --shadow: 0 22px 54px rgba(22, 60, 54, .1);
  --container: min(1040px, calc(100% - 40px));
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo-primary: "Aleo Logo", Aleo, Georgia, serif;
  --font-logo-secondary: "Signika Logo", Signika, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper), #f7f6ef);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid #64a99a; outline-offset: 4px; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(22, 60, 54, .08);
}
.skip-link:focus { transform: none; }

.visit-card {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper), #f7f6ef);
}
.site-header,
.hero,
.site-footer {
  width: var(--container);
  margin-inline: auto;
}
.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.brand-logo {
  width: 66px;
  height: 66px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(19, 41, 37, .1);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(22, 60, 54, .1);
}
.brand-logo picture {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-copy {
  display: grid;
  line-height: 1.02;
}
.brand-copy strong {
  font-family: var(--font-logo-primary);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.brand-copy small {
  color: var(--green-700);
  font-family: var(--font-logo-secondary);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}
.header-note {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.language-switch {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: border-color .2s, background .2s;
}
.language-switch:hover { border-color: var(--green-700); background: var(--mint-light); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, 380px);
  align-items: center;
  gap: clamp(34px, 5vw, 64px);
  padding: 42px 0 56px;
}
.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 640px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--green-700);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 800;
}
.eyebrow span {
  width: 26px;
  height: 1px;
  background: currentColor;
}
h1 {
  max-width: 620px;
  margin: 20px 0 22px;
  font-size: clamp(58px, 6vw, 76px);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 720;
  overflow-wrap: break-word;
}
.lead {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.5;
  overflow-wrap: break-word;
}
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--green-900);
  border-radius: 999px;
  background: var(--green-900);
  color: var(--white);
  font-size: 16px;
  font-weight: 750;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.button svg {
  width: 21px;
  height: 21px;
}
.visit-card:hover .button {
  transform: translateY(-2px);
  background: var(--green-800);
  box-shadow: 0 12px 30px rgba(22, 60, 54, .18);
}
.portrait-wrap {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(100%, 380px);
  min-height: 0;
  display: grid;
  place-items: center;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait-wrap picture {
  width: 100%;
  display: block;
}
.portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  filter: saturate(.88) contrast(.98);
}
.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 720px); }
  .site-header {
    min-height: 92px;
  }
  .header-note {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 0 54px;
    text-align: center;
  }
  .eyebrow {
    justify-content: center;
  }
  .eyebrow span {
    display: none;
  }
  h1,
  .lead {
    margin-inline: auto;
  }
  h1 {
    font-size: 68px;
  }
  .lead {
    font-size: 18px;
  }
  .portrait-wrap {
    order: -1;
    max-width: 380px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 540px) {
  :root { --container: calc(100% - 24px); }
  body,
  .visit-card {
    max-width: 100vw;
    overflow-x: hidden;
  }
  .site-header,
  .hero,
  .site-footer {
    width: calc(100vw - 24px);
    margin-inline: 12px;
  }
  .site-header {
    min-height: 86px;
  }
  .brand {
    gap: 12px;
  }
  .brand-logo {
    width: 60px;
    height: 60px;
  }
  .brand-copy strong {
    font-size: 20px;
  }
  .brand-copy small {
    font-size: 13px;
  }
  .hero-copy {
    max-width: calc(100vw - 24px);
  }
  h1 {
    max-width: calc(100vw - 24px);
    margin: 18px auto;
    font-size: clamp(36px, 10vw, 42px);
  }
  .lead {
    max-width: min(100%, calc(100vw - 40px));
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.48;
  }
  .button {
    width: min(calc(100vw - 24px), 360px);
  }
  .portrait-wrap {
    max-width: 320px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
