:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  background: #f7f5f0;
  color: #1e2b57;
}

* { box-sizing: border-box; }

html, body { min-width: 320px; min-height: 100%; margin: 0; }

body { overflow-x: hidden; }

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(2rem, 7.7vw, 7rem);
  padding-block: clamp(2rem, 5vh, 3rem);
  overflow: hidden;
  isolation: isolate;
}

.monogram {
  position: absolute;
  z-index: -1;
  width: min(114vw, 1500px);
  height: auto;
  top: -5%;
  right: -17%;
  fill: #e9eaee;
  pointer-events: none;
  user-select: none;
}

.monogram text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1060px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.08em;
}

.identity {
  position: relative;
  margin-block: auto;
  padding-block: 3rem;
}

h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(4.3rem, 8.1vw, 8.3rem);
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.98;
  white-space: nowrap;
}

.descriptor {
  margin: 1.4rem 0 0 0.35rem;
  color: #7b6c45;
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.37em;
  text-transform: uppercase;
}

.contact {
  margin-top: clamp(3.25rem, 8vh, 5.75rem);
  padding-top: 1.3rem;
  border-top: 1px solid #c9c7c1;
  width: min(100%, 31rem);
}

.contact h2 {
  margin: 0 0 0.7rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.contact p {
  margin: 0;
  color: #666a70;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-action { margin-top: 1.1rem; min-height: 2.8rem; }

.reveal-button,
.copy-button {
  font: inherit;
  cursor: pointer;
}

.reveal-button {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.15rem 0;
  border: 0;
  background: transparent;
  color: #1e2b57;
  font-size: 0.96rem;
}

.reveal-button span:first-child {
  padding-bottom: 0.2rem;
  border-bottom: 1px solid #aa9870;
}

.reveal-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid #a9a8a5;
  border-radius: 50%;
  font-size: 1.15rem;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.reveal-button:hover .reveal-icon {
  transform: rotate(45deg);
  background: #e9eaee;
  border-color: #1e2b57;
}

.contact-revealed {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  min-height: 2.15rem;
  animation: contact-reveal 240ms ease-out both;
}

.contact-link {
  color: #1e2b57;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  text-decoration-color: #aa9870;
  text-underline-offset: 0.28em;
  overflow-wrap: anywhere;
}

.contact-link:hover,
.contact-link:focus-visible { text-decoration-thickness: 2px; }

.copy-button {
  padding: 0.34rem 0.7rem;
  border: 1px solid #c9c7c1;
  border-radius: 3px;
  background: transparent;
  color: #3e4968;
  font-size: 0.75rem;
}

.copy-button:hover { background: #e9eaee; }

.reveal-button:focus-visible,
.contact-link:focus-visible,
.copy-button:focus-visible { outline: 2px solid #1e2b57; outline-offset: 5px; }

@keyframes contact-reveal {
  from { opacity: 0; transform: translateY(0.35rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-icon { transition: none; }
  .contact-revealed { animation: none; }
}

.company-details {
  position: relative;
  max-width: 30rem;
  color: #666a70;
  font-size: 0.78rem;
  line-height: 1.55;
}

.company-details p { margin: 0; }
.company-details p + p { margin-top: 0.7rem; }

@media (max-width: 700px) {
  .page { padding: 2.25rem 2rem; }

  .monogram {
    width: 180vw;
    max-width: none;
    top: 13%;
    right: -77%;
  }

  .identity { padding-block: clamp(5rem, 12vh, 8rem) 4rem; }

  h1 {
    font-size: clamp(4rem, 15vw, 6.75rem);
    white-space: normal;
  }

  h1 span { display: block; }
  h1 span + span { margin-top: 0.08em; }

  .descriptor { margin-top: 1.25rem; }
  .company-details { font-size: 0.72rem; max-width: 20rem; }
  .desktop-break { display: none; }
}

@media (max-width: 400px) {
  .page { padding: 1.6rem; }
  h1 { font-size: 16.5vw; }
}
