:root {
  --ink: #6f4d1f;
  --muted: #8d7d68;
  --cream: #fff8ef;
  --stroke: #d8a91f;
  --page: #211f1e;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  background: var(--page);
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  color: var(--ink);
  overflow: hidden;
  font-family: "DM Sans", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.045), transparent 36rem),
    var(--page);
}


.divider {
  height: 1px;
  width: 100%;
  background: #E7CDAB;
}

.social-icons {
  margin-top: auto;
    display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
    padding-right: 60px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  width: 32px;
  height: 32px;

  transition: all 0.2s ease;
}

/* Hover effect */
.social-icons a:hover img {
  filter: brightness(0.7);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 0;
}

.portfolio-card {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 41% 59%;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.intro-panel {
  position: relative;
    height:100%;
  display: flex;
  flex-direction: column;
  grid-gap: 60px;
  padding: 100px 60px 27px;
  background: #FFF5E8;
  z-index: 1;
}


.intro-copy {
  position: relative;
  z-index: 1;
    flex: 1;
    display: flex;
  flex-direction: column;
  justify-content: center;
    padding-bottom: 30%;
}

.greeting {
  margin: 0 0 9px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: #755120;
  font-family: "Vina Sans", Impact, sans-serif;
  font-size: clamp(58px, 5.9vw, 96px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0;
  white-space: nowrap;
}

.location {
  margin: 25px 0 0;
  color: #7a6d5d;
  font-size: 18px;
  line-height: 1.45;
}

.message {
  margin: 28px 0 0;
  color: #7a6d5d;
  font-size: 18px;
  line-height: 1.45;
}

.contact-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  margin: 0;
  color: #755120;
  font-size: 16px;
  font-weight: 500;
}

.contact-links a {
  display: inline-grid;
  grid-template-columns: 26px auto;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.contact-links a:focus-visible {
  outline: 2px solid #755120;
  outline-offset: 4px;
}

.contact-links svg {
  width: 25.5px;
  height: 25.5px;
  fill: currentColor;
}

.image-panel {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  background: #d49a36;
}

.image-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

@media (max-width: 720px) {
  .page-shell {
    padding: 0;
  }

  .portfolio-card {
    height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 59%) minmax(0, 41%);
  }

  .intro-panel {
    padding-top: 100px;
    padding-left: 60px;
    padding-right: 60px;
  }

  .intro-panel::after {
    display: none;
  }

  .image-panel {
    height: auto;
    border-top: 2px solid var(--stroke);
  }

  h1 {
    font-size: clamp(52px, 15vw, 78px);
  }

  .contact-links {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding: 0;
  }

  .intro-panel {
    padding: 34px 26px 26px;
  }

  .desktop-break {
    display: none;
  }
}
