/* ===== Spilno — contact page ===== */
:root {
  --green-deep: #0c2a22;
  --green: #123b2f;
  --cream: #f3efe6;
  --cream-dim: rgba(243, 239, 230, 0.62);
  --amber: #e8a33d;
  --line: rgba(243, 239, 230, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--green-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 36px clamp(24px, 6vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(232, 163, 61, 0.14), transparent 60%),
    linear-gradient(160deg, #123b2f 0%, #0c2a22 55%, #081f19 100%);
}

/* subtle film grain */
.page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: absolute;
  width: 640px; height: 640px;
  left: 50%; top: 38%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232, 163, 61, 0.13), transparent 65%);
  pointer-events: none;
}

.spark--tr {
  position: absolute;
  top: 14%;
  right: 7%;
  color: rgba(232, 163, 61, 0.35);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Top bar ===== */
.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-decoration: none;
}

.location {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 900px;
  padding: 48px 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  color: var(--cream-dim);
  backdrop-filter: blur(4px);
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(232, 163, 61, 0); }
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 28px;
}
h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--amber);
}

.lead {
  margin-top: 22px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cream-dim);
  max-width: 30rem;
}

/* ===== Contact link rows ===== */
.links {
  position: relative;
  border-top: 1px solid var(--line);
}

.link-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: clamp(20px, 3.5vw, 34px) 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--cream);
  transition: background 0.25s, padding 0.25s;
}
.link-row:hover {
  background: rgba(232, 163, 61, 0.07);
  padding-left: 20px;
}

.link-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.link-value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 3.6vw, 2.3rem);
  letter-spacing: -0.01em;
}

.link-arrow {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--amber);
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.link-row:hover .link-arrow {
  transform: translateX(6px);
  background: var(--amber);
  color: var(--green-deep);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  padding-top: 28px;
  font-size: 0.85rem;
  color: var(--cream-dim);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .page { padding: 28px 22px; }
  .location { display: none; }
  .spark--tr { width: 72px; height: 72px; top: 10%; right: 5%; }
  .link-row { grid-template-columns: 1fr auto; }
  .link-label { grid-column: 1 / -1; margin-bottom: -10px; }
  .link-arrow { width: 44px; height: 44px; }
}
