@font-face {
  font-family: "Syne";
  src: url("/assets/fonts/syne-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("/assets/fonts/syne-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1f26;
  --ink-soft: #3a424d;
  --paper: #f2ede6;
  --paper-deep: #e6dfd4;
  --copper: #c4784a;
  --copper-deep: #a35f35;
  --line: rgba(26, 31, 38, 0.12);
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--copper-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.logo img.mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.logo .word {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.site-header nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-copper {
  background: var(--copper);
  color: #fffaf5;
}

.btn-copper:hover {
  background: var(--copper-deep);
  color: #fffaf5;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  padding: 5.5rem 0 4.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(196, 120, 74, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(26, 31, 38, 0.1), transparent 50%),
    linear-gradient(165deg, #ebe4d8 0%, var(--paper) 45%, #ddd4c6 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
}

.hero-copy {
  max-width: 34rem;
  animation: rise 0.9s ease both;
}

.eyebrow {
  font-family: "Syne", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.lead {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--ink-soft);
  margin: 0 0 2rem;
  max-width: 28rem;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 5rem 0;
}

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

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.pillars {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  padding: 1.5rem 1.35rem;
  border-top: 2px solid var(--ink);
  background: color-mix(in srgb, white 55%, var(--paper));
  animation: rise 0.8s ease both;
}

.pillar:nth-child(2) {
  animation-delay: 0.08s;
}
.pillar:nth-child(3) {
  animation-delay: 0.16s;
}

.pillar h3 {
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.05rem;
  margin: 0 0 0.55rem;
}

.pillar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.contact-band {
  background: var(--ink);
  color: #f2ede6;
  padding: 4.5rem 0;
}

.contact-band h2 {
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.contact-band p {
  margin: 0 0 1.5rem;
  color: rgba(242, 237, 230, 0.78);
  max-width: 28rem;
}

.contact-band .btn-copper {
  background: var(--copper);
}

.contact-band a.mail {
  color: #fff;
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-band a.mail:hover {
  border-bottom-color: var(--copper);
  color: #fff;
}

.site-footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  font-family: "Syne", system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 640px) {
  .site-header nav a:not(.btn) {
    display: none;
  }
}
