:root {
  --hv-gutter: clamp(1.25rem, 4vw, 3rem);
  --hv-max: 80rem;
  --hv-bleed: calc(var(--hv-gutter) + max(0px, (100vw - var(--hv-max)) / 2));
  --hv-shadow: 0 1px 1px rgba(0, 25, 43, 0.08), 0 18px 42px -18px rgba(0, 25, 43, 0.35);
  --hv-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.hv-home {
  overflow: clip;
  background: var(--ivory, #f8f3e8);
  color: var(--ink, #0e2233);
}

.hv-home figure,
.hv-home p,
.hv-home h1,
.hv-home h2,
.hv-home h3 {
  margin: 0;
}

.hv-home h2,
.hv-home h3,
.hv-hero-sub,
.hv-intro-copy,
.hv-material-panel > p:not(.hv-label),
.hv-artist-text > p:not(.hv-label),
.hv-contact-panel > p:not(.hv-label) {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 400;
}

.hv-label,
.hv-tri-index,
.hv-tri-foot > span,
.hv-hero-caption span,
.hv-material-caption,
.hv-link,
.hv-button {
  font-family: var(--font-text), Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hv-label {
  color: var(--ink-soft, #44545d);
}

.hv-hero {
  position: relative;
  height: 100svh;
  min-height: 40rem;
  overflow: hidden;
  background: #1b2534;
  color: var(--paper, #fdfbf6);
}

.hv-hero-bg,
.hv-material-bg,
.hv-contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv-hero-bg {
  inset: -8% 0 auto;
  height: 116%;
  object-position: 50% 40%;
  animation: hv-breathe 2.8s var(--hv-ease) both;
  will-change: transform;
}

.hv-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 16, 24, 0.66) 0%, rgba(10, 16, 24, 0.28) 42%, rgba(10, 16, 24, 0) 68%), linear-gradient(0deg, rgba(10, 16, 24, 0.45), rgba(10, 16, 24, 0) 38%);
}

.hv-hero-content {
  position: absolute;
  left: var(--hv-gutter);
  bottom: clamp(10.625rem, 24vh, 15rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hv-hero-logo {
  display: block;
  width: min(40rem, calc((min(100vw, var(--hv-max)) - 2 * var(--hv-gutter)) * 0.55));
  height: auto;
  margin-left: -1.2%;
  animation: hv-rise 1.4s 0.5s var(--hv-ease) both;
}

.hv-hero-sub {
  max-width: 38rem;
  color: var(--paper, #fdfbf6);
  font-size: clamp(1.45rem, 2.7vw, 2.8rem);
  line-height: 1.08;
  animation: hv-rise 1.2s 0.9s var(--hv-ease) both;
}

.hv-hero-caption {
  position: absolute;
  top: 6.25rem;
  right: var(--hv-gutter);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--paper, #fdfbf6);
  text-decoration: none;
  animation: hv-rise 1.2s 1.1s var(--hv-ease) both;
}

.hv-hero-caption span {
  color: rgba(248, 243, 232, 0.72);
}

.hv-hero-caption strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.hv-intro {
  position: relative;
  z-index: 2;
  padding: 0 var(--hv-gutter) clamp(6rem, 10vw, 10rem);
}

.hv-intro-grid {
  display: grid;
  max-width: var(--hv-max);
  margin: 0 auto;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.hv-intro-panel {
  margin-top: -8rem;
  margin-left: calc(-1 * var(--hv-bleed));
  padding: 4rem clamp(1.5rem, 4vw, 4rem) 0 var(--hv-bleed);
  background: var(--ivory, #f8f3e8);
}

.hv-intro-panel h2 {
  max-width: 43rem;
  margin-top: 1.75rem;
  color: var(--prussian, #003153);
  font-size: clamp(3rem, 5.2vw, 4.75rem);
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.hv-intro-copy {
  max-width: 30rem;
  margin-top: 2.5rem !important;
  color: var(--ink-soft, #44545d);
  font-size: clamp(1.22rem, 1.7vw, 1.65rem);
  line-height: 1.34;
}

.hv-intro-photo {
  position: relative;
  margin: -20rem calc(-1 * var(--hv-bleed)) 0 0 !important;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--hv-shadow);
}

.hv-intro-photo img,
.hv-artist-photo img,
.hv-artist-inset img,
.hv-material-inset img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv-button {
  display: inline-flex;
  width: fit-content;
  margin-top: 2.5rem;
  padding: 0.95rem 1.15rem;
  gap: 1.6rem;
  align-items: center;
  border: 1px solid var(--prussian, #003153);
  background: var(--prussian, #003153);
  color: var(--paper, #fdfbf6);
  text-decoration: none;
  transition: color 220ms ease, background-color 220ms ease;
}

.hv-button--secondary {
  background: transparent;
  color: var(--prussian, #003153);
}

.hv-section-head {
  display: flex;
  max-width: var(--hv-max);
  margin: 0 auto;
  padding: 0 var(--hv-gutter) 3rem;
  flex-direction: column;
  gap: 0.9rem;
}

.hv-section-head h2 {
  color: var(--prussian, #003153);
  font-size: clamp(3rem, 5.2vw, 4.75rem);
  letter-spacing: -0.025em;
  line-height: 1;
}

.hv-tri {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  align-items: end;
}

.hv-tri-item {
  position: relative;
  display: block;
  overflow: hidden;
  height: min(84vh, 48.75rem);
  color: var(--paper, #fdfbf6);
  text-decoration: none;
  container-type: inline-size;
}

.hv-tri-2 { height: calc(min(84vh, 48.75rem) - 7.5rem); }
.hv-tri-3 { height: calc(min(84vh, 48.75rem) - 3rem); }

.hv-tri-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hv-tri-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 18, 14, 0.7) 0%, rgba(28, 18, 14, 0.15) 46%, rgba(28, 18, 14, 0) 70%);
}

.hv-tri-index {
  position: absolute;
  top: 1.4rem;
  left: 1.5rem;
  color: rgba(248, 243, 232, 0.86);
}

.hv-tri-foot {
  position: absolute;
  right: 1.5rem;
  bottom: 1.6rem;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hv-tri-foot strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: min(7rem, 13.2cqi);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
}

.hv-tri-foot > span {
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 400ms ease, transform 400ms ease;
}

.hv-works {
  padding: clamp(6rem, 10vw, 9.5rem) var(--hv-gutter) clamp(7.5rem, 12vw, 11.25rem);
  background: #f3f1ec;
}

.hv-works-grid {
  display: grid;
  max-width: var(--hv-max);
  margin: 0 auto;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2.5rem);
  align-items: start;
}

.hv-works-head {
  display: flex;
  margin-bottom: 3rem;
  grid-column: 1 / -1;
  align-items: baseline;
  justify-content: space-between;
}

.hv-works-head h2 {
  color: var(--prussian, #003153);
  font-size: clamp(4rem, 9vw, 8.5rem);
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.hv-link {
  color: var(--prussian, #003153);
  text-decoration: none;
}

.hv-work { position: relative; }
.hv-work-1 { grid-column: 1 / 9; }
.hv-work-2 { grid-column: 9 / 13; margin-top: clamp(5rem, 14vw, 13.75rem); }
.hv-work-3 { grid-column: 2 / 6; margin-top: clamp(3rem, 6vw, 6rem); }
.hv-work-4 { grid-column: 7 / 12; margin-top: clamp(7.5rem, 16vw, 16.25rem); }

.hv-work-card a {
  color: inherit;
  text-decoration: none;
}

.hv-work-image {
  position: relative;
  display: grid;
  min-height: 14rem;
  padding: clamp(1rem, 2.3vw, 2rem);
  place-items: center;
  background: #ece8df;
  box-shadow: var(--hv-shadow);
}

.hv-work-image img {
  display: block;
  width: 100%;
  max-height: min(70vh, 46rem);
  object-fit: contain;
  transition: transform 900ms var(--hv-ease);
}

.hv-work-card figcaption {
  display: grid;
  padding-top: 1rem;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
}

.hv-work-card figcaption span {
  color: var(--ink-soft, #44545d);
  font-size: 0.72rem;
}

.hv-work-card h3 {
  color: var(--prussian, #003153);
  font-size: clamp(1.65rem, 2.3vw, 2.6rem);
  line-height: 1.02;
}

.hv-material {
  position: relative;
  min-height: 40rem;
  height: min(100svh, 58.75rem);
  overflow: hidden;
}

.hv-material-bg { object-position: 50% 44%; }

.hv-material-inset {
  position: absolute;
  top: -6.9rem;
  left: var(--hv-gutter);
  z-index: 2;
  width: clamp(13.75rem, 26vw, 23.75rem);
  overflow: hidden;
  aspect-ratio: 1800 / 1192;
  box-shadow: var(--hv-shadow);
}

.hv-material-panel {
  position: absolute;
  right: var(--hv-gutter);
  bottom: clamp(2.5rem, 7vw, 6rem);
  z-index: 2;
  width: min(27.5rem, calc(100% - 2 * var(--hv-gutter)));
  padding: 2.5rem;
  background: rgba(248, 243, 232, 0.9);
}

.hv-material-panel > p:not(.hv-label),
.hv-artist-text > p:not(.hv-label),
.hv-contact-panel > p:not(.hv-label) {
  margin-top: 1.25rem;
  color: var(--ink-soft, #44545d);
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  line-height: 1.35;
}

.hv-material-caption {
  position: absolute;
  bottom: 1.4rem;
  left: var(--hv-gutter);
  padding: 0.35rem 0.6rem;
  background: rgba(14, 20, 24, 0.52);
  color: var(--paper, #fdfbf6);
  text-decoration: none;
}

.hv-artist {
  position: relative;
  display: grid;
  min-height: min(100svh, 57.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--ivory, #f8f3e8);
}

.hv-artist-photo {
  position: relative;
  overflow: hidden;
}

.hv-artist-photo img {
  position: absolute;
  inset: 0;
}

.hv-artist-inset {
  position: absolute;
  bottom: -6rem;
  left: 50%;
  z-index: 2;
  width: clamp(9.4rem, 15vw, 13.75rem);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  transform: translateX(-62%);
  box-shadow: var(--hv-shadow);
}

.hv-artist-text {
  display: flex;
  padding: clamp(4rem, 8vw, 7.5rem) var(--hv-gutter) clamp(4rem, 8vw, 7.5rem) clamp(5rem, 10vw, 10rem);
  flex-direction: column;
  justify-content: center;
}

.hv-artist-text h2,
.hv-contact-panel h2 {
  margin-top: 1.1rem;
  color: var(--prussian, #003153);
  font-size: clamp(3rem, 5.2vw, 4.75rem);
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.hv-contact {
  position: relative;
  height: clamp(42.5rem, 64vw, 58.75rem);
  margin-top: clamp(7.5rem, 12vw, 11.25rem);
  overflow: hidden;
}

.hv-contact-bg { object-position: center; }

.hv-contact-fade {
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(0deg, var(--ivory, #f8f3e8), rgba(248, 243, 232, 0));
}

.hv-contact-panel {
  position: absolute;
  bottom: clamp(4rem, 8vw, 7.5rem);
  left: var(--hv-gutter);
  z-index: 2;
  width: min(35rem, calc(100% - 2 * var(--hv-gutter)));
  padding: 2.5rem 2.75rem;
  background: rgba(248, 243, 232, 0.88);
  backdrop-filter: blur(8px);
}

.hv-contact-panel .whatsapp-link { margin-top: 2rem; }

[data-home-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 900ms var(--hv-ease), transform 900ms var(--hv-ease);
}

[data-home-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .hv-tri-item:hover .hv-tri-bg,
  .hv-work-card a:hover .hv-work-image img { transform: scale(1.035); }
  .hv-tri-item:hover .hv-tri-foot > span { opacity: 1; transform: none; }
  .hv-button:hover { background: var(--terracotta-deep, #a54c29); border-color: var(--terracotta-deep, #a54c29); color: var(--paper, #fdfbf6); }
}

@keyframes hv-breathe {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hv-rise {
  from { opacity: 0; transform: translateY(1.125rem); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 53.8125rem) and (max-width: 73.75rem) {
  .hv-intro-photo { margin-top: -12.5rem !important; }
}

@media (max-width: 53.75rem) {
  .hv-hero { height: 92svh; min-height: 35rem; }
  .hv-hero-logo { width: min(40rem, 80vw); }
  .hv-hero-content { bottom: 9.4rem; }
  .hv-hero-caption { display: none; }
  .hv-intro-grid { grid-template-columns: 1fr; }
  .hv-intro-panel { margin: -6rem calc(-1 * var(--hv-gutter)) 0 calc(-1 * var(--hv-bleed)); padding: 2.75rem var(--hv-gutter) 0 var(--hv-bleed); }
  .hv-intro-photo { margin: 0 calc(-1 * var(--hv-gutter)) 0 22% !important; }
  .hv-tri { grid-template-columns: 1fr; gap: 0.75rem; }
  .hv-tri-item, .hv-tri-2, .hv-tri-3 { height: 62svh; }
  .hv-tri-1 { margin-right: 14vw; }
  .hv-tri-2 { margin-left: 14vw; }
  .hv-tri-3 { margin-right: 6vw; }
  .hv-tri-foot > span { opacity: 1; transform: none; }
  .hv-works-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hv-work-1 { grid-column: 1 / -1; }
  .hv-work-2 { grid-column: 3 / -1; margin-top: 3rem; }
  .hv-work-3 { grid-column: 1 / 5; margin-top: 3rem; }
  .hv-work-4 { grid-column: 2 / -1; margin-top: 3rem; }
  .hv-material { height: auto; min-height: 0; padding-top: 56vw; overflow: visible; }
  .hv-material-inset { top: -3.75rem; width: 52vw; }
  .hv-material-panel { position: relative; right: auto; bottom: auto; width: auto; margin: 0 var(--hv-gutter); transform: translateY(2.5rem); }
  .hv-material-caption { top: calc(56vw - 2.75rem); bottom: auto; }
  .hv-artist { grid-template-columns: 1fr; margin-top: 6rem; }
  .hv-artist-photo { height: 78svh; }
  .hv-artist-inset { top: calc(78svh - 9.4rem); right: var(--hv-gutter); bottom: auto; left: auto; width: 7.5rem; transform: none; }
  .hv-artist-text { padding: 4rem var(--hv-gutter) 5rem; }
  .hv-contact { height: 150vw; }
  .hv-contact-panel { right: var(--hv-gutter); left: var(--hv-gutter); width: auto; padding: 1.75rem; }
}

@media (max-width: 37.5rem) {
  .hv-hero-content { bottom: 5.25rem; }
  .hv-hero-sub { max-width: 19rem; }
  .hv-section-head { padding-bottom: 2rem; }
  .hv-works-head { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .hv-work-image { min-height: 10rem; padding: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-hero-bg,
  .hv-hero-logo,
  .hv-hero-sub,
  .hv-hero-caption,
  [data-home-reveal] {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
