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

:root {
  --forest: #1a2e1e;
  --moss: #2d4a32;
  --gold: #b8975a;
  --gold-lt: #d4b278;
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --text: #1a1a18;
  --muted: #6b6b60;
}

html,
body {
  height: 100%;
  min-height: 100vh;
}

body {
  font-family: "Tenor Sans", sans-serif;
  background-color: var(--warm-white);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Top Bar */
.topbar {
  width: 100%;
  background: var(--moss);
  padding: 10px 0;
  text-align: center;
}

.topbar span {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-lt);
  /* opacity: 0.85; */
}

/* Header */
header {
  background: var(--forest);
  padding: 56px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 50% 110%,
      rgba(184, 151, 90, 0.12) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 80% at 50% 110%,
      rgba(184, 151, 90, 0.12) 0%,
      transparent 70%
    );
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.oak-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1.5px solid rgba(184, 151, 90, 0.5);
  border-radius: 50%;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.oak-mark svg {
  width: 28px;
  height: 28px;
  fill: var(--gold);
  opacity: 0.9;
}

.firm-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 1.15;
  animation: fadeUp 0.9s ease 0.1s both;
}

.firm-name em {
  font-style: italic;
  color: var(--gold-lt);
}

.divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 24px auto;
  animation: fadeUp 0.9s ease 0.2 both;
}

.tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  animation: fadeUp 0.9s ease 0.3s both;
}

/* Main */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 24px;
}

.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 4px;
  max-width: 520px;
  width: 100%;
  padding: clamp(40px, 7vw, 64px) clamp(32px, 7vw, 64px);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.06);
  animation: fadeUp 1s ease 0.4s both;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-lt));
  /* filter: blur(4px); */
}

.card-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-text small {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-text strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 4400;
  color: var(--forest);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.contact-text a {
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(0.82rem, 2vw, 0.9rem);
  color: var(--moss);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  word-break: break-all;
}

.contact-text a:hover {
  color: var(--gold);
}

.card-sep {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 8px 0;
}

/* Footer */
footer {
  background: var(--forest);
  padding: 24px;
  text-align: center;
}

footer p {
  font-family: "Carmorant Garamond", serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Query */
@media (max-width: 480px) {
  header {
    padding: 40px 20px 36px;
  }

  .card {
    border-radius: 2px;
  }
}
