:root {
  --paper: #fbf7f1;
  --paper-deep: #f2ece3;
  --ink: #2d2721;
  --muted: #786e63;
  --line: rgba(73, 55, 37, 0.18);
  --rose: #b36f76;
  --green: #587260;
  --shadow: 0 24px 80px rgba(50, 39, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fdfbf7 0%, var(--paper) 48%, #f6f0e8 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.page-shell {
  width: min(100% - 36px, 1220px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 82px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding: clamp(24px, 4vw, 62px) 0 clamp(42px, 8vw, 96px);
}

.hero-copy {
  max-width: 720px;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.6rem, 12vw, 10.5rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.82;
}

.tagline {
  margin: 24px 0 34px;
  color: var(--rose);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.bio {
  display: grid;
  gap: 18px;
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.78;
}

.bio p {
  margin: 0;
}

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: center;
  margin-top: 30px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.contact-button {
  min-width: 154px;
  min-height: 48px;
  padding: 0 24px;
  color: #fffaf2;
  background: #2f3f33;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(47, 63, 51, 0.22);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-button:hover,
.contact-button:focus-visible,
.instagram-link:hover,
.instagram-link:focus-visible {
  background: #243328;
  box-shadow: 0 18px 42px rgba(47, 63, 51, 0.28);
  transform: translateY(-2px);
}

.instagram-link {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fffaf2;
  background: #2f3f33;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(47, 63, 51, 0.18);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.instagram-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-email {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.contact-email a {
  color: var(--ink);
  text-decoration-color: rgba(179, 111, 118, 0.55);
  text-underline-offset: 5px;
}

.portrait-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(73, 55, 37, 0.12);
  border-radius: 4px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.portrait-card::before {
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.42);
  content: "";
  pointer-events: none;
}

.portrait-card img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: cover;
  object-position: 51% 32%;
}

.gallery {
  column-count: 3;
  column-gap: clamp(14px, 2vw, 24px);
  padding: 0 0 clamp(54px, 9vw, 120px);
}

.art-tile {
  position: relative;
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 clamp(14px, 2vw, 24px);
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid rgba(73, 55, 37, 0.1);
  border-radius: 4px;
  box-shadow: 0 18px 54px rgba(50, 39, 28, 0.1);
}

.art-tile img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: filter 700ms ease;
}

.art-tile:hover img {
  filter: saturate(1.04);
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 28px, 720px);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .portrait-card {
    max-width: 520px;
    transform: none;
  }

  .portrait-card img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .gallery {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 22px, 420px);
  }

  .site-header {
    min-height: 70px;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6.8rem);
  }

  .tagline {
    margin-bottom: 26px;
  }

  .bio {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-button {
    flex: 1;
  }

  .gallery {
    column-count: 1;
  }
}
