:root {
  --green: #0b4b35;
  --green-deep: #073526;
  --paper: #f5f2e9;
  --ink: #16352b;
  --line: rgba(11, 75, 53, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at 78% 12%, rgba(11, 75, 53, 0.09), transparent 28rem),
    linear-gradient(115deg, transparent 0 64%, rgba(11, 75, 53, 0.025) 64% 65%, transparent 65%);
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 64px, 1280px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 0 28px;
  overflow: hidden;
}

.brand {
  position: relative;
  z-index: 1;
  width: 210px;
  animation: reveal 0.8s ease-out both;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

main {
  align-self: center;
  max-width: 820px;
  padding: 54px 0 48px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: rise 0.8s 0.12s ease-out both;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--green);
}

h1 {
  margin: 0;
  color: var(--green-deep);
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.07em;
  animation: rise 0.9s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--green);
}

.intro {
  max-width: 570px;
  margin: 34px 0 0;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.7;
  animation: rise 0.8s 0.32s ease-out both;
}

.contact {
  margin-top: 42px;
  animation: rise 0.8s 0.44s ease-out both;
}

.contact p {
  margin: 0 0 9px;
  color: rgba(22, 53, 43, 0.66);
  font-size: 0.82rem;
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 5px;
  transition: gap 180ms ease, color 180ms ease;
}

.contact a:hover,
.contact a:focus-visible {
  gap: 22px;
  color: #116e4e;
  outline: none;
}

.contact svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: rgba(22, 53, 43, 0.58);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.ink-line {
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.ink-line::before,
.ink-line::after {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px solid var(--line);
  border-radius: inherit;
}

.ink-line::after {
  inset: 52px;
}

.ink-line--top {
  top: -105px;
  right: -40px;
}

.ink-line--bottom {
  right: 19%;
  bottom: -230px;
  width: 360px;
  height: 360px;
}

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

@keyframes reveal {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 38px, 1280px);
    padding: 28px 0 22px;
  }

  .brand { width: 170px; }
  main { padding: 54px 0 46px; }
  .eyebrow { font-size: 10px; letter-spacing: 0.16em; }
  h1 { font-size: clamp(3.15rem, 16vw, 5rem); }
  .intro { margin-top: 28px; }
  .contact { margin-top: 34px; }
}

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