@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-400800.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/playfair-display-italic-500.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --font-sans:
    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

::selection {
  background: var(--brand);
  color: var(--brand-foreground);
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 37fr) minmax(0, 63fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "brand photo"
    "content photo"
    "footer photo";
  row-gap: clamp(2rem, 5vh, 4rem);
  min-height: 100svh;
}

.brand {
  grid-area: brand;
  padding: clamp(1.75rem, 4vw, 4.5rem) clamp(1.5rem, 3vw, 3rem) 0
    clamp(1.75rem, 4vw, 4.5rem);
}

.brand img {
  width: clamp(150px, 13vw, 200px);
  height: auto;
}

.content {
  grid-area: content;
  align-self: center;
  width: min(100%, 34rem);
  padding: 0 clamp(1.5rem, 3vw, 3rem) 0 clamp(1.75rem, 4vw, 4.5rem);
}

.title {
  margin: 0 0 clamp(1rem, 2.5vh, 1.75rem);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 3.75rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.tagline {
  margin: 0 0 clamp(1.75rem, 4vh, 3rem);
  color: var(--muted-foreground);
  font-size: clamp(0.8125rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 1.25rem;
  min-height: 4.5rem;
  padding: 0.9rem 1.25rem;
  background: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  box-shadow: 0 12px 28px
    color-mix(in oklab, var(--foreground) 18%, transparent);
  transition:
    box-shadow 200ms ease,
    transform 200ms ease;
}

.contact:hover {
  box-shadow: 0 16px 34px
    color-mix(in oklab, var(--foreground) 24%, transparent);
  transform: translateY(-2px);
}

.contact-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.82;
}

.contact-value {
  grid-column: 1;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.contact-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 1.375rem;
  height: 1.375rem;
  transition: transform 200ms ease;
}

.contact:hover .contact-arrow {
  transform: translateX(4px);
}

.panel-footer {
  grid-area: footer;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0 clamp(1.5rem, 3vw, 3rem) clamp(1.75rem, 4vw, 4.5rem)
    clamp(1.75rem, 4vw, 4.5rem);
}

.follow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.follow-label {
  margin-right: 0.25rem;
  color: var(--muted-foreground);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.social {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-foreground);
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.social:hover {
  border-color: var(--foreground);
  background: var(--foreground);
  color: var(--background);
}

.social svg {
  width: 20px;
  height: 20px;
}

.address {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.6;
  max-width: 30ch;
}

.photo {
  grid-area: photo;
  position: relative;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: var(--muted);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

@media (max-width: 1200px) {
  .page {
    grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  }
}

@media (max-width: 992px) {
  .page {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
  }

  .brand {
    padding: 1.5rem 1.25rem 0;
  }

  .brand img {
    width: 150px;
  }

  .photo {
    width: 100%;
    height: auto;
    min-height: 0;
    margin-top: 1rem;
  }

  .photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .content {
    align-self: stretch;
    width: 100%;
    padding: 1.5rem 1.25rem 0;
  }

  .panel-footer {
    padding: 2rem 1.25rem 2rem;
    margin-top: auto;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }

  .contact {
    min-height: 4rem;
    padding: 0.85rem 1rem;
  }

  .contact-value {
    font-size: 0.875rem;
  }

  .follow {
    gap: 0.6rem;
  }

  .follow-label {
    margin-right: 0.1rem;
  }
}

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