:root {
  --pyb-ink: #152029;
  --pyb-forest: #234e52;
  --pyb-leaf: #2f6f73;
  --pyb-sand: #dce8e6;
  --pyb-paper: #eef4f3;
  --pyb-cream: #f5f8f7;
  --pyb-accent: #b8892d;
  --pyb-muted: #5d6b6c;
  --pyb-shadow: 0 18px 40px rgba(21, 32, 41, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--pyb-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 111, 115, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(184, 137, 45, 0.12), transparent 50%),
    linear-gradient(180deg, var(--pyb-cream) 0%, var(--pyb-paper) 45%, #e4eeec 100%);
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 36, 33, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 36, 33, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 65%);
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
}

.bar {
  height: 3.5rem;
  background: #152029;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bar-inner,
.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.15rem;
}

.bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.bar-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.bar-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}

.bar-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  padding: 3.4rem 1.15rem 3.2rem;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(21, 32, 41, 0.94), rgba(35, 78, 82, 0.9)),
    url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06'%3E%3Cpath d='M0 80h160M80 0v160'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, 80px 80px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0.85rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: 16px;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.btn-sand {
  background: var(--pyb-sand);
  color: var(--pyb-ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.btn-sand:hover { background: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-forest {
  background: var(--pyb-forest);
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 32, 41, 0.12);
}

.btn-forest:hover {
  background: var(--pyb-leaf);
  color: #fff;
}

.section {
  padding: 2.75rem 0 3rem;
}

.section-alt {
  background: rgba(255, 255, 255, 0.35);
}

.section h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--pyb-muted);
  max-width: 36rem;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-height: 14rem;
  padding: 1.45rem 1.3rem 1.3rem;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(160deg, #fff, #f0f6f5);
  border: 1px solid rgba(21, 32, 41, 0.06);
  border-radius: 22px;
  box-shadow: var(--pyb-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(21, 32, 41, 0.2);
}

.card span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pyb-leaf);
}

.card strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--pyb-muted);
  line-height: 1.45;
  flex: 1;
}

.card em {
  font-style: normal;
  font-weight: 600;
  color: var(--pyb-forest);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pills li {
  padding: 0.45rem 0.9rem;
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(21, 32, 41, 0.08);
  font-size: 0.92rem;
  font-weight: 500;
}

.contact {
  text-align: center;
}

.contact .lead {
  margin-left: auto;
  margin-right: auto;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.mail {
  align-self: center;
  color: var(--pyb-forest);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.mail:hover { border-color: currentColor; }

.footer {
  padding: 1.6rem 1.15rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--pyb-muted);
  border-top: 1px solid rgba(28, 36, 33, 0.08);
}

.footer a {
  color: var(--pyb-forest);
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 640px) {
  .bar-nav { display: none; }
  .btn { width: 100%; max-width: 22rem; }
}

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