@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@300;400;600;700&display=swap");

:root {
  --red: #c62828;
  --deep-red: #8f1d1d;
  --green: #1b6f4a;
  --gold: #f4b74a;
  --cream: #f8f1e5;
  --paper: #fdf8f2;
  --ink: #1f1a1c;
  --muted: #6b5f5d;
  --shadow: rgba(31, 26, 28, 0.18);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  background-image:
    radial-gradient(circle at top left, rgba(198, 40, 40, 0.08), transparent 45%),
    radial-gradient(circle at 30% 20%, rgba(27, 111, 74, 0.08), transparent 50%),
    radial-gradient(circle at 70% 10%, rgba(244, 183, 74, 0.18), transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(27, 111, 74, 0.12), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Crect width='140' height='140' fill='none'/%3E%3Cpath d='M70 12l18 18-18 18-18-18 18-18zm0 56l18 18-18 18-18-18 18-18z' fill='none' stroke='%23c62828' stroke-width='2' opacity='0.18'/%3E%3Cpath d='M12 70l18-18 18 18-18 18-18-18zm56 0l18-18 18 18-18 18-18-18z' fill='none' stroke='%231b6f4a' stroke-width='2' opacity='0.18'/%3E%3C/svg%3E");
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 140px 140px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0.6), transparent 35%),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.55), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

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

h1, h2, h3, .brand-mark {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: 0.4px;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 248, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(198, 40, 40, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-mark {
  font-size: 1.6rem;
  color: var(--red);
}

.brand-tag {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1.8px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding-bottom: 0.3rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--red);
  color: white;
  box-shadow: 0 10px 18px var(--shadow);
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: translateY(0) scale(0.98);
}

.nav-toggle {
  display: none;
  border: 2px solid var(--red);
  background: transparent;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--red);
}

.hero {
  padding: 4.6rem 0 3rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='360' viewBox='0 0 640 360'%3E%3Crect width='640' height='360' fill='none'/%3E%3Cg opacity='0.22'%3E%3Ccircle cx='140' cy='160' r='42' fill='%23f4b74a'/%3E%3Crect x='118' y='198' width='44' height='80' rx='16' fill='%23c62828'/%3E%3Cpath d='M115 232h50v42h-50z' fill='%231b6f4a'/%3E%3Ccircle cx='320' cy='140' r='48' fill='%23f4b74a'/%3E%3Crect x='292' y='188' width='56' height='92' rx='18' fill='%231b6f4a'/%3E%3Cpath d='M288 232h64v46h-64z' fill='%23c62828'/%3E%3Ccircle cx='500' cy='170' r='40' fill='%23f4b74a'/%3E%3Crect x='476' y='206' width='48' height='78' rx='16' fill='%23c62828'/%3E%3Cpath d='M472 236h56v40h-56z' fill='%231b6f4a'/%3E%3Cpath d='M120 126l20-18 20 18-20 16z' fill='%238f1d1d'/%3E%3Cpath d='M300 110l24-20 24 20-24 18z' fill='%238f1d1d'/%3E%3Cpath d='M480 132l18-16 18 16-18 14z' fill='%238f1d1d'/%3E%3C/g%3E%3C/svg%3E") right bottom / 60% auto no-repeat;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 20px,
    var(--gold) 20px 40px,
    var(--green) 40px 60px,
    #ffffff 60px 80px
  );
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 1.6rem 0 1.4rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 14px 24px var(--shadow);
}

.btn.ghost {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.hero-proof {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-weight: 600;
}

.hero-proof strong {
  font-size: 1.1rem;
  display: block;
}

.hero-visual {
  position: relative;
}

.flag-panel {
  background: linear-gradient(180deg, #c62828 0 34%, #f7f2ea 34% 66%, #1b6f4a 66% 100%);
  padding: 2rem;
  border-radius: calc(var(--radius) + 6px);
  color: #1a1414;
  box-shadow: 0 22px 40px var(--shadow);
  border: 4px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.flag-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  mix-blend-mode: screen;
  pointer-events: none;
}

.flag-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  color: var(--deep-red);
  box-shadow: 0 10px 16px rgba(31, 26, 28, 0.2);
  margin-bottom: 1rem;
}

.flag-panel h2 {
  margin: 0 0 0.6rem;
  font-size: 2rem;
}

.flag-panel p {
  margin: 0 0 1rem;
  color: #2f2728;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.mini-list li {
  padding-left: 1.4rem;
  position: relative;
}

.mini-list li::before {
  content: "✶";
  position: absolute;
  left: 0;
  color: var(--deep-red);
}

.flag-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.flag-note {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2f2728;
}

.folk-ornament {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0 30%, transparent 30%),
    radial-gradient(circle at 70% 70%, #ffffff 0 30%, transparent 30%),
    radial-gradient(circle, rgba(244, 183, 74, 0.9), rgba(198, 40, 40, 0.9));
  border: 8px solid #ffffff;
  right: -20px;
  top: -30px;
  box-shadow: 0 12px 26px rgba(31, 26, 28, 0.25);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: var(--cream);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.text-panel {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(31, 26, 28, 0.08);
  box-shadow: 0 14px 28px rgba(31, 26, 28, 0.1);
}

.text-panel p:last-child {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.card {
  background: white;
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(31, 26, 28, 0.08);
  box-shadow: 0 12px 26px rgba(31, 26, 28, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(31, 26, 28, 0.16);
}

.card:active {
  transform: translateY(-2px) scale(0.98);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.step {
  background: white;
  border-radius: var(--radius);
  padding: 1.4rem;
  border-left: 4px solid var(--red);
  box-shadow: 0 10px 24px rgba(31, 26, 28, 0.08);
}

.step span {
  font-weight: 700;
  color: var(--deep-red);
}

.career-cta {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: white;
  border: 1px dashed rgba(31, 26, 28, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.career-cta a.inline-link {
  margin-left: 0.3rem;
}

.career-cta p {
  margin: 0;
}

.inline-link {
  color: var(--deep-red);
  font-weight: 700;
  border-bottom: 1px solid rgba(143, 29, 29, 0.4);
}

.inline-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  align-items: center;
}

.contact-card {
  background: white;
  padding: 1.4rem;
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(31, 26, 28, 0.08);
  display: grid;
  gap: 1rem;
}

.form {
  background: white;
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: 0 18px 32px rgba(31, 26, 28, 0.08);
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.form input,
.form textarea {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(31, 26, 28, 0.2);
  font-family: inherit;
}

.site-footer {
  padding: 2.6rem 0 1.6rem;
  border-top: 2px solid rgba(198, 40, 40, 0.2);
  background: rgba(253, 248, 242, 0.98);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
}

.footer-bottom {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal {
  padding: 3.5rem 0 4rem;
}

.legal h1 {
  margin-top: 0;
}

.legal h2 {
  margin-top: 2rem;
}

.legal p {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .nav {
    position: absolute;
    right: 4%;
    top: 72px;
    flex-direction: column;
    background: white;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    box-shadow: 0 14px 26px var(--shadow);
    border: 1px solid rgba(31, 26, 28, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-proof {
    gap: 1.2rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .flag-panel {
    padding: 1.6rem;
  }

  .text-panel {
    padding: 1.2rem;
  }

  .hero::before {
    background-size: 80% auto;
    opacity: 0.18;
  }

  .career-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .folk-ornament {
    animation: none;
  }

  .btn,
  .card {
    transition: none;
  }
}
