@font-face {
  font-family: 'Exo 2';
  src: url('../fonts/exo2.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant.woff2') format('woff2');
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050807;
  --bg-raised: #0b110f;
  --bg-card: #0f1714;
  --line: rgba(220, 235, 228, 0.09);
  --line-strong: rgba(220, 235, 228, 0.18);
  --text: #e7ecea;
  --muted: #98a59f;
  --emerald: #1fc47f;
  --emerald-deep: #0d7f52;
  --emerald-glow: rgba(31, 196, 127, 0.22);
  --silver: linear-gradient(180deg, #ffffff 0%, #c9d0d4 45%, #8d979d 70%, #e3e7ea 100%);
  --ember: #f2994a;
  --cream: #f3e6cf;
  --font-display: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --radius: 14px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--emerald);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #5fe0a8;
}

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  padding: 8px 14px;
  background: var(--emerald);
  color: #021009;
  border-radius: 8px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 8, 7, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand img {
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--text);
  border-bottom-color: var(--emerald);
}

/* Shared pieces */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 18px;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 20px;
  height: 1px;
  background: currentColor;
}

.eyebrow::after {
  margin-left: -0.32em;
}

.silver {
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 40em;
}

.section {
  padding: clamp(56px, 9vw, 104px) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  color: var(--text);
  border-color: var(--emerald);
  background: rgba(31, 196, 127, 0.08);
}

.btn-primary {
  background: linear-gradient(180deg, #23d18a, var(--emerald-deep));
  border-color: transparent;
  color: #02130b;
  box-shadow: 0 8px 28px var(--emerald-glow);
}

.btn-primary:hover {
  color: #02130b;
  background: linear-gradient(180deg, #3ee09c, #109261);
  box-shadow: 0 10px 34px rgba(31, 196, 127, 0.35);
}

.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Home hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 9vw, 104px);
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  background:
    radial-gradient(48% 40% at 50% 38%, rgba(31, 196, 127, 0.16), transparent 70%),
    radial-gradient(30% 30% at 50% 30%, rgba(255, 255, 255, 0.05), transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.hero-logo {
  width: min(560px, 86%);
  margin: 0 auto 36px;
  filter: drop-shadow(0 18px 50px rgba(31, 196, 127, 0.18));
}

.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
}

.hero .lead {
  margin: 0 auto;
}

.hero .btn-row {
  justify-content: center;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 24px;
  margin-top: 36px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

a.card:hover {
  color: var(--text);
  transform: translateY(-3px);
  border-color: rgba(242, 153, 74, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(242, 153, 74, 0.12);
}

.card img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.card-body {
  padding: 22px 24px 26px;
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.card-body p {
  color: var(--muted);
  margin: 0 0 14px;
}

.card-more {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ember);
}

.card-placeholder {
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 260px;
  padding: 32px;
  border-style: dashed;
  border-color: var(--line-strong);
  background: transparent;
  color: var(--muted);
}

.card-placeholder img {
  width: 64px;
  aspect-ratio: 1;
  opacity: 0.6;
  margin-bottom: 16px;
}

/* Feature on the home page */

.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(242, 153, 74, 0.1);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.feature h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3rem);
  color: var(--cream);
}

.feature .eyebrow {
  color: var(--ember);
}

/* About */

.about {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.about-mark {
  width: 160px;
  filter: drop-shadow(0 10px 40px rgba(31, 196, 127, 0.25));
}

.about p {
  color: var(--muted);
  max-width: 44em;
}

.about strong {
  color: var(--text);
  font-weight: 600;
}

/* Page header (inner pages) */

.page-head {
  padding: clamp(56px, 9vw, 96px) 0 clamp(8px, 2vw, 16px);
}

.page-head .lead {
  margin: 0;
}

/* Coming soon */

.soon {
  text-align: center;
  padding: clamp(80px, 14vw, 160px) 0;
}

.soon-mark {
  width: 120px;
  margin: 0 auto 32px;
  filter: drop-shadow(0 10px 40px rgba(31, 196, 127, 0.3));
  animation: breathe 5s ease-in-out infinite;
}

.soon .lead {
  margin: 0 auto;
}

.soon .btn-row {
  justify-content: center;
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Contact */

.contact-card {
  max-width: 640px;
  margin: 36px 0 clamp(56px, 9vw, 96px);
  padding: clamp(24px, 5vw, 40px);
  border-radius: var(--radius);
  background: radial-gradient(120% 140% at 0% 0%, rgba(31, 196, 127, 0.1), transparent 55%), var(--bg-card);
  border: 1px solid var(--line);
}

.contact-mail {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 20px);
  padding: clamp(16px, 3vw, 22px) clamp(16px, 3vw, 24px);
  border-radius: 12px;
  border: 1px solid rgba(31, 196, 127, 0.35);
  background: rgba(31, 196, 127, 0.06);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 4.2vw, 1.6rem);
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.contact-mail:hover {
  border-color: var(--emerald);
  background: rgba(31, 196, 127, 0.12);
  box-shadow: 0 10px 34px var(--emerald-glow);
}

.contact-mail svg {
  flex: none;
  width: clamp(28px, 6vw, 36px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.contact-mail-row {
  display: flex;
  gap: 10px;
}

.contact-mail-row .contact-mail {
  flex: 1;
  min-width: 0;
}

.copy-mail {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 76px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font: 600 0.75rem var(--font-display);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.copy-mail[hidden] {
  display: none;
}

.copy-mail svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.copy-mail:hover,
.copy-mail.copied {
  color: var(--emerald);
  border-color: var(--emerald);
  background: rgba(31, 196, 127, 0.08);
}

.contact-mail small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.contact-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.contact-list strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 34px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

/* Legal pages */

.legal {
  max-width: 760px;
  padding-bottom: clamp(56px, 9vw, 96px);
}

.legal .crumbs {
  font-size: 0.9rem;
  margin: 0 0 24px;
}

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

.legal h1 {
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  margin-bottom: 0.2em;
}

.legal .date {
  color: var(--muted);
  margin-bottom: 2.2em;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 2.2em;
}

.legal p,
.legal li {
  color: #c9d1cd;
}

.legal ul {
  padding-left: 1.2em;
}

.legal li + li {
  margin-top: 0.5em;
}

.legal strong {
  color: var(--text);
}

@media (max-width: 860px) {
  .feature,
  .about {
    grid-template-columns: 1fr;
  }

  .about-mark {
    width: 110px;
  }
}

@media (max-width: 520px) {
  .site-header .wrap {
    height: 60px;
  }

  .brand img {
    height: 30px;
  }

  .site-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }

  .contact-mail-row {
    flex-direction: column;
  }

  .copy-mail {
    flex-direction: row;
    width: auto;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
